/* =========================================================
   The AI POV — Main Theme Stylesheet
   ========================================================= */

/* ── CSS Custom Properties ─────────────────────────────── */
/* ── Google Fonts Import ──────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

:root {
    /* Brand palette */
    --color-orange:      #F79B72;
    --color-orange-dark: #e8804f;
    --color-navy:        #2A4759;   /* dark panel body */
    --color-navy-deep:   #1e3347;   /* dark panel header */
    --color-darkblue:    #30364F;   /* cream panel header / text on cream */
    --color-slate:       #ACBAC4;   /* muted text on dark */
    --color-cream:       #E1D9BC;   /* body text on dark */
    --color-cream-light: #F0F0DB;   /* cream panel bg / text on dark header */
    --color-grey:        #DDDDDD;
    --color-grey-light:  #EEEEEE;
    --color-white:       #FFFFFF;
    --color-text:        #0f172a;
    --color-text-muted:  #64748b;
    --color-text-light:  #94a3b8;
    --color-border:      #DDDDDD;   /* unified to brand grey */
    --color-surface:     #F0F0DB;   /* cream-light as default surface */

    /* Semantic panel tokens — used site-wide */
    --panel-dark-header:  #1e3347;
    --panel-dark-body:    #2A4759;
    --panel-dark-text:    #E1D9BC;
    --panel-dark-accent:  #F79B72;
    --panel-dark-muted:   #ACBAC4;
    --panel-dark-border:  #F79B72;

    --panel-light-header: #30364F;
    --panel-light-body:   #F0F0DB;
    --panel-light-text:   #30364F;
    --panel-light-muted:  #64748b;
    --panel-light-border: #DDDDDD;

    /* Fonts */
    --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'Courier New', monospace;

    --max-width:     1240px;
    --article-width: 760px;
    --sidebar-width: 310px;
    --gap:           28px;

    --header-height: 60px;
    --radius:        0;
    --radius-lg:     0;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:     0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:     0 12px 32px rgba(0,0,0,.14);
    --transition:    0.18s ease;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-cream-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-orange); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-darkblue);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-content { padding-top: calc(var(--header-height) + 20px); }

.content-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
    gap: var(--gap);
    align-items: start;
}

@media (max-width: 900px) {
    .content-area { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}

/* ── Site Header ─────────────────────────────────────────── */
/*
   Two-row header:
   Row 1 (header-inner):  logo | search | hamburger
   Row 2 (primary-nav):   horizontal scrollable nav strip
*/

:root {
    --header-top-height: 52px;
    --header-nav-height: 38px;
    --header-height: calc(var(--header-top-height) + var(--header-nav-height));
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-darkblue);
    box-shadow: var(--shadow-md);
}

/* Row 1 — logo + search + hamburger */
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    height: var(--header-top-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-logo {
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-ui);
    font-size: 19px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
}
.logo-text span { color: var(--color-orange); }

.logo-tagline {
    display: block;
    font-family: var(--font-ui);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-slate);
    margin-top: 2px;
    line-height: 1;
}

/* Search */
.header-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 260px;
    margin-left: auto;
}
.header-search input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--color-white);
    padding: 6px 11px;
    font-size: 12px;
    font-family: var(--font-ui);
    width: 100%;
    transition: background var(--transition), border-color var(--transition);
}
.header-search input:focus {
    outline: none;
    background: rgba(255,255,255,0.13);
    border-color: var(--color-orange);
}
.header-search input::placeholder { color: var(--color-slate); }
.header-search button {
    flex-shrink: 0;
    background: var(--color-orange);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.header-search button:hover { background: var(--color-orange-dark); }

/* Hamburger — desktop and mobile, always on right */
.nav-hamburger {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    padding: 0;
    transition: border-color var(--transition), background var(--transition);
}
.nav-hamburger:hover,
.nav-hamburger[aria-expanded="true"] {
    border-color: var(--color-orange);
    background: rgba(247,155,114,0.1);
}
.hamburger-bar {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--color-white);
    transition: transform var(--transition), opacity var(--transition), width var(--transition);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Row 2 — nav strip */
.primary-nav {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.nav-strip {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    height: var(--header-nav-height);
    /* Hide scrollbar cross-browser */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-strip::-webkit-scrollbar { display: none; }

.nav-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: var(--color-slate);
    font-family: var(--font-ui);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 11px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
    height: 100%;
}
.nav-item:hover,
.nav-item.current {
    color: var(--color-white);
    border-bottom-color: var(--color-orange);
}
.nav-breaking {
    color: var(--color-orange) !important;
    border-right: 1px solid rgba(255,255,255,0.1);
    margin-right: 4px;
    padding-right: 14px;
}
.nav-breaking:hover { color: var(--color-white) !important; }

/* ── Entity Mega-menu ────────────────────────────────────── */
.entity-mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--panel-dark-header);
    border-top: 2px solid var(--color-orange);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    /* hidden state */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.entity-mega-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 16px;
}

.mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    background: var(--panel-dark-header);
    z-index: 1;
}

.mega-title {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-orange);
}

.mega-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    padding: 0;
}
.mega-close:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: white;
}

/* Borderless table layout — columns auto-fill, no visible cell borders */
.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    padding: 12px 0 4px;
}

.mega-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 10px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-item:hover,
.mega-item.current {
    color: var(--color-orange);
    background: rgba(247,155,114,0.08);
}
.mega-item-count {
    font-size: 9px;
    font-weight: 400;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

/* ── Mobile adjustments ──────────────────────────────────── */
@media (max-width: 640px) {
    :root {
        --header-top-height: 48px;
        --header-nav-height: 36px;
    }

    .header-search {
        max-width: 130px;
    }
    .header-search input {
        font-size: 11px;
        padding: 5px 8px;
    }

    .nav-item {
        font-size: 10px;
        padding: 0 9px;
    }

    /* Mega menu goes full-screen on mobile */
    .entity-mega-menu {
        top: var(--header-height);
        bottom: 0;
        max-height: none;
        overflow-y: auto;
    }

    .mega-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* Legacy .menu-toggle — hidden, replaced by .nav-hamburger */
.menu-toggle { display: none !important; }

/* ── Breaking News Ticker ────────────────────────────────── */
.breaking-ticker {
    background: var(--panel-dark-body);
    color: var(--panel-dark-text);
    padding: 7px 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid var(--color-orange);
}

.ticker-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticker-label {
    background: var(--color-orange);
    color: white;
    padding: 2px 10px;
    border-radius: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex-shrink: 0;
}

.ticker-track {
    overflow: hidden;
    flex: 1;
}

.ticker-items {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-items a { color: white; }
.ticker-items a:hover { text-decoration: underline; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════
   Homepage & Archive Layouts — image-free, text-first
   ══════════════════════════════════════════════════════════ */

/* ── Shared card atoms ────────────────────────────────────── */
.card-cat-tag {
    display: inline-block;
    background: var(--color-orange);
    color: white;
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 7px;
    line-height: 1.6;
}

.card-date {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--panel-dark-muted);
    font-weight: 400;
}

.card-desk {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    color: var(--panel-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-readmore {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.3px;
}

/* ── Lead section (homepage top) ──────────────────────────── */
.lead-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
    margin-bottom: 40px;
    border: 2px solid var(--color-darkblue);
}

@media (max-width: 900px) {
    .lead-section { grid-template-columns: 1fr; }
}

.lead-card {
    display: block;
    text-decoration: none;
    background: var(--panel-dark-body);
    border-right: 2px solid var(--color-darkblue);
    transition: background var(--transition);
}
.lead-card:hover { background: var(--panel-dark-header); }

.lead-card-inner {
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 260px;
}

.lead-card-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-card-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 700;
    color: var(--panel-dark-text);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin: 0;
}

.lead-card-excerpt {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--panel-dark-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.lead-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.sub-cards {
    display: flex;
    flex-direction: column;
    background: var(--panel-light-body);
}

.sub-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-grey);
    background: var(--panel-light-body);
    transition: background var(--transition);
    flex: 1;
}
.sub-card:last-child { border-bottom: none; }
.sub-card:hover { background: var(--color-grey-light); }

.sub-card-title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--panel-light-text);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
}
.sub-card:hover .sub-card-title { color: var(--color-orange); }

/* ── Section header ───────────────────────────────────────── */
.category-section { margin-bottom: 44px; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--color-darkblue);
    padding-bottom: 8px;
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    color: var(--color-darkblue);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
}

.section-more {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.3px;
}

/* ── Category section grid ────────────────────────────────── */
.cat-section-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 0;
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

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

.cat-lead-card {
    display: block;
    text-decoration: none;
    background: var(--panel-dark-body);
    border-right: 2px solid var(--color-darkblue);
    transition: background var(--transition);
}
.cat-lead-card:hover { background: var(--panel-dark-header); }

.cat-lead-card-inner {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 160px;
}

.cat-lead-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--panel-dark-text);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.02em;
}
.cat-lead-card:hover .cat-lead-title { color: var(--color-orange); }

.cat-lead-excerpt {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--panel-dark-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cat-list {
    display: flex;
    flex-direction: column;
    background: var(--panel-light-body);
}

.cat-list-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-grey);
    text-decoration: none;
    transition: background var(--transition);
    flex: 1;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { background: var(--color-grey-light); }

.cat-list-title {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--panel-light-text);
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.cat-list-item:hover .cat-list-title { color: var(--color-orange); }

/* ── News river ───────────────────────────────────────────── */
.news-river {
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

.river-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 4px;
    align-items: start;
    padding: 16px 20px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    background: var(--panel-light-body);
    transition: background var(--transition);
}
.river-item:last-child { border-bottom: none; }
.river-item:nth-child(even) { background: var(--color-grey-light); }
.river-item:hover { background: var(--color-grey); }

.river-item-meta {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.river-item-title {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
    color: var(--panel-light-text);
    line-height: 1.38;
    margin: 0;
    letter-spacing: -0.01em;
}
.river-item:hover .river-item-title { color: var(--color-orange); }

.river-item-excerpt {
    grid-column: 1 / -1;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 4px 0 0;
}

.river-item-desk {
    grid-column: 2;
    grid-row: 1 / 3;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    color: var(--panel-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    align-self: center;
    border-left: 2px solid var(--color-border);
    padding-left: 14px;
}

.river-item--archive .river-item-title { font-size: 17px; }
.river-item--archive { padding: 20px 24px; }

/* ── Archive header ───────────────────────────────────────── */
.archive-header {
    background: var(--panel-dark-body);
    padding: 24px 28px;
    margin-bottom: 0;
    border-bottom: 3px solid var(--color-orange);
}

.archive-label {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-orange);
    display: block;
    margin-bottom: 8px;
}

.archive-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--panel-dark-text);
    margin: 0 0 6px;
    letter-spacing: -0.025em;
}

.archive-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--panel-dark-muted);
    margin: 0;
    line-height: 1.6;
}

.archive-empty {
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-family: var(--font-ui);
    font-size: 14px;
    text-align: center;
    background: var(--panel-light-body);
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

/* ── Sidebar items ────────────────────────────────────────── */
.sidebar-news-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
}
.sidebar-news-item:last-child { border-bottom: none; }
.sidebar-news-title {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-darkblue);
    line-height: 1.4;
}
.sidebar-news-item:hover .sidebar-news-title { color: var(--color-orange); }

/* ── article-card: used for related posts on single.php ───── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0;
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

.article-card {
    border-right: 1px solid var(--color-darkblue);
    border-bottom: 1px solid var(--color-darkblue);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--panel-light-body);
    display: block;
    transition: background var(--transition);
}
.article-card:last-child { border-right: none; }
.article-card:hover { background: var(--color-grey-light); }

.article-card-body { padding: 16px; }

.article-card-category {
    font-size: 9px;
    font-weight: 800;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
    display: block;
}

.article-card-title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--panel-light-text);
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.article-card:hover .article-card-title { color: var(--color-orange); }
.article-card-meta { font-size: 11px; color: var(--color-text-muted); }

/* ── Single Article Page ─────────────────────────────────── */
.article-wrap {
    max-width: var(--article-width);
    margin: 0 auto;
    padding: 0 0 60px;
}

/* Category tag above headline */
.article-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-orange);
    color: white;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0;
    margin-bottom: 16px;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: background var(--transition);
}

.article-category-tag:hover { background: var(--color-orange-dark); color: white; }

/* H1 */
.article-headline {
    font-size: clamp(28px, 4.5vw, 44px);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-darkblue);
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

/* Byline bar */
.article-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.byline-desk a {
    font-weight: 600;
    color: var(--color-navy);
}

.byline-sep { color: var(--color-border); font-size: 16px; line-height: 1; }
.byline-date { color: var(--color-text-muted); }

.byline-reading-time {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 500;
}

.byline-ai-badge {
    background: var(--color-navy);
    color: #c8d8e3;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.byline-source strong { color: var(--color-darkblue); }

/* ── Info Cards (AI POV + Quick Summary) ─────────────────── */
.article-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 32px;
    border: 2px solid var(--color-darkblue);
}

@media (max-width: 640px) {
    .article-cards-row {
        grid-template-columns: 1fr;
    }
    .article-cards-row .info-card + .info-card {
        border-top: 2px solid var(--color-darkblue);
        border-left: none;
    }
}

.info-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
}

/* Divider between the two cards on desktop */
.article-cards-row .info-card + .info-card {
    border-left: 2px solid var(--color-darkblue);
}

/* ── Card header strip ─── */
.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-bottom: 2px solid rgba(0,0,0,0.15);
}

.info-card-header .card-icon {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    border: 1px solid currentColor;
    padding: 2px 4px;
    opacity: 0.85;
}

.info-card-header .card-label {
    line-height: 1;
}

/* ── Card body ─── */
.info-card-body {
    padding: 16px 18px;
    flex: 1;
}

/* ══ AI POV card ═══════════════════════════════════════════ */
.ai-pov-card {
    background: #2A4759;
}

.ai-pov-card .info-card-header {
    background: #1e3347;
    color: #F79B72;
    border-bottom-color: #F79B72;
}

.ai-pov-card .info-card-body {
    background: #2A4759;
}

.ai-pov-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #ACBAC4;
    margin-bottom: 10px;
}

.ai-pov-text {
    color: #E1D9BC;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.75;
    margin: 0;
}

/* ══ Summary card ══════════════════════════════════════════ */
.summary-card {
    background: #F0F0DB;
}

.summary-card .info-card-header {
    background: #30364F;
    color: #F0F0DB;
    border-bottom-color: #F0F0DB;
}

.summary-card .info-card-body {
    background: #F0F0DB;
}

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

.summary-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 0;
    color: #30364F;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    border-bottom: 1px solid #DDDDDD;
}

.summary-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #30364F;
    color: #F0F0DB;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    line-height: 1;
}

/* ── Featured Image ───────────────────────────────────────── */
.article-featured-image {
    margin-bottom: 32px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.article-featured-image figcaption {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 8px 14px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    letter-spacing: 0.2px;
}

/* Op-Ed Disclaimer */
.oped-disclaimer {
    background: #fffbf0;
    border-left: 4px solid var(--color-orange);
    padding: 14px 18px;
    margin-bottom: 28px;
    border-radius: 0;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ── Article Body ─────────────────────────────────────────── */
.article-body {
    font-family: var(--font-body);
    font-size: 17.5px;
    line-height: 1.8;
    color: var(--color-text);
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 700;
    margin: 2em 0 0.85em;
    color: var(--color-darkblue);
    letter-spacing: -0.02em;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-orange);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    margin: 1.6em 0 0.7em;
    color: var(--color-navy);
}

.article-body ul, .article-body ol {
    margin: 1em 0 1.5em 26px;
}

.article-body li { margin-bottom: 0.5em; line-height: 1.65; }

.article-body blockquote {
    border-left: 4px solid var(--color-orange);
    margin: 1.8em 0;
    padding: 16px 22px;
    background: #fdfaf3;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-navy);
    font-size: 18px;
    line-height: 1.7;
}

.article-body a {
    color: var(--color-navy);
    text-decoration: underline;
    text-decoration-color: rgba(42,71,89,0.35);
    text-underline-offset: 2px;
    transition: color var(--transition), text-decoration-color var(--transition);
}

.article-body a:hover {
    color: var(--color-orange);
    text-decoration-color: var(--color-orange);
}

.article-body strong { color: var(--color-darkblue); font-weight: 600; }

/* ── YouTube Embed ────────────────────────────────────────── */
.article-video-section {
    margin: 36px 0;
}

.article-video-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.tcr-video-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    background: #000;
}

.tcr-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.tcr-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tcr-video-embed figcaption {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 9px 14px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

/* ── Article Footer ───────────────────────────────────────── */
.article-footer {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 2px solid var(--color-border);
}

.article-disclaimer {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-family: var(--font-ui);
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

.article-sources { margin-bottom: 20px; }

.article-sources h4 {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.sources-list { list-style: none; }
.sources-list li { margin-bottom: 7px; }

.sources-list a {
    color: var(--color-navy);
    font-family: var(--font-ui);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
    text-decoration-color: rgba(42,71,89,0.3);
    text-underline-offset: 2px;
}

.sources-list a:hover { color: var(--color-orange); }

.sources-list a::before {
    content: '↗';
    flex-shrink: 0;
    font-size: 11px;
}

/* ── Entity Tags ──────────────────────────────────────────── */
.article-entity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.entity-tag {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-navy);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition);
}

.entity-tag:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: white;
}

/* ── Related Articles ─────────────────────────────────────── */
.related-articles { margin-top: 44px; }

.related-articles h3 {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-darkblue);
    border-bottom: 3px solid var(--color-darkblue);
    padding-bottom: 8px;
    margin-bottom: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

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

/* Article card thumbnail — fixed aspect ratio, never distorts */
.article-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center top;
    background: var(--color-grey-light);
    /* Prevent oversized external images from breaking layout */
    max-height: 180px;
}

/* ── No-image watermark placeholder ─────────────────────────
   Used wherever a thumbnail would appear but no image exists.
   Shows a dark panel with "The AI POV" branded watermark.
   ─────────────────────────────────────────────────────────── */

/* Shared watermark base */
.article-card-no-img,
.sidebar-article-thumb-placeholder {
    position: relative;
    overflow: hidden;
    background: var(--panel-dark-header);
    border-bottom: 2px solid var(--color-orange);
}

/* Diagonal hatching via repeating-linear-gradient */
.article-card-no-img::before,
.sidebar-article-thumb-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(247,155,114,0.04) 6px,
        rgba(247,155,114,0.04) 7px
    );
}

/* "The AI POV" watermark text — centred and rotated */
.article-card-no-img::after,
.sidebar-article-thumb-placeholder::after {
    content: 'The AI POV';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(247,155,114,0.35);
    transform: rotate(-20deg);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* ── Large card placeholder (related articles, article-grid) ── */
.article-card-no-img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 180px;
}

/* Scale font to the larger slot */
.article-card-no-img::after {
    font-size: clamp(11px, 2.5vw, 16px);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar { position: sticky; top: calc(var(--header-height) + 20px); }

.sidebar-widget {
    border: 2px solid var(--color-darkblue);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--panel-light-body);
}

.widget-title {
    background: var(--panel-dark-header);
    color: white;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 14px;
    margin: 0;
    border-bottom: 2px solid var(--color-orange);
}

.widget-body { padding: 12px 14px; }

/* Flush variant — no padding, items touch edges */
.widget-body--flush { padding: 0; }

/* ── Sidebar article item with thumbnail ─────────────────── */
.sidebar-article-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}
.sidebar-article-item:last-child { border-bottom: none; }
.sidebar-article-item:hover { background: var(--color-grey-light); }

/* Thumbnail — fixed 80×54, never distorts */
.sidebar-article-thumb {
    width: 80px;
    height: 54px;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    display: block;
    background: var(--color-grey-light);
}

/* ── Small sidebar thumbnail placeholder ──────────────────── */
.sidebar-article-thumb-placeholder {
    width: 80px;
    height: 54px;
    flex-shrink: 0;
    display: block;
}

/* Smaller font for the tight 80×54 slot */
.sidebar-article-thumb-placeholder::after {
    font-size: 7px;
    letter-spacing: 0.04em;
    transform: rotate(-20deg);
}

.sidebar-article-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sidebar-article-item .sidebar-news-title {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--panel-light-text);
    line-height: 1.4;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-article-item:hover .sidebar-news-title { color: var(--color-orange); }

/* Entity sidebar list */
.entity-list { list-style: none; }

.entity-list li {
    border-bottom: 1px solid var(--color-grey-light);
    padding: 8px 0;
}

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

.entity-list a {
    font-size: 14px;
    color: var(--color-navy);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entity-list a:hover { color: var(--color-orange); }

.entity-count {
    font-size: 11px;
    background: var(--color-grey-light);
    padding: 2px 7px;
    border-radius: 10px;
    color: var(--color-text-muted);
    font-weight: 400;
}

/* ── Entity Archive Page ─────────────────────────────────── */
.entity-hero {
    background: var(--color-darkblue);
    color: white;
    padding: 32px 0;
    margin-bottom: 32px;
}

.entity-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.entity-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-orange);
    flex-shrink: 0;
}

.entity-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-navy);
    border: 3px solid var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--color-slate);
    flex-shrink: 0;
}

.entity-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-orange);
    margin-bottom: 6px;
}

.entity-name { font-size: 32px; color: white; margin-bottom: 8px; }

.entity-description { font-size: 14px; color: var(--color-slate); line-height: 1.6; max-width: 600px; }

.entity-meta { margin-top: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.entity-meta a { color: var(--color-cream-light); font-size: 13px; text-decoration: underline; }

.entity-meta a:hover { color: var(--color-orange); }

.entity-meta-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--color-slate);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.entity-also-known {
    font-size: 12px;
    color: var(--color-slate);
    font-style: italic;
    margin-bottom: 6px;
}

.entity-edit-link {
    font-size: 11px;
    color: var(--color-orange) !important;
    text-decoration: none !important;
    opacity: 0.8;
}

.entity-editorial-content {
    background: var(--color-cream-lighter);
    border-left: 4px solid var(--color-orange);
    padding: 20px 24px;
    margin-bottom: 28px;
    border-radius: 0 4px 4px 0;
    font-size: 15px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   Desks Page
   ══════════════════════════════════════════════════════════ */

.desks-page { padding-bottom: 60px; }

/* Page header */
.desks-page-header {
    background: var(--panel-dark-body);
    border-bottom: 3px solid var(--color-orange);
    margin-bottom: 0;
}

.desks-page-header-inner {
    padding: 32px 28px 20px;
}

.desks-page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--panel-dark-text);
    margin: 8px 0 12px;
    letter-spacing: -0.03em;
}

.desks-page-intro {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--panel-dark-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0;
}

/* Stats row */
.desks-stats-row {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.desk-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
    gap: 3px;
}
.desk-stat-chip:last-child { border-right: none; }

.desk-stat-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
}

.desk-stat-label {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--panel-dark-muted);
}

/* Desk grid */
.desks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0;
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

/* Individual desk card */
.desk-card {
    display: flex;
    flex-direction: column;
    border-right: 2px solid var(--color-darkblue);
    border-bottom: 2px solid var(--color-darkblue);
    overflow: hidden;
}
.desk-card:nth-child(2n) { border-right: none; }

/* Card header — dark */
.desk-card-header {
    background: var(--panel-dark-header);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid var(--color-orange);
}

.desk-initials {
    width: 44px;
    height: 44px;
    background: var(--color-orange);
    color: white;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.desk-card-header-text { flex: 1; min-width: 0; }

.desk-name {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
    color: var(--panel-dark-text);
    margin: 0 0 3px;
    letter-spacing: -0.01em;
}

.desk-name a {
    color: var(--panel-dark-text);
    text-decoration: none;
    transition: color var(--transition);
}
.desk-name a:hover { color: var(--color-orange); }

.desk-article-count {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    color: var(--panel-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card body — cream */
.desk-card-body {
    background: var(--panel-light-body);
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--color-grey);
}

.desk-bio {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--panel-light-text);
    line-height: 1.65;
    margin: 0 0 12px;
}

/* Coverage tags */
.desk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.desk-tag {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-darkblue);
    background: var(--color-grey-light);
    border: 1px solid var(--color-grey);
    padding: 2px 7px;
}

/* Recent articles */
.desk-recent {
    background: var(--panel-light-body);
    flex: 1;
}

.desk-recent-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-text-muted);
    padding: 10px 20px 6px;
    border-bottom: 1px solid var(--color-border);
}

.desk-recent-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    transition: background var(--transition);
}
.desk-recent-item:last-child { border-bottom: none; }
.desk-recent-item:hover { background: var(--color-grey-light); }

.desk-recent-title {
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--panel-light-text);
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.desk-recent-item:hover .desk-recent-title { color: var(--color-orange); }

.desk-recent-meta {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Card footer */
.desk-card-footer {
    background: var(--panel-dark-body);
    padding: 11px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}

.desk-all-link {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-orange);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}
.desk-all-link:hover { color: white; }

/* Editorial standards section */
.desks-standards {
    margin-top: 0;
    border: 2px solid var(--color-darkblue);
    border-top: none;
}

.desks-standards-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .desks-standards-inner { grid-template-columns: 1fr; }
    .desks-grid { grid-template-columns: 1fr; }
    .desk-card { border-right: none; }
    .desks-stats-row { flex-wrap: wrap; }
}

.desks-standards-text {
    background: var(--panel-light-body);
    padding: 28px 28px;
    border-right: 2px solid var(--color-darkblue);
}

.desks-standards-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--panel-light-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.desks-standards-text p {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 12px;
}
.desks-standards-text p:last-child { margin-bottom: 0; }
.desks-standards-text a { color: var(--color-orange); }

.desks-standards-pillars {
    background: var(--panel-dark-body);
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pillar {
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
}

.pillar-icon {
    grid-row: 1 / 3;
    font-size: 13px;
    color: var(--color-orange);
    font-weight: 700;
    margin-top: 2px;
}

.pillar-label {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    color: var(--panel-dark-text);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pillar-desc {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--panel-dark-muted);
    line-height: 1.5;
}

/* ── Static Page (About, Contact, Privacy, etc.) ─────────── */
.static-page-body {
    background: var(--panel-light-body);
    border: 2px solid var(--color-darkblue);
    border-top: none;
    padding: 32px 36px;
}

.static-page-body .article-body h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-darkblue);
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-orange);
    letter-spacing: -0.02em;
}
.static-page-body .article-body h2:first-child { margin-top: 0; }

.static-page-body .article-body h3 {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-darkblue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 22px 0 8px;
}

.static-page-body .article-body p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.75;
    margin: 0 0 14px;
}

.static-page-body .article-body ul,
.static-page-body .article-body ol {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0 0 16px;
    padding-left: 22px;
}

.static-page-body .article-body li { margin-bottom: 6px; }

.static-page-body .article-body a {
    color: var(--color-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.static-page-body .article-body a:hover { color: var(--color-orange-dark); }

.static-page-body .article-body strong { color: var(--color-darkblue); font-weight: 700; }

/* ── Search Page ─────────────────────────────────────────── */
.search-header { margin-bottom: 24px; }
.search-term { color: var(--color-orange); }

/* ── 404 Page ────────────────────────────────────────────── */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 .error-code { font-size: 100px; color: var(--color-orange); font-weight: 700; line-height: 1; }
.error-404 h2 { font-size: 28px; margin-bottom: 16px; }
.error-404 p { color: var(--color-text-muted); margin-bottom: 24px; }
.error-404 a.button {
    display: inline-block;
    background: var(--color-orange);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: background var(--transition);
}
.error-404 a.button:hover { background: var(--color-orange-dark); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 36px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-grey);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    transition: all var(--transition);
}

.pagination a:hover { background: var(--color-orange); border-color: var(--color-orange); color: white; }
.pagination .current { background: var(--color-darkblue); border-color: var(--color-darkblue); color: white; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--color-darkblue);
    color: var(--color-slate);
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

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

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
}

.footer-brand .logo-text { font-size: 24px; }
.footer-brand .logo-text span { color: var(--color-orange); }
.footer-tagline { font-size: 13px; color: var(--color-slate); margin-top: 8px; line-height: 1.5; }

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-cream-light);
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 8px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 13px; color: var(--color-slate); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--color-orange); }

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--color-slate);
    line-height: 1.6;
    max-width: 700px;
}

.footer-disclaimer a { color: var(--color-cream-light); text-decoration: underline; }

.footer-copyright { font-size: 12px; color: var(--color-slate); white-space: nowrap; }

/* ── Utilities ───────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ── Version 2: Dynamic News Architecture ── */

:root {
    --border-thin: 1px solid rgba(48, 54, 79, 0.15);
    --border-thick: 2px solid var(--color-darkblue);
    --bg-accent-dark: #1e3347; /* Navy Deep */
}

/* Base Layout Container */
.news-grid-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Layout 1: Hero Tetris (Lead + 3 Stacked) ── */
.layout-hero-tetris {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    margin-bottom: 60px;
}

.tetris-lead {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: var(--border-thick);
    padding: 30px;
    background: var(--panel-dark-body);
    transition: background 0.2s;
    color: var(--panel-dark-text);
}
.tetris-lead:hover { background: var(--panel-dark-header); }

.tetris-lead .news-row-title { color: var(--color-orange); }
.tetris-lead .hero-excerpt { color: var(--panel-dark-muted); }
.tetris-lead .tetris-lead-title { color: var(--panel-dark-text); margin-top: 10px; }

.tetris-lead-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 20px;
}

.tetris-lead-title {
    font-size: clamp(24px, 3.5vw, 38px);
    line-height: 1.1;
    color: var(--color-darkblue);
    margin-bottom: 15px;
}

.tetris-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tetris-side-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding-bottom: 15px;
    border-bottom: var(--border-thin);
}
.tetris-side-item:last-child { border-bottom: none; }

.tetris-side-thumb {
    width: 110px;
    height: 74px;
    object-fit: cover;
}

.tetris-side-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-darkblue);
}

/* ── Layout 2: Equal Four-Column ── */
.layout-four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    padding-top: 30px;
    border-top: var(--border-thick);
}

.four-grid-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    min-height: 280px;
}

.four-grid-card.no-img-box {
    background: var(--panel-dark-body);
    padding: 30px;
    justify-content: center;
    border: var(--border-thin);
}

.four-grid-card.no-img-box .four-grid-title {
    font-size: 22px;
    text-align: center;
    color: var(--color-orange);
    margin: 0;
}

.four-grid-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 12px;
}

.four-grid-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-darkblue);
}

/* ── Layout 3: Dark Mode Accent Row ── */
.layout-dark-accent {
    background: var(--bg-accent-dark);
    margin: 60px calc(-50vw + 50%);
    width: 100vw;
    padding: 60px 0;
    color: white;
}

.dark-accent-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.dark-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.dark-card-title {
    font-size: 20px;
    color: var(--color-orange);
    margin-bottom: 10px;
    line-height: 1.25;
}

.dark-card-excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ── Layout 4: Big + Listicle ── */
.layout-big-listicle {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

.big-feat-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: var(--border-thin);
    padding: 30px;
    height: 100%;
}

.big-feat-img {
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
    margin-bottom: 20px;
}

.big-feat-title {
    font-size: 28px;
    color: var(--color-darkblue);
}

.listicle-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: space-between;
}

.listicle-item {
    padding: 15px 0;
    border-bottom: var(--border-thin);
    text-decoration: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.listicle-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-orange);
    opacity: 0.3;
    line-height: 1;
}

.listicle-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-darkblue);
    line-height: 1.3;
}

/* ── Layout 5: Two-Column Simple Listicle ── */
.layout-simple-listicle-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.simple-list-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
    border-bottom: var(--border-thin);
    text-decoration: none;
}

.simple-list-date {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-orange);
    margin-bottom: 5px;
}

.simple-list-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-darkblue);
    line-height: 1.35;
}

/* Shared Row Headers */
.news-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}
.news-row-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange);
    font-weight: 800;
}

/* ── Single Post Suggestions & Headlines ── */
.entity-suggestions-v2 {
    margin: 60px 0;
    padding: 40px;
    background: var(--color-cream);
    border-left: 6px solid var(--color-darkblue);
}

.suggest-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 25px;
}

.suggest-v2-card {
    text-decoration: none;
}

.suggest-v2-title {
    font-size: 16px;
    color: var(--color-darkblue);
    font-weight: 700;
    line-height: 1.3;
}

.full-width-headlines {
    margin-top: 80px;
    background: var(--color-white);
    padding: 60px 0;
    border-top: var(--border-thick);
}

.headlines-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.headline-item-v2 {
    text-decoration: none;
}

.headline-item-v2 span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--color-orange);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.headline-item-v2 h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-darkblue);
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .headlines-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .dark-accent-inner { grid-template-columns: 1fr 1fr; }
    .layout-hero-tetris { grid-template-columns: 1fr; }
    .layout-big-listicle { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .layout-four-grid { grid-template-columns: 1fr 1fr; }
    .headlines-grid-5 { grid-template-columns: 1fr 1fr; }
    .suggest-v2-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .layout-four-grid { grid-template-columns: 1fr; }
    .headlines-grid-5 { grid-template-columns: 1fr; }
    .dark-accent-inner { grid-template-columns: 1fr; }
}
