* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* ==========================================================================
   Triple-height urgent banner (replaces the old .hero band + thin banner)
   ========================================================================== */
.urgent-banner {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.urgent-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.urgent-banner-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.urgent-banner-headline {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.urgent-banner-headline .icon-flag {
    margin-right: 0.5rem;
}

.urgent-banner-tagline {
    font-size: 1.35rem;
    font-weight: 600;
    opacity: 0.95;
    max-width: 700px;
}

.urgent-banner .cta-container {
    margin-top: 0.5rem;
}

/* ==========================================================================
   Site navigation (5-tab row below the urgent banner)
   ========================================================================== */
.site-nav {
    background: #0f172a;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-nav a {
    display: inline-block;
    padding: 1rem 1.25rem;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 3px solid transparent;
}

.site-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.site-nav a.active {
    color: white;
    border-bottom-color: #c53030;
}

/* ==========================================================================
   Edge-to-edge cover image (home page)
   ========================================================================== */
.cover-image {
    width: 100%;
    overflow: hidden;
    margin: 0;
    background: #0f172a;
}

.cover-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   Shared layout primitives
   ========================================================================== */
.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    background: #c53030;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: #9b2c2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: #1e3a8a;
}

.urgent-banner .cta-button {
    background: white;
    color: #c53030;
}

.urgent-banner .cta-button:hover {
    background: #fef3c7;
    color: #9b2c2c;
}

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

.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e3a8a;
    font-weight: 900;
    text-align: center;
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e40af;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box {
    background: #fef3c7;
    border-left: 6px solid #f59e0b;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box.danger {
    background: #fee2e2;
    border-left-color: #c53030;
}

/* ==========================================================================
   Stat cards
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #1e3a8a;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
}

/* ==========================================================================
   Consequence cards
   ========================================================================== */
.consequences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.consequence-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.consequence-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #c53030;
}

/* ==========================================================================
   Action / social / message cards
   ========================================================================== */
.action-section {
    background: #1e3a8a;
    color: white;
    text-align: center;
}

.action-section h2 {
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

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

.message-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: left;
}

.message-card h4 {
    color: #60a5fa;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* ==========================================================================
   Quote blocks
   ========================================================================== */
.quote-block {
    background: #f1f5f9;
    border-left: 4px solid #1e3a8a;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.quote-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #1e3a8a;
}

.quote-content {
    flex: 1;
}

.quote-author {
    font-weight: 700;
    color: #1e3a8a;
    margin-top: 1rem;
    font-style: normal;
}

/* ==========================================================================
   Images + citations
   ========================================================================== */
.image-citation {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.3;
}

.image-citation a {
    color: #64748b;
    text-decoration: none;
    border-bottom: 1px dotted #64748b;
}

.image-citation a:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer a:hover {
    color: white;
}

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* ==========================================================================
   Modal (reused by CMS edit flow in later phases)
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-header {
    background: #1e3a8a;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #60a5fa;
}

.modal-body {
    padding: 2rem;
}

/* EveryAction form normalization inside modals */
.modal-body .ngp-form button,
.modal-body .ngp-form input[type="submit"],
.modal-body .ngp-form input[type="button"] {
    text-shadow: none !important;
}

.modal-body .ngp-form button {
    background: #3b82f6 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.modal-body .ngp-form button:hover {
    background: #2563eb !important;
    text-shadow: none !important;
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 768px) {
    .urgent-banner {
        padding: 2rem 1rem;
    }

    .urgent-banner-headline {
        font-size: 1.5rem;
    }

    .urgent-banner-tagline {
        font-size: 1.05rem;
    }

    .site-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .site-nav a {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 2rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .quote-block {
        flex-direction: column;
        text-align: center;
    }

    .quote-avatar {
        align-self: center;
    }

    .key-messages-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    img.center {
        width: 100%;
    }

    .section h3 {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .cta-button {
        flex-direction: column;
        gap: 0.25rem;
    }
}
