/* ============================================================================
   WHISKEY LORE | HANNUSH TEMPLATE
   Editorial design system — working revision, November 2026
   Foundation grid retained. Responsive rules are grouped at the end.
   ============================================================================ */

/* 01. BRAND VARIABLES AND FONT FAMILIES
   Font import is self-contained for this transition; consolidate with index.php later. */

@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&family=Barlow+Condensed:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400;1,700&display=swap");
:root {
    --wl-midnight: #111C28;
    --wl-ivory: #F6F2E9;
    --wl-copper: #AF8941;
    --wl-graphite: #353C43;
    --wl-burgundy: #6F0F1B;
    --wl-white: #FFFFFF;
    --wl-rule: rgba(175, 137, 65, .65);
    --wl-container: 1200px;
    --wl-heading-font: "Libre Baskerville", Georgia, serif;
    --wl-body-font: "Barlow", Arial, sans-serif;
    --wl-ui-font: "Barlow Condensed", "Arial Narrow", sans-serif;
}

/* 02. GLOBAL TYPOGRAPHY AND EDITORIAL ELEMENTS */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wl-ivory); color: var(--wl-midnight); font-family: var(--wl-body-font); font-size: 17px; line-height: 1.5; }
body, button, input, select, textarea { font-family: var(--wl-body-font); }
#wrapper { overflow: visible; }
img { max-width: 100%; height: auto; }
p {
    margin: 0 0 1.5rem;
    font-size: 1.125rem;
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .55em;
    line-height: 1.12;
}

h1, h2 {
    font-family: var(--wl-heading-font);
    color: var(--wl-burgundy);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.4rem, 4.2vw, 3.5rem);
}

h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 2rem 0 0.4rem;
}

h3, h4, h5, h6 {
    font-family: var(--wl-body-font);
    color: var(--wl-midnight);
    font-weight: 700;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 1.5rem 0 0.3rem;
}

h4 {
    font-size: 1.1rem;
    font-style: italic;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: .95rem;
}
a { color: var(--wl-burgundy); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--wl-copper); }
:focus-visible { outline: 2px solid var(--wl-copper); outline-offset: 3px; }
::selection { background: var(--wl-burgundy); color: var(--wl-white); }
ul, ol { margin-bottom: 1rem; }
li::marker { color: var(--wl-burgundy); }
hr { border: 0; border-top: 1px solid var(--wl-rule); margin: 1.5rem 0; }

/* Accessibility: Skip to Main Content */
a.skiplink {
    position: fixed;
    top: -1000px;
    left: 0;
    z-index: 10000;
    padding: 12px 16px;
    background: var(--wl-midnight);
    color: var(--wl-white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
a.skiplink:focus {
    top: 0;
    color: var(--wl-white);
    outline: 3px solid var(--wl-copper);
    outline-offset: 2px;
}

/* Editorial helpers — opt-in classes for Joomla articles and Custom modules. */
.wl-eyebrow { font-family: var(--wl-ui-font); font-size: 1.05rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; color: var(--wl-midnight); }
.wl-subheadline { font-family: var(--wl-heading-font); font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 600; font-style: italic; color: var(--wl-burgundy); line-height: 1.2; }
.wl-lead { font-size: 1.18rem; line-height: 1.45; }
.wl-divider { height: 2px; background: var(--wl-copper); border: 0; margin: 1.2rem 0; }
.wl-callout { background: rgba(255,255,255,.38); border: 1px solid rgba(215,122,54,.35); border-left: 5px solid var(--wl-copper); border-radius: 8px; padding: 1rem 1.25rem; box-shadow: 0 3px 8px rgba(17,28,40,.09); }
.wl-callout strong, .wl-callout em { color: var(--wl-burgundy); }
.wl-blockquote, blockquote { margin: 1.6rem 0; padding: .7rem 1.3rem; border-left: 3px solid var(--wl-copper); color: var(--wl-midnight); font-family: var(--wl-heading-font); font-size: 1.4rem; font-style: italic; line-height: 1.25; }
.wl-blockquote p, blockquote p { font-family: inherit; font-size: inherit; line-height: inherit; }

/* 03. HEADER AND DESKTOP NAVIGATION */
/* One continuous texture across header and banner. Do not repeat on #middle. */
#site-hero-shell { position: relative; isolation: isolate; background-color: var(--wl-midnight); background-image: url('../images/wl-header-texture.png'); background-position: center top; background-repeat: no-repeat; background-size: cover; }
#site-hero-shell > header { position: relative; z-index: 20; }
.header-wrap { display: flex; width: 100%; flex-direction: column; position: relative; }
.header-wrap .header-top-wrap { background: transparent; }
.header-wrap .header-top-wrap .header-top { width: min(100%, var(--wl-container)); margin-inline: auto; text-align: right; padding: 0 20px; }
.header-wrap .header-top-wrap .header-top p { margin: 0; color: var(--wl-white); }
.header-wrap .header-bottom-wrap { min-height: 115px; display: flex; align-items: center; justify-content: center; background: transparent; }
.header-wrap .header-bottom-wrap .header-bottom { width: min(100%, var(--wl-container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0; position: relative; z-index: 30; }
.header-bottom .logo { position: relative; flex: 0 0 auto; }
.header-bottom .logo::after { content: ''; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); height: 65px; width: 2px; background: var(--wl-copper); }
.header-bottom .logo img { display: block; width: 200px; max-width: 100%; height: auto; padding: 0; transform: none; }
.header-bottom nav { margin: 0 0 0 auto; min-width: 0; }
.header-bottom nav > ul, .header-bottom .mod-menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.7rem, 1.7vw, 1.6rem); margin: 0; padding: 0; list-style: none; flex-wrap: nowrap; }
.header-bottom nav li, .header-bottom .mod-menu li { list-style: none; }
.header-bottom nav > ul > li, .header-bottom .mod-menu > li { position: relative; flex: 0 0 auto; }
.header-bottom nav > ul > li > a, .header-bottom nav > ul > li > span, .header-bottom .mod-menu > li > a, .header-bottom .mod-menu > li > span { display: flex; align-items: center; min-height: 70px; padding: .4rem 0; font-family: var(--wl-ui-font); font-size: 1.32rem; font-weight: 600; line-height: 1.1; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--wl-white); border-bottom: 3px solid transparent; }
.header-bottom nav > ul > li > a:hover, .header-bottom .mod-menu > li > a:hover, .header-bottom .mod-menu > li > a:focus-visible { color: var(--wl-copper); text-decoration: none; }
.header-bottom .mod-menu > li.active > a, .header-bottom .mod-menu > li.current > a, .header-bottom nav > ul > li.active > a, .header-bottom nav > ul > li.current > a { border-bottom-color: var(--wl-copper); }
.header-bottom .mod-menu > li.parent > a::after, .header-bottom .mod-menu > li.parent > span::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
/* Joomla mod_menu dropdowns; also cover nested UL in the horizontal override. */
.header-bottom .mod-menu .mod-menu__sub, .header-bottom nav > ul > li > ul { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; margin: 0; padding: 10px 0; list-style: none; background: var(--wl-midnight); border-top: 3px solid var(--wl-copper); box-shadow: 0 7px 18px rgba(0,0,0,.28); z-index: 100; }
.header-bottom .mod-menu .mod-menu__sub li, .header-bottom nav > ul > li > ul li { position: relative; }
.header-bottom .mod-menu .mod-menu__sub a, .header-bottom .mod-menu .mod-menu__sub span, .header-bottom nav > ul > li > ul a { display: block; padding: 9px 16px; font-family: var(--wl-body-font); font-size: 1rem; font-weight: 500; line-height: 1.35; text-decoration: none; white-space: normal; color: var(--wl-white); }
.header-bottom .mod-menu .mod-menu__sub a:hover, .header-bottom .mod-menu .mod-menu__sub a:focus-visible, .header-bottom nav > ul > li > ul a:hover { background: rgba(255,255,255,.09); color: var(--wl-copper); }
.header-bottom .mod-menu > li:hover > .mod-menu__sub, .header-bottom .mod-menu > li:focus-within > .mod-menu__sub, .header-bottom nav > ul > li:hover > ul, .header-bottom nav > ul > li:focus-within > ul { display: block; }

/* 04. BANNERS AND PAGE BACKGROUNDS */
/* Keep the banner and its shadow above the parchment overlap. */
#site-hero-shell {
    z-index: 2;
}
#site-banner {
    position: relative;
    z-index: 10;
    width: min(calc(100% - 48px), 1480px);
    margin: -30px auto 0;
    transform: translateY(28px);
    filter: drop-shadow(0 5px 4px rgba(35, 24, 15, 0.60));
}
#site-banner .mod-custom, #site-banner .moduletable { width: 100%; }
#site-banner img { display: block; width: 100%; height: auto; }
/* Without a banner, the header ends normally and content begins immediately. */
#site-hero-shell:not(:has(#site-banner)) { padding-bottom: 0; }

#middle.copyarea {
    position: relative;
    z-index: 2;
    background-color: #F9E9D6;
    background-image:
        linear-gradient(to right,
            rgba(140, 94, 50, .22) 0%,
            transparent 16%,
            transparent 84%,
            rgba(140, 94, 50, .22) 100%
        ),
        url('../images/wl-parchment-tile.png');
    background-repeat: no-repeat, repeat;
    background-position: center top, left top;
    background-size: 100% 100%, 1024px 1024px;
    padding: 44px 0 180px;
    min-height: 240px;
}

/* Secondary pages: torn parchment top cap */
#middle.copyarea:not(.hannush-home)::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -60px;
    left: 0;
    width: 100%;
    height: 260px;
    background: url('../images/wl-parchment-top.webp')
                center top / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 30%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 30%,
        transparent 100%
    );
    pointer-events: none;
}

/* Secondary pages: torn parchment bottom cap */
#middle.copyarea:not(.hannush-home)::after {
    content: "";
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    height: 260px;
    z-index: 2;
    background: url('../images/wl-parchment-bottom.webp')
                center bottom / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 85%,
        black 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 85%,
        black 100%
    );
    pointer-events: none;
}

/* Keep secondary-page content above parchment artwork */
#middle.copyarea:not(.hannush-home) > * {
    position: relative;
    z-index: 1;
}

#site-hero-shell:has(#site-banner) + #middle.copyarea {
    margin-top: -50px;
    padding-top: 70px;
}

/* Shared secondary-page title banner */
#wl-page-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 12px 0 140px;
}

/* Illustration Banner */
#wl-page-banner .row {
    position: relative;
}

#wl-page-banner #wl-page-title {
    position: relative;
    z-index: 2;
}

#wl-page-banner .mod-custom {
    position: absolute;
    top: -75px;
    left: 50%;
    width: min(100vw, 1400px);
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

#wl-page-banner .mod-custom p {
    margin: 0;
}

#wl-page-banner .mod-custom img {
    display: block;
    width: 100%;
    height: auto;
}

#wl-page-title {
    text-align: center;
}

#wl-page-title h1 {
    margin: 0;
    color: var(--wl-burgundy);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
}

/* Whiskey Wisdom article banner title */
#wl-page-title:has(.wl-wisdom-article-nav) h1 {
    max-width: 660px;
    margin: 0 auto;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    line-height: 1.25;
}

/* Whiskey Wisdom Article Verdict */
#wl-page-title .wl-wisdom-verdict {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.9em;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: #102B40;
}

#wl-page-title .wl-wisdom-verdict-ending {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.85em;
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    color: #102B40;
}

/* Whiskey Wisdom article reading column */
.com-blog-article__body {
    width: 100%;
    max-width: 900px;
    margin: -20px auto 0;
}

/* Whiskey Wisdom article category navigation */
.wl-wisdom-article-nav {
    margin: 12px auto 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #102B40;
}

#wl-page-title .wl-wisdom-article-nav a {
    color: #102B40 !important;
    text-decoration: none !important;
}

#wl-page-title .wl-wisdom-article-nav a:hover {
    color: #760C20 !important;
    text-decoration: underline !important;
}

/* Whiskey Wisdom Category Buttons */
.wl-wisdom-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    max-width: 1200px;
    margin: 24px auto 30px;
}

.wl-wisdom-home-columns {
    margin-top: 48px;
}

/* Whiskey Wisdom Topics Sidebar */
.wl-wisdom-topics-box {
    margin-top: 28px;
    padding: 28px 24px;
    background: #f6e9d7 url('../images/wl-podcast-card-parchment.webp') center bottom / 100% auto no-repeat;
    outline: 8px solid #fffdf8;
    outline-offset: -8px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(17, 28, 40, 0.22);
}

.wl-wisdom-topics-box h2 {
    margin: 0 0 16px;
    color: var(--wl-burgundy);
    font-family: var(--wl-heading-font);
    font-size: 1.3rem;
    line-height: 1.3;
    text-align: center;
}

.wl-wisdom-topics-box p {
    margin: 0 0 20px;
    color: var(--wl-midnight);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

.wl-wisdom-topic-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.wl-wisdom-topic-tags span {
    display: inline-block;
    padding: 6px 12px;
    background: #f6e9d7;
    border: 1px solid var(--wl-copper);
    border-radius: 8px;
    color: var(--wl-burgundy);
    font-family: var(--wl-ui-font);
    font-size: 1rem;
    line-height: 1.2;
}

.wl-wisdom-question-box {
    padding: 28px 24px;
    background: #f6e9d7 url('../images/wl-podcast-card-parchment.webp') center bottom / 100% auto no-repeat;
    outline: 8px solid #fffdf8;
    outline-offset: -8px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(17, 28, 40, 0.22);
}

.wl-wisdom-question-box h2 {
    margin: 0 0 16px;
    color: var(--wl-burgundy);
    font-family: var(--wl-heading-font);
    font-size: 1.3rem;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.wl-wisdom-question-box p {
    margin: 0 0 18px;
    color: var(--wl-midnight);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

.wl-wisdom-question-details summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    list-style: none;
}

.wl-wisdom-question-details summary::-webkit-details-marker {
    display: none;
}

.wl-wisdom-question-details summary:hover {
    transform: translateY(-3px);
}

.wl-wisdom-question-details[open] summary {
    margin-bottom: 12px;
}

#middle.copyarea a.wl-wisdom-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 265px;
    padding: 12px 10px 14px;
    background: #f6e9d7 url('../images/wl-podcast-card-parchment.webp') center bottom / 100% auto no-repeat;
    outline: 8px solid #fffdf8;
    outline-offset: -8px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(17, 28, 40, 0.22);
    text-decoration: none;
}

.wl-wisdom-category img.wl-wisdom-icon {
    display: block;
    width: 180px;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
}

#middle.copyarea a.wl-wisdom-category span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 4px 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--wl-midnight);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    text-shadow: none;
    box-shadow: none;
}


#middle.copyarea a.wl-wisdom-category:hover,
#middle.copyarea a.wl-wisdom-category:focus-visible {
    text-decoration: none;
}

#middle.copyarea a.wl-wisdom-category:hover span {
    color: var(--wl-burgundy);
    text-decoration: none;
}

#middle.copyarea a.wl-wisdom-category:focus-visible {
    outline: 3px solid var(--wl-copper);
    outline-offset: 4px;
}

/* Whiskey Wisdom Argument Heading — No Gold Lines */
.wl-wisdom-argument-heading::before,
.wl-wisdom-argument-heading::after,
.wl-wisdom-argument-heading span::before,
.wl-wisdom-argument-heading span::after {
    display: none;
    content: none;
}

/* Whiskey Wisdom Gold Divider */
.wl-wisdom-divider {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.wl-wisdom-divider img {
    display: block;
    width: 370px;
    max-width: 90%;
    height: auto;
    margin: 0 auto;
}

/* Secondary Page Subheadline */

/* Whiskey Wisdom Invitation Panel */
.wl-answers:has(.wl-wisdom-invitation) .wl-answers__inner {
    max-width: 620px;
    padding: 16px 20px 0;
    background: radial-gradient(
        ellipse at center,
        rgba(190, 150, 110, 0.39) 0%,
        rgba(190, 150, 110, 0.20) 45%,
        rgba(190, 150, 110, 0) 80%
    );
    border: none;
    box-shadow: none;
    border-radius: 12px;
}

.wl-answers:has(.wl-wisdom-invitation) {
    position: relative;
    top: -50px;
}

/* Compact Whiskey Wisdom Discovery */
.wl-answers:has(.wl-wisdom-invitation) {
    padding: 0 0 20px;
}

.wl-answers:has(.wl-wisdom-invitation) .wl-wisdom-invitation {
    margin: 0;
    color: #102B40;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.wl-answers:has(.wl-wisdom-invitation) .wl-answers__stage {
    min-height: 200px;
    margin-top: 0;
}

.wl-answers:has(.wl-wisdom-invitation) .wl-answers__content {
    width: min(100%, 580px);
}

.wl-answers:has(.wl-wisdom-invitation) .wl-answers__question {
    min-height: 108px;
    padding: 19px 9%;
}

.wl-answers:has(.wl-wisdom-invitation) .wl-answers__question p {
    font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.wl-answers:has(.wl-wisdom-invitation) .wl-answers__button {
    margin-top: 12px;
}

/* Whiskey Wisdom Card Finishing Touches */
#middle.copyarea a.wl-wisdom-category {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#middle.copyarea a.wl-wisdom-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(17, 28, 40, 0.25);
}

#middle.copyarea a.wl-wisdom-category span {
    text-shadow: 1px 1px 1px rgba(90, 65, 40, 0.22);
}

/* Remove inherited underlines from Whiskey Wisdom cards */
#middle.copyarea a.wl-wisdom-category,
#middle.copyarea a.wl-wisdom-category:link,
#middle.copyarea a.wl-wisdom-category:visited,
#middle.copyarea a.wl-wisdom-category:hover,
#middle.copyarea a.wl-wisdom-category:focus-visible {
    text-decoration: none !important;
}
#wl-page-title .wl-page-subheadline {
    margin: 10px auto 0;
    max-width: 660px;
    color: #102B40;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

/* 05. CONTENT WRAPPERS AND FOUNDATION GRID */
#middle > .row, #middle .top-area > .row, #prefooter > .row, #footer-bottom > .footer { max-width: var(--wl-container); margin-inline: auto; }
#middle .row { width: 100%; }
#copy { min-width: 0; }
#copy > :last-child { margin-bottom: 0; }
#middle.copyarea a:not(.button) { color: var(--wl-burgundy); text-decoration: underline; }
#middle.copyarea a:not(.button):hover, #middle.copyarea a:not(.button):focus-visible { color: var(--wl-copper); }
#middle .top-area { margin-bottom: 1.5rem; }
#middle aside { min-width: 0; }
#middle aside .moduletable { margin-bottom: 1.5rem; }
#middle aside h2, #middle aside h3 { font-size: 1.35rem; }
[itemprop="articleBody"], [itemprop="name"] { text-align: left; }
#sidebar { text-align: left; }
#faqs .row { padding: 0 16px; }
.faq-category { text-align: left; }

/* 05A. WELCOME SECTION */
.wl-welcome {
    max-width: 1000px;
    width: calc(100% - 48px);
    margin: 0 auto 2rem;
    border-left: 4px solid var(--wl-copper);
    padding-left: 20px;
}

.wl-welcome h2 {
    font-family: var(--wl-heading-font);
    font-style: italic;
    font-weight: 700;
    color: var(--wl-burgundy);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

.wl-welcome p {
    font-family: var(--wl-body-font);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--wl-midnight);
    margin: 0 0 0.75rem;
}

.wl-welcome p:last-child {
    margin-bottom: 0;
}


/* Whiskey Wisdom category article listing */

.wl-wisdom-list {
    background-color: #f6e9d7;
    background-image: url('../images/wl-podcast-card-parchment.webp');
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 100% auto;
    border: 1px solid #d8c7ad;
    border-radius: 6px;
    padding: 24px 30px;
}

.wl-wisdom-list-item {
    position: relative;
    padding: 20px 0;
    border-bottom: 1px solid #dfd3c1;
}

.wl-wisdom-list-item:last-child {
    border-bottom: none;
}

.wl-wisdom-list-item h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.3;
}

#middle.copyarea .wl-wisdom-list-item h2 a {
    color: var(--wl-burgundy);
    text-decoration: none;
}

.wl-wisdom-list-item h2 a:hover {
    text-decoration: underline;
}

.wl-wisdom-list-verdict {
    margin: 0 0 12px;
    color: #102B40;
    font-family: var(--wl-heading-font);
    font-size: 1.05rem;
    line-height: 1.5;
}

.wl-wisdom-list-verdict-answer {
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
}

.wl-wisdom-list-verdict-ending {
    font-weight: 400;
    font-style: italic;
    text-transform: none;
}

.wl-wisdom-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.wl-wisdom-list-tags {
    margin-bottom: 10px;
}

.wl-wisdom-list-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wl-wisdom-list-tags li {
    margin: 0;
    padding: 0;
    border: none;
}

.wl-wisdom-list-tags li::before,
.wl-wisdom-list-tags li::after {
    content: none;
    display: none;
}

#middle.copyarea .wl-wisdom-list-tags a {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f6e9d7;
    border: 1px solid var(--wl-copper);
    border-radius: 8px;
    color: var(--wl-burgundy);
    font-family: var(--wl-ui-font);
    font-size: .9rem;
    line-height: 1.2;
    text-decoration: none;
}

.wl-wisdom-list-tags a:hover {
    background: #e1d1ba;
}

#middle.copyarea a.wl-wisdom-list-readmore {
    display: inline-block;
    color: var(--wl-burgundy);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.wl-wisdom-list-readmore:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .wl-wisdom-list {
        padding: 14px 18px;
    }
}


/* 06. REUSABLE FULL-WIDTH FEATURE BANDS */
/* Each feature position is outside the Foundation .row in index.php.
   Module-specific full-bleed backgrounds can use .wl-feature-band. */
.wl-feature-band { width: 100%; padding: clamp(2.5rem, 5vw, 5rem) 20px; }
.wl-feature-band > .row, .wl-feature-band > .wl-inner { width: 100%; max-width: var(--wl-container); margin-inline: auto; }
.wl-feature-band--ivory { background: var(--wl-ivory); color: var(--wl-midnight); }
.wl-feature-band--midnight { background: var(--wl-midnight); color: var(--wl-white); }
.wl-feature-band--burgundy { background: var(--wl-burgundy); color: var(--wl-white); }
.wl-feature-band--midnight h2, .wl-feature-band--burgundy h2 { color: var(--wl-white); }
.wl-feature-band--midnight a, .wl-feature-band--burgundy a { color: var(--wl-white); }


/* 06A. REUSABLE SECTION HEADINGS */
/* Whiskey Wisdom Recent Answers spacing */
.wl-wisdom-home-main .wl-section-heading {
    margin-bottom: 16px;
}

.wl-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 42px);
    width: 100%;
    max-width: var(--wl-container);
    margin: 0 auto 2.5rem;
    padding: 0 20px;
    color: var(--wl-midnight);
    font-family: var(--wl-heading-font);
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.wl-section-heading::before,
.wl-section-heading::after {
    content: "";
    flex: 1 1 0;
    height: 2px;
    background: var(--wl-copper);
}

.wl-section-heading span {
    flex: 0 1 auto;
}

/* Truth or Lore — Expandable Answer */
.wl-answers__reveal {
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

.wl-answers__reveal-trigger {
    display: inline-block;
    color: #111C28;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.wl-answers__reveal-trigger::-webkit-details-marker {
    display: none;
}

.wl-answers__reveal-trigger::marker {
    content: "";
}

.wl-answers__reveal-trigger:hover {
    color: #6F0F1B;
}

.wl-answers__reveal-trigger span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.wl-answers__reveal[open] .wl-answers__reveal-trigger span {
    transform: rotate(180deg);
}

.wl-answers__verdict {
    max-width: 580px;
    margin: 20px auto 0;
    color: #111C28;
    font-family: 'Libre Baskerville', Georgia, serif;
    text-align: center;
}

.wl-answers__verdict p {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.wl-answers__verdict p {
    text-transform: uppercase;
}

.wl-answers__verdict p a {
    text-transform: none;
}

#middle.copyarea .wl-answers__verdict a {
    color: #6F0F1B;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

#middle.copyarea .wl-answers__verdict a:hover {
    text-decoration: underline;
}

.wl-answers__link-arrow {
    display: inline-block;
    font-size: 1.6em;
    line-height: 0;
    vertical-align: -0.08em;
    margin-left: 2px;
}

/* Truth or Lore — Question Invitation */
.wl-answers__eyebrow {
    margin: 0 0 16px;
    color: #111C28;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* 06B. FROM ARGUMENTS TO ANSWERS */
.wl-answers {
    width: 100%;
    padding: 3rem 0 5rem;
    overflow: hidden;
}

.wl-answers__inner {
    width: 100%;
    margin: 0 auto;
}

.wl-answers .wl-section-heading {
    margin-bottom: 0;
}

.wl-answers__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 440px;
    margin-top: -65px;
}

.wl-answers__art {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 2172px;
    height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wl-answers__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 940px);
    padding: 0 20px;
}

.wl-answers__question {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 180px;
    padding: 32px 9%;
    background-image: url('../images/wl-torn-question-strip.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.wl-answers__question p {
    max-width: 780px;
    margin: 0;
    color: var(--wl-burgundy);
    font-family: var(--wl-heading-font);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
}

.wl-answers__button {
    margin-top: 24px;
    padding: 14px 30px;
    font-size: 1.25rem;
}



/* 07. MODULES, CARDS, BUTTONS AND FORMS
   ========================================================== */

/* 07A. CARDS */
.wl-card {
    background: rgba(255,255,255,.42);
    border: 1px solid rgba(85,38,51,.16);
    border-radius: 8px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(17,28,40,.07);
}

.wl-card h3 {
    margin-bottom: .55rem;
}


/* 07A-1. PODCAST CARDS — STYLE 1 */

.wl-curiosity {
    width: 100%;
    padding: 2rem 0 4rem;
}

.wl-curiosity__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wl-podcast-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f6e9d7 url('../images/wl-podcast-card-parchment.webp') center bottom / 100% auto no-repeat;
    border: 1px solid rgba(17, 28, 40, 0.12);
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(17, 28, 40, 0.22);
    overflow: hidden;
}

.wl-podcast-card__image {
    display: block;
    width: calc(100% - 16px);
    aspect-ratio: 16/9;
    margin: 8px 8px 0;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.wl-podcast-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wl-podcast-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.wl-podcast-card__series {
    margin-bottom: 8px;
    font-family: var(--wl-ui-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wl-podcast-card__title {
    margin-bottom: 12px;
    font-family: var(--wl-heading-font);
    font-size: 1.25rem;
    line-height: 1.35;
}

/* Editorial links without underlines */
/* Series and episode title links */
#middle.copyarea .wl-podcast-card__series a {
    color: var(--wl-burgundy);
    text-decoration: none;
}

#middle.copyarea .wl-podcast-card__title a {
    color: var(--wl-midnight);
    text-decoration: none;
    transition: color 0.2s ease;
}

#middle.copyarea .wl-podcast-card__series a:hover {
    color: var(--wl-copper);
    text-decoration: none;
}

#middle.copyarea .wl-podcast-card__title a:hover,
#middle.copyarea .wl-podcast-card__title a:focus-visible {
    color: var(--wl-burgundy);
    text-decoration: none;
}

.wl-podcast-card__date {
    display: block;
    margin-bottom: 12px;
    color: var(--wl-graphite);
    font-family: var(--wl-ui-font);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .9rem;
}

.wl-podcast-card__preview {
    margin-bottom: 16px;
    line-height: 1.4;
}

.wl-podcast-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.wl-podcast-card__tag {
    padding: 4px 10px;
    background-color: #f6e9d7;
    border: 1px solid var(--wl-copper);
    border-radius: 8px;
    font-family: var(--wl-ui-font);
    font-size: .9rem;
}

#middle.copyarea a.wl-podcast-card__tag,
#middle.copyarea a.wl-podcast-card__tag:hover {
    text-decoration: none;
}

.wl-podcast-card__button {
    align-self: flex-start;
    margin-top: auto;
}


/* 07A-2. EXPLORE THE BOOKS */

.wl-books {
    width: 100%;
    padding: 2rem 0 4rem;
}

.wl-books__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 24px;
    width: 100%;
}

.wl-books__item {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    transition: transform .2s ease;
}

.wl-books__item img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 310px;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .55);
}

.wl-books__item:hover {
    transform: translateY(-5px);
}

.wl-books__item:focus-visible {
    outline: 3px solid var(--wl-copper);
    outline-offset: 5px;
}

.wl-books__hint {
    display: none;
}



/* 07B. BUTTONS AND INTERACTIVE ELEMENTS */

/* Existing Foundation and legacy button styling.
   Retained for compatibility until individual modules are migrated. */
.button,
button.button,
a.button,
.wl-button,
form button[type="submit"].button {
    display: inline-block;
    padding: .7rem 1.4rem;
    border: 1px solid var(--wl-burgundy);
    border-radius: 4px;
    background: var(--wl-burgundy);
    color: var(--wl-white);
    font-family: var(--wl-ui-font);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.button:hover,
button.button:hover,
a.button:hover,
.wl-button:hover,
form button[type="submit"].button:hover {
    background: var(--wl-midnight);
    border-color: var(--wl-midnight);
    color: var(--wl-white);
    text-decoration: none;
}

.wl-button--outline {
    background: transparent;
    color: var(--wl-burgundy);
}

.wl-button--outline:hover {
    color: var(--wl-white);
}


/* New Whiskey Lore shared button foundation.
   Antique brass trim with dimensional navy finish. */
.wl-btn {
    --wl-btn-bg: var(--wl-midnight);
    --wl-btn-border: var(--wl-copper);
    --wl-btn-text: var(--wl-white);
    --wl-btn-hover: #12364B;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    padding: 11px 24px;

    background:
        linear-gradient(
            180deg,
            #21445C 0%,
            #16354B 28%,
            #10283A 58%,
            #091B2B 100%
        );
    color: var(--wl-btn-text);

    border: 2px solid var(--wl-btn-border);
    border-radius: 11px;

    font-family: var(--wl-ui-font);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
    text-decoration: none;

    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.23),
        inset 0 -3px 4px rgba(0,0,0,.32),
        0 2px 0 rgba(107,66,22,.65),
        0 5px 9px rgba(40,25,15,.32);

    text-shadow:
        0 1px 1px rgba(0,0,0,.8),
        0 -1px 0 rgba(255,255,255,.12);

    cursor: pointer;
    transition:
        background-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/* Override general content-link styling. */
#middle.copyarea a.wl-btn {
    color: var(--wl-btn-text);
    text-decoration: none;
}

.wl-btn:hover {
    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.28),
        inset 0 -3px 4px rgba(0,0,0,.32),
        0 2px 0 rgba(107,66,22,.65),
        0 6px 12px rgba(40,25,15,.38);
    transform: translateY(-3px);
}

#middle.copyarea a.wl-btn:hover {
    color: var(--wl-btn-text);
    text-decoration: none;
}

.wl-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,.20),
        0 1px 3px rgba(40,25,15,.20);
}

.wl-btn:focus-visible {
    outline: 3px solid var(--wl-copper);
    outline-offset: 4px;
}

#middle.copyarea a.wl-btn:focus-visible {
    color: var(--wl-btn-text);
    text-decoration: none;
}

/* Large illustrated homepage navigation buttons. */
.wl-btn--feature {
    width: 100%;
    min-height: 72px;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 1.35rem;
    text-align: left;
}

.wl-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--wl-copper);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.65))
        drop-shadow(0 -1px 0 rgba(255,235,180,.35));
}

.wl-btn__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.wl-btn__label {
    flex: 1;
}

.wl-btn__arrow {
    flex: 0 0 auto;
    color: #E8B96D;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: .7;
    text-shadow:
        0 1px 1px rgba(0,0,0,.7),
        0 -1px 0 rgba(255,240,195,.4);
}

/* Standard action buttons. */
.wl-btn--primary {
    min-height: 40px;
    padding: 8px 16px;
    gap: 8px;
    border-radius: 7px;
    font-size: 1rem;

    background: linear-gradient(
        180deg,
        #18374C 0%,
        #0B2030 100%
    );

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.12),
        0 2px 4px rgba(17,28,40,.22);
}

.wl-btn--primary .wl-btn__arrow {
    font-size: 1.8rem;
    line-height: 1;
    text-shadow: none;
    transform: translateY(-1px);
}

.wl-btn--primary:hover {
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.15),
        0 3px 6px rgba(17,28,40,.28);
}

/* Burgundy utility buttons. */
.wl-btn--utility {
    --wl-btn-bg: var(--wl-burgundy);
    --wl-btn-border: var(--wl-burgundy);
    --wl-btn-hover: #891C2A;
}

/* Homepage navigation button group. */
.wl-home-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: var(--wl-container);
    margin: 0 auto 2rem;
}

.wl-home-nav .wl-btn--feature {
    min-width: 0;
    min-height: 124px;
    padding: 18px 20px;
    gap: 20px;
}

.wl-home-nav .wl-btn__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wl-home-nav .wl-btn__label strong {
    font-family: var(--wl-heading-font);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
}

.wl-home-nav .wl-title-line {
    display: block;
}

.wl-home-nav .wl-btn__label small {
    font-family: var(--wl-body-font);
    font-size: .82rem;
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
    opacity: .85;
}

/* Reduced-motion accessibility. */
@media (prefers-reduced-motion: reduce) {
    .wl-btn {
        transition: none;
    }

    .wl-btn:hover,
    .wl-btn:active {
        transform: none;
    }
}


/* 07C. FORMS AND INPUTS */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
select,
textarea {
    max-width: 100%;
    border: 1px solid rgba(53,60,67,.4);
    border-radius: 3px;
    background: var(--wl-white);
    color: var(--wl-midnight);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--wl-copper);
}


/* 07D. LEGACY CONTACT FORM
   Retained until the contact feature is rebuilt. */
#contact-form {
    display: none;
}

.form-box {
    background: var(--wl-midnight);
    color: var(--wl-white);
    padding: 20px;
    text-align: center;
}

.form-box h2 {
    color: var(--wl-white);
}

#form-first-name {
    padding-left: 0;
}

#form-last-name {
    padding-right: 0;
}

.contact-link,
.fotm-btn {
    display: inline-block;
    margin: 20px 0;
    padding: 15px 30px;
    border: 1px solid var(--wl-white);
    background: transparent;
    color: var(--wl-white);
    font-family: var(--wl-ui-font);
    font-size: 1.15rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.contact-link:hover,
.fotm-btn:hover {
    background: var(--wl-burgundy);
    color: var(--wl-white);
}

.form-arrow-down {
    transform: translateY(-70px);
    background: var(--wl-midnight);
    border: 0;
}

.middle-form {
    margin-top: -40px;
}

form .submit-button {
    display: flex;
}

input[name="a_password"] {
    display: none;
    height: 0;
    visibility: hidden;
}

.form-boxlink {
    margin-bottom: -40px;
    text-align: center;
}


/* 08. PREFooter AND FOOTER */
#prefooter { width: 100%; background-color: var(--wl-burgundy);

background-image:
    linear-gradient(
        to bottom,
        rgba(255,255,255,.12) 0%,
        rgba(255,255,255,.04) 8%,
        transparent 24%,
        transparent 72%,
        rgba(0,0,0,.12) 94%,
        rgba(0,0,0,.28) 100%
    ),
    linear-gradient(
        90deg,
        #59101A 0%,
        #761724 22%,
        #801C29 50%,
        #761724 78%,
        #59101A 100%
    );

border-top: 2px solid var(--wl-copper);
box-shadow: inset 0 4px 8px rgba(0,0,0,.18);
color: var(--wl-white);
padding: 3rem 0;
}

/* Patreon Prefooter Promo */

.wl-patreon-promo {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr auto;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: var(--wl-container);
    margin: 0 auto;
}

.wl-patreon-promo__heading {
    padding-right: 28px;
    border-right: 2px solid var(--wl-copper);
}

.wl-patreon-promo__heading h2 {
    margin: 0;
    color: var(--wl-white);
    font-family: var(--wl-heading-font);
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    line-height: 1.2;
    text-align: center;
    text-shadow:
    0 2px 2px rgba(0,0,0,.65),
    0 -1px 0 rgba(255,255,255,.25);
}

.wl-patreon-promo__description p {
    margin: 0;
    color: var(--wl-white);
    font-size: 1.05rem;
    line-height: 1.5;
}

.wl-patreon-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 2px solid #D69A50;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFD99B 0%, #E7A65B 55%, #C98436 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
    color: var(--wl-midnight);
    font-family: var(--wl-ui-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

#prefooter a.wl-patreon-promo__button {
    color: var(--wl-midnight);
    text-decoration: none;
}

.wl-patreon-promo__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,.35);
}

.wl-patreon-promo__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--wl-burgundy);
    -webkit-mask: url('/templates/hannush/images/patreon-symbol.png') center / contain no-repeat;
    mask: url('/templates/hannush/images/patreon-symbol.png') center / contain no-repeat;
}

.wl-patreon-promo__arrow {
    font-size: 1.8rem;
    line-height: 1;
}

#prefooter h2, #prefooter h3, #prefooter p, #prefooter a { color: var(--wl-white); }
#prefooter .button { border-color: var(--wl-white); }
#prefooter .button:hover { background: var(--wl-midnight); }


/* Footer: full-width textured background */
footer {
    width: 100%;
    background-color: var(--wl-midnight);
    background-image: url('../images/wl-header-texture.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--wl-white);
}

#footer-bottom {
    width: 100%;
}

#footer-bottom > .footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.6fr .8fr 1fr;
    column-gap: 28px;
    row-gap: 8px;
    width: 100%;
    max-width: var(--wl-container);
    margin-inline: auto;
    padding: 3rem 24px 1.75rem;
    background: transparent;
    text-align: left;
    align-items: start;
}

/* Logo */
.footer-logo img,
.footer-logo svg {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
}

/* Column headings */
footer h3 {
    margin: 0 0 6px;
    color: var(--wl-copper);
    font-family: var(--wl-ui-font);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.footer-explore ul,
.footer-more ul,
.footer-legal ul,
.footer-mobile-menu ul,
.footer-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-explore li,
.footer-more li,
.footer-legal li,
.footer-mobile-menu li,
.footer-social li {
    margin: 0 0 9px;
    padding: 0;
    list-style: none;
}

.footer-social nav.moduletable__menu {
    transform: translateY(-8px);
}

footer a {
    color: var(--wl-white);
    text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
    color: var(--wl-copper);
    text-decoration: underline;
}

.footer-explore a,
.footer-more a,
.footer-legal a {
    font-family: var(--wl-body-font);
    font-size: 1rem;
    line-height: 1.4;
}

/* Stack desktop footer menu links vertically */
.footer-explore ul,
.footer-more ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 0 !important;
}

.footer-explore li,
.footer-more li,
.footer-legal li {
    display: block;
    width: 100%;
    margin: 0;
}

.footer-explore .menu > li > a,
.footer-more .menu > li > a,
.footer-legal .menu > li > a {
    display: block;
    width: 100%;
    padding: 6px 0;
}

/* Social icons */
.footer-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-social li {
    margin: 0;
}

.footer-social a {
    font-size: 1.4rem;
}

/* Footer Contact link */
.footer-contact {
    margin: 8px 0 3px;
}

.footer-contact .footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-family: var(--wl-body-font);
    font-size: 1rem;
    line-height: 1.4;
}

.footer-contact .footer-contact-link i {
    font-size: 1rem;
}

/* Copper divider before legal links */
.footer-legal {
    border-left: 2px solid var(--wl-copper);
    padding-left: 22px;
    min-height: 160px;
}

/* Mobile menu hidden on desktop */
.footer-mobile-menu {
    display: none;
}

/* Preserve legacy footer positions */
.footer-links,
#footer-contact-number,
#footer-address-info {
    grid-column: 1 / -1;
}

/* Copyright */
.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.2);
}

.footer-copyright p {
    margin: 0 0 6px;
    color: var(--wl-white);
    font-size: .9rem;
    line-height: 1.5;
}

footer .button {
    background: transparent;
    border-color: var(--wl-white);
    color: var(--wl-white);
}

footer .button:hover {
    background: var(--wl-burgundy);
    border-color: var(--wl-burgundy);
}


/* 09. MOBILE NAVIGATION (PUSHY) */
.pushy-menu-btn { position: absolute; right: 20px; top: 20px; z-index: 40; display: none; border: 1px solid var(--wl-white); cursor: pointer; }
.burger-bar { width: 40px; height: 5px; margin: 10px; background: var(--wl-white); }
.pushy { color: var(--wl-white); }
.pushy a { color: var(--wl-white); }

/* 10. RESPONSIVE MEDIA QUERIES — KEEP TOGETHER AT END */
@media only screen and (max-width: 1200px) {
    .header-wrap .header-bottom-wrap .header-bottom { gap: 1.5rem; }
    .header-bottom nav > ul, .header-bottom .mod-menu { gap: 1rem; }
    .header-bottom nav > ul > li > a, .header-bottom .mod-menu > li > a { font-size: 1.18rem; }
}

@media only screen and (max-width: 1024px) {
    #middle aside { margin-top: 1.5rem; }
    #sidebar { padding-left: 0; border-left: 0; }
}

@media only screen and (max-width: 990px) {
    .header-wrap .header-bottom-wrap { min-height: 95px; }
    .header-wrap .header-bottom-wrap .header-bottom { justify-content: flex-start; }
    .header-bottom nav, .header-bottom .mod-menu { display: none; }
    .header-wrap .header-top-wrap { display: none; }
    .pushy-menu-btn { display: block; }
    .header-bottom .logo::after { display: none; }
    .header-bottom .logo img { width: 175px; }
    #site-banner { width: min(calc(100% - 30px), 1480px); margin-bottom: -36px; transform: translateY(20px); }
    #site-hero-shell:has(#site-banner) + #middle.copyarea { padding-top: 78px; }
}

@media only screen and (max-width: 639px) {
    body { font-size: 16px; }
    .header-wrap .header-bottom-wrap { min-height: 80px; }
    .header-bottom .logo img { width: 150px; }
    #site-banner { width: calc(100% - 20px); margin-bottom: -24px; transform: translateY(14px); }
    #site-hero-shell:has(#site-banner) + #middle.copyarea { padding-top: 58px; }
    #middle.copyarea { padding-bottom: 42px; }
    .wl-feature-band { padding: 2.2rem 16px; }
    
    /* From Arguments to Answers — mobile */
    .wl-answers {
        padding: 3rem 0 3.5rem;
    }

    .wl-answers .wl-section-heading {
    gap: 12px;
    margin-bottom: 0.875rem;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 1.5rem;
}

    .wl-answers__stage {
        min-height: 0;
        margin-top: 0;
    }

    .wl-answers__art {
        display: none;
    }

    .wl-answers__content {
        padding: 0 12px;
    }

    .wl-answers__question {
        min-height: 0;
        padding: 30px 9%;
        aspect-ratio: 2096 / 850;
    }

    .wl-answers__question p {
        font-size: clamp(1.1rem, 4.6vw, 1.45rem);
        line-height: 1.4;
    }

    .wl-answers__button {
        margin-top: 20px;
    }

/* Center homepage section containers on mobile */

.wl-curiosity > .row,
.wl-books > .row {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Reusable Section Headings — Mobile */

.wl-section-heading {
    gap: 12px;
    padding: 0 4px;
    font-size: 1.35rem;
}

.wl-section-heading::before,
.wl-section-heading::after {
    flex: 0 0 30px;
    width: 30px;
}

.wl-section-heading span {
    flex: 0 0 auto;
    max-width: calc(100% - 72px);
}

/* Follow Your Curiosity — Mobile */

.wl-curiosity__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.wl-curiosity__grid .wl-podcast-card {
    width: 100%;
    min-width: 0;
}

/* Explore the Books — Mobile */

.wl-books {
    padding: 1.5rem 0 3rem;
}

.wl-books__grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    padding: 8px 4px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--wl-copper) transparent;
}

.wl-books__item {
    flex: 0 0 65%;
    scroll-snap-align: start;
}

.wl-books__item img {
    width: 100%;
    max-height: none;
    height: auto;
}

.wl-books__hint {
    display: block;
    margin: 12px 0 0;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--wl-graphite);
}


    #prefooter { padding: 2.2rem 0; }

/* Patreon Promo — Mobile */
    .wl-patreon-promo {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 0 24px;
        text-align: center;
    }

    .wl-patreon-promo__heading {
        padding: 0 0 20px;
        border-right: 0;
        border-bottom: 2px solid var(--wl-copper);
    }

    .wl-patreon-promo__heading h2 {
        font-size: 1.8rem;
    }

    .wl-patreon-promo__description p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .wl-patreon-promo__button {
        max-width: 100%;
        margin-top: 6px;
    }

/* Mobile Footer */

#footer-bottom > .footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: .5rem 18px 2rem;
    text-align: center;
}

/* Hide desktop navigation columns */
.footer-explore,
.footer-more,
.footer-legal,
.footer-social .footer-desktop-heading,
.footer-social .footer-contact {
    display: none;
}

/* Center logo */
.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img,
.footer-logo svg {
    max-width: 180px;
}

/* Mobile navigation */
.footer-mobile-menu {
    display: block;
}

.footer-mobile-menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 16px;
}

.footer-mobile-menu li {
    margin: 0;
}

.footer-mobile-menu .menu > li > a {
    display: block;
    padding: 5px 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Social icons */
.footer-social {
    display: flex;
    justify-content: center;
}

.footer-social nav.moduletable__menu {
    transform: none;
}

.footer-social ul {
    justify-content: center;
    gap: 20px;
}

/* Copyright */
.footer-copyright {
    grid-column: 1;
    margin-top: 0;
    padding-top: 18px;
}

.footer-copyright p {
    font-size: .85rem;
}
    #form-first-name, #form-last-name { padding: 0; }
}


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 900px) {
    .wl-home-nav {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}
