/* =============================================================================
   ORAZIOCAMPOLI.COM — CUSTOM STYLES (REFACTORED)
   Last updated: 2026-04
   --------------------------------------------------------------------------
   Major changes from previous version:
   1. Design tokens (:root) — one source of truth for colour, type, spacing
   2. Real type scale — 8 steps, no more arbitrary 0.62em / 1.05em / 1.15em
   3. Review cards FLIPPED — wine name (Playfair) is the hero, score is support
   4. .orazio-card-title now uses Playfair Display, not 'inherit'
   5. Unified .eyebrow utility replaces ~5 different small-caps treatments
   6. Bio drop cap kept; bio name reduced so they don't compete
   7. Single brand-red palette (no more rgba duplicates)
   8. Tighter responsive scale (titles step down on tablet, not just mobile)
   --------------------------------------------------------------------------
   Sections:
   0.  Design tokens
   1.  Global
   2.  Typography utilities (.eyebrow, .display, etc.)
   3.  Logo / Wordmark
   4.  Navigation — Desktop
   5.  Navigation — Dropdowns
   6.  Navigation — Mobile
   7.  Search Bar
   8.  Buttons
   9.  Homepage — Featured Cards (Visual Grid)
   10. Homepage — Review Cards (Static Grid)  ← rewritten
   11. Homepage — Bio Section
   12. Homepage — Trust Bar
   13. Homepage — Journal Grid
   14. Vintage Guide Cards
   15. Wine Guide & Cru Atlas
   16. Archive / Taxonomy Pages
   17. Single Post
   18. Filters (WPC)
   19. Footer
   20. Misc / Utilities
   21. Homepage — Editorial Overrides
   22. Responsive
============================================================================= */


/* =============================================================================
   0. DESIGN TOKENS
============================================================================= */

:root {
    /* ── Colour ─────────────────────────────────────────────────────────── */
    --c-ink:          #1a1a1a;   /* primary text, display titles */
    --c-text:         #333333;   /* body text */
    --c-text-soft:    #555555;   /* secondary body */
    --c-text-muted:   #8a8a8a;   /* meta, captions */
    --c-text-faint:   #b8b8b8;   /* eyebrows, dividers */
    --c-line:         #e6e6e6;   /* borders */
    --c-line-soft:    #efefef;
    --c-bg:           #ffffff;
    --c-bg-cream:     #f7f4ef;   /* warm section background */
    --c-bg-cream-edge:#e8e3db;

    --c-brand:        #791e23;   /* brand red */
    --c-brand-deep:   #5c151a;   /* hover */
    --c-brand-tint:   rgba(121, 30, 35, 0.10);
    --c-brand-tint-hover: rgba(121, 30, 35, 0.18);
    --c-gold:         #b58d3e;

    /* ── Type families ──────────────────────────────────────────────────── */
    --ff-display:     "Fraunces", "Playfair Display", Georgia, serif;
    --ff-body:        "Literata", Georgia, serif;
    --ff-ui:          "Inter", "Montserrat", system-ui, sans-serif;

    /* ── Type scale (rem-based, modular) ───────────────────────────────── */
    --fs-eyebrow:     11px;      /* small caps tracking labels */
    --fs-meta:        12px;      /* dates, taxonomy lines */
    --fs-body-sm:     14px;
    --fs-body:        16px;
    --fs-body-lg:     18px;      /* lead paragraphs */
    --fs-card-title:  22px;      /* review/journal card titles */
    --fs-card-title-lg: 26px;    /* highlight cards */
    --fs-section:     28px;      /* section h2 */
    --fs-display-sm:  40px;
    --fs-display:     56px;      /* bio name, hero h1 */
    --fs-display-lg:  72px;      /* page hero only */

    --fs-rating:      36px;      /* was 48px — toned down */

    /* ── Letter-spacing ─────────────────────────────────────────────────── */
    --ls-eyebrow:     0.13em;
    --ls-button:      0.16em;
    --ls-display:     -0.015em;

    /* ── Line-height ────────────────────────────────────────────────────── */
    --lh-tight:       1.1;
    --lh-snug:        1.35;
    --lh-body:        1.7;

    /* ── Spacing ────────────────────────────────────────────────────────── */
    --sp-1:  4px;
    --sp-2:  8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  24px;
    --sp-6:  32px;
    --sp-7:  48px;
    --sp-8:  64px;
    --sp-9:  80px;
    --sp-10: 100px;

    /* ── Misc ───────────────────────────────────────────────────────────── */
    --shadow-sm:  0 4px 14px rgba(0, 0, 0, 0.05);
    --shadow-md:  0 10px 30px rgba(0, 0, 0, 0.07);
    --shadow-lg:  0 20px 40px rgba(0, 0, 0, 0.10);
    --shadow-brand: 0 18px 40px rgba(121, 30, 35, 0.18);

    --radius-sm:  3px;
    --radius-md:  6px;

    --t-fast:  0.2s ease;
    --t-base:  0.3s ease;
}


/* =============================================================================
   1. GLOBAL
============================================================================= */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =============================================================================
   2. TYPOGRAPHY UTILITIES
   Use these instead of redefining the same small-caps eyebrow 5 times.
============================================================================= */

.eyebrow,
.section-eyebrow {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow);
    color: var(--c-text-muted);
    line-height: 1.4;
    margin: 0;
}

.eyebrow--brand { color: var(--c-brand); }
.eyebrow--ink   { color: var(--c-ink); }


/* =============================================================================
   3. LOGO / WORDMARK
   NOTE: The wordmark is currently a PNG. To match the site's editorial
   direction, replace the image file with a Playfair Display logotype.
   The text-fallback rules below apply if you switch to a CSS-rendered
   wordmark via .site-title.
============================================================================= */

.custom-logo-link img,
.custom-logo {
    mix-blend-mode: multiply;
    background: transparent;
}

/* If you switch to text-based site title in Astra customizer */
.site-title a {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    text-transform: lowercase;
}

.site-description {
    font-family: var(--ff-ui);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}


/* =============================================================================
   4. NAVIGATION — DESKTOP
============================================================================= */

#ast-desktop-header .ast-builder-menu .menu-item > .menu-link {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-text-soft);
    font-weight: 700;
    position: relative;
    padding-left: 8px;
    padding-right: 8px;
    transition: color var(--t-base);
}

#ast-desktop-header .ast-builder-menu .menu-item:hover > .menu-link,
#ast-desktop-header .ast-builder-menu .current-menu-item > .menu-link {
    color: var(--c-brand);
}

/* Pipe dividers between top-level items */
#ast-desktop-header .ast-builder-menu .menu-item:not(:last-child) > .menu-link::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #cccccc;
    font-weight: 300;
    font-size: 14px;
    pointer-events: none;
}

/* Highlighted "Reviews" item */
.main-navigation .highlight-menu-item a {
    color: var(--c-brand);
    font-weight: 700;
}

/* Gold text modifier (Wine Guide link) */
.gold-text a {
    color: var(--c-gold);
}


/* =============================================================================
   5. NAVIGATION — DROPDOWNS
============================================================================= */

#ast-desktop-header .ast-builder-menu .sub-menu {
    border: none;
    border-top: 3px solid var(--c-brand);
    box-shadow: var(--shadow-md);
    border-radius: 0;
    padding: 0;
    min-width: 180px;
    width: auto;
}

#ast-desktop-header .ast-builder-menu .sub-menu .menu-item .menu-link {
    font-family: var(--ff-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-text);
    padding: 12px 18px;
    border-bottom: 1px solid var(--c-line-soft);
    transition: all var(--t-fast);
}

#ast-desktop-header .ast-builder-menu .sub-menu .menu-item:hover > .menu-link {
    background-color: #fafafa;
    color: var(--c-brand);
    padding-left: 22px;
}

#ast-desktop-header .ast-builder-menu .sub-menu .menu-item > .menu-link::after {
    display: none;
}


/* =============================================================================
   6. NAVIGATION — MOBILE
============================================================================= */

.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
    background-color: var(--c-bg);
}

.ast-mobile-popup-header {
    border-bottom: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto;
    z-index: 1000000;
}

.ast-mobile-popup-header .ast-mobile-popup-heading { display: none; }

.ast-mobile-popup-header .menu-toggle-close {
    color: var(--c-brand);
    font-size: 30px;
    background: transparent;
}

.ast-builder-menu-mobile .main-navigation .menu-item > a {
    font-family: var(--ff-display);
    border-bottom: none;
    font-weight: 400;
    font-size: 26px;
    padding: 14px 30px;
    color: var(--c-ink);
    text-align: left;
    background-color: transparent;
}

.ast-builder-menu-mobile .main-navigation li {
    height: auto;
}

.ast-builder-menu-mobile .main-navigation .sub-menu {
    background-color: transparent;
    position: static;
    transform: none;
    margin: 0;
    padding: 6px 0 14px 0;
    width: 100%;
    box-shadow: none;
    border-top: none;
    clear: both;
}

.ast-builder-menu-mobile .main-navigation .sub-menu .menu-item > a {
    font-family: var(--ff-ui);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 50px;
    color: var(--c-text-muted);
    background-color: transparent;
    display: block;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-cta-button > a {
    background-color: transparent;
    color: var(--c-brand);
    font-weight: 700;
    font-size: 22px;
    padding-left: 30px;
    margin-top: 20px;
    text-transform: uppercase;
    font-family: var(--ff-ui);
    letter-spacing: 0.12em;
}


/* =============================================================================
   7. SEARCH BAR (Guide pages)
============================================================================= */

.guide-search-wrapper {
    position: sticky;
    top: 20px;
    z-index: 1000;
    padding: 10px 18px;
    margin: 0 auto var(--sp-6) auto;
    width: 100%;
    max-width: 650px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-line-soft);
    box-sizing: border-box;
}

.search-icon {
    width: 22px;
    height: 22px;
    margin-left: 8px;
    margin-right: 14px;
    opacity: 0.55;
}

#guideSearchInput {
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--c-text);
    padding: 8px 0;
    outline: none;
    box-sizing: border-box;
}

#guideSearchInput::placeholder {
    color: #aaa;
    font-weight: 300;
}


/* =============================================================================
   8. BUTTONS
============================================================================= */

.guide-cta-button,
.orazio-main-btn,
.ej-view-all-btn {
    display: inline-block;
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: var(--ls-button);
    padding: 16px 38px;
    border: 1px solid var(--c-brand);
    background: transparent;
    color: var(--c-brand);
    transition: all var(--t-base);
    cursor: pointer;
}

.guide-cta-button:hover,
.orazio-main-btn:hover,
.ej-view-all-btn:hover {
    background-color: var(--c-brand);
    color: #fff;
}

.guide-cta-button { border-width: 2px; margin-bottom: 20px; }

/* Buy button (filled) */
.custom-buy-button a {
    background-color: var(--c-brand);
    color: #fff;
    padding: 12px 24px;
    font-family: var(--ff-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: var(--ls-button);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--t-base), transform var(--t-base);
}

.custom-buy-button a:hover {
    background-color: var(--c-brand-deep);
    transform: scale(1.03);
}


/* =============================================================================
   9. HOMEPAGE — FEATURED CARDS (VISUAL GRID)
============================================================================= */

.visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--sp-6);
}

.visual-card {
    position: relative;
    height: 300px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.teaser-card { height: 250px; }

.visual-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-brand);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background var(--t-base);
}

.visual-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(121,30,35,0.9) 0%, rgba(121,30,35,0.4) 100%);
}

.card-label {
    color: rgba(255,255,255,0.85);
    font-family: var(--ff-ui);
    text-transform: uppercase;
    font-size: var(--fs-eyebrow);
    letter-spacing: var(--ls-eyebrow);
    margin-bottom: 10px;
    font-weight: 700;
}

.card-title {
    color: #fff;
    font-family: var(--ff-display);
    font-size: 28px;
    line-height: var(--lh-tight);
    margin: 0;
    letter-spacing: var(--ls-display);
}

.card-arrow {
    position: absolute;
    bottom: var(--sp-6);
    right: var(--sp-6);
    color: #fff;
    font-size: 1.4em;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--t-base);
}

.visual-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Teaser section */
.guide-teaser-wrapper { margin-top: 0; padding-top: 0; }
.teaser-section { margin-top: 0; }

.teaser-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 18px;
}

.teaser-btn-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}


/* =============================================================================
   10. HOMEPAGE — REVIEW CARDS (REWRITTEN)
   Hierarchy flipped: WINE NAME is the hero, score supports it.
============================================================================= */

.orazio-static-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.orazio-static-card {
    text-align: center;
    padding: 32px 22px 28px;
    background: var(--c-bg);
    border-top: 3px solid var(--c-brand);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--t-base), box-shadow var(--t-base);
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.orazio-static-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(121, 30, 35, 0.12);
}

/* HERO: the wine name, in Playfair */
.orazio-card-title {
    font-family: var(--ff-display);
    font-size: var(--fs-card-title);
    font-weight: 700;
    line-height: var(--lh-snug);
    letter-spacing: var(--ls-display);
    color: var(--c-ink);
    margin: 0 0 18px 0;
    min-height: 2.7em;     /* visual alignment across rows */
    display: flex;
    align-items: center;
    justify-content: center;
}

.orazio-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast);
}

.orazio-static-card:hover .orazio-card-title a {
    color: var(--c-brand);
}

/* SUPPORT: the score, smaller and quieter */
.orazio-card-rating {
    font-family: var(--ff-display);
    font-size: var(--fs-rating);
    font-weight: 700;
    color: var(--c-brand);
    line-height: 1;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
    /* tiny accent line under the score */
    position: relative;
    padding-bottom: 12px;
}

.orazio-card-rating::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: var(--c-line);
}

/* META */
.orazio-card-meta {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin: 0;
}

.orazio-card-meta a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast);
}

.orazio-card-meta a:hover { color: var(--c-brand); }

.orazio-card-link-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.orazio-btn-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

/* legacy carousel */
.homepage-review-rating {
    font-size: var(--fs-display-sm);
    font-family: var(--ff-display);
    font-weight: 700;
    color: var(--c-brand);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1;
}


/* =============================================================================
   11. HOMEPAGE — BIO SECTION
============================================================================= */

.home-bio-wrapper {
    background-color: var(--c-bg);
    padding: var(--sp-10) 20px;
    margin-top: 40px;
    border-top: 1px solid var(--c-line-soft);
    border-bottom: 1px solid var(--c-line-soft);
}

.home-bio-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: var(--sp-9);
    align-items: center;
}

.bio-image {
    width: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
}

.bio-content { padding: 10px 0; }

.bio-subtitle {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    color: var(--c-brand);
    text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow);
    margin-bottom: 14px;
}

.bio-title {
    font-family: var(--ff-display);
    font-size: var(--fs-display);     /* was 4.6em — toned down so drop cap can breathe */
    margin: 0 0 22px 0;
    color: var(--c-ink);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-display);
    font-weight: 700;
}

.bio-line {
    width: 56px;
    height: 2px;
    background: var(--c-brand);
    margin-bottom: var(--sp-6);
}

.bio-typography p {
    font-family: var(--ff-body);
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: var(--c-text-soft);
    margin-bottom: 22px;
}

.bio-typography > p:first-of-type::first-letter {
    float: left;
    font-family: var(--ff-display);
    font-size: 4.4em;
    line-height: 0.82;
    padding-right: 12px;
    padding-top: 6px;
    color: var(--c-brand);
    font-weight: 700;
}

.bio-via-logo { margin-bottom: 30px; }

.bio-via-logo img {
    max-width: 130px;
    height: auto;
    display: block;
    opacity: 0.75;
    transition: opacity var(--t-base), transform var(--t-base);
}

.bio-via-logo img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.bio-link {
    display: inline-block;
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    color: var(--c-brand);
    text-transform: uppercase;
    letter-spacing: var(--ls-button);
    text-decoration: none;
    border-bottom: 2px solid var(--c-brand);
    padding-bottom: 4px;
    transition: letter-spacing var(--t-base);
}

.bio-link:hover { letter-spacing: 0.22em; color: var(--c-brand); }


/* =============================================================================
   12. HOMEPAGE — TRUST BAR
============================================================================= */

.trust-bar-container {
    text-align: center;
    padding: 40px 20px 0 20px;
}

.trust-label {
    font-family: var(--ff-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--c-text-faint);
    margin-bottom: 22px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-7);
    flex-wrap: wrap;
}

.trust-logos img {
    max-height: 32px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity var(--t-base), filter var(--t-base);
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}


/* =============================================================================
   13. HOMEPAGE — JOURNAL GRID
============================================================================= */

.editorial-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    max-width: 1200px;
    margin: 0 auto;
}

.editorial-journal-card {
    text-decoration: none;
    background: var(--c-bg);
    border: 1px solid var(--c-line-soft);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
}

.editorial-journal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-line);
}

.ej-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid transparent;
    transition: border-color var(--t-base);
}

.editorial-journal-card:hover .ej-img {
    border-bottom-color: var(--c-brand);
}

.ej-info {
    padding: 24px 24px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ej-meta {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-text-muted);
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    display: block;
}

.ej-title {
    font-family: var(--ff-display);
    font-size: var(--fs-card-title);
    margin: 0;
    color: var(--c-ink);
    line-height: var(--lh-snug);
    letter-spacing: var(--ls-display);
}

.ej-btn-container {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

/* Legacy journal grid */
.journal-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    margin-top: 20px;
}

.journal-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.journal-title {
    font-family: var(--ff-display);
    font-size: var(--fs-card-title);
    line-height: var(--lh-snug);
    margin-bottom: 6px;
}

.journal-title a {
    text-decoration: none;
    color: var(--c-ink);
    font-weight: 700;
}

.journal-date {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow);
}


/* =============================================================================
   14. VINTAGE GUIDE CARDS
============================================================================= */

.highlights-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.highlight-card {
    background: var(--c-bg);
    border-top: 3px solid var(--c-brand);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--t-base), box-shadow var(--t-base);
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-brand);
}

.highlight-image-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.highlight-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.highlight-card:hover .highlight-image-box img {
    transform: scale(1.05);
}

.highlight-content {
    padding: 26px 22px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.highlight-title {
    font-family: var(--ff-display);
    font-size: var(--fs-card-title-lg);
    font-weight: 700;
    line-height: var(--lh-snug);
    margin: 0;
    color: var(--c-ink);
    letter-spacing: var(--ls-display);
    transition: color var(--t-fast);
}

.highlight-card:hover .highlight-title {
    color: var(--c-brand);
}


/* =============================================================================
   15. WINE GUIDE & CRU ATLAS
============================================================================= */

.guide-main-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.guide-hero-section {
    background-color: var(--c-bg);
    color: var(--c-text);
    text-align: center;
    padding: var(--sp-9) 20px;
    margin-bottom: var(--sp-8);
    border-bottom: 1px solid var(--c-line-soft);
    box-sizing: border-box;
}

.guide-hero-content h1 {
    font-family: var(--ff-display);
    font-size: var(--fs-display-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    color: var(--c-brand);
    line-height: var(--lh-tight);
}

.guide-divider {
    width: 80px;
    height: 2px;
    background: var(--c-line);
    margin: var(--sp-6) auto;
}

.guide-subtitle {
    font-family: var(--ff-body);
    font-size: var(--fs-body-lg);
    color: var(--c-text-soft);
    max-width: 620px;
    margin: 0 auto;
    font-weight: 400;
    line-height: var(--lh-body);
}

.guide-section { margin-bottom: var(--sp-8); }

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--ff-display);
    font-size: var(--fs-section);
    text-transform: uppercase;
    color: var(--c-ink);
    margin: 0 20px 0 0;
    white-space: nowrap;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.section-line {
    height: 1px;
    background: var(--c-line);
    width: 100%;
    display: block;
}

.center-header { justify-content: center; text-align: center; }
.center-header h2 { margin-right: 0; margin-bottom: 0; }
.center-header .section-line { display: none; }

/* Accordions */
.region-group { margin-bottom: 14px; }

.region-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    cursor: pointer;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
}

.region-toggle:hover {
    background: #fafafa;
    border-color: var(--c-text-faint);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.region-group-title {
    font-family: var(--ff-display);
    font-size: 22px;
    color: var(--c-ink);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.region-badge {
    background: var(--c-brand);
    color: #fff;
    font-family: var(--ff-ui);
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.accordion-arrow {
    font-size: 1.2em;
    color: var(--c-brand);
    transition: transform var(--t-base);
    line-height: 1;
}

.accordion-content {
    padding-top: 30px;
    padding-bottom: 40px;
}

/* A-Z Text Index */
.text-index-container {
    column-count: 4;
    column-gap: 50px;
}

.index-letter-group {
    break-inside: avoid;
    margin-bottom: 36px;
}

.index-letter {
    font-family: var(--ff-display);
    font-size: var(--fs-display-sm);
    color: var(--c-brand);
    border-bottom: 2px solid var(--c-line-soft);
    margin: 0 0 14px 0;
    padding-bottom: 4px;
    line-height: 1;
    font-weight: 700;
}

.text-index-item {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--c-text-soft);
    text-decoration: none;
    padding: 7px 0;
    display: block;
    transition: all var(--t-fast);
}

.text-index-item:hover {
    color: var(--c-brand);
    padding-left: 8px;
    font-weight: 700;
}

/* Cru Atlas */
.cru-atlas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cru-header {
    text-align: center;
    margin-bottom: var(--sp-8);
}

.cru-header h1 {
    font-family: var(--ff-display);
    font-size: var(--fs-display);
    color: var(--c-brand);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

#cruSearch {
    width: 100%;
    max-width: 500px;
    padding: 12px 26px;
    border-radius: 30px;
    border: 1px solid var(--c-line);
    margin-top: 20px;
    outline: none;
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

#cruSearch:focus {
    border-color: var(--c-brand);
    box-shadow: 0 0 10px var(--c-brand-tint);
}

.cru-parent-section { margin-bottom: var(--sp-7); }

.cru-parent-title {
    font-family: var(--ff-display);
    font-size: 26px;
    border-bottom: 2px solid var(--c-brand);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.cru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.cru-card {
    text-decoration: none;
    transition: transform var(--t-base);
}

.cru-card:hover { transform: translateY(-5px); }

.cru-card-inner {
    height: 150px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.cru-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    transition: background var(--t-base);
}

.cru-card:hover .cru-overlay { background: rgba(121, 30, 35, 0.8); }

.cru-overlay h3 {
    color: #fff;
    margin: 0;
    font-family: var(--ff-display);
    font-size: var(--fs-body-lg);
    letter-spacing: 0.03em;
    font-weight: 700;
    text-transform: uppercase;
}

h2.wp-block-post-template-heading,
.ast-archive-description .ast-archive-title { display: none; }


/* =============================================================================
   16. ARCHIVE / TAXONOMY PAGES
============================================================================= */

.taxonomy-appellation .appellation-hero-wrapper,
.taxonomy-appellation header.entry-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: block;
    overflow: hidden;
}

.taxonomy-appellation img.term-hero-image,
.taxonomy-appellation .appellation-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.taxonomy-appellation img {
    border: none;
    padding: 0;
    box-shadow: none;
}

.taxonomy-appellation .hero-title-overlay {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.appellation-hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}


.appellation-deep-dive {
    font-family: var(--ff-body);
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: var(--c-text);
}


/* =============================================================================
   17. SINGLE POST
============================================================================= */

.single-post .entry-content img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.single-post .entry-content .alignleft {
    float: left;
    margin-right: 20px;
}

.single-post .entry-content figure {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.wp-block-post-featured-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}


/* =============================================================================
   18. FILTERS (WPC)
============================================================================= */

.fe-container { display: block; }

.wpc-filters-widget-content ul,
.wpc-filter-content ul {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #fdfdfd;
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-sm);
}

.wpc-filters-widget-content ul::-webkit-scrollbar,
.wpc-filter-content ul::-webkit-scrollbar { width: 6px; }

.wpc-filters-widget-content ul::-webkit-scrollbar-thumb,
.wpc-filter-content ul::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}


/* =============================================================================
   19. FOOTER
============================================================================= */

#colophon .custom-footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--sp-7) 0;
}

.footer-column {
    width: 33.33%;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-column h4 {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    letter-spacing: var(--ls-eyebrow);
    color: var(--c-ink);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li { margin-bottom: 10px; }

.footer-column ul li a {
    font-family: var(--ff-body);
    font-size: var(--fs-body-sm);
    text-decoration: none;
    color: var(--c-text-soft);
    transition: color var(--t-fast);
}

.footer-column ul li a:hover { color: var(--c-brand); }

.footer-credential-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.footer-via-logo img {
    width: 60px;
    height: auto;
    opacity: 0.4;
    transition: opacity var(--t-base), transform var(--t-base);
}

.footer-via-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-credential-text {
    font-family: var(--ff-ui);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c-text-faint);
    margin-top: 10px;
    text-align: right;
}


/* =============================================================================
   20. MISC / UTILITIES
============================================================================= */

/* Tiny Slider */
.home .tns-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

.home .tns-controls button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: var(--c-brand);
    cursor: pointer;
    pointer-events: auto;
    transition: background var(--t-fast), color var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .tns-controls button:hover {
    background: var(--c-brand);
    color: #fff;
}

.home .tns-controls button[data-controls="prev"] { margin-left: -20px; }
.home .tns-controls button[data-controls="next"] { margin-right: -20px; }

.home .tns-nav { margin-top: 20px; text-align: center; }

.home .tns-nav button {
    background-color: #ccc;
    border: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    padding: 0;
    margin: 0 5px;
    cursor: pointer;
}

.home .tns-nav button.tns-nav-active { background-color: var(--c-brand); }

/* About philosophy */
.about-philosophy-section {
    background: #f9f9f9;
    padding: var(--sp-9) 0;
    text-align: center;
    border-top: 1px solid var(--c-line-soft);
    border-bottom: 1px solid var(--c-line-soft);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.philosophy-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.phil-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =============================================================================
   21. HOMEPAGE — EDITORIAL OVERRIDES
============================================================================= */

/* ─── 21a. ATLAS TEASER ──────────────────────────────────────────────────── */

body.home .guide-teaser-wrapper {
    background-color: var(--c-bg-cream);
    box-shadow: 0 0 0 100vmax var(--c-bg-cream);
    clip-path: inset(0 -100vmax);
    padding: 70px 0;
    margin: 0;
    border-top: 1px solid var(--c-bg-cream-edge);
    border-bottom: 1px solid var(--c-bg-cream-edge);
}

body.home .guide-teaser-wrapper .teaser-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

body.home .guide-teaser-wrapper .teaser-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 auto;
    max-width: 1200px;
}

body.home .guide-teaser-wrapper .visual-card {
    height: 280px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

body.home .guide-teaser-wrapper .visual-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-brand);
}

body.home .guide-teaser-wrapper .teaser-btn-container {
    margin-top: 40px;
    text-align: center;
}

body.home .guide-teaser-wrapper .guide-cta-button {
    border-color: var(--c-ink);
    color: var(--c-ink);
    margin-bottom: 0;
}

body.home .guide-teaser-wrapper .guide-cta-button:hover {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}


/* ─── 21b. REVIEW CARDS — homepage section spacing ──────────────────────── */

body.home .orazio-static-grid {
    gap: 24px;
    margin: 0;
}

body.home .orazio-btn-container {
    padding: 30px 0 60px;
    background: var(--c-bg);
    text-align: center;
    margin: 0;
}


/* ─── 21c. TRUST BAR ─────────────────────────────────────────────────────── */

body.home .trust-bar-container {
    background-color: var(--c-bg-cream);
    box-shadow: 0 0 0 100vmax var(--c-bg-cream);
    clip-path: inset(0 -100vmax);
    padding: 56px 0;
    border-top: 1px solid var(--c-bg-cream-edge);
    border-bottom: 1px solid var(--c-bg-cream-edge);
    text-align: center;
}


/* ─── 21d. BIO — magazine spread ─────────────────────────────────────────── */

body.home .home-bio-wrapper {
    padding: 0;
    margin-top: 0;
    border-top: 1px solid var(--c-line-soft);
    border-bottom: 1px solid var(--c-line-soft);
    overflow: hidden;
    background: var(--c-bg);
}

body.home .home-bio-grid {
    max-width: 100%;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin: 0;
}

body.home .bio-image {
    min-height: 460px;
    height: 100%;
    max-height: 560px;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
    background-position: center top;
}

body.home .bio-content {
    padding: var(--sp-9) var(--sp-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--c-bg);
}

body.home .bio-title {
    font-size: var(--fs-display);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-display);
}


/* ─── 21e. JOURNAL — newspaper grid ──────────────────────────────────────── */

body.home .wp-block-group:has(.editorial-journal-grid) {
    padding-top: 72px;
    padding-bottom: 80px;
}

body.home .wp-block-group:has(.editorial-journal-grid) h1,
body.home .wp-block-group:has(.editorial-journal-grid) h2 {
    font-family: var(--ff-ui);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-text-faint);
    text-align: center;
    margin-bottom: 0;
}

body.home .wp-block-group:has(.editorial-journal-grid) h1::after,
body.home .wp-block-group:has(.editorial-journal-grid) h2::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--c-brand);
    margin: 14px auto 44px auto;
}

body.home .editorial-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--c-line);
    border: 1px solid var(--c-line);
    max-width: 1200px;
    margin: 0 auto;
}

body.home .editorial-journal-card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg);
    border: none;
    border-radius: 0;
    transition: background var(--t-fast);
}

body.home .editorial-journal-card:hover {
    background: #fdf8f8;
    transform: none;
    box-shadow: none;
}

body.home .editorial-journal-card:hover .ej-img {
    border-bottom-color: var(--c-brand);
}

body.home .ej-img {
    height: 200px;
    background-size: cover;
    background-position: center top;
    border-bottom: 3px solid transparent;
    transition: border-color var(--t-fast);
    flex-shrink: 0;
}

body.home .ej-info {
    padding: 22px 22px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

body.home .ej-title {
    font-size: var(--fs-card-title);
    line-height: var(--lh-snug);
}

body.home .ej-btn-container {
    margin-top: 48px;
    margin-bottom: 0;
    text-align: center;
}


/* ─── 21f. VINTAGE GUIDES — cream bookend ────────────────────────────────── */

body.home .wp-block-group:has(.highlights-grid-container) {
    background-color: var(--c-bg-cream);
    box-shadow: 0 0 0 100vmax var(--c-bg-cream);
    clip-path: inset(0 -100vmax);
    padding-top: 80px;
    padding-bottom: 80px;
    border-top: 1px solid var(--c-bg-cream-edge);
}

body.home .wp-block-group:has(.highlights-grid-container) h1,
body.home .wp-block-group:has(.highlights-grid-container) h2 {
    font-family: var(--ff-ui);
    color: var(--c-ink);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
}

body.home .wp-block-group:has(.highlights-grid-container) h1::after,
body.home .wp-block-group:has(.highlights-grid-container) h2::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--c-brand);
    margin: 14px auto 44px auto;
}

body.home .wp-block-group:has(.highlights-grid-container) .highlights-grid-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* =============================================================================
   22. RESPONSIVE
============================================================================= */

@media (max-width: 1024px) {
    :root {
        --fs-display:    44px;
        --fs-display-lg: 56px;
        --fs-section:    24px;
        --fs-card-title: 20px;
        --fs-rating:     32px;
    }

    .orazio-static-grid       { grid-template-columns: repeat(2, 1fr); }
    .editorial-journal-grid   { grid-template-columns: repeat(2, 1fr); }
    .text-index-container     { column-count: 3; column-gap: 30px; }
    .home-bio-grid            { gap: 40px; }

    body.home .bio-content    { padding: 56px 48px; }
}

@media (max-width: 900px) {
    body.home .home-bio-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.home .bio-image {
        min-height: 380px;
        height: 380px;
    }

    body.home .bio-content {
        padding: 52px 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-display:    32px;
        --fs-display-lg: 40px;
        --fs-section:    22px;
        --fs-card-title: 19px;
        --fs-rating:     30px;
        --fs-body-lg:    16px;
    }

    /* Guide */
    .teaser-grid                                     { grid-template-columns: 1fr; }
    .visual-grid                                     { grid-template-columns: 1fr; gap: 15px; }
    .visual-card                                     { height: 200px; }
    .guide-hero-section                              { padding-left: 20px; padding-right: 20px; }
    .guide-main-wrapper                              { padding-left: 15px; padding-right: 15px; }

    /* Cards */
    .orazio-static-grid                              { grid-template-columns: 1fr; }
    .editorial-journal-grid                          { grid-template-columns: 1fr; gap: 20px; }
    .ej-img                                          { height: 200px; }
    .highlights-grid-container                       { grid-template-columns: 1fr; }
    .journal-grid-container                          { grid-template-columns: 1fr; }

    /* Text index */
    .text-index-container                            { column-count: 2; column-gap: 20px; }
    .index-letter                                    { font-size: 30px; }
    .region-toggle                                   { padding: 18px 20px; }
    .region-group-title                              { font-size: 18px; }

    /* Homepage overrides */
    body.home .guide-teaser-wrapper                  { padding: 52px 0; }
    body.home .guide-teaser-wrapper .teaser-grid     { grid-template-columns: 1fr 1fr; gap: 10px; }
    body.home .guide-teaser-wrapper .visual-card     { height: 200px; }

    body.home .trust-logos                           { gap: 24px; }
    body.home .trust-logos img                       { max-height: 24px; }

    body.home .editorial-journal-grid                { grid-template-columns: 1fr; }
    body.home .ej-img                                { height: 180px; }

    body.home .bio-image                             { min-height: 320px; height: 320px; }
    body.home .bio-content                           { padding: 44px 22px; }

    /* Archive */
    .ast-archive-description,
    .ast-archive-description .elementor-widget-wrap,
    .ast-archive-description .wp-block-cover__inner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .ast-archive-description h1,
    .ast-archive-description .ast-archive-title,
    .ast-archive-description .entry-title {
        text-align: center;
        margin: 0 auto;
        width: 100%;
        display: block;
    }

    .ast-archive-description p,
    .ast-archive-description a {
        text-align: center;
        margin: 0 auto;
    }

    /* Taxonomy hero — boxed (full-bleed breakout removed) */
    .appellation-hero-wrapper,
    .taxonomy-appellation .term-hero-image,
    .taxonomy-appellation .appellation-hero-wrapper {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: auto;
        position: relative;
    }

    /* Footer */
    #colophon .custom-footer-container {
        flex-wrap: wrap;
        padding: 40px 20px;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .footer-credential-column   { align-items: center; }
    .footer-credential-text     { text-align: center; }
    .site-footer                { padding-bottom: 60px; }
}

@media (max-width: 480px) {
    .text-index-container                          { column-count: 1; }
    body.home .guide-teaser-wrapper .teaser-grid   { grid-template-columns: 1fr; }
    body.home .guide-teaser-wrapper .visual-card   { height: 180px; }
}

/* =============================================================================
   TYPOGRAPHY REFRESH 2026 — Fraunces / Lora / Inter (Modern Editorial)
============================================================================= */
h1,h2,h3,h4,h5,h6,.appellation-title,.grape-editorial-title,.vg-year,.vintage-badge-year,.site-title a,.entry-title,.ast-archive-description .ast-archive-title{font-family:var(--ff-display)!important;font-optical-sizing:auto;}
h1,h2,h3,.appellation-title,.entry-title{font-weight:500!important;letter-spacing:-0.018em;}
h4,h5,h6{font-weight:600!important;}
body{font-family:var(--ff-body);}
.main-navigation a,.ast-builder-menu-mobile .main-navigation .menu-item>a,.menu-item>a,button,.button,input,select{font-family:var(--ff-ui);}
/* animated brand underline for inline content links */
.appellation-deep-dive a,.appellation-main-text a,.article-content-typography a,.entry-content p a,.entry-content li a{color:var(--c-brand);text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-size:0% 1px;background-position:0 1.12em;background-repeat:no-repeat;transition:background-size .3s ease,color .2s;}
.appellation-deep-dive a:hover,.appellation-main-text a:hover,.article-content-typography a:hover,.entry-content p a:hover,.entry-content li a:hover{background-size:100% 1px;color:var(--c-brand-deep);}
/* lighter, intentional emphasis */
.appellation-deep-dive strong,.article-content-typography strong,.appellation-main-text strong{font-weight:600;color:var(--c-ink);}
/* eyebrows: a touch tighter, calmer */
.eyebrow,.reviews-section-title,.vg-eyebrow{letter-spacing:0.13em;}