/* ==========================================
   SimasiaAI for ΠΟΑμΣΚΠ
   Forbes-Style Editorial — Prestige Archive
   WCAG 2.1 AA
   ========================================== */

:root {
    --bg-main: #FAF7F2;
    --text-primary: #2D2D35;
    --text-secondary: #6B7280;
    --accent-purple: #4C2CCF;
    --soft-purple: #EDEBFA;
    --hover-purple: #24124D;
    --lilac: #F97316;
    --dark-orange: #EA580C;
    --surface-white: #FFFFFF;
    --border-hairline: rgba(45, 45, 53, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv11";
    transition: font-size 0.3s ease;
}

/* Smooth page-to-page transitions for multipage navigation */
body {
    opacity: 0;
    transition: opacity 180ms ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0.8;
}

h1, h2, h3, h4, h5 { letter-spacing: -0.02em; color: var(--text-primary); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }

/* Accessibility modes */
body.wag-contrast { background-color: #0b0b0b !important; color: #ffffff !important; }
body.wag-contrast section,
body.wag-contrast div:not(#simasia-a11y-panel):not(.mobile-menu-overlay),
body.wag-contrast nav,
body.wag-contrast footer {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
    border-color: #262626 !important;
}
body.wag-contrast h1, body.wag-contrast h2, body.wag-contrast h3,
body.wag-contrast p, body.wag-contrast span, body.wag-contrast li,
body.wag-contrast label { color: #ffffff !important; }
body.wag-contrast a { color: #b8acff !important; }
body.wag-contrast input, body.wag-contrast textarea {
    background-color: #1a1a1a !important; color: white !important; border-color: #333 !important;
}
body.wag-links-highlight a {
    text-decoration: underline !important;
    background-color: #fff176 !important;
    color: #1a1a1a !important;
    font-weight: 900 !important;
}

/* Navigation */
.nav-sticky {
    background: rgba(246, 243, 239, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-hairline);
}
.nav-link { position: relative; color: var(--text-primary); }
.nav-link:hover { color: var(--accent-purple); }
.nav-link.nav-active {
    color: var(--accent-purple) !important;
    background-color: var(--soft-purple) !important;
}
.nav-link.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: var(--accent-purple);
    border-radius: 10px;
}

#lang-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    line-height: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
.lang-toggle-btn:hover {
    transform: scale(1.08);
}
.lang-toggle-btn:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
    border-radius: 2px;
}
.lang-toggle-btn .lang-flag {
    display: block;
    width: 26px;
    height: 17px;
    border-radius: 1px;
}

/* Keep all desktop nav labels on one line (7 items) */
@media (min-width: 1024px) {
    .nav-sticky > div {
        gap: 0.25rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .nav-sticky .site-nav-links {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0;
        flex: 1 1 auto;
        flex-shrink: 1;
        min-width: 0;
        max-width: calc(100% - 20rem);
    }
    .nav-sticky .site-nav-links .nav-link {
        white-space: nowrap;
        font-size: 0.7rem;
        line-height: 1.15;
        padding: 0.35rem 0.28rem;
        letter-spacing: -0.025em;
    }
    .nav-sticky > div > a:first-child {
        flex-shrink: 0;
    }
    .nav-sticky > div > a:first-child img {
        height: 2.5rem;
        max-width: 10rem;
    }
    .nav-sticky > div > .flex.items-center {
        flex-shrink: 0;
        gap: 0.5rem !important;
    }
    .nav-sticky .nav-actions {
        flex-shrink: 0;
        overflow: visible;
    }
    .nav-sticky a.hidden.sm\:inline-flex.bg-blue-700 {
        padding: 0.5rem 0.75rem;
        font-size: 9px;
        letter-spacing: 0.08em;
    }
}
@media (min-width: 1280px) {
    .nav-sticky .site-nav-links {
        max-width: calc(100% - 22rem);
    }
    .nav-sticky .site-nav-links .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.38rem;
    }
    .nav-sticky > div > a:first-child img {
        height: 2.65rem;
        max-width: 11rem;
    }
}
@media (min-width: 1536px) {
    .nav-sticky .site-nav-links .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.65rem;
    }
}

#scroll-progress {
    background: linear-gradient(90deg, var(--accent-purple), var(--lilac));
    transition: width 0.1s ease-out;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--text-primary) 0%, #1f1d2e 50%, var(--accent-purple) 100%);
    overflow: hidden;
    position: relative;
}
.announcement-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 40s linear infinite;
    gap: 4rem;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(21, 21, 21, 0.6);
    backdrop-filter: blur(4px);
    z-index: 55;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 340px; max-width: 88vw;
    height: 100vh;
    background: var(--bg-main);
    z-index: 56;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    box-shadow: -24px 0 60px rgba(0,0,0,0.2);
}
.mobile-menu.active { transform: translateX(0); }

/* Scroll Reveal */
.reveal { opacity: 1; transform: translateY(0); transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1); }

/* ===========================================
   HERO — FORBES FULL-WIDTH VIDEO
   =========================================== */
.forbes-hero {
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;
    background: #151515;
    display: flex;
    align-items: flex-end;
}
.forbes-hero__media {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.forbes-hero__overlay {
    position: absolute; inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.7) 0%, rgba(21, 21, 21, 0.45) 45%, rgba(246, 243, 239, 1) 100%);
}
.forbes-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}
.forbes-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    backdrop-filter: blur(8px);
    margin-bottom: 1.5rem;
}
.forbes-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    text-transform: none;
    letter-spacing: -0.04em;
    color: #fff;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95;
    max-width: 16ch;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9), 0 0 60px rgba(0,0,0,0.7);
}
.forbes-hero h1 .accent { color: #d9d0ff; }
.forbes-hero__sub {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    max-width: 50ch;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    font-weight: 400;
}
.forbes-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: var(--accent-purple);
    color: #fff;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(63, 47, 163, 0.4);
}
.forbes-hero__cta:hover { background: var(--hover-purple); transform: translateY(-2px); }
.forbes-hero__cta.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: none;
}
.forbes-hero__cta.secondary:hover { background: rgba(255,255,255,0.1); }

/* ===========================================
   SUB-PAGE HEADER — PRESTIGE LUMINOSITY
   =========================================== */
.prestige-header {
    position: relative;
    background: #151515;
    overflow: hidden;
    padding: 9rem 0 5rem;
    margin-top: 0;
    color: #fff;
}
.prestige-header__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    
    opacity: 1;
    z-index: 1;
    transform: scale(1.02);
    transition: transform 12s ease-out;
}
.prestige-header:hover .prestige-header__bg { transform: scale(1.06); }
.prestige-header__gradient {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(21, 21, 21, 0.55) 0%, rgba(21, 21, 21, 0.35) 40%, rgba(21, 21, 21, 0.85) 100%),
        linear-gradient(90deg, rgba(63, 47, 163, 0.28) 0%, rgba(21, 21, 21, 0.0) 60%);
    z-index: 2;
}
.prestige-header__inner {
    position: relative; z-index: 3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.prestige-header__crumbs {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.prestige-header__crumbs a { color: var(--lilac); }
.prestige-header__crumbs a:hover { color: #fff; text-decoration: underline; }
.prestige-header h1 {
    font-weight: 900;
    text-transform: none;
    letter-spacing: -0.03em;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1;
    margin: 0 0 1.5rem 0;
    max-width: 18ch;
}
.prestige-header__lede {
    color: rgba(255,255,255,0.78);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
    max-width: 55ch;
    font-weight: 400;
}

/* ===========================================
   EDITORIAL BENTO GRID — PRESTIGE ARCHIVE
   =========================================== */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.editorial-grid::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--accent-purple) 15%, var(--accent-purple) 85%, transparent 100%);
    opacity: 0.35;
}
@media (max-width: 900px) {
    .editorial-grid { grid-template-columns: repeat(2, 1fr); }
    .editorial-grid::before { display: none; }
}
@media (max-width: 560px) {
    .editorial-grid { grid-template-columns: 1fr; }
}

.article-card {
    position: relative;
    background: var(--surface-white);
    border: 1px solid var(--border-hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    grid-column: span 2;
    text-decoration: none;
    color: inherit;
    min-height: 440px;
}
.article-card::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 32px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--accent-purple);
    z-index: 4;
    transition: transform 0.3s ease;
}
@media (max-width: 900px) { .article-card::before { display: none; } }

.article-card:hover { box-shadow: 0 30px 60px -20px rgba(21, 21, 21, 0.25); border-color: var(--accent-purple); }
.article-card:hover::before { transform: scale(1.5); background: var(--accent-purple); }

.article-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #3f2fa3 0%, #6a5af5 50%, #b8a8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.article-card:hover .article-card__media img { transform: scale(1.05); }

/* Prestige default picture — colorful, branded, one per category */
.article-card__fallback {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(255,255,255,0.18) 0%, transparent 60%),
        linear-gradient(135deg, #3f2fa3 0%, #6a5af5 60%, #9b8dff 100%);
    color: #fff;
    overflow: hidden;
}
.article-card__fallback[data-category="news"] {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(255,255,255,0.18) 0%, transparent 60%),
        linear-gradient(135deg, #1e3a8a 0%, #3f2fa3 55%, #6a5af5 100%);
}
.article-card__fallback[data-category="actions"] {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(255,255,255,0.18) 0%, transparent 60%),
        linear-gradient(135deg, #0f766e 0%, #3f2fa3 60%, #6a5af5 100%);
}
.article-card__fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    opacity: 0.65;
}
.article-card__fallback-mark {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.article-card__fallback-mark i {
    color: #fff;
    font-size: 26px;
}
.article-card__fallback-label {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    font-weight: 800;
}

.article-card__body {
    padding: 1.75rem 1.75rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.article-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-purple);
    background: var(--soft-purple);
    padding: 4px 10px;
    border-radius: 2px;
}
.article-card__date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.article-card__title {
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0.25rem 0 0;
    text-transform: uppercase;
}
.article-card__summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__cta {
    margin-top: auto;
    padding-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-primary);
    border-bottom: 1px solid transparent;
    align-self: flex-start;
}
.article-card:hover .article-card__cta {
    color: var(--accent-purple);
    gap: 0.85rem;
}

/* Bento feature cards — horizontal layout */
.article-card.feature {
    grid-column: span 4;
    flex-direction: row;
    min-height: 360px;
}
.article-card.feature .article-card__media {
    flex: 0 0 52%;
    aspect-ratio: auto;
}
.article-card.feature .article-card__body {
    flex: 1;
    padding: 3rem;
    justify-content: center;
    gap: 1rem;
}
.article-card.feature .article-card__title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    line-height: 1.05;
}
.article-card.feature .article-card__summary {
    -webkit-line-clamp: 2;
    font-size: 1.05rem;
}
@media (max-width: 900px) {
    .article-card.feature { grid-column: span 2; flex-direction: column; }
    .article-card.feature .article-card__media { flex: 1 1 auto; aspect-ratio: 16/10; }
    .article-card.feature .article-card__body { padding: 1.75rem; }
}
@media (max-width: 560px) {
    .article-card.feature { grid-column: span 1; }
}

/* Timeline wrapper */
.archive-timeline {
    position: relative;
    padding-left: 2rem;
}
@media (max-width: 900px) {
    .archive-timeline { padding-left: 0; }
}

/* Loading state */
.archive-loading {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Load more button */
.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 1rem 2.5rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.load-more-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: var(--accent-purple);
}

/* Supporters carousel */
.supporters-carousel {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.supporters-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 45s linear infinite;
}
.supporters-track:hover { animation-play-state: paused; }
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* News carousel */
.news-carousel {
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    overflow: hidden;
}
.news-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scrollNews 40s linear infinite;
}
.news-carousel-track:hover { animation-play-state: paused; }
@keyframes scrollNews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.news-card {
    flex-shrink: 0;
    width: 380px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border: 1px solid var(--border-hairline);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(21, 21, 21, 0.15);
}

/* Pull quote / editorial accents */
.editorial-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-hairline);
}

/* Voice / A11y mic */
.mic-active {
    background-color: #fef2f2 !important;
    border: 2px solid #b91c1c !important;
    color: #b91c1c !important;
}

/* Focus visible */
*:focus-visible {
    outline: 3px solid var(--accent-purple) !important;
    outline-offset: 3px !important;
}

/* Footer */
.footer-main {
    background: var(--text-primary);
    color: rgba(255,255,255,0.75);
    position: relative;
}
.footer-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}
.footer-link { color: rgba(255,255,255,0.55); transition: color 0.2s ease; }
.footer-link:hover { color: #fff; }
.section-divider { height: 1px; background: rgba(255,255,255,0.08); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 6.5rem;
    right: 1.5rem;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--text-primary);
    color: #fff;
    padding: 0.85rem;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(21, 21, 21, 0.25);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent-purple); }

/* A11y toggle */
#simasia-a11y-toggle {
    background: var(--accent-purple) !important;
}
#simasia-a11y-toggle:hover { background: var(--hover-purple) !important; }

@media (max-width: 580px) {
    #simasia-a11y-toggle {
        width: 44px !important;
        height: 44px !important;
        padding: 4px !important;
        bottom: 1rem !important;
        right: 1rem !important;
    }

    #simasia-a11y-panel {
        bottom: 5.25rem !important;
        right: 1rem !important;
        width: min(20rem, calc(100vw - 2rem)) !important;
    }

    /* Chatbot launcher — compact circle (matches a11y button) */
    .chatbot-bubble {
        bottom: 1rem !important;
        left: 1rem !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .chatbot-bubble .bubble-text {
        display: none !important;
    }

    .chatbot-bubble .bot-icon-img {
        width: 34px !important;
        height: 34px !important;
    }

    .chatbot-bubble .bubble-content {
        gap: 0 !important;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
}

/* Prestige member / card effects */
.member-card { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid var(--border-hairline); background: #fff; }
.member-card:hover { transform: translateY(-8px); border-color: var(--accent-purple); box-shadow: 0 25px 50px -12px rgba(21, 21, 21, 0.15); }

/* Tab system */
.tab-content { display: none; opacity: 0; transition: opacity 0.4s ease; }
.tab-content.active { display: block; opacity: 1; }
.tab-btn.active {
    background-color: var(--accent-purple);
    color: white !important;
    border-color: var(--accent-purple);
    box-shadow: 0 10px 15px -3px rgba(63, 47, 163, 0.25);
}

/* Stat counter */
.stat-number { font-variant-numeric: tabular-nums; color: var(--accent-purple); }

/* Utility */
.text-accent { color: var(--accent-purple); }
.bg-soft-purple { background: var(--soft-purple); }

/* ===========================================
   HOME — LATEST HIGHLIGHTS CAROUSEL (peek + modulo)
   =========================================== */
.home-highlights-section {
    position: relative;
}

.home-highlights-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.75rem 0 1.25rem;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

/* Instant reposition after infinite-loop wrap: no slide/card transitions (avoids flash) */
.home-highlights-viewport.home-highlights--instant-snap .home-highlight-slide,
.home-highlights-viewport.home-highlights--instant-snap .home-highlight-card {
    transition: none !important;
}

.home-highlights-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-highlight-slide {
    flex: 0 0 auto;
    width: min(72vw, 520px);
    max-width: 100%;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-highlight-slide--inactive {
    opacity: 0.78;
    transform: scale(0.96);
    filter: saturate(0.94);
}

.home-highlight-slide--active {
    opacity: 1;
    transform: scale(1);
    filter: none;
    z-index: 1;
}

.home-highlight-card {
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #faf8ff 100%);
    border: 1px solid rgba(63, 47, 163, 0.12);
    border-radius: 1.25rem;
    box-shadow:
        0 4px 6px -1px rgba(21, 21, 21, 0.06),
        0 20px 40px -12px rgba(63, 47, 163, 0.12);
    padding: 1.5rem 1.5rem 1.75rem;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (min-width: 768px) {
    .home-highlight-card {
        padding: 2rem 2.25rem 2.25rem;
    }
}

.home-highlight-slide--active .home-highlight-card {
    box-shadow:
        0 8px 16px -4px rgba(21, 21, 21, 0.08),
        0 28px 56px -16px rgba(63, 47, 163, 0.2);
    border-color: rgba(63, 47, 163, 0.22);
}

.home-highlights-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.home-highlights-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--lilac) 100%);
    box-shadow: 0 4px 14px rgba(63, 47, 163, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.home-highlights-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(63, 47, 163, 0.4);
}

.home-highlights-nav-btn:active {
    transform: translateY(0);
}

.home-highlights-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.home-highlights-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-hairline);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(21, 21, 21, 0.05);
}

.home-highlights-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    border: none;
    padding: 0;
    cursor: pointer;
    background: #cbd5e1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.home-highlights-dot:hover {
    background: #94a3b8;
}

.home-highlights-dot.is-active {
    background: var(--accent-purple);
    transform: scale(1.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .news-carousel-track, .announcement-track, .supporters-track, .forbes-hero__media { animation: none !important; }
    .home-highlights-track { transition: none !important; }
    .home-highlight-slide { transition: none !important; }
}

/* ===========================================
   FEATURE BAND — SECONDARY EDITORIAL IMAGE
   =========================================== */
.feature-band {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    background: #151515;
    display: flex;
    align-items: center;
    margin: 0;
}
.feature-band__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    
    z-index: 1;
    transform: scale(1.02);
    transition: transform 14s ease-out;
}
.feature-band:hover .feature-band__bg { transform: scale(1.08); }
.feature-band__overlay {
    position: absolute; inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(21,21,21,0.85) 0%, rgba(21,21,21,0.55) 45%, rgba(21,21,21,0.1) 75%, rgba(21,21,21,0.35) 100%),
        linear-gradient(180deg, rgba(63,47,163,0.15) 0%, transparent 60%);
}
.feature-band__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    color: #fff;
}
.feature-band__kicker {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #d9d0ff;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 1.25rem;
}
.feature-band__title {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 900;
    text-transform: none;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 22ch;
    margin: 0 0 1.25rem;
    text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.feature-band__lede {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    max-width: 52ch;
    font-weight: 400;
}
.feature-band__frame {
    position: absolute;
    inset: 1.25rem;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;
    z-index: 3;
}
@media (max-width: 700px) {
    .feature-band { min-height: 420px; }
    .feature-band__frame { inset: 0.75rem; }
}

/* Force member images to stay fully colourful on about.html */
.member-card img { filter: none !important; }

/* News hero — gradient-only editorial variant */
.prestige-header--news { background: #0b0b1a; }
.prestige-header--news .prestige-header__bg {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(138, 110, 255, 0.5) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 10%, rgba(236, 72, 153, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 90%, rgba(34, 211, 238, 0.32) 0%, transparent 50%),
        linear-gradient(135deg, #1a103f 0%, #3f2fa3 55%, #6a5af5 100%);
    opacity: 1;
}
.prestige-header--news::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    opacity: 0.6;
    pointer-events: none;
}

/* Colorful supporters */
.supporters-track img { filter: none !important; opacity: 0.9; transition: opacity 0.35s ease, transform 0.35s ease; }
.supporters-track img:hover { opacity: 1; transform: scale(1.05); }

/* Feature cards in bento: bigger, better image analysis */
.article-card.feature .article-card__media {
    min-height: 360px;
}

/* ===========================================
   INDEX — "Ο ΡΟΛΟΣ ΤΗΣ ΠΟΑμΣΚΠ" SECTION
   Image integrated step-by-step with copy
   =========================================== */
.role-section {
    background:
        radial-gradient(ellipse at 85% 10%, rgba(63, 47, 163, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
    border-bottom: 1px solid var(--border-hairline);
    color: var(--text-primary);
}
.role-copy { color: var(--text-primary); }
.role-kicker {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-purple);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-hairline);
    margin-bottom: 1.5rem;
}
.role-title {
    color: var(--text-primary);
    line-height: 1;
}
.role-lede {
    color: var(--text-secondary);
    max-width: 48ch;
}
.role-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: rolesteps;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}
.role-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(180deg, var(--accent-purple) 0%, var(--lilac) 100%);
    opacity: 0.3;
}
.role-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
}
.role-steps__num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-purple);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.1em;
    box-shadow: 0 6px 20px rgba(63, 47, 163, 0.25);
    position: relative;
    z-index: 1;
}
.role-steps li > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
}
.role-steps__title {
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-primary);
}
.role-steps__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
}
.role-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.role-figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 30px 60px -20px rgba(21, 21, 21, 0.35), 0 10px 30px -10px rgba(63, 47, 163, 0.2);
    background: #151515;
}
.role-figure__img {
    display: block;
    width: 100%;
    height: clamp(340px, 48vw, 560px);
    object-fit: cover;
    
    transform: scale(1.02);
    transition: transform 1.2s ease-out, filter 0.6s ease;
}
.role-figure:hover .role-figure__img { transform: scale(1.07); }
.role-figure::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(21,21,21,0) 55%, rgba(21,21,21,0.75) 100%);
}
.role-figure__caption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}
.role-figure__badge {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    background: var(--accent-purple);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border-radius: 2px;
}
.role-figure__text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
}
.role-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--text-primary);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.role-cta:hover { background: var(--accent-purple); transform: translateY(-2px); }
.role-cta__label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lilac);
    border-right: 1px solid rgba(255,255,255,0.2);
    padding-right: 1.25rem;
}
.role-cta:hover .role-cta__label { color: #fff; }
.role-cta__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.role-cta__arrow {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .role-cta { grid-template-columns: 1fr; gap: 0.5rem; }
    .role-cta__label { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 0.5rem; }
}

/* High-contrast overrides — ensure role section stays legible */
body.wag-contrast .role-section,
body.wag-contrast .role-copy,
body.wag-contrast .role-visual { background-color: #0b0b0b !important; color: #ffffff !important; }
body.wag-contrast .role-title,
body.wag-contrast .role-lede,
body.wag-contrast .role-steps__title,
body.wag-contrast .role-steps__desc,
body.wag-contrast .role-figure__text,
body.wag-contrast .role-cta__title,
body.wag-contrast .role-cta__arrow { color: #ffffff !important; }
body.wag-contrast .role-kicker,
body.wag-contrast .role-cta__label { color: #b8acff !important; }
body.wag-contrast .role-steps__num,
body.wag-contrast .role-figure__badge { background: #b8acff !important; color: #0b0b0b !important; }
body.wag-contrast .role-cta { background: #1a1a1a !important; border: 1px solid #333 !important; }
body.wag-contrast .role-figure { background: #0b0b0b !important; border: 1px solid #262626 !important; }

/* High-contrast overrides — prestige header (sub-page heroes) */
body.wag-contrast .prestige-header,
body.wag-contrast .prestige-header__inner { background-color: #0b0b0b !important; }
body.wag-contrast .prestige-header h1,
body.wag-contrast .prestige-header__lede,
body.wag-contrast .prestige-header__crumbs { color: #ffffff !important; }
body.wag-contrast .prestige-header__crumbs a { color: #b8acff !important; }

/* Board of Directors — about page */
.board-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--soft-purple) 100%);
    border-bottom: 1px solid var(--border-hairline);
}
.board-section .max-w-7xl {
    max-width: 80rem;
}
.board-section__header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}
.board-section__kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}
.board-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.board-section__sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 500;
}
.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 520px) {
    .board-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
    .board-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
@media (min-width: 1280px) {
    .board-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.board-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-hairline);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.board-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}
.board-card__media {
    aspect-ratio: 1 / 1;
    max-height: 200px;
    overflow: hidden;
    background: var(--soft-purple);
}
.board-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease;
}
.board-card:hover .board-card__media img { transform: scale(1.04); }
.board-card__body {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.board-card__role {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 0.2rem;
}
.board-card__name {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.board-card__subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}
.board-card__bio {
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
}
.board-card__bio p { margin-bottom: 0.5rem; }
.board-card__bio p:last-child { margin-bottom: 0; }
.board-bio-short {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.board-bio-more-btn {
    margin-top: 0.65rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: transparent;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.board-bio-more-btn:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
body.wag-contrast .board-card {
    background: #0b0b0b !important;
    border-color: #333 !important;
}
body.wag-contrast .board-card__name,
body.wag-contrast .board-section__title { color: #fff !important; }
body.wag-contrast .board-card__bio,
body.wag-contrast .board-section__sub { color: #d4d4d4 !important; }

/* Board bio popup */
.board-bio-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.board-bio-overlay[hidden],
.board-bio-modal[hidden] { display: none !important; }
.board-bio-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 201;
    width: min(820px, 94vw);
    max-height: min(88vh, 640px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-hairline);
    border-radius: 1.25rem;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    padding: 0;
}
.board-bio-modal__layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: min(88vh, 640px);
}
@media (min-width: 560px) {
    .board-bio-modal__layout {
        flex-direction: row;
        align-items: stretch;
    }
}
.board-bio-modal__media {
    flex-shrink: 0;
    background: var(--soft-purple);
    overflow: hidden;
}
@media (max-width: 559px) {
    .board-bio-modal__media {
        width: 100%;
        max-height: 200px;
        aspect-ratio: 4 / 3;
    }
}
@media (min-width: 560px) {
    .board-bio-modal__media {
        width: min(240px, 34%);
        min-width: 200px;
        border-radius: 1.25rem 0 0 1.25rem;
    }
}
.board-bio-modal__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
}
@media (min-width: 560px) {
    .board-bio-modal__media img {
        object-position: center top;
    }
}
.board-bio-modal__content {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 1.15rem 1.25rem 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
@media (min-width: 560px) {
    .board-bio-modal__content {
        padding: 1.35rem 1.5rem 1.35rem;
    }
}
.board-bio-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.board-bio-modal__close:hover { color: #1d4ed8; background: #e0e7ff; }
.board-bio-modal__role {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 0.35rem;
    padding-right: 2.25rem;
}
.board-bio-modal__name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.3rem;
    padding-right: 1.5rem;
}
@media (min-width: 560px) {
    .board-bio-modal__name { font-size: 1.35rem; }
}
.board-bio-modal__subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 0.85rem;
}
.board-bio-modal__body {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--text-secondary);
    flex: 1;
}
@media (min-width: 560px) {
    .board-bio-modal__body { font-size: 0.875rem; line-height: 1.7; }
}
.board-bio-modal__body p { margin-bottom: 0.65rem; }
.board-bio-modal__body p:last-child { margin-bottom: 0; }
.board-bio-modal__close-btn {
    margin-top: 1rem;
    flex-shrink: 0;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: transparent;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.board-bio-modal__close-btn:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
body.wag-contrast .board-bio-modal {
    background: #0b0b0b !important;
    border-color: #333 !important;
}
body.wag-contrast .board-bio-modal__name { color: #fff !important; }
body.wag-contrast .board-bio-modal__body { color: #d4d4d4 !important; }
