/*
Theme Name: Nalexa Birru Initiative
Theme URI: https://nalexabirru.org
Description: Child theme for the Nalexa Birru Global Children's Literacy & Art Initiative
Author: Nalexa Birru Nusantara Foundation
Template: twentytwentyfive
Version: 2.7.0
*/
/* Bump the Version above on EVERY release. functions.php feeds it to
   wp_enqueue_style/script as the cache-buster for style.css and nalexa.js —
   leave it unchanged and browsers/SpeedyCache keep serving the old assets
   against new markup (unstyled page, dead scripts). */

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --coral: #0F7589;
    --coral-light: #32B2CC;
    --coral-dark: #0A5A69;
    --navy: #1B2A4A;
    --navy-light: #2D4470;
    --cream: #F6FAFB;
    --cream-dark: #E6F0F3;
    --gold: #C9A84C;
    --gold-light: #E0C66E;
    --white: #FFFFFF;
    --gray-100: #F7F7F7;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-500: #888888;
    --gray-700: #555555;
    --shadow-sm: 0 1px 3px rgba(27,42,74,0.08);
    --shadow-md: 0 4px 12px rgba(27,42,74,0.1);
    --shadow-lg: 0 8px 30px rgba(27,42,74,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html.admin-bar { scroll-padding-top: 112px; }

body.nalexa-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--navy);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.nalexa-page h1, .nalexa-page h2, .nalexa-page h3, .nalexa-page h4 { line-height: 1.3; font-weight: 700; }
.nalexa-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.nalexa-page h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.nalexa-page h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.nalexa-page a,
.nalexa-page a:visited { color: var(--coral); text-decoration: none; transition: color var(--transition); }
.nalexa-page a:hover { color: var(--coral-dark); }

/* Override Twenty Twenty-Five link styles globally */
.nalexa-page .hero a,
.nalexa-page .hero a:visited,
.nalexa-page .speaker-info-box a,
.nalexa-page .speaker-info-box a:visited,
.nalexa-page .nalexa-footer a,
.nalexa-page .nalexa-footer a:visited {
    text-decoration: none !important;
}

.nalexa-page .nav-logo,
.nalexa-page .nav-logo:visited {
    color: var(--navy) !important;
    text-decoration: none !important;
}

.nalexa-page .footer-links a,
.nalexa-page .footer-links a:visited {
    color: rgba(255,255,255,0.6) !important;
}
.nalexa-page .footer-links a:hover {
    color: #FFFFFF !important;
}
.nalexa-page img { max-width: 100%; display: block; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.nalexa-page section { padding: 80px 0; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-title { margin-bottom: 20px; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 680px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-subtitle { margin: 0 auto; }

/* ==================== BUTTONS ==================== */
.nalexa-page .btn,
.nalexa-page a.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none !important;
}

.nalexa-page .btn-primary,
.nalexa-page a.btn-primary,
.nalexa-page a.btn-primary:visited {
    background: var(--coral) !important;
    color: #FFFFFF !important;
    border-color: var(--coral) !important;
}
.nalexa-page .btn-primary:hover,
.nalexa-page a.btn-primary:hover {
    background: var(--coral-dark) !important;
    border-color: var(--coral-dark) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15,117,137,0.35);
}

.nalexa-page .btn-outline,
.nalexa-page a.btn-outline,
.nalexa-page a.btn-outline:visited {
    background: transparent !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}
.nalexa-page .btn-outline:hover,
.nalexa-page a.btn-outline:hover {
    background: #FFFFFF !important;
    color: var(--navy) !important;
    transform: translateY(-2px);
}

.nalexa-page .btn-gold,
.nalexa-page a.btn-gold,
.nalexa-page a.btn-gold:visited {
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-color: var(--gold) !important;
}
.nalexa-page .btn-gold:hover,
.nalexa-page a.btn-gold:hover {
    background: var(--gold-light) !important;
    border-color: var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* --- Catalogue button: the catalogue's own bright cyan --- */
.nalexa-page .btn-catalogue,
.nalexa-page a.btn-catalogue,
.nalexa-page a.btn-catalogue:visited {
    background: #32B2CC !important;
    color: var(--navy) !important;
    border-color: #32B2CC !important;
}
.nalexa-page .btn-catalogue:hover,
.nalexa-page a.btn-catalogue:hover {
    background: #5BC8DA !important;
    border-color: #5BC8DA !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50,178,204,0.38);
}
body.dark-mode.nalexa-page a.btn-catalogue,
body.dark-mode.nalexa-page .btn-catalogue { color: #0B2A33 !important; }

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,248,244,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27,42,74,0.06);
    transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

/* Account for WordPress admin bar */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .navbar { top: 46px; }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.nav-logo span { color: var(--coral); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nalexa-page .nav-links a {
    color: var(--navy) !important;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nalexa-page .nav-links a:visited {
    color: var(--navy) !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width var(--transition);
}

.nalexa-page .nav-links a:hover { color: var(--coral) !important; }
.nalexa-page .nav-links a:hover::after { width: 100%; }

.nav-links a.btn::after { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1100px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    .nav-links a::after { display: none; }

    .admin-bar .nav-links { top: 118px; }
}

@media (max-width: 782px) {
    .admin-bar .nav-links { top: 118px; }
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #3A5A8A 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212,131,107,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--coral-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-edition-badge {
    background: rgba(201,168,76,0.15);
    border-color: rgba(201,168,76,0.4);
    color: var(--gold);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
}
.hero h1 .highlight { color: var(--coral-light); }

.hero-program {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    opacity: 0.08;
    z-index: 0;
}
.hero-decoration svg { width: 100%; height: 100%; }

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 140px 0 80px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
    .hero-decoration { display: none; }
}

/* ==================== ABOUT ==================== */
.about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--gray-700);
    margin-bottom: 20px;
}

.principle-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.principle-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.principle-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.principle-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.principle-card p { font-size: 0.9rem; color: var(--gray-700); line-height: 1.6; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Thank You Page */
.thank-you-section {
    background: var(--cream);
    min-height: calc(100vh - 200px);
    padding: 100px 0 80px;
    display: flex;
    align-items: center;
}
.thank-you-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), #E08A6A);
    color: #fff;
    font-size: 2.2rem;
    line-height: 80px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(212,131,107,0.4);
}
.thank-you-card h1 {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    margin-bottom: 16px;
    color: var(--navy);
}
.thank-you-intro {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 36px;
}
.thank-you-social {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    margin-bottom: 32px;
}
.thank-you-social p {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 1rem;
}
.thank-you-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.thank-you-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220,39,67,0.3);
    color: #fff !important;
}
.thank-you-actions { margin-top: 16px; }
@media (max-width: 600px) {
    .thank-you-card { padding: 40px 24px; }
}
body.dark-mode .thank-you-card { background: #11303A; }
body.dark-mode .thank-you-card h1 { color: #fff; }
body.dark-mode .thank-you-intro { color: rgba(255,255,255,0.75); }
body.dark-mode .thank-you-social { background: #11303A; }
body.dark-mode .thank-you-social p { color: #fff; }

/* Supported By */
.supported-by {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}
.supported-by-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 36px;
}
.supported-by-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
}
.supported-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    flex: 0 0 auto;
}
.supported-logo img {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
@media (max-width: 600px) {
    .supported-by-logos { gap: 28px; }
}

/* ==================== OPEN CALL ==================== */
.open-call { background: var(--cream); }

.call-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}
.call-intro p { color: var(--gray-700); font-size: 1.05rem; line-height: 1.8; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.info-card-icon.coral { background: rgba(212,131,107,0.12); color: var(--coral); }
.info-card-icon.navy { background: rgba(27,42,74,0.08); color: var(--navy); }
.info-card-icon.gold { background: rgba(201,168,76,0.12); color: var(--gold); }

.info-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.info-card ul { list-style: none; padding: 0; }

.info-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
}
.info-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral-light);
}

/* Timeline */
.timeline-section {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 50px;
    color: var(--white);
}
.timeline-section h3 { text-align: center; margin-bottom: 36px; color: var(--white); }

.timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.timeline-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    position: relative;
    padding: 0 20px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 50%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}
.timeline-item:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 50%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.timeline-label { font-size: 0.85rem; font-weight: 600; color: var(--coral-light); margin-bottom: 6px; }
.timeline-detail { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* Selection criteria */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.criteria-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.criteria-item h4 { font-size: 0.95rem; margin-bottom: 8px; }
.criteria-item p { font-size: 0.85rem; color: var(--gray-700); }

/* ==================== TALKS ==================== */
.talks { background: var(--white); }

.talks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.talks-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 36px;
}
.talks-card h3 { margin-bottom: 20px; }
.talks-card ul { list-style: none; }

.talks-card li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-700);
}
.talks-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--coral);
}

@media (max-width: 768px) {
    .talks-grid { grid-template-columns: 1fr; }
}

/* ==================== SPEAKERS ==================== */
.speakers { background: var(--cream); }

.speakers-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}
.speakers-intro p { color: var(--gray-700); font-size: 1.05rem; }

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.speaker-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.speaker-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212,131,107,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
}
.speaker-card h4 { font-size: 1rem; margin-bottom: 8px; }
.speaker-card p { font-size: 0.9rem; color: var(--gray-700); }

.speaker-info-box {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 40px;
    color: var(--white);
}
.speaker-info-box h3 { margin-bottom: 20px; color: var(--white); }
.speaker-info-box ul { list-style: none; }

.speaker-info-box li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: rgba(255,255,255,0.8);
}
.speaker-info-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

@media (max-width: 768px) {
    .speakers-grid { grid-template-columns: 1fr; }
}

/* ==================== PUBLICATION ==================== */
.publication { background: var(--white); }

.pub-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.pub-card h3 { color: var(--white); margin-bottom: 16px; font-size: 1.6rem; }
.pub-card p { color: rgba(255,255,255,0.8); line-height: 1.8; }

.pub-formats { display: flex; flex-direction: column; gap: 16px; }

.pub-format {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.pub-format-icon { font-size: 1.5rem; }
.pub-format h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 2px; }
.pub-format p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
    .pub-card { grid-template-columns: 1fr; padding: 36px; }
}

/* ==================== PARTNERS ==================== */
.partners { background: var(--cream); }

.partners-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}
.partners-intro p { color: var(--gray-700); font-size: 1.05rem; }

.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.partner-type {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.partner-type-icon { font-size: 2rem; margin-bottom: 16px; }
.partner-type h4 { margin-bottom: 8px; }
.partner-type p { font-size: 0.9rem; color: var(--gray-700); }

/* ==================== CONTACT ==================== */
.contact { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 { margin-bottom: 20px; }
.contact-info p { color: var(--gray-700); margin-bottom: 24px; }

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212,131,107,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-detail span { color: var(--gray-700); font-size: 0.95rem; }

.contact-form-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==================== FORMS (shared) ==================== */
.form-section {
    background: var(--cream);
}

.form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-section-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 36px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cream-dark);
}
.form-section-heading:first-of-type { margin-top: 0; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group label .required { color: var(--coral); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--navy);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(212,131,107,0.15);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.form-group .error-msg {
    display: none;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-group input.invalid ~ .error-msg,
.form-group select.invalid ~ .error-msg,
.form-group textarea.invalid ~ .error-msg {
    display: block;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-group-row { grid-template-columns: 1fr; }
    .form-wrapper { padding: 28px 20px; }
}

.form-info-note {
    background: rgba(212,131,107,0.08);
    border-left: 3px solid var(--coral);
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}
body.dark-mode .form-info-note {
    background: rgba(233,69,96,0.12);
    color: rgba(255,255,255,0.85);
}

.form-radio-group,
.form-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-radio-group label,
.form-check-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.9rem;
}

.form-radio-group label:hover,
.form-check-group label:hover {
    border-color: var(--coral-light);
}

.form-radio-group input:checked + span,
.form-check-group input:checked + span {
    color: var(--coral);
    font-weight: 500;
}

.form-radio-group label:has(input:checked),
.form-check-group label:has(input:checked) {
    border-color: var(--coral);
    background: rgba(212,131,107,0.05);
}

.file-upload {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--gray-100);
}
.file-upload:hover {
    border-color: var(--coral);
    background: rgba(212,131,107,0.03);
}
.file-upload input[type="file"] { display: none; }
.file-upload-icon { font-size: 2rem; margin-bottom: 8px; }
.file-upload p { font-size: 0.9rem; color: var(--gray-500); }

.file-upload .file-name {
    font-size: 0.85rem;
    color: var(--coral);
    font-weight: 600;
    margin-top: 8px;
}

.consent-box {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}
.consent-box p { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 12px; line-height: 1.6; }

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.consent-check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--coral);
    flex-shrink: 0;
}
.consent-check span { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

.form-submit-btn { margin-top: 32px; text-align: center; }
.form-submit-btn .btn { min-width: 220px; }

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}
.form-success.show { display: block; }

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(212,131,107,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}
.form-success h3 { margin-bottom: 12px; color: var(--navy); }
.form-success p { color: var(--gray-700); }

.form-status {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.9rem;
    display: none;
}
.form-status.error {
    display: block;
    background: rgba(231,76,60,0.08);
    color: #c0392b;
    border: 1px solid rgba(231,76,60,0.2);
}
.form-status.loading {
    display: block;
    color: var(--gray-700);
}

/* ==================== BLOG ==================== */
.blog-section { background: var(--cream); padding-top: 100px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: var(--cream-dark);
    padding: 8px;
}

.nalexa-writing-body {
    font-family: Georgia, 'Merriweather', serif;
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--navy);
    margin: 24px 0;
}
.nalexa-writing-body p { margin-bottom: 20px; }
.nalexa-writing-body hr {
    margin: 40px auto;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--coral-light), transparent);
    width: 60%;
}
body.dark-mode .nalexa-writing-body { color: rgba(255,255,255,0.9); }

.nalexa-byline {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(212,131,107,0.08);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.nalexa-byline strong { color: var(--coral); font-weight: 600; }
.single-post-wrapper > .nalexa-byline {
    font-size: 0.95rem;
    padding: 8px 16px;
    margin-bottom: 24px;
}
body.dark-mode .nalexa-byline {
    background: rgba(233,69,96,0.15);
    color: rgba(255,255,255,0.85);
}
body.dark-mode .nalexa-byline strong { color: #7ED4E2; }

.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--coral); }
.blog-card-body p { font-size: 0.9rem; color: var(--gray-700); line-height: 1.6; }

.blog-card-footer {
    padding: 0 24px 24px;
}
.blog-card-footer a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--coral);
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}
.pagination-nav a {
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--gray-200);
}
.pagination-nav a:hover {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}
.pagination-nav span.current {
    background: var(--coral);
    color: var(--white);
}

/* ==================== GALLERY ==================== */
.gallery-section { background: var(--cream); padding-top: 100px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: var(--cream-dark);
    padding: 8px;
}

.gallery-item-info { padding: 20px; }
.gallery-item-info h4 { font-size: 1rem; margin-bottom: 6px; }

.gallery-item-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gallery-item-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(212,131,107,0.1);
    color: var(--coral);
    margin-top: 8px;
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

/* Gallery admin add button */
.gallery-admin-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.gallery-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--coral);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.gallery-add-btn:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15,117,137,0.35);
}

/* Gallery modal */
.gallery-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(27,42,74,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gallery-modal-overlay.open { display: flex; }

.gallery-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.gallery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}
.gallery-modal-close:hover { background: var(--gray-100); }

.gallery-modal h3 { margin-bottom: 24px; }

/* Gallery carousel badge */
.gallery-item-image-wrap {
    position: relative;
}

.gallery-carousel-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(27,42,74,0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Lightbox for viewing gallery items */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(27,42,74,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-overlay.open { display: flex; }

.lightbox-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.lightbox-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: var(--navy);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Admin: Add-image controls inside lightbox */
.lightbox-admin-upload { margin-top: 18px; }
.lightbox-admin-upload hr {
    border: none;
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin-bottom: 14px;
}
.lightbox-admin-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--gray-700);
    flex-wrap: wrap;
}
.btn-small { padding: 8px 16px !important; font-size: 0.85rem !important; }
.lightbox-admin-status {
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 20px;
}
body.dark-mode .lightbox-admin-upload hr { background: rgba(255,255,255,0.15); }
body.dark-mode .lightbox-admin-label { color: rgba(255,255,255,0.75); }

/* PDF gallery placeholder card */
.gallery-pdf-placeholder {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(212,131,107,0.12), rgba(212,131,107,0.04)) !important;
    color: var(--coral);
    padding: 20px !important;
}
.gallery-pdf-placeholder .pdf-icon { font-size: 3.2rem; margin-bottom: 8px; }
.gallery-pdf-placeholder .pdf-label { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.gallery-pdf-placeholder .pdf-sub { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }
body.dark-mode .gallery-pdf-placeholder .pdf-label { color: #fff; }
body.dark-mode .gallery-pdf-placeholder .pdf-sub { color: rgba(255,255,255,0.6); }

/* Lightbox PDF embed */
.lightbox-pdf {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--navy);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.lightbox-pdf-frame {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: #fff;
}
.lightbox-pdf-download {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--coral);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.lightbox-pdf-download:hover { transform: translateY(-2px); }
@media (max-width: 700px) {
    .lightbox-pdf { height: 400px; }
}

.lightbox-info { padding: 28px; }
.lightbox-info h3 { margin-bottom: 8px; }
.lightbox-info .gallery-item-meta { margin-bottom: 12px; }
.lightbox-info p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.7; }

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--navy);
}

/* Lightbox carousel controls */
.lightbox-carousel {
    position: relative;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: var(--navy);
    transition: all var(--transition);
    z-index: 2;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(27,42,74,0.75);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}

/* ==================== BRAND CONTAINER ==================== */
.brand-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-img {
    display: block;
}

.brand-logo-nav {
    max-height: 40px;
    width: auto;
}

.brand-logo-footer {
    max-height: 32px;
    width: auto;
}

.brand-image-mode {
    display: flex;
    align-items: center;
}

.brand-edit-btn {
    display: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-300);
    background: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--gray-700);
    flex-shrink: 0;
}

.brand-container:hover .brand-edit-btn {
    display: flex;
}

.brand-edit-btn:hover {
    border-color: var(--coral);
    color: var(--coral);
    background: rgba(212,131,107,0.08);
}

@media (max-width: 900px) {
    .brand-edit-btn {
        display: flex;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ==================== SINGLE POST ==================== */
.single-post-section {
    background: var(--cream);
    padding-top: 100px;
    padding-bottom: 80px;
}

.single-post-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.single-post-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.single-post-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 32px;
}

.single-post-featured {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin-bottom: 36px;
    max-height: 600px;
    object-fit: contain;
    background: var(--cream-dark);
}

.single-post-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.single-post-content p { margin-bottom: 20px; }
.single-post-content h2 { margin: 36px 0 16px; font-size: 1.5rem; color: var(--navy); }
.single-post-content h3 { margin: 28px 0 12px; font-size: 1.2rem; color: var(--navy); }
.single-post-content img { border-radius: var(--radius-md); margin: 20px 0; }
.single-post-content a { color: var(--coral); text-decoration: underline; }
.single-post-content blockquote {
    border-left: 4px solid var(--coral);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--navy);
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}
.single-post-nav a { font-weight: 600; }

/* ==================== FOOTER ==================== */
.nalexa-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}
.footer-logo span { color: var(--coral-light); }

.footer-text { font-size: 0.85rem; text-align: center; }

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

@media (max-width: 600px) {
    .footer-content { flex-direction: column; text-align: center; }
}

/* ==================== ANIMATIONS ==================== */
/* fade-in animation disabled — content is displayed immediately for reliability. */
.fade-in { opacity: 1; transform: none; }

/* Utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }

/* Honeypot field - hidden from users */
.hnpt { position: absolute; left: -9999px; }

/* ==================== DARK MODE ==================== */
body.nalexa-page.dark-mode {
    --navy: #E8E0D8;
    --navy-light: #C8C0B8;
    --cream: #0B1E24;
    --cream-dark: #11303A;
    --white: #133641;
    --coral: #32B2CC;
    --coral-light: #5BC8DA;
    --coral-dark: #1E8CA6;
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --gray-100: #102A31;
    --gray-200: #24434C;
    --gray-300: #2F535D;
    --gray-500: #8899AA;
    --gray-700: #AABBCC;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    color: #E8E0D8;
    background: #0B1E24;
}

body.dark-mode .navbar {
    background: rgba(11,30,36,0.95);
    border-bottom-color: rgba(255,255,255,0.06);
}

body.dark-mode .nav-logo,
body.dark-mode .nav-logo:visited {
    color: #E8E0D8 !important;
}

body.dark-mode .nav-links a,
body.dark-mode .nav-links a:visited {
    color: #E8E0D8 !important;
}

body.dark-mode .nav-links a:hover {
    color: var(--coral) !important;
}

body.dark-mode .hamburger span {
    background: #E8E0D8;
}

body.dark-mode .nalexa-footer {
    background: #06161B;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #06161B 0%, #0B1E24 50%, #11303A 100%);
}

/* Sections that use navy background must stay dark in dark mode */
body.dark-mode .speaker-info-box {
    background: #06161B;
    color: rgba(255,255,255,0.9);
}
body.dark-mode .speaker-info-box h3 { color: #fff; }
body.dark-mode .speaker-info-box li { color: rgba(255,255,255,0.75); }
body.dark-mode .speaker-info-box li::before { background: #FFD700; }

body.dark-mode .timeline-section {
    background: #06161B;
    color: #fff;
}
body.dark-mode .timeline-section h3 { color: #fff; }
body.dark-mode .timeline-detail { color: rgba(255,255,255,0.7); }
body.dark-mode .timeline-label { color: #5BC8DA; }
body.dark-mode .timeline-dot { background: #32B2CC; color: #fff; }
body.dark-mode .timeline-item:not(:last-child)::after,
body.dark-mode .timeline-item:not(:first-child)::before {
    background: rgba(255,255,255,0.2);
}

body.dark-mode .pub-card {
    background: linear-gradient(135deg, #06161B 0%, #0A1B20 100%);
    color: #fff;
}
body.dark-mode .pub-card h3 { color: #fff; }
body.dark-mode .pub-card p { color: rgba(255,255,255,0.8); }
body.dark-mode .pub-format {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
body.dark-mode .pub-format h4 { color: #fff; }
body.dark-mode .pub-format p { color: rgba(255,255,255,0.6); }

body.dark-mode .nalexa-footer {
    color: rgba(255,255,255,0.7);
}
body.dark-mode .footer-logo { color: #fff; }
body.dark-mode .footer-logo span { color: #5BC8DA; }
body.dark-mode .footer-text { color: rgba(255,255,255,0.5); }

/* Form sections in dark mode */
body.dark-mode .form-wrapper {
    background: #11303A;
}
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #0B1E24;
    color: #E8E0D8;
    border-color: #24434C;
}
body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #32B2CC;
    box-shadow: 0 0 0 3px rgba(233,69,96,0.15);
}
body.dark-mode .form-group label { color: #E8E0D8; }
body.dark-mode .consent-box { background: #0B1E24; }
body.dark-mode .consent-box p { color: rgba(255,255,255,0.7); }
body.dark-mode .consent-check span { color: #E8E0D8; }
body.dark-mode .form-section-heading {
    color: #32B2CC;
    border-bottom-color: #24434C;
}
body.dark-mode .contact-form-card { background: #11303A; }
body.dark-mode .file-upload {
    background: #0B1E24;
    border-color: #2F535D;
}
body.dark-mode .file-upload:hover { border-color: #32B2CC; }

/* Cards in dark mode */
body.dark-mode .principle-card {
    background: #11303A;
    border-left-color: #32B2CC;
}
body.dark-mode .principle-card h4 { color: #E8E0D8; }

body.dark-mode .info-card {
    background: #11303A;
}
body.dark-mode .criteria-item {
    background: #11303A;
    border-top-color: #FFD700;
}
body.dark-mode .talks-card { background: #11303A; }
body.dark-mode .speaker-card { background: #11303A; }
body.dark-mode .partner-type {
    background: #11303A;
    border-bottom-color: #FFD700;
}

/* Buttons in dark mode */
body.dark-mode .btn-gold,
body.dark-mode a.btn-gold,
body.dark-mode a.btn-gold:visited {
    background: #FFD700 !important;
    color: #06161B !important;
    border-color: #FFD700 !important;
}

body.dark-mode .form-radio-group label,
body.dark-mode .form-check-group label {
    border-color: #24434C;
    color: #AABBCC;
}
body.dark-mode .form-radio-group label:hover,
body.dark-mode .form-check-group label:hover {
    border-color: #5BC8DA;
}

/* Blog & gallery cards in dark mode */
body.dark-mode .blog-card { background: #11303A; }
body.dark-mode .blog-card-body h3 a { color: #E8E0D8; }
body.dark-mode .blog-card-body h3 a:hover { color: #32B2CC; }
body.dark-mode .gallery-item { background: #11303A; }
body.dark-mode .gallery-carousel-badge {
    background: rgba(255,255,255,0.2);
}
body.dark-mode .lightbox-prev,
body.dark-mode .lightbox-next {
    background: rgba(30,42,74,0.85);
    color: #E8E0D8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
body.dark-mode .lightbox-prev:hover,
body.dark-mode .lightbox-next:hover {
    background: rgba(30,42,74,1);
}
body.dark-mode .lightbox-counter {
    background: rgba(0,0,0,0.6);
}
body.dark-mode .brand-edit-btn {
    background: #11303A;
    border-color: #2F535D;
    color: #8899AA;
}
body.dark-mode .brand-edit-btn:hover {
    border-color: #32B2CC;
    color: #32B2CC;
    background: rgba(233,69,96,0.1);
}
body.dark-mode .leaderboard { background: #11303A; }
body.dark-mode .leaderboard h3 { border-bottom-color: #24434C; }
body.dark-mode .leaderboard-tabs { border-bottom-color: #24434C; }
body.dark-mode .leaderboard-tab { color: #8899AA; }
body.dark-mode .leaderboard-tab:hover { color: #32B2CC; }
body.dark-mode .leaderboard-tab.active { color: #32B2CC; border-bottom-color: #32B2CC; }
body.dark-mode .leaderboard-item { border-bottom-color: #0B1E24; }
body.dark-mode .leaderboard-title a { color: #E8E0D8 !important; }
body.dark-mode .leaderboard-title a:hover { color: #32B2CC !important; }
body.dark-mode .leaderboard-rank { background: #0B1E24; color: #8899AA; }

/* Single post dark mode */
body.dark-mode .single-post-content a { color: #32B2CC; }
body.dark-mode .single-post-content blockquote {
    background: #11303A;
    border-left-color: #32B2CC;
    color: #E8E0D8;
}

@media (max-width: 900px) {
    body.dark-mode .nav-links {
        background: #0B1E24;
        border-bottom-color: rgba(255,255,255,0.1);
    }
    body.dark-mode .nav-links a {
        border-bottom-color: rgba(255,255,255,0.06);
    }
}

/* Dark mode toggle button */
.dark-toggle {
    background: none;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition);
    margin-right: 8px;
    flex-shrink: 0;
    color: var(--navy);
}

body.dark-mode .dark-toggle {
    border-color: rgba(255,255,255,0.2);
    color: #FFD700;
}

.dark-toggle:hover {
    border-color: var(--coral);
    transform: scale(1.1);
}

/* ==================== ADMIN INLINE EDITING ==================== */
.nalexa-editable {
    position: relative;
    transition: outline 0.2s ease, background 0.2s ease;
    outline: 2px dashed transparent;
    border-radius: 4px;
    padding: 1px 4px;
    margin: -1px -4px;
}

.nalexa-editable:hover {
    outline-color: rgba(201,168,76,0.4);
    background: rgba(201,168,76,0.05);
}

.nalexa-editable:focus {
    outline: 2px solid var(--gold) !important;
    background: rgba(201,168,76,0.08);
}

.nalexa-editable.dirty {
    outline-color: var(--gold);
}

.nalexa-editable-saved {
    animation: nalexaSaveFlash 0.6s ease;
}

@keyframes nalexaSaveFlash {
    0% { background: rgba(46,204,113,0.3); }
    100% { background: transparent; }
}

/* Admin toolbar */
.nalexa-admin-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1B2A4A;
    border-top: 3px solid var(--gold);
    padding: 12px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.admin-toolbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-toolbar-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-right: 8px;
}

.admin-toolbar-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.admin-toolbar-btn.save {
    background: #27ae60;
    color: #fff;
}
.admin-toolbar-btn.save:hover:not(:disabled) {
    background: #2ecc71;
    transform: translateY(-1px);
}
.admin-toolbar-btn.save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-toolbar-btn.cancel {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
}
.admin-toolbar-btn.cancel:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.admin-toolbar-separator {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    margin: 0 8px;
}

.admin-toolbar-reset {
    position: relative;
}

.admin-toolbar-btn.reset {
    background: #e74c3c;
    color: #fff;
}
.admin-toolbar-btn.reset:hover {
    background: #c0392b;
}

.admin-reset-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    margin-bottom: 8px;
    overflow: hidden;
}

.admin-reset-dropdown.open { display: block; }

.reset-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
    transition: background 0.15s;
}

.reset-option:hover {
    background: #f0f0f0;
}

/* Pad bottom of pages for admin toolbar */
body.nalexa-page.has-admin-toolbar .nalexa-footer {
    padding-bottom: 80px;
}

/* ==================== VOTE BUTTONS ==================== */
.vote-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--gray-700);
}

.vote-btn:hover {
    border-color: var(--coral);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.vote-btn .vote-icon { font-size: 1rem; }
.vote-btn .vote-count {
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.vote-btn.active[data-vote-type="helpful"] {
    background: rgba(233,69,96,0.12);
    border-color: var(--coral);
    color: var(--coral);
}

.vote-btn.active[data-vote-type="inspiring"] {
    background: rgba(255,215,0,0.12);
    border-color: var(--gold);
    color: #B8960F;
}

body.dark-mode .vote-btn.active[data-vote-type="inspiring"] {
    color: var(--gold);
}

.vote-btn.active[data-vote-type="creative"] {
    background: rgba(142,68,173,0.12);
    border-color: #8e44ad;
    color: #8e44ad;
}

/* Vote buttons on cards */
.blog-card .vote-buttons,
.gallery-item .vote-buttons {
    padding: 0 20px 16px;
}

.blog-card .vote-buttons { padding: 0 24px 20px; }

/* ==================== LEADERBOARD ==================== */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.leaderboard {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.admin-bar .leaderboard { top: 132px; }

.leaderboard h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cream-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.leaderboard-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--gray-200);
}

.leaderboard-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-align: center;
}

.leaderboard-tab:hover {
    color: var(--coral);
}

.leaderboard-tab.active {
    color: var(--coral);
    border-bottom-color: var(--coral);
}

.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}

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

.leaderboard-item:hover {
    background: rgba(212,131,107,0.04);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: var(--radius-sm);
}

.leaderboard-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--gray-100);
    color: var(--gray-700);
}

.leaderboard-item:nth-child(1) .leaderboard-rank {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
}
.leaderboard-item:nth-child(2) .leaderboard-rank {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: #fff;
}
.leaderboard-item:nth-child(3) .leaderboard-rank {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #fff;
}

.leaderboard-title {
    flex: 1;
    min-width: 0;
}

.leaderboard-title a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy) !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.leaderboard-title a:hover { color: var(--coral) !important; }

.leaderboard-votes {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coral);
    background: rgba(212,131,107,0.1);
    padding: 3px 10px;
    border-radius: 50px;
    flex-shrink: 0;
}

.leaderboard-empty {
    text-align: center;
    padding: 20px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* Reset button in single post context */
.leaderboard .reset-post-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 8px;
    border: 1px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
}
.leaderboard .reset-post-btn:hover {
    background: #e74c3c;
    color: #fff;
}

@media (max-width: 900px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }
    .leaderboard {
        position: static;
    }
}

/* Leaderboard settings button */
.admin-toolbar-btn.lb-settings {
    background: #3498db;
    color: #fff;
}
.admin-toolbar-btn.lb-settings:hover {
    background: #2980b9;
}

/* Admin modal overlays */
.nalexa-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.nalexa-modal-overlay.open { display: flex; }

.nalexa-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.nalexa-modal h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1B2A4A;
}

.nalexa-modal-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.nalexa-modal-field {
    margin-bottom: 14px;
}
.nalexa-modal-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.nalexa-modal-field input,
.nalexa-modal-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}
.nalexa-modal-field input:focus,
.nalexa-modal-field select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.nalexa-modal-error {
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 18px;
}

.nalexa-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.nalexa-modal-actions .admin-toolbar-btn.cancel {
    color: #666;
    border-color: #ddd;
}
.nalexa-modal-actions .admin-toolbar-btn.cancel:hover {
    color: #333;
    border-color: #bbb;
}

/* Leaderboard export button */
.leaderboard-export-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    border: 1px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
}
.leaderboard-export-btn:hover {
    background: #3498db;
    color: #fff;
}

.leaderboard-period {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
}

/* Admin toolbar mobile */
@media (max-width: 600px) {
    .admin-toolbar-inner {
        justify-content: center;
    }
    .admin-toolbar-label { display: none; }
    .admin-toolbar-separator { display: none; }
}

/* ==================== DONATION PAGE ==================== */
.donation-section {
    padding: 140px 0 100px;
    background: var(--cream);
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.donation-intro h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 16px;
}
.donation-intro p {
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 20px;
}

.donation-uses {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}
.donation-uses li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark);
    color: var(--gray-700);
    line-height: 1.6;
}
.donation-uses li:last-child { border-bottom: 0; }
.donation-use-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--navy);
    opacity: 0.55;
}
.donation-use-icon svg { width: 100%; height: 100%; display: block; }

.donation-thanks {
    font-style: italic;
    color: var(--navy) !important;
    padding-top: 24px;
    border-top: 1px solid var(--cream-dark);
    margin-top: 28px !important;
}

/* --- Bank details card --- */
.donation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.donation-card-header { margin-bottom: 24px; }
.donation-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}
.donation-card-header h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0;
}

.donation-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--cream-dark);
}
.donation-detail-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--gray-500);
}
.donation-detail-value {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    word-break: break-word;
}
.donation-account-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.donation-account-number {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--coral-dark);
    font-variant-numeric: tabular-nums;
}

.donation-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    color: var(--navy);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    white-space: nowrap;
}
.donation-copy-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
/* The copy/check swap is driven by inline styles in nalexa.js, not CSS —
   SVG elements ignore the HTML [hidden] attribute, and inline styles keep
   the icons correct even if this stylesheet is stale or fails to load. */
.donation-copy-btn:hover {
    background: var(--cream-dark);
    border-color: var(--gray-300);
}
.donation-copy-btn.copied {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.donation-card-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 22px 0 0;
}

.donation-cta-wrap { margin-top: 24px; }
.donation-confirm-toggle {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.donation-toggle-arrow {
    display: inline-block;
    transition: transform var(--transition);
}
.donation-confirm-toggle.is-open .donation-toggle-arrow { transform: rotate(180deg); }

/* --- Roll-down confirmation panel --- */
.donation-confirm-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}
.donation-confirm-panel.open {
    opacity: 1;
    margin-top: 20px;
}
.donation-confirm-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-md);
}
.donation-confirm-inner > h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0 0 6px;
}
.donation-form-sub {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.donation-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.donation-optional {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--gray-500);
    text-transform: lowercase;
}

.donation-consent {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-top: 4px;
}
.donation-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.55;
    cursor: pointer;
    margin: 0;
}
.donation-consent-check input { margin-top: 3px; flex-shrink: 0; }

.donation-privacy {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    margin: 16px 0 0;
    line-height: 1.5;
}

/* --- Nav donate button --- */
.nav-donate-btn { white-space: nowrap; }

/* The Donate button adds an 8th nav item — tighten spacing between the
   desktop layout and the 900px hamburger breakpoint so nothing wraps. */
@media (min-width: 1101px) and (max-width: 1400px) {
    .nav-links { gap: 18px; }
    .nav-links a.btn { padding: 9px 16px !important; font-size: 0.8rem !important; }
    .nalexa-page .nav-links a,
    .nav-dropdown-toggle { font-size: 0.88rem; }
}

@media (max-width: 900px) {
    .donation-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .donation-section { padding: 110px 0 70px; }
    .donation-card, .donation-confirm-inner { padding: 26px 20px; }
    .donation-form-row { grid-template-columns: 1fr; gap: 0; }
    .donation-account-number { font-size: 1.25rem; }
}

/* --- Dark mode --- */
body.dark-mode .donation-section { background: #0B1E24; }
body.dark-mode .donation-intro h3 { color: #fff; }
body.dark-mode .donation-intro p,
body.dark-mode .donation-uses li { color: rgba(255,255,255,0.78); }
body.dark-mode .donation-uses li { border-bottom-color: rgba(255,255,255,0.1); }
body.dark-mode .donation-use-icon { color: #fff; opacity: 0.6; }
body.dark-mode .donation-thanks {
    color: #fff !important;
    border-top-color: rgba(255,255,255,0.12);
}
body.dark-mode .donation-card,
body.dark-mode .donation-confirm-inner { background: #11303A; }
body.dark-mode .donation-card-header h3,
body.dark-mode .donation-confirm-inner > h3 { color: #fff; }
body.dark-mode .donation-detail { border-bottom-color: rgba(255,255,255,0.12); }
body.dark-mode .donation-detail-value { color: #fff; }
body.dark-mode .donation-account-number { color: var(--coral-light); }
body.dark-mode .donation-copy-btn {
    background: #0B1E24;
    border-color: #2F535D;
    color: #fff;
}
body.dark-mode .donation-copy-btn:hover { background: #223055; border-color: #4A5A7C; }
body.dark-mode .donation-copy-btn.copied {
    background: #fff;
    border-color: #fff;
    color: #11303A;
}
body.dark-mode .donation-consent { background: #0B1E24; }
body.dark-mode .donation-consent-check { color: rgba(255,255,255,0.8); }
body.dark-mode .donation-card-note,
body.dark-mode .donation-form-sub,
body.dark-mode .donation-privacy { color: rgba(255,255,255,0.6); }

/* ==================== NAV DROPDOWN (Hall of Fame) ==================== */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}
.nav-dropdown-toggle:hover { color: var(--coral); }
.nav-caret { font-size: 0.7em; transition: transform var(--transition); }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel { display: block; }

.nav-dropdown-panel a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--navy) !important;
    white-space: nowrap;
    transition: background var(--transition);
}
.nav-dropdown-panel a::after { display: none; }
.nav-dropdown-panel a:hover { background: var(--cream); color: var(--coral) !important; }

.nav-dropdown-all {
    font-weight: 600;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0 !important;
    margin-bottom: 6px;
    padding-bottom: 10px !important;
}
.nav-dropdown-group + .nav-dropdown-group { margin-top: 8px; }
.nav-dropdown-year {
    display: block;
    padding: 6px 12px 2px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

@media (max-width: 1100px) {
    /* Inside the drawer the panel is inline, not floating */
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    .nav-dropdown-panel {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 12px;
        min-width: 0;
    }
    .nav-dropdown-panel a { padding: 12px 0; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
    .nav-dropdown-all { margin-bottom: 0; }
}

body.dark-mode .nav-dropdown-toggle { color: #fff; }
body.dark-mode .nav-dropdown-toggle:hover { color: #7ED4E2; }
body.dark-mode .nav-dropdown-panel { background: #11303A; }
body.dark-mode .nav-dropdown-panel a { color: #fff !important; }
body.dark-mode .nav-dropdown-panel a:hover { background: #0B1E24; color: #7ED4E2 !important; }
body.dark-mode .nav-dropdown-year { color: rgba(255,255,255,0.55); }
body.dark-mode .nav-dropdown-all,
body.dark-mode .nav-dropdown-panel a { border-color: rgba(255,255,255,0.12); }
@media (max-width: 1100px) {
    body.dark-mode .nav-dropdown-panel { background: transparent; }
}

/* ==================== EDITION SWITCHER ==================== */
.year-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin: 0 0 36px;
}
.year-switcher-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-right: 4px;
}
.nalexa-page a.year-chip {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--navy) !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}
.nalexa-page a.year-chip:hover {
    border-color: var(--coral);
    color: var(--coral) !important;
}
.nalexa-page a.year-chip.is-current {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff !important;
}
.nalexa-page a.year-chip-cross {
    background: transparent;
    border-style: dashed;
    color: var(--gray-700) !important;
}
body.dark-mode.nalexa-page a.year-chip {
    background: #11303A;
    border-color: #2F535D;
    color: #fff !important;
}
body.dark-mode.nalexa-page a.year-chip.is-current { background: #fff; border-color: #fff; color: #11303A !important; }

/* ==================== HALL OF FAME ==================== */
.hof-section { padding: 140px 0 100px; background: var(--cream); }
.hof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.hof-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.hof-card-year {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.hof-card-total { color: var(--gray-500); font-size: 0.9rem; margin: 6px 0 18px; }
.hof-card-links { display: flex; flex-direction: column; gap: 8px; }
.nalexa-page a.hof-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--cream);
    color: var(--navy) !important;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition);
}
.nalexa-page a.hof-card-link:hover { background: var(--coral); color: #fff !important; }
.hof-card-link-count {
    font-size: 0.78rem;
    color: var(--gray-500);
    background: var(--white);
    border-radius: 999px;
    padding: 2px 10px;
}
.nalexa-page a.hof-card-link:hover .hof-card-link-count { color: var(--coral); }
body.dark-mode .hof-section { background: #0B1E24; }
body.dark-mode .hof-card { background: #11303A; }
body.dark-mode .hof-card-year { color: #fff; }
body.dark-mode.nalexa-page a.hof-card-link { background: #0B1E24; color: #fff !important; }

/* ==================== EVENTS ==================== */
.events-section { padding: 140px 0 100px; background: var(--cream); }
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-card-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    background: var(--cream-dark);
    overflow: hidden;
}
.event-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card-placeholder { display: block; width: 100%; height: 100%; background: var(--cream-dark); }
.event-card-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(27,42,74,0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.event-card-body { padding: 22px 24px 26px; }
.event-card-meta {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}
.event-card-body h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 8px; }
.nalexa-page .event-card-body h3 a { color: var(--navy) !important; }
.nalexa-page .event-card-body h3 a:hover { color: var(--coral) !important; }
.event-card-body p { color: var(--gray-700); font-size: 0.92rem; line-height: 1.6; }

/* --- single event --- */
.event-single { padding: 120px 0 90px; background: var(--cream); }
.event-hero { text-align: center; margin-bottom: 36px; }
.event-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--navy); margin: 10px 0 8px; }
.event-hero-meta {
    color: var(--gray-500);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nalexa-page a.event-back {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500) !important;
    margin-bottom: 8px;
}
.nalexa-page a.event-back:hover { color: var(--coral) !important; }
.event-body {
    max-width: 760px;
    margin: 0 auto 44px;
    color: var(--gray-700);
    line-height: 1.8;
}
.event-body p { margin-bottom: 18px; }

.event-photo { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--cream-dark); cursor: zoom-in; }
.event-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.event-photo:hover img { transform: scale(1.03); }

/* Layout: uniform grid */
.event-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.event-layout-grid .event-photo { aspect-ratio: 1 / 1; }

/* Layout: masonry — keeps each photo's own proportions */
.event-layout-masonry { columns: 3 260px; column-gap: 16px; }
.event-layout-masonry .event-photo { break-inside: avoid; margin-bottom: 16px; }
.event-layout-masonry .event-photo img { height: auto; }

/* Layout: feature — one lead image, the rest beneath */
.event-layout-feature .event-photo-lead { margin-bottom: 16px; max-height: 620px; }
.event-layout-feature .event-photo-lead img { width: 100%; max-height: 620px; object-fit: cover; }
.event-layout-feature .event-photo-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.event-layout-feature .event-photo-strip .event-photo { aspect-ratio: 4 / 3; }

/* Layout: carousel — one swipeable row */
.event-layout-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
}
.event-layout-carousel .event-photo {
    flex: 0 0 min(460px, 82%);
    aspect-ratio: 4 / 3;
    scroll-snap-align: center;
}

@media (max-width: 700px) {
    .event-layout-masonry { columns: 1; }
    .event-layout-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}

body.dark-mode .events-section,
body.dark-mode .event-single { background: #0B1E24; }
body.dark-mode .event-card { background: #11303A; }
body.dark-mode.nalexa-page .event-card-body h3 a { color: #fff !important; }
body.dark-mode .event-card-body p,
body.dark-mode .event-body { color: rgba(255,255,255,0.8); }
body.dark-mode .event-hero h1 { color: #fff; }

/* --- event lightbox --- */
.ev-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,14,26,0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 40px 20px;
}
.ev-lightbox.open { display: flex; }
.ev-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.ev-lightbox-close,
.ev-lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ev-lightbox-close { top: 20px; right: 20px; }
.ev-lightbox-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ev-lightbox-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.ev-lightbox-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
}

/* ==================== PUBLICATIONS ==================== */
.pub-type {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral);
}
.pub-byline { color: var(--gray-500); font-size: 0.88rem; margin: 4px 0 10px; }
.pub-card-blank { background: var(--cream-dark); }
.pub-download { margin-top: 34px; text-align: center; }
body.dark-mode .pub-byline { color: rgba(255,255,255,0.6); }
body.dark-mode .pub-card-blank { background: #0B1E24; }

/* ==================== CATALOGUE READER ==================== */
.catalogue-section { padding: 130px 0 90px; background: var(--cream); }
.catalogue-intro { max-width: 680px; margin: 0 auto; color: var(--gray-700); line-height: 1.7; }

.catalogue-reader { max-width: 1080px; margin: 0 auto; }

.catalogue-stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* The track IS the interaction: native horizontal scrolling gives swipe on
   touch, trackpad gestures on desktop, and lets the browser lazy-load pages. */
.catalogue-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 1;
    border-radius: var(--radius-md);
    background: var(--navy);
    /* hide the scrollbar without disabling scrolling */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.catalogue-track::-webkit-scrollbar { display: none; }
.catalogue-track:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.catalogue-page {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalogue-page-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
}

.cat-nav {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
}
.cat-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-nav[disabled] { opacity: 0.35; cursor: default; }
.cat-nav[disabled]:hover { background: var(--white); color: var(--navy); border-color: var(--gray-200); }

.catalogue-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 18px;
    padding: 0 52px;
}
.catalogue-counter { font-size: 0.9rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.cat-sep { color: var(--gray-300); }
.catalogue-jump { flex: 1 1 200px; display: flex; }
.catalogue-jump input[type="range"] { width: 100%; accent-color: var(--coral); cursor: pointer; }
.catalogue-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.nalexa-page .cat-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--navy) !important;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.nalexa-page .cat-action:hover { border-color: var(--coral); color: var(--coral) !important; }
.nalexa-page a.cat-download { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.nalexa-page a.cat-download:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff !important; }

.catalogue-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 14px;
}

/* Fullscreen reading */
.catalogue-reader.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    max-width: none;
    margin: 0;
    background: var(--cream);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.catalogue-reader.is-fullscreen .catalogue-page-img { max-height: calc(100vh - 150px); }

@media (max-width: 700px) {
    .catalogue-stage { gap: 4px; }
    .cat-nav { width: 34px; height: 34px; font-size: 1.15rem; }
    .catalogue-bar { padding: 0; gap: 12px; }
    .catalogue-page-img { max-height: 70vh; }
}

body.dark-mode .catalogue-section { background: #0B1E24; }
body.dark-mode .catalogue-intro { color: rgba(255,255,255,0.8); }
body.dark-mode .catalogue-counter { color: #fff; }
body.dark-mode .cat-nav,
body.dark-mode.nalexa-page .cat-action {
    background: #11303A;
    border-color: #2F535D;
    color: #fff !important;
}
body.dark-mode .cat-nav:hover { background: #fff; color: #11303A !important; }
body.dark-mode .catalogue-reader.is-fullscreen { background: #0B1E24; }

/* ==================== CERTIFICATE LOOKUP ==================== */
.cert-section { padding: 130px 0 90px; background: var(--cream); }
.cert-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-md);
}
.cert-hint {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--gray-500);
    text-transform: none;
}
.cert-note { font-size: 0.8rem; color: var(--gray-500); margin: 6px 0 0; line-height: 1.5; }

/* --- results modal --- */
.cert-modal {
    position: fixed;
    inset: 0;
    background: rgba(12,18,28,0.86);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cert-modal.open { display: flex; }
.cert-modal-inner {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px 26px 22px;
    width: min(1000px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.cert-modal-inner h3 { font-size: 1.4rem; color: var(--navy); margin: 0 0 4px; }
.cert-modal-sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 18px; }
.cert-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--gray-500);
    cursor: pointer;
}
.cert-modal-close:hover { color: var(--coral); }

.cert-stage { position: relative; display: flex; align-items: center; gap: 8px; }
.cert-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 1;
    border-radius: var(--radius-md);
    scrollbar-width: none;
}
.cert-track::-webkit-scrollbar { display: none; }
.cert-slide { flex: 0 0 100%; scroll-snap-align: center; padding: 0 2px; }
.cert-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.cert-slide-meta {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 10px;
}
.cert-slide-meta strong { color: var(--navy); }

.cert-nav {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--navy);
    font-size: 1.4rem; line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
}
.cert-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cert-nav[disabled] { opacity: 0.3; cursor: default; }
.cert-stage.is-single .cert-nav { display: none; }

.cert-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.cert-counter { font-size: 0.88rem; font-weight: 600; color: var(--navy); }

@media (max-width: 700px) {
    .cert-modal-inner { padding: 20px 14px 16px; }
    .cert-nav { width: 32px; height: 32px; font-size: 1.1rem; }
    .cert-modal-bar { justify-content: center; }
}

body.dark-mode .cert-section { background: #0B1E24; }
body.dark-mode .cert-card,
body.dark-mode .cert-modal-inner { background: #11303A; }
body.dark-mode .cert-modal-inner h3,
body.dark-mode .cert-counter,
body.dark-mode .cert-slide-meta strong { color: #fff; }
body.dark-mode .cert-nav { background: #0B1E24; border-color: #2F535D; color: #fff; }

.cert-lead {
    font-size: 0.88rem;
    color: var(--gray-700);
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin: 0 0 22px;
    line-height: 1.55;
}
body.dark-mode .cert-lead { background: #0B1E24; color: rgba(255,255,255,0.8); }

/* ================================================================
   CATALOGUE DESIGN LAYER (v2.2)
   ================================================================
   The site takes its look from the GCLA 2026 catalogue: its painted teal
   wash, gold glitter and agate slices are the catalogue's own artwork,
   lifted from the PDF (assets/texture, 160 KB for all three). Headings
   are set in Garamond like the catalogue, with an italic line beside
   them. Buttons borrow the catalogue's orange number tiles and the
   cover's yellow. Flat surfaces, no hover lifts, no glow. */

:root {
    --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
    --cat-deep: #055F74;       /* darkest corner of the wash */
    --cat-teal: #0F8EAA;       /* the catalogue's page colour */
    --cat-light: #41BCC3;
    --cat-agate: #E7F5F6;      /* pale centre of the agate slice */
    --cat-orange: #FF914B;     /* number tiles */
    --cat-orange-dark: #F37A30;
    --cat-yellow: #FFE55C;     /* cover title */
    --cat-red: #CE3033;        /* cover "Initiative" pill */
    --cat-ink: #2B2B2B;
    --cat-charcoal: #3A3A3A;   /* jury panel cards */
    --tex-wash: url('assets/texture/wash.webp');
    --tex-glitter: url('assets/texture/glitter.webp');
    --tex-agate: url('assets/texture/agate.webp');
    /* The wash is bright in places, so white text sits on a darkened copy */
    --cat-panel: linear-gradient(rgba(3,66,82,0.58), rgba(3,66,82,0.58)), var(--tex-wash) center / cover;
}

/* --- Type --- */
body.nalexa-page h1, body.nalexa-page h2, body.nalexa-page h3,
body.nalexa-page .section-title,
body.nalexa-page .nav-logo, body.nalexa-page .footer-logo {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.005em;
}
body.nalexa-page h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); line-height: 1.08; }
body.nalexa-page h2, body.nalexa-page .section-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.15; }
body.nalexa-page h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.25; }
body.nalexa-page h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
body.nalexa-page .nav-logo { font-size: 1.45rem; }

/* The catalogue pairs each heading with an italic line; the old
   letter-spaced capitals label becomes that line. In centred headers it
   moves below the title, as in the catalogue. */
body.nalexa-page .section-label {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--coral-dark);
}
body.nalexa-page .section-header { display: flex; flex-direction: column; align-items: center; }
body.nalexa-page .section-header .section-title { order: 1; margin-bottom: 6px; }
body.nalexa-page .section-header .section-label { order: 2; margin-bottom: 18px; }
body.nalexa-page .section-header > *:not(.section-title):not(.section-label) { order: 3; }

/* --- Buttons: flat tiles, squared corners, no lift --- */
body.nalexa-page .btn,
body.nalexa-page a.btn {
    border-radius: 8px;
    padding: 13px 26px;
    letter-spacing: 0.01em;
    box-shadow: none !important;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
body.nalexa-page .btn:hover,
body.nalexa-page a.btn:hover { transform: none !important; box-shadow: none !important; }

body.nalexa-page .btn-primary,
body.nalexa-page a.btn-primary,
body.nalexa-page a.btn-primary:visited {
    background: var(--cat-orange) !important;
    border-color: var(--cat-orange) !important;
    color: var(--cat-ink) !important;
}
body.nalexa-page .btn-primary:hover,
body.nalexa-page a.btn-primary:hover {
    background: var(--cat-orange-dark) !important;
    border-color: var(--cat-orange-dark) !important;
    color: var(--cat-ink) !important;
}

body.nalexa-page .btn-gold,
body.nalexa-page a.btn-gold,
body.nalexa-page a.btn-gold:visited {
    background: var(--cat-yellow) !important;
    border-color: var(--cat-yellow) !important;
    color: var(--cat-ink) !important;
}
body.nalexa-page .btn-gold:hover,
body.nalexa-page a.btn-gold:hover { background: #FFD92E !important; border-color: #FFD92E !important; }

body.nalexa-page .btn-outline,
body.nalexa-page a.btn-outline,
body.nalexa-page a.btn-outline:visited { border-width: 2px; }
body.nalexa-page .btn-outline:hover,
body.nalexa-page a.btn-outline:hover { color: var(--cat-deep) !important; }

/* View Catalogue: the pale blue of the agate's centre, so it stays
   "catalogue blue" and still stands out on the teal hero */
body.nalexa-page .btn-catalogue,
body.nalexa-page a.btn-catalogue,
body.nalexa-page a.btn-catalogue:visited {
    background: var(--cat-agate) !important;
    border-color: var(--cat-agate) !important;
    color: var(--cat-deep) !important;
}
body.nalexa-page .btn-catalogue:hover,
body.nalexa-page a.btn-catalogue:hover { background: #FFFFFF !important; border-color: #FFFFFF !important; }
body.dark-mode.nalexa-page .btn-catalogue,
body.dark-mode.nalexa-page a.btn-catalogue { color: var(--cat-deep) !important; }

/* --- Hero: the catalogue page itself --- */
body.nalexa-page .hero {
    background: linear-gradient(100deg, rgba(3,58,72,0.9) 0%, rgba(4,80,98,0.66) 46%, rgba(6,110,134,0.12) 100%), var(--tex-wash) center / cover;
}
body.nalexa-page .hero::before {
    top: auto; right: auto;
    bottom: -90px; left: -120px;
    width: 560px; height: 500px;
    background: var(--tex-glitter) no-repeat center / contain;
    opacity: 0.95;
}
body.nalexa-page .hero::after {
    bottom: auto; left: auto;
    top: 50%; right: -150px;
    width: 440px; height: 560px;
    background: var(--tex-agate) no-repeat center / contain;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 1;
}
body.nalexa-page .hero-decoration { display: none; }
body.nalexa-page .hero h1 { font-weight: 700; color: #FFFFFF; }
body.nalexa-page .hero h1 .highlight { color: var(--cat-yellow); }
body.nalexa-page .hero-badges { align-items: center; gap: 14px; }
body.nalexa-page .hero-badge {
    background: none;
    border: 0;
    padding: 0;
    border-radius: 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255,255,255,0.88);
}
body.nalexa-page .hero-edition-badge {
    font-style: normal;
    font-size: 1.05rem;
    background: var(--cat-red);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 3px 16px 4px;
}
body.nalexa-page .hero-program { color: rgba(255,255,255,0.75); }
body.nalexa-page .hero-description { color: rgba(255,255,255,0.9); }
/* On narrow screens the agate only peeks in at the top corner, clear of the text */
@media (max-width: 900px) {
    body.nalexa-page .hero::after { width: 200px; height: 260px; right: -150px; top: -110px; transform: rotate(-10deg); opacity: 0.9; }
    body.nalexa-page .hero::before { width: 380px; height: 340px; left: -140px; bottom: -120px; }
}

/* --- Cards: flat, catalogue number tiles instead of emoji --- */
body.nalexa-page .info-card,
body.nalexa-page .speaker-card,
body.nalexa-page .criteria-item,
body.nalexa-page .partner-type,
body.nalexa-page .talks-card,
body.nalexa-page .principle-card {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(20,40,50,0.09);
    transition: none;
}
body.nalexa-page .info-card:hover,
body.nalexa-page .speaker-card:hover,
body.nalexa-page .criteria-item:hover,
body.nalexa-page .partner-type:hover,
body.nalexa-page .principle-card:hover { transform: none; box-shadow: none; }
body.nalexa-page .principle-card { background: var(--white); }

body.nalexa-page .info-grid,
body.nalexa-page .speakers-grid,
body.nalexa-page .partner-types,
body.nalexa-page .pub-formats { counter-reset: tile; }
body.nalexa-page .info-card-icon,
body.nalexa-page .speaker-card-icon,
body.nalexa-page .partner-type-icon,
body.nalexa-page .pub-format-icon {
    counter-increment: tile;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: var(--cat-orange) !important;
    color: var(--cat-ink) !important;
    font-size: 0 !important;       /* hides the emoji; the tile shows its number */
    display: flex; align-items: center; justify-content: center;
}
body.nalexa-page .info-card-icon::before,
body.nalexa-page .speaker-card-icon::before,
body.nalexa-page .partner-type-icon::before,
body.nalexa-page .pub-format-icon::before {
    content: counter(tile, decimal-leading-zero);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}
body.nalexa-page .speaker-card-icon,
body.nalexa-page .partner-type-icon { margin: 0 auto 16px; }
body.nalexa-page .pub-format-icon { flex-shrink: 0; }

body.nalexa-page .info-card li::before {
    border-radius: 1px;
    width: 7px; height: 7px;
    top: 14px;
    background: var(--cat-orange);
}

/* --- Dark panels become catalogue pages --- */
body.nalexa-page .timeline-section,
body.nalexa-page .pub-card,
body.nalexa-page .speaker-info-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--cat-panel);
    color: #FFFFFF;
}
body.nalexa-page .timeline-section::after,
body.nalexa-page .pub-card::after,
body.nalexa-page .speaker-info-box::after {
    content: '';
    position: absolute;
    right: -230px; bottom: -200px;
    width: 440px; height: 390px;
    background: var(--tex-glitter) no-repeat center / contain;
    pointer-events: none;
    opacity: 0.8;
}
body.nalexa-page .timeline-section > *,
body.nalexa-page .pub-card > *,
body.nalexa-page .speaker-info-box > * { position: relative; z-index: 1; }
body.nalexa-page .timeline-section h3,
body.nalexa-page .pub-card h3,
body.nalexa-page .speaker-info-box h3 { color: #FFFFFF; }
body.nalexa-page .speaker-info-box li { color: rgba(255,255,255,0.9); }
body.nalexa-page .speaker-info-box li::before { border-radius: 1px; background: var(--cat-yellow); }
body.nalexa-page .timeline-dot {
    border-radius: 8px;
    background: var(--cat-orange);
    color: var(--cat-ink);
    font-weight: 800;
}
body.nalexa-page .timeline-label { color: var(--cat-yellow); font-size: 0.9rem; }
body.nalexa-page .timeline-detail { color: rgba(255,255,255,0.85); }
body.nalexa-page .timeline-item:not(:last-child)::after,
body.nalexa-page .timeline-item:not(:first-child)::before { background: rgba(255,255,255,0.35); }
body.nalexa-page .pub-card p { color: rgba(255,255,255,0.9); }
body.nalexa-page .pub-format { background: rgba(255,255,255,0.1); border-color: transparent; }

/* --- Section textures: an agate at the edge, glitter in a corner --- */
body.nalexa-page .open-call,
body.nalexa-page .contact,
body.nalexa-page .partners { position: relative; overflow: hidden; }
body.nalexa-page .open-call::before {
    content: '';
    position: absolute;
    top: 60px; left: -170px;
    width: 330px; height: 420px;
    background: var(--tex-agate) no-repeat center / contain;
    transform: rotate(14deg);
    opacity: 0.9;
    pointer-events: none;
}
body.nalexa-page .contact::before,
body.nalexa-page .partners::before {
    content: '';
    position: absolute;
    top: -80px; right: -110px;
    width: 440px; height: 390px;
    background: var(--tex-glitter) no-repeat center / contain;
    opacity: 0.75;
    pointer-events: none;
}
body.nalexa-page .open-call > .container,
body.nalexa-page .contact > .container,
body.nalexa-page .partners > .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
    body.nalexa-page .open-call::before { width: 200px; height: 260px; left: -140px; top: 20px; }
}

/* --- Footer --- */
body.nalexa-page .nalexa-footer {
    position: relative;
    overflow: hidden;
    background: var(--cat-panel);
    color: rgba(255,255,255,0.85);
}
body.nalexa-page .nalexa-footer::before {
    content: '';
    position: absolute;
    left: -90px; top: -120px;
    width: 420px; height: 370px;
    background: var(--tex-glitter) no-repeat center / contain;
    opacity: 0.8;
    pointer-events: none;
}
body.nalexa-page .nalexa-footer .container { position: relative; z-index: 1; }
body.nalexa-page .footer-links a,
body.nalexa-page .footer-links a:visited { color: rgba(255,255,255,0.85) !important; }
body.nalexa-page .footer-logo span,
body.nalexa-page .nalexa-footer .nav-logo span { color: var(--cat-yellow); }
body.nalexa-page .nalexa-footer .nav-logo,
body.nalexa-page .nalexa-footer .nav-logo:visited { color: #FFFFFF !important; }

/* --- Forms --- */
body.nalexa-page .form-section-heading {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--navy);
    border-bottom: 1px solid rgba(20,40,50,0.12);
}
body.nalexa-page .form-wrapper { border-radius: 12px; box-shadow: none; border: 1px solid rgba(20,40,50,0.08); }
body.nalexa-page .form-info-note { border-left: 0; background: var(--cat-agate); color: var(--navy); }
body.dark-mode.nalexa-page .form-info-note { background: rgba(65,188,195,0.12); color: rgba(255,255,255,0.88); }
body.nalexa-page .consent-box { border-radius: 10px; }
body.nalexa-page .form-success-icon {
    border-radius: 10px;
    background: var(--cat-orange);
    color: var(--cat-ink);
    font-size: 1.6rem;
}

/* Line icons that replaced the emoji */
body.nalexa-page .file-upload-icon { color: var(--coral-dark); display: flex; justify-content: center; }
body.nalexa-page .contact-detail-icon { color: var(--cat-deep); background: var(--cat-agate); border-radius: 8px; }
body.dark-mode.nalexa-page .contact-detail-icon { color: #BFE8EC; background: rgba(65,188,195,0.14); }
body.dark-mode.nalexa-page .file-upload-icon { color: #7ED4E2; }

/* Nav buttons (were inline styles) */
body.nalexa-page .nav-links .nav-btn { padding: 10px 20px; font-size: 0.85rem; }

/* Programs menu: name plus a one-line description */
body.nalexa-page .nav-programs-panel { min-width: 300px; }
body.nalexa-page .nav-programs-panel a.nav-program-link { white-space: normal; padding: 10px 12px; }
body.nalexa-page .nav-program-name { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
body.nalexa-page .nav-program-desc { display: block; font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; margin-top: 2px; }
@media (max-width: 1100px) { body.nalexa-page .nav-programs-panel { min-width: 0; } }

/* ================================================================
   PROGRAM PAGES (v2.2): foundation landing, Creative House, generic
   ================================================================ */

/* --- Shared: shorter hero for program pages --- */
body.nalexa-page .program-hero,
body.nalexa-page .foundation-hero { min-height: 72vh; }
body.nalexa-page .program-body { background: var(--cream); }
body.nalexa-page .program-prose { max-width: 720px; margin: 0 auto; font-size: 1.08rem; color: var(--gray-700); }
body.nalexa-page .program-prose p { margin-bottom: 1.1em; }
body.nalexa-page .program-prose h2,
body.nalexa-page .program-prose h3 { color: var(--navy); margin: 1.4em 0 0.5em; }
body.nalexa-page .program-follow { max-width: 720px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid rgba(20,40,50,0.12); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.nalexa-page .program-follow p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--navy); }

/* --- Foundation landing: the three doors --- */
body.nalexa-page .doors-section { background: var(--cream); }
body.nalexa-page .doors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
body.nalexa-page .door-card {
    background: var(--white);
    border: 1px solid rgba(20,40,50,0.09);
    border-radius: 12px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
body.nalexa-page .door-top {
    height: 116px;
    position: relative;
    background: var(--cat-panel);
    padding: 20px 22px;
    display: flex; align-items: flex-start; justify-content: space-between;
    overflow: hidden;
}
body.nalexa-page .door-top::after {
    content: ''; position: absolute; right: -60px; top: -40px; width: 170px; height: 200px;
    background: var(--tex-agate) no-repeat center / contain; transform: rotate(12deg);
}
body.nalexa-page .door-card:nth-child(2) .door-top::after { background-image: var(--tex-glitter); width: 260px; right: -70px; top: -60px; transform: none; }
body.nalexa-page .door-card:nth-child(3) .door-top::after { right: auto; left: 60%; top: 30px; transform: rotate(-24deg); }
body.nalexa-page .door-tile,
body.nalexa-page .ch-tile,
body.nalexa-page .ch-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 8px;
    background: var(--cat-orange); color: var(--cat-ink);
    font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.05rem;
    position: relative; z-index: 1;
}
body.nalexa-page .door-draft { position: relative; z-index: 1; font-size: 0.75rem; font-weight: 600; background: rgba(255,255,255,0.92); color: var(--cat-ink); padding: 4px 10px; border-radius: 6px; }
body.nalexa-page .door-card.is-draft { opacity: 0.8; }
body.nalexa-page .door-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
body.nalexa-page .door-kicker { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--coral-dark); margin-bottom: 4px; }
body.nalexa-page .door-body h3 { margin-bottom: 12px; color: var(--navy); }
body.nalexa-page .door-text { color: var(--gray-700); font-size: 0.97rem; margin-bottom: 20px; }
body.nalexa-page a.door-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cat-deep); }
body.nalexa-page a.door-link:hover { color: var(--cat-orange-dark); }

body.nalexa-page .see-live { background: var(--cream); padding-top: 0; }
body.nalexa-page .see-live-panel {
    position: relative; overflow: hidden;
    background: var(--cat-panel); color: #fff;
    border-radius: 12px; padding: 48px;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: start;
}
body.nalexa-page .see-live-panel::after {
    content: ''; position: absolute; left: -110px; bottom: -150px; width: 420px; height: 370px;
    background: var(--tex-glitter) no-repeat center / contain; opacity: 0.8; pointer-events: none;
}
body.nalexa-page .see-live-panel > * { position: relative; z-index: 1; }
body.nalexa-page .see-live-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--cat-yellow); margin-bottom: 4px; }
body.nalexa-page .see-live-panel h3 { color: #fff; margin-bottom: 10px; }
body.nalexa-page .see-live-panel p { color: rgba(255,255,255,0.9); }
body.nalexa-page .see-live-arrow { color: var(--cat-yellow); padding-top: 34px; }
body.nalexa-page .see-live-close { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 1.35rem; text-align: center; margin-top: 8px; }
@media (max-width: 760px) {
    body.nalexa-page .see-live-panel { grid-template-columns: 1fr; padding: 32px 24px; }
    body.nalexa-page .see-live-arrow { padding: 0; transform: rotate(90deg); justify-self: start; }
}

body.nalexa-page .foundation-about { background: var(--white); }
body.nalexa-page .foundation-about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
body.nalexa-page .foundation-about-grid p { color: var(--gray-700); margin-bottom: 16px; }
body.nalexa-page .foundation-contact { background: var(--cat-agate); border-radius: 12px; padding: 28px; }
body.nalexa-page .foundation-contact h3 { margin-bottom: 10px; color: var(--navy); }
body.nalexa-page .foundation-address { color: var(--navy) !important; line-height: 1.7; }
body.nalexa-page .foundation-links a { display: block; font-weight: 600; margin-top: 6px; }
body.dark-mode.nalexa-page .foundation-contact { background: #11303A; }
@media (max-width: 820px) { body.nalexa-page .foundation-about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- Creative House --- */
body.ch-page .ch-hero { min-height: 92vh; }
body.ch-page .ch-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
body.ch-page .ch-hero-figure { width: 340px; aspect-ratio: 4 / 5; max-width: 100%; position: relative; z-index: 1; border-radius: 10px; overflow: hidden; }
body.ch-page .ch-hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: #fff; margin: 4px 0 22px; }
body.ch-page .ch-hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 16px; padding: 0; }
body.ch-page .ch-hero-facts li { color: #fff; font-weight: 600; font-size: 0.98rem; }
body.ch-page .ch-hero-facts li::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--cat-orange); border-radius: 1px; margin-right: 10px; vertical-align: middle; transform: translateY(-2px); }
@media (max-width: 860px) { body.ch-page .ch-hero-grid { grid-template-columns: 1fr; } body.ch-page .ch-hero-figure { width: 100%; max-width: 420px; } }

body.ch-page .ch-subnav {
    position: sticky; top: 72px; z-index: 50;
    background: var(--cream); border-bottom: 1px solid rgba(20,40,50,0.08);
}
body.admin-bar.ch-page .ch-subnav { top: 104px; }
body.ch-page .ch-subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
body.ch-page .ch-subnav .container::-webkit-scrollbar { display: none; }
body.ch-page .ch-subnav a { white-space: nowrap; font-size: 0.86rem; font-weight: 600; color: var(--navy) !important; padding: 6px 12px; border-radius: 6px; }
body.ch-page .ch-subnav a:hover { background: var(--cat-agate); }
body.dark-mode.ch-page .ch-subnav { background: #0B1E24; border-bottom-color: rgba(255,255,255,0.08); }
body.dark-mode.ch-page .ch-subnav a { color: #E6EEF0 !important; }
body.dark-mode.ch-page .ch-subnav a:hover { background: #11303A; }
body.ch-page { scroll-padding-top: 130px; }
html:has(body.ch-page) { scroll-padding-top: 130px; }

body.ch-page .ch-section { background: var(--white); padding: 88px 0; }
body.ch-page .ch-section.ch-tint { background: var(--cream); }
body.ch-page .ch-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
body.ch-page .ch-section p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.04rem; }
body.ch-page .ch-gap { height: 72px; }
body.ch-page .ch-gap-top { margin-top: 64px; }

body.ch-page .ch-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
body.ch-page .ch-label { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--coral-dark); }
body.ch-page .ch-title { color: var(--navy); margin-bottom: 22px; }
body.ch-page h3.ch-title { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }

body.ch-page .ch-stanza { margin: 6px 0 22px; }
body.ch-page .ch-stanza p { font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; color: var(--navy); margin-bottom: 4px; }
body.ch-page .ch-stanza-loose p { margin-bottom: 8px; }
body.ch-page .ch-pull { margin: 30px 0 0; padding: 26px 28px; background: var(--cat-agate); border-radius: 12px; }
body.ch-page .ch-pull p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--cat-deep); margin-bottom: 6px; }
body.ch-page .ch-pull p:last-child { margin-bottom: 0; }
body.ch-page .ch-closing { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.6rem) !important; line-height: 1.4; color: #fff; margin-top: 32px; }
body.ch-page .ch-closing-dark { color: var(--cat-deep) !important; }
body.ch-page .ch-center-note { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* painted panel sections */
body.ch-page .ch-section.ch-panel { position: relative; overflow: hidden; background: var(--cat-panel); }
body.ch-page .ch-panel::before {
    content: ''; position: absolute; right: -150px; top: -250px; width: 380px; height: 490px;
    background: var(--tex-agate) no-repeat center / contain; transform: rotate(-12deg); pointer-events: none; opacity: 0.95;
}
body.ch-page .ch-panel::after {
    content: ''; position: absolute; left: -140px; bottom: -150px; width: 520px; height: 460px;
    background: var(--tex-glitter) no-repeat center / contain; pointer-events: none; opacity: 0.85;
}
body.ch-page .ch-panel > .container { position: relative; z-index: 1; }
body.ch-page .ch-panel .ch-title,
body.ch-page .ch-panel h2, body.ch-page .ch-panel h3 { color: #fff; }
body.ch-page .ch-panel p,
body.ch-page .ch-panel .ch-stanza p { color: rgba(255,255,255,0.92); }
body.ch-page .ch-panel .ch-label { color: var(--cat-yellow); }
@media (max-width: 900px) { body.ch-page .ch-panel::before { width: 220px; height: 280px; right: -170px; top: 10px; } }

body.ch-page .ch-verbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 0; }
body.ch-page .ch-verb { background: rgba(3,50,62,0.55); border-radius: 10px; padding: 20px 22px; }
body.ch-page .ch-verb-word { display: block; font-weight: 800; letter-spacing: 0.06em; color: var(--cat-yellow); margin-bottom: 4px; font-size: 1.02rem; }
body.ch-page .ch-verb-line { color: rgba(255,255,255,0.92); font-size: 0.98rem; }
@media (max-width: 860px) { body.ch-page .ch-verbs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { body.ch-page .ch-verbs { grid-template-columns: 1fr; } }

/* photos and their lettered stand-ins */
body.ch-page .ch-figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; background: var(--cat-agate); aspect-ratio: 4 / 3; }
body.ch-page .ch-figure img { width: 100%; height: 100%; object-fit: cover; }
body.ch-page .ch-figure-empty { display: flex; align-items: flex-end; background: var(--cat-panel); }
body.ch-page .ch-figure-empty::before {
    content: ''; position: absolute; right: -50px; top: -40px; width: 150px; height: 190px;
    background: var(--tex-agate) no-repeat center / contain; transform: rotate(18deg); opacity: 0.9;
}
body.ch-page .ch-figure-label { position: relative; padding: 16px 18px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1.2; }
body.ch-page .ch-credit { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; font-size: 0.72rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.55)); }
body.ch-page .ch-figure-tall { aspect-ratio: 4 / 5; }

body.ch-page .ch-ada-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0; }
body.ch-page .ch-ada p { margin: 10px 2px 0; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
body.ch-page .ch-places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
@media (max-width: 860px) { body.ch-page .ch-ada-grid, body.ch-page .ch-places { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { body.ch-page .ch-ada-grid { grid-template-columns: 1fr; } }

body.ch-page .ch-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
body.ch-page .ch-two-media { align-items: center; }
@media (max-width: 860px) { body.ch-page .ch-two { grid-template-columns: 1fr; gap: 48px; } }

body.ch-page .ch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 18px; }
body.ch-page .ch-pair-card { background: var(--white); border-radius: 10px; padding: 18px; border: 1px solid rgba(20,40,50,0.08); }
body.ch-page .ch-pair-word { display: block; font-weight: 800; letter-spacing: 0.06em; color: var(--cat-orange-dark); margin-bottom: 6px; }
body.ch-page .ch-pair-card p { margin: 0; font-size: 0.97rem; }

body.ch-page .ch-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 6px 0 20px; }
body.ch-page .ch-chips li { background: var(--cat-agate); color: var(--cat-deep); font-weight: 600; font-size: 0.92rem; padding: 6px 12px; border-radius: 6px; }
body.dark-mode.ch-page .ch-chips li { background: #11303A; color: #BFE8EC; }
body.ch-page .ch-list { list-style: none; padding: 0; margin: 4px 0 18px; }
body.ch-page .ch-list li { position: relative; padding: 5px 0 5px 20px; color: var(--gray-700); }
body.ch-page .ch-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 1px; background: var(--cat-orange); }
body.ch-page .ch-list-cols { columns: 2; column-gap: 32px; }
body.ch-page .ch-list-cols li { break-inside: avoid; }
@media (max-width: 560px) { body.ch-page .ch-list-cols { columns: 1; } }
body.ch-page .ch-list-not li::before { background: var(--gray-300); }
body.ch-page .ch-note { background: var(--cat-agate); border-radius: 10px; padding: 16px 18px; font-size: 0.95rem !important; color: var(--navy) !important; }
body.dark-mode.ch-page .ch-note, body.dark-mode.ch-page .ch-pull { background: #11303A; }
body.dark-mode.ch-page .ch-pull p { color: #BFE8EC; }

body.ch-page .ch-day-cycle { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 48px 0 20px; counter-reset: none; }
body.ch-page .ch-day-cycle li { padding: 18px 20px; background: var(--white); color: var(--gray-700); font-size: 0.97rem; }
body.ch-page .ch-day-cycle li:first-child { border-radius: 10px 0 0 10px; }
body.ch-page .ch-day-cycle li:last-child { border-radius: 0 10px 10px 0; background: var(--cat-deep); color: rgba(255,255,255,0.9); }
body.ch-page .ch-day-cycle li:nth-child(2) { background: var(--cat-agate); }
body.ch-page .ch-day-cycle li:nth-child(3) { background: #BFE3E8; }
body.ch-page .ch-cycle-time { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); }
body.ch-page .ch-cycle-text { display: block; }
body.ch-page .ch-day-cycle li:last-child .ch-cycle-time { color: var(--cat-yellow); }
body.dark-mode.ch-page .ch-day-cycle li:nth-child(-n+3) { background: #11303A; }
@media (max-width: 700px) {
    body.ch-page .ch-day-cycle { grid-template-columns: 1fr 1fr; }
    body.ch-page .ch-day-cycle li { border-radius: 0 !important; }
}

body.ch-page .ch-labs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
body.ch-page .ch-lab { border: 1px solid rgba(20,40,50,0.09); border-radius: 10px; padding: 22px; }
body.ch-page .ch-lab h3 { font-size: 1.35rem; margin: 14px 0 6px; color: var(--navy); }
body.ch-page .ch-lab p { font-size: 0.96rem; margin: 0; }
@media (max-width: 860px) { body.ch-page .ch-labs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { body.ch-page .ch-labs { grid-template-columns: 1fr; } }

body.ch-page .ch-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 1100px) { body.ch-page .ch-days { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { body.ch-page .ch-days { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { body.ch-page .ch-days { grid-template-columns: 1fr; } }
body.ch-page .ch-day { background: rgba(3,50,62,0.72); border-radius: 12px; padding: 20px 16px; }
body.ch-page .ch-day-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
body.ch-page .ch-day-word { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--cat-yellow); }
body.ch-page .ch-day h3 { font-size: 1.35rem; margin-bottom: 8px; }
body.ch-page .ch-day p { font-size: 0.93rem; }
body.ch-page .ch-day-sub { font-family: var(--serif); font-style: italic; font-size: 1.02rem !important; margin: 12px 0 4px !important; color: var(--cat-yellow) !important; }
body.ch-page .ch-day ul { list-style: none; padding: 0; margin: 0; }
body.ch-page .ch-day li { color: rgba(255,255,255,0.9); font-size: 0.9rem; padding: 3px 0 3px 14px; position: relative; }
body.ch-page .ch-day li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; background: var(--cat-orange); border-radius: 1px; }
body.ch-page .ch-day-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
body.ch-page .ch-day-photos .ch-figure { aspect-ratio: 1; border-radius: 6px; }
body.ch-page .ch-day-photos .ch-figure-empty::before { display: none; }
body.ch-page .ch-day-photos .ch-figure-label { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600; padding: 6px; line-height: 1.25; }

body.ch-page .ch-traits { margin: 0 0 10px; }
body.ch-page .ch-traits > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(20,40,50,0.08); }
body.ch-page .ch-traits dt { font-weight: 800; letter-spacing: 0.05em; font-size: 0.86rem; color: var(--cat-orange-dark); }
body.ch-page .ch-traits dd { margin: 0; color: var(--gray-700); }
@media (max-width: 520px) { body.ch-page .ch-traits > div { grid-template-columns: 1fr; gap: 2px; } }

body.ch-page .ch-seats { display: grid; grid-template-columns: auto 1fr 1.3fr; gap: 40px; align-items: center; }
body.ch-page .ch-seats-num { display: block; font-family: var(--serif); font-size: clamp(5rem, 12vw, 8.5rem); font-weight: 700; line-height: 0.9; color: var(--cat-yellow); }
body.ch-page .ch-seats-cap { display: block; color: #fff; font-weight: 600; margin-top: 6px; }
body.ch-page .ch-seats-split p { font-size: 1.05rem; margin-bottom: 10px; }
body.ch-page .ch-seats-split strong { font-family: var(--serif); font-size: 2.2rem; color: #fff; margin-right: 8px; vertical-align: -4px; }
body.ch-page .ch-scholar { margin-top: 56px; max-width: 760px; background: rgba(3,50,62,0.55); border-radius: 12px; padding: 30px 32px; }
@media (max-width: 860px) { body.ch-page .ch-seats { grid-template-columns: 1fr; gap: 20px; } }

body.ch-page .ch-fees { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 30px; align-items: start; }
body.ch-page .ch-fee-side { display: grid; gap: 20px; }
body.ch-page .ch-fee-card { background: var(--cream); border-radius: 12px; padding: 28px; }
body.ch-page .ch-fee-name { font-family: var(--serif); font-style: italic; font-size: 1.25rem !important; color: var(--coral-dark) !important; margin-bottom: 2px !important; }
body.ch-page .ch-fee-price { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3rem) !important; color: var(--navy) !important; line-height: 1.1; margin-bottom: 2px !important; }
body.ch-page .ch-fee-unit { font-size: 0.92rem !important; margin-bottom: 18px !important; }
body.ch-page .ch-fee-sub { font-weight: 700; color: var(--navy) !important; font-size: 0.95rem !important; margin-bottom: 8px !important; }
body.ch-page .ch-fee-early { background: var(--cat-panel); position: relative; overflow: hidden; }
body.ch-page .ch-fee-early::after { content: ''; position: absolute; right: -120px; bottom: -130px; width: 330px; height: 290px; background: var(--tex-glitter) no-repeat center / contain; opacity: 0.8; }
body.ch-page .ch-fee-early > * { position: relative; z-index: 1; }
body.ch-page .ch-fee-early .ch-fee-name { color: var(--cat-yellow) !important; }
body.ch-page .ch-fee-early .ch-fee-price { color: #fff !important; }
body.ch-page .ch-fee-early p { color: rgba(255,255,255,0.9) !important; }
body.ch-page .ch-fee-foot { font-size: 0.9rem !important; margin: 14px 0 0 !important; }
body.ch-page .ch-ticks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 20px; }
body.ch-page .ch-fee-excl .ch-ticks, body.ch-page .ch-safe .ch-ticks { columns: 1; }
body.ch-page .ch-ticks li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; break-inside: avoid; color: var(--gray-700); font-size: 0.95rem; }
body.ch-page .ch-ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--cat-deep); }
body.ch-page .ch-crosses svg { color: var(--gray-500); }
body.dark-mode.ch-page .ch-fee-card:not(.ch-fee-early) { background: #0B1E24; }
body.dark-mode.ch-page .ch-ticks svg { color: #7ED4E2; }
@media (max-width: 860px) { body.ch-page .ch-fees { grid-template-columns: 1fr; } }
@media (max-width: 480px) { body.ch-page .ch-ticks { columns: 1; } }


body.ch-page .ch-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 10px; }
body.ch-page .ch-compare-col { background: var(--white); border-radius: 12px; padding: 26px; }
body.ch-page .ch-compare-house { background: var(--cat-panel); }
body.ch-page .ch-compare-house h3, body.ch-page .ch-compare-house .ch-list li { color: #fff; }
body.ch-page .ch-compare-tag { font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0.08em; color: var(--cat-orange-dark) !important; margin-bottom: 2px !important; }
body.ch-page .ch-compare-house .ch-compare-tag { color: var(--cat-yellow) !important; }
body.ch-page .ch-compare h3 { color: var(--navy); margin-bottom: 10px; }
body.ch-page a.ch-text-link { font-weight: 600; }
@media (max-width: 700px) { body.ch-page .ch-compare { grid-template-columns: 1fr; } }

body.ch-page .ch-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
body.ch-page .ch-steps li { background: rgba(3,50,62,0.55); border-radius: 12px; padding: 20px 18px; }
body.ch-page .ch-steps h3 { font-size: 1.25rem; margin: 14px 0 6px; }
body.ch-page .ch-steps p { font-size: 0.9rem; margin: 0; }
@media (max-width: 980px) { body.ch-page .ch-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { body.ch-page .ch-steps { grid-template-columns: 1fr; } }

/* application form */
body.ch-page #apply { background: var(--cream); }
body.ch-page .ch-form-intro { background: var(--cat-agate); border-radius: 10px; padding: 14px 16px; font-size: 0.95rem !important; color: var(--navy) !important; }
body.dark-mode.ch-page .ch-form-intro { background: #0B1E24; color: rgba(255,255,255,0.88) !important; }
body.ch-page .ch-hint { font-weight: 400; color: var(--gray-500); font-size: 0.85rem; }
body.ch-page .ch-age { display: block; font-size: 0.85rem; margin-top: 6px; color: var(--cat-deep); font-weight: 600; }
body.ch-page .ch-age.is-out { color: #b3261e; }
body.ch-page .ch-readonly { background: var(--gray-100) !important; color: var(--gray-500) !important; }
body.ch-page .ch-type-group label { flex: 1 1 240px; padding: 14px 16px; }
body.ch-page .ch-closed { background: var(--cat-agate); border-radius: 10px; padding: 20px; color: var(--navy); font-weight: 600; text-align: center; }
body.ch-page .consent-check label { display: inline; margin: 0; font-weight: 600; }
body.ch-page #resInterests.has-error .error-msg { display: block; }

/* FAQ */
body.ch-page .ch-faq { margin-top: 10px; }
body.ch-page .ch-faq-item { border-bottom: 1px solid rgba(20,40,50,0.1); }
body.ch-page .ch-faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
body.ch-page .ch-faq-item summary::-webkit-details-marker { display: none; }
body.ch-page .ch-faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 300; color: var(--cat-orange-dark); }
body.ch-page .ch-faq-item[open] summary::after { content: '\2212'; }
body.ch-page .ch-faq-item p { padding: 0 0 18px; margin: 0; }

/* final call */
body.ch-page .ch-final { text-align: center; }
body.ch-page .ch-final-title { color: #fff; margin-bottom: 20px; }
body.ch-page .ch-final-stanza p { color: #fff !important; }
body.ch-page .ch-final-facts { list-style: none; padding: 0; margin: 26px 0 30px; }
body.ch-page .ch-final-facts li { color: rgba(255,255,255,0.92); font-weight: 600; padding: 3px 0; }

/* program info strip (section 34) */
body.ch-page .ch-info-strip { background: var(--white); padding: 44px 0; border-top: 1px solid rgba(20,40,50,0.08); }
body.ch-page .ch-info-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 32px; }
body.ch-page .ch-info-strip p { color: var(--gray-700); font-size: 0.93rem; margin-bottom: 6px; }
body.ch-page .ch-info-name { font-family: var(--serif); font-size: 1.5rem !important; font-weight: 600; color: var(--navy) !important; }
body.ch-page .ch-info-label { font-weight: 700; font-size: 0.78rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cat-orange-dark) !important; }
body.ch-page .ch-info-links a { display: inline-block; margin-right: 16px; font-weight: 600; }
@media (max-width: 760px) { body.ch-page .ch-info-grid { grid-template-columns: 1fr; gap: 18px; } }

/* dark mode: white sections of the Creative House page */
body.dark-mode.ch-page .ch-section:not(.ch-panel) { background: #0B1E24; }
body.dark-mode.ch-page .ch-section.ch-tint, body.dark-mode.ch-page #apply { background: #081A1F; }
body.dark-mode.ch-page .ch-stanza p, body.dark-mode.ch-page .ch-title,
body.dark-mode.ch-page .ch-ada p, body.dark-mode.ch-page .ch-lab h3,
body.dark-mode.ch-page .ch-fee-price, body.dark-mode.ch-page .ch-fee-sub,
body.dark-mode.ch-page .ch-faq-item summary, body.dark-mode.ch-page .ch-compare h3,
body.dark-mode.ch-page .ch-day-cycle li:not(:last-child) .ch-cycle-time, body.dark-mode.ch-page .ch-info-name { color: #F1F5F6 !important; }
body.dark-mode.ch-page .ch-closing-dark { color: #7ED4E2 !important; }
body.dark-mode.ch-page .ch-pair-card,
body.dark-mode.ch-page .ch-compare-col:not(.ch-compare-house), body.dark-mode.ch-page .ch-info-strip { background: #11303A; }

/* Empty photo slots vary, so a page still waiting for photos does not read
   as a wall of identical placeholders: painted, pale with glitter, or deep,
   with the agate turned a different way each time. */
body.ch-page .ch-ada:nth-child(3n+2) .ch-figure-empty,
body.ch-page .ch-places .ch-figure-empty:nth-child(even) { background: var(--cat-agate); }
body.ch-page .ch-ada:nth-child(3n+2) .ch-figure-empty::before,
body.ch-page .ch-places .ch-figure-empty:nth-child(even)::before { background-image: var(--tex-glitter); width: 260px; height: 230px; right: -60px; top: -70px; transform: none; opacity: 1; }
body.ch-page .ch-ada:nth-child(3n+2) .ch-figure-label,
body.ch-page .ch-places .ch-figure-empty:nth-child(even) .ch-figure-label { color: var(--cat-deep); }
body.ch-page .ch-ada:nth-child(3n) .ch-figure-empty { background: linear-gradient(rgba(2,40,50,0.72), rgba(2,40,50,0.72)), var(--tex-wash) center / cover; }
body.ch-page .ch-ada:nth-child(3n) .ch-figure-empty::before { right: auto; left: -50px; top: -80px; bottom: auto; transform: rotate(-30deg); }
body.ch-page .ch-ada:nth-child(4) .ch-figure-empty::before { right: -30px; top: auto; bottom: -90px; transform: rotate(60deg); }
body.ch-page .ch-places .ch-figure-empty:nth-child(3)::before { right: auto; left: -70px; transform: rotate(-40deg); }
body.dark-mode.ch-page .ch-ada:nth-child(3n+2) .ch-figure-empty,
body.dark-mode.ch-page .ch-places .ch-figure-empty:nth-child(even) { background: #11303A; }
body.dark-mode.ch-page .ch-ada:nth-child(3n+2) .ch-figure-label,
body.dark-mode.ch-page .ch-places .ch-figure-empty:nth-child(even) .ch-figure-label { color: #BFE8EC; }

/* Footer links wrap instead of running off narrow screens */
body.nalexa-page .footer-links { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 600px) {
    body.nalexa-page .footer-links { justify-content: center; gap: 8px 18px; padding: 0; }
    body.nalexa-page .footer-text { text-align: center; }
}
body.dark-mode.nalexa-page a.door-link,
body.dark-mode.nalexa-page .door-kicker,
body.dark-mode.nalexa-page .ch-label,
body.dark-mode.nalexa-page .ch-fee-name { color: #7ED4E2 !important; }
body.dark-mode.nalexa-page .ch-panel .ch-label,
body.dark-mode.nalexa-page .ch-fee-early .ch-fee-name { color: var(--cat-yellow) !important; }

/* Line icons that replaced colour emoji in votes and placeholders */
body.nalexa-page .vote-icon { display: inline-flex; color: var(--coral-dark); }
body.dark-mode.nalexa-page .vote-icon { color: #7ED4E2; }
body.nalexa-page .gallery-carousel-badge { display: inline-flex; align-items: center; gap: 4px; }
body.nalexa-page .gallery-pdf-placeholder .pdf-icon { color: var(--coral-dark); }

/* Section 21: seven experiences as one journey ("dalam satu perjalanan"),
   stops on a line across a painted band; a vertical path on narrow screens */
body.ch-page .ch-journey-band {
    position: relative; overflow: hidden;
    background: var(--cat-panel); border-radius: 12px;
    padding: 44px 36px 34px; margin: 30px 0 8px;
}
/* Glitter only, kept below the stops' text; an agate here landed on the words */
body.ch-page .ch-journey-band::after {
    content: ''; position: absolute; right: -90px; bottom: -175px; width: 320px; height: 285px;
    background: var(--tex-glitter) no-repeat center / contain; opacity: 0.85; pointer-events: none;
}
@media (max-width: 900px) {
    body.ch-page .ch-journey-band::after { right: -110px; bottom: -190px; width: 280px; height: 250px; }
}
body.ch-page .ch-journey { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0 8px; }
body.ch-page .ch-journey::before {
    content: ''; position: absolute; top: 20px; left: calc(100% / 14); right: calc(100% / 14);
    border-top: 2px dotted rgba(255,255,255,0.45);
}
body.ch-page .ch-journey li { position: relative; text-align: center; padding: 0 4px; }
body.ch-page .ch-journey-dot {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 8px;
    background: var(--cat-orange); color: var(--cat-ink);
    font-weight: 800; font-size: 0.95rem;
    box-shadow: 0 0 0 6px rgba(4,72,88,0.9);   /* a gap in the dotted line around each stop */
}
body.ch-page .ch-journey-word { display: block; margin: 16px 0 6px; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.15; color: #FFFFFF; }
body.ch-page .ch-journey-text { display: block; font-size: 0.88rem; line-height: 1.45; color: rgba(255,255,255,0.86); }
body.ch-page .ch-journey-close {
    position: relative; z-index: 1; margin: 34px 0 0 !important; text-align: center;
    font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.3vw, 1.55rem) !important; color: var(--cat-yellow) !important;
}
@media (max-width: 900px) {
    body.ch-page .ch-journey-band { padding: 32px 22px 28px; }
    body.ch-page .ch-journey { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
    body.ch-page .ch-journey::before { top: 21px; bottom: 21px; left: 20px; right: auto; border-top: 0; border-left: 2px dotted rgba(255,255,255,0.45); }
    body.ch-page .ch-journey li { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; text-align: left; padding: 0 0 20px; }
    body.ch-page .ch-journey li:last-child { padding-bottom: 0; }
    body.ch-page .ch-journey-dot { grid-row: 1 / span 2; }
    body.ch-page .ch-journey-word { margin: 2px 0 2px; }
}

/* ================================================================
   CREATIVE HOUSE: BATCHES, SEATS AND PAYMENT (v2.3)
   ================================================================ */

/* Seats left, per batch */
body.ch-page .ch-seatboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 760px; margin: 22px auto 0; }
body.ch-page .ch-seatcard { background: var(--white); border-radius: 12px; padding: 22px 24px; border: 1px solid rgba(20,40,50,0.08); }
body.ch-page .ch-seatcard.is-off { opacity: 0.75; }
body.ch-page .ch-seatcard p { margin: 0 !important; }
body.ch-page .ch-seatcard-batch { font-weight: 800; letter-spacing: 0.05em; font-size: 0.82rem !important; text-transform: uppercase; color: var(--cat-orange-dark) !important; }
body.ch-page .ch-seatcard-dates { font-family: var(--serif); font-size: 1.35rem !important; font-weight: 600; color: var(--navy) !important; margin: 2px 0 12px !important; }
body.ch-page .ch-seatcard-num { font-family: var(--serif); font-size: 1.3rem !important; color: var(--gray-500) !important; line-height: 1; }
body.ch-page .ch-seatcard-num span { font-size: 3rem; font-weight: 700; color: var(--cat-deep); }
body.ch-page .ch-seatcard-note { font-size: 0.9rem !important; margin-top: 4px !important; }
body.ch-page .ch-seatbar { height: 8px; border-radius: 4px; background: var(--cat-agate); overflow: hidden; margin: 12px 0 10px; }
body.ch-page .ch-seatbar span { display: block; height: 100%; background: var(--cat-orange); border-radius: 4px; }
body.ch-page .ch-seatcard-early { font-size: 0.88rem !important; color: var(--cat-deep) !important; font-weight: 600; }
body.ch-page .ch-seatcard-state { font-weight: 700; color: var(--navy) !important; }
body.dark-mode.ch-page .ch-seatcard { background: #11303A; border-color: transparent; }
body.dark-mode.ch-page .ch-seatcard-dates { color: #F1F5F6 !important; }
body.dark-mode.ch-page .ch-seatcard-num span, body.dark-mode.ch-page .ch-seatcard-early { color: #7ED4E2 !important; }

body.ch-page .ch-early-left { list-style: none; padding: 0; margin: 0 0 12px; }
body.ch-page .ch-early-left li { color: #fff; font-weight: 600; font-size: 0.92rem; padding: 2px 0; }

/* Day 02 photo strip under the five days */
body.ch-page .ch-explore-strip { margin-top: 26px; }
body.ch-page .ch-explore-label { font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0.06em; color: var(--cat-yellow) !important; margin-bottom: 10px !important; }
body.ch-page .ch-explore-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.ch-page .ch-explore-photos .ch-figure { aspect-ratio: 4 / 3; }
body.ch-page .ch-explore-photos .ch-figure-label { font-size: 1.05rem; padding: 10px 12px; }
body.ch-page .ch-explore-photos .ch-figure-empty::before { width: 110px; height: 140px; right: -40px; top: -30px; }
body.ch-page .ch-explore-photos .ch-figure-empty:nth-child(even) { background: var(--cat-agate); }
body.ch-page .ch-explore-photos .ch-figure-empty:nth-child(even) .ch-figure-label { color: var(--cat-deep); }
body.ch-page .ch-explore-photos .ch-figure-empty:nth-child(even)::before { background-image: var(--tex-glitter); width: 200px; height: 170px; transform: none; }
@media (max-width: 900px) { body.ch-page .ch-explore-photos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { body.ch-page .ch-explore-photos { grid-template-columns: 1fr 1fr; } }

/* Application steps */
body.ch-page .ch-step-date { font-weight: 700; color: var(--cat-yellow) !important; margin-top: 6px !important; }
body.ch-page .ch-steps-note { margin-top: 22px !important; color: rgba(255,255,255,0.92) !important; max-width: 760px; }

/* Batch picker in the form */
body.ch-page .ch-batch-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
body.ch-page label.ch-batch-opt { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 16px 18px; border: 1.5px solid var(--gray-200); border-radius: 10px; cursor: pointer; font-weight: 400; margin: 0; }
body.ch-page label.ch-batch-opt input { grid-row: 1 / span 3; margin-top: 4px; accent-color: var(--cat-orange-dark); width: 18px; height: 18px; }
body.ch-page label.ch-batch-opt:has(input:checked) { border-color: var(--cat-orange); background: rgba(255,145,75,0.07); }
body.ch-page label.ch-batch-opt.is-off { cursor: not-allowed; opacity: 0.6; }
body.ch-page .ch-batch-name { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cat-orange-dark); }
body.ch-page .ch-batch-dates { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
body.ch-page .ch-batch-left { font-size: 0.85rem; color: var(--gray-500); }
body.ch-page .ch-type-price { display: block; font-size: 0.82rem; color: var(--gray-500); font-weight: 400; margin-top: 2px; }
body.ch-page .ch-type-group span { display: block; }
body.dark-mode.ch-page .ch-batch-dates { color: #F1F5F6; }

/* After registering: payment details */
body.ch-page .ch-done { text-align: left; }
body.ch-page .ch-done .form-success-icon { margin-left: 0; }
body.ch-page .ch-done-code { font-size: 1.05rem !important; color: var(--navy) !important; }
body.ch-page .ch-done-code strong { font-family: 'Inter', monospace; letter-spacing: 0.06em; background: var(--cat-agate); padding: 2px 8px; border-radius: 6px; }
body.ch-page .ch-pay { background: var(--cream); border-radius: 12px; padding: 20px 22px; margin-top: 16px; }
body.ch-page .ch-pay-lead { font-weight: 700; color: var(--navy) !important; }
body.ch-page .ch-pay-rows { margin: 8px 0 14px; }
body.ch-page .ch-pay-rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(20,40,50,0.08); }
body.ch-page .ch-pay-rows dt { color: var(--gray-500); font-size: 0.92rem; }
body.ch-page .ch-pay-rows dd { margin: 0; color: var(--navy); }
body.ch-page .ch-pay-rows dd strong { font-size: 1.1rem; }
body.dark-mode.ch-page .ch-pay { background: #0B1E24; }
body.dark-mode.ch-page .ch-pay-rows dd, body.dark-mode.ch-page .ch-done-code { color: #F1F5F6 !important; }
body.dark-mode.ch-page .ch-done-code strong { background: #11303A; }

body.ch-page .ch-confirm-wrap { margin-top: 22px; }

/* Editor's note (Oct 2026): every list item starts with a capital letter.
   Done in CSS so it also covers text edited in place later. */
body.ch-page .ch-list li::first-letter,
body.ch-page .ch-list-cols li::first-letter,
body.ch-page .ch-chips li::first-letter,
body.ch-page .ch-day li::first-letter,
body.ch-page .ch-ticks li > span::first-letter,
body.ch-page .ch-traits dd::first-letter,
body.ch-page .ch-verb-line::first-letter,
body.ch-page .ch-cycle-text::first-letter,
body.ch-page .ch-journey-text::first-letter,
body.ch-page .ch-pair-card p::first-letter { text-transform: uppercase; }
body.ch-page .ch-verb-line { display: block; }

/* People: mentors, pendamping, board */
body.ch-page .ch-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 34px 0 10px; }
body.ch-page .ch-person { background: var(--cream); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
body.ch-page .ch-person-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cat-panel); }
body.ch-page .ch-person-body { padding: 14px 16px 18px; }
body.ch-page .ch-person p { margin: 0 !important; }
body.ch-page .ch-person-city { font-size: 0.72rem !important; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cat-orange-dark) !important; margin-bottom: 2px !important; }
body.ch-page .ch-person-name { font-size: 1.25rem; line-height: 1.2; color: var(--navy); margin: 0 0 2px; }
body.ch-page .ch-person-role { font-family: var(--serif); font-style: italic; font-size: 1.02rem !important; color: var(--cat-deep) !important; line-height: 1.3; }
body.ch-page .ch-person-bio { font-size: 0.86rem !important; line-height: 1.5; margin-top: 10px !important; }
body.ch-page .ch-mentor-note { margin-top: 18px !important; }
body.ch-page .ch-person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
body.ch-page .ch-person-batch { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--cat-agate); color: var(--navy) !important; font-size: 0.74rem !important; font-weight: 700; letter-spacing: 0.02em; }
body.dark-mode.ch-page .ch-person-batch { background: #1B4652; color: #F1F5F6 !important; }
body.ch-page .ch-team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
body.ch-page .ch-team .ch-people { grid-template-columns: repeat(2, 1fr); margin-top: 10px; }
body.ch-page .ch-team > div:first-child .ch-people { grid-template-columns: repeat(2, 1fr); }
body.ch-page .ch-team-label { font-weight: 800; font-size: 0.8rem !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cat-orange-dark) !important; margin: 0 !important; }
body.ch-page .ch-people.is-compact .ch-person-name { font-size: 1.1rem; }
body.dark-mode.ch-page .ch-person { background: #11303A; }
body.dark-mode.ch-page .ch-person-name { color: #F1F5F6; }
body.dark-mode.ch-page .ch-person-role { color: #7ED4E2 !important; }
@media (max-width: 980px) { body.ch-page .ch-people { grid-template-columns: repeat(3, 1fr); } body.ch-page .ch-team { grid-template-columns: 1fr; } body.ch-page .ch-team > div:first-child .ch-people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { body.ch-page .ch-people, body.ch-page .ch-team .ch-people, body.ch-page .ch-team > div:first-child .ch-people { grid-template-columns: repeat(2, 1fr); } body.ch-page .ch-person-bio { font-size: 0.82rem !important; } }

/* ================================================================
   CREATIVE HOUSE ARCHIVE + BENGKULU BERTAUT
   ================================================================ */
body.ch-page .ch-archive-note { max-width: 620px; margin: 0 0 20px; }
body.dark-mode.ch-page .ch-archive-note { background: var(--cat-agate); color: var(--navy) !important; }

body.bb-page .bb-hero-detail { padding-bottom: 40px; }
body.bb-page .bb-back { margin: 0 0 14px; }
body.bb-page .bb-back a { color: #fff; font-weight: 600; text-decoration: none; }
body.bb-page .bb-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
body.bb-page .bb-card { background: var(--cream); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
body.bb-page .bb-card h3 { font-size: 1.6rem; line-height: 1.2; color: var(--navy); margin: 0 0 10px; }
body.bb-page .bb-card .btn { margin-top: auto; }
body.bb-page .bb-call { font-size: 0.78rem !important; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cat-orange-dark) !important; margin: 0 0 8px !important; }
body.bb-page .bb-state { font-weight: 700; color: var(--cat-deep) !important; margin: 14px 0 18px !important; }
body.bb-page .bb-dates { margin: 14px 0 0; width: 100%; }
body.bb-page .bb-dates div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid rgba(20,40,50,0.1); }
body.bb-page .bb-dates dt { color: var(--gray-500); font-size: 0.92rem; }
body.bb-page .bb-dates dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 0.95rem; text-align: right; }
body.bb-page .bb-about-facts { margin-top: 28px; }
body.bb-page .bb-prizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 26px auto 0; }
body.bb-page .bb-prize { background: rgba(3,50,62,0.55); border-radius: 12px; padding: 24px; }
body.bb-page .bb-prize span { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; color: var(--cat-yellow); }
body.bb-page .bb-prize p { margin: 6px 0 0 !important; }
body.bb-page .bb-ladder-wrap { margin-top: 24px; }
body.bb-page .bb-ladder { width: 100%; border-collapse: collapse; margin: 0; }
body.bb-page .bb-ladder th, body.bb-page .bb-ladder td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1rem; background: none; }
body.bb-page .bb-ladder th { text-align: left; font-weight: 600; }
body.bb-page .bb-ladder td { text-align: right; font-weight: 700; }
body.bb-page .bb-ladder-light th, body.bb-page .bb-ladder-light td { color: var(--navy); border-bottom-color: rgba(20,40,50,0.1); }
body.bb-page .bb-small { font-size: 0.88rem !important; margin-top: 10px !important; }
body.bb-page .bb-subhead { font-size: 1.25rem; color: var(--navy); margin: 28px 0 8px; }
body.bb-page .bb-rules { padding-left: 20px; margin: 12px 0 0; }
body.bb-page .bb-rules li { margin-bottom: 10px; line-height: 1.6; color: var(--text-dark, #4a5560); }
body.bb-page .bb-rights { margin-top: 12px; }
body.bb-page .bb-rights p { font-size: 0.88rem !important; line-height: 1.6; }
body.dark-mode.bb-page .bb-card { background: #11303A; }
body.dark-mode.bb-page .bb-card h3, body.dark-mode.bb-page .bb-dates dd, body.dark-mode.bb-page .bb-subhead, body.dark-mode.bb-page .bb-ladder-light th, body.dark-mode.bb-page .bb-ladder-light td { color: #F1F5F6; }
body.dark-mode.bb-page .bb-dates div, body.dark-mode.bb-page .bb-ladder-light th, body.dark-mode.bb-page .bb-ladder-light td { border-bottom-color: rgba(255,255,255,0.14); }
body.dark-mode.bb-page .bb-state { color: #7ED4E2 !important; }
@media (max-width: 760px) {
    body.bb-page .bb-cards, body.bb-page .bb-prizes { grid-template-columns: 1fr; }
    body.bb-page .bb-card { padding: 22px; }
}

/* A publication: clear of the fixed menu, at a readable width */
article.single-post { padding: 118px 0 72px; }
article.single-post > .container { max-width: 800px; }
article.single-post h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; color: var(--navy); margin: 12px 0 8px; }
.single-post-date { color: var(--gray-500); font-size: 0.9rem; margin-top: 14px; }
.single-post-thumb { margin: 22px 0 28px; }
.single-post-thumb img { display: block; width: 100%; height: auto; border-radius: 10px; }
.single-post-content figure { margin: 26px 0; }
.single-post-content figure img { display: block; width: 100%; height: auto; margin: 0; border-radius: 10px; }
body.dark-mode article.single-post h1 { color: #F1F5F6; }

/* International / National label on program links */
.program-scope { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--cat-agate, #E7F5F6); color: var(--cat-deep, #0E5A68); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; }
.door-top .program-scope { margin-left: 10px; }
body.dark-mode .program-scope { background: #1B4652; color: #F1F5F6; }

/* Partners call to action */
.partners-cta { text-align: center; margin-top: 34px; }

/* Bengkulu Bertaut: supporters, admin preview, after submitting */
body.bb-page .bb-supporters { padding-top: 40px; padding-bottom: 56px; text-align: center; border-top: 1px solid rgba(20,40,50,0.08); }
body.bb-page .bb-supporters-label { font-size: 0.8rem !important; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cat-orange-dark) !important; margin-bottom: 6px !important; }
body.bb-page .bb-supporters-text { font-size: 0.95rem !important; }
body.bb-page .bb-supporters-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px; margin-top: 22px; }
body.bb-page .bb-supporters-logos img { max-height: 72px; width: auto; max-width: 200px; height: auto; object-fit: contain; }
body.bb-page .bb-preview-note { margin-top: 16px; }
body.bb-page .bb-after { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(20,40,50,0.1); }
body.bb-page .bb-after-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px 0; }
body.dark-mode.bb-page .bb-supporters { border-top-color: rgba(255,255,255,0.12); }

/* Outline buttons on the light "entry received" panel */
body.bb-page .bb-after-actions a.btn-outline,
body.bb-page .bb-after-actions a.btn-outline:visited { color: var(--navy) !important; border-color: var(--navy) !important; background: transparent !important; }
body.bb-page .bb-after-actions a.btn-outline:hover { background: var(--navy) !important; color: #fff !important; }
body.dark-mode.bb-page .bb-after-actions a.btn-outline,
body.dark-mode.bb-page .bb-after-actions a.btn-outline:visited { color: #F1F5F6 !important; border-color: rgba(255,255,255,0.6) !important; }
body.ch-page .ch-done-code strong { white-space: nowrap; }   /* keep a registration code on one line */

/* GCLA archive page */
.gcla-archive-note { display: inline-block; margin: 6px 0 18px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.14); color: #fff !important; font-size: 0.95rem; }
.gcla-archive-note a { color: #FFE066 !important; font-weight: 700; text-decoration: none; margin-left: 6px; }

