/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
.header {
    background-color: #003366;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.9rem;
    color: #ccc;
    font-family: Arial, sans-serif;
}

.nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Main Content Layout */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Article Styles */
.article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.article-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: Arial, sans-serif;
}

.breadcrumb a {
    color: #003366;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #003366;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author {
    font-weight: bold;
    color: #003366;
    font-family: Arial, sans-serif;
}

.publish-date {
    font-size: 0.9rem;
    color: #666;
    font-family: Arial, sans-serif;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.email {
    background-color: #666;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-paragraph {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 4px solid #003366;
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-section h3 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 1rem;
    font-weight: bold;
}

.article-section p {
    margin-bottom: 1rem;
}

.quote {
    background-color: #f8f9fa;
    border-left: 4px solid #003366;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #444;
    border-radius: 0 8px 8px 0;
}

/* Lists */
.evidence-list,
.practices-list,
.court-actions {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.evidence-list li,
.practices-list li,
.court-actions li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.stat-item h4 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: Arial, sans-serif;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 1rem;
    font-family: Arial, sans-serif;
}

.stat-item ul {
    list-style: none;
    padding: 0;
}

.stat-item li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.stat-item li:before {
    content: "•";
    color: #003366;
    position: absolute;
    left: 0;
}

/* Phoenix Settlements */
.phoenix-settlements {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.phoenix-settlements h4 {
    color: #856404;
    margin-bottom: 1rem;
}

/* Patterns Grid */
.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pattern-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #003366;
}

.pattern-item h4 {
    color: #003366;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.pattern-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.disclaimer,
.contact {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Sources Section */
.sources-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.sources-section h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sources-category {
    margin-bottom: 2rem;
}

.sources-category h4 {
    color: #003366;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
}

.sources-category ul {
    padding-left: 1.5rem;
}

.sources-category li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sources-category a {
    color: #003366;
    text-decoration: none;
}

.sources-category a:hover {
    text-decoration: underline;
}

.sources-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

/* Sidebar */
.sidebar {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.related-articles h3,
.newsletter-signup h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: Arial, sans-serif;
}

.related-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item h4 {
    margin-bottom: 0.5rem;
}

.related-item h4 a {
    color: #003366;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.3;
}

.related-item h4 a:hover {
    text-decoration: underline;
}

.related-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Newsletter Signup */
.newsletter-signup {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
}

.newsletter-signup p {
    margin-bottom: 1rem;
    color: #666;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #004080;
}

/* Footer */
.footer {
    background-color: #003366;
    color: white;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-family: Arial, sans-serif;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-family: Arial, sans-serif;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #004080;
    padding: 1rem 2rem;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav {
        justify-content: center;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .patterns-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .lead-paragraph {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .header,
    .sidebar,
    .footer,
    .share-buttons {
        display: none;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .article {
        box-shadow: none;
    }
    
    .article-title {
        color: #000;
    }
    
    .sources-section {
        background-color: transparent;
        border: 1px solid #ccc;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .quote {
        background-color: #fff;
        border: 2px solid #000;
    }
    
    .stat-item,
    .pattern-item {
        background-color: #fff;
        border: 1px solid #000;
    }
}

