/* 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: #2c3e50;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Consistency for Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: normal;
    line-height: 1.3;
    color: inherit;
    margin: 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

h5, h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.navigation {
    position: relative;
    z-index: 10;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #f39c12;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f39c12;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 5;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    color: #ecf0f1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #bdc3c7;
    font-style: italic;
}

.hero-image {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #f39c12;
}

/* Main Content */
.main-content {
    background-color: #ffffff;
    position: relative;
    margin-bottom: 2rem;
}

.content-section {
    padding: 4rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.content-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

/* Overview Section */
.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.overview-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.lead-paragraph {
    font-size: 1.3rem !important;
    font-weight: 500;
    color: #34495e;
    border-left: 4px solid #f39c12;
    padding-left: 1.5rem;
    margin-bottom: 2rem !important;
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fact-box, .quote-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.fact-image {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fact-box h3, .quote-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.fact-box ul {
    list-style: none;
}

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

.fact-box li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

.quote-box blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.quote-box cite {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Victories Section */
.victories-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.continent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.continent-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.continent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.continent-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 0.5rem;
}

.continent-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.campaign-details p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.campaign-stats {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid #e74c3c;
}

.campaign-stats h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.campaign-stats ul {
    list-style: none;
}

.campaign-stats li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-weight: 500;
}

.campaign-stats li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #e74c3c;
}

.campaign-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem auto 1.5rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Battles Section */
.battles-section {
    background: white;
}

.battles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.battle-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.battle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #f39c12;
}

.battle-title {
    font-size: 1.5rem;
    color: #c0392b;
    margin-bottom: 1rem;
    font-weight: bold;
}

.battle-details p {
    margin-bottom: 1rem;
}

.battle-details p:first-of-type,
.battle-details p:nth-of-type(2),
.battle-details p:nth-of-type(3),
.battle-details p:nth-of-type(4) {
    font-weight: 600;
    color: #34495e;
}

.enemies-defeated {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #ecf0f1;
}

.enemies-defeated h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.enemies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.enemy-card {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: transform 0.3s ease;
}

.enemy-card:hover {
    transform: scale(1.05);
}

.enemy-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.enemy-card h4 a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
}

.enemy-card h4 a:hover {
    color: inherit;
    text-decoration: none;
}

.enemy-card h4 a:visited {
    color: inherit;
}

.enemy-card h4 a:active {
    color: inherit;
}

.enemy-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.timeline-section .section-title {
    color: white;
}

.timeline-section .section-title::after {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f39c12, #e67e22);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    z-index: 10;
    position: relative;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 0 2rem;
    flex: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #f39c12;
}

.timeline-content p {
    line-height: 1.6;
    color: #ecf0f1;
}

/* Citations Section */
.citations-section {
    background: #f8f9fa;
}

.citations-content {
    max-width: 900px;
    margin: 0 auto;
}

.citations-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2rem 0 1.5rem 0;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 0.5rem;
}

.references p {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.media-mentions {
    display: grid;
    gap: 1.5rem;
}

.media-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.media-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.archives p {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-left: 4px solid #27ae60;
    border-radius: 4px;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f39c12;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #f39c12;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox:target {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease-in-out;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.lightbox-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.lightbox-caption {
    margin: 1rem auto 0 auto;
    text-align: center;
    color: #2c3e50;
    font-style: italic;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

/* Lightbox Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Citations Panel Styles */
.sources-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.sources-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.sources-button:focus {
    outline: 3px solid #f39c12;
    outline-offset: 3px;
    transform: scale(1.05);
    background-color: rgba(243, 156, 18, 0.1);
}

.citations-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100vh;
    background: white;
    z-index: 999;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #e74c3c;
    outline: none;
}

.citations-panel.open {
    right: 0;
}

.citations-panel:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.citations-panel-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #e74c3c;
}

.citations-panel-header h2 {
    margin: 0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.panel-close:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
    background-color: rgba(231, 76, 60, 0.1);
}

.citations-panel-content {
    padding: 30px;
    max-width: none;
    line-height: 1.6;
}

.citations-panel-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e74c3c;
}

.citations-panel-content h3:first-child {
    margin-top: 0;
}

.citations-panel .references p {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    border-radius: 0 6px 6px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.citations-panel .media-item,
.citations-panel .archives p {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.citations-panel .media-item h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.citations-panel .archives p {
    border-left-color: #27ae60;
}

.citations-panel .archives p strong {
    color: #27ae60;
    display: block;
    margin-bottom: 0.5rem;
}

.citations-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(3px);
}

.citations-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Citations Panel */
@media (max-width: 768px) {
    .citations-panel {
        width: 100vw;
        right: -100vw;
    }
    
    .sources-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .citations-panel-content {
        padding: 20px;
    }
    
    .citations-panel-header {
        padding: 15px 20px;
    }
    
    .citations-panel-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sources-button {
        padding: 10px 14px;
        font-size: 0.85rem;
        gap: 6px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .continent-grid {
        grid-template-columns: 1fr;
    }
    
    .battles-grid {
        grid-template-columns: 1fr;
    }
    
    .enemies-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }
    
    .timeline-date {
        position: absolute;
        left: -60px;
        min-width: 100px;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .continent-title {
        font-size: 1.5rem;
    }
    
    .battle-title {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .navigation,
    .main-footer {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
    
    .timeline-section {
        background: white;
        color: black;
    }
    
    .timeline-section .section-title {
        color: black;
    }
    
    .timeline-content {
        background: #f8f9fa;
        color: black;
    }
    
    .timeline-content h3 {
        color: #2c3e50;
    }
    
    .enemy-card {
        background: #f8f9fa;
        color: black;
        border: 1px solid #ddd;
    }
}

/* E-E-A-T Enhancement Styles */

/* Article Meta Information */
.article-meta {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.author-info p {
    margin: 0.5rem 0;
    color: #495057;
}

.author-info strong {
    color: #2c3e50;
}

.author-info a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
}

.author-info a:hover {
    color: #2980b9;
    border-bottom: 1px solid #2980b9;
}

/* About Authors Page Styles */
.intro-section {
    margin: 2rem 0;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.standard-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.standard-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-profiles {
    margin: 3rem 0;
}

.team-member {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.member-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.title {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.member-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.credentials h4,
.expertise h4,
.experience h4 {
    color: #495057;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.credentials ul,
.experience ul {
    list-style-type: none;
    padding-left: 0;
}

.credentials li,
.experience li {
    padding: 0.3rem 0;
    border-left: 3px solid #3498db;
    padding-left: 1rem;
    margin: 0.5rem 0;
    background: #f8f9fa;
}

/* Editorial Policy Styles */
.policy-intro {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.review-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stage {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.stage h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stage::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 8px 8px 0 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Bibliography Styles */
.source-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.stat-item {
    background: #3498db;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
}

.stat-item p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.source-category {
    margin: 2rem 0;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.source-category p strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.references-list ul {
    list-style-type: none;
    padding-left: 0;
}

.references-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dotted #dee2e6;
    line-height: 1.6;
}

.references-list li:last-child {
    border-bottom: none;
}

.media-sources,
.professional-sources {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.archive-listings {
    margin: 2rem 0;
}

.archive-listings p strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.archive-listings em {
    color: #6c757d;
    display: block;
    margin-bottom: 1rem;
}

.verification-process {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.verification-process h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.research-contact {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.research-contact p {
    margin: 0.5rem 0;
}

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

.step {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: #3498db;
    border-radius: 8px 8px 0 0;
}

/* Recognition Items */
.recognition-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.recognition-item {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
}

.recognition-item h3 {
    color: #155724;
    margin-bottom: 1rem;
}

/* Navigation Enhancement */
.nav-menu .active {
    background: #3498db;
    color: white !important;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

/* Skip Links for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000000;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

/* High Contrast Focus Indicators */
a:focus,
button:focus,
.nav-menu a:focus,
.lightbox-close:focus,
.timeline-item:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 4px;
}

/* Enhanced Focus States for Navigation */
.nav-menu a:focus {
    background-color: rgba(243, 156, 18, 0.2);
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
    border-radius: 4px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Keyboard Navigation for Interactive Elements */
.continent-card:focus,
.timeline-item:focus,
.fact-box:focus,
.quote-box:focus {
    outline: 3px solid #3498db;
    outline-offset: 3px;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Focus States for Images and Links */
.hero-image:focus,
.continent-image:focus,
.fact-image:focus,
.campaign-image:focus,
.lightbox-image:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 3px;
    transform: scale(1.02);
    transition: transform 0.2s ease, outline 0.2s ease;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background-color: #ffffff;
        color: #000000;
    }
    
    .main-header {
        background: #000000;
        color: #ffffff;
    }
    
    .nav-menu a {
        color: #ffffff;
        border: 2px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background-color: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
    
    .hero-title,
    .hero-subtitle {
        color: #ffffff;
        text-shadow: 2px 2px 4px #000000;
    }
    
    .continent-card,
    .fact-box,
    .quote-box {
        border: 2px solid #000000;
        background-color: #ffffff;
    }
    
    .section-title {
        color: #000000;
        border-bottom: 3px solid #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .continent-card:hover,
    .timeline-item:hover,
    .hero-image:hover {
        transform: none;
    }
    
    .lightbox {
        opacity: 1;
    }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Enhanced Color Contrast for Text */
.lead-paragraph {
    color: #1a252f;
    font-weight: 600;
}

.campaign-details p,
.overview-text p {
    color: #2c3e50;
    line-height: 1.7;
}

.fact-box li,
.quote-box blockquote {
    color: #2c3e50;
}

.quote-box cite {
    color: #5a6c7d;
    font-weight: 500;
}

/* Keyboard Navigation Indicators */
.keyboard-user *:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

/* Focus Management for Modal/Lightbox */
.lightbox:focus-within {
    outline: none;
}

.lightbox-content:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

.lightbox-close:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Enhanced Button and Link States */
button,
.button,
a[role="button"] {
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-family: inherit;
}

button:focus,
.button:focus,
a[role="button"]:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
    background-color: rgba(52, 152, 219, 0.1);
}

button:disabled,
.button:disabled,
a[role="button"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button:disabled:focus,
.button:disabled:focus,
a[role="button"]:disabled:focus {
    outline: 3px solid #95a5a6;
    outline-offset: 2px;
}

/* Touch Target Sizing (Minimum 44px) */
.nav-menu a,
.lightbox-close,
button,
.button,
a[role="button"] {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
}

/* Improved Text Spacing */
.article-meta p,
.campaign-details p,
.overview-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    word-spacing: 0.1em;
}

.fact-box h3,
.quote-box h3,
.continent-title {
    letter-spacing: 0.025em;
    line-height: 1.4;
}

/* Enhanced Table and List Accessibility */
.fact-box ul {
    list-style: none;
    padding-left: 0;
}

.fact-box li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    line-height: 1.6;
}

.fact-box li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #f39c12;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

/* Language and Direction Support */
[dir="rtl"] .fact-box li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .fact-box li::before {
    left: auto;
    right: 0;
    content: '◂';
}

/* Print Accessibility */
@media print {
    .skip-link,
    .sr-only {
        display: none;
    }
    
    a:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    
    .continent-card,
    .fact-box,
    .quote-box {
        border: 2px solid #000;
        break-inside: avoid;
    }
}

/* Additional Accessibility Improvements for Interactive Elements */

/* Sources Button Accessibility */
.sources-button:focus {
    outline: 3px solid #f39c12;
    outline-offset: 3px;
    transform: scale(1.05);
    background-color: rgba(243, 156, 18, 0.1);
}

/* Citations Panel Accessibility */
.citations-panel {
    outline: none;
}

.citations-panel:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.panel-close:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
    background-color: rgba(231, 76, 60, 0.1);
}

.references p:focus {
    outline: 2px solid #2980b9;
    outline-offset: 2px;
    background-color: rgba(41, 128, 185, 0.05);
    padding: 0.5rem;
    border-radius: 4px;
}

/* Timeline Navigation Accessibility */
.timeline-item:focus {
    outline: 3px solid #9b59b6;
    outline-offset: 3px;
    background-color: rgba(155, 89, 182, 0.05);
}

/* Battle Cards Accessibility */
.battle-card:focus {
    outline: 3px solid #e67e22;
    outline-offset: 3px;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Campaign Stats Accessibility */
.campaign-stats:focus-within {
    outline: 2px solid #27ae60;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Link Focus States within Content */
.campaign-details a:focus,
.overview-text a:focus,
.article-meta a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
    background-color: rgba(52, 152, 219, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Enhanced Keyboard Navigation Indicators */
.keyboard-user .nav-menu a:focus,
.keyboard-user button:focus,
.keyboard-user .continent-card:focus,
.keyboard-user .timeline-item:focus {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { outline-width: 3px; }
    50% { outline-width: 5px; }
    100% { outline-width: 3px; }
}

/* Color Contrast Improvements */
.hero-subtitle {
    color: #ecf0f1;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.nav-menu a {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Error State Indicators */
.error:focus,
.invalid:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
    background-color: rgba(231, 76, 60, 0.1);
}

/* Citation Support Section Spacing */
.contact-citation.section-spacing {
    margin-bottom: 5rem;
}

.citation-support .support-services {
    margin-bottom: 3rem;
}

/* Ensure proper footer spacing */
.main-content {
    margin-bottom: 2rem;
}