/* =====================================================================
   THE AMERICAN RETIREMENT ADVISOR — "Broadsheet" Theme
   A digital broadsheet for a 25-year retirement planning publication.
   ===================================================================== */

/* ── Foundation ──────────────────────────────────────────────────── */

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

:root {
    /* Palette — newsprint + ARA brand alignment */
    --ink:          #1a1a1a;
    --ink-light:    #3d3d3d;
    --ink-faded:    #6b6b6b;
    --ink-ghost:    #999999;
    --navy:         #163057;
    --navy-light:   #1e3f6e;
    --blue-accent:  #2ea3f2;
    --gold:         #edbb5f;
    --gold-dark:    #d4a43a;
    --gold-light:   #f2cc7d;
    --paper:        #e8e6e3;
    --paper-light:  #edeceb;
    --paper-card:   #f5f4f3;
    --white:        #ffffff;
    --rule:         #cdcbc8;
    --rule-heavy:   #1a1a1a;

    /* Typography */
    --font-nameplate: 'Cinzel', Georgia, serif;
    --font-headline:  'Playfair Display', Georgia, serif;
    --font-body:      'Lora', Georgia, serif;
    --font-ui:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sizing */
    --page-max:     1200px;
    --article-max:  720px;
    --gutter:       2rem;
    --gutter-sm:    1.25rem;
}

html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--paper);
    /* Newsprint grain texture — subtle paper fiber noise */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    line-height: 1.72;
}

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

/* =====================================================================
   MASTHEAD — The most important element. Must feel like a nameplate.
   ===================================================================== */

.site-header {
    background: var(--paper-light);
    position: relative;
}

.header-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Top rule — navy bar connecting to main ARA site identity */
.header-rule-top {
    height: 5px;
    background: var(--navy);
    position: relative;
}
.header-rule-top::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; right: 0;
    height: 1px;
    background: var(--navy);
}

/* Date/volume bar — sits above the nameplate */
.header-datebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-faded);
}

.datebar-center {
    color: var(--gold-dark);
    letter-spacing: 0.14em;
}

/* Nameplate — the heart of the brand */
.nameplate {
    text-align: center;
    padding: 1.4rem 0 1rem;
}

.nameplate-link {
    display: inline-block;
    text-decoration: none;
    color: var(--ink);
    transition: opacity 0.2s;
    position: relative;
}
.nameplate-link:hover { opacity: 0.85; }

/* "The" — small italic, positioned top-left of the title like the print masthead */
.nameplate-the {
    position: absolute;
    top: 0.15em;
    left: -0.1em;
    font-family: var(--font-headline);
    font-style: italic;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--ink);
    z-index: 1;
}

/* ".com" — small, positioned top-right like the print masthead */
.nameplate-com {
    position: absolute;
    top: 0;
    right: -2.2em;
    font-family: var(--font-nameplate);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.nameplate-title {
    display: block;
    font-family: var(--font-nameplate);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    color: var(--ink);
    text-transform: uppercase;
    padding: 0 1.2em;
}

/* Gold accent rule — the newsletter's signature */
.header-rule-gold {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold) 15%,
        var(--gold) 85%,
        transparent 100%
    );
    margin: 0 auto;
    max-width: 800px;
}

/* Navigation */
.site-nav {
    padding: 0.75rem 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
}

.nav-item a {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-faded);
    padding: 0.35rem 0;
    display: inline-block;
    position: relative;
    transition: color 0.2s;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-item a:hover {
    color: var(--ink);
}

.nav-item a:hover::after {
    transform: scaleX(1);
}

.nav-external a {
    color: var(--gold-dark);
}

/* Bottom rule — heavy, like a newspaper */
.header-rule-bottom {
    height: 2px;
    background: var(--navy);
}

/* =====================================================================
   HOMEPAGE
   ===================================================================== */

.homepage {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter) 4rem;
}

/* ── Lead Story ──────────────────────────────────────────────── */

.lead-story {
    padding: 2.5rem 0 1rem;
}

.lead-story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.lead-image-link {
    display: block;
    overflow: hidden;
}

.lead-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-image-link:hover .lead-image {
    transform: scale(1.02);
}

.section-flag,
.post-card-flag,
.article-section-flag {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: color 0.15s;
}
.section-flag:hover,
.post-card-flag:hover,
.article-section-flag:hover { color: var(--gold); }

.lead-headline {
    font-family: var(--font-headline);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 0.8rem;
}

.lead-headline a {
    color: var(--ink);
    transition: color 0.2s;
}
.lead-headline a:hover { color: var(--ink-light); }

.lead-excerpt {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 1rem;
}

.lead-meta {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--ink-ghost);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.byline { font-weight: 600; color: var(--ink-faded); }
.middot { margin: 0 0.35em; opacity: 0.5; }

/* ── Section Rules — Newspaper-style dividers ──────────────── */

.section-rule {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.8rem 0 0.8rem;
    border-top: 3px solid var(--ink);
    position: relative;
}

.section-rule::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 0; right: 0;
    height: 1px;
    background: var(--ink);
}

.section-rule-label {
    font-family: var(--font-nameplate);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink);
    white-space: nowrap;
}

.section-rule-link {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    margin-left: auto;
    transition: color 0.15s;
}
.section-rule-link:hover { color: var(--gold); }

/* ── Post Feed Grid ──────────────────────────────────────────── */

.post-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
    padding: 1rem 0 2rem;
}

.post-feed-row {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Post Card ───────────────────────────────────────────────── */

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--paper-card);
    border: 1px solid var(--rule);
    border-bottom-width: 2px;
    padding-bottom: 0;
    transition: box-shadow 0.2s ease;
}

.post-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.post-card-image {
    display: block;
    overflow: hidden;
    margin-bottom: 0;
    aspect-ratio: 3/2;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.post-card-image:hover img {
    transform: scale(1.03);
}

.post-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1rem 1rem;
}

.post-card-headline {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.post-card-headline a {
    color: var(--ink);
    transition: color 0.15s;
}
.post-card-headline a:hover { color: var(--ink-light); }

.post-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ink-faded);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.post-card-meta {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--ink-ghost);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: auto;
}

.post-card-author { font-weight: 600; }

/* =====================================================================
   SINGLE ARTICLE
   ===================================================================== */

.article {
    max-width: var(--article-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    background: var(--paper-card);
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    box-shadow: 0 0 20px rgba(0,0,0,0.04);
}

/* Header */
.article-header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 2rem;
}

.article-section-flag {
    margin-bottom: 0.75rem;
}

.article-title {
    font-family: var(--font-headline);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.article-dek {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--ink-light);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.article-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.byline-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.byline-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-letter,
.avatar-letter-lg,
.avatar-letter-xl {
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--white);
}
.avatar-letter    { font-size: 1rem; }
.avatar-letter-lg { font-size: 1.4rem; }
.avatar-letter-xl { font-size: 1.8rem; }

.byline-text { text-align: left; }

.byline-author {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-light);
}

.byline-meta {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--ink-ghost);
}

/* Hero Image */
.article-hero {
    margin: 0 calc(-1 * var(--gutter)) 2.5rem;
    position: relative;
}

.article-hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-hero figcaption {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    color: var(--ink-ghost);
    text-align: right;
    padding: 0.4rem var(--gutter) 0;
    letter-spacing: 0.02em;
}

/* ── Article Body Typography ────────────────────────────────── */

.article-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--ink);
    padding-bottom: 2rem;
}

.article-body > * + * {
    margin-top: 1.5em;
}

.article-body p { margin-bottom: 0; }

.article-body h2 {
    font-family: var(--font-headline);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.18;
    margin-top: 2.5em;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.article-body h3 {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.22;
    margin-top: 2em;
}

.article-body h4 {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1.8em;
    color: var(--ink-light);
}

.article-body blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.5em 0 0.5em 1.5em;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: var(--ink-light);
}

.article-body ul,
.article-body ol {
    padding-left: 1.4em;
}

.article-body li + li { margin-top: 0.4em; }

.article-body strong { font-weight: 600; }

.article-body a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}
.article-body a:hover { text-decoration-color: var(--gold); }

.article-body img {
    margin: 1.5em auto;
}

.article-body figure {
    margin: 2em 0;
}

.article-body figcaption {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--ink-ghost);
    text-align: center;
    margin-top: 0.5rem;
}

/* Drop cap — first letter of the article */
.article-body > p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-headline);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 0.78;
    margin-right: 0.06em;
    margin-top: 0.08em;
    color: var(--gold-dark);
}

/* ── Easy Eddie's Take — Signature callout ──────────────────── */

.article-body .easy-eddie-take {
    background: var(--paper);
    border-left: 4px solid var(--gold);
    padding: 1.8rem 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.article-body .easy-eddie-take::before {
    content: 'COMMENTARY';
    font-family: var(--font-ui);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold-dark);
    position: absolute;
    top: -0.5rem;
    left: 2rem;
    background: var(--paper);
    padding: 0 0.5rem;
}

.article-body .easy-eddie-take h3 {
    font-family: var(--font-nameplate);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    margin-top: 0;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--rule);
}

.article-body .easy-eddie-take p {
    font-size: 0.95rem;
    line-height: 1.72;
    color: var(--ink-light);
}

.article-body .easy-eddie-take p + p {
    margin-top: 1em;
}

/* ── Article Footer ─────────────────────────────────────────── */

.article-footer {
    border-top: 2px solid var(--ink);
    padding-top: 2rem;
    margin-top: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.tag-pill {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-ghost);
    padding: 0.3em 0.7em;
    border: 1px solid var(--rule);
    transition: border-color 0.15s, color 0.15s;
}
.tag-pill:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.author-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--rule);
    margin-bottom: 1rem;
}

.author-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card-text h4 {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3em;
}

.author-card-text h4 a {
    color: var(--ink);
    transition: color 0.15s;
}
.author-card-text h4 a:hover { color: var(--gold-dark); }

.author-card-text p {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--ink-faded);
}

/* ── Related Section ─────────────────────────────────────────── */

.related-section {
    background: var(--paper);
    padding: 0 var(--gutter) 4rem;
}

.related-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
}

/* =====================================================================
   ARCHIVE PAGES (Tag / Author)
   ===================================================================== */

.archive-page {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter) 4rem;
}

.archive-header {
    text-align: center;
    padding: 3rem 0 1.5rem;
}

.archive-header.author-archive {
    padding: 2.5rem 0 1.5rem;
}

.author-archive-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.author-archive-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-title {
    font-family: var(--font-nameplate);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.archive-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink-faded);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.archive-rule {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

/* =====================================================================
   PAGINATION
   ===================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--rule);
}

.pagination-newer,
.pagination-older {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-faded);
    padding: 0.5em 1.2em;
    border: 1px solid var(--rule);
    transition: border-color 0.15s, color 0.15s;
}
.pagination-newer:hover,
.pagination-older:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.pagination-count {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--ink-ghost);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.site-footer {
    background: var(--navy);
    padding: 0 var(--gutter);
    color: rgba(255,255,255,0.75);
}

.footer-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
}

.footer-rule {
    height: 3px;
    background: var(--gold);
    position: relative;
}
.footer-rule::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; right: 0;
    height: 1px;
    background: var(--gold-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 3rem;
    padding: 2.5rem 0;
}

.footer-nameplate {
    margin-bottom: 0.5rem;
}

.footer-the {
    font-family: var(--font-headline);
    font-style: italic;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: -0.1em;
}

.footer-title {
    font-family: var(--font-nameplate);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
}

.footer-tagline {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
}

.footer-heading {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-sections ul {
    list-style: none;
}

.footer-sections li {
    margin-bottom: 0.35rem;
}

.footer-sections a {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.15s;
}
.footer-sections a:hover { color: var(--gold); }

.footer-about p {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.footer-about a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.2);
    text-underline-offset: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0 1.5rem;
}

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 1000px) {
    .lead-story-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-feed {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-feed-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-headline { font-size: 2rem; }
}

@media (max-width: 720px) {
    html { font-size: 16px; }

    :root {
        --gutter: 1.25rem;
    }

    .nameplate-title {
        font-size: 1.8rem;
        letter-spacing: 0.04em;
    }

    .nameplate-the { font-size: 0.78rem; }

    .header-datebar {
        font-size: 0.58rem;
    }

    .datebar-center { display: none; }

    .nav-list {
        gap: 0.2rem 0.8rem;
    }

    .nav-item a { font-size: 0.62rem; }

    .post-feed,
    .post-feed-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lead-headline { font-size: 1.7rem; }

    .article-title { font-size: 2rem; }

    .article-hero {
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
    }

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

    .article-body .easy-eddie-take {
        padding: 1.2rem 1rem;
        margin-left: calc(-0.5 * var(--gutter));
        margin-right: calc(-0.5 * var(--gutter));
    }
}

@media (max-width: 480px) {
    .nameplate-title {
        font-size: 1.35rem;
        letter-spacing: 0.02em;
    }

    .nameplate { padding: 1rem 0 0.8rem; }

    .article-title { font-size: 1.65rem; }

    .lead-headline { font-size: 1.45rem; }
}

/* =====================================================================
   GHOST OVERRIDES
   ===================================================================== */

/* Hide portal button */
.gh-portal-triggerbtn-container { display: none !important; }

/* Ghost notification styling */
.gh-notification { font-family: var(--font-ui); }

/* KG (Koenig editor) image cards */
.kg-image-card { margin: 1.5em 0; }
.kg-image-card img { margin: 0 auto; }
.kg-image-card figcaption {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--ink-ghost);
    text-align: center;
    margin-top: 0.5rem;
}

.kg-width-wide {
    margin-left: -2rem;
    margin-right: -2rem;
}

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

/* Bookmark card */
.kg-bookmark-card {
    border: 1px solid var(--rule);
    margin: 1.5em 0;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: var(--ink);
}

.kg-bookmark-content {
    flex: 1;
    padding: 1.2rem;
}

.kg-bookmark-title {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3em;
}

.kg-bookmark-description {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--ink-faded);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kg-bookmark-metadata {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--ink-ghost);
    margin-top: 0.5em;
}

.kg-bookmark-thumbnail {
    width: 180px;
    flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
