/* ============================================================
   GOLF NEWS DAILY – SCREEN STYLES
   ============================================================ */

/* === ATG DESIGN TOKENS (--atg- prefix) ===================== */
:root {
    /* Backgrounds */
    --atg-color-bg-base:        #f5f0e8;
    --atg-color-bg-surface:     #ffffff;
    --atg-color-bg-tint:        #edeae1;
    --atg-color-bg-dark:        #0f172a;

    /* Text */
    --atg-color-text-primary:   #1c1c1e;
    --atg-color-text-secondary: #374151;
    --atg-color-text-muted:     #6b7280;

    /* Pine green — primary accent */
    --atg-color-accent-pine:      #1a5c2e;
    --atg-color-accent-pine-dark: #133f1f;
    --atg-color-accent-pine-soft: #e5f2e9;

    /* Brass — micro-details only (rules, separators) */
    --atg-color-accent-brass:       #9a7d3a;
    --atg-color-accent-brass-light: #c4a55a;

    /* Borders */
    --atg-color-border:        #ddd6c8;
    --atg-color-border-strong: #c9bfb0;

    /* Elevation */
    --atg-shadow-card:  0 1px 3px rgba(15,23,42,.05), 0 1px 2px rgba(15,23,42,.04);
    --atg-shadow-hover: 0 6px 20px rgba(15,23,42,.09), 0 2px 6px rgba(15,23,42,.05);

    /* Spacing */
    --atg-space-section: 64px;
    --atg-space-module:  32px;

    /* Layout */
    --atg-radius-card: 10px;
    --atg-radius-sm:   6px;
    --atg-radius-pill: 999px;
    --atg-site-max:    1260px;
    --atg-article-max: 800px;
    --atg-rail-width:  340px;

    /* Typography */
    --atg-font-sans:  Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --atg-font-head:  "Barlow Condensed", var(--atg-font-sans);
    --atg-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

    /* ── Backward-compat aliases (all existing CSS keeps working) ── */
    --bg:           var(--atg-color-bg-base);
    --surface:      var(--atg-color-bg-surface);
    --surface-alt:  var(--atg-color-bg-tint);
    --text:         var(--atg-color-text-primary);
    --muted:        var(--atg-color-text-muted);
    --border:       var(--atg-color-border);
    --accent:       var(--atg-color-accent-pine);
    --accent-dark:  var(--atg-color-accent-pine-dark);
    --accent-soft:  var(--atg-color-accent-pine-soft);
    --gold:         var(--atg-color-accent-brass);
    --shadow:       var(--atg-shadow-card);
    --shadow-hover: var(--atg-shadow-hover);
    --font-body:    var(--atg-font-sans);
    --font-head:    var(--atg-font-head);
    --font-serif:   var(--atg-font-serif);
    --radius:       var(--atg-radius-card);
    --radius-sm:    var(--atg-radius-sm);
    --site-max:     var(--atg-site-max);
}

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

html, body { margin: 0; padding: 0; }

body.site-body {
    font-family: var(--gh-font-body, var(--atg-font-sans));
    background: var(--atg-color-bg-base);
    color: var(--atg-color-text-primary);
    font-size: 17px;
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === UTILITIES ============================================= */
.hidden { display: none !important; }

.site-main { min-height: 68vh; }

.site-container {
    width: min(var(--site-max), calc(100% - 2rem));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1rem;
}
.skip-link:focus { left: 0; }

.eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--accent);
}

.subtle {
    font-size: 0.9rem;
    color: var(--muted);
}

/* === CHIPS + TOPIC PILLS =================================== */
.chip,
.topic-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 120ms, border-color 120ms, color 120ms;
}

.chip-accent {
    border-color: color-mix(in srgb, var(--accent) 30%, white);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-pill:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.topic-pill[aria-current="page"],
.tag-topic-pill--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Topics row with "Browse topics" label */
.home-topics-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem;
}

.home-topics-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
    color: var(--muted);
    white-space: nowrap;
}

/* === BUTTONS =============================================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.65rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(42, 112, 48, 0.22);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
    border-color: var(--border);
    background: #fff;
    color: var(--text);
}

.btn-ghost {
    border-color: var(--border);
    background: #fff;
    color: #1f2937;
}

.btn-tight { padding: 0.5rem 1rem; }
.btn-large { padding: 0.75rem 1.25rem; }

/* === SECTION HEAD ========================================== */
.section-head {
    margin: var(--atg-space-module) 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--atg-color-border);
    position: relative;
}

.section-head::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--atg-color-accent-brass);
    border-radius: 1px;
}

.section-head h2,
.section-head h3 {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* === TOP RAIL ============================================== */
.site-top-rail {
    height: 4px;
    background: linear-gradient(90deg, #1a4d20, #2a7030 60%, #5aad5a);
}

/* === HEADER ================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: #fff;
    border-bottom: 1px solid rgba(224, 216, 204, 0.85);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.site-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.site-brand-icon { font-size: 1.9rem; color: var(--accent); }

.site-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.site-brand-text {
    font-family: var(--font-head);
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.primary-nav ul,
.mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav ul { display: flex; gap: 1.1rem; }

.primary-nav a,
.mobile-nav a {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #334155;
    transition: color 120ms;
}

.primary-nav a:hover,
.mobile-nav a:hover { color: var(--accent); }

.primary-nav .nav-current a { color: var(--accent-dark); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.header-search {
    display: inline-flex;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 120ms, color 120ms;
}
.header-search:hover {
    background: var(--surface-alt);
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #334155;
    padding: 0.4rem;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background: #fff;
}

.site-tagline {
    margin: 0;
    padding: 0 0 0.65rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.site-header--centered .site-header-inner { justify-content: center; }
.site-header--centered .site-brand { margin-right: auto; }
.site-header--left-aligned .site-header-inner { justify-content: space-between; }

.mobile-menu.is-open { display: block; }

.mobile-menu-inner { padding: 1rem 0 1.2rem; }

.mobile-nav ul { display: grid; gap: 0.75rem; }

.mobile-menu-actions {
    margin-top: 1rem;
    display: grid;
    gap: 0.65rem;
}

.mobile-action-link {
    font-weight: 700;
    color: var(--muted);
}

/* === FOOTER ================================================ */
.site-footer {
    margin-top: 0;
    padding: 1.9rem 0 1.1rem;
    background: #09130f;
    color: rgba(204, 221, 212, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(200, 228, 210, 0.08);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand-icon { font-size: 1.8rem; }

.footer-brand-text {
    font-family: var(--font-head);
    font-size: 1.18rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-copy {
    margin: 0.7rem 0 0.9rem;
    max-width: 34ch;
    color: rgba(204, 221, 212, 0.48);
    font-size: 0.84rem;
    line-height: 1.55;
}

.footer-heading {
    margin: 0 0 0.65rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(204, 221, 212, 0.4);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    color: rgba(204, 221, 212, 0.72);
    font-size: 0.84rem;
    transition: color 120ms;
}
.footer-links a:hover { color: #fff; }

.footer-social {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-social a,
.footer-bottom a { color: rgba(204, 221, 212, 0.62); }

.footer-bottom {
    padding-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.76rem;
    color: rgba(204, 221, 212, 0.38);
}

.footer-bottom nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(204, 221, 212, 0.56);
    transition: color 120ms;
}
.footer-bottom a:hover { color: #fff; }

/* === HOME: HERO =========================================== */
.home-hero {
    position: relative;
    min-height: 520px;
    background: #0f172a;
}

.home-hero-image,
.home-hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-image { object-fit: cover; }

.home-hero-fallback {
    background: radial-gradient(circle at 40% 25%, #36526c, #111827 68%);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 14, 7, 0.04) 0%, rgba(5, 18, 9, 0.72) 72%);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 8.5rem;
    padding-bottom: 3rem;
    color: #fff;
}

.home-hero-title {
    margin: 0.6rem 0;
    max-width: 20ch;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(1.9rem, 4.5vw, 3.6rem);
    line-height: 0.97;
}
.home-hero-title a { color: inherit; }

.home-hero-dek {
    max-width: 52ch;
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.55;
}

.home-hero-meta {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.86rem;
    margin-bottom: 1.1rem;
}

/* === HOME: LEAD + RAIL ===================================== */
.home-lead-rail {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 1rem;
    align-items: start;
}

/* Keep legacy home-lead-grid working */
.home-lead-grid {
    margin-top: -3.2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* === LEAD CARD ============================================= */
.lead-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.lead-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.lead-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.lead-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}
.lead-card:hover .lead-card-media img { transform: scale(1.03); }

.lead-card-content { padding: 1rem 1.1rem 1.1rem; }

.lead-card-title {
    margin: 0.5rem 0 0.35rem;
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    line-height: 1.06;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lead-card-title a { color: inherit; }
.lead-card-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.lead-card-dek {
    margin: 0 0 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lead-card-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

/* === HOME RAIL (Top Stories) =============================== */
.home-rail {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.home-rail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent);
}

.home-rail-heading {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-rail-item {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.65rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.home-rail-item:last-child { border-bottom: 0; padding-bottom: 0; }
.home-rail-item:hover .home-rail-title {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.home-rail-num {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--accent) 30%, var(--atg-color-text-muted));
    line-height: 1.6;
    text-align: right;
    letter-spacing: 0.02em;
}

.home-rail-copy { display: flex; flex-direction: column; gap: 0.15rem; }

.home-rail-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-rail-meta {
    font-size: 0.75rem;
    color: var(--muted);
}

/* === FEED GRID ============================================= */
.home-feed-grid,
.archive-grid,
.post-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

/* === FEED CARD ============================================= */
.feed-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.feed-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.feed-card-link {
    display: grid;
    height: 100%;
}

.feed-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #1f2937;
    overflow: hidden;
}

.feed-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}
.feed-card:hover .feed-card-image { transform: scale(1.04); }

.feed-card-no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #cbd5e1;
}

/* Read overlay — hover only */
.feed-card-read {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}
.feed-card:hover .feed-card-read { opacity: 1; }

.feed-card-content {
    padding: 0.85rem 0.9rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Category chip inside card */
.feed-card-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--accent) 25%, white);
    align-self: flex-start;
    line-height: 1.4;
}

.feed-card-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.15rem;
    line-height: 1.1;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feed-card:hover .feed-card-title {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.feed-card-excerpt {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card-meta {
    font-size: 0.79rem;
    color: var(--muted);
    display: flex;
    gap: 0.35rem;
    align-items: center;
    margin-top: auto;
}

/* Skeleton loading */
.feed-card-skeleton { pointer-events: none; }

.skeleton-block,
.skeleton-line {
    background: linear-gradient(90deg, #eff3f8, #e3e9f2 40%, #eff3f8 80%);
    background-size: 250% 100%;
    animation: shimmer 1.4s ease infinite;
}
.skeleton-block { aspect-ratio: 16 / 9; }
.skeleton-line {
    height: 10px;
    border-radius: 999px;
    margin-top: 0.7rem;
}
.skeleton-line.short  { width: 42%; }
.skeleton-line.medium { width: 62%; }
.skeleton-line.long   { width: 88%; }

@keyframes shimmer {
    from { background-position: 100% 0; }
    to   { background-position: -100% 0; }
}

/* End-of-feed panel */
.feed-end-panel {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 0.5rem;
}
.feed-end-headline {
    margin: 0 0 0.4rem;
    font-family: var(--font-head);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
}
.feed-end-sub {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: 0.95rem;
}
.feed-end-actions {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.feed-end-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    transition: border-color 120ms, background 120ms, color 120ms;
}
.feed-end-btn:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-dark);
}
.feed-end-btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.feed-end-btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

/* === HOME: UTILITY MODULE ================================== */
.home-explore {
    margin: 2rem 0 0;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--border);
}

.home-explore-inner {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.home-explore-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 2rem;
}

.home-explore-col-heading {
    margin: 0 0 0.85rem;
    font-family: var(--font-head);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent);
}

/* Trending ranked list */
.trending-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
    counter-reset: trending;
}

.trending-item {
    counter-increment: trending;
    display: grid;
    grid-template-columns: 1.4rem 1fr;
    gap: 0.5rem;
    align-items: start;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: 0; padding-bottom: 0; }

.trending-item::before {
    content: counter(trending);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: color-mix(in srgb, var(--accent) 45%, var(--border));
    line-height: 1.3;
    text-align: right;
}

.trending-item a {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 120ms;
}
.trending-item a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Browse topics in utility module */
.home-explore-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

/* Daily Brief card */
.daily-brief-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.daily-brief-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Legacy explore card */
.home-explore-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}
.home-explore-card h3,
.post-related h3,
.archive-header h1,
.post-title,
.page-header h1,
.hub-hero h1,
.error-content h1 {
    margin: 0 0 0.65rem;
    font-family: var(--gh-font-heading, var(--font-head));
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.home-explore-card h3,
.post-related h3 { font-size: 1.35rem; }

.home-explore-card ol {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.55rem;
}

.home-explore-card-accent {
    background: #15213a;
    color: #f8fafc;
}

/* === ARCHIVE / TAG PAGES ================================== */
.archive-shell,
.page-shell,
.post-shell { padding-top: 1.5rem; }

.archive-header,
.page-header {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.archive-header-author { display: flex; align-items: center; }

.author-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
}

.author-location { margin: 0.3rem 0 0; color: var(--muted); }

.archive-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.86rem;
    margin-top: 0.4rem;
}

.archive-topic-nav { margin: 1rem 0; }

/* "Browse topics" row on archive pages */
.archive-topics-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.archive-layout,
.post-layout,
.hub-layout {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
}

.archive-pagination { margin-top: 1rem; }

.empty-state {
    grid-column: 1 / -1;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.archive-side,
.hub-side,
.post-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.sidebar-module,
.sidebar-newsletter,
.hub-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

.sidebar-module h3,
.hub-panel h3 {
    margin-top: 0;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 1.05rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 0.5rem;
}

.sidebar-module ol,
.sidebar-module ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
}

.sidebar-module li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    display: grid;
    gap: 0.15rem;
}
.sidebar-module li:last-child { border-bottom: 0; padding-bottom: 0; }

.sidebar-module li a {
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color 120ms;
}
.sidebar-module li a:hover { color: var(--accent-dark); }

.sidebar-module li time {
    font-size: 0.76rem;
    color: var(--muted);
}

/* === POST ================================================== */
.post-header { max-width: 840px; }

.breadcrumb {
    margin: 0 0 0.9rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--muted);
}

.post-title {
    font-size: clamp(1.9rem, 4.8vw, 3.4rem);
    line-height: 0.97;
}

.post-dek {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.post-meta {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.86rem;
    color: var(--muted);
}

.post-share-row {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.post-feature { margin-top: 1rem; }

.post-feature-image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.post-feature figcaption {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.post-body {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 1.4rem 1.6rem;
}

.article-prose {
    font-size: 1.05rem;
    line-height: 1.75;
}

.article-prose h1,
.article-prose h2,
.article-prose h3,
.article-prose h4 {
    font-family: var(--gh-font-heading, var(--font-serif));
    line-height: 1.2;
}

.article-prose p,
.article-prose li { color: #1f2937; }

.article-prose img,
.article-prose figure { margin: 1rem 0; }

.article-prose figure img { border-radius: var(--radius-sm); }

.kg-width-wide {
    width: min(1000px, calc(100vw - 2rem));
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-full {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.article-prose blockquote {
    margin: 1.2rem 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.post-tags-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--muted);
}

.post-related,
.post-newsletter-module { margin-top: 1rem; }

.post-newsletter-module {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-alt);
    padding: 1.4rem;
}

/* === PAGES ================================================= */
.page-container { max-width: 880px; }
.page-header-centered { text-align: center; }
.page-header p { margin: 0; color: var(--muted); }

.page-content {
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 1.2rem;
}

.page-about-container .about-content {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius);
    padding: 1rem;
}

.about-divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1.2rem 0;
}

.about-follow-ctas { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.about-feature {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    background: var(--surface-alt);
}

.about-newsletter {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    padding: 1rem;
}

/* === SUBSCRIBE PAGE ======================================= */
.subscribe-page {
    max-width: 700px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    background: #fff;
}

.subscribe-icon { font-size: 3.6rem; color: var(--accent); }

.subscribe-page h1 {
    margin: 0.4rem 0 0.7rem;
    font-family: var(--font-head);
    text-transform: uppercase;
}

.subscribe-lede {
    max-width: 54ch;
    margin: 0 auto 1rem;
    color: var(--muted);
}

.subscribe-follow {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.subscribe-follow-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* === CONTACT PAGE ========================================= */
.contact-page { max-width: 780px; }
.contact-page-intro { margin: 1rem 0; }

.contact-form-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    background: #fff;
}

.contact-form { display: grid; gap: 0.9rem; }
.contact-submit { justify-self: start; }

.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-weight: 700; }

.form-field input,
.form-field textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.8rem;
    font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 45%, white);
    border-color: var(--accent);
}

.message-box {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}
.message-error { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; }
.message-success { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; }

/* === HUB PAGES ============================================ */
.hub-page { padding-top: 1.5rem; }

.hub-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

.hub-avatar {
    width: 112px;
    height: 112px;
    border-radius: 999px;
    object-fit: cover;
}

.hub-avatar-fallback {
    display: grid;
    place-items: center;
    background: var(--surface-alt);
    color: #9ca3af;
}

.hub-cover {
    width: 100%;
    min-height: 220px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.hub-cover-fallback {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}

.hub-hero-tournament { grid-template-columns: 1fr; }
.hub-hero-copy h1 { margin: 0.3rem 0; }
.hub-hero-copy p { margin: 0; color: var(--muted); }

.hub-panel-accent { background: var(--accent-soft); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.stat-tile {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.55rem;
    text-align: center;
}

.stat-tile strong { display: block; font-size: 1.4rem; color: var(--accent-dark); }
.stat-tile span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.hub-post-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 0.65rem;
    margin-bottom: 0.7rem;
}

.hub-post-image {
    width: 102px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
}

.hub-post-copy h3 { margin: 0.35rem 0; font-size: 1rem; }
.hub-post-copy p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* === PAGINATION =========================================== */
.pagination {
    margin: 1.4rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.pagination-link { color: var(--accent-dark); font-weight: 700; }

#infinite-scroll-sentinel { min-height: 20px; }

#infinite-scroll-loading,
#infinite-scroll-error {
    text-align: center;
    color: var(--muted);
    padding: 0.8rem;
}

/* === ERROR PAGES ========================================== */
.error-shell { padding-top: 2rem; }

.error-content,
.error-categories,
.error-recent {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
}

.error-recent ul { margin: 0; padding-left: 1.1rem; }

/* === ADS ================================================== */
.ad-zone {
    border: 1px dashed #b6c3d7;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    text-align: center;
    padding: 0.65rem;
}

.ad-label {
    margin: 0;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
}

.ad-placeholder { margin-top: 0.45rem; color: #475569; font-size: 0.85rem; }

.ad-placeholder-tall {
    min-height: 560px;
    display: grid;
    place-items: center;
}

/* === RESPONSIVE =========================================== */
@media (max-width: 1024px) {
    .primary-nav,
    .header-search,
    .header-actions .btn { display: none; }

    .mobile-menu-toggle { display: inline-flex; }

    .home-feed-grid,
    .archive-grid,
    .post-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .archive-layout,
    .post-layout,
    .hub-layout { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .home-explore-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .home-hero { min-height: 460px; }
    .home-hero-content { padding-top: 6.5rem; }

    .home-lead-rail,
    .home-lead-grid,
    .home-feed-grid,
    .archive-grid,
    .post-related-grid,
    .about-features,
    .stats-grid { grid-template-columns: 1fr; }

    .home-explore-grid { grid-template-columns: 1fr; }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hub-hero { grid-template-columns: 1fr; }
}

/* ============================================================
   NEW COMPONENTS — ATG UPGRADE
   ============================================================ */

/* === NEWSROOM BAR ========================================= */
.newsroom-bar {
    background: var(--atg-color-bg-surface);
    border-bottom: 1px solid var(--atg-color-border);
    padding: 0.45rem 0;
    font-size: 0.78rem;
}

.newsroom-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.newsroom-bar-time { color: var(--atg-color-text-muted); }
.newsroom-bar-time strong {
    color: var(--atg-color-text-primary);
    font-weight: 600;
}

.newsroom-bar-brief {
    margin-left: auto;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
    letter-spacing: 0.04em;
    transition: color 120ms;
}
.newsroom-bar-brief:hover { color: var(--atg-color-accent-pine-dark); }

/* === UTILITY STRIP ======================================== */
.utility-strip { margin: 1.5rem 0; }

.utility-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.utility-module {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    padding: 0.85rem 1rem;
    box-shadow: var(--atg-shadow-card);
}

.utility-module-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--atg-color-border);
}

.utility-module-label {
    font-family: var(--atg-font-head);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--atg-color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.utility-module-label::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--atg-color-accent-pine);
    border-radius: 2px;
    flex-shrink: 0;
}

.utility-module-link {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
    transition: color 120ms;
}
.utility-module-link:hover { color: var(--atg-color-accent-pine-dark); }

.utility-module-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
}

.utility-module-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: baseline;
    padding: 0.38rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--atg-color-border) 55%, transparent);
}
.utility-module-item:last-child { border-bottom: 0; padding-bottom: 0; }

.utility-module-item a {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--atg-color-text-primary);
    line-height: 1.35;
    transition: color 120ms;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.utility-module-item a:hover { color: var(--atg-color-accent-pine); }

.utility-module-item-time {
    font-size: 0.7rem;
    color: var(--atg-color-text-muted);
    white-space: nowrap;
    text-align: right;
}

.utility-module-empty {
    margin: 0;
    font-size: 0.84rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
}

/* === KEY TAKEAWAYS ======================================== */
.key-takeaways {
    margin: 1.25rem 0 1.5rem;
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    background: var(--atg-color-bg-surface);
    overflow: hidden;
}

.key-takeaways-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--atg-color-bg-tint);
    border-bottom: 1px solid var(--atg-color-border);
}

.key-takeaways-icon {
    color: var(--atg-color-accent-pine);
    font-size: 0.9rem;
    line-height: 1;
}

.key-takeaways-label {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-text-primary);
}

.key-takeaways-body {
    padding: 0.85rem 1rem;
}

.key-takeaways-body p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.62;
    color: var(--atg-color-text-secondary);
}

/* === SOURCES BOX ========================================== */
.sources-box {
    margin: 1.75rem 0 0;
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    background: var(--atg-color-bg-surface);
    overflow: hidden;
}

.sources-box-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--atg-color-bg-tint);
    border-bottom: 1px solid var(--atg-color-border);
}

.sources-box-label {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-text-secondary);
}

.sources-box-body { padding: 0.75rem 1rem; }

.sources-box-note {
    margin: 0;
    font-size: 0.83rem;
    color: var(--atg-color-text-muted);
    line-height: 1.55;
}

.sources-box-note a {
    color: var(--atg-color-accent-pine);
    font-weight: 600;
}
.sources-box-note a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* === READING PROGRESS BAR ================================= */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--atg-color-accent-pine),
        color-mix(in srgb, var(--atg-color-accent-pine) 65%, var(--atg-color-accent-brass))
    );
    z-index: 9999;
    transition: width 80ms linear;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

/* === BACK TO TOP ========================================== */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms;
    box-shadow: var(--atg-shadow-card);
    z-index: 50;
    color: var(--atg-color-text-secondary);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    box-shadow: var(--atg-shadow-hover);
    color: var(--atg-color-accent-pine);
}

/* === COPY TOAST =========================================== */
.copy-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--atg-color-text-primary);
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: var(--atg-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 200;
    white-space: nowrap;
}
.copy-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === INLINE NEWSLETTER CTA ================================ */
.newsletter-cta-inline {
    margin: 1.75rem 0;
    padding: 1.25rem 1.4rem;
    background: var(--atg-color-bg-tint);
    border: 1px solid var(--atg-color-border);
    border-left: 3px solid var(--atg-color-accent-pine);
    border-radius: var(--atg-radius-card);
}

.newsletter-cta-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--atg-color-accent-pine);
    margin: 0 0 0.3rem;
}

.newsletter-cta-heading {
    margin: 0 0 0.3rem;
    font-family: var(--atg-font-head);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--atg-color-text-primary);
}

.newsletter-cta-body {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--atg-color-text-muted);
    line-height: 1.55;
}

/* === FEED SORT TABS ======================================= */
.feed-tabs {
    display: flex;
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-pill);
    overflow: hidden;
    background: var(--atg-color-bg-surface);
}

.feed-tab {
    padding: 0.42rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--atg-color-text-muted);
    transition: background 120ms, color 120ms;
    white-space: nowrap;
}
.feed-tab:hover { color: var(--atg-color-text-primary); background: var(--atg-color-bg-tint); }
.feed-tab.active,
.feed-tab[aria-current="page"] {
    background: var(--atg-color-accent-pine);
    color: #fff;
}

/* === CAUGHT UP PANEL ====================================== */
.caught-up-panel {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    margin-top: 1rem;
    display: none;
}
.caught-up-panel.visible { display: block; }

.caught-up-mark {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--atg-color-accent-pine);
}

.caught-up-headline {
    margin: 0 0 0.3rem;
    font-family: var(--atg-font-head);
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--atg-color-text-primary);
}

.caught-up-sub {
    margin: 0 0 1.25rem;
    color: var(--atg-color-text-muted);
    font-size: 0.92rem;
}

.caught-up-actions {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

/* === SECTION FEATURED STORY (tag pages) =================== */
.section-featured-story {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    overflow: hidden;
    box-shadow: var(--atg-shadow-card);
    margin-bottom: 1.5rem;
    transition: box-shadow 160ms ease;
}
.section-featured-story:hover { box-shadow: var(--atg-shadow-hover); }

.section-featured-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.section-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
    display: block;
}
.section-featured-story:hover .section-featured-image img { transform: scale(1.03); }

.section-featured-content { padding: 1rem 1.1rem 1.25rem; }

.section-featured-title {
    margin: 0.5rem 0 0.4rem;
    font-family: var(--atg-font-head);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    text-transform: uppercase;
    line-height: 1.02;
}
.section-featured-title a { color: var(--atg-color-text-primary); }
.section-featured-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.section-featured-dek {
    margin: 0 0 0.5rem;
    color: var(--atg-color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-featured-meta {
    color: var(--atg-color-text-muted);
    font-size: 0.82rem;
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

/* === MICRO-DETAILS ======================================== */
/* Card image vignette on hover */
.feed-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, transparent 40%, rgba(0,0,0,0.14) 100%);
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}
.feed-card:hover .feed-card-media::after { opacity: 1; }

/* Chip/topic-pill letter-spacing */
.chip, .topic-pill { letter-spacing: 0.06em; }

/* Sidebar module — brass accent on headings */
.sidebar-module h3,
.hub-panel h3 {
    position: relative;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--atg-color-border);
    margin-bottom: 0.6rem;
}
.sidebar-module h3::after,
.hub-panel h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 1.5rem;
    height: 2px;
    background: var(--atg-color-accent-brass);
    border-radius: 1px;
}

/* Sidebar module — remove old border-bottom on heading (now handled above) */
.sidebar-module h3 { border-bottom-color: var(--atg-color-border); }

/* === NEWSLETTER LANDING PAGE ============================== */
.newsletter-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.newsletter-hero {
    text-align: center;
    padding: 1.5rem 0 1.75rem;
}

.newsletter-hero-icon {
    font-size: 3rem;
    color: var(--atg-color-accent-pine);
    margin-bottom: 0.75rem;
    display: block;
}

.newsletter-hero h1 {
    font-family: var(--atg-font-head);
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
    color: var(--atg-color-text-primary);
}

.newsletter-hero-sub {
    max-width: 46ch;
    margin: 0 auto 1.5rem;
    color: var(--atg-color-text-muted);
    font-size: 1rem;
    line-height: 1.62;
}

.newsletter-signup-box {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--atg-shadow-card);
}

.newsletter-promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.newsletter-promise-item {
    background: var(--atg-color-bg-tint);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-sm);
    padding: 0.9rem;
    text-align: left;
}

.newsletter-promise-item h3 {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--atg-color-text-primary);
}

.newsletter-promise-item p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--atg-color-text-muted);
    line-height: 1.5;
}

.newsletter-privacy {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--atg-color-text-muted);
}

/* === SEARCH PAGE ========================================== */
.search-page {
    max-width: 840px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.search-hero {
    text-align: center;
    padding: 1rem 0 1.75rem;
}

.search-hero h1 {
    font-family: var(--atg-font-head);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 1rem;
    color: var(--atg-color-text-primary);
}

.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-pill);
    font: inherit;
    font-size: 0.95rem;
    background: var(--atg-color-bg-surface);
    transition: border-color 150ms, box-shadow 150ms;
    color: var(--atg-color-text-primary);
}
.search-input:focus {
    outline: none;
    border-color: var(--atg-color-accent-pine);
    box-shadow: 0 0 0 3px var(--atg-color-accent-pine-soft);
}
.search-input::placeholder { color: var(--atg-color-text-muted); }

.search-submit {
    padding: 0.75rem 1.4rem;
    background: var(--atg-color-accent-pine);
    color: #fff;
    border: none;
    border-radius: var(--atg-radius-pill);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 150ms;
    white-space: nowrap;
}
.search-submit:hover { background: var(--atg-color-accent-pine-dark); }

.search-results { margin-top: 1.75rem; }

.search-results-count {
    font-size: 0.86rem;
    color: var(--atg-color-text-muted);
    margin-bottom: 1rem;
}

.search-result-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--atg-color-border);
}
.search-result-item:last-child { border-bottom: 0; }

.search-result-title {
    margin: 0 0 0.25rem;
    font-family: var(--atg-font-head);
    font-size: 1.15rem;
    text-transform: uppercase;
    line-height: 1.1;
}
.search-result-title a { color: var(--atg-color-text-primary); transition: color 120ms; }
.search-result-title a:hover {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.search-result-excerpt {
    margin: 0;
    font-size: 0.88rem;
    color: var(--atg-color-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    font-size: 0.78rem;
    color: var(--atg-color-text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.35rem;
}

.search-result-thumb {
    width: 100px;
    height: 66px;
    object-fit: cover;
    border-radius: var(--atg-radius-sm);
    border: 1px solid var(--atg-color-border);
    flex-shrink: 0;
    display: block;
}

.search-loading, .search-empty, .search-error {
    text-align: center;
    padding: 2rem;
    color: var(--atg-color-text-muted);
}

.search-popular {
    margin-top: 1.5rem;
    text-align: center;
}

.search-popular-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-text-muted);
    margin-bottom: 0.6rem;
    display: block;
    font-weight: 700;
}

.search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

/* === ARCHIVE DESCRIPTION ================================== */
.archive-description {
    margin: 0.35rem 0 0.6rem;
    color: var(--atg-color-text-muted);
    max-width: 60ch;
    line-height: 1.6;
    font-size: 0.96rem;
}

/* === RESPONSIVE — new components ========================== */
@media (max-width: 900px) {
    .utility-strip-grid { grid-template-columns: 1fr 1fr; }
    .utility-strip-grid > .utility-module:last-child { grid-column: 1 / -1; }
    .newsletter-promise-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .utility-strip-grid { grid-template-columns: 1fr; }
    .utility-strip-grid > .utility-module:last-child { grid-column: auto; }
    .search-form { flex-direction: column; }
    .search-result-thumb { display: none; }
    .search-result-item { grid-template-columns: 1fr; }
    .newsroom-bar-brief { margin-left: 0; }
}

/* === EDITOR'S PICK ======================================= */
.editors-pick { margin: 0 0 var(--atg-space-module); }

.editors-pick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.editors-pick-item {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    overflow: hidden;
    box-shadow: var(--atg-shadow-card);
    transition: box-shadow 160ms ease;
}
.editors-pick-item:hover { box-shadow: var(--atg-shadow-hover); }

/* Lead card spans 2 columns and splits horizontally */
.editors-pick-lead {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.editors-pick-media {
    display: block;
    overflow: hidden;
}
.editors-pick-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}
.editors-pick-item:hover .editors-pick-media img { transform: scale(1.03); }

/* Non-lead media: 16/9 aspect */
.editors-pick-item:not(.editors-pick-lead) .editors-pick-media {
    aspect-ratio: 16 / 9;
}

.editors-pick-content { padding: 0.9rem 1rem 1rem; }

.editors-pick-badge {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--atg-color-accent-brass);
    margin-bottom: 0.35rem;
}

.editors-pick-title {
    margin: 0.35rem 0 0.25rem;
    font-family: var(--atg-font-head);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    text-transform: uppercase;
    line-height: 1.05;
}
.editors-pick-title a { color: var(--atg-color-text-primary); }
.editors-pick-title a:hover {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.editors-pick-dek {
    margin: 0.3rem 0 0.5rem;
    font-size: 0.9rem;
    color: var(--atg-color-text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editors-pick-meta {
    font-size: 0.78rem;
    color: var(--atg-color-text-muted);
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

/* === HEADER SEARCH AUTOCOMPLETE ========================== */
.header-search-wrap { position: relative; }

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 120ms;
    line-height: 0;
}
.header-search-btn:hover { color: var(--atg-color-accent-pine); }

.header-search-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: 320px;
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    box-shadow: var(--atg-shadow-hover);
    z-index: 300;
    overflow: hidden;
}
.header-search-panel[hidden] { display: none; }

.header-search-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: none;
    border-bottom: 1px solid var(--atg-color-border);
    font: inherit;
    font-size: 0.9rem;
    background: transparent;
    color: var(--atg-color-text-primary);
    outline: none;
}
.header-search-input::placeholder { color: var(--atg-color-text-muted); }

.header-autocomplete {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.header-autocomplete-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--atg-color-border);
    cursor: pointer;
    transition: background 100ms;
}
.header-autocomplete-item:last-child { border-bottom: 0; }
.header-autocomplete-item:hover,
.header-autocomplete-item[aria-selected="true"] {
    background: var(--atg-color-bg-tint);
}

.header-autocomplete-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--atg-color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-autocomplete-meta {
    font-size: 0.71rem;
    color: var(--atg-color-text-muted);
    margin-top: 0.1rem;
}

.header-autocomplete-thumb {
    width: 50px;
    height: 34px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--atg-color-border);
    flex-shrink: 0;
    display: block;
}

.header-autocomplete-footer {
    padding: 0.55rem 1rem;
    background: var(--atg-color-bg-tint);
    border-top: 1px solid var(--atg-color-border);
    list-style: none;
}
.header-autocomplete-footer a {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: block;
    text-align: center;
}
.header-autocomplete-footer a:hover { color: var(--atg-color-accent-pine-dark); }

.header-autocomplete-empty,
.header-autocomplete-loading {
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--atg-color-text-muted);
    list-style: none;
}

/* === HUB META LIST (gear/course sidebars) ================ */
.hub-meta-list {
    margin: 0 0 0.75rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 0.75rem;
    font-size: 0.88rem;
}
.hub-meta-list dt {
    font-weight: 700;
    color: var(--atg-color-text-secondary);
    white-space: nowrap;
}
.hub-meta-list dd {
    margin: 0;
    color: var(--atg-color-text-muted);
}

/* === EDITORIAL POLICY PAGE =============================== */
.editorial-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.editorial-hero {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--atg-color-border);
}

.editorial-hero h1 {
    font-family: var(--atg-font-head);
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
    color: var(--atg-color-text-primary);
}

.editorial-hero-sub {
    color: var(--atg-color-text-muted);
    font-size: 1rem;
    max-width: 55ch;
    line-height: 1.65;
    margin: 0;
}

.editorial-ai-notice {
    background: var(--atg-color-accent-pine-soft);
    border: 1px solid color-mix(in srgb, var(--atg-color-accent-pine) 25%, transparent);
    border-radius: var(--atg-radius-card);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.editorial-ai-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.editorial-ai-text {
    font-size: 0.92rem;
    color: var(--atg-color-accent-pine-dark);
    line-height: 1.62;
}
.editorial-ai-text strong { font-weight: 700; }

.editorial-section {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    padding: 1.1rem 1.4rem;
    margin-bottom: 0.85rem;
}

.editorial-section h2 {
    font-family: var(--atg-font-head);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 0.55rem;
    color: var(--atg-color-accent-pine);
}

.editorial-section p,
.editorial-section ul {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--atg-color-text-secondary);
}
.editorial-section ul { padding-left: 1.4rem; }
.editorial-section li { margin-bottom: 0.3rem; }
.editorial-section a {
    color: var(--atg-color-accent-pine);
    font-weight: 600;
}
.editorial-section a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* === RESPONSIVE — new components ========================= */
@media (max-width: 900px) {
    .editors-pick-grid { grid-template-columns: 1fr 1fr; }
    .editors-pick-lead { grid-column: span 2; grid-template-columns: 1fr; }
    .editors-pick-lead .editors-pick-media { aspect-ratio: 16 / 9; }
    .header-search-panel { width: 280px; }
}

@media (max-width: 640px) {
    .editors-pick-grid { grid-template-columns: 1fr; }
    .editors-pick-lead { grid-column: auto; grid-template-columns: 1fr; }
    .editors-pick-lead .editors-pick-media { aspect-ratio: 16 / 9; }
    .header-search-panel { width: calc(100vw - 2rem); right: -0.5rem; }
}

/* ============================================================
   POLISH SPRINT — focused refinements
   ============================================================ */

/* Hero CTA row — editorial sizing, anchored in content block */
.home-hero-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.home-hero-actions .btn {
    padding: 0.52rem 1.1rem;
    font-size: 0.76rem;
}

/* Hero meta spacing */
.home-hero-meta { margin-bottom: 0.85rem; }

/* Topics row — pills only, no label, tighter gap */
.home-topics-row {
    margin: 0.6rem 0 1rem;
}

/* Feed card excerpt line-height polish */
.feed-card-excerpt { line-height: 1.52; }

/* Utility module fallback empty state */
.utility-module-fallback-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--atg-color-text-muted);
    margin-bottom: 0.35rem;
}

/* Feed card no-image — fairway-stripe texture */
.feed-card-no-image {
    background:
        repeating-linear-gradient(
            180deg,
            rgba(0,0,0,0) 0px,
            rgba(0,0,0,0) 14px,
            rgba(0,0,0,0.055) 14px,
            rgba(0,0,0,0.055) 28px
        ),
        linear-gradient(170deg, #1e6e38 0%, #1a5c2e 50%, #133f1f 100%);
    color: rgba(255,255,255,0.25);
    font-size: 1.6rem;
}

/* Section head — slightly more compact rule line */
.section-head {
    margin: 1.75rem 0 0.85rem;
}
.section-head h2,
.section-head h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
}

/* Trending items in rail — slight top-space after header */
.home-rail-header {
    border-bottom: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
}

/* === CATEGORY HUB BANNERS ================================ */
.hub-banner {
    background: var(--atg-color-bg-dark);
    color: #fff;
    padding: 2.25rem 0 1.85rem;
    margin-bottom: 2rem;
}

.hub-banner--tour {
    background: linear-gradient(135deg, #0d1f2d 0%, #0f2e1a 100%);
}
.hub-banner--gear {
    background: linear-gradient(135deg, #1c1a0d 0%, #1a2e13 100%);
}
.hub-banner--results {
    background: linear-gradient(135deg, #0d1a2e 0%, #0f2016 100%);
}

.hub-banner-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--atg-color-accent-brass-light);
    margin: 0 0 0.35rem;
}

.hub-banner-title {
    font-family: var(--atg-font-head);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 0.6rem;
    letter-spacing: -0.01em;
}

.hub-banner-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 1.25rem;
    max-width: 520px;
    line-height: 1.55;
}

.hub-banner-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hub-banner-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.85rem;
    border-radius: var(--atg-radius-pill);
    font-size: 0.76rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.16);
    transition: background 130ms, color 130ms;
    white-space: nowrap;
}
.hub-banner-pill:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.hub-banner-pill--active {
    background: var(--atg-color-accent-pine);
    border-color: var(--atg-color-accent-pine);
    color: #fff;
}

@media (max-width: 600px) {
    .hub-banner { padding: 1.5rem 0 1.25rem; }
    .hub-banner-nav { gap: 0.35rem; }
}

/* === AUTOCOMPLETE ENHANCEMENTS =========================== */
.header-autocomplete-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--atg-color-accent-pine);
}

.header-autocomplete-thumb--fallback {
    width: 50px;
    height: 34px;
    border-radius: var(--atg-radius-sm);
    background: linear-gradient(170deg, #1a5c2e, #133f1f);
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* === POST UPDATED ROW ==================================== */
.post-updated-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--atg-color-text-muted);
    margin-top: 0.3rem;
}
.post-updated-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.7rem;
    color: var(--atg-color-accent-pine);
}
/* Hide if published_at and updated_at are within 60 s of each other */
.post-updated-row.is-same-as-published { display: none; }

/* ============================================================
   HOMEPAGE POLISH — hero seam, newsroom bar, trending rail,
   utility modules, hero CTA dark-bg treatment
   ============================================================ */

/* ── Hero: clean bottom boundary ─────────────────────────── */
/* Extend bottom padding so CTAs float well above the seam */
.home-hero-content {
    padding-bottom: 4.5rem;
}

/* Hero bottom terminus — shadow separation, no fog band */
.home-hero::after {
    content: none; /* ivory fade caused a visible white band; disabled */
}
.home-hero {
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.12);
}

/* ── Lead rail: clear gap below hero (no more negative pull) */
.home-lead-rail {
    margin-top: 2rem;
}

/* ── Hero ghost CTA: white-on-dark treatment ──────────────── */
.home-hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}
.home-hero-actions .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.17);
    transform: translateY(-1px);
}

/* ── Newsroom bar: subtle tint, no bullet artifacts ──────── */
.newsroom-bar {
    background: var(--atg-color-bg-tint);
    border-top: 1px solid color-mix(in srgb, var(--atg-color-border) 55%, transparent);
    padding: 0.5rem 0;
    list-style: none;
}
.newsroom-bar-inner {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
/* Kill any inherited ::before / ::after bullet-like content */
.newsroom-bar-inner::before,
.newsroom-bar-inner::after,
.newsroom-bar-time::before { content: none; }
.newsroom-bar-brief {
    font-size: 0.76rem;
}
.newsroom-bar-brief:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

/* ── Trending rail: premium list treatment ────────────────── */
.home-rail {
    padding: 0.85rem 0.75rem;
}
.home-rail-header {
    padding: 0 0.25rem 0.6rem;
    border-bottom: 1px solid var(--atg-color-border);
}
.home-rail-heading {
    color: var(--atg-color-accent-pine);
}
/* Full-width clickable row with hover tint */
.home-rail-item {
    padding: 0.5rem 0.4rem;
    margin: 0 -0.4rem;
    border-radius: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    gap: 0.5rem;
    transition: background 100ms;
}
.home-rail-item:last-child {
    border-bottom: 0;
}
.home-rail-item:hover {
    background: var(--atg-color-accent-pine-soft);
}
/* Quieter rank numbers */
.home-rail-num {
    font-size: 0.68rem;
    opacity: 0.55;
    width: 1.1rem;
}

/* ── Utility strip: visual separator from lead rail ──────── */
.utility-strip {
    border-top: 1px solid var(--atg-color-border);
    padding-top: 1.5rem;
    margin-top: 0;
}

/* Empty state for modules with no tagged posts */
.utility-module-item-empty {
    align-items: center;
    padding: 0.65rem 0;
}
.utility-module-empty-msg {
    font-size: 0.8rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
}
.utility-module-browse-link {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
    white-space: nowrap;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}
.utility-module-browse-link:hover {
    color: var(--atg-color-accent-pine-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* Hover on module list items */
.utility-module-item {
    transition: background 100ms;
    border-radius: 4px;
}
.utility-module-item:hover {
    background: color-mix(in srgb, var(--atg-color-accent-pine-soft) 60%, transparent);
}

/* ── Hero H1 — serif editorial title ─────────────────────── */
.home-hero-title {
    font-family: var(--atg-font-serif);
    font-size: clamp(1.75rem, 3.8vw, 3.1rem);
    line-height: 1.12;
    font-weight: 700;
}

/* ── Hero CTAs — editorial proportion, less pill-like ──────── */
.home-hero-actions .btn {
    padding: 0.44rem 1rem;
    font-size: 0.74rem;
    border-radius: var(--atg-radius-sm); /* 6px — editorial, not pill */
    letter-spacing: 0.06em;
    font-weight: 700;
}

/* ── Mobile responsive adjustments ───────────────────────── */
@media (max-width: 760px) {
    .home-hero-content {
        padding-bottom: 3rem;
    }
    .home-lead-rail {
        margin-top: 1.25rem;
    }
}

/* ============================================================
   TOP STORIES SECTION WRAPPER
   ============================================================ */

.home-top-stories {
    background: var(--atg-color-bg-tint);
    border-radius: var(--atg-radius-card);
    padding: 1.25rem 1.5rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Reset the margin-top on home-lead-rail when inside the wrapper */
.home-top-stories .home-lead-rail {
    margin-top: 0;
}

.home-top-stories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--atg-color-accent-pine);
}

.home-top-stories-eyebrow {
    font-family: var(--atg-font-head);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--atg-color-accent-pine);
}

.home-top-stories-more {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--atg-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 120ms;
}
.home-top-stories-more:hover {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Trending rail: View all link ────────────────────────── */
.home-rail-view-all {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--atg-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color 120ms;
}
.home-rail-view-all:hover {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Trending rail: empty state ──────────────────────────── */
.home-rail-empty {
    margin: 1rem 0 0;
    font-size: 0.84rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
}

/* ── Lead card: subtle "Featured" tag ───────────────────── */
.lead-card-featured-tag {
    display: inline-block;
    font-size: 0.63rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--atg-color-accent-brass);
    margin-bottom: 0.35rem;
}

/* ── Utility module: head with sublabel ─────────────────── */
.utility-module-head {
    align-items: flex-start; /* allow sublabel to stack below title */
}

.utility-module-head-left {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.utility-module-sublabel {
    font-size: 0.67rem;
    color: var(--atg-color-text-muted);
    font-weight: 400;
    line-height: 1.2;
}

/* ── Utility module: full-row clickable item ─────────────── */
.utility-module-item-link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: baseline;
    color: inherit;
    width: 100%;
    /* Override any -webkit-box from the generic `a` rule */
    display: grid;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.utility-module-item-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--atg-color-text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 120ms;
}

.utility-module-item:hover .utility-module-item-title {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

/* ============================================================
   POST HEADER POLISH
   ============================================================ */

/* Remove uppercase from post title — use title case */
.post-title {
    text-transform: none;
    font-size: clamp(1.6rem, 4vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

/* Also remove it from the shared rule that groups post-title with others */
.post-title {
    text-transform: none !important;
}

/* Dek: comfortable reading width, better spacing */
.post-dek {
    max-width: 65ch;
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 0.6rem 0 0;
    color: var(--atg-color-text-secondary);
}

/* Meta row: clean editorial */
.post-meta {
    font-size: 0.83rem;
    color: var(--atg-color-text-muted);
    margin-top: 1rem;
    gap: 0.4rem;
}
.post-meta strong {
    color: var(--atg-color-text-primary);
    font-weight: 600;
}

/* Share row: editorial minimal */
.post-share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.post-share-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-text-muted);
}

.post-share-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--atg-color-text-muted);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 120ms;
    text-decoration: none;
}
.post-share-link:hover {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-share-link:focus-visible {
    outline: 2px solid var(--atg-color-accent-pine);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Feature image: tighter gap from header */
.post-feature {
    margin-top: 0.65rem;
}

/* Feature image caption styling */
.post-feature figcaption {
    font-size: 0.78rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
    margin-top: 0.4rem;
    line-height: 1.5;
}

/* Post header: tighten breadcrumb bottom spacing */
.post-header .breadcrumb {
    margin-bottom: 0.6rem;
}

/* ── Mobile post header ──────────────────────────────────── */
@media (max-width: 760px) {
    .home-top-stories {
        padding: 1rem 1rem 1.25rem;
        border-radius: var(--atg-radius-sm);
    }
    .post-dek {
        max-width: 100%;
    }
}

/* ============================================================
   ARTICLE PAGE POLISH — post layout, typography, ads, sidebar
   ============================================================ */

/* ── Post layout: wider gap, constrained reading column ─── */
.post-layout {
    gap: 2.5rem;
    margin-top: 1.25rem;
}

.post-body {
    max-width: 780px;
    padding: 1.75rem 2rem;
}

/* ── Article body typography ────────────────────────────── */
.article-prose h2 {
    margin: 2rem 0 0.5rem;
    font-family: var(--gh-font-heading, var(--atg-font-serif));
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    line-height: 1.22;
    color: var(--atg-color-text-primary);
}

.article-prose h3 {
    margin: 1.5rem 0 0.4rem;
    font-family: var(--gh-font-heading, var(--atg-font-serif));
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.28;
    color: var(--atg-color-text-primary);
}

.article-prose p {
    margin: 0 0 1.1rem;
}

.article-prose ul,
.article-prose ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1.1rem;
}

.article-prose li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
    color: #1f2937;
}

.article-prose blockquote {
    margin: 1.5rem 0;
    padding: 0.85rem 1.25rem;
    border-left: 3px solid var(--atg-color-accent-pine);
    background: var(--atg-color-bg-tint);
    border-radius: 0 var(--atg-radius-sm) var(--atg-radius-sm) 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--atg-color-text-secondary);
}

.article-prose blockquote p { margin-bottom: 0; }

.article-prose strong { color: var(--atg-color-text-primary); }

.article-prose a {
    color: var(--atg-color-accent-pine);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.article-prose a:hover { color: var(--atg-color-accent-pine-dark); }

/* ── Sidebar trending — home-rail in sidebar context ────── */
.sidebar-trending {
    margin: 0; /* override home-rail margin-top if any */
}

.sidebar-trending .home-rail-heading {
    font-size: 0.95rem;
}

.sidebar-trending .home-rail-item {
    padding: 0.45rem 0.4rem;
}

.sidebar-trending .home-rail-title {
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
}

/* More in topic sidebar module */
.sidebar-more-in h3 {
    font-size: 0.9rem;
}
.sidebar-more-in li a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Native ad card (inline + sidebar) ──────────────────── */
.native-ad-card {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    overflow: hidden;
    position: relative;
}

.native-ad-label {
    display: block;
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--atg-color-text-muted);
    background: var(--atg-color-bg-tint);
    border-bottom: 1px solid var(--atg-color-border);
}

/* Inline (horizontal) layout */
.native-ad-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
}

.native-ad-visual {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--atg-color-accent-pine-soft);
    border-radius: var(--atg-radius-sm);
    display: grid;
    place-items: center;
}

.native-ad-copy {
    flex: 1;
    min-width: 0;
}

.native-ad-brand {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-accent-pine);
    margin-bottom: 0.2rem;
}

.native-ad-headline {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--atg-color-text-primary);
}

.native-ad-cta,
.native-ad-cta-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
    letter-spacing: 0.04em;
}

/* Sidebar (vertical) layout */
.native-ad-card-sidebar {
    /* inherits base styles */
}

.native-ad-sidebar-inner {
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.native-ad-visual-lg {
    font-size: 2.5rem;
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.25rem;
}

.native-ad-body {
    margin: 0;
    font-size: 0.82rem;
    color: var(--atg-color-text-muted);
    line-height: 1.5;
}

.native-ad-cta-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--atg-color-accent-pine);
    color: #fff;
    border-radius: var(--atg-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: default;
}

/* ── Post feature image: tighter spacing ─────────────────── */
.post-feature-caption {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
    line-height: 1.5;
}

/* ── Continue reading + end section spacing ──────────────── */
.post-related {
    margin-top: 2.5rem;
    padding-top: 0;
}

.post-tags {
    margin-top: 1.5rem;
}

.post-newsletter-module {
    margin-top: 1.5rem;
    border-radius: var(--atg-radius-card);
    padding: 1.75rem;
}

.post-newsletter-module h3 {
    margin: 0 0 0.4rem;
    font-family: var(--atg-font-head);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--atg-color-text-primary);
}

.post-newsletter-module p {
    margin: 0 0 1rem;
    color: var(--atg-color-text-muted);
    font-size: 0.95rem;
}

/* ── Ad zones: remove dashed wireframe ───────────────────── */
.ad-zone {
    border: none !important;
    background: transparent !important;
}

/* ── Mobile: post layout stacks ──────────────────────────── */
@media (max-width: 1024px) {
    .post-body {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .post-body {
        padding: 1.25rem 1rem;
    }
    .post-layout {
        gap: 1.5rem;
    }
    .post-related {
        margin-top: 1.75rem;
    }
    .native-ad-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   ARTICLE HEADER MICRO-POLISH
   ============================================================ */

/* A) Reduce beige band: remove shell top-pad, tighten header */
.post-shell { padding-top: 0; }

.post-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);  /* softer than --atg-color-border */
}

/* B) H1: wider room for fewer stacked lines */
.post-title {
    font-weight: 700 !important;
    font-size: clamp(1.45rem, 3.6vw, 2.55rem) !important;
    line-height: 1.17 !important;
    max-width: 680px;
}

/* C) Meta: author span slightly darker; time/read-time quieter */
.post-meta > span:first-child {
    color: var(--atg-color-text-secondary);
    font-weight: 500;
}
.post-meta time,
.post-meta #reading-time-display {
    font-size: 0.79rem;
}

/* D) Share label removed from HTML; keep separator */
.post-share-sep {
    color: var(--atg-color-text-muted);
    font-size: 0.8rem;
}

/* E) Feature image: minimal gap below hairline */
.post-feature { margin-top: 0.15rem; }

/* Caption: suppress if Ghost provides empty string */
.post-feature figcaption:empty { display: none; }

@media (max-width: 760px) {
    .post-title { max-width: 100%; }
}

/* ============================================================
   POST BODY + SIDEBAR + END-OF-ARTICLE POLISH
   ============================================================ */

/* ── Article body: links ─────────────────────────────────── */
.article-prose a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(26, 92, 46, 0.28);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 120ms, text-decoration-color 120ms;
}
.article-prose a:hover {
    color: var(--atg-color-accent-pine);
    text-decoration-color: var(--atg-color-accent-pine);
}

/* ── Article body: paragraph rhythm ─────────────────────── */
.article-prose p { margin: 0 0 1.1em; }
.article-prose p:last-child { margin-bottom: 0; }

/* ── Article body: lists ─────────────────────────────────── */
.article-prose ul,
.article-prose ol { padding-left: 1.5rem; margin: 0 0 1.1em; }
.article-prose li { margin-bottom: 0.35em; line-height: 1.65; }

/* ── Article body: headings ──────────────────────────────── */
.article-prose h2 { margin: 2.75rem 0 0.7rem; }
.article-prose h3 { margin: 2rem 0 0.5rem; }

/* ── Sidebar: sticky rail ────────────────────────────────── */
.post-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;   /* key: sidebar only as tall as its content */
}
@media (max-width: 1024px) {
    .post-sidebar { position: static; align-self: auto; }
}

/* ── Trending header: view-all link ──────────────────────── */
.sidebar-rail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-view-all {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--atg-color-accent-pine);
    transition: opacity 120ms;
}
.sidebar-view-all:hover { opacity: 0.65; }

/* ── Sidebar newsletter: refined copy + microcopy ────────── */
.sidebar-newsletter { padding: 0.85rem 1rem; }

.sidebar-nl-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-accent-pine);
}
.sidebar-nl-promise {
    margin: 0 0 0.7rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--atg-color-text-secondary);
}
.sidebar-nl-micro {
    margin: 0.45rem 0 0;
    font-size: 0.71rem;
    color: var(--atg-color-text-muted);
    line-height: 1.4;
}

/* ── Continue reading: section head rule ─────────────────── */
.post-related .section-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.post-related .section-head h3 {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--atg-color-text-muted);
    white-space: nowrap;
}
.post-related .section-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--atg-color-border);
}

/* ── Topics chips: tighter margin ───────────────────────── */
.post-tags { margin-top: 1.1rem; }
.post-tags .topic-pill { padding: 0.2rem 0.55rem; font-size: 0.71rem; }

/* ── End-of-article newsletter CTA: premium + centered ───── */
.post-newsletter-module {
    text-align: center;
    padding: 1.85rem 2rem;
    margin-top: 2rem;
    background: var(--atg-color-bg-surface);
}
.post-newsletter-module h3 {
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 0.45rem;
}
.post-newsletter-module > p:first-of-type {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--atg-color-text-secondary);
}
.post-nl-micro {
    margin: 0.5rem 0 0 !important;
    font-size: 0.74rem !important;
    color: var(--atg-color-text-muted) !important;
    line-height: 1.4;
}

/* ── Footer: clean top divider ───────────────────────────── */
.site-footer {
    border-top: 1px solid var(--atg-color-border);
}

@media (max-width: 760px) {
    .post-newsletter-module { padding: 1.5rem 1.25rem; }
    .post-related .section-head { margin-bottom: 0.75rem; }
}

/* ============================================================
   HOMEPAGE: LOAD MORE BUTTON
   ============================================================ */
.feed-load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.75rem 0 0.5rem;
}

.feed-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.72rem 1.75rem;
    border-radius: 999px;
    border: 2px solid var(--atg-color-accent-pine);
    background: transparent;
    color: var(--atg-color-accent-pine);
    font-family: var(--atg-font-head);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 150ms, color 150ms, transform 120ms;
}
.feed-load-more-btn:hover:not(:disabled) {
    background: var(--atg-color-accent-pine);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 92, 46, 0.18);
}
.feed-load-more-btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}
.feed-load-more-wrap[hidden] { display: none !important; }

.feed-load-more-status {
    font-size: 0.8rem;
    color: var(--atg-color-text-muted);
    letter-spacing: 0.04em;
}
.feed-load-more-status[hidden] { display: none; }

/* ============================================================
   POST PAGE: STICKY HEADER OFFSETS + SCROLL PADDING
   ============================================================ */

/* Header height = 4px top-rail + 72px header = 76px */
:root { --header-h: 76px; }

/* Ensure anchor links and programmatic scrolls land below sticky nav */
html { scroll-padding-top: var(--header-h); }

/* Sidebar sticky top: clear the sticky header with breathing room */
.post-sidebar {
    top: calc(var(--header-h) + 16px);
}

/* ============================================================
   POST PAGE: INLINE AD CARD
   ============================================================ */
.post-inline-ad {
    margin: 1.75rem 0;
    /* Clear float/inline styles from prose context */
    clear: both;
}

.post-inline-ad-inner {
    align-items: center;
}

.post-inline-ad-cta {
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 150ms, transform 120ms;
}
.post-inline-ad-cta:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}
.post-inline-ad-cta:focus-visible {
    outline: 2px solid var(--atg-color-accent-pine);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .post-inline-ad-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.65rem;
    }
    .post-inline-ad-cta { align-self: center; }
}

/* ============================================================
   HOMEPAGE: TOPIC FILTER — "ALL" CHIP ACTIVE ON HOME
   ============================================================ */

/* On the homepage index, the All chip has aria-current="page" → green active style */
.topic-pill-all[aria-current="page"] {
    background: var(--atg-color-accent-pine);
    border-color: var(--atg-color-accent-pine);
    color: #fff;
}

/* Ensure topic-pills row on homepage doesn't show label on mobile */
@media (max-width: 480px) {
    .home-topics-label { display: none; }
}

/* ============================================================
   NEWSROOM PREMIUM UPGRADE — v3
   All components below added for the newsroom spine redesign.
   ============================================================ */

/* === GLOBAL: scroll-padding + post sticky ================= */
html {
    scroll-padding-top: 80px; /* header height + small buffer */
}

.post-sidebar,
.archive-side {
    position: sticky;
    top: calc(76px + 16px); /* header-h + gap */
    max-height: calc(100vh - 76px - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}
.post-sidebar::-webkit-scrollbar,
.archive-side::-webkit-scrollbar { display: none; }

/* ── Section Head v2: title-group left + view-all right ──── */
.section-head-left {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.section-head-desc {
    font-size: 0.75rem;
    color: var(--atg-color-text-muted);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.3;
}

.section-head-amp {
    font-family: var(--atg-font-serif);
    font-style: italic;
    color: var(--atg-color-accent-brass);
    font-size: 0.92em;
    font-weight: 700;
}

.section-head-viewall {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-accent-pine);
    white-space: nowrap;
    transition: color 120ms;
    flex-shrink: 0;
    align-self: center;
}
.section-head-viewall:hover { color: var(--atg-color-accent-pine-dark); }

/* === THIS WEEK MODULE ====================================== */
.this-week-module {
    margin: var(--atg-space-module) 0;
    background: var(--atg-color-bg-dark);
    border-radius: var(--atg-radius-card);
    overflow: hidden;
    color: #fff;
    box-shadow: 0 4px 24px rgba(15,23,42,0.12);
}

.this-week-header {
    padding: 0.85rem 1.25rem 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.this-week-eyebrow {
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--atg-color-accent-brass-light);
    display: flex;
    align-items: center;
    gap: 0.45em;
}

.this-week-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--atg-color-accent-brass-light);
    animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.65); }
}

.this-week-heading {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: clamp(1rem, 2vw, 1.35rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

.this-week-sponsored-label {
    margin-left: auto;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
}

.this-week-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 0;
}

.this-week-col {
    padding: 1rem 1.25rem 1.25rem;
}
.this-week-col + .this-week-col {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.this-week-col-label {
    font-size: 0.63rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.65rem;
}

.this-week-featured-link {
    display: block;
    color: #fff;
    transition: opacity 130ms;
}
.this-week-featured-link:hover { opacity: 0.82; }

.this-week-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.65rem;
}
.this-week-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.this-week-story-title {
    margin: 0 0 0.3rem;
    font-family: var(--atg-font-head);
    font-size: 1rem;
    line-height: 1.15;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.this-week-story-meta {
    margin: 0;
    font-size: 0.73rem;
    color: rgba(255,255,255,0.48);
}

.this-week-watch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.this-week-watch-item {
    display: grid;
    gap: 0.18rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.this-week-watch-item:last-child { border-bottom: 0; padding-bottom: 0; }

.this-week-watch-network {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--atg-color-accent-brass-light);
}

.this-week-watch-info {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.35;
}

.this-week-watch-note {
    margin: 0.65rem 0 0;
    font-size: 0.66rem;
    color: rgba(255,255,255,0.3);
    font-style: italic;
    line-height: 1.4;
}

.this-week-result-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 0.5rem;
    align-items: start;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: #fff;
    transition: opacity 120ms;
}
.this-week-result-item:hover { opacity: 0.78; }
.this-week-result-item:last-child { border-bottom: 0; }

.this-week-result-tag {
    grid-column: 1;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--atg-color-accent-brass-light);
    margin-bottom: 0.1rem;
}

.this-week-result-title {
    grid-column: 1;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.this-week-result-time {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.67rem;
    color: rgba(255,255,255,0.38);
    white-space: nowrap;
    align-self: end;
}

.this-week-view-all {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-accent-brass-light);
    transition: color 120ms;
}
.this-week-view-all:hover { color: #fff; }

.this-week-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.25rem 0;
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
    text-align: center;
    font-style: italic;
}
.this-week-placeholder-icon { font-size: 1.5rem; }
.this-week-placeholder p { margin: 0; }

@media (max-width: 760px) {
    .this-week-grid { grid-template-columns: 1fr; }
    .this-week-col + .this-week-col {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* === CURATED LANE BASE ===================================== */
.curated-lane {
    margin: calc(var(--atg-space-module) * 0.75) 0;
}

/* === LANE 1: ANALYSIS & OPINION =========================== */
.lane-analysis-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 1rem;
}

.lane-analysis-card {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    overflow: hidden;
    box-shadow: var(--atg-shadow-card);
    transition: transform 160ms ease, box-shadow 160ms ease;
    display: flex;
    flex-direction: column;
}
.lane-analysis-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--atg-shadow-hover);
}

.lane-analysis-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.lane-analysis-card--lead .lane-analysis-media { aspect-ratio: 3 / 2; }
.lane-analysis-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 420ms ease;
}
.lane-analysis-card:hover .lane-analysis-media img { transform: scale(1.04); }

.lane-analysis-content {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.lane-analysis-title {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: 1.12rem;
    text-transform: uppercase;
    line-height: 1.08;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lane-analysis-card--lead .lane-analysis-title {
    font-family: var(--atg-font-serif);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.18;
    -webkit-line-clamp: 4;
}
.lane-analysis-title a { color: var(--atg-color-text-primary); }
.lane-analysis-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.lane-analysis-dek {
    margin: 0;
    font-size: 0.88rem;
    color: var(--atg-color-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lane-analysis-meta {
    font-size: 0.76rem;
    color: var(--atg-color-text-muted);
    display: flex;
    gap: 0.3rem;
    align-items: center;
    margin-top: auto;
    padding-top: 0.35rem;
}

@media (max-width: 760px) {
    .lane-analysis-grid { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 1024px) {
    .lane-analysis-grid { grid-template-columns: 1fr 1fr; }
}

/* === LANE 2: SCORES & RESULTS ============================== */
.lane-scores-grid {
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    box-shadow: var(--atg-shadow-card);
    overflow: hidden;
}

.lane-scores-list {
    display: grid;
    gap: 0;
}

.lane-scores-item {
    display: grid;
    grid-template-columns: 1.6rem 1fr auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.78rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--atg-color-border) 50%, transparent);
    color: inherit;
    transition: background 110ms;
}
.lane-scores-item:last-child { border-bottom: 0; }
.lane-scores-item:hover { background: var(--atg-color-bg-tint); }

.lane-scores-item-num {
    font-family: var(--atg-font-head);
    font-size: 0.8rem;
    font-weight: 800;
    color: color-mix(in srgb, var(--atg-color-accent-pine) 38%, var(--atg-color-text-muted));
    text-align: right;
    letter-spacing: 0.02em;
}

.lane-scores-item-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.lane-scores-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--atg-color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lane-scores-item:hover .lane-scores-item-title {
    color: var(--atg-color-accent-pine-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.lane-scores-item-meta {
    font-size: 0.72rem;
    color: var(--atg-color-text-muted);
}

.lane-scores-item-thumb {
    width: 52px;
    height: 34px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* === LANE 3: GEAR & TIPS =================================== */
/* Uses existing feed-card styles via {{> "feed-card"}} — just wrap with .lane-gear-grid */
.lane-gear-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 760px) {
    .lane-gear-grid { grid-template-columns: 1fr; }
    .lane-scores-item { grid-template-columns: 1.4rem 1fr; }
    .lane-scores-item-thumb { display: none; }
}
@media (min-width: 761px) and (max-width: 1024px) {
    .lane-gear-grid { grid-template-columns: 1fr 1fr; }
}

/* === AD SLOT SYSTEM ======================================== */

/* Base slot */
.ad-slot {
    text-align: center;
}

.ad-slot-label {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--atg-color-text-muted);
    line-height: 1;
}

.ad-slot-inner {
    display: inline-block;
    max-width: 100%;
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    overflow: hidden;
    background: var(--atg-color-bg-surface);
    box-shadow: var(--atg-shadow-card);
}

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

/* Billboard slot */
.ad-slot--billboard {
    margin: var(--atg-space-module) 0;
}
.ad-slot-inner--billboard {
    max-width: 970px;
    width: 100%;
}
.ad-slot-inner--billboard img { width: 100%; height: auto; }

/* Reserve height for CLS prevention */
.ad-slot-inner--billboard { min-height: 90px; }

@media (min-width: 768px) {
    .ad-slot-inner--billboard { min-height: 250px; }
}

/* Halfpage slot (sidebar) */
.ad-slot--halfpage {
    margin: 0 0 1rem;
}
.ad-slot-inner--halfpage {
    width: 300px;
    max-width: 100%;
    min-height: 600px;
}

@media (max-width: 1024px) {
    .ad-slot--halfpage { display: none; }
}

/* Rectangle slot (sidebar) */
.ad-slot--rectangle {
    margin: 0 0 1rem;
}
.ad-slot-inner--rectangle {
    width: 300px;
    max-width: 100%;
    min-height: 250px;
}

@media (max-width: 1024px) {
    .ad-slot--rectangle { display: none; }
}

/* Inline slot (in-article) */
.ad-slot--inline {
    margin: 1.5rem 0;
}
.ad-slot-inner--inline {
    max-width: 728px;
    width: 100%;
    min-height: 90px;
}
.ad-slot-img--inline {
    max-height: 90px;
    width: auto;
    max-width: 100%;
}

@media (max-width: 767px) {
    .ad-slot-inner--inline { min-height: 100px; }
}

/* Native sponsored card in feed */
.ad-slot--native {
    text-align: left;
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    background: var(--atg-color-bg-surface);
    overflow: hidden;
    box-shadow: var(--atg-shadow-card);
}
.ad-slot--native .ad-slot-label { display: none; }

.ad-slot-native-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ad-slot-native-label {
    display: inline-block;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--atg-color-accent-brass);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    z-index: 1;
    line-height: 1.5;
}

.ad-slot-native-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.ad-slot-native-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-slot-native-content {
    padding: 0.8rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.ad-slot-native-brand {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atg-color-accent-brass);
}

.ad-slot-native-headline {
    margin: 0;
    font-family: var(--atg-font-head);
    font-size: 1.1rem;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--atg-color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-slot-native-body {
    margin: 0;
    font-size: 0.84rem;
    color: var(--atg-color-text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-slot-native-cta {
    margin-top: auto;
    padding-top: 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
    letter-spacing: 0.04em;
    transition: color 120ms;
}
.ad-slot-native-cta:hover { color: var(--atg-color-accent-pine-dark); }

/* Native card template (hidden, cloned by ads.js) */
#native-ad-template { display: none; }

/* === SEARCH OVERLAY ======================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5.5rem;
    padding: 5.5rem 1rem 1rem;
}
.search-overlay[hidden] { display: none; }

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.search-overlay-panel {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: var(--atg-radius-card);
    box-shadow: 0 24px 64px rgba(15,23,42,0.22);
    overflow: hidden;
    max-height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
}

.search-overlay-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--atg-color-border);
    flex-shrink: 0;
}

.search-overlay-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--atg-color-text-muted);
}

.search-overlay-input {
    flex: 1;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 1rem;
    color: var(--atg-color-text-primary);
    background: transparent;
    min-width: 0;
}
.search-overlay-input::placeholder { color: var(--atg-color-text-muted); }

.search-overlay-kbd {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--atg-color-text-muted);
    border: 1px solid var(--atg-color-border);
    border-radius: 4px;
    padding: 0.18rem 0.4rem;
    font-family: monospace;
    letter-spacing: 0.04em;
    display: none;
}
@media (min-width: 768px) { .search-overlay-kbd { display: inline-block; } }

.search-overlay-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--atg-color-text-muted);
    padding: 0.3rem;
    border-radius: var(--atg-radius-sm);
    display: flex;
    align-items: center;
    transition: background 120ms, color 120ms;
    flex-shrink: 0;
}
.search-overlay-close:hover {
    background: var(--atg-color-bg-tint);
    color: var(--atg-color-text-primary);
}

.search-overlay-body {
    overflow-y: auto;
    flex: 1;
}

.search-overlay-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-overlay-result-item {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 0.65rem;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--atg-color-border) 45%, transparent);
    cursor: pointer;
    transition: background 100ms;
}
.search-overlay-result-item:hover,
.search-overlay-result-item[aria-selected="true"] {
    background: var(--atg-color-bg-tint);
}
.search-overlay-result-item:last-child { border-bottom: 0; }

.search-overlay-result-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.search-overlay-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--atg-color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-overlay-result-meta {
    font-size: 0.72rem;
    color: var(--atg-color-text-muted);
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.search-overlay-result-tag {
    color: var(--atg-color-accent-pine-dark);
    font-weight: 700;
}

.search-overlay-result-thumb {
    width: 44px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.search-overlay-result-thumb--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--atg-color-bg-tint);
    color: var(--atg-color-text-muted);
    font-size: 0.8rem;
}

.search-overlay-empty {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
}

.search-overlay-result-footer {
    padding: 0.55rem 1rem;
    border-top: 1px solid color-mix(in srgb, var(--atg-color-border) 50%, transparent);
}
.search-overlay-result-footer a {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--atg-color-accent-pine);
}
.search-overlay-result-footer a:hover { text-decoration: underline; }

.search-overlay-quick {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--atg-color-border);
}
.search-overlay-quick-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 800;
    color: var(--atg-color-text-muted);
    margin: 0 0 0.5rem;
}
.search-overlay-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Header search shortcut hint */
.header-search-shortcut {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--atg-color-text-muted);
    border: 1px solid var(--atg-color-border);
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    font-family: monospace;
    display: none;
    margin-left: 0.25rem;
    opacity: 0.7;
}
@media (min-width: 1024px) { .header-search-shortcut { display: inline-block; } }

/* === FEED LOAD MORE ======================================== */
.feed-load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.feed-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: var(--atg-color-bg-surface);
    border: 1px solid var(--atg-color-border);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--atg-color-text-primary);
    cursor: pointer;
    box-shadow: var(--atg-shadow-card);
    transition: background 120ms, border-color 120ms, color 120ms, transform 120ms, box-shadow 120ms;
}
.feed-load-more-btn:hover {
    border-color: var(--atg-color-accent-pine);
    color: var(--atg-color-accent-pine-dark);
    background: var(--atg-color-accent-pine-soft);
    transform: translateY(-1px);
    box-shadow: var(--atg-shadow-hover);
}

.feed-load-more-status {
    font-size: 0.8rem;
    color: var(--atg-color-text-muted);
    font-style: italic;
}

/* === HEADER SEARCH PANEL — hidden in favour of overlay ===== */
/* The legacy inline panel is hidden via JS (search-overlay.js).
   This CSS provides a fallback hide if JS hasn't run yet. */
.header-search-panel {
    /* panel still present in DOM but overlay replaces its UX */
}

/* ═══ NEWSROOM v4 — TODAY BAR + 5-LANE SPINE + BOTTOM BAND ═══ */

/* ── Today Bar ───────────────────────────────────────────── */
.today-bar {
    background: var(--atg-color-bg-tint);
    border-bottom: 1px solid var(--atg-color-border);
    padding: 0.38rem 0;
    line-height: 1.4;
}
.today-bar-inner {
    display: flex; align-items: center; gap: 0.85rem;
    min-height: 26px; flex-wrap: nowrap;
}
.today-bar-brand {
    display: flex; align-items: center; gap: 0.38em;
    font-size: 0.63rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--atg-color-accent-pine);
    flex-shrink: 0; padding-right: 0.85rem;
    border-right: 1px solid var(--atg-color-border-strong);
    white-space: nowrap;
}
.today-bar-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #cf3737; flex-shrink: 0;
    animation: live-pulse 2s ease-in-out infinite;
}
.today-bar-event {
    display: flex; align-items: center; flex: 1; min-width: 0; margin: 0;
    font-size: 0.79rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.today-bar-event-label { font-weight: 700; color: var(--atg-color-accent-pine); flex-shrink: 0; }
.today-bar-event-sep   { color: var(--atg-color-text-muted); flex-shrink: 0; }
.today-bar-event-name  {
    color: var(--atg-color-text-secondary); font-weight: 500;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.today-bar-nav  { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; margin-left: auto; }
.today-bar-watch {
    font-size: 0.72rem; font-weight: 600; color: var(--atg-color-text-secondary);
    transition: color 120ms; white-space: nowrap;
}
.today-bar-watch:hover { color: var(--atg-color-accent-pine); }
.today-bar-brief {
    font-size: 0.69rem; font-weight: 800;
    background: var(--atg-color-accent-pine); color: #fff;
    padding: 0.22rem 0.65rem; border-radius: var(--atg-radius-pill);
    white-space: nowrap; transition: background 120ms;
}
.today-bar-brief:hover { background: var(--atg-color-accent-pine-dark); }
@media (max-width: 640px) {
    .today-bar-brand { display: none; }
    .today-bar-event-name { max-width: 180px; }
}
@media (max-width: 440px) { .today-bar-watch { display: none; } }

/* ── Live Desk extras ────────────────────────────────────── */
/* Leaderboard placeholder rows */
.this-week-lb-placeholder { display: flex; flex-direction: column; gap: 0; }
.this-week-lb-row {
    display: grid; grid-template-columns: 1.25rem 1fr auto;
    gap: 0.4rem; align-items: center;
    padding: 0.42rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.82rem; color: rgba(255,255,255,0.85);
}
.this-week-lb-row:last-child { border-bottom: none; }
.this-week-lb-pos   { font-size: 0.65rem; font-weight: 800; color: var(--atg-color-accent-brass-light); text-align: center; }
.this-week-lb-name  { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.this-week-lb-score { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.this-week-lb-score--under { color: #f87171; }
.this-week-lb-score--even  { color: rgba(255,255,255,0.45); }
/* Course conditions column */
.this-week-conditions { display: flex; flex-direction: column; gap: 0.6rem; }
.this-week-conditions-weather { display: flex; align-items: baseline; gap: 0.5rem; }
.this-week-conditions-temp {
    font-family: var(--atg-font-head); font-size: 2rem; font-weight: 700; line-height: 1; color: #fff;
}
.this-week-conditions-desc { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.this-week-conditions-wind,
.this-week-conditions-info { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.this-week-conditions-wind strong { color: rgba(255,255,255,0.8); }
.this-week-conditions-link {
    font-size: 0.72rem; font-weight: 700; color: var(--atg-color-accent-brass-light);
    transition: color 120ms; display: inline-block; margin-top: 0.35rem;
}
.this-week-conditions-link:hover { color: #fff; }

/* ── Lane system ─────────────────────────────────────────── */
.newsroom-lane { margin: var(--atg-space-section) 0; }

.newsroom-lane-head-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.12rem; }

.newsroom-lane-badge {
    display: inline-flex; align-items: center;
    padding: 0.12rem 0.45rem; border-radius: var(--atg-radius-sm);
    font-size: 0.58rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.13em; flex-shrink: 0;
}
.newsroom-lane-badge--news    { background: var(--atg-color-accent-pine);  color: #fff; }
.newsroom-lane-badge--scores  { background: #1d4ed8; color: #fff; }
.newsroom-lane-badge--gear    { background: #92400e; color: #fff; }
.newsroom-lane-badge--betting { background: #6d28d9; color: #fff; }
.newsroom-lane-badge--courses { background: #065f46; color: #fff; }

.newsroom-lane-body {
    display: grid;
    grid-template-columns: 1fr var(--atg-rail-width);
    gap: 0 2rem; align-items: start;
}
@media (max-width: 900px) {
    .newsroom-lane-body { grid-template-columns: 1fr; gap: 1.5rem 0; }
}

/* Featured card */
.newsroom-lane-featured {
    background: var(--atg-color-bg-surface);
    border-radius: var(--atg-radius-card); overflow: hidden;
    box-shadow: var(--atg-shadow-card); transition: box-shadow 200ms;
}
.newsroom-lane-featured:hover { box-shadow: var(--atg-shadow-hover); }

.newsroom-lane-featured-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.newsroom-lane-featured-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 380ms;
}
.newsroom-lane-featured:hover .newsroom-lane-featured-img img { transform: scale(1.04); }

.newsroom-lane-featured-no-image {
    aspect-ratio: 16/9; display: grid; place-items: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--atg-color-accent-pine-soft) 0%, var(--atg-color-bg-tint) 100%);
}
.lane-placeholder-bg--betting {
    background: linear-gradient(135deg, #1e1b4b 0%, #2d1b69 100%); color: #a78bfa;
}
.lane-placeholder-bg--courses {
    background: linear-gradient(135deg, #064e3b 0%, #0f5942 100%); color: #6ee7b7;
}

.newsroom-lane-featured-body {
    padding: 1.1rem 1.25rem 1.3rem;
    display: flex; flex-direction: column; gap: 0.45rem;
}
.newsroom-lane-featured-title {
    font-family: var(--atg-font-head);
    font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 700;
    line-height: 1.13; margin: 0;
    text-transform: uppercase; letter-spacing: 0.01em;
}
.newsroom-lane-featured-title a { color: inherit; transition: color 120ms; }
.newsroom-lane-featured-title a:hover { color: var(--atg-color-accent-pine); }
.newsroom-lane-featured-dek {
    margin: 0; font-size: 0.875rem; color: var(--atg-color-text-secondary);
    line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.newsroom-lane-featured-meta {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.73rem; color: var(--atg-color-text-muted);
}

/* Gear CTA */
.lane-gear-cta {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.72rem; font-weight: 700; color: #92400e;
    border: 1px solid #92400e; padding: 0.22rem 0.65rem;
    border-radius: var(--atg-radius-pill); align-self: flex-start;
    margin-top: 0.15rem; transition: background 120ms, color 120ms;
}
.lane-gear-cta:hover { background: #92400e; color: #fff; }

/* Compact list */
.newsroom-lane-list {
    background: var(--atg-color-bg-surface);
    border-radius: var(--atg-radius-card); overflow: hidden;
    box-shadow: var(--atg-shadow-card);
}
.newsroom-lane-list-item {
    display: flex; align-items: flex-start; gap: 0.65rem;
    padding: 0.8rem 1rem; border-bottom: 1px solid var(--atg-color-border);
    transition: background 120ms; color: inherit;
}
.newsroom-lane-list-item:last-child { border-bottom: none; }
.newsroom-lane-list-item:hover { background: var(--atg-color-bg-tint); }
.newsroom-lane-list-num {
    font-size: 0.65rem; font-weight: 900; color: var(--atg-color-accent-brass);
    flex-shrink: 0; min-width: 1.1rem; margin-top: 0.18rem; text-align: center;
}
.newsroom-lane-list-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.18rem; }
.newsroom-lane-list-title {
    font-size: 0.86rem; font-weight: 600; line-height: 1.35;
    color: var(--atg-color-text-primary);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.newsroom-lane-list-meta {
    font-size: 0.69rem; color: var(--atg-color-text-muted);
    display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap;
}
.newsroom-lane-list-tag { font-weight: 700; color: var(--atg-color-accent-pine); }

/* ── Bottom Band ─────────────────────────────────────────── */
.bottom-band {
    background:
        linear-gradient(180deg, rgba(9, 19, 15, 0) 0%, rgba(9, 19, 15, 0.08) 100%),
        linear-gradient(135deg, #10231a 0%, #0d1d16 60%, #0b1712 100%);
    color: #fff;
    padding: calc(var(--atg-space-section) * 1.15) 0 calc(var(--atg-space-section) * 0.95);
    margin-top: var(--atg-space-section);
    border-top: 1px solid rgba(15, 38, 28, 0.08);
}
.bottom-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
    gap: 2.25rem 3rem;
    align-items: start;
}
@media (max-width: 900px) {
    .bottom-band-inner { grid-template-columns: 1fr; gap: 2rem; }
    .bottom-band-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .bottom-band-inner { grid-template-columns: 1fr; }
    .bottom-band-newsletter { grid-column: auto; }
}
.bottom-band-newsletter {
    max-width: 42rem;
}
.bottom-band-eyebrow {
    font-size: 0.62rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--atg-color-accent-brass-light); margin-bottom: 0.65rem;
}
.bottom-band-nl-heading {
    font-family: var(--atg-font-serif);
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 0.7rem;
    max-width: 14ch;
}
.bottom-band-nl-copy {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.62;
    margin: 0 0 1.1rem;
    max-width: 42ch;
}
.bottom-band-cta {
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    color: #fff;
    box-shadow: none;
}
.bottom-band-cta:hover {
    border-color: rgba(255,255,255,0.42);
    background: rgba(255,255,255,0.14);
    color: #fff;
}
.bottom-band-micro {
    margin-top: 0.55rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.42);
    max-width: 48ch;
}
.bottom-band-utility {
    display: grid;
    gap: 1.4rem;
}
.bottom-band-col-heading {
    font-size: 0.64rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.16em; color: rgba(255,255,255,0.42);
    margin-bottom: 0.8rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bottom-band-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bottom-band-pills .topic-pill {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.72);
}
.bottom-band-pills .topic-pill:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}
.bottom-band-picks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.bottom-band-pick-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bottom-band-pick-item:last-child { border-bottom: none; }
.bottom-band-pick-item a {
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    line-height: 1.35;
    transition: color 120ms;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bottom-band-pick-item a:hover { color: #fff; }
.bottom-band-pick-meta { font-size: 0.68rem; color: rgba(255,255,255,0.32); }

/* ============================================================
   HOMEPAGE PREMIUM NORMALIZATION (FINAL OVERRIDES)
   ============================================================ */

:root {
    --atg-site-max: 1200px;
    --atg-space-section: 56px;
    --atg-space-module: 24px;
}

.site-container {
    width: min(var(--atg-site-max), calc(100% - 2.5rem));
}

.home-hero-title {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    line-height: 1.03;
    letter-spacing: -0.01em;
}

.section-head h2,
.section-head h3 {
    font-size: clamp(1.28rem, 2.1vw, 1.72rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
}

.newsroom-lane {
    margin: calc(var(--atg-space-section) * 0.8) 0;
}

.newsroom-lane-featured-title {
    font-size: clamp(1.12rem, 1.9vw, 1.42rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.feed-card-title {
    font-size: clamp(1.06rem, 1.35vw, 1.22rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.feed-card-meta,
.newsroom-lane-featured-meta,
.newsroom-lane-list-meta {
    color: color-mix(in srgb, var(--atg-color-text-muted) 92%, black);
}

.feed-card-tag {
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    border-radius: 4px;
    padding: 0.13rem 0.42rem;
    background: color-mix(in srgb, var(--atg-color-accent-pine-soft) 72%, white);
    border-color: color-mix(in srgb, var(--atg-color-accent-pine) 35%, white);
}

.home-feed-grid {
    gap: 1.1rem;
}

.bottom-band {
    padding: var(--atg-space-section) 0;
}

.site-footer {
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* Ensure the homepage ends with intentional spacing, no dead band */
.home-last-section {
    padding-bottom: 72px;
}

@media (max-width: 760px) {
    .home-last-section {
        padding-bottom: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding-bottom: 1rem;
    }

    .footer-brand-block {
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(200, 228, 210, 0.08);
    }

    .footer-bottom {
        gap: 0.55rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 1024px) {
    .site-container {
        width: min(var(--atg-site-max), calc(100% - 2rem));
    }
}

@media (min-width: 761px) and (max-width: 1024px) {
    .home-last-section {
        padding-bottom: 48px;
    }
}

@media (max-width: 760px) {
    .home-hero-title {
        font-size: clamp(1.56rem, 8.4vw, 2.15rem);
        line-height: 1.08;
    }

    .section-head h2,
    .section-head h3 {
        font-size: clamp(1.08rem, 6vw, 1.34rem);
    }
}

/* ============================================================
   HOMEPAGE LOWER HALF v2 — EDITORIAL IDENTITY + SIGNATURE
   ============================================================ */

.feed-transition {
    height: clamp(16px, 2.5vw, 28px);
    margin: clamp(1.2rem, 3.5vw, 2rem) -0.1rem 0;
    background: linear-gradient(180deg, var(--atg-color-bg-tint) 0%, var(--atg-color-bg-base) 100%);
    border-radius: 8px 8px 0 0;
}

.home-edit {
    background: linear-gradient(180deg, #ede8df 0%, #f1ece3 50%, #f5f0e8 100%);
    border: 1px solid color-mix(in srgb, var(--atg-color-border) 72%, white);
    border-radius: 16px;
    padding: clamp(0.9rem, 2vw, 1.3rem) clamp(0.9rem, 2.1vw, 1.5rem) clamp(1rem, 2.5vw, 1.6rem);
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.home-edit-header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: end;
    padding-bottom: 0.65rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid color-mix(in srgb, var(--atg-color-border) 88%, transparent);
}

.home-edit-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: var(--atg-color-accent-pine);
}

.home-edit-heading {
    margin: 0;
    font-family: var(--atg-font-serif);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #1d221d;
}

.home-edit-subhead {
    margin: 0.58rem 0 0;
    max-width: 52ch;
    color: #475447;
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-edit-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.42rem;
}

.home-edit-topics .topic-pill {
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
    padding: 0.2rem 0.55rem;
    color: var(--atg-color-text-secondary);
    border-color: var(--atg-color-border);
    background: rgba(255,255,255,0.7);
}
.home-edit-topics .topic-pill[aria-current="page"] {
    background: var(--atg-color-accent-pine);
    border-color: var(--atg-color-accent-pine);
    color: #fff;
    font-weight: 700;
}

.feed-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(1rem, 2.4vw, 1.6rem);
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--atg-color-border) 62%, white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.feed-featured-card-media {
    min-height: 100%;
    background: #152116;
}

.feed-featured-card-image,
.feed-featured-card-no-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.feed-featured-card-no-image {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    font-weight: 800;
}

.feed-featured-card-body {
    padding: clamp(1rem, 2vw, 1.45rem) clamp(0.9rem, 1.8vw, 1.3rem) clamp(1.1rem, 2.2vw, 1.45rem) 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feed-featured-card-tag {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
    color: var(--atg-color-accent-pine);
}

.feed-featured-card-title {
    margin: 0;
    font-family: var(--atg-font-serif);
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    line-height: 1.11;
}

.feed-featured-card-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.feed-featured-card-dek {
    margin: 0;
    font-size: 0.95rem;
    color: #485046;
    line-height: 1.6;
}

.feed-featured-card-meta {
    margin-top: auto;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #5c665c;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.event-pulse-strip {
    margin: 0.25rem 0 1.15rem;
    background: #10261a;
    border: 1px solid rgba(31, 56, 41, 0.5);
    color: #d7e4d8;
    border-radius: 8px;
    padding: 0.72rem 0.85rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.event-pulse-label {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 900;
    color: #b5d3b9;
}

.event-pulse-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.event-pulse-link {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #edf3ee;
}

.event-pulse-link:hover { color: #fff; }

.home-feed-grid--editorial {
    gap: 1.35rem;
}

.home-feed-grid--editorial #feed-sentinel,
.home-feed-break {
    grid-column: 1 / -1;
}

.home-feed-break {
    margin: 0.15rem 0;
}

.feed-newsletter-insert {
    background: linear-gradient(135deg, #123220 0%, #0f281a 100%);
    color: #e8f0ea;
    border: 1px solid rgba(31, 72, 49, 0.6);
    border-radius: 8px;
    padding: clamp(1rem, 2.2vw, 1.45rem);
}

.feed-newsletter-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
    color: #b8d7bc;
}

.feed-newsletter-title {
    margin: 0;
    font-family: var(--atg-font-serif);
    font-size: clamp(1.26rem, 2.1vw, 1.6rem);
    line-height: 1.15;
    color: #fff;
}

.feed-newsletter-copy {
    margin: 0.65rem 0 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(239, 245, 240, 0.82);
}

.feed-signature-module {
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--atg-color-border) 66%, white);
    border-radius: 8px;
    padding: clamp(0.95rem, 2.1vw, 1.3rem);
}

.feed-signature-kicker {
    margin: 0;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: var(--atg-color-accent-pine);
}

.feed-signature-heading {
    margin: 0.32rem 0;
    font-family: var(--atg-font-serif);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.2;
}

.feed-signature-subhead {
    margin: 0;
    font-size: 0.82rem;
    color: #59635a;
}

.feed-signature-grid {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.95rem;
}

.feed-signature-item {
    border-top: 1px solid color-mix(in srgb, var(--atg-color-border) 88%, transparent);
    padding-top: 0.55rem;
}

.feed-signature-item-title {
    display: block;
    font-size: 0.87rem;
    line-height: 1.35;
    font-weight: 600;
}

.feed-signature-item-meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.67rem;
    color: #657066;
    letter-spacing: 0.01em;
}

.feed-card {
    border-radius: 6px;
    border-color: color-mix(in srgb, var(--atg-color-border) 62%, transparent);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.feed-card:hover {
    transform: none;
    border-color: color-mix(in srgb, var(--atg-color-accent-pine) 30%, var(--atg-color-border));
    box-shadow: 0 8px 18px rgba(16, 30, 21, 0.07);
}

.feed-card-content {
    padding: 1rem 1.1rem 1.1rem;
    gap: 0.42rem;
}

.feed-card-tag {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--atg-color-accent-pine);
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    line-height: 1.2;
}

.feed-card-title {
    font-size: clamp(1.08rem, 1.42vw, 1.3rem);
    line-height: 1.15;
}

.feed-card-excerpt {
    font-size: 0.91rem;
    line-height: 1.56;
    color: var(--atg-color-text-secondary);
}

.feed-card-meta {
    font-size: 0.71rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.feed-card-author {
    font-weight: 700;
    color: #4d5a4d;
}

.home-feed-grid--editorial .feed-card--resolved-end {
    grid-column: 1 / -1;
}

.home-feed-grid--editorial .feed-card--resolved-end .feed-card-link {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}

.home-feed-grid--editorial .feed-card--resolved-end .feed-card-media {
    height: 100%;
    min-height: clamp(230px, 28vw, 340px);
}

.home-feed-grid--editorial .feed-card--resolved-end .feed-card-content {
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.feed-load-more-wrap.feed-load-more-wrap--tight {
    margin-top: 1.15rem;
}

.feed-load-more-wrap {
    margin: 2.4rem 0 1.35rem;
    padding: 0;
}

.feed-load-more-label {
    margin: 0;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: #4f5c4f;
}

.feed-load-more-btn {
    min-width: 15.5rem;
    padding: 0.88rem 2.4rem;
    border-width: 1px;
    border-radius: 7px;
    background: #fff;
    font-size: 0.74rem;
}

.caught-up-panel {
    border-radius: 8px;
    background: #fff;
    padding: 2.1rem 1.35rem;
}

.caught-up-mark {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--atg-color-accent-pine);
}

.caught-up-headline {
    font-family: var(--atg-font-serif);
    font-size: clamp(1.42rem, 2.5vw, 1.9rem);
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 980px) {
    .home-edit-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-edit-topics {
        justify-content: flex-start;
    }

    .feed-featured-card {
        grid-template-columns: 1fr;
    }

    .feed-featured-card-body {
        padding: 1rem 1rem 1.15rem;
    }

    .event-pulse-strip {
        grid-template-columns: 1fr;
    }

    .event-pulse-links {
        grid-template-columns: 1fr;
    }

    .feed-signature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-edit {
        padding: 1.05rem 0.85rem 1.25rem;
        border-radius: 10px;
    }

    .home-feed-grid--editorial {
        gap: 1rem;
    }

    .feed-load-more-wrap {
        margin-top: 1.8rem;
    }

    .home-feed-grid--editorial .feed-card--resolved-end .feed-card-link {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FOOTER IA UPGRADE — GROUPED LINKS
   ============================================================ */

.footer-grid {
    grid-template-columns: 1.35fr 1fr;
}

.footer-link-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.footer-link-group {
    margin: 0;
}

.footer-group-toggle {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    cursor: pointer;
}

.footer-group-toggle::-webkit-details-marker {
    display: none;
}

.footer-link-group .footer-heading {
    margin: 0 0 0.58rem;
}

.footer-group-toggle .footer-heading {
    margin: 0;
}

.footer-group-icon {
    font-size: 1rem;
    color: rgba(204, 221, 212, 0.55);
    transition: transform 140ms ease, color 140ms ease;
}

.footer-link-group[open] .footer-group-icon {
    transform: rotate(180deg);
    color: rgba(204, 221, 212, 0.78);
}

.footer-link-group .footer-links {
    margin-top: 0.55rem;
    gap: 0.42rem;
}

.footer-link-group .footer-links a {
    font-size: 0.8rem;
    color: rgba(204, 221, 212, 0.68);
}

.footer-link-group .footer-links a:hover {
    color: #fff;
}

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

    .footer-link-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .footer-link-groups {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .footer-link-group {
        border-top: 1px solid rgba(200, 228, 210, 0.08);
        padding-top: 0.7rem;
    }

    .footer-link-group .footer-links {
        margin-top: 0.45rem;
    }
}

@media (min-width: 621px) {
    .footer-group-toggle {
        cursor: default;
        pointer-events: none;
    }

    .footer-group-icon {
        display: none;
    }

    .footer-link-group > *:not(summary) {
        display: block !important;
    }
}

/* ============================================================
   HOMEPAGE COHESION PASS — UNIFIED EDITORIAL SYSTEM
   ============================================================ */

:root {
    --atg-home-surface: #f2ede4;
    --atg-home-panel: #ffffff;
    --atg-home-border: color-mix(in srgb, var(--atg-color-border) 72%, white);
    --atg-home-radius: 8px;
}

/* Shared shell language */
.lead-card,
.home-rail,
.newsroom-lane-featured,
.newsroom-lane-list,
.feed-featured-card,
.feed-signature-module,
.caught-up-panel {
    border-radius: var(--atg-home-radius);
    border: 1px solid var(--atg-home-border);
    background: var(--atg-home-panel);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* Hero: less landing-page energy, better editorial line flow */
.home-hero {
    min-height: 500px;
}

.home-hero-content {
    padding-top: 7.2rem;
    padding-bottom: 3.45rem;
}

.home-hero-title {
    max-width: 17.5ch;
    font-size: clamp(1.78rem, 3.8vw, 2.95rem);
    line-height: 1.08;
    text-transform: none;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.home-hero-dek {
    max-width: 46ch;
    font-size: 1rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.82);
}

.home-hero-actions {
    margin-top: 0.35rem;
}

.home-hero-actions .btn {
    border-radius: 6px;
    padding: 0.5rem 1.05rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Feature + rail under hero */
.home-lead-rail {
    margin-top: 1.55rem;
    gap: 1.15rem;
}

.lead-card {
    overflow: clip;
}

.lead-card-content {
    padding: 1.15rem 1.2rem 1.25rem;
}

.lead-card-featured-tag {
    color: #7f6427;
    letter-spacing: 0.16em;
}

.lead-card-title {
    font-family: var(--atg-font-serif);
    font-size: clamp(1.22rem, 2.2vw, 1.58rem);
    line-height: 1.16;
    text-transform: none;
    text-wrap: balance;
    -webkit-line-clamp: 2;
}

.lead-card-dek {
    font-size: 0.9rem;
    line-height: 1.58;
    color: var(--atg-color-text-secondary);
}

.home-rail {
    padding: 0.95rem 0.9rem;
}

.home-rail-header {
    border-bottom: 1px solid var(--atg-home-border);
    padding-bottom: 0.5rem;
}

.home-rail-heading {
    color: var(--atg-color-accent-pine);
    font-size: 0.96rem;
    letter-spacing: 0.08em;
}

.home-rail-item {
    padding: 0.6rem 0.2rem;
    border-bottom-color: color-mix(in srgb, var(--atg-home-border) 82%, transparent);
}

.home-rail-title {
    font-size: 0.86rem;
    line-height: 1.34;
    -webkit-line-clamp: 2;
}

.home-rail-meta {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

/* Live Desk integration into same palette */
.this-week-module {
    margin: calc(var(--atg-space-module) * 0.9) 0;
    background: linear-gradient(135deg, #11241a 0%, #152a1e 65%, #132118 100%);
    border: 1px solid rgba(34, 64, 47, 0.52);
    border-radius: var(--atg-home-radius);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.this-week-header {
    padding: 0.8rem 1.05rem 0.6rem;
}

.this-week-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.this-week-col {
    padding: 0.9rem 1.05rem 1rem;
}

.this-week-sponsored-label {
    color: rgba(204, 226, 211, 0.62);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
}

/* Lane headers: one repeatable editorial language */
.section-head {
    margin: calc(var(--atg-space-module) * 1.05) 0 0.9rem;
    border-bottom: 1px solid var(--atg-home-border);
}

.section-head::before {
    width: 2.35rem;
    height: 2px;
    background: color-mix(in srgb, var(--atg-color-accent-pine) 72%, var(--atg-color-accent-brass));
}

.section-head h2,
.section-head h3 {
    font-family: var(--atg-font-serif);
    text-transform: none;
    letter-spacing: 0;
    font-size: clamp(1.2rem, 2vw, 1.58rem);
    line-height: 1.14;
}

.section-head-desc {
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    color: #5f685f;
}

.section-head-viewall {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
}

/* Homepage packaging discipline */
.newsroom-lane-featured-title,
.feed-featured-card-title,
.feed-card-title {
    text-wrap: balance;
}

.newsroom-lane-featured-title {
    text-transform: none;
    font-family: var(--atg-font-serif);
    -webkit-line-clamp: 2;
}

.newsroom-lane-featured-dek,
.feed-card-excerpt {
    -webkit-line-clamp: 2;
}

.newsroom-lane-list-title {
    -webkit-line-clamp: 2;
}

.feed-card-title {
    -webkit-line-clamp: 2;
}

.feed-card-meta,
.newsroom-lane-featured-meta,
.newsroom-lane-list-meta {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

/* Lower-half surface cohesion + quieter stretch */
.feed-transition {
    margin-top: 1.4rem;
}

.home-edit {
    background: linear-gradient(180deg, #eee9df 0%, var(--atg-home-surface) 42%, #f4efe6 100%);
    border-color: var(--atg-home-border);
    box-shadow: none;
}

.home-feed-grid--editorial {
    gap: 1.2rem;
}

.home-feed-break--ad {
    margin: 0.35rem 0 0.65rem;
}

.home-feed-break--ad .ad-slot--inline {
    margin: 0;
    padding: 0.9rem;
    background: color-mix(in srgb, var(--atg-home-panel) 86%, #e9e3d8);
    border: 1px solid var(--atg-home-border);
    border-radius: var(--atg-home-radius);
}

.home-feed-break--ad .ad-slot-label {
    margin-bottom: 0.35rem;
    font-size: 0.56rem;
    letter-spacing: 0.16em;
}

.home-feed-break--ad .ad-slot-inner--inline {
    border-radius: 6px;
}

.feed-load-more-wrap {
    margin-top: 2.1rem;
}

.feed-load-more-label {
    color: #596659;
}

.caught-up-mark {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
}

/* Remove excessive lane color fragmentation */
.newsroom-lane-badge--scores,
.newsroom-lane-badge--gear,
.newsroom-lane-badge--betting,
.newsroom-lane-badge--courses {
    background: color-mix(in srgb, var(--atg-color-accent-pine) 90%, #163323);
    color: #fff;
}

/* Mobile: preserve hierarchy, reduce interruptions */
@media (max-width: 760px) {
    .home-hero {
        min-height: 430px;
    }

    .home-hero-content {
        padding-top: 6.1rem;
        padding-bottom: 2.5rem;
    }

    .home-hero-title {
        max-width: 14.5ch;
        font-size: clamp(1.46rem, 7.2vw, 2rem);
    }

    .home-edit {
        padding: 0.95rem 0.8rem 1.1rem;
    }

    .home-feed-break--ad {
        margin: 0.15rem 0 0.4rem;
    }

    .home-feed-break--ad .ad-slot--inline {
        padding: 0.7rem;
    }

    .home-rail-item {
        padding: 0.5rem 0.1rem;
    }
}

/* ============================================================
   HOMEPAGE SCREENSHOT POLISH — NO-IMAGE RHYTHM + LABEL TONE
   ============================================================ */

.feed-card-media {
    background: #dfe6df;
}

.feed-card-no-image {
    color: #5d6b5e;
    font-size: 1.35rem;
    background:
        linear-gradient(135deg, #e7ece6 0%, #dfe6df 100%),
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.26) 0px,
            rgba(255, 255, 255, 0.26) 8px,
            rgba(17, 45, 24, 0.03) 8px,
            rgba(17, 45, 24, 0.03) 16px
        );
    position: relative;
}

.feed-card-no-image::after {
    content: "ALL THE GOLF";
    position: absolute;
    bottom: 0.5rem;
    left: 0.55rem;
    font-size: 0.53rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(23, 54, 31, 0.56);
}

.newsroom-lane-featured-img {
    background: linear-gradient(135deg, #e7ece6 0%, #dde5dc 100%);
}

.newsroom-lane-featured-no-image {
    color: #5f6f60;
    font-size: 1.25rem;
}

.newsroom-lane-featured-no-image::after {
    content: "ATG";
    display: block;
    margin-top: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.this-week-sponsored-label {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
}

.caught-up-mark {
    font-size: 0.56rem;
    letter-spacing: 0.2em;
}

@media (max-width: 900px) {
    .home-feed-grid--editorial {
        gap: 1.05rem;
    }

    .feed-card-no-image {
        font-size: 1.18rem;
    }
}

@media (max-width: 560px) {
    .feed-card-no-image::after {
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }
}

/* ============================================================
   HOME RAIL BALANCE — EDITORIAL ONLY (NO EARLY AD TOWER)
   ============================================================ */

.home-rail {
    align-self: start;
    padding-bottom: 0.55rem;
}

.home-rail-empty {
    margin: 0.7rem 0 0.2rem;
}

/* Safety guard: no vertical ad tower in homepage Top Headlines rail */
.home-shell .home-rail .ad-slot--halfpage,
.home-shell .home-rail [data-ad-slot="homepage_sidebar_halfpage"] {
    display: none !important;
}

/* Hard fail-safe during layout stabilization: no halfpage tower anywhere */
.ad-slot--halfpage {
    display: none !important;
}

/* ============================================================
   RIGHT RAIL DEPTH FIX — BALANCED LANE COMPANION
   ============================================================ */

.newsroom-lane-body {
    align-items: stretch;
}

.newsroom-lane-list {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.newsroom-lane-list-item {
    padding: 0.85rem 1rem;
}

.newsroom-lane-list-title {
    -webkit-line-clamp: 3;
}

.newsroom-lane-list-footer {
    margin-top: auto;
    padding: 0.75rem 1rem 0.9rem;
    border-top: 1px solid color-mix(in srgb, var(--atg-color-border) 76%, transparent);
    background: color-mix(in srgb, var(--atg-color-bg-tint) 52%, transparent);
}

.newsroom-lane-list-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--atg-color-accent-pine);
}

.newsroom-lane-list-more:hover {
    color: var(--atg-color-accent-pine-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .newsroom-lane-list-item {
        padding: 0.8rem 0.9rem;
    }

    .newsroom-lane-list-footer {
        padding: 0.7rem 0.9rem 0.85rem;
    }
}

/* ── SECTION LANE LAYOUT VARIATIONS ──────────────────────────────────────── */

/* 2-up: two equal featured cards (Scores & Results) */
.newsroom-lane-body--2up {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}
@media (max-width: 700px) {
    .newsroom-lane-body--2up { grid-template-columns: 1fr; }
}

/* 3-up: three compact cards (Gear & Tips) */
.newsroom-lane-body--3up {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
}
.newsroom-lane-body--3up .newsroom-lane-featured-title {
    font-size: clamp(0.88rem, 1.5vw, 1.05rem);
}
.newsroom-lane-body--3up .newsroom-lane-featured-dek {
    display: none;
}
@media (max-width: 900px) {
    .newsroom-lane-body--3up { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .newsroom-lane-body--3up { grid-template-columns: 1fr; }
}
