/*
Theme Name: A CUTE PET STORY Journal
Theme URI: https://puainta.com/
Author: Custom Theme
Description: Responsive pet health journal and WooCommerce theme inspired by the supplied desktop and mobile layouts.
Version: 4.3.44
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: puainta-journal
*/

:root {
    --ink: #071b55;
    --orange: #ff6708;
    --rust: #b84a37;
    --cream: #f5f2ec;
    --line: #ded8cf;
    --muted: #6f706f;
    --white: #fff;
    --shell: 980px;
}

/* 4.3.16: keep the mobile article outline inside its own frame.
   The list scrolls independently while the outer border stays below it. */
@media (max-width: 680px) {
    .single-post .article-v42-toc {
        box-sizing: border-box !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 10px !important;
    }

    .single-post .article-v42-toc nav {
        box-sizing: border-box !important;
        height: var(--puainta-mobile-toc-height, 220px) !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 0 8px !important;
        scrollbar-gutter: stable;
    }

}

/* 4.3.1 readable typography — scoped to homepage, category and article content only. */
@media (min-width: 901px) {
    /* Homepage */
    .home-v43-hero__copy h1 { font-size: clamp(58px,4.8vw,78px); }
    .home-v43-hero__copy > p { font-size: 20px; line-height: 1.58; }
    .home-v43-trust span { font-size: 14px; }
    .home-v43-stats strong { font-size: 28px; }
    .home-v43-stats small { font-size: 13px; }
    .home-v43-hero__visual article span { font-size: 12px; }
    .home-v43-hero__visual article h2 { font-size: 26px; }
    .home-v43-hero__visual article small { font-size: 13px; line-height: 1.5; }
    .home-v43-hero__visual article section > a { font-size: 14px; }
    .home-v43-topics header > span { font-size: 13px; }
    .home-v43-topics h2 { font-size: 38px; }
    .home-v43-topics strong { font-size: 17px; }
    .home-v43-topics small { font-size: 13px; }
    .home-v43-guide > div > small { font-size: 12px; }
    .home-v43-guide h2 { font-size: 36px; }
    .home-v43-guide p { font-size: 16px; }
    .home-v43-guide li { font-size: 14px; }
    .home-v43-button { font-size: 14px; }
    .home-v43-quick > h2,
    .home-v43-latest h2 { font-size: 27px; }
    .home-v43-quick strong { font-size: 14px; }
    .home-v43-quick small { font-size: 11px; }
    .home-v43-latest h3 { font-size: 21px; }
    .home-v43-latest p { font-size: 15px; }
    .home-v43-latest article small,
    .home-v43-latest header a { font-size: 12px; }
    .home-v43-side-card > h2 { font-size: 23px; }
    .home-v43-popular h3 { font-size: 14px; }
    .home-v43-popular small { font-size: 10px; }
    .home-v43-browse span { font-size: 14px; }
    .home-v43-browse small { font-size: 10px; }
    .home-v43-newsletter h2 { font-size: 26px; }
    .home-v43-newsletter p { font-size: 14px; }
    .home-v43-newsletter > small { font-size: 10px; }
    .home-v43-faq h2 { font-size: 24px; }
    .home-v43-faq summary { font-size: 15px; }
    .home-v43-faq details p { font-size: 14px; }
    .home-v43-trust-section h2 { font-size: 25px; }
    .home-v43-trust-section strong { font-size: 15px; }
    .home-v43-trust-section p { font-size: 13px; }

    /* Category landing */
    .category-landing .category-intro h1 { font-size: clamp(58px,4.2vw,70px) !important; }
    .category-landing .category-intro__copy > p,
    .category-landing .category-description { font-size: 19px !important; line-height: 1.65; }
    .category-landing .category-trust-chips span { font-size: 14px; }
    .category-landing .category-topic-cluster h2 { font-size: 29px; }
    .category-landing .category-topic-scroll strong { font-size: 14px; }
    .category-landing .category-featured__label { font-size: 12px; }
    .category-landing .category-featured__body h2 { font-size: 41px !important; }
    .category-landing .category-featured__body > p { font-size: 17px !important; }
    .category-landing .category-date { font-size: 13px !important; }
    .category-landing .category-button { font-size: 14px; }
    .category-landing .category-quick-guides h2 { font-size: 26px; }
    .category-landing .category-quick-guides a { font-size: 14px; }
    .category-landing .category-section-head h2 { font-size: 33px !important; }
    .category-landing .category-section-head span { font-size: 13px; }
    .category-landing .category-card__body h3 { font-size: 25px !important; }
    .category-landing .category-card__body > p { font-size: 15px !important; }
    .category-landing .category-read-more { font-size: 14px !important; }
    .category-landing .popular-box h2,
    .category-landing .category-browse-box h2 { font-size: 23px; }
    .category-landing .popular-box li a,
    .category-landing .category-browse-box a { font-size: 14px; }
    .category-landing .popular-box li small { font-size: 10px; }
    .category-landing .category-newsletter h2 { font-size: 28px; }
    .category-landing .category-newsletter > p { font-size: 14px; }
    .category-landing .category-newsletter small { font-size: 10px; }
    .category-landing .category-faq h2 { font-size: 24px !important; }
    .category-landing .category-faq summary { font-size: 15px !important; }
    .category-landing .category-faq details p { font-size: 14px !important; }
    .category-landing .category-editorial h2 { font-size: 22px !important; }
    .category-landing .category-editorial p { font-size: 14px !important; }
    .category-landing .category-editorial__badges span { font-size: 11px !important; }

    /* Article detail */
    .article-v42-hero h1 { font-size: clamp(52px,4vw,68px) !important; }
    .article-v42-deck { font-size: 18px !important; }
    .article-v42-byline { font-size: 13px !important; }
    .article-v42-quick h2,
    .article-v42-takeaways h2 { font-size: 18px !important; }
    .article-v42-quick p { font-size: 15px !important; }
    .article-v42-takeaways li { font-size: 14px !important; }
    .article-v42-takeaways > a { font-size: 13px; }
    .article-v42-toc h2 { font-size: 19px !important; }
    .article-v42-toc a { font-size: 14px !important; }
    .article-v42-content { font-size: 19px !important; line-height: 1.8; }
    .article-v42-content h2 { font-size: 36px !important; }
    .article-v42-content h3 { font-size: 27px !important; }
    .article-v42-content h4 { font-size: 22px !important; }
    .article-v42-content table { font-size: 13px; }
    .article-v42-share > span { font-size: 13px; }
    .article-v42-share a,
    .article-v42-share button { font-size: 11px; }
    .article-v42-people small { font-size: 10px; }
    .article-v42-people h2 { font-size: 16px !important; }
    .article-v42-people strong { font-size: 11px !important; }
    .article-v42-promise p { font-size: 13px !important; }
    .article-v42-faq h2 { font-size: 24px !important; }
    .article-v42-faq summary { font-size: 15px !important; }
    .article-v42-faq details p { font-size: 14px !important; }
    .article-v42-side-card > h2 { font-size: 23px !important; }
    .article-v42-side-card > a:not(.article-v42-side-more) { font-size: 14px !important; }
    .article-v42-side-card > a small { font-size: 10px; }
    .article-v42-popular h3 { font-size: 14px !important; }
    .article-v42-popular small { font-size: 10px; }
    .article-v42-newsletter h2 { font-size: 25px; }
    .article-v42-newsletter p { font-size: 13px; }
    .article-v42-newsletter small { font-size: 10px; }
    .article-v42-related h2 { font-size: 28px !important; }
    .article-v42-related h3 { font-size: 16px !important; }
    .article-v42-related small { font-size: 11px; }
    .article-v42-policy h2 { font-size: 16px; }
    .article-v42-policy p { font-size: 13px; }
}

@media (max-width: 900px) {
    /* Mobile homepage: readable without forcing cramped cards. */
    .home-v43-hero__copy h1 { font-size: clamp(33px,8.8vw,42px) !important; }
    .home-v43-hero__copy > p { font-size: 14px !important; line-height: 1.5; }
    .home-v43-trust span { font-size: 11px; }
    .home-v43-hero__visual article span { font-size: 10px; }
    .home-v43-hero__visual article h2 { font-size: 19px; }
    .home-v43-hero__visual article small { font-size: 11px; line-height: 1.42; }
    .home-v43-hero__visual article section > a { font-size: 12px; }
    .home-v43-topics h2 { font-size: 23px; }
    .home-v43-topics strong { font-size: 13px; }
    .home-v43-latest h2 { font-size: 24px; }
    .home-v43-latest h3 { font-size: 16px; }
    .home-v43-latest p { font-size: 13px; line-height: 1.45; }
    .home-v43-latest article small { font-size: 11px; }
    .home-v43-quick > h2,
    .home-v43-popular-mobile > h2 { font-size: 21px; }
    .home-v43-quick strong { font-size: 14px; }
    .home-v43-popular-mobile h3 { font-size: 14px; }
    .home-v43-popular-mobile small { font-size: 10px; }
    .home-v43-faq h2 { font-size: 21px; }
    .home-v43-faq summary { font-size: 14px; }
    .home-v43-faq details p { font-size: 13px; }
    .home-v43-trust-section h2 { font-size: 20px; }
    .home-v43-trust-section strong { font-size: 12px; }
    .home-v43-trust-section p { font-size: 10px; }
    .home-v43-newsletter-mobile h2 { font-size: 25px; }
    .home-v43-newsletter-mobile p { font-size: 13px; }

    /* Mobile category landing */
    .category-landing .category-intro h1 { font-size: 42px !important; }
    .category-landing .category-intro__copy > p,
    .category-landing .category-description { font-size: 16px !important; line-height: 1.6; }
    .category-landing .category-trust-chips span { font-size: 12px; }
    .category-landing .category-topic-cluster h2 { font-size: 23px; }
    .category-landing .category-topic-scroll strong { font-size: 13px; }
    .category-landing .category-featured__body h2 { font-size: 27px !important; }
    .category-landing .category-featured__body > p { font-size: 14px !important; }
    .category-landing .category-date { font-size: 11px !important; }
    .category-landing .category-button { font-size: 13px; }
    .category-landing .category-quick-guides h2 { font-size: 22px; }
    .category-landing .category-quick-guides a { font-size: 13px; }
    .category-landing .category-section-head h2 { font-size: 25px !important; }
    .category-landing .category-section-head span { font-size: 11px; }
    .category-landing .category-card__body h3 { font-size: 20px !important; }
    .category-landing .category-card__body > p { font-size: 14px !important; }
    .category-landing .category-read-more { font-size: 13px !important; }
    .category-landing .category-popular-mobile h2 { font-size: 21px !important; }
    .category-landing .category-popular-mobile li a { font-size: 13px !important; }
    .category-landing .category-popular-mobile li small { font-size: 10px; }
    .category-landing .category-faq h2 { font-size: 21px !important; }
    .category-landing .category-faq summary { font-size: 14px !important; }
    .category-landing .category-faq details p { font-size: 13px !important; }
    .category-landing .category-editorial h2 { font-size: 19px !important; }
    .category-landing .category-editorial p { font-size: 13px !important; }
    .category-landing .category-editorial__badges span { font-size: 10px !important; }
    .category-landing .category-newsletter-mobile h2 { font-size: 22px !important; }
    .category-landing .category-newsletter-mobile p { font-size: 13px !important; }

    /* Mobile article detail */
    .article-v42-hero h1 { font-size: clamp(35px,9.2vw,44px) !important; }
    .article-v42-deck { font-size: 15px !important; }
    .article-v42-byline { font-size: 12px !important; }
    .article-v42-quick h2,
    .article-v42-takeaways h2 { font-size: 17px !important; }
    .article-v42-quick p { font-size: 14px !important; }
    .article-v42-takeaways li { font-size: 13px !important; }
    .article-v42-takeaways > a { font-size: 12px; }
    .article-v42-toc h2 { font-size: 17px !important; }
    .article-v42-toc a { font-size: 13px !important; }
    .article-v42-content { font-size: 17px !important; line-height: 1.75; }
    .article-v42-content h2 { font-size: 29px !important; }
    .article-v42-content h3 { font-size: 23px !important; }
    .article-v42-content h4 { font-size: 19px !important; }
    .article-v42-content table { font-size: 10px; }
    .article-v42-share > span { font-size: 13px; }
    .article-v42-share a,
    .article-v42-share button { font-size: 11px; }
    .article-v42-people small { font-size: 9px; }
    .article-v42-people h2 { font-size: 14px !important; }
    .article-v42-people strong { font-size: 10px !important; }
    .article-v42-promise p { font-size: 12px !important; }
    .article-v42-faq h2 { font-size: 21px !important; }
    .article-v42-faq summary { font-size: 14px !important; }
    .article-v42-faq details p { font-size: 13px !important; }
    .article-v42-related h2 { font-size: 22px !important; }
    .article-v42-related header > a { font-size: 11px; }
    .article-v42-related h3 { font-size: 15px !important; }
    .article-v42-related small { font-size: 10px; }
    .article-v42-mobile-newsletter h2 { font-size: 24px !important; }
    .article-v42-mobile-newsletter p { font-size: 13px !important; }
}

/* 4.3.20 — image-led, dynamically populated category topic showcase. */
.category-topic-showcase {
    padding: 48px 0 36px;
}

.category-topic-showcase__header {
    margin: 0 auto 30px;
    text-align: center;
}

.category-topic-showcase__header > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.category-topic-showcase__header > span .ui-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
}

.category-topic-showcase.category-topic-cluster h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(38px, 3.4vw, 54px);
    line-height: 1.08;
}

.category-topic-showcase__header > p {
    margin: 14px 0 0;
    color: #666b73;
    font-size: 18px;
    line-height: 1.55;
}

.category-topic-standards {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 58px);
    margin-top: 27px;
}

.category-topic-standards span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #515863;
    font-size: 14px;
    font-weight: 650;
}

.category-topic-standards .ui-icon {
    width: 21px;
    height: 21px;
    color: var(--orange);
    fill: none;
    stroke: currentColor;
}

.category-topic-showcase .category-topic-scroll {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    overflow: visible;
    padding: 0;
}

.category-topic-showcase .category-topic-card {
    display: flex;
    grid-column: span 2;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e8e0d8;
    border-radius: 20px;
    padding: 0;
    color: inherit;
    background: #fff;
    box-shadow: 0 8px 22px rgba(19, 34, 72, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-topic-showcase .category-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(19, 34, 72, .12);
}

.category-topic-showcase .category-topic-card--wide {
    display: grid;
    grid-column: span 3;
    grid-template-columns: 50% 50%;
}

.category-topic-card__image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: #f4efe8;
}

.category-topic-card--wide .category-topic-card__image {
    height: 100%;
    min-height: 225px;
}

.category-topic-card__image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.category-topic-card:hover .category-topic-card__image > img {
    transform: scale(1.035);
}

.category-topic-card__image > i {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: var(--orange);
    background: rgba(255,255,255,.95);
    box-shadow: 0 4px 14px rgba(8, 24, 63, .09);
}

.category-topic-card__image .ui-icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
}

.category-topic-card__body {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 9px;
    align-content: start;
    padding: 24px 24px 25px;
}

.category-topic-card--wide .category-topic-card__body {
    align-content: center;
    padding: 28px 30px;
}

.category-topic-card__body > strong {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.18;
}

.category-topic-card__body > span {
    grid-column: 1;
    color: #656b74;
    font-size: 14px;
    line-height: 1.55;
}

.category-topic-card__body > b {
    grid-column: 1;
    margin-top: 10px;
    color: var(--orange);
    font-size: 14px;
}

.category-topic-card__body > b em {
    margin-left: 9px;
    font-style: normal;
}

.category-topic-dots {
    display: none;
}

.category-topic-more {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 25px;
    border: 1px solid #f1e2d3;
    border-radius: 18px;
    padding: 20px 25px;
    background: #fff8f0;
}

.category-topic-more > i {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    color: var(--orange);
    background: #fff;
}

.category-topic-more > i .ui-icon {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
}

.category-topic-more div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.category-topic-more strong {
    color: var(--ink);
    font-size: 18px;
}

.category-topic-more div span {
    color: #666b73;
    font-size: 14px;
}

.category-topic-more > a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--orange);
    border-radius: 13px;
    padding: 0 22px;
    color: var(--orange);
    background: #fff;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 780px) {
    .category-topic-showcase {
        padding: 27px 0 24px;
    }

    .category-topic-showcase__header {
        margin-bottom: 20px;
        text-align: left;
    }

    .category-topic-showcase__header > span,
    .category-topic-standards {
        display: none;
    }

    .category-topic-showcase.category-topic-cluster h2 {
        font-size: clamp(27px, 7.2vw, 34px) !important;
        line-height: 1.12;
    }

    .category-topic-showcase__header > p {
        margin-top: 8px;
        font-size: 15px;
        line-height: 1.5;
    }

    .category-topic-showcase .category-topic-scroll {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 1px 9px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .category-topic-showcase .category-topic-scroll::-webkit-scrollbar {
        display: none;
    }

    .category-topic-showcase .category-topic-card,
    .category-topic-showcase .category-topic-card--wide {
        display: flex;
        flex: 0 0 clamp(92px, 26vw, 112px);
        min-height: 224px;
        grid-template-columns: none;
        align-items: stretch !important;
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .category-topic-card__image,
    .category-topic-card--wide .category-topic-card__image {
        width: calc(100% - 12px) !important;
        height: 142px;
        min-height: 142px;
        margin: 6px 6px 0;
        border-radius: 10px;
    }

    .category-topic-card__image > i {
        top: auto;
        bottom: -20px;
        left: 50%;
        width: 42px;
        height: 42px;
        transform: translateX(-50%);
    }

    .category-topic-card__image .ui-icon {
        width: 21px;
        height: 21px;
    }

    .category-topic-card__body,
    .category-topic-card--wide .category-topic-card__body {
        position: relative;
        display: flex;
        box-sizing: border-box;
        width: 100%;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 3px;
        padding: 10px 7px 9px;
    }

    .category-topic-card__body > small {
        display: none;
    }

    .category-topic-card__body > strong {
        font-size: 12px !important;
        line-height: 1.22;
        text-align: center;
    }

    .category-topic-card__body > span {
        display: none;
    }

    .category-topic-card__body > b {
        margin-top: auto;
        color: var(--orange);
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .category-topic-card__body > b em {
        margin-left: 3px;
    }

    .category-topic-dots {
        display: flex;
        justify-content: center;
        gap: 9px;
        margin: 7px 0 15px;
    }

    .category-topic-dots button {
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        padding: 0;
        background: #dedede;
        cursor: pointer;
    }

    .category-topic-dots button.is-active {
        background: var(--orange);
        transform: scale(1.25);
    }

    .category-topic-more {
        grid-template-columns: 48px minmax(0,1fr);
        gap: 13px;
        margin-top: 0;
        border-radius: 15px;
        padding: 16px;
    }

    .category-topic-more > i {
        width: 46px;
        height: 46px;
    }

    .category-topic-more strong {
        font-size: 16px;
    }

    .category-topic-more div span {
        font-size: 13px;
        line-height: 1.45;
    }

    .category-topic-more > a {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }
}

/* 4.3.2: device-native bilingual font stack and category flow repair. */
html,
body,
button,
input,
select,
textarea {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

@media (min-width: 901px) {
    .category-landing .category-featured {
        height: auto;
        min-height: 370px;
        align-items: stretch;
    }
    .category-landing .category-featured__image {
        height: auto;
        min-height: 370px;
    }
    .category-landing .category-featured__body {
        min-width: 0;
        justify-content: center;
        padding: clamp(30px,3vw,48px);
        overflow: visible;
    }
    .category-landing .category-featured__body h2 {
        overflow-wrap: anywhere;
        font-size: clamp(34px,2.35vw,41px) !important;
        line-height: 1.08;
    }
    .category-landing .category-featured__body > p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .category-landing .category-button {
        align-self: flex-start;
        flex: 0 0 auto;
    }
    .category-landing .category-quick-guides a {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 900px) {
    .category-landing .category-featured {
        display: flex;
        height: auto;
        min-height: 0;
        flex-direction: column;
        overflow: hidden;
    }
    .category-landing .category-featured__image {
        width: 100%;
        height: clamp(205px,54vw,280px);
        min-height: 205px;
        flex: 0 0 auto;
    }
    .category-landing .category-featured__body {
        min-width: 0;
        padding: 20px 18px 23px;
        overflow: visible;
    }
    .category-landing .category-featured__body h2 {
        margin-bottom: 10px;
        overflow-wrap: anywhere;
        font-size: clamp(24px,6.7vw,29px) !important;
        line-height: 1.12;
    }
    .category-landing .category-featured__body > p {
        margin-bottom: 11px;
        font-size: 14px !important;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }
    .category-landing .category-featured__body .category-date {
        margin-bottom: 12px;
    }
    .category-landing .category-button {
        display: inline-flex;
        align-self: flex-start;
        min-height: 42px;
        align-items: center;
        justify-content: center;
    }
    .category-landing .category-topic-scroll > a {
        flex-basis: 145px;
        min-height: 72px;
        padding: 10px;
    }
    .category-landing .category-quick-guides > div {
        padding-bottom: 5px;
        scroll-snap-type: x proximity;
    }
    .category-landing .category-quick-guides a {
        flex-basis: 168px;
        min-height: 72px;
        padding: 11px 12px;
        overflow-wrap: anywhere;
        scroll-snap-align: start;
    }
    .category-landing .category-card {
        min-height: 172px;
    }
    .category-landing .category-card__image {
        min-height: 172px;
    }
    .category-landing .category-card__body h3 {
        font-size: 18px !important;
        line-height: 1.2;
    }
    .category-landing .category-card__body > p {
        font-size: 13px !important;
        line-height: 1.45;
    }
}

@media (max-width: 420px) {
    .category-landing .category-card {
        grid-template-columns: 36% 64%;
        min-height: 184px;
    }
    .category-landing .category-card__image {
        min-height: 184px;
    }
    .category-landing .category-card__body {
        padding: 11px 10px;
    }
}

/* 4.2 dynamic article detail page - desktop and mobile reference layout. */
.article-v42 { color: #1c2c50; background: #fff; }
.article-v42-shell { width: min(calc(100% - 48px), 1320px); margin-inline: auto; }
.article-v42-hero { padding: 27px 0 28px; background: linear-gradient(115deg,#fffaf3 0%,#fff 62%,#fff7eb 100%); border-bottom: 1px solid #eee7df; }
.article-v42-hero__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); grid-template-areas: "crumb crumb" "copy cover" "quick takeaways"; align-items: stretch; gap: 18px 30px; }
.article-v42-breadcrumb { grid-area: crumb; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #7e7b76; font-size: 12px; }
.article-v42-breadcrumb a { color: inherit; }
.article-v42-hero__copy { grid-area: copy; align-self: center; padding: 16px 5px 17px 0; }
.article-v42-category { display: inline-flex; margin-bottom: 15px; padding: 6px 12px; border-radius: 999px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.article-v42-hero h1 { max-width: 760px; margin: 0; color: #122750; font-size: clamp(39px,3.15vw,55px); line-height: 1.02; letter-spacing: -1.4px; }
.article-v42-deck { max-width: 720px; margin: 15px 0 0; color: #686b70; font-size: 15px; line-height: 1.55; }
.article-v42-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 17px; margin-top: 18px; color: #6f7073; font-size: 11px; }
.article-v42-byline > span { display: inline-flex; align-items: center; gap: 6px; }
.article-v42-byline img { width: 25px; height: 25px; border-radius: 50%; }
.article-v42-byline svg { width: 14px; height: 14px; color: var(--orange); }
.article-v42-byline strong { color: #1a2b51; }
.article-v42-cover { grid-area: cover; min-height: 290px; overflow: hidden; border-radius: 15px; box-shadow: 0 9px 30px rgba(60,42,25,.08); }
.article-v42-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-v42-quick,
.article-v42-takeaways { border: 1px solid #ecdcca; border-radius: 13px; padding: 19px 22px; background: #fff8ef; }
.article-v42-quick { grid-area: quick; }
.article-v42-takeaways { grid-area: takeaways; }
.article-v42-quick h2,
.article-v42-takeaways h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; color: #f26013; font-size: 15px; }
.article-v42-quick h2 svg { width: 18px; height: 18px; }
.article-v42-quick p { margin: 0; color: #3f4650; font-size: 13px; line-height: 1.58; }
.article-v42-takeaways ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 15px; margin: 0; padding: 0; list-style: none; }
.article-v42-takeaways li { display: flex; align-items: flex-start; gap: 7px; color: #3f4650; font-size: 12px; line-height: 1.42; }
.article-v42-takeaways li span { display: grid; flex: 0 0 17px; width: 17px; height: 17px; place-items: center; border-radius: 50%; color: #fff; background: #69a95d; font-size: 10px; }
.article-v42-takeaways > a { display: inline-block; margin-top: 10px; color: var(--orange); font-size: 11px; font-weight: 800; }
.article-v42-layout { display: grid; grid-template-columns: 205px minmax(0,1fr) 300px; align-items: start; gap: 32px; padding-top: 38px; padding-bottom: 35px; }
.article-v42-toc { position: sticky; top: 100px; overflow: hidden; border: 1px solid #e6e0d9; border-radius: 12px; background: #fff; }
.article-v42-toc h2 { margin: 0; padding: 16px 17px 11px; color: #17294e; font-size: 15px; }
.article-v42-toc nav { display: flex; flex-direction: column; padding: 0 17px 15px; }
.article-v42-toc a { padding: 6px 0; color: #526078; font-size: 11px; line-height: 1.38; }
.article-v42-toc a.level-3 { padding-left: 12px; color: #7a7f88; }
.article-v42-toc a:hover { color: var(--orange); }
.article-v42-main { min-width: 0; }
.article-v42-content { color: #3d4654; font-size: 15px; line-height: 1.78; }
.article-v42-content > :first-child { margin-top: 0; }
.article-v42-content p { margin: 0 0 18px; }
.article-v42-content h2 { scroll-margin-top: 95px; margin: 37px 0 13px; color: #162b54; font-size: 27px; line-height: 1.15; letter-spacing: -.4px; }
.article-v42-content h3 { scroll-margin-top: 95px; margin: 27px 0 11px; color: #172b51; font-size: 20px; line-height: 1.2; }
.article-v42-content h4 { margin: 22px 0 9px; color: #172b51; font-size: 17px; }
.article-v42-content a { color: var(--orange); font-weight: 750; text-decoration: underline; }
.article-v42-content ul,
.article-v42-content ol { margin: 0 0 22px; padding-left: 23px; }
.article-v42-content li { margin: 7px 0; }
.article-v42-content img { max-width: 100%; height: auto; border-radius: 11px; }
.article-v42-content figure { max-width: 100%; margin: 23px 0; }
.article-v42-content blockquote { margin: 23px 0; border: 1px solid #eadbca; border-left: 4px solid var(--orange); border-radius: 10px; padding: 17px 20px; background: #fff8ef; }
.article-v42-content table { width: 100%; margin: 22px 0; border-spacing: 0; border-collapse: separate; overflow: hidden; border: 1px solid #e4ddd6; border-radius: 8px; font-size: 11px; }
.article-v42-content th,
.article-v42-content td { border-right: 1px solid #e8e1da; border-bottom: 1px solid #e8e1da; padding: 9px 10px; text-align: left; }
.article-v42-content th { color: #17294e; background: #fff8ef; }
.article-v42-content tr:last-child td { border-bottom: 0; }
.article-v42-share { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #eee7df; }
.article-v42-share > span { margin-right: auto; color: #596170; font-size: 11px; font-weight: 800; }
.article-v42-share a,
.article-v42-share button { border: 1px solid #e2dcd5; border-radius: 999px; padding: 7px 11px; color: #4d5664; background: #fff; font-size: 9px; cursor: pointer; }
.article-v42-people { display: grid; grid-template-columns: 1fr 1fr 1.05fr; margin-top: 25px; overflow: hidden; border: 1px solid #e7dfd7; border-radius: 12px; }
.article-v42-people > div { display: grid; grid-template-columns: 55px minmax(0,1fr); align-items: center; gap: 10px; min-height: 125px; padding: 16px; border-right: 1px solid #e7dfd7; }
.article-v42-people > div:last-child { border-right: 0; }
.article-v42-people img { width: 53px; height: 53px; border-radius: 50%; object-fit: cover; }
.article-v42-people small { color: #8b8179; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.article-v42-people h2 { margin: 3px 0; color: #17294e; font-size: 13px; line-height: 1.15; }
.article-v42-people strong { display: block; color: #68707a; font-size: 9px; line-height: 1.35; }
.article-v42-people > .article-v42-promise { display: block; }
.article-v42-promise p { margin: 7px 0 0; color: #5d6671; font-size: 10px; line-height: 1.5; }
.article-v42-faq { margin-top: 25px; overflow: hidden; border: 1px solid #e6dfd8; border-radius: 12px; }
.article-v42-faq header { padding: 15px 17px 11px; background: #fffaf4; }
.article-v42-faq h2 { margin: 0; color: #17294e; font-size: 17px; }
.article-v42-faq details { border-top: 1px solid #e8e1da; }
.article-v42-faq summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; padding: 0 17px; color: #263652; font-size: 11px; font-weight: 750; cursor: pointer; list-style: none; }
.article-v42-faq summary::-webkit-details-marker { display: none; }
.article-v42-faq summary span { color: var(--orange); font-size: 18px; transition: transform .2s ease; }
.article-v42-faq details[open] summary span { transform: rotate(45deg); }
.article-v42-faq details p { margin: 0; padding: 0 17px 15px; color: #646b74; font-size: 11px; line-height: 1.6; }
.article-v42-sidebar { display: flex; flex-direction: column; gap: 15px; }
.article-v42-side-card { padding: 18px; border: 1px solid #e5ddd5; border-radius: 13px; background: #fff; }
.article-v42-side-card > h2 { margin: 0 0 12px; color: #17294e; font-size: 17px; }
.article-v42-side-card > a:not(.article-v42-side-more) { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 7px; min-height: 38px; border-bottom: 1px solid #eee7df; color: #263654; font-size: 11px; font-weight: 700; }
.article-v42-side-card > a svg { width: 15px; height: 15px; color: var(--orange); }
.article-v42-side-card > a small { min-width: 21px; border-radius: 999px; padding: 3px 5px; color: #877d75; background: #f7f0e8; font-size: 8px; text-align: center; }
.article-v42-popular article { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 9px; padding: 9px 0; border-bottom: 1px solid #eee7df; }
.article-v42-popular article > a { height: 54px; overflow: hidden; border-radius: 7px; }
.article-v42-popular img { width: 100%; height: 100%; object-fit: cover; }
.article-v42-popular h3 { margin: 1px 0 5px; color: #17294e; font-size: 10px; line-height: 1.25; }
.article-v42-popular small { color: #8c8781; font-size: 8px; }
.article-v42-side-more { display: inline-block; margin-top: 12px; color: var(--orange); font-size: 9px; font-weight: 800; }
.article-v42-explore > a:not(.article-v42-side-more) { display: block; min-height: 0; border: 0; padding: 7px 0; color: #536078; font-weight: 600; }
.article-v42-newsletter { padding: 25px 20px; border: 1px solid #edcfb2; border-radius: 14px; background: #fff7ed; text-align: center; }
.article-v42-newsletter h2 { margin: 0; color: #5a2f19; font-size: 20px; line-height: 1.08; }
.article-v42-newsletter p { margin: 11px 0 15px; color: #776f69; font-size: 10px; line-height: 1.5; }
.article-v42-newsletter form { display: flex; flex-direction: column; gap: 8px; }
.article-v42-newsletter input,
.article-v42-newsletter button { box-sizing: border-box; width: 100%; height: 38px; border-radius: 999px; font-size: 16px; }
.article-v42-newsletter input { border: 1px solid #e1d9d1; padding: 0 13px; }
.article-v42-newsletter button { border: 0; color: #fff; background: var(--orange); font-size: 11px; font-weight: 800; }
.article-v42-newsletter small { display: block; margin-top: 9px; color: #8b8178; font-size: 8px; }
.article-v42-related { padding: 29px 0 34px; background: #fffaf4; }
.article-v42-related header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.article-v42-related h2 { margin: 0; color: #17294e; font-size: 22px; }
.article-v42-related header > a { color: var(--orange); font-size: 10px; font-weight: 800; }
.article-v42-related .article-v42-shell > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.article-v42-related article { overflow: hidden; border: 1px solid #e6ded7; border-radius: 11px; background: #fff; }
.article-v42-related__image { display: block; height: 155px; overflow: hidden; }
.article-v42-related__image img { width: 100%; height: 100%; object-fit: cover; }
.article-v42-related h3 { margin: 12px 12px 6px; color: #17294e; font-size: 13px; line-height: 1.24; }
.article-v42-related small { display: block; margin: 0 12px 13px; color: #8b8782; font-size: 9px; }
.article-v42-mobile-newsletter { display: none; }
.article-v42-policy { padding: 25px 0; background: #fff8ee; }
.article-v42-policy .article-v42-shell { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid #ebdfd2; border-radius: 12px; background: #fffaf4; }
.article-v42-policy article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px; border-right: 1px solid #ebdfd2; }
.article-v42-policy article:last-child { border-right: 0; }
.article-v42-policy article > span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: var(--orange); background: #fff0df; font-size: 20px; }
.article-v42-policy h2 { margin: 0 0 5px; color: #17294e; font-size: 13px; }
.article-v42-policy p { margin: 0; color: #6f7379; font-size: 10px; line-height: 1.45; }

@media (min-width: 1500px) {
    .article-v42-shell { width: min(calc(100% - 96px), 1500px); }
    .article-v42-layout { grid-template-columns: 235px minmax(0,850px) 340px; justify-content: center; gap: 38px; }
    .article-v42-content { font-size: 17px; }
    .article-v42-content h2 { font-size: 31px; }
    .article-v42-cover { min-height: 340px; }
}

@media (max-width: 900px) {
    .article-v42-shell { width: calc(100% - 24px); }
    .article-v42-hero { padding: 14px 0 12px; }
    .article-v42-hero__grid { display: flex; flex-direction: column; gap: 10px; }
    .article-v42-breadcrumb { order: 1; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; font-size: 9px; }
    .article-v42-breadcrumb a { max-width: 48%; overflow: hidden; text-overflow: ellipsis; }
    .article-v42-hero__copy { order: 2; padding: 6px 0 2px; }
    .article-v42-category { margin-bottom: 9px; padding: 5px 9px; font-size: 8px; }
    .article-v42-hero h1 { font-size: clamp(28px,8.1vw,38px); line-height: 1.03; letter-spacing: -.7px; }
    .article-v42-deck { margin-top: 9px; font-size: 12px; line-height: 1.45; }
    .article-v42-byline { gap: 7px 12px; margin-top: 11px; font-size: 9px; }
    .article-v42-reviewer { display: none !important; }
    .article-v42-quick { order: 3; }
    .article-v42-takeaways { order: 4; }
    .article-v42-cover { order: 5; min-height: 0; height: 205px; }
    .article-v42-quick,
    .article-v42-takeaways { padding: 13px 14px; border-radius: 10px; }
    .article-v42-quick h2,
    .article-v42-takeaways h2 { margin-bottom: 7px; font-size: 13px; }
    .article-v42-quick p { font-size: 11px; line-height: 1.5; }
    .article-v42-takeaways ul { display: block; }
    .article-v42-takeaways li { margin: 7px 0; font-size: 10px; }
    .article-v42-layout { display: flex; flex-direction: column; gap: 13px; padding-top: 12px; padding-bottom: 20px; }
    .article-v42-toc { position: static; order: 1; width: 100%; border-radius: 10px; }
    .article-v42-toc h2 { padding: 12px 12px 7px; font-size: 12px; }
    .article-v42-toc nav { padding: 0 8px 8px; }
    .article-v42-toc a { position: relative; margin-top: 3px; border: 1px solid #eee6de; border-radius: 999px; padding: 7px 25px 7px 13px; color: #3f4d66; background: #fff; font-size: 9px; }
    .article-v42-toc a::after { content: '›'; position: absolute; right: 12px; font-size: 14px; }
    .article-v42-toc a.level-3 { padding-left: 20px; }
    .article-v42-main { order: 2; width: 100%; }
    .article-v42-sidebar { display: none; }
    .article-v42-content { font-size: 12px; line-height: 1.62; }
    .article-v42-content p { margin-bottom: 13px; }
    .article-v42-content h2 { margin: 24px 0 9px; font-size: 21px; line-height: 1.15; }
    .article-v42-content h3 { margin: 19px 0 8px; font-size: 17px; }
    .article-v42-content table { display: table; font-size: 8px; }
    .article-v42-content th,
    .article-v42-content td { padding: 7px 6px; }
    .article-v42-share { margin-top: 23px; }
    .article-v42-share > span { flex: 0 0 100%; }
    .article-v42-people { grid-template-columns: 1fr 1fr; margin-top: 15px; border-radius: 10px; }
    .article-v42-people > div { grid-template-columns: 43px minmax(0,1fr); min-height: 88px; padding: 10px; }
    .article-v42-people > div:nth-child(2) { border-right: 0; }
    .article-v42-people img { width: 41px; height: 41px; }
    .article-v42-people h2 { font-size: 10px; }
    .article-v42-people strong { font-size: 7px; }
    .article-v42-people > .article-v42-promise { grid-column: 1 / -1; min-height: 0; border-top: 1px solid #e7dfd7; padding: 9px 11px; }
    .article-v42-promise p { font-size: 8px; }
    .article-v42-faq { margin-top: 14px; border-radius: 10px; }
    .article-v42-faq header { padding: 11px 12px 8px; }
    .article-v42-faq h2 { font-size: 14px; }
    .article-v42-faq summary { min-height: 39px; padding: 0 12px; font-size: 9px; }
    .article-v42-faq details p { padding: 0 12px 12px; font-size: 9px; }
    .article-v42-related { padding: 18px 0; }
    .article-v42-related h2 { font-size: 16px; }
    .article-v42-related header > a { font-size: 8px; }
    .article-v42-related .article-v42-shell > div { display: flex; flex-direction: column; gap: 7px; }
    .article-v42-related article { display: grid; grid-template-columns: 105px minmax(0,1fr); min-height: 72px; border-radius: 8px; }
    .article-v42-related__image { grid-row: 1 / span 2; height: 100%; min-height: 72px; }
    .article-v42-related h3 { margin: 10px 10px 2px; font-size: 10px; }
    .article-v42-related small { margin: 0 10px 8px; font-size: 7px; }
    .article-v42-mobile-newsletter { display: block; padding: 13px 12px 18px; background: #f4f6fb; }
    .article-v42-mobile-newsletter > div { border: 1px solid #ebd5bd; border-radius: 12px; padding: 15px; background: #fff8ef; text-align: center; }
    .article-v42-mobile-newsletter h2 { margin: 0; color: #5a301c; font-size: 17px; line-height: 1.08; }
    .article-v42-mobile-newsletter p { margin: 6px 0 10px; color: #776e68; font-size: 8px; }
    .article-v42-mobile-newsletter form { display: grid; grid-template-columns: minmax(0,1fr) 90px; }
    .article-v42-mobile-newsletter input,
    .article-v42-mobile-newsletter button { box-sizing: border-box; height: 34px; font-size: 16px; }
    .article-v42-mobile-newsletter input { min-width: 0; border: 1px solid #e0d9d2; border-radius: 999px 0 0 999px; padding: 0 11px; }
    .article-v42-mobile-newsletter button { border: 0; border-radius: 0 999px 999px 0; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; }
    .article-v42-mobile-newsletter small { display: block; margin-top: 7px; color: #8b827a; font-size: 7px; }
    .article-v42-policy { display: none; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #292929; background: #fff; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 99999; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px; color: var(--ink); background: #fff; }

/* Header */
.site-header { position: relative; z-index: 20; background: #fff; }
.site-header__main { height: 58px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; color: var(--orange); font-weight: 500; }
.brand__mark { width: 22px; height: 29px; fill: currentColor; }
.brand__text { margin-left: -2px; font-size: 25px; letter-spacing: -1.5px; }
.brand__text sup { font-size: 6px; vertical-align: top; margin-left: 2px; }
.brand__image { width: auto; max-height: 42px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 150px; }
.desktop-nav a { color: #383838; font-size: 12px; }
.desktop-nav span { color: #777; margin-left: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-toggle, .drawer-close { border: 0; background: transparent; cursor: pointer; padding: 4px; color: #262a2b; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-toggle { display: none; width: 26px; }
.menu-toggle span { display: block; height: 1.5px; margin: 4px 0; background: currentColor; }
.journal-bar { height: 45px; border-top: 1px solid #e5e2dc; border-bottom: 1px solid #e5e2dc; background: #f7f4ee; }
.journal-bar__inner { display: flex; align-items: center; gap: 25px; height: 100%; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.journal-bar__inner::-webkit-scrollbar { display: none; }
.journal-bar__inner strong, .journal-bar__inner a { font-size: 11px; }
.journal-bar__inner strong { color: #1b1b1b; }
.journal-bar__inner a { color: #4b4b4b; }
.search-panel { position: absolute; z-index: 22; top: 58px; right: max(20px, calc((100% - var(--shell))/2)); padding: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.search-panel form { display: flex; }
.search-panel input { width: 260px; border: 1px solid var(--line); border-radius: 4px 0 0 4px; padding: 10px; }
.search-panel button { border: 0; padding: 0 14px; color: #fff; background: var(--orange); }

/* Hero */
.hero { background: var(--cream); }
.hero__grid { min-height: 565px; display: grid; grid-template-columns: 43% 57%; align-items: center; gap: 38px; padding-top: 56px; padding-bottom: 60px; }
.eyebrow-pill, .count { display: inline-block; border: 1px solid #e3ddd4; border-radius: 999px; background: #fff; color: #686967; font-size: 10px; font-weight: 700; padding: 8px 11px; box-shadow: 0 2px 3px rgba(0,0,0,.02); }
.hero h1 { max-width: 380px; margin: 18px 0 16px; color: var(--ink); font-size: clamp(44px, 4.2vw, 62px); line-height: .98; letter-spacing: -2.3px; }
.hero__copy > p { max-width: 390px; margin: 0; color: #6d6e6c; font-size: 14px; line-height: 1.5; }
.hero__stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 30px; padding-top: 17px; border-top: 1px solid #ddd7cf; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 20px; }
.hero__stats span { margin-top: 4px; color: #72716d; font-size: 10px; }
.hero__visual { position: relative; }
.hero__visual > img { width: 100%; height: 350px; object-fit: cover; border-radius: 26px; }
.featured-story { position: absolute; left: -18px; bottom: 22px; width: 220px; padding: 20px 18px; border-radius: 13px; background: #fff; box-shadow: 0 8px 28px rgba(38,31,21,.15); }
.featured-story > span, .kicker, .mini-article > div > span { color: var(--rust); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.featured-story h2 { margin: 10px 0 7px; color: var(--ink); font-size: 19px; line-height: 1.15; }
.featured-story p { margin: 0; color: #696969; font-size: 10.5px; line-height: 1.4; }

/* Sections */
.section { padding-top: 66px; padding-bottom: 68px; }
.kicker { margin: 0 0 10px; }
.section-title { margin: 0 0 25px; color: var(--ink); font-size: 31px; line-height: 1.05; letter-spacing: -.6px; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 180px; gap: 16px; }
.topic-card { position: relative; display: flex; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.topic-card--cats { grid-row: 1 / span 2; color: #fff; border: 0; }
.topic-card--cats > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 47% 62%; }
.topic-card__overlay { position: absolute; inset: 0; background: linear-gradient(10deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.08) 72%); }
.topic-card__content { position: relative; align-self: flex-end; z-index: 1; padding: 26px 24px; }
.topic-card__content .count { color: var(--rust); }
.topic-card__content h3 { margin: 9px 0 11px; color: var(--ink); font-size: 39px; line-height: 1; }
.topic-card__content p { max-width: 330px; margin: 0 0 19px; font-size: 11px; line-height: 1.45; }
.explore-button, .read-button { display: inline-block; border-radius: 999px; color: #111; background: #fff; font-size: 10px; font-weight: 800; padding: 11px 14px; }
.topic-card--media .grid-photo { flex: 0 0 42%; }
.topic-card__media { position: relative; display: block; flex: 0 0 42%; min-width: 0; overflow: hidden; background: var(--cream); }
.topic-card__media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.topic-card__media > .grid-photo { width: 100%; height: 100%; }
.grid-photo { display: block; background-image: url('static/images/pet-grid.webp'); background-repeat: no-repeat; background-size: 200% 200%; }
.thumb-lab { background-position: 0 0; }
.thumb-friends { background-position: 100% 0; }
.thumb-park { background-position: 0 100%; }
.thumb-bulldog { background-position: 100% 100%; }
.topic-card__text { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: center; padding: 20px 22px; }
.topic-card__text .count, .topic-card--plain .count { align-self: flex-start; border: 0; color: var(--rust); background: #faefec; padding: 6px 10px; }
.topic-card__text strong, .topic-card--plain > strong { margin: 12px 0 9px; color: var(--ink); font-size: 29px; line-height: 1; }
.topic-card__text small, .topic-card--plain > small { color: #777; font-size: 10.5px; line-height: 1.4; }
.topic-card__text em, .topic-card--plain > em { margin-top: 16px; color: var(--rust); font-size: 10px; font-style: normal; font-weight: 800; }
.topic-card--plain { flex-direction: column; justify-content: center; padding: 24px; }

/* Reading */
.reading { padding-top: 36px; }
.reading-grid { display: grid; grid-template-columns: 57% 43%; gap: 20px; }
.lead-article { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.lead-article__image { position: relative; display: block; height: 410px; overflow: hidden; }
.lead-article__image img { width: 100%; height: 100%; object-fit: cover; }
.lead-article__image > span { position: absolute; top: 16px; left: 16px; border-radius: 999px; padding: 9px 12px; color: #fff; background: var(--rust); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.lead-article__body { padding: 23px 24px 24px; }
.lead-article__body small, .mini-article small { display: block; color: #777; font-size: 9.5px; text-transform: none; }
.lead-article__body h3 { margin: 8px 0 8px; color: var(--ink); font-size: 28px; line-height: 1.02; }
.lead-article__body p { margin: 0 0 16px; color: #777; font-size: 10.5px; line-height: 1.4; }
.read-button { color: #fff; background: #161616; padding: 11px 15px; }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.mini-article { display: grid; grid-template-columns: 2fr 1fr; min-height: 161px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.mini-article > div { display: flex; flex-direction: column; justify-content: center; padding: 20px; }
.mini-article small { margin: 12px 0 7px; }
.mini-article h3 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.07; }
.mini-article__image { display: block; min-width: 0; min-height: 100%; overflow: hidden; }
.mini-article__image img { width: 100%; height: 100%; object-fit: cover; }
.mini-article__image .grid-photo { width: 100%; height: 100%; }

/* Footer */
.site-footer { position: relative; padding: 44px 0 18px; color: #fff; background: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr) 1.25fr; gap: 35px; }
.brand--footer { color: #fff; }
.brand--footer .brand__mark { width: 30px; height: 38px; }
.brand--footer .brand__text { font-size: 35px; }
.footer-brand p { max-width: 170px; margin: 14px 0 0; font-size: 9px; line-height: 1.5; }
.footer-column { display: flex; flex-direction: column; gap: 11px; }
.footer-column h3 { margin: 5px 0 7px; font-size: 10px; text-transform: uppercase; }
.footer-column a, .footer-contact p { margin: 0; font-size: 9px; text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.footer-contact p { padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,.65); text-decoration: none; }
.footer-social { display: flex; justify-content: center; gap: 13px; margin-top: 30px; }
.footer-social span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #fff; border-radius: 50%; font-size: 9px; }
.footer-bottom { margin-top: 28px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.7); text-align: center; }
.payment-icons { display: flex; justify-content: center; gap: 5px; }
.payment-icons b { padding: 2px 5px; color: #1f5ca9; background: #fff; font-size: 7px; }
.footer-bottom p { margin: 6px 0 0; font-size: 9px; }
.back-to-top { position: fixed; z-index: 19; right: 28px; bottom: 25px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #444; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); font-size: 26px; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; z-index: 98; inset: 0; background: rgba(4,12,30,.26); }
.mobile-drawer { position: fixed; z-index: 99; top: 0; right: 0; width: min(100%, 405px); height: 100dvh; padding: 14px 12px 24px; overflow-y: auto; background: #fff; transform: translateX(101%); transition: transform .28s ease; box-shadow: -2px 0 20px rgba(0,0,0,.08); }
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-close { color: #23365e; font-size: 32px; line-height: 1; }
.drawer-section > button { display: flex; width: 100%; justify-content: space-between; border: 0; padding: 10px 0; color: #333; background: transparent; font-size: 20px; font-weight: 700; text-align: left; }
.drawer-section.is-open > button { color: var(--orange); }
.drawer-submenu { display: flex; flex-direction: column; }
.drawer-submenu a { display: flex; min-height: 69px; align-items: center; justify-content: space-between; font-size: 17px; }
.drawer-submenu a span { color: #777; font-size: 20px; }
.drawer-submenu .start-here { min-height: 45px; justify-content: flex-start; text-decoration: underline; }
.drawer-top { float: right; margin: 18px 20px; font-size: 30px; font-weight: 200; }

@media (max-width: 820px) {
    .desktop-nav { margin-right: 40px; gap: 16px; }
    .hero__grid { gap: 20px; }
}

@media (max-width: 680px) {
    .shell { width: min(calc(100% - 30px), var(--shell)); }
    .site-header__main { width: calc(100% - 20px); height: 48px; }
    .brand__mark { width: 19px; height: 25px; }
    .brand__text { font-size: 21px; }
    .desktop-nav, .desktop-only { display: none; }
    .menu-toggle { display: block; }
    .header-actions { gap: 4px; }
    .journal-bar { height: 39px; }
    .journal-bar__inner { width: 100%; padding: 0 14px; gap: 24px; }
    .journal-bar__inner strong, .journal-bar__inner a { font-size: 9px; }
    .search-panel { position: fixed; inset: 48px 10px auto; }
    .search-panel form, .search-panel input { width: 100%; }

    .hero__grid { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-top: 23px; padding-bottom: 0; }
    .eyebrow-pill { padding: 7px 9px; font-size: 9px; }
    .hero h1 { margin: 15px 0 15px; font-size: 37px; line-height: .98; letter-spacing: -1.2px; }
    .hero__copy > p { max-width: 320px; font-size: 13px; line-height: 1.42; }
    .hero__stats { margin-top: 25px; padding: 14px 0 0; }
    .hero__stats strong { font-size: 19px; }
    .hero__stats span { max-width: 66px; font-size: 9px; line-height: 1.25; }
    .hero__visual { margin-inline: -15px; height: 330px; overflow: hidden; }
    .hero__visual > img { width: 100%; height: 230px; border-radius: 0; object-position: 61% center; }
    .featured-story { left: 15px; bottom: 34px; width: 275px; padding: 17px 15px; border-radius: 12px; }
    .featured-story h2 { max-width: 190px; font-size: 19px; }
    .featured-story p { font-size: 9.5px; }

    .section { padding-top: 45px; padding-bottom: 48px; }
    .kicker { margin-bottom: 10px; font-size: 9px; }
    .section-title { margin-bottom: 20px; font-size: 29px; line-height: .98; }
    .topic-grid { display: flex; flex-direction: column; gap: 11px; }
    .topic-card { border-radius: 16px; }
    .topic-card--cats { min-height: 390px; }
    .topic-card--cats > img { object-position: 47% 58%; }
    .topic-card__content { padding: 20px 19px; }
    .topic-card__content h3 { font-size: 31px; }
    .topic-card__content p { font-size: 10px; }
    .topic-card--media { min-height: 182px; }
    .topic-card--media .grid-photo { flex-basis: 41%; }
    .topic-card__text { padding: 15px 13px; }
    .topic-card__text strong, .topic-card--plain > strong { margin: 10px 0 7px; font-size: 20px; }
    .topic-card__text small, .topic-card--plain > small { display: -webkit-box; overflow: hidden; font-size: 9.5px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
    .topic-card__text em, .topic-card--plain > em { margin-top: 11px; }
    .topic-card--plain { min-height: 175px; padding: 18px; }

    .reading { padding-top: 35px; }
    .reading .section-title { max-width: 340px; }
    .reading-grid { display: flex; flex-direction: column; gap: 12px; }
    .lead-article { border-radius: 16px; }
    .lead-article__image { height: 320px; }
    .lead-article__body { padding: 18px 17px; }
    .lead-article__body h3 { font-size: 27px; }
    .mini-article { min-height: 145px; grid-template-columns: 2fr 1fr; border-radius: 15px; }
    .mini-article > div { padding: 15px; }
    .mini-article small { margin: 9px 0 6px; font-size: 8.5px; }
    .mini-article h3 { font-size: 16px; }

    .site-footer { padding: 25px 0 12px; }
    .footer-grid { display: flex; flex-direction: column; gap: 0; }
    .footer-brand { padding-bottom: 20px; }
    .brand--footer .brand__mark { width: 32px; height: 42px; }
    .brand--footer .brand__text { font-size: 42px; }
    .footer-brand p { max-width: 310px; font-size: 9px; }
    .footer-column { gap: 0; border-top: 1px solid rgba(255,255,255,.7); }
    .footer-column h3 { position: relative; margin: 0; padding: 16px 0; }
    .footer-column h3::after { content: '\\2304'; position: absolute; right: 3px; }
    .footer-column a { display: none; }
    .footer-contact { gap: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.7); }
    .footer-contact p { padding: 12px 0; font-size: 8px; }
    .footer-social { margin-top: 22px; }
    .footer-bottom { margin-top: 22px; }
    .back-to-top { right: 15px; bottom: 13px; width: 38px; height: 38px; font-size: 22px; }
}

/* Long-form A CUTE PET STORY wordmark sizing. */
.brand__text { margin-left: 4px; font-size: 20px; font-weight: 800; letter-spacing: .35px; white-space: nowrap; }
.brand--footer .brand__text,
.footer-grid--editorial .brand--footer .brand__text { max-width: none; overflow: visible; font-size: clamp(22px, 2.1vw, 32px); letter-spacing: .6px; text-overflow: clip; }
@media (max-width: 980px) {
    .site-header__main > .brand .brand__text { font-size: clamp(15px, 4.2vw, 19px); letter-spacing: .2px; }
    .mobile-drawer .brand__text { font-size: 18px; }
}
@media (max-width: 680px) {
    .footer-grid--editorial .brand--footer .brand__text { max-width: calc(100vw - 85px); font-size: clamp(21px, 6.2vw, 28px); white-space: normal; }
}

/*
 * Reference-scale correction
 * The supplied mockup uses a much larger editorial scale than a conventional
 * blog theme. These rules intentionally enlarge the complete composition.
 */
@media (min-width: 681px) {
    :root { --shell: 1280px; }
    .site-header__main { height: 76px; }
    .brand__mark { width: 29px; height: 38px; }
    .brand__text { font-size: 33px; }
    .desktop-nav { gap: 46px; margin-right: 175px; }
    .desktop-nav a { font-size: 15px; }
    .header-actions { gap: 15px; }
    .icon-button svg { width: 23px; height: 23px; }
    .journal-bar { height: 58px; }
    .journal-bar__inner { gap: 33px; }
    .journal-bar__inner strong, .journal-bar__inner a { font-size: 14px; }

    .hero__grid { min-height: 745px; grid-template-columns: 42% 58%; gap: 56px; padding-top: 75px; padding-bottom: 80px; }
    .eyebrow-pill { padding: 10px 14px; font-size: 13px; }
    .hero h1 { max-width: 520px; margin: 24px 0 24px; font-size: clamp(68px, 4.6vw, 86px); line-height: .98; letter-spacing: -3px; }
    .hero__copy > p { max-width: 520px; font-size: 18px; line-height: 1.55; }
    .hero__stats { margin-top: 42px; padding-top: 23px; }
    .hero__stats strong { font-size: 27px; }
    .hero__stats span { margin-top: 6px; font-size: 13px; }
    .hero__visual > img { height: 465px; border-radius: 32px; }
    .featured-story { left: -24px; bottom: 30px; width: 292px; padding: 26px 24px; border-radius: 17px; }
    .featured-story > span { font-size: 13px; }
    .featured-story h2 { margin: 13px 0 10px; font-size: 25px; }
    .featured-story p { font-size: 14px; line-height: 1.45; }

    .section { padding-top: 88px; padding-bottom: 90px; }
    .kicker { margin-bottom: 13px; font-size: 13px; }
    .section-title { margin-bottom: 34px; font-size: 42px; }
    .topic-grid { grid-template-rows: 285px 285px 225px; gap: 20px; }
    .topic-card { border-radius: 24px; }
    .count { font-size: 13px; padding: 9px 14px; }
    .topic-card__content { padding: 34px 32px; }
    .topic-card__content h3 { margin: 12px 0 15px; font-size: 51px; }
    .topic-card__content p { max-width: 430px; margin-bottom: 24px; font-size: 14px; }
    .explore-button, .read-button { padding: 14px 18px; font-size: 13px; }
    .topic-card__text { padding: 26px 29px; }
    .topic-card__text .count, .topic-card--plain .count { padding: 8px 13px; }
    .topic-card__text strong, .topic-card--plain > strong { margin: 15px 0 12px; font-size: 37px; }
    .topic-card__text small, .topic-card--plain > small { font-size: 14px; line-height: 1.45; }
    .topic-card__text em, .topic-card--plain > em { margin-top: 21px; font-size: 13px; }
    .topic-card--plain { padding: 31px; }

    .reading { padding-top: 52px; }
    .reading-grid { gap: 25px; }
    .lead-article__image { height: 535px; }
    .lead-article__body { padding: 29px 31px 31px; }
    .lead-article__body small, .mini-article small { font-size: 12px; }
    .lead-article__body h3 { margin: 11px 0; font-size: 37px; }
    .lead-article__body p { margin-bottom: 21px; font-size: 14px; }
    .article-list { gap: 16px; }
    .mini-article { min-height: 210px; }
    .mini-article > div { padding: 26px; }
    .mini-article > div > span { font-size: 13px; }
    .mini-article small { margin: 15px 0 10px; }
    .mini-article h3 { font-size: 22px; }

    .site-footer { padding-top: 58px; }
    .footer-grid { gap: 45px; }
    .brand--footer .brand__mark { width: 39px; height: 49px; }
    .brand--footer .brand__text { font-size: 46px; }
    .footer-brand p { max-width: 225px; font-size: 12px; }
    .footer-column h3 { font-size: 13px; }
    .footer-column a, .footer-contact p { font-size: 12px; }
}

@media (max-width: 680px) {
    .shell { width: calc(100% - 32px); }
    .site-header__main { width: calc(100% - 24px); height: 60px; }
    .brand__mark { width: 25px; height: 33px; }
    .brand__text { font-size: 28px; }
    .icon-button svg { width: 24px; height: 24px; }
    .header-actions { gap: 10px; }
    .menu-toggle { width: 30px; }
    .menu-toggle span { height: 2px; margin: 5px 0; }
    .journal-bar { height: 52px; }
    .journal-bar__inner { padding: 0 16px; gap: 32px; }
    .journal-bar__inner strong, .journal-bar__inner a { font-size: 13px; }

    .hero__grid { padding-top: 46px; }
    .hero__copy { min-height: 520px; }
    .eyebrow-pill { padding: 10px 13px; font-size: 12px; }
    .hero h1 { max-width: 370px; margin: 23px 0 23px; font-size: clamp(41px, 11vw, 48px); line-height: .98; letter-spacing: -1.5px; }
    .hero__copy > p { max-width: 360px; font-size: 18px; line-height: 1.55; }
    .hero__stats { margin-top: 38px; padding-top: 22px; }
    .hero__stats strong { font-size: 27px; }
    .hero__stats span { max-width: 90px; margin-top: 8px; font-size: 13px; line-height: 1.35; }
    .hero__visual { height: 390px; }
    .hero__visual > img { height: 275px; }
    .featured-story { left: 16px; bottom: 30px; width: min(320px, calc(100% - 45px)); padding: 21px 19px; }
    .featured-story > span { font-size: 11px; }
    .featured-story h2 { max-width: 230px; margin: 10px 0; font-size: 23px; }
    .featured-story p { font-size: 12.5px; line-height: 1.45; }

    .section { padding-top: 62px; padding-bottom: 64px; }
    .kicker { margin-bottom: 13px; font-size: 11px; }
    .section-title { margin-bottom: 27px; font-size: clamp(37px, 10vw, 43px); line-height: 1; }
    .topic-grid { gap: 14px; }
    .topic-card--cats { min-height: 500px; }
    .topic-card__content { padding: 27px 24px; }
    .count { font-size: 12px; padding: 8px 11px; }
    .topic-card__content h3 { margin: 12px 0; font-size: 42px; }
    .topic-card__content p { font-size: 13px; line-height: 1.5; }
    .explore-button, .read-button { padding: 13px 17px; font-size: 12px; }
    .topic-card--media { min-height: 235px; }
    .topic-card__text { padding: 20px 18px; }
    .topic-card__text strong, .topic-card--plain > strong { margin: 12px 0 10px; font-size: 27px; }
    .topic-card__text small, .topic-card--plain > small { font-size: 13px; line-height: 1.5; }
    .topic-card__text em, .topic-card--plain > em { margin-top: 15px; font-size: 12px; }
    .topic-card--plain { min-height: 220px; padding: 23px; }

    .reading { padding-top: 49px; }
    .reading .section-title { max-width: 370px; }
    .lead-article__image { height: 410px; }
    .lead-article__body { padding: 23px 21px; }
    .lead-article__body small { font-size: 11px; }
    .lead-article__body h3 { font-size: 34px; }
    .lead-article__body p { font-size: 13px; }
    .article-list { gap: 14px; }
    .mini-article { min-height: 185px; }
    .mini-article > div { padding: 19px; }
    .mini-article > div > span { font-size: 11px; }
    .mini-article small { font-size: 10px; }
    .mini-article h3 { font-size: 20px; }

    .site-footer { padding-top: 34px; }
    .footer-brand p { max-width: 350px; font-size: 12px; }
    .footer-column h3 { font-size: 12px; }
    .footer-contact p { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mobile-drawer { transition: none; }
}

/* Inner pages */
.content-shell, .single-shell { padding-top: 70px; padding-bottom: 90px; }
.content-header { margin-bottom: 32px; }
.content-header h1, .single-content h1 { margin: 0; color: var(--ink); font-size: clamp(38px, 5vw, 62px); line-height: 1; }
.archive-description, .post-meta { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.post-card__image { display: block; height: 210px; background: var(--cream); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__body small { color: var(--muted); }
.post-card h2 { margin: 8px 0; color: var(--ink); font-size: 22px; line-height: 1.1; }
.post-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; }
.pagination .current { color: #fff; background: var(--orange); border-color: var(--orange); }
.single-shell { max-width: 800px; }
.single-content header { margin-bottom: 30px; }
.single-hero { overflow: hidden; margin-bottom: 35px; border-radius: 22px; }
.single-hero img { width: 100%; height: auto; }
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content img { height: auto; border-radius: 14px; }
.entry-content h2, .entry-content h3 { color: var(--ink); }
@media (max-width: 680px) {
    .content-shell, .single-shell { padding-top: 42px; padding-bottom: 55px; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card__image { height: 230px; }
    .entry-content { font-size: 16px; }
}

/* Journal archive */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 48px; color: #777; font-size: 13px; }
.breadcrumbs a:hover { color: var(--orange); }
.archive-hero { padding: 48px 0 58px; background: var(--cream); }
.archive-hero .kicker { margin-bottom: 15px; }
.archive-hero h1 { max-width: 880px; margin: 0; color: var(--ink); font-size: clamp(56px, 6vw, 88px); line-height: .95; letter-spacing: -3px; }
.archive-intro { max-width: 670px; margin-top: 25px; color: #666; font-size: 18px; line-height: 1.55; }
.archive-intro p { margin: 0; }
.archive-tabs { position: sticky; z-index: 12; top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.archive-tabs__inner { display: flex; align-items: center; gap: 35px; height: 70px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.archive-tabs__inner::-webkit-scrollbar { display: none; }
.archive-tabs a { position: relative; color: #555; font-size: 14px; }
.archive-tabs a.is-active { color: var(--ink); font-weight: 700; }
.archive-tabs a.is-active::after { content: ''; position: absolute; right: 0; bottom: -26px; left: 0; height: 3px; background: var(--orange); }
.archive-content { padding-top: 72px; padding-bottom: 100px; }
.archive-feature { display: grid; grid-template-columns: 58% 42%; min-height: 505px; overflow: hidden; border-radius: 28px; background: var(--cream); }
.archive-feature__image { min-height: 100%; }
.archive-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.archive-feature__copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; color: #777; font-size: 12px; }
.archive-feature__copy .article-meta { margin: 14px 0; }
.archive-feature__copy h2 { margin: 0 0 18px; color: var(--ink); font-size: clamp(34px, 3vw, 48px); line-height: 1.03; letter-spacing: -1.3px; }
.archive-feature__copy > p:not(.kicker) { margin: 0 0 25px; color: #676767; font-size: 15px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; color: var(--rust); font-size: 13px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.archive-list-head { display: flex; align-items: end; justify-content: space-between; margin: 90px 0 32px; }
.archive-list-head h2, .related-section h2 { margin: 0; color: var(--ink); font-size: 42px; line-height: 1; }
.archive-list-head > span { color: #777; font-size: 13px; }
.journal-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.journal-card { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.journal-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(30,34,40,.08); }
.journal-card__image { position: relative; display: block; height: 265px; overflow: hidden; background: var(--cream); }
.journal-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.journal-card:hover .journal-card__image img { transform: scale(1.025); }
.journal-card__image > span { position: absolute; top: 16px; left: 16px; padding: 8px 11px; border-radius: 99px; color: #fff; background: var(--rust); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.journal-card__body { padding: 24px; }
.journal-card__body h2, .journal-card__body h3 { margin: 12px 0 10px; color: var(--ink); font-size: 26px; line-height: 1.08; }
.journal-card__body p { display: -webkit-box; min-height: 64px; margin: 0 0 20px; overflow: hidden; color: #777; font-size: 14px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.journal-pagination { margin-top: 52px; }
.journal-pagination .nav-links { display: flex; justify-content: center; gap: 9px; }
.journal-pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; }
.journal-pagination .current { color: #fff; border-color: var(--ink); background: var(--ink); }
.empty-state { padding: 80px 20px; border-radius: 20px; background: var(--cream); text-align: center; }
.empty-state h2 { color: var(--ink); }

/* Article detail */
.article-header { max-width: 1050px; padding-top: 55px; padding-bottom: 45px; text-align: center; }
.article-header .breadcrumbs { justify-content: center; margin-bottom: 45px; }
.article-category { display: inline-block; margin-bottom: 19px; padding: 8px 13px; border-radius: 99px; color: var(--rust); background: #faefec; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.article-header h1 { max-width: 1000px; margin: 0 auto; color: var(--ink); font-size: clamp(54px, 6.2vw, 88px); line-height: .98; letter-spacing: -3px; }
.article-deck { max-width: 760px; margin: 25px auto 0; color: #666; font-size: 19px; line-height: 1.55; }
.article-byline { display: flex; width: fit-content; align-items: center; gap: 13px; margin: 30px auto 0; text-align: left; }
.author-avatar img { display: block; border-radius: 50%; }
.article-byline > div:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.article-byline strong { color: var(--ink); font-size: 13px; }
.article-byline span { color: #777; font-size: 12px; }
.article-byline .vet-badge { margin-left: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; color: #555; font-weight: 700; }
.article-cover { height: min(60vw, 690px); overflow: hidden; border-radius: 30px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: 80px; padding-top: 72px; padding-bottom: 90px; }
.article-sidebar__sticky { position: sticky; top: 95px; padding-right: 25px; border-right: 1px solid var(--line); }
.article-sidebar__sticky > p { margin: 0 0 18px; color: var(--ink); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.article-toc { display: flex; flex-direction: column; gap: 13px; }
.article-toc a { color: #777; font-size: 13px; line-height: 1.35; }
.article-toc a:hover { color: var(--rust); }
.article-toc a.is-subheading { padding-left: 13px; font-size: 12px; }
.article-share { display: flex; align-items: center; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-share > span { margin-right: 3px; color: #777; font-size: 11px; text-transform: uppercase; }
.article-share a, .article-share button { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.article-note { margin-bottom: 34px; padding: 22px 24px; border-left: 4px solid var(--orange); border-radius: 0 13px 13px 0; background: var(--cream); }
.article-note strong { color: var(--ink); font-size: 14px; }
.article-note p { margin: 7px 0 0; color: #666; font-size: 13px; line-height: 1.5; }
.article-body .entry-content { color: #3d3d3d; font-size: 18px; line-height: 1.82; }
.article-body .entry-content > p:first-child { color: #343434; font-size: 21px; line-height: 1.7; }
.article-body .entry-content h2 { margin: 58px 0 18px; font-size: 36px; line-height: 1.1; letter-spacing: -.7px; }
.article-body .entry-content h3 { margin: 38px 0 14px; font-size: 27px; line-height: 1.15; }
.article-body .entry-content a { color: var(--rust); text-decoration: underline; }
.article-body .entry-content blockquote { margin: 35px 0; padding: 25px 30px; border-radius: 16px; color: var(--ink); background: #fbf0e8; font-size: 21px; font-weight: 700; }
.article-body .entry-content ul, .article-body .entry-content ol { padding-left: 24px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--line); }
.article-tags strong { margin-right: 5px; color: var(--ink); font-size: 12px; text-transform: uppercase; }
.article-tags a { padding: 8px 12px; border-radius: 99px; background: var(--cream); color: #555; font-size: 12px; }
.related-section { padding: 85px 0 100px; background: var(--cream); }
.related-section h2 { margin-bottom: 34px; }
.journal-card-grid--related .journal-card { background: #fff; }

@media (max-width: 900px) {
    .archive-feature { grid-template-columns: 1fr; }
    .archive-feature__image { height: 430px; }
    .archive-feature__copy { padding: 40px; }
    .journal-card-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; gap: 35px; }
    .article-sidebar__sticky { position: static; padding: 0 0 25px; border-right: 0; border-bottom: 1px solid var(--line); }
    .article-toc { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .breadcrumbs { gap: 7px; margin-bottom: 30px; font-size: 11px; }
    .archive-hero { padding: 32px 0 40px; }
    .archive-hero h1 { font-size: 48px; letter-spacing: -1.6px; }
    .archive-intro { margin-top: 18px; font-size: 16px; }
    .archive-tabs__inner { width: 100%; height: 58px; padding: 0 16px; gap: 27px; }
    .archive-tabs a { font-size: 12px; }
    .archive-tabs a.is-active::after { bottom: -21px; }
    .archive-content { padding-top: 35px; padding-bottom: 65px; }
    .archive-feature { min-height: 0; border-radius: 19px; }
    .archive-feature__image { height: 290px; }
    .archive-feature__copy { padding: 25px 22px 29px; }
    .archive-feature__copy h2 { font-size: 32px; }
    .archive-feature__copy > p:not(.kicker) { font-size: 14px; }
    .archive-list-head { margin: 60px 0 24px; }
    .archive-list-head h2, .related-section h2 { font-size: 34px; }
    .archive-list-head > span { display: none; }
    .journal-card-grid { grid-template-columns: 1fr; gap: 16px; }
    .journal-card__image { height: 255px; }
    .journal-card__body { padding: 21px; }
    .journal-card__body h2, .journal-card__body h3 { font-size: 25px; }
    .article-meta { font-size: 11px; }

    .article-header { padding-top: 32px; padding-bottom: 32px; text-align: left; }
    .article-header .breadcrumbs { justify-content: flex-start; }
    .article-category { margin-bottom: 15px; }
    .article-header h1 { font-size: clamp(40px, 11.5vw, 52px); letter-spacing: -1.8px; }
    .article-deck { margin-top: 19px; font-size: 17px; }
    .article-byline { width: 100%; margin-top: 25px; }
    .article-byline .vet-badge { display: none; }
    .article-cover { width: 100%; height: 330px; border-radius: 0; }
    .article-layout { gap: 28px; padding-top: 35px; padding-bottom: 60px; }
    .article-toc { grid-template-columns: 1fr; gap: 11px; }
    .article-body .entry-content { font-size: 17px; line-height: 1.75; }
    .article-body .entry-content > p:first-child { font-size: 19px; }
    .article-body .entry-content h2 { margin-top: 45px; font-size: 31px; }
    .article-body .entry-content h3 { font-size: 25px; }
    .article-body .entry-content blockquote { padding: 21px; font-size: 18px; }
    .related-section { padding: 60px 0 70px; }
}

/* Category archive — matches the supplied desktop and mobile reference. */
.category .site-header__main,
.archive .site-header__main { width: min(calc(100% - 40px), 1115px); height: 62px; }
.category .desktop-nav,
.archive .desktop-nav { gap: 36px; margin-right: 185px; }
.category .desktop-nav a,
.archive .desktop-nav a { font-size: 13px; }
.category-shell { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.category-intro { background: #f9f3ec; }
.category-intro__grid { min-height: 312px; display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; gap: 95px; padding-top: 46px; padding-bottom: 46px; }
.category-kicker { margin: 0 0 17px; color: var(--orange); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .35px; }
.category-intro h1 { margin: 0 0 20px; color: var(--ink); font-size: 48px; line-height: 1; letter-spacing: -1.5px; }
.category-intro__copy > p,
.category-description { max-width: 520px; margin: 0; color: #696969; font-size: 14px; line-height: 1.62; }
.category-description p { margin: 0; }
.category-intro__image { width: 305px; height: 210px; object-fit: cover; border-radius: 20px; }
.category-main { padding-top: 32px; padding-bottom: 100px; }
.category-featured { display: grid; grid-template-columns: 1fr 1fr; height: 400px; overflow: hidden; border: 1px solid #e4ded6; border-radius: 20px; background: #fff; }
.category-featured__image { position: relative; display: block; min-width: 0; height: 100%; overflow: hidden; }
.category-featured__image img { width: 100%; height: 100%; object-fit: cover; }
.category-featured__image > span { position: absolute; top: 13px; left: 13px; padding: 9px 13px; border-radius: 99px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.category-featured__body { display: flex; flex-direction: column; justify-content: center; padding: 48px 58px; }
.category-featured__body h2 { margin: 0 0 18px; color: var(--ink); font-size: 35px; line-height: 1.03; letter-spacing: -.9px; }
.category-featured__body > p { margin: 0 0 20px; color: #707070; font-size: 13px; line-height: 1.55; }
.category-date { display: flex; gap: 18px; color: #777; font-size: 10px; }
.category-button { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; margin-top: 24px; padding: 13px 18px; border-radius: 99px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 800; }
.category-content-grid { display: grid; grid-template-columns: minmax(0, 2fr) 300px; align-items: start; gap: 58px; margin-top: 97px; }
.category-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.category-section-head h2 { margin: 0; color: var(--ink); font-size: 32px; line-height: 1; }
.category-section-head > span { color: #777; font-size: 11px; }
.category-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.category-card { overflow: hidden; border: 1px solid #e4ded6; border-radius: 17px; background: #fff; }
.category-card__image { display: block; height: 210px; overflow: hidden; background: var(--cream); }
.category-card__image img { width: 100%; height: 100%; object-fit: cover; }
.category-card__body { padding: 20px 17px 22px; }
.category-card__body h3 { margin: 0 0 11px; color: var(--ink); font-size: 19px; line-height: 1.08; }
.category-card__body > p { display: -webkit-box; min-height: 54px; margin: 0 0 16px; overflow: hidden; color: #777; font-size: 11px; line-height: 1.48; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.category-read-more { display: inline-flex; gap: 7px; margin-top: 18px; color: var(--orange); font-size: 11px; font-weight: 800; }
.category-load-more { display: flex; justify-content: center; margin-top: 28px; }
.category-load-more a,
.category-load-more span { min-width: 170px; padding: 12px 20px; border-radius: 99px; color: #fff; background: var(--orange); font-size: 11px; font-weight: 800; text-align: center; }
.category-load-more a.is-loading { pointer-events: none; opacity: .72; }
.category-load-more span.is-complete { background: #8c8c8c; }
.category-card.is-appending { animation: puainta-card-reveal .38s ease both; }
@keyframes puainta-card-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.category-sidebar { padding-top: 0; }
.popular-box { padding: 23px 20px 12px; border: 1px solid #e4ded6; border-radius: 18px; }
.popular-box h2 { margin: 0 0 8px; color: var(--ink); font-size: 22px; }
.popular-box ol { margin: 0; padding: 0; list-style: none; }
.popular-box li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid #e5dfd7; }
.popular-box li:last-child { border-bottom: 0; }
.popular-box li > span { color: var(--orange); font-size: 17px; font-weight: 800; }
.popular-box li div { display: flex; flex-direction: column; }
.popular-box li a { color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.18; }
.popular-box li small { margin-top: 9px; color: #777; font-size: 9px; }
.category-newsletter { margin-top: 22px; padding: 25px 20px 22px; border-radius: 17px; color: #fff; background: var(--orange); }
.category-newsletter h2 { margin: 0 0 13px; color: var(--ink); font-size: 23px; line-height: 1.08; }
.category-newsletter > p { margin: 0 0 20px; font-size: 12px; line-height: 1.45; }
.category-newsletter form { display: flex; flex-direction: column; gap: 10px; }
.category-newsletter input,
.category-newsletter button { width: 100%; height: 43px; border: 0; border-radius: 99px; padding: 0 15px; }
.category-newsletter input { color: #333; background: #fff; font-size: 11px; }
.category-newsletter button { color: #fff; background: #191612; font-size: 11px; font-weight: 800; cursor: pointer; }
.category-newsletter small { display: block; margin-top: 12px; font-size: 9px; }
.category-empty { padding: 30px; border-radius: 14px; background: var(--cream); text-align: center; }

@media (max-width: 780px) {
    .category .site-header__main,
    .archive .site-header__main { width: calc(100% - 22px); height: 60px; }
    .category-shell { width: calc(100% - 24px); }
    .category-intro__grid { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-top: 22px; padding-bottom: 25px; }
    .category-kicker { margin-bottom: 12px; font-size: 10px; }
    .category-intro h1 { margin-bottom: 16px; font-size: 42px; }
    .category-intro__copy > p,
    .category-description { max-width: none; font-size: 15px; line-height: 1.57; }
    .category-intro__image { width: 100%; height: 185px; border-radius: 16px; }
    .category-main { padding-top: 32px; padding-bottom: 66px; }
    .category-featured { height: auto; display: flex; flex-direction: column; border-radius: 16px; }
    .category-featured__image { height: 285px; }
    .category-featured__body { padding: 24px 20px 27px; }
    .category-featured__body h2 { margin-bottom: 14px; font-size: 29px; }
    .category-featured__body > p { font-size: 13px; }
    .category-button { margin-top: 20px; padding: 12px 17px; }
    .category-content-grid { display: flex; flex-direction: column; gap: 36px; margin-top: 54px; }
    .category-latest,
    .category-sidebar { width: 100%; }
    .category-section-head { margin-bottom: 18px; }
    .category-section-head h2 { font-size: 29px; }
    .category-section-head > span { font-size: 10px; }
    .category-cards { grid-template-columns: 1fr; gap: 12px; }
    .category-card { border-radius: 14px; }
    .category-card__image { height: 245px; }
    .category-card__body { padding: 17px 16px 19px; }
    .category-card__body h3 { font-size: 22px; }
    .category-card__body > p { min-height: 0; font-size: 12px; }
    .category-date { font-size: 10px; }
    .category-read-more { margin-top: 15px; }
    .category-load-more { margin-top: 22px; }
    .category-load-more a,
    .category-load-more span { min-width: 210px; }
    .popular-box { padding: 21px 18px 10px; }
    .popular-box h2 { font-size: 24px; }
    .popular-box li a { font-size: 14px; }
    .category-newsletter { margin-top: 14px; padding: 24px 19px 21px; }
    .category-newsletter h2 { font-size: 25px; }
    .category-newsletter > p { font-size: 13px; }
}

/* Dynamic desktop mega menu and compact sticky mobile header. */
.mega-menu-layer { position: absolute; z-index: 120; top: 100%; right: 0; left: 0; pointer-events: none; }
.mega-menu[hidden] { display: none; }
.mega-menu { width: min(calc(100% - 64px), 1200px); display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; margin: 0 auto; padding: 24px; pointer-events: auto; border: 1px solid #eadfd5; border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 20px 45px rgba(54, 40, 28, .15); }
.mega-menu--no-feature { grid-template-columns: 1fr; }
.mega-menu__main { min-width: 0; }
.mega-menu__columns { display: grid; grid-template-columns: repeat(var(--mega-columns), minmax(0, 1fr)); }
.mega-menu__column { min-width: 0; padding: 0 16px 8px; border-right: 1px solid #ece5de; }
.mega-menu__column:first-child { padding-left: 0; }
.mega-menu__column:last-child { padding-right: 0; border-right: 0; }
.mega-menu__column-head { display: flex; min-height: 40px; align-items: center; gap: 9px; }
.mega-menu__column-head > a { min-width: 0; color: #25211e; font-size: 14px; font-weight: 800; line-height: 1.18; }
.mega-menu__icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; color: var(--orange); background: #fff0e3; }
.mega-menu__icon .ui-icon { width: 18px; height: 18px; }
.mega-menu__label { margin: 9px 0 8px; color: #8b7566; font-size: 9px; font-weight: 800; letter-spacing: .25px; text-transform: uppercase; }
.mega-menu__column ul { margin: 0; padding: 0; list-style: none; }
.mega-menu__column li + li { margin-top: 3px; }
.mega-menu__column li a { display: flex; min-width: 0; align-items: center; gap: 6px; overflow: hidden; padding: 5px 0; color: #5f5853; font-size: 11px; line-height: 1.22; text-overflow: ellipsis; white-space: nowrap; }
.mega-menu__column li a span { flex: 0 0 auto; color: var(--orange); font-size: 16px; line-height: 1; }
.mega-menu__column a:hover,
.mega-menu__column a:focus { color: var(--orange); outline: none; }
.mega-menu__footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid #ece5de; }
.mega-menu__footer-link { display: grid; min-width: 0; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; padding: 0 18px; border-right: 1px solid #ece5de; }
.mega-menu__footer-link:first-child { padding-left: 0; }
.mega-menu__footer-link:last-child { border-right: 0; }
.mega-menu__footer-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--orange); background: #fff0e3; font-size: 18px; }
.mega-menu__footer-icon .ui-icon { width: 20px; height: 20px; }
.mega-menu__footer-link > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.mega-menu__footer-link strong { overflow: hidden; color: #2d2926; font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.mega-menu__footer-link small { display: block; overflow: hidden; color: #77706a; font-size: 9px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mega-feature { position: relative; min-height: 300px; overflow: hidden; padding: 20px 18px 16px; border-radius: 14px; background: linear-gradient(145deg, #fff6eb, #f8e8d7); }
.mega-feature__badge { display: inline-flex; padding: 7px 10px; border-radius: 99px; color: var(--orange); background: #fff; font-size: 8px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.mega-feature__title { position: relative; z-index: 2; display: block; max-width: 150px; margin-top: 14px; color: #241f1b; font-size: 20px; line-height: 1.03; }
.mega-feature > p { position: relative; z-index: 2; max-width: 150px; margin: 9px 0 0; color: #71675e; font-size: 10px; line-height: 1.4; }
.mega-feature__image { position: absolute; right: -18px; bottom: 43px; width: 165px; height: 160px; }
.mega-feature__image::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(248,232,215,.45)); }
.mega-feature__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.mega-feature__button { position: absolute; z-index: 3; bottom: 16px; left: 18px; display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 16px; border-radius: 99px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; }
.mega-feature__button:hover,
.mega-feature__button:focus { background: #e95d00; outline: none; }

@media (min-width: 981px) {
    .site-header { position: relative; z-index: 100; border-bottom: 1px solid #eee8e2; }
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { width: min(calc(100% - 64px), 1240px); height: 82px; }
    .desktop-nav,
    .category .desktop-nav,
    .archive .desktop-nav,
    .single-post .desktop-nav,
    .puainta-home .desktop-nav { position: static; margin: 0 22px 0 auto; transform: none; }
    .mega-nav__list { gap: clamp(15px, 2vw, 32px); }
    .mega-nav__item { position: relative; display: flex; min-height: 82px; align-items: center; }
    .mega-nav__item::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; opacity: 0; background: var(--orange); transition: opacity .18s ease; }
    .mega-nav__item.is-open::after,
    .mega-nav__item.is-current::after { opacity: 1; }
    .desktop-menu .mega-nav__link { min-height: 82px; padding: 0; color: #24201d; font-size: clamp(12px, 1.05vw, 15px); font-weight: 600; }
    .mega-nav__item.is-open .mega-nav__link,
    .mega-nav__item.is-current .mega-nav__link { color: var(--orange); }
    .mega-nav__toggle { display: grid; width: 24px; height: 38px; place-items: center; border: 0; padding: 0; color: #37322e; background: transparent; cursor: pointer; }
    .mega-nav__toggle svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .18s ease; }
    .mega-nav__item.is-open .mega-nav__toggle { color: var(--orange); }
    .mega-nav__item.is-open .mega-nav__toggle svg { transform: rotate(180deg); }
    .header-actions { margin-left: 0; }
    .header-actions .search-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #eadfd5; border-radius: 50%; padding: 0; }
    .header-actions .search-toggle svg { width: 21px; height: 21px; }
    .header-actions .desktop-only { display: none; }
    .header-actions .menu-toggle { display: none; }
    .journal-bar { display: none !important; }
    .search-panel { z-index: 130; top: 82px; right: max(32px, calc((100% - 1240px)/2)); }
}

@media (min-width: 981px) and (max-width: 1180px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { width: calc(100% - 36px); }
    .brand__text { font-size: 22px; }
    .mega-nav__list { gap: 10px; }
    .desktop-menu .mega-nav__link { font-size: 12px; }
    .desktop-nav { margin-right: 10px; }
    .mega-menu { width: calc(100% - 36px); grid-template-columns: minmax(0, 1fr) 215px; padding: 18px; }
    .mega-menu__column { padding-inline: 10px; }
    .mega-menu__column-head > a { font-size: 12px; }
    .mega-menu__column li a { font-size: 10px; }
}

@media (max-width: 980px) {
    html { scroll-padding-top: 64px; }
    [id] { scroll-margin-top: 74px; }
    .site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid #eee8e2; box-shadow: 0 5px 18px rgba(45,35,27,.06); }
    .admin-bar .site-header { top: 32px; }
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { position: relative; width: calc(100% - 24px); height: 64px; }
    .desktop-nav,
    .mega-menu-layer,
    .journal-bar { display: none !important; }
    .site-header__main > .brand { position: absolute; left: 50%; transform: translateX(-50%); }
    .site-header__main > .brand .brand__mark { width: 27px; height: 36px; }
    .site-header__main > .brand .brand__text { font-size: 30px; }
    .header-actions { width: 100%; margin: 0; }
    .header-actions .menu-toggle { position: absolute; left: 0; display: block; width: 31px; padding: 3px; }
    .header-actions .search-toggle { position: absolute; right: 0; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; }
    .header-actions .search-toggle svg { width: 22px; height: 22px; }
    .search-panel { position: fixed; z-index: 110; inset: 64px 8px auto; padding: 48px 12px 12px; }
    .mobile-drawer { z-index: 1002; }
    .drawer-backdrop { z-index: 1001; }
}

@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* Article detail — supplied reference layout. */
.single-post .site-header__main { width: min(calc(100% - 40px), 1115px); height: 62px; }
.single-post .desktop-nav { gap: 36px; margin-right: 185px; }
.single-post .desktop-nav a { font-size: 13px; }
.detail-shell { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.post-detail { color: #4d4038; }
.post-detail__hero { min-height: 285px; display: flex; align-items: center; background: #fcf4ea; text-align: center; }
.post-detail__hero-inner { padding-top: 31px; padding-bottom: 33px; }
.detail-breadcrumb { display: flex; justify-content: center; gap: 7px; margin-bottom: 15px; color: #8b8078; font-size: 9px; }
.detail-category { display: inline-block; margin-bottom: 15px; padding: 7px 12px; border-radius: 99px; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.post-detail__hero h1 { max-width: 660px; margin: 0 auto; color: #5b301c; font-size: 44px; line-height: .98; letter-spacing: -1.5px; }
.post-detail__excerpt { max-width: 600px; margin: 17px auto 0; color: #806f65; font-size: 12px; line-height: 1.5; }
.detail-byline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: #86766c; font-size: 9px; }
.detail-author-avatar img { width: 24px; height: 24px; border-radius: 50%; }
.detail-byline strong { color: #5b301c; }
.detail-dot { color: var(--orange); font-size: 5px; }
.post-detail__layout { display: grid; grid-template-columns: minmax(0, 650px) 280px; align-items: start; gap: 50px; padding-top: 44px; padding-bottom: 70px; }
.post-detail__cover { height: 365px; margin-bottom: 33px; overflow: hidden; border-radius: 14px; }
.post-detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-entry { color: #514740; font-size: 13px; line-height: 1.72; }
.post-entry > p:first-child { margin-top: 0; }
.post-entry p { margin: 0 0 18px; }
.post-entry h2 { margin: 46px 0 17px; color: #5a301c; font-size: 30px; line-height: 1.08; letter-spacing: -.6px; }
.post-entry h3 { margin: 30px 0 13px; color: #5a301c; font-size: 21px; line-height: 1.15; }
.post-entry h4 { margin: 23px 0 10px; color: #5a301c; font-size: 16px; }
.post-entry a { color: var(--orange); font-weight: 700; }
.post-entry ul,
.post-entry ol { margin: 0 0 20px; padding-left: 22px; }
.post-entry li { margin-bottom: 7px; }
.post-entry img { width: auto; max-width: 100%; height: auto; margin: 10px auto 24px; border-radius: 12px; }
.post-entry figure { max-width: 100%; margin: 26px auto; }
.post-entry figure img { margin: 0; }
.post-entry blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: #fcf4ea; }
.post-entry .wp-block-button__link { color: #fff; background: var(--orange); }
.post-detail__sidebar { display: flex; flex-direction: column; gap: 15px; }
.detail-side-card { padding: 18px 17px; border: 1px solid #e7dfd7; border-radius: 15px; background: #fff; }
.detail-side-card > h2 { margin: 0 0 14px; color: #5b301c; font-size: 15px; }
.related-categories ul { margin: 0; padding: 0; list-style: none; }
.related-categories li { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 8px; min-height: 39px; border-bottom: 1px solid #eee8e2; }
.related-categories li:last-child { border-bottom: 0; }
.category-mini-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #f5eee6; font-size: 12px; }
.related-categories a { color: #55473e; font-size: 10px; font-weight: 700; }
.related-categories small { min-width: 23px; padding: 3px 6px; border-radius: 99px; color: #8a7d73; background: #f5eee6; font-size: 8px; text-align: center; }
.detail-popular__list { display: flex; flex-direction: column; }
.detail-popular article { display: grid; grid-template-columns: 58px 1fr; gap: 9px; padding: 9px 0; border-bottom: 1px solid #eee8e2; }
.detail-popular article:last-child { border-bottom: 0; }
.detail-popular__image { height: 48px; overflow: hidden; border-radius: 7px; }
.detail-popular__image img { width: 100%; height: 100%; object-fit: cover; }
.detail-popular h3 { margin: 0; color: #5a301c; font-size: 9px; line-height: 1.22; }
.detail-popular small { display: block; margin-top: 5px; color: #94867d; font-size: 7px; }
.detail-shop-card { padding: 20px 17px; border-radius: 15px; background: #fcf0e2; }
.detail-shop-card > span { color: var(--orange); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.detail-shop-card h2 { margin: 8px 0; color: #5a301c; font-size: 17px; }
.detail-shop-card p { margin: 0 0 14px; color: #77685f; font-size: 10px; line-height: 1.45; }
.detail-shop-card a { display: inline-block; padding: 9px 13px; border-radius: 99px; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; }
.detail-after-content { padding: 27px 0 43px; background: #f1f3fa; }
.detail-share { display: flex; align-items: center; justify-content: space-between; padding-bottom: 29px; }
.detail-share > strong { color: #5a301c; font-size: 10px; }
.detail-share > div { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-share a,
.detail-share button { height: 28px; border: 1px solid #e2dcd6; border-radius: 99px; padding: 0 11px; color: #5c5048; background: #fff; font-size: 8px; cursor: pointer; }
.detail-author-box { display: grid; grid-template-columns: 90px 1fr; gap: 22px; max-width: 720px; margin-inline: auto; padding: 28px 31px; border: 1px solid #eadfd5; border-radius: 16px; background: #fff7ee; }
.detail-author-box__avatar img { width: 82px; height: 82px; border-radius: 10px; object-fit: cover; }
.detail-author-box > div > span { color: var(--orange); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.detail-author-box h2 { margin: 5px 0 2px; color: #5a301c; font-size: 18px; }
.detail-author-box strong { color: var(--orange); font-size: 9px; }
.detail-author-box p { margin: 9px 0 10px; color: #75685f; font-size: 10px; line-height: 1.5; }
.author-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.author-tags span { padding: 5px 8px; border: 1px solid #e3dbd3; border-radius: 99px; color: #776a61; background: #fff; font-size: 7px; }
.detail-related { padding: 53px 0 65px; background: #fbf3e9; }
.detail-related header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.detail-related header span,
.detail-subscribe__box > span { color: var(--orange); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.detail-related header h2 { margin: 5px 0 0; color: #5a301c; font-size: 28px; }
.detail-related header > a { color: var(--orange); font-size: 9px; font-weight: 800; }
.detail-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.detail-related article { overflow: hidden; border: 1px solid #e5ddd5; border-radius: 13px; background: #fff; }
.detail-related__image { display: block; height: 185px; overflow: hidden; }
.detail-related__image img { width: 100%; height: 100%; object-fit: cover; }
.detail-related article > div { padding: 14px 13px 16px; }
.detail-related h3 { margin: 0 0 9px; color: #5a301c; font-size: 13px; line-height: 1.17; }
.detail-related p { display: -webkit-box; min-height: 42px; margin: 0 0 12px; overflow: hidden; color: #80736a; font-size: 9px; line-height: 1.45; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.detail-related article > div > a { color: var(--orange); font-size: 9px; font-weight: 800; }
.detail-subscribe { padding: 28px 20px; background: #eef1f9; }
.detail-subscribe__box { max-width: 980px; margin-inline: auto; padding: 34px 20px 29px; border: 1px solid #eadfd5; border-radius: 17px; background: #fff7ee; text-align: center; }
.detail-subscribe__box h2 { margin: 7px 0 8px; color: #5a301c; font-size: 27px; line-height: 1; }
.detail-subscribe__box > p { margin: 0; color: #80736a; font-size: 9px; }
.detail-subscribe form { display: flex; max-width: 490px; margin: 20px auto 0; }
.detail-subscribe input { flex: 1; min-width: 0; height: 38px; border: 1px solid #e3ddd6; border-radius: 99px 0 0 99px; padding: 0 15px; background: #fff; font-size: 9px; }
.detail-subscribe button { width: 105px; border: 0; border-radius: 99px; margin-left: -20px; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; }
.detail-subscribe small { display: block; margin-top: 10px; color: #94887f; font-size: 7px; }

@media (max-width: 780px) {
    .single-post .site-header__main { width: calc(100% - 22px); height: 60px; }
    .detail-shell { width: calc(100% - 24px); }
    .post-detail__hero { min-height: 0; }
    .post-detail__hero-inner { padding-top: 23px; padding-bottom: 27px; }
    .detail-breadcrumb { margin-bottom: 13px; font-size: 9px; }
    .detail-category { margin-bottom: 13px; }
    .post-detail__hero h1 { font-size: 36px; line-height: 1; }
    .post-detail__excerpt { margin-top: 14px; font-size: 12px; }
    .detail-byline { gap: 6px; margin-top: 14px; font-size: 8px; }
    .post-detail__layout { display: flex; flex-direction: column; gap: 42px; padding-top: 26px; padding-bottom: 42px; }
    .post-detail__main,
    .post-detail__sidebar { width: 100%; }
    .post-detail__cover { height: 260px; margin-bottom: 26px; }
    .post-entry { font-size: 14px; line-height: 1.68; }
    .post-entry h2 { margin-top: 38px; font-size: 29px; }
    .post-entry h3 { font-size: 22px; }
    .post-entry h4 { font-size: 18px; }
    .post-entry img { width: 100%; }
    .detail-side-card { padding: 20px 17px; }
    .detail-side-card > h2 { font-size: 19px; }
    .related-categories a { font-size: 12px; }
    .detail-popular article { grid-template-columns: 75px 1fr; }
    .detail-popular__image { height: 60px; }
    .detail-popular h3 { font-size: 12px; }
    .detail-popular small { font-size: 8px; }
    .detail-shop-card h2 { font-size: 21px; }
    .detail-shop-card p { font-size: 12px; }
    .detail-after-content { padding-top: 22px; }
    .detail-share { display: block; }
    .detail-share > strong { display: block; margin-bottom: 13px; }
    .detail-share > div { gap: 6px; }
    .detail-author-box { grid-template-columns: 72px 1fr; gap: 15px; padding: 20px 17px; }
    .detail-author-box__avatar img { width: 68px; height: 68px; }
    .detail-author-box h2 { font-size: 17px; }
    .detail-author-box p { font-size: 10px; }
    .detail-related { padding: 42px 0 48px; }
    .detail-related header h2 { font-size: 27px; }
    .detail-related header > a { display: none; }
    .detail-related__grid { grid-template-columns: 1fr; gap: 12px; }
    .detail-related__image { height: 245px; }
    .detail-related h3 { font-size: 19px; }
    .detail-related p { font-size: 11px; }
    .detail-subscribe { padding: 20px 12px; }
    .detail-subscribe__box { padding: 29px 15px 25px; }
    .detail-subscribe__box h2 { font-size: 25px; }
    .detail-subscribe form { max-width: 100%; }
}

/* Wide-screen desktop layout for homepage, archives and article pages. */
@media (min-width: 1200px) {
    :root { --shell: 1600px; }
    .shell { width: min(calc(100% - 96px), 1600px); }
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { width: min(calc(100% - 96px), 1600px); }
    .journal-bar__inner { width: min(calc(100% - 96px), 1600px); }

    .hero__grid { grid-template-columns: 39% 61%; gap: 72px; }
    .hero h1 { max-width: 610px; }
    .hero__copy > p { max-width: 600px; }
    .hero__visual > img { height: 500px; }
    .featured-story { width: 310px; }
    .topic-grid { grid-template-rows: 310px 310px 245px; }
    .topic-card__content p { max-width: 520px; }
    .reading-grid { grid-template-columns: 60% 40%; gap: 30px; }
    .lead-article__image { height: 585px; }
    .mini-article { min-height: 228px; }

    .category-shell,
    .detail-shell { width: min(calc(100% - 96px), 1560px); }
    .category-intro__grid { grid-template-columns: minmax(0, 1.55fr) minmax(460px, .8fr); gap: 120px; }
    .category-intro__copy > p,
    .category-description { max-width: 750px; }
    .category-intro__image { width: 100%; height: 230px; }
    .category-featured { grid-template-columns: 55% 45%; height: 470px; }
    .category-featured__body { padding: 58px 75px; }
    .category-featured__body h2 { max-width: 590px; font-size: 42px; }
    .category-featured__body > p { max-width: 590px; font-size: 15px; }
    .category-content-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; }
    .category-cards { gap: 28px; }
    .category-card__image { height: 290px; }
    .category-card__body { padding: 26px 24px 28px; }
    .category-card__body h3 { font-size: 24px; }
    .category-card__body > p { font-size: 13px; }
    .popular-box { padding: 28px 25px 16px; }
    .category-newsletter { padding: 30px 25px 27px; }

    .post-detail__hero h1 { max-width: 900px; font-size: 54px; }
    .post-detail__excerpt { max-width: 780px; font-size: 14px; }
    .post-detail__layout { grid-template-columns: minmax(0, 1000px) 380px; justify-content: center; gap: 76px; }
    .post-detail__cover { height: 540px; }
    .post-entry { font-size: 16px; line-height: 1.78; }
    .post-entry h2 { font-size: 36px; }
    .post-entry h3 { font-size: 25px; }
    .detail-side-card { padding: 23px 22px; }
    .detail-side-card > h2 { font-size: 18px; }
    .related-categories li { min-height: 47px; }
    .related-categories a { font-size: 12px; }
    .detail-popular article { grid-template-columns: 75px 1fr; gap: 12px; padding: 12px 0; }
    .detail-popular__image { height: 62px; }
    .detail-popular h3 { font-size: 11px; }
    .detail-shop-card { padding: 26px 22px; }
    .detail-shop-card h2 { font-size: 21px; }
    .detail-author-box { max-width: 940px; }
    .detail-related__image { height: 260px; }
    .detail-related h3 { font-size: 17px; }
    .detail-related p { font-size: 11px; }
    .detail-subscribe__box { max-width: 1560px; }
}

/* Larger editorial typography and functional footer accordions. */
.footer-accordion-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; padding: 0; color: inherit; background: transparent; font: inherit; font-weight: inherit; text-align: left; text-transform: inherit; cursor: default; }
.footer-accordion-toggle span { display: none; }
.footer-accordion-panel { display: flex; flex-direction: column; gap: 11px; }

@media (min-width: 681px) {
    .desktop-nav a { font-size: 16px; }
    .journal-bar__inner strong,
    .journal-bar__inner a { font-size: 15px; }
    .hero__copy > p { font-size: 20px; line-height: 1.58; }
    .hero__stats strong { font-size: 30px; }
    .hero__stats span { font-size: 15px; }
    .featured-story > span { font-size: 14px; }
    .featured-story h2 { font-size: 27px; }
    .featured-story p { font-size: 15px; }
    .kicker { font-size: 14px; }
    .section-title { font-size: 48px; }
    .topic-card__content p,
    .topic-card__text small,
    .topic-card--plain > small { font-size: 16px; }
    .topic-card__text em,
    .topic-card--plain > em { font-size: 14px; }
    .lead-article__body small,
    .mini-article small { font-size: 13px; }
    .lead-article__body p { font-size: 16px; }
    .mini-article > div > span { font-size: 14px; }
    .mini-article h3 { font-size: 24px; }

    .category-kicker { font-size: 13px; }
    .category-intro h1 { font-size: 56px; }
    .category-intro__copy > p,
    .category-description { font-size: 18px; }
    .category-featured__body h2 { font-size: 45px; }
    .category-featured__body > p { font-size: 17px; }
    .category-date { font-size: 13px; }
    .category-button { font-size: 14px; }
    .category-section-head h2 { font-size: 39px; }
    .category-section-head > span { font-size: 13px; }
    .category-card__body h3 { font-size: 27px; }
    .category-card__body > p { font-size: 15px; }
    .category-read-more { font-size: 14px; }
    .popular-box h2 { font-size: 27px; }
    .popular-box li a { font-size: 15px; }
    .popular-box li small { font-size: 11px; }
    .category-newsletter h2 { font-size: 28px; }
    .category-newsletter > p { font-size: 15px; }
    .category-newsletter input,
    .category-newsletter button { font-size: 13px; }

    .post-detail__excerpt { font-size: 16px; }
    .detail-byline { font-size: 12px; }
    .post-entry { font-size: 17px; }
    .detail-side-card > h2 { font-size: 21px; }
    .related-categories a { font-size: 14px; }
    .related-categories small { font-size: 10px; }
    .detail-popular h3 { font-size: 13px; }
    .detail-popular small { font-size: 10px; }
    .detail-shop-card h2 { font-size: 24px; }
    .detail-shop-card p { font-size: 14px; }
    .detail-author-box p { font-size: 13px; }
    .detail-related h3 { font-size: 19px; }
    .detail-related p { font-size: 13px; }
    .detail-subscribe__box > p { font-size: 13px; }
    .detail-subscribe input,
    .detail-subscribe button { font-size: 12px; }

    .footer-brand p { max-width: 270px; font-size: 14px; }
    .footer-column h3 { font-size: 15px; }
    .footer-column a,
    .footer-contact p { font-size: 13px; }
    .footer-bottom p { font-size: 12px; }
}

@media (max-width: 680px) {
    .hero__copy > p { font-size: 19px; }
    .hero__stats strong { font-size: 29px; }
    .hero__stats span { font-size: 14px; }
    .featured-story p { font-size: 13.5px; }
    .kicker { font-size: 12px; }
    .section-title { font-size: clamp(39px, 10.5vw, 46px); }
    .topic-card__content p,
    .topic-card__text small,
    .topic-card--plain > small { font-size: 14px; }
    .topic-card__text em,
    .topic-card--plain > em { font-size: 13px; }
    .lead-article__body small { font-size: 12px; }
    .lead-article__body p { font-size: 14px; }
    .mini-article h3 { font-size: 22px; }

    .category-intro__copy > p,
    .category-description { font-size: 17px; }
    .category-featured__body > p { font-size: 15px; }
    .category-card__body > p { font-size: 14px; }
    .category-date { font-size: 11px; }
    .category-read-more { font-size: 13px; }
    .popular-box li a { font-size: 15px; }
    .category-newsletter > p { font-size: 14px; }

    .post-detail__excerpt { font-size: 14px; }
    .detail-byline { font-size: 10px; }
    .post-entry { font-size: 16px; }
    .detail-popular h3 { font-size: 14px; }
    .detail-shop-card p { font-size: 14px; }
    .detail-author-box p { font-size: 12px; }
    .detail-related p { font-size: 13px; }
    .detail-subscribe__box > p { font-size: 12px; }

    .footer-brand p { max-width: 100%; font-size: 14px; line-height: 1.6; }
    .footer-column { border-top: 1px solid rgba(255,255,255,.72); }
    .footer-column h3 { margin: 0; padding: 0; }
    .footer-column h3::after { display: none; content: none; }
    .footer-accordion-toggle { min-height: 54px; font-size: 14px; cursor: pointer; }
    .footer-accordion-toggle span { display: inline-grid; width: 28px; height: 28px; place-items: center; font-size: 22px; font-weight: 400; }
    .footer-accordion-panel { display: none; gap: 0; padding: 0 0 14px; }
    .footer-column.is-open .footer-accordion-panel { display: flex; }
    .footer-column .footer-accordion-panel a { display: block; padding: 8px 0; font-size: 13px; text-decoration: none; }
    .footer-contact p { font-size: 12px; }
    .footer-bottom p { font-size: 11px; }
}

/* Functional multi-level mobile navigation. */
.drawer-section-panel { display: none; }
.drawer-section.is-open > .drawer-section-panel { display: block; }
.drawer-section-toggle { cursor: pointer; }
.drawer-section-toggle span { min-width: 28px; text-align: center; }
.drawer-item { border-bottom: 1px solid #eeeae5; }
.drawer-item-toggle { display: flex; width: 100%; min-height: 68px; align-items: center; justify-content: space-between; border: 0; padding: 0; color: #3f3f3f; background: transparent; font-size: 17px; text-align: left; cursor: pointer; }
.drawer-item-toggle span { display: grid; width: 28px; height: 28px; place-items: center; color: #777; font-size: 21px; font-weight: 400; }
.drawer-item-panel { display: none; padding: 0 0 12px 14px; }
.drawer-item.is-open > .drawer-item-panel { display: flex; flex-direction: column; }
.drawer-item-panel a,
.drawer-links a { display: flex; min-height: 42px; align-items: center; padding: 7px 13px; border-left: 2px solid #f0e8df; color: #666; font-size: 14px; }
.drawer-section-panel .start-here { display: flex; min-height: 52px; align-items: center; color: #333; font-size: 15px; text-decoration: underline; }
.drawer-links { padding: 0 0 13px 12px; }

/* Desktop homepage alignment audit. */
@media (min-width: 1200px) {
    .puainta-home .site-header__main { position: relative; }
    .puainta-home .desktop-nav { position: absolute; left: 50%; margin: 0; transform: translateX(-50%); }
    .puainta-home .header-actions { margin-left: auto; }
    .puainta-home .hero__grid { align-items: center; padding-top: 78px; padding-bottom: 82px; }
    .puainta-home .hero__copy { align-self: center; }
    .puainta-home .hero h1 { margin-top: 26px; margin-bottom: 25px; line-height: .98; }
    .puainta-home .hero__visual { justify-self: stretch; }
    .puainta-home .featured-story { left: -26px; bottom: 31px; }
    .puainta-home .topics { padding-top: 92px; }
    .puainta-home .reading { padding-top: 58px; }
}

/* Page-specific type scale and reliable inline icons. */
.ui-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.detail-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.detail-meta-item .ui-icon { width: 13px; height: 13px; color: var(--orange); }
.category-mini-icon .ui-icon { width: 15px; height: 15px; }
.detail-share a,
.detail-share button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.detail-share .ui-icon { width: 13px; height: 13px; }

@media (min-width: 781px) {
    .category-intro h1 { font-size: 60px; }
    .category-intro__copy > p,
    .category-description { font-size: 20px; line-height: 1.62; }
    .category-featured__body h2 { font-size: 48px; }
    .category-featured__body > p { font-size: 18px; line-height: 1.6; }
    .category-date { font-size: 14px; }
    .category-button { padding: 15px 21px; font-size: 15px; }
    .category-section-head h2 { font-size: 42px; }
    .category-card__body h3 { font-size: 29px; }
    .category-card__body > p { font-size: 16px; line-height: 1.56; }
    .category-read-more { font-size: 15px; }
    .popular-box h2 { font-size: 29px; }
    .popular-box li a { font-size: 16px; }
    .popular-box li small { font-size: 12px; }
    .category-newsletter h2 { font-size: 30px; }
    .category-newsletter > p { font-size: 16px; }

    .post-detail__hero h1 { max-width: 980px; font-size: 60px; }
    .post-detail__excerpt { max-width: 850px; font-size: 17px; }
    .detail-byline { font-size: 13px; }
    .post-entry { font-size: 18px; line-height: 1.8; }
    .post-entry h2 { font-size: 40px; }
    .post-entry h3 { font-size: 29px; }
    .post-entry h4 { font-size: 21px; }
    .detail-side-card > h2 { font-size: 23px; }
    .related-categories a { font-size: 15px; }
    .detail-popular h3 { font-size: 14px; }
    .detail-popular small { font-size: 11px; }
    .detail-shop-card h2 { font-size: 26px; }
    .detail-shop-card p { font-size: 15px; }
    .detail-share > strong { font-size: 13px; }
    .detail-share a,
    .detail-share button { height: 34px; padding: 0 14px; font-size: 11px; }
    .detail-author-box h2 { font-size: 22px; }
    .detail-author-box strong { font-size: 12px; }
    .detail-author-box p { font-size: 14px; }
    .detail-related header h2 { font-size: 34px; }
    .detail-related h3 { font-size: 20px; }
    .detail-related p { font-size: 14px; }
    .detail-subscribe__box h2 { font-size: 34px; }
    .detail-subscribe__box > p { font-size: 14px; }
}

@media (max-width: 780px) {
    .header-actions .desktop-only { display: inline-flex; }
    .header-actions { gap: 7px; }
    .icon-button svg { width: 22px; height: 22px; }

    .category-kicker { font-size: 11px; }
    .category-intro h1 { font-size: 46px; }
    .category-intro__copy > p,
    .category-description { font-size: 18px; line-height: 1.62; }
    .category-featured__body h2 { font-size: 34px; }
    .category-featured__body > p { font-size: 16px; line-height: 1.58; }
    .category-date { font-size: 12px; }
    .category-button { padding: 14px 20px; font-size: 14px; }
    .category-section-head h2 { font-size: 34px; }
    .category-section-head > span { font-size: 12px; }
    .category-card__body { padding: 21px 19px 23px; }
    .category-card__body h3 { font-size: 25px; }
    .category-card__body > p { font-size: 15px; line-height: 1.55; }
    .category-read-more { font-size: 14px; }
    .popular-box h2 { font-size: 27px; }
    .popular-box li a { font-size: 16px; }
    .popular-box li small { font-size: 11px; }
    .category-newsletter h2 { font-size: 29px; }
    .category-newsletter > p { font-size: 15px; }
    .category-newsletter input,
    .category-newsletter button { font-size: 14px; }

    .post-detail__hero h1 { font-size: 40px; }
    .post-detail__excerpt { font-size: 15px; line-height: 1.55; }
    .detail-byline { gap: 8px 11px; font-size: 11px; }
    .post-entry { font-size: 17.5px; line-height: 1.78; }
    .post-entry h2 { font-size: 34px; }
    .post-entry h3 { font-size: 26px; }
    .post-entry h4 { font-size: 21px; }
    .detail-side-card > h2 { font-size: 23px; }
    .related-categories a { font-size: 15px; }
    .detail-popular h3 { font-size: 15px; }
    .detail-popular small { font-size: 10px; }
    .detail-shop-card h2 { font-size: 24px; }
    .detail-shop-card p { font-size: 15px; }
    .detail-share > strong { font-size: 13px; }
    .detail-share a,
    .detail-share button { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
    .detail-share a span,
    .detail-share button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .detail-share .ui-icon { width: 17px; height: 17px; }
    .detail-author-box h2 { font-size: 20px; }
    .detail-author-box strong { font-size: 11px; }
    .detail-author-box p { font-size: 13px; }
    .detail-related header h2 { font-size: 31px; }
    .detail-related h3 { font-size: 22px; }
    .detail-related p { font-size: 14px; }
    .detail-subscribe__box h2 { font-size: 30px; }
    .detail-subscribe__box > p { font-size: 13px; }
}

/* Unified header and footer from the final annotated references. */
@media (min-width: 681px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { position: relative; width: min(calc(100% - 96px), 1600px); height: 74px; }
    .desktop-nav,
    .category .desktop-nav,
    .archive .desktop-nav,
    .single-post .desktop-nav { position: absolute; left: 50%; gap: 48px; margin: 0; transform: translateX(-50%); }
    .desktop-nav a,
    .category .desktop-nav a,
    .archive .desktop-nav a,
    .single-post .desktop-nav a { font-size: 16px; }
    .header-actions { margin-left: auto; }
}

.footer-brand__row { display: flex; align-items: center; gap: 18px; }
.made-in-usa { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.made-in-usa small { color: #fff; font-size: 7px; font-weight: 800; }
.usa-flag { position: relative; display: block; width: 48px; height: 27px; overflow: hidden; border: 1px solid rgba(255,255,255,.8); background: repeating-linear-gradient(to bottom,#bd1f2d 0,#bd1f2d 2px,#fff 2px,#fff 4px); }
.usa-flag::before { content: ''; position: absolute; top: 0; left: 0; width: 21px; height: 14px; background: #24478f; }
.footer-hearts { color: #fff; }
.footer-accordion-icon { display: none; }
.footer-accordion-icon svg { width: 14px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-contact p { display: flex; align-items: center; gap: 8px; }
.footer-contact .ui-icon { width: 16px; height: 16px; }
.footer-contact a { color: inherit; text-decoration: underline; }
.footer-social a { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #fff; border-radius: 50%; color: #fff; }
.footer-social .ui-icon { width: 13px; height: 13px; }

@media (max-width: 680px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { position: relative; width: calc(100% - 24px); height: 64px; }
    .site-header__main > .brand { position: absolute; left: 50%; transform: translateX(-50%); }
    .site-header__main > .brand .brand__mark { width: 27px; height: 36px; }
    .site-header__main > .brand .brand__text { font-size: 30px; }
    .header-actions { width: 100%; margin: 0; }
    .header-actions .menu-toggle { position: absolute; left: 0; display: block; width: 31px; padding: 3px; }
    .header-actions .search-toggle { position: absolute; right: 0; }
    .header-actions .desktop-only { display: none; }
    .journal-bar { height: 46px; }
    .journal-bar__inner { padding: 0 12px; gap: 29px; }
    .journal-bar__inner strong,
    .journal-bar__inner a { font-size: 12px; }
    .search-panel { top: 64px; }

    .site-footer { padding: 31px 0 13px; }
    .footer-grid { gap: 0; }
    .footer-brand { padding: 0 4px 22px; }
    .footer-brand__row { justify-content: flex-start; gap: 17px; }
    .brand--footer .brand__mark { width: 47px; height: 59px; }
    .brand--footer .brand__text { font-size: 52px; letter-spacing: -2px; }
    .brand--footer .brand__text sup { font-size: 8px; }
    .made-in-usa { display: flex; }
    .usa-flag { width: 64px; height: 37px; }
    .usa-flag::before { width: 28px; height: 19px; }
    .made-in-usa small { font-size: 8px; }
    .footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.55; }
    .footer-column { border-top: 1px solid rgba(255,255,255,.82); }
    .footer-column:last-of-type { border-bottom: 1px solid rgba(255,255,255,.82); }
    .footer-accordion-toggle { min-height: 63px; font-size: 14px; font-weight: 800; text-transform: uppercase; }
    .footer-accordion-toggle > span.footer-accordion-icon { display: grid; width: 28px; height: 28px; place-items: center; transition: transform .2s ease; }
    .footer-column.is-open .footer-accordion-icon { transform: rotate(180deg); }
    .footer-accordion-panel { padding-bottom: 15px; }
    .footer-column .footer-accordion-panel a { padding: 9px 0; font-size: 13px; }
    .footer-contact { margin-top: 0; border-top: 0; }
    .footer-contact p { min-height: 54px; margin: 0; padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.82); font-size: 13px; }
    .footer-contact .ui-icon { width: 19px; height: 19px; }
    .footer-social { gap: 17px; margin-top: 38px; }
    .footer-social a { width: 31px; height: 31px; }
    .footer-social .ui-icon { width: 16px; height: 16px; }
    .footer-bottom { margin-top: 34px; padding-top: 21px; }
    .payment-icons { flex-wrap: wrap; gap: 7px; }
    .payment-icons b { padding: 4px 7px; font-size: 8px; }
    .footer-bottom p { margin-top: 12px; font-size: 12px; }
    .back-to-top { right: 17px; bottom: 16px; width: 49px; height: 49px; }
}

/* Desktop WordPress multi-level navigation. */
.desktop-menu { display: flex; align-items: center; gap: 48px; margin: 0; padding: 0; list-style: none; }
.desktop-menu li { position: relative; margin: 0; list-style: none; }
.desktop-menu > li > a { position: relative; display: flex; min-height: 74px; align-items: center; gap: 8px; color: #292929; font-size: 16px; white-space: nowrap; }
.desktop-menu .menu-item-has-children > a::after { content: ''; width: 6px; height: 6px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.desktop-menu > .menu-item-has-children:hover > a::after,
.desktop-menu > .menu-item-has-children:focus-within > a::after { margin-top: 3px; transform: rotate(225deg); }
.desktop-menu .sub-menu { position: absolute; z-index: 50; top: calc(100% - 7px); left: 50%; min-width: 235px; margin: 0; padding: 10px; visibility: hidden; opacity: 0; border: 1px solid #eee4da; border-top: 3px solid var(--orange); border-radius: 0 0 15px 15px; background: #fff; box-shadow: 0 18px 45px rgba(34,27,22,.14); list-style: none; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.desktop-menu li:hover > .sub-menu,
.desktop-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.desktop-menu .sub-menu li + li { border-top: 1px solid #f1ece7; }
.desktop-menu .sub-menu a { display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 12px; border-radius: 8px; color: #4b4540; font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; transition: color .16s ease, background .16s ease, padding .16s ease; }
.desktop-menu .sub-menu a:hover,
.desktop-menu .sub-menu a:focus { padding-left: 16px; color: var(--orange); background: #fff4eb; outline: none; }
.desktop-menu .sub-menu .menu-item-has-children > a::after { margin: 0 2px 0 auto; transform: rotate(-45deg); }
.desktop-menu .sub-menu .sub-menu { top: -3px; left: calc(100% + 8px); border-radius: 12px; transform: translate(8px, 0); }
.desktop-menu .sub-menu li:hover > .sub-menu,
.desktop-menu .sub-menu li:focus-within > .sub-menu { transform: translate(0, 0); }

@media (max-width: 680px) {
    .desktop-menu { display: none; }
}

/* 404 and search templates. */
.error-hero { padding: 90px 0; background: #fcf4ea; text-align: center; }
.error-hero__inner { max-width: 850px; }
.error-hero__inner > span { color: var(--orange); font-size: 22px; font-weight: 800; }
.error-hero h1 { margin: 12px 0 18px; color: var(--ink); font-size: clamp(50px, 6vw, 82px); line-height: 1; }
.error-hero p { max-width: 650px; margin: 0 auto 25px; color: #6f675f; font-size: 18px; line-height: 1.6; }
.error-hero .search-form,
.empty-state .search-form { display: flex; max-width: 560px; margin: 0 auto 20px; }
.error-hero .search-field,
.empty-state .search-field { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 99px 0 0 99px; padding: 0 18px; }
.error-hero .search-submit,
.empty-state .search-submit { border: 0; border-radius: 0 99px 99px 0; padding: 0 22px; color: #fff; background: var(--orange); font-weight: 700; }
.error-suggestions { padding-top: 75px; padding-bottom: 95px; }
.error-suggestions > h2 { margin: 0 0 28px; color: var(--ink); font-size: 36px; }
.error-suggestions > h2:not(:first-child) { margin-top: 70px; }
.error-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.error-category-grid a { display: flex; align-items: center; justify-content: space-between; padding: 25px; border: 1px solid var(--line); border-radius: 15px; }
.error-category-grid strong { color: var(--ink); font-size: 18px; }
.error-category-grid span { color: #777; font-size: 13px; }
.search-results-page { padding-top: 75px; padding-bottom: 95px; }
.search-results-page .content-header > p:last-child { color: #777; }

@media (max-width: 680px) {
    .error-hero { padding: 55px 0; }
    .error-hero h1 { font-size: 45px; }
    .error-hero p { font-size: 16px; }
    .error-category-grid { grid-template-columns: 1fr; }
    .error-suggestions { padding-top: 50px; padding-bottom: 65px; }
    .search-results-page { padding-top: 50px; padding-bottom: 65px; }
}

/* Annotated layout corrections: editorial navigation, compact hero and search. */
.search-panel { padding: 18px 52px 18px 18px; }
.search-panel__close { position: absolute; top: 4px; right: 7px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; color: #4c4540; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.search-panel__close:hover,
.search-panel__close:focus { color: var(--orange); }
.drawer-journal-home,
.drawer-category-link { display: flex; min-height: 58px; align-items: center; border-bottom: 1px solid #eeeae5; color: #3f3f3f; font-size: 17px; font-weight: 600; }
.drawer-journal-home { color: var(--orange); }
.footer-bottom { margin-top: 22px; }
.footer-bottom p { margin-top: 0; }

@media (min-width: 1200px) {
    .puainta-home .hero__grid { min-height: 620px; padding-top: 38px; padding-bottom: 54px; }
    .detail-after-content .detail-shell { width: min(calc(100% - 96px), 940px); }
    .detail-author-box { width: 100%; max-width: none; }
}

@media (max-width: 680px) {
    .search-panel { inset: 64px 8px auto; padding: 48px 12px 12px; }
    .search-panel__close { top: 5px; right: 6px; }
    .search-panel form { width: 100%; }
    .search-panel input { min-width: 0; }
    .footer-bottom { margin-top: 23px; padding-top: 16px; }
    .footer-bottom p { margin-top: 0; }
}

/* Article newsletter card matched to the supplied desktop reference. */
.detail-subscribe { padding: 36px 24px 44px; background: #f1f3fa; }
.detail-subscribe__box { box-sizing: border-box; width: min(100%, 1200px); max-width: 1200px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-inline: auto; padding: 42px 36px 38px; border: 1px solid #f2bf8b; border-radius: 31px; background: #fff8ef; box-shadow: 0 18px 38px rgba(72, 47, 28, .08); text-align: center; }
.detail-subscribe__box > span { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; line-height: 1; text-transform: uppercase; }
.detail-subscribe__box h2 { margin: 14px 0 14px; color: #562d17; font-size: 40px; line-height: 1.08; letter-spacing: -.7px; }
.detail-subscribe__box > p { max-width: 520px; margin: 0 auto; color: #81756d; font-size: 16px; line-height: 1.5; }
.detail-subscribe form { width: min(100%, 560px); max-width: 560px; display: flex; gap: 10px; margin: 23px auto 0; }
.detail-subscribe input { flex: 1; min-width: 0; height: 55px; border: 1px solid #e2d9d1; border-radius: 999px; padding: 0 19px; color: #443c37; background: #fff; font-size: 15px; outline: none; }
.detail-subscribe input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 103, 0, .12); }
.detail-subscribe button { flex: 0 0 134px; width: 134px; height: 55px; margin: 0; border: 0; border-radius: 999px; color: #fff; background: var(--orange); font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.detail-subscribe button:hover,
.detail-subscribe button:focus { background: #eb5c00; transform: translateY(-1px); }
.detail-subscribe small { display: block; margin-top: 12px; color: #867a72; font-size: 11px; letter-spacing: .15px; line-height: 1.4; }

@media (max-width: 680px) {
    .detail-subscribe { padding: 24px 12px 30px; }
    .detail-subscribe__box { min-height: 0; padding: 31px 18px 27px; border-radius: 21px; }
    .detail-subscribe__box > span { font-size: 9px; letter-spacing: 1.4px; }
    .detail-subscribe__box h2 { margin: 11px 0 12px; font-size: 30px; line-height: 1.06; }
    .detail-subscribe__box > p { font-size: 14px; line-height: 1.5; }
    .detail-subscribe form { flex-direction: column; gap: 10px; margin-top: 20px; }
    .detail-subscribe input,
    .detail-subscribe button { flex: none; width: 100%; height: 50px; margin: 0; font-size: 14px; }
    .detail-subscribe small { margin-top: 11px; font-size: 9px; }
}

/* Article flow corrections from the first and second annotated screenshots. */
.detail-after-content--inline { margin-top: 46px; padding: 24px; border-radius: 20px; background: #f1f3fa; }
.detail-after-content--inline .detail-share { padding-bottom: 22px; }
.detail-after-content--inline .detail-author-box { width: 100%; max-width: none; box-sizing: border-box; }

@media (min-width: 781px) {
    .post-detail__sidebar { position: sticky; top: 94px; align-self: start; }
}

@media (max-width: 780px) {
    .post-detail__sidebar { position: static; }
    .detail-after-content--inline { margin-top: 34px; padding: 20px 15px; border-radius: 17px; }
    .detail-after-content--inline .detail-share { padding-bottom: 19px; }
}

/* Larger author profile and truly centered social controls. */
@media (min-width: 781px) {
    .detail-after-content--inline .detail-share { position: relative; display: flex; justify-content: center; min-height: 38px; }
    .detail-after-content--inline .detail-share > strong { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 14px; }
    .detail-after-content--inline .detail-share > div { justify-content: center; }
    .detail-after-content--inline .detail-share a,
    .detail-after-content--inline .detail-share button { height: 38px; padding: 0 16px; font-size: 12px; }
    .detail-after-content--inline .detail-author-box { grid-template-columns: 104px minmax(0, 1fr); gap: 27px; padding: 31px; }
    .detail-after-content--inline .detail-author-box__avatar img { width: 98px; height: 98px; }
    .detail-after-content--inline .detail-author-box > div { width: 78%; min-width: 0; }
    .detail-after-content--inline .detail-author-box > div > span { font-size: 10px; letter-spacing: .4px; }
    .detail-after-content--inline .detail-author-box h2 { margin-top: 7px; font-size: 28px; line-height: 1.05; }
    .detail-after-content--inline .detail-author-box strong { display: block; margin-top: 5px; font-size: 14px; }
    .detail-after-content--inline .detail-author-box p { margin: 12px 0 14px; font-size: 17px; line-height: 1.58; }
    .detail-after-content--inline .author-tags { gap: 8px; }
    .detail-after-content--inline .author-tags span { padding: 7px 11px; font-size: 11px; }
}

@media (max-width: 780px) {
    .detail-after-content--inline .detail-author-box h2 { font-size: 22px; }
    .detail-after-content--inline .detail-author-box p { font-size: 14px; line-height: 1.55; }
    .detail-after-content--inline .author-tags span { padding: 6px 8px; font-size: 9px; }
}

/* Keep the new header rules authoritative over legacy page-specific header rules. */
@media (min-width: 981px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { width: min(calc(100% - 64px), 1240px); height: 82px; }
    .desktop-nav,
    .category .desktop-nav,
    .archive .desktop-nav,
    .single-post .desktop-nav,
    .puainta-home .desktop-nav { position: static; left: auto; gap: 0; margin: 0 22px 0 auto; transform: none; }
    .desktop-menu.mega-nav__list { gap: clamp(15px, 2vw, 32px); }
    .desktop-menu .mega-nav__link,
    .category .desktop-menu .mega-nav__link,
    .archive .desktop-menu .mega-nav__link,
    .single-post .desktop-menu .mega-nav__link { min-height: 82px; font-size: clamp(12px, 1.05vw, 15px); }
    .header-actions { margin-left: 0; }
    .search-panel { top: 82px; }
}

@media (min-width: 981px) and (max-width: 1180px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { width: calc(100% - 36px); }
    .desktop-menu.mega-nav__list { gap: 10px; }
    .desktop-menu .mega-nav__link { font-size: 12px; }
    .desktop-nav,
    .category .desktop-nav,
    .archive .desktop-nav,
    .single-post .desktop-nav,
    .puainta-home .desktop-nav { margin-right: 10px; }
}

@media (max-width: 980px) {
    .desktop-nav,
    .mega-menu-layer,
    .journal-bar { display: none !important; }
    .site-header { position: sticky; top: 0; }
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main { position: relative; width: calc(100% - 24px); height: 64px; }
    .site-header__main > .brand { position: absolute; left: 50%; transform: translateX(-50%); }
    .site-header__main > .brand .brand__mark { width: 27px; height: 36px; }
    .site-header__main > .brand .brand__text { font-size: 30px; }
    .header-actions { width: 100%; margin: 0; }
    .header-actions .menu-toggle { position: absolute; left: 0; display: block; width: 31px; padding: 3px; }
    .header-actions .search-toggle { position: absolute; right: 0; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; }
    .search-panel { position: fixed; inset: 64px 8px auto; }
    .admin-bar .search-panel { top: 96px; }
    .admin-bar .mobile-drawer { top: 32px; height: calc(100dvh - 32px); }
}

@media (max-width: 782px) {
    .admin-bar .search-panel { top: 110px; }
    .admin-bar .mobile-drawer { top: 46px; height: calc(100dvh - 46px); }
}

/* Header alignment, sticky behavior and search refinements. */
:root { --puainta-admin-offset: 0px; }

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

@supports (overflow: clip) {
    html,
    body { overflow-x: clip; }
}

.site-header {
    position: sticky;
    z-index: 100;
    top: var(--puainta-admin-offset);
    width: 100%;
    max-width: 100%;
    background: #fff;
    isolation: isolate;
}

.admin-bar .site-header { top: var(--puainta-admin-offset); }
.desktop-search { display: none; }

@media (min-width: 981px) {
    .desktop-nav,
    .category .desktop-nav,
    .archive .desktop-nav,
    .single-post .desktop-nav,
    .puainta-home .desktop-nav {
        min-width: 0;
        margin-right: clamp(12px, 1.6vw, 24px);
    }

    .desktop-search {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 7px;
        margin: 0;
    }

    .desktop-search input {
        width: clamp(132px, 11vw, 190px);
        height: 38px;
        border: 1px solid #d5d5d5;
        border-radius: 7px;
        outline: 0;
        padding: 0 12px;
        background: #fff;
        color: #171717;
        font: inherit;
        font-size: 13px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .desktop-search input:focus {
        border-color: #8d8d8d;
        box-shadow: 0 0 0 3px rgba(30, 30, 30, .07);
    }

    .desktop-search__submit {
        display: grid;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        place-items: center;
        border: 1px solid #d5d5d5;
        border-radius: 50%;
        padding: 0;
        background: #fff;
        color: #171717;
        cursor: pointer;
    }

    .desktop-search__submit:hover,
    .desktop-search__submit:focus-visible {
        border-color: var(--orange);
        color: var(--orange);
    }

    .desktop-search__submit svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-width: 1.7;
    }

    .header-actions .search-toggle { display: none !important; }
}

@media (min-width: 981px) and (max-width: 1240px) {
    .desktop-menu.mega-nav__list { gap: 9px; }
    .desktop-menu .mega-nav__link { font-size: 12px; }
    .desktop-search input { width: 126px; }
}

@media (max-width: 980px) {
    .desktop-search { display: none !important; }
    .header-actions .search-toggle { display: grid; }
    .search-panel,
    .admin-bar .search-panel { top: calc(64px + var(--puainta-admin-offset)); }
    .mobile-drawer,
    .admin-bar .mobile-drawer {
        top: var(--puainta-admin-offset);
        width: min(88vw, 360px);
        max-width: 100vw;
        height: calc(100dvh - var(--puainta-admin-offset));
    }
}

/* Larger desktop navigation type and clearer interaction colors. */
@media (min-width: 981px) {
    .desktop-menu .mega-nav__link,
    .category .desktop-menu .mega-nav__link,
    .archive .desktop-menu .mega-nav__link,
    .single-post .desktop-menu .mega-nav__link {
        color: #333333;
        font-size: 16px;
        font-weight: 600;
    }

    .mega-nav__toggle { color: #333333; }
    .mega-nav__item::after { background: #FF7100; }

    .mega-nav__item:hover .mega-nav__link,
    .mega-nav__item:focus-within .mega-nav__link,
    .mega-nav__item.is-open .mega-nav__link,
    .mega-nav__item.is-current .mega-nav__link,
    .mega-nav__item:hover .mega-nav__toggle,
    .mega-nav__item:focus-within .mega-nav__toggle,
    .mega-nav__item.is-open .mega-nav__toggle {
        color: #FF7100;
    }

    .mega-menu__column-head > a {
        color: #333333;
        font-size: 16px;
        line-height: 1.2;
    }

    .mega-menu__label {
        margin-top: 11px;
        margin-bottom: 9px;
        font-size: 11px;
        line-height: 1.3;
    }

    .mega-menu__column li + li { margin-top: 4px; }
    .mega-menu__column li a {
        padding: 6px 0;
        color: #55504c;
        font-size: 13px;
        line-height: 1.3;
    }

    .mega-menu__column a:hover,
    .mega-menu__column a:focus,
    .mega-menu__footer-link:hover strong,
    .mega-menu__footer-link:focus strong { color: #FF7100; }

    .mega-menu__footer { margin-top: 17px; padding-top: 17px; }
    .mega-menu__footer-link strong { color: #333333; font-size: 13px; line-height: 1.3; }
    .mega-menu__footer-link small { font-size: 11px; line-height: 1.35; }
    .mega-feature__badge { font-size: 10px; }
    .mega-feature__title { font-size: 22px; line-height: 1.08; }
    .mega-feature > p { font-size: 12px; line-height: 1.45; }
    .mega-feature__button { font-size: 12px; }
    .desktop-search input { font-size: 14px; }
}

@media (min-width: 981px) and (max-width: 1240px) {
    .desktop-menu .mega-nav__link,
    .category .desktop-menu .mega-nav__link,
    .archive .desktop-menu .mega-nav__link,
    .single-post .desktop-menu .mega-nav__link { font-size: 14px; }

    .mega-menu__column-head > a { font-size: 15px; }
    .mega-menu__column li a { font-size: 12px; }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .desktop-menu.mega-nav__list { gap: 4px; }
    .desktop-menu .mega-nav__link,
    .category .desktop-menu .mega-nav__link,
    .archive .desktop-menu .mega-nav__link,
    .single-post .desktop-menu .mega-nav__link { font-size: 13px; }
    .desktop-search input { width: 100px; }
}

/* Dynamic editorial footer merged from v3.6. */
/* Dynamic editorial footer: categories, recent posts and journal resources. */
.footer-grid--editorial { grid-template-columns: minmax(240px, 1.25fr) minmax(170px, .85fr) minmax(250px, 1.2fr) minmax(180px, .85fr); gap: clamp(35px, 4vw, 76px); }
.footer-grid--editorial .footer-brand p { max-width: 330px; margin-top: 20px; font-size: 15px; line-height: 1.65; }
.footer-grid--editorial .brand--footer .brand__text { max-width: 290px; overflow: hidden; font-size: clamp(36px, 3vw, 52px); line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.footer-grid--editorial .footer-column h3 { margin: 8px 0 15px; font-size: 15px; letter-spacing: .45px; }
.footer-grid--editorial .footer-accordion-panel { gap: 4px; }
.footer-grid--editorial .footer-column a { display: flex; min-height: 31px; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-size: 13px; line-height: 1.35; text-decoration: none; opacity: .94; transition: opacity .18s ease, transform .18s ease; }
.footer-grid--editorial .footer-column a:hover,
.footer-grid--editorial .footer-column a:focus { opacity: 1; transform: translateX(3px); }
.footer-grid--editorial .footer-column a small { min-width: 25px; padding: 2px 7px; border-radius: 99px; color: var(--orange); background: #fff; font-size: 9px; text-align: center; }
.footer-grid--editorial .footer-latest a { min-height: 43px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding: 4px 0; }
.footer-grid--editorial .footer-latest a span { display: -webkit-box; overflow: hidden; font-weight: 700; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.footer-grid--editorial .footer-latest time { font-size: 10px; opacity: .75; }
.footer-grid--editorial + .footer-social { margin-top: 34px; }
.footer-grid--editorial ~ .footer-bottom { margin-top: 34px; }

@media (max-width: 900px) {
    .footer-grid--editorial { grid-template-columns: 1.2fr repeat(3, 1fr); gap: 25px; }
}

@media (max-width: 680px) {
    .footer-grid--editorial { display: flex; gap: 0; }
    .footer-grid--editorial .footer-brand p { max-width: 100%; margin-top: 14px; font-size: 14px; }
    .footer-grid--editorial .brand--footer .brand__text { max-width: calc(100vw - 105px); font-size: 46px; }
    .footer-grid--editorial .footer-column h3 { margin: 0; }
    .footer-grid--editorial .footer-accordion-panel { gap: 0; }
    .footer-grid--editorial .footer-column .footer-accordion-panel a { display: flex; min-height: 42px; padding: 7px 0; font-size: 13px; }
    .footer-grid--editorial .footer-latest a { min-height: 55px; align-items: flex-start; }
    .footer-grid--editorial + .footer-social { margin-top: 31px; }
    .footer-grid--editorial ~ .footer-bottom { margin-top: 27px; }
}

/* Authoritative header layout: resolves legacy 1600px/absolute rules
   conflicting with the dynamic Mega Menu flex layout. */
@media (min-width: 981px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main,
    .puainta-home .site-header__main {
        position: relative !important;
        width: min(calc(100% - 96px), 1600px) !important;
        max-width: 1600px !important;
        height: 82px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-inline: auto !important;
    }
    .site-header__main > .brand {
        position: static !important;
        left: auto !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        transform: none !important;
    }
    .desktop-nav,
    .category .desktop-nav,
    .archive .desktop-nav,
    .single-post .desktop-nav,
    .puainta-home .desktop-nav {
        position: static !important;
        left: auto !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
        margin: 0 clamp(14px, 1.5vw, 26px) 0 auto !important;
        transform: none !important;
    }
    .desktop-menu.mega-nav__list { gap: clamp(12px, 1.45vw, 28px) !important; }
    .desktop-search { flex: 0 0 auto !important; }
    .mega-menu-layer { right: 0 !important; left: 0 !important; max-width: 100vw !important; }
    .mega-menu {
        width: min(calc(100% - 96px), 1560px) !important;
        max-width: 1560px !important;
        max-height: calc(100vh - 100px) !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        margin-inline: auto !important;
    }
}

@media (min-width: 981px) and (max-width: 1380px) {
    .site-header__main,
    .category .site-header__main,
    .archive .site-header__main,
    .single-post .site-header__main,
    .puainta-home .site-header__main { width: calc(100% - 40px) !important; }
    .desktop-menu.mega-nav__list { gap: 8px !important; }
    .desktop-menu .mega-nav__link,
    .category .desktop-menu .mega-nav__link,
    .archive .desktop-menu .mega-nav__link,
    .single-post .desktop-menu .mega-nav__link { font-size: 13px !important; }
    .desktop-search input { width: 116px !important; }
    .mega-menu { width: calc(100% - 40px) !important; padding-inline: 18px !important; }
}

/* 3.9 mobile interaction and shared newsletter corrections. */
@media (max-width: 980px) {
    /* The navigation is a left-side drawer and never widens the document. */
    .mobile-drawer,
    .admin-bar .mobile-drawer {
        right: auto !important;
        left: 0 !important;
        box-sizing: border-box;
        width: min(88vw, 360px);
        transform: translateX(-101%);
        box-shadow: 2px 0 20px rgba(0,0,0,.12);
        overscroll-behavior: contain;
    }
    .mobile-drawer.is-open { transform: translateX(0); }

    /* Compact search sheet below the sticky header. */
    .search-panel,
    .admin-bar .search-panel {
        right: 10px;
        left: 10px;
        width: auto;
        box-sizing: border-box;
        padding: 14px;
        border: 1px solid #e5ded6;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 14px 36px rgba(7, 27, 85, .14);
    }
    .search-panel form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .search-panel input {
        box-sizing: border-box;
        width: 100%;
        height: 48px;
        min-width: 0;
        border: 1px solid #d9d2cb;
        border-radius: 999px;
        padding: 0 17px;
        background: #fff;
        font-size: 16px;
        outline: none;
    }
    .search-panel input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,103,8,.12); }
    .search-panel form > button {
        min-width: 92px;
        height: 48px;
        border-radius: 999px;
        padding: 0 17px;
        font-size: 15px;
        font-weight: 800;
    }
    .search-panel__close {
        position: absolute;
        top: -47px;
        right: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        color: #fff;
        background: var(--orange);
        font-size: 25px;
        box-shadow: 0 5px 16px rgba(0,0,0,.14);
    }
}

/* Archive newsletter uses the same visual language as the article newsletter. */
.category-newsletter {
    box-sizing: border-box;
    margin-top: 22px;
    padding: 31px 24px 27px;
    border: 1px solid #f2bf8b;
    border-radius: 24px;
    color: #562d17;
    background: #fff8ef;
    box-shadow: 0 16px 32px rgba(72,47,28,.07);
    text-align: center;
}
.category-newsletter > span { display: block; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.category-newsletter h2 { margin: 12px 0 12px; color: #562d17; font-size: 27px; line-height: 1.08; letter-spacing: -.35px; }
.category-newsletter > p { margin: 0 auto; color: #81756d; font-size: 14px; line-height: 1.5; }
.category-newsletter form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.category-newsletter input,
.category-newsletter button { box-sizing: border-box; width: 100%; height: 50px; border-radius: 999px; padding: 0 18px; font-size: 16px; }
.category-newsletter input { border: 1px solid #e2d9d1; color: #443c37; background: #fff; outline: none; }
.category-newsletter input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,103,8,.12); }
.category-newsletter button { border: 0; color: #fff; background: var(--orange); font-weight: 800; cursor: pointer; }
.category-newsletter small { display: block; margin-top: 12px; color: #867a72; font-size: 10px; line-height: 1.4; }
.footer-bottom,
.footer-grid--editorial ~ .footer-bottom { border-top: 0 !important; }

@media (max-width: 680px) {
    /* 16px prevents Safari from zooming the entire page when a field receives focus. */
    input[type="email"],
    input[type="search"],
    input[type="text"],
    textarea,
    select,
    .detail-subscribe input,
    .category-newsletter input { font-size: 16px !important; }

    .category-newsletter { margin-top: 18px; padding: 31px 18px 27px; border-radius: 21px; }
    .category-newsletter > span { font-size: 9px; }
    .category-newsletter h2 { margin: 11px 0 12px; font-size: 30px; }
    .category-newsletter > p { font-size: 14px; }
    .category-newsletter input,
    .category-newsletter button { height: 50px; font-size: 16px; }
    .category-newsletter small { font-size: 9px; }

    .detail-subscribe input,
    .detail-subscribe button { font-size: 16px; }
}

/* Final mobile wordmark override (kept last to beat legacy header rules). */
@media (max-width: 980px) {
    .site-header__main > .brand {
        box-sizing: border-box;
        width: calc(100% - 112px);
        max-width: 250px;
        justify-content: center;
        overflow: hidden;
    }
    .site-header__main > .brand .brand__mark { flex: 0 0 21px; width: 21px; height: 29px; }
    .site-header__main > .brand .brand__text {
        min-width: 0;
        overflow: hidden;
        font-size: clamp(12px, 3.5vw, 16px) !important;
        letter-spacing: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 360px) {
    .site-header__main > .brand { width: calc(100% - 104px); }
    .site-header__main > .brand .brand__text { font-size: 12px !important; }
}

/* 4.1 SEO category landing page — header and footer remain shared. */
.category-landing { color: #0b1f52; background: #fff; }
.category-landing .category-shell { width: min(calc(100% - 56px), 1280px); }
.category-landing__hero { background: linear-gradient(110deg, #fff 0%, #fff8ef 100%); border-bottom: 1px solid #eee6dd; }
.category-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 22px; color: #6d7177; font-size: 12px; }
.category-breadcrumb a:hover { color: var(--orange); }
.category-landing .category-intro__grid { min-height: 300px; grid-template-columns: minmax(0, 1.35fr) minmax(420px, .9fr); gap: 76px; padding: 28px 0 30px; }
.category-landing .category-intro h1 { margin: 0 0 18px; font-size: clamp(44px, 4vw, 62px); letter-spacing: -1.8px; }
.category-landing .category-intro__copy > p,
.category-landing .category-description { max-width: 720px; color: #5f646b; font-size: 16px; line-height: 1.58; }
.category-landing .category-intro__image { width: 100%; height: 250px; border-radius: 22px; box-shadow: 0 12px 28px rgba(32,42,59,.08); }
.category-trust-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.category-trust-chips span { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid #e8dfd7; border-radius: 999px; color: #26334f; background: rgba(255,255,255,.88); font-size: 12px; font-weight: 700; }
.category-trust-chips .ui-icon { width: 18px; height: 18px; color: var(--orange); fill: none; stroke: currentColor; }
.category-landing__main { padding-top: 0; padding-bottom: 70px; }
.category-topic-cluster { padding: 24px 0 30px; }
.category-topic-cluster > h2,
.category-quick-guides > h2 { margin: 0 0 17px; font-size: 25px; }
.category-topic-scroll { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.category-topic-scroll > a { display: flex; min-height: 94px; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #e8e0d8; border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(20,30,50,.025); }
.category-topic-scroll strong { color: #172a58; font-size: 13px; line-height: 1.25; }
.category-topic-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: var(--orange); background: #fff5eb; }
.category-topic-icon .ui-icon { width: 25px; height: 25px; fill: none; stroke: currentColor; }

.category-landing .category-featured { height: 300px; grid-template-columns: 52% 48%; border-color: #f1cab0; border-radius: 16px; }
.category-landing .category-featured__body { padding: 35px 48px; }
.category-featured__label { margin-bottom: 12px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.category-landing .category-featured__body h2 { margin-bottom: 13px; font-size: 34px; }
.category-landing .category-featured__body > p { margin-bottom: 13px; font-size: 14px; }
.category-landing .category-button { margin-top: 15px; padding: 10px 16px; }

.category-quick-guides { padding: 25px 0 5px; }
.category-quick-guides > div { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.category-quick-guides a { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 1px solid #e8e0d8; border-radius: 10px; color: #132755; background: #fff; font-size: 13px; font-weight: 800; line-height: 1.3; }
.category-quick-guides a:first-child { background: #fff8ef; }
.category-quick-guides a span { color: var(--orange); }

.category-landing .category-content-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 38px; margin-top: 27px; }
.category-primary-column { min-width: 0; }
.category-landing .category-section-head { margin-bottom: 16px; }
.category-landing .category-section-head h2 { font-size: 27px; }
.category-landing .category-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.category-landing .category-card { border-radius: 12px; box-shadow: 0 5px 18px rgba(20,30,50,.035); }
.category-landing .category-card__image { position: relative; height: 165px; }
.category-landing .category-card__image > span { position: absolute; top: 9px; left: 9px; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.category-landing .category-card__body { padding: 14px 14px 17px; }
.category-landing .category-card__body h3 { min-height: 42px; margin-bottom: 7px; font-size: 18px; }
.category-landing .category-card__body > p { min-height: 40px; margin-bottom: 10px; font-size: 11px; -webkit-line-clamp: 2; }
.category-landing .category-date { font-size: 9px; }
.category-landing .category-read-more { margin-top: 11px; font-size: 11px; }
.category-landing .category-load-more { margin: 22px 0; }

.category-landing .popular-box,
.category-browse-box { padding: 20px 18px 12px; border: 1px solid #e8e0d8; border-radius: 14px; background: #fff; }
.category-landing .popular-box h2,
.category-browse-box h2 { margin: 0 0 8px; font-size: 21px; }
.category-landing .popular-box li { grid-template-columns: 25px 1fr; padding: 13px 0; }
.category-landing .popular-box li > span { font-size: 13px; }
.category-landing .popular-box li a { font-size: 11px; }
.category-browse-box { margin-top: 16px; }
.category-browse-box a { display: flex; min-height: 33px; align-items: center; gap: 9px; color: #34405b; font-size: 11px; }
.category-browse-box .ui-icon { width: 16px; height: 16px; color: var(--orange); fill: none; stroke: currentColor; }
.category-landing .category-newsletter { margin-top: 16px; padding: 21px 17px 18px; border-radius: 14px; }
.category-landing .category-newsletter h2 { font-size: 21px; }
.category-landing .category-newsletter > p { font-size: 11px; }
.category-landing .category-newsletter input,
.category-landing .category-newsletter button { height: 38px; font-size: 12px; }

.category-faq { margin-top: 25px; overflow: hidden; border: 1px solid #e7dfd7; border-radius: 12px; }
.category-faq header { padding: 14px 18px; background: #fffaf4; }
.category-faq h2 { margin: 0; font-size: 17px; }
.category-faq details { border-top: 1px solid #e7dfd7; }
.category-faq summary { display: flex; min-height: 43px; align-items: center; justify-content: space-between; padding: 0 18px; color: #1b2d56; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.category-faq summary::-webkit-details-marker { display: none; }
.category-faq summary span { color: var(--orange); font-size: 18px; }
.category-faq details[open] summary span { transform: rotate(45deg); }
.category-faq details p { margin: 0; padding: 0 18px 15px; color: #626870; font-size: 12px; line-height: 1.55; }
.category-editorial { display: grid; grid-template-columns: 95px 1fr; gap: 22px; align-items: center; margin-top: 18px; padding: 22px 24px; border: 1px solid #f0e2d5; border-radius: 12px; background: #fff8ef; }
.category-editorial__avatar img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; }
.category-editorial h2 { margin: 0 0 7px; font-size: 18px; }
.category-editorial p { margin: 0; color: #66666a; font-size: 11px; line-height: 1.55; }
.category-editorial__badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.category-editorial__badges span { color: #6c5b4f; font-size: 9px; }
.category-editorial__badges span::before { content: '✓'; margin-right: 5px; color: var(--orange); }
.category-popular-mobile,
.category-newsletter-mobile { display: none; }

@media (max-width: 780px) {
    .category-landing .category-shell { width: calc(100% - 24px); }
    .category-breadcrumb { padding-top: 14px; font-size: 11px; }
    .category-landing .category-intro__grid { display: flex; gap: 18px; padding: 17px 0 22px; }
    .category-landing .category-intro h1 { margin-bottom: 9px; font-size: 31px; }
    .category-landing .category-intro__copy > p,
    .category-landing .category-description { font-size: 13px; line-height: 1.5; }
    .category-trust-chips { flex-wrap: nowrap; gap: 7px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
    .category-trust-chips span { flex: 0 0 auto; min-height: 34px; padding: 0 11px; font-size: 10px; }
    .category-landing .category-intro__image { height: 180px; border-radius: 14px; }
    .category-landing__main { padding-top: 0; padding-bottom: 30px; }
    .category-topic-cluster { padding: 15px 0 17px; }
    .category-topic-cluster > h2 { margin-bottom: 11px; font-size: 18px; }
    .category-topic-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
    .category-topic-scroll > a { flex: 0 0 118px; min-height: 60px; gap: 7px; padding: 8px; border-radius: 9px; scroll-snap-align: start; }
    .category-topic-scroll strong { font-size: 9px; }
    .category-topic-icon { flex-basis: 32px; width: 32px; height: 32px; }
    .category-topic-icon .ui-icon { width: 18px; height: 18px; }

    .category-landing .category-featured { display: grid; grid-template-columns: 45% 55%; height: 210px; border-radius: 11px; }
    .category-landing .category-featured__image { height: 100%; }
    .category-landing .category-featured__image > span { padding: 5px 7px; font-size: 7px; }
    .category-landing .category-featured__body { justify-content: flex-start; padding: 14px 12px; overflow: hidden; }
    .category-featured__label { margin-bottom: 6px; font-size: 8px; }
    .category-landing .category-featured__body h2 { margin-bottom: 7px; font-size: 17px; }
    .category-landing .category-featured__body > p { display: -webkit-box; margin-bottom: 7px; overflow: hidden; font-size: 10px; line-height: 1.35; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
    .category-landing .category-date { gap: 8px; font-size: 8px; }
    .category-landing .category-button { margin-top: 8px; padding: 7px 10px; font-size: 8px; }

    .category-quick-guides { padding: 14px 0 2px; }
    .category-quick-guides > h2 { margin-bottom: 9px; font-size: 16px; }
    .category-quick-guides > div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
    .category-quick-guides a { flex: 0 0 132px; min-height: 58px; padding: 9px 10px; font-size: 9px; }

    .category-landing .category-content-grid { display: block; margin-top: 18px; }
    .category-landing .category-section-head h2 { font-size: 18px; }
    .category-landing .category-section-head > span { font-size: 9px; }
    .category-landing .category-cards { display: flex; flex-direction: column; gap: 8px; }
    .category-landing .category-card { display: grid; grid-template-columns: 38% 62%; min-height: 112px; }
    .category-landing .category-card__image { height: 100%; min-height: 112px; }
    .category-landing .category-card__image > span { top: 6px; left: 6px; padding: 4px 6px; font-size: 7px; }
    .category-landing .category-card__body { padding: 10px 11px; }
    .category-landing .category-card__body h3 { min-height: 0; margin-bottom: 5px; font-size: 14px; }
    .category-landing .category-card__body > p { min-height: 0; margin-bottom: 5px; font-size: 9px; -webkit-line-clamp: 2; }
    .category-landing .category-read-more { float: right; margin-top: 5px; font-size: 9px; }
    .category-load-more { margin: 16px 0; }
    .category-load-more a,
    .category-load-more span { min-width: 170px; padding: 9px 15px; font-size: 10px; }

    .category-sidebar { display: none; }
    .category-popular-mobile { display: block; margin-top: 14px; padding: 12px 10px 4px !important; border-radius: 10px !important; }
    .category-popular-mobile h2 { font-size: 16px !important; }
    .category-popular-mobile li { min-height: 30px; padding: 7px 0 !important; }
    .category-popular-mobile li a { font-size: 10px !important; }
    .category-popular-mobile li small { display: none; }
    .category-faq { margin-top: 14px; border-radius: 10px; }
    .category-faq header { padding: 11px 12px; }
    .category-faq h2 { font-size: 15px; }
    .category-faq summary { min-height: 38px; padding: 0 12px; font-size: 10px; }
    .category-faq details p { padding: 0 12px 12px; font-size: 10px; }
    .category-editorial { grid-template-columns: 62px 1fr; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 10px; }
    .category-editorial__avatar img { width: 58px; height: 58px; }
    .category-editorial h2 { font-size: 14px; }
    .category-editorial p { font-size: 9px; }
    .category-editorial__badges { gap: 7px 10px; margin-top: 7px; }
    .category-editorial__badges span { font-size: 7px; }
    .category-newsletter-mobile { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; align-items: center; margin-top: 12px; padding: 12px; border: 1px solid #f0e2d5; border-radius: 10px; background: #fff8ef; }
    .category-newsletter-mobile .category-topic-icon { grid-row: 1 / span 2; }
    .category-newsletter-mobile h2 { margin: 0 0 2px; font-size: 14px; }
    .category-newsletter-mobile p { margin: 0; color: #6b6b6b; font-size: 8px; }
    .category-newsletter-mobile form { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) 90px; gap: 0; }
    .category-newsletter-mobile input,
    .category-newsletter-mobile button { box-sizing: border-box; height: 36px; border: 1px solid #e2d9d1; font-size: 16px; }
    .category-newsletter-mobile input { min-width: 0; border-radius: 999px 0 0 999px; padding: 0 12px; }
    .category-newsletter-mobile button { border: 0; border-radius: 0 999px 999px 0; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; }
    .category-newsletter-mobile small { grid-column: 1 / -1; margin-top: 5px; color: #877b73; font-size: 7px; text-align: right; }
}

/* 4.3 wide dynamic homepage and larger editorial typography. */
.home-v43 { color: #122750; background: #fff; }
.home-v43-shell { width: min(calc(100% - 64px), 1540px); margin-inline: auto; }
.home-v43-hero { padding: 34px 0 38px; background: linear-gradient(110deg,#fff 0%,#fffaf2 100%); border-bottom: 1px solid #eee5dc; }
.home-v43-hero__grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(540px,1.22fr); align-items: center; gap: 65px; }
.home-v43-hero__copy h1 { max-width: 660px; margin: 0; font-size: clamp(54px,4.25vw,76px); line-height: .98; letter-spacing: -2.3px; }
.home-v43-hero__copy > p { max-width: 650px; margin: 23px 0 0; color: #5f6670; font-size: 18px; line-height: 1.6; }
.home-v43-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.home-v43-trust span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e4ddd5; border-radius: 999px; padding: 8px 13px; color: #48546a; background: #fff; font-size: 13px; font-weight: 750; }
.home-v43-trust svg { width: 16px; height: 16px; color: var(--orange); }
.home-v43-stats { display: grid; grid-template-columns: repeat(3,1fr); max-width: 610px; margin-top: 23px; border-top: 1px solid #e1dbd4; padding-top: 17px; }
.home-v43-stats div { display: flex; flex-direction: column; }
.home-v43-stats strong { font-size: 27px; }
.home-v43-stats span { margin-top: 3px; color: #73767b; font-size: 13px; }
.home-v43-hero__visual { position: relative; }
.home-v43-hero__visual > img { display: block; width: 100%; height: 475px; border-radius: 24px; object-fit: cover; }
.home-v43-hero__visual > article { position: absolute; bottom: 20px; left: -34px; width: min(330px,44%); border: 1px solid #eadfd4; border-radius: 14px; padding: 22px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(45,35,25,.14); }
.home-v43-hero-feature-image { display: none; }
.home-v43-hero__visual article span { color: var(--orange); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.home-v43-hero__visual article h2 { margin: 9px 0; font-size: 22px; line-height: 1.1; }
.home-v43-hero__visual article small { display: block; color: #777b81; font-size: 11px; }
.home-v43-hero__visual article section > a { display: inline-block; margin-top: 11px; color: var(--orange); font-size: 12px; font-weight: 850; }
.home-v43-topics { padding-top: 32px; padding-bottom: 31px; }
.home-v43-topics header > span { color: var(--orange); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.home-v43-topics h2 { margin: 7px 0 21px; font-size: 34px; }
.home-v43-topics > div { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.home-v43-topics > div > a { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 12px; min-height: 105px; border: 1px solid #e7e0d9; border-radius: 13px; padding: 16px; background: #fff; }
.home-v43-topics i { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; color: var(--orange); background: #fff1e4; }
.home-v43-topics i svg { width: 27px; height: 27px; }
.home-v43-topics strong { display: block; font-size: 16px; line-height: 1.15; }
.home-v43-topics small { display: block; margin-top: 5px; color: #747980; font-size: 12px; line-height: 1.35; }
.home-v43-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 26px; padding-top: 14px; padding-bottom: 34px; }
.home-v43-guide { display: grid; grid-template-columns: 48% 52%; overflow: hidden; border: 1px solid #edc9a8; border-radius: 15px; background: #fff; }
.home-v43-guide__image { position: relative; min-height: 355px; overflow: hidden; }
.home-v43-guide__image img { width: 100%; height: 100%; object-fit: cover; }
.home-v43-guide__image > span { position: absolute; top: 16px; left: 16px; border-radius: 999px; padding: 7px 11px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.home-v43-guide > div { padding: 30px; }
.home-v43-guide > div > small { color: var(--orange); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.home-v43-guide h2 { margin: 11px 0; font-size: 32px; line-height: 1.06; }
.home-v43-guide p { color: #6b7078; font-size: 14px; line-height: 1.55; }
.home-v43-guide ul { margin: 17px 0; padding: 0; list-style: none; }
.home-v43-guide li { margin: 9px 0; color: #515a67; font-size: 13px; }
.home-v43-guide li::before { content: '✓'; margin-right: 8px; color: var(--orange); font-weight: 900; }
.home-v43-button { display: inline-block; border-radius: 999px; padding: 12px 17px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 850; }
.home-v43-quick { padding: 22px 0 10px; }
.home-v43-quick > h2 { margin: 0 0 12px; font-size: 21px; }
.home-v43-quick > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; }
.home-v43-quick a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 9px; min-height: 72px; border: 1px solid #e7e0d9; border-radius: 10px; padding: 8px; background: #fff; }
.home-v43-quick img,
.home-v43-quick__placeholder { width: 52px; height: 52px; border-radius: 7px; object-fit: cover; }
.home-v43-quick__placeholder { display: grid; place-items: center; color: var(--orange); background: #fff0df; }
.home-v43-quick strong { display: block; font-size: 11px; line-height: 1.2; }
.home-v43-quick small { display: block; margin-top: 4px; color: #8a8c90; font-size: 9px; }
.home-v43-quick b { color: var(--orange); }
.home-v43-latest { margin-top: 17px; }
.home-v43-latest > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.home-v43-latest h2 { margin: 0; font-size: 24px; }
.home-v43-latest header a { color: var(--orange); font-size: 11px; font-weight: 800; }
.home-v43-latest > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.home-v43-latest article { overflow: hidden; border: 1px solid #e5ded7; border-radius: 12px; background: #fff; }
.home-v43-latest__image { position: relative; display: block; height: 180px; overflow: hidden; }
.home-v43-latest__image img { width: 100%; height: 100%; object-fit: cover; }
.home-v43-latest__image span { position: absolute; top: 10px; left: 10px; border-radius: 999px; padding: 5px 9px; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; }
.home-v43-latest article > div { padding: 14px 15px 16px; }
.home-v43-latest h3 { margin: 0; font-size: 17px; line-height: 1.18; }
.home-v43-latest p { display: -webkit-box; margin: 9px 0; overflow: hidden; color: #6b7078; font-size: 12px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-v43-latest article small { color: #85888d; font-size: 10px; }
.home-v43-sidebar { display: flex; flex-direction: column; gap: 16px; }
.home-v43-side-card { border: 1px solid #e4ddd6; border-radius: 14px; padding: 20px; background: #fff; }
.home-v43-side-card > h2 { margin: 0 0 12px; font-size: 20px; }
.home-v43-popular article { display: grid; grid-template-columns: 23px 60px 1fr; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #eee7e0; }
.home-v43-popular article > b { color: var(--orange); font-size: 13px; }
.home-v43-popular article > a { height: 49px; overflow: hidden; border-radius: 6px; }
.home-v43-popular img { width: 100%; height: 100%; object-fit: cover; }
.home-v43-popular h3 { margin: 0; font-size: 11px; line-height: 1.2; }
.home-v43-popular small { display: block; margin-top: 4px; color: #8c8d90; font-size: 8px; }
.home-v43-browse > a { display: grid; grid-template-columns: 23px 1fr auto; gap: 9px; align-items: center; min-height: 51px; border-bottom: 1px solid #eee7e0; }
.home-v43-browse svg { width: 18px; height: 18px; color: var(--orange); }
.home-v43-browse span { font-size: 12px; font-weight: 750; }
.home-v43-browse small { display: block; margin-top: 2px; color: #8c8e92; font-size: 8px; font-weight: 400; }
.home-v43-browse b { color: var(--orange); font-size: 20px; }
.home-v43-newsletter { border: 1px solid #edcfb0; border-radius: 14px; padding: 23px 20px; background: #fff7ec; }
.home-v43-newsletter > span { color: var(--orange); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.home-v43-newsletter h2 { margin: 8px 0; color: #583019; font-size: 23px; line-height: 1.08; }
.home-v43-newsletter p { color: #77716b; font-size: 12px; line-height: 1.45; }
.home-v43-newsletter form { display: flex; flex-direction: column; gap: 8px; }
.home-v43-newsletter input,
.home-v43-newsletter button { box-sizing: border-box; height: 42px; border-radius: 999px; font-size: 16px; }
.home-v43-newsletter input { border: 1px solid #ddd7d0; padding: 0 13px; }
.home-v43-newsletter button { border: 0; color: #fff; background: var(--orange); font-size: 12px; font-weight: 800; }
.home-v43-newsletter > small { display: block; margin-top: 9px; color: #88817b; font-size: 8px; text-align: center; }
.home-v43-popular-mobile { display: none; }
.home-v43-faq { margin-top: 22px; overflow: hidden; border: 1px solid #e4ddd6; border-radius: 12px; }
.home-v43-faq header { padding: 14px 17px 10px; background: #fffaf4; }
.home-v43-faq h2 { margin: 0; font-size: 18px; }
.home-v43-faq details { border-top: 1px solid #e8e1db; }
.home-v43-faq summary { display: flex; min-height: 45px; align-items: center; justify-content: space-between; padding: 0 17px; font-size: 12px; font-weight: 750; cursor: pointer; list-style: none; }
.home-v43-faq summary::-webkit-details-marker { display: none; }
.home-v43-faq summary span { color: var(--orange); font-size: 18px; }
.home-v43-faq details[open] summary span { transform: rotate(45deg); }
.home-v43-faq details p { margin: 0; padding: 0 17px 15px; color: #697079; font-size: 12px; line-height: 1.55; }
.home-v43-trust-section { padding: 28px 0; background: linear-gradient(100deg,#fff7ed 0%,#fff 65%); border-top: 1px solid #eee1d4; }
.home-v43-trust-section h2 { margin: 0 0 17px; font-size: 21px; text-transform: uppercase; }
.home-v43-trust-section .home-v43-shell > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.home-v43-trust-section article { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.home-v43-trust-section article > svg { width: 30px; height: 30px; color: var(--orange); }
.home-v43-trust-section strong { font-size: 13px; }
.home-v43-trust-section p { margin: 5px 0 0; color: #6c727a; font-size: 11px; line-height: 1.4; }
.home-v43-newsletter-mobile { display: none; }

@media (min-width: 1200px) {
    .category-landing .category-shell { width: min(calc(100% - 72px), 1540px); }
    .category-landing .category-content-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 42px; }
    .category-landing .category-card__body h3 { font-size: 22px; }
    .category-landing .category-card__body > p { font-size: 14px; }
    .category-landing .category-featured__body h2 { font-size: 38px; }
    .category-landing .category-featured__body > p { font-size: 16px; }
    .article-v42-shell { width: min(calc(100% - 72px), 1540px); }
    .article-v42-layout { grid-template-columns: 245px minmax(0,900px) 350px; justify-content: center; gap: 40px; }
    .article-v42-content { font-size: 18px; line-height: 1.78; }
    .article-v42-content h2 { font-size: 34px; }
    .article-v42-content h3 { font-size: 25px; }
    .article-v42-toc a { font-size: 13px; }
    .article-v42-side-card > h2 { font-size: 20px; }
    .article-v42-side-card > a:not(.article-v42-side-more) { font-size: 13px; }
    .article-v42-popular h3 { font-size: 12px; }
}

@media (max-width: 900px) {
    .home-v43-shell { width: calc(100% - 24px); }
    .home-v43-hero { padding: 15px 0 14px; }
    .home-v43-hero__grid { grid-template-columns: 52% 48%; align-items: stretch; gap: 8px 0; }
    .home-v43-hero__copy,
    .home-v43-hero__visual { display: contents; }
    .home-v43-hero__copy h1 { grid-column: 1; grid-row: 1; align-self: end; padding-right: 10px; font-size: clamp(29px,8vw,38px); line-height: 1.02; letter-spacing: -.8px; }
    .home-v43-hero__copy > p { grid-column: 1; grid-row: 2; margin: 8px 0 0; padding-right: 10px; font-size: 12px; line-height: 1.4; }
    .home-v43-hero__visual > img { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: 210px; border-radius: 11px; object-fit: cover; object-position: 58% center; }
    .home-v43-trust { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 8px; }
    .home-v43-trust span { justify-content: center; border-radius: 9px; padding: 8px 4px; font-size: 10px; white-space: nowrap; }
    .home-v43-trust svg { width: 14px; height: 14px; }
    .home-v43-stats { display: none; }
    .home-v43-hero__visual > article { position: static; grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: 43% 57%; width: auto; border-radius: 10px; padding: 0; overflow: hidden; box-shadow: 0 5px 18px rgba(50,38,27,.08); }
    .home-v43-hero-feature-image { display: block; min-height: 138px; }
    .home-v43-hero-feature-image img { width: 100%; height: 100%; object-fit: cover; }
    .home-v43-hero__visual article section { padding: 13px; }
    .home-v43-hero__visual article span { font-size: 9px; }
    .home-v43-hero__visual article h2 { margin: 7px 0; font-size: 17px; }
    .home-v43-hero__visual article small { font-size: 9px; }
    .home-v43-hero__visual article section > a { font-size: 10px; }
    .home-v43-topics { padding-top: 12px; padding-bottom: 13px; }
    .home-v43-topics header > span { display: none; }
    .home-v43-topics h2 { margin: 0 0 9px; font-size: 19px; }
    .home-v43-topics > div { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .home-v43-topics > div > a { display: flex; flex: 0 0 86px; min-height: 0; flex-direction: column; gap: 5px; border: 0; padding: 0; text-align: center; }
    .home-v43-topics i { width: 54px; height: 54px; }
    .home-v43-topics strong { font-size: 11px; }
    .home-v43-topics small { display: none; }
    .home-v43-content-grid { display: block; padding-top: 0; padding-bottom: 16px; }
    .home-v43-primary { display: flex; flex-direction: column; }
    .home-v43-guide { display: none; }
    .home-v43-latest { order: 1; margin-top: 0; }
    .home-v43-latest h2 { font-size: 20px; }
    .home-v43-latest > div { display: flex; flex-direction: column; gap: 7px; }
    .home-v43-latest article { display: grid; grid-template-columns: 35% 65%; min-height: 118px; }
    .home-v43-latest__image { height: 100%; min-height: 118px; }
    .home-v43-latest__image span { padding: 4px 6px; font-size: 8px; }
    .home-v43-latest article > div { padding: 10px 12px; }
    .home-v43-latest h3 { font-size: 14px; }
    .home-v43-latest p { margin: 6px 0; font-size: 11px; }
    .home-v43-latest article small { font-size: 9px; }
    .home-v43-quick { order: 2; padding: 14px 0 4px; }
    .home-v43-quick > h2 { font-size: 18px; }
    .home-v43-quick > div { display: flex; flex-direction: column; gap: 5px; }
    .home-v43-quick a { grid-template-columns: 25px 1fr auto; min-height: 40px; padding: 5px 9px; }
    .home-v43-quick img,
    .home-v43-quick__placeholder { width: 25px; height: 25px; }
    .home-v43-quick strong { font-size: 12px; }
    .home-v43-quick small { display: none; }
    .home-v43-popular-mobile { order: 3; display: block; margin-top: 13px; border: 1px solid #e5ded7; border-radius: 10px; padding: 11px; }
    .home-v43-popular-mobile > h2 { margin: 0 0 6px; font-size: 18px; }
    .home-v43-popular-mobile article { display: grid; grid-template-columns: 1fr 78px; align-items: center; min-height: 58px; border-bottom: 1px solid #eee7e0; }
    .home-v43-popular-mobile h3 { margin: 0; font-size: 12px; }
    .home-v43-popular-mobile small { color: #83868b; font-size: 9px; }
    .home-v43-popular-mobile article > a { height: 50px; overflow: hidden; border-radius: 6px; }
    .home-v43-popular-mobile img { width: 100%; height: 100%; object-fit: cover; }
    .home-v43-faq { order: 4; margin-top: 13px; }
    .home-v43-faq h2 { font-size: 17px; }
    .home-v43-faq summary { min-height: 42px; padding: 0 12px; font-size: 12px; }
    .home-v43-faq details p { padding: 0 12px 12px; font-size: 11px; }
    .home-v43-sidebar { display: none; }
    .home-v43-trust-section { padding: 16px 0; }
    .home-v43-trust-section h2 { font-size: 17px; }
    .home-v43-trust-section .home-v43-shell > div { grid-template-columns: repeat(3,1fr); gap: 7px; }
    .home-v43-trust-section article { display: block; text-align: center; }
    .home-v43-trust-section article:last-child { display: none; }
    .home-v43-trust-section article > svg { width: 25px; height: 25px; }
    .home-v43-trust-section strong { display: block; font-size: 10px; }
    .home-v43-trust-section p { font-size: 8px; }
    .home-v43-newsletter-mobile { display: block; padding: 14px 0 17px; background: #fff6eb; }
    .home-v43-newsletter-mobile h2 { margin: 0; color: #5a301c; font-size: 22px; }
    .home-v43-newsletter-mobile p { margin: 5px 0 10px; color: #716b66; font-size: 12px; }
    .home-v43-newsletter-mobile form { display: grid; grid-template-columns: minmax(0,1fr) 105px; }
    .home-v43-newsletter-mobile input,
    .home-v43-newsletter-mobile button { box-sizing: border-box; height: 42px; font-size: 16px; }
    .home-v43-newsletter-mobile input { min-width: 0; border: 1px solid #ddd7d0; border-radius: 999px 0 0 999px; padding: 0 12px; }
    .home-v43-newsletter-mobile button { border: 0; border-radius: 0 999px 999px 0; color: #fff; background: var(--orange); font-size: 11px; font-weight: 800; }

    .category-landing .category-intro h1 { font-size: 38px !important; }
    .category-landing .category-intro__copy > p,
    .category-landing .category-description { font-size: 15px !important; line-height: 1.55; }
    .category-landing .category-trust-chips span { font-size: 11px; }
    .category-landing .category-topic-cluster h2 { font-size: 20px; }
    .category-landing .category-topic-scroll strong { font-size: 12px; }
    .category-landing .category-featured__body h2 { font-size: 24px !important; }
    .category-landing .category-featured__body > p { font-size: 13px !important; }
    .category-landing .category-section-head h2 { font-size: 22px !important; }
    .category-landing .category-card__body h3 { font-size: 17px !important; }
    .category-landing .category-card__body > p { font-size: 12px !important; }
    .category-landing .category-date { font-size: 10px !important; }
    .category-landing .category-read-more { font-size: 11px !important; }
    .category-popular-mobile h2 { font-size: 18px !important; }
    .category-popular-mobile li a { font-size: 12px !important; }
    .category-faq h2 { font-size: 17px !important; }
    .category-faq summary { font-size: 12px !important; }
    .category-faq details p { font-size: 11px !important; }
    .category-editorial h2 { font-size: 16px !important; }
    .category-editorial p { font-size: 11px !important; }
    .category-editorial__badges span { font-size: 9px !important; }
    .category-newsletter-mobile h2 { font-size: 18px !important; }
    .category-newsletter-mobile p { font-size: 11px !important; }

    .article-v42-hero h1 { font-size: clamp(32px,8.6vw,42px) !important; }
    .article-v42-deck { font-size: 14px !important; }
    .article-v42-byline { font-size: 11px !important; }
    .article-v42-quick h2,
    .article-v42-takeaways h2 { font-size: 15px !important; }
    .article-v42-quick p { font-size: 13px !important; }
    .article-v42-takeaways li { font-size: 12px !important; }
    .article-v42-toc h2 { font-size: 15px !important; }
    .article-v42-toc a { font-size: 11px !important; }
    .article-v42-content { font-size: 15px !important; line-height: 1.7; }
    .article-v42-content h2 { font-size: 25px !important; }
    .article-v42-content h3 { font-size: 20px !important; }
    .article-v42-faq h2 { font-size: 17px !important; }
    .article-v42-faq summary { font-size: 12px !important; }
    .article-v42-faq details p { font-size: 11px !important; }
    .article-v42-people h2 { font-size: 12px !important; }
    .article-v42-people strong { font-size: 9px !important; }
    .article-v42-promise p { font-size: 10px !important; }
    .article-v42-related h2 { font-size: 19px !important; }
    .article-v42-related h3 { font-size: 13px !important; }
    .article-v42-mobile-newsletter h2 { font-size: 20px !important; }
    .article-v42-mobile-newsletter p { font-size: 11px !important; }
}

/* 4.3.1 FINAL readable type overrides — intentionally last in the stylesheet. */
@media (min-width: 901px) {
    .home-v43-hero__copy h1 { font-size: clamp(58px,4.8vw,78px); }
    .home-v43-hero__copy > p { font-size: 20px; line-height: 1.58; }
    .home-v43-trust span { font-size: 14px; }
    .home-v43-stats strong { font-size: 28px; }
    .home-v43-stats small { font-size: 13px; }
    .home-v43-hero__visual article h2 { font-size: 26px; }
    .home-v43-hero__visual article small { font-size: 13px; line-height: 1.5; }
    .home-v43-hero__visual article section > a { font-size: 14px; }
    .home-v43-topics h2 { font-size: 38px; }
    .home-v43-topics strong { font-size: 17px; }
    .home-v43-topics small { font-size: 13px; }
    .home-v43-guide h2 { font-size: 36px; }
    .home-v43-guide p { font-size: 16px; }
    .home-v43-guide li { font-size: 14px; }
    .home-v43-button { font-size: 14px; }
    .home-v43-quick > h2,
    .home-v43-latest h2 { font-size: 27px; }
    .home-v43-quick strong { font-size: 14px; }
    .home-v43-quick small { font-size: 11px; }
    .home-v43-latest h3 { font-size: 21px; }
    .home-v43-latest p { font-size: 15px; }
    .home-v43-latest article small { font-size: 12px; }
    .home-v43-side-card > h2 { font-size: 23px; }
    .home-v43-popular h3 { font-size: 14px; }
    .home-v43-popular small { font-size: 10px; }
    .home-v43-browse span { font-size: 14px; }
    .home-v43-browse small { font-size: 10px; }
    .home-v43-newsletter h2 { font-size: 26px; }
    .home-v43-newsletter p { font-size: 14px; }
    .home-v43-faq h2 { font-size: 24px; }
    .home-v43-faq summary { font-size: 15px; }
    .home-v43-faq details p { font-size: 14px; }
    .home-v43-trust-section h2 { font-size: 25px; }
    .home-v43-trust-section strong { font-size: 15px; }
    .home-v43-trust-section p { font-size: 13px; }

    .category-landing .category-intro h1 { font-size: clamp(58px,4.2vw,70px) !important; }
    .category-landing .category-intro__copy > p,
    .category-landing .category-description { font-size: 19px !important; line-height: 1.65; }
    .category-landing .category-trust-chips span { font-size: 14px; }
    .category-landing .category-topic-cluster h2 { font-size: 29px; }
    .category-landing .category-topic-scroll strong { font-size: 14px; }
    .category-landing .category-featured__body h2 { font-size: 41px !important; }
    .category-landing .category-featured__body > p { font-size: 17px !important; }
    .category-landing .category-date { font-size: 13px !important; }
    .category-landing .category-button { font-size: 14px; }
    .category-landing .category-quick-guides h2 { font-size: 26px; }
    .category-landing .category-quick-guides a { font-size: 14px; }
    .category-landing .category-section-head h2 { font-size: 33px !important; }
    .category-landing .category-card__body h3 { font-size: 25px !important; }
    .category-landing .category-card__body > p { font-size: 15px !important; }
    .category-landing .category-read-more { font-size: 14px !important; }
    .category-landing .popular-box h2,
    .category-landing .category-browse-box h2 { font-size: 23px; }
    .category-landing .popular-box li a,
    .category-landing .category-browse-box a { font-size: 14px; }
    .category-landing .popular-box li small { font-size: 10px; }
    .category-landing .category-newsletter h2 { font-size: 28px; }
    .category-landing .category-newsletter > p { font-size: 14px; }
    .category-landing .category-faq h2 { font-size: 24px !important; }
    .category-landing .category-faq summary { font-size: 15px !important; }
    .category-landing .category-faq details p { font-size: 14px !important; }
    .category-landing .category-editorial h2 { font-size: 22px !important; }
    .category-landing .category-editorial p { font-size: 14px !important; }
    .category-landing .category-editorial__badges span { font-size: 11px !important; }

    .article-v42-hero h1 { font-size: clamp(52px,4vw,68px) !important; }
    .article-v42-deck { font-size: 18px !important; }
    .article-v42-byline { font-size: 13px !important; }
    .article-v42-quick h2,
    .article-v42-takeaways h2 { font-size: 18px !important; }
    .article-v42-quick p { font-size: 15px !important; }
    .article-v42-takeaways li { font-size: 14px !important; }
    .article-v42-toc h2 { font-size: 19px !important; }
    .article-v42-toc a { font-size: 14px !important; }
    .article-v42-content { font-size: 19px !important; line-height: 1.8; }
    .article-v42-content h2 { font-size: 36px !important; }
    .article-v42-content h3 { font-size: 27px !important; }
    .article-v42-content h4 { font-size: 22px !important; }
    .article-v42-content table { font-size: 13px; }
    .article-v42-share > span { font-size: 13px; }
    .article-v42-share a,
    .article-v42-share button { font-size: 11px; }
    .article-v42-people small { font-size: 10px; }
    .article-v42-people h2 { font-size: 16px !important; }
    .article-v42-people strong { font-size: 11px !important; }
    .article-v42-promise p { font-size: 13px !important; }
    .article-v42-faq h2 { font-size: 24px !important; }
    .article-v42-faq summary { font-size: 15px !important; }
    .article-v42-faq details p { font-size: 14px !important; }
    .article-v42-side-card > h2 { font-size: 23px !important; }
    .article-v42-side-card > a:not(.article-v42-side-more) { font-size: 14px !important; }
    .article-v42-side-card > a small { font-size: 10px; }
    .article-v42-popular h3 { font-size: 14px !important; }
    .article-v42-popular small { font-size: 10px; }
    .article-v42-newsletter h2 { font-size: 25px; }
    .article-v42-newsletter p { font-size: 13px; }
    .article-v42-related h2 { font-size: 28px !important; }
    .article-v42-related h3 { font-size: 16px !important; }
    .article-v42-related small { font-size: 11px; }
    .article-v42-policy h2 { font-size: 16px; }
    .article-v42-policy p { font-size: 13px; }
}

@media (max-width: 900px) {
    .home-v43-hero__copy h1 { font-size: clamp(33px,8.8vw,42px) !important; }
    .home-v43-hero__copy > p { font-size: 14px !important; line-height: 1.5; }
    .home-v43-trust span { font-size: 11px; }
    .home-v43-hero__visual article h2 { font-size: 19px; }
    .home-v43-hero__visual article small { font-size: 11px; line-height: 1.42; }
    .home-v43-hero__visual article section > a { font-size: 12px; }
    .home-v43-topics h2 { font-size: 23px; }
    .home-v43-topics strong { font-size: 13px; }
    .home-v43-latest h2 { font-size: 24px; }
    .home-v43-latest h3 { font-size: 16px; }
    .home-v43-latest p { font-size: 13px; }
    .home-v43-latest article small { font-size: 11px; }
    .home-v43-quick > h2,
    .home-v43-popular-mobile > h2 { font-size: 21px; }
    .home-v43-quick strong,
    .home-v43-popular-mobile h3 { font-size: 14px; }
    .home-v43-popular-mobile small { font-size: 10px; }
    .home-v43-faq h2 { font-size: 21px; }
    .home-v43-faq summary { font-size: 14px; }
    .home-v43-faq details p { font-size: 13px; }
    .home-v43-trust-section h2 { font-size: 20px; }
    .home-v43-trust-section strong { font-size: 12px; }
    .home-v43-trust-section p { font-size: 10px; }
    .home-v43-newsletter-mobile h2 { font-size: 25px; }
    .home-v43-newsletter-mobile p { font-size: 13px; }

    .category-landing .category-intro h1 { font-size: 42px !important; }
    .category-landing .category-intro__copy > p,
    .category-landing .category-description { font-size: 16px !important; line-height: 1.6; }
    .category-landing .category-trust-chips span { font-size: 12px; }
    .category-landing .category-topic-cluster h2 { font-size: 23px; }
    .category-landing .category-topic-scroll strong { font-size: 13px; }
    .category-landing .category-featured__body h2 { font-size: 27px !important; }
    .category-landing .category-featured__body > p { font-size: 14px !important; }
    .category-landing .category-date { font-size: 11px !important; }
    .category-landing .category-button { font-size: 13px; }
    .category-landing .category-quick-guides h2 { font-size: 22px; }
    .category-landing .category-quick-guides a { font-size: 13px; }
    .category-landing .category-section-head h2 { font-size: 25px !important; }
    .category-landing .category-card__body h3 { font-size: 20px !important; }
    .category-landing .category-card__body > p { font-size: 14px !important; }
    .category-landing .category-read-more { font-size: 13px !important; }
    .category-landing .category-popular-mobile h2 { font-size: 21px !important; }
    .category-landing .category-popular-mobile li a { font-size: 13px !important; }
    .category-landing .category-faq h2 { font-size: 21px !important; }
    .category-landing .category-faq summary { font-size: 14px !important; }
    .category-landing .category-faq details p { font-size: 13px !important; }
    .category-landing .category-editorial h2 { font-size: 19px !important; }
    .category-landing .category-editorial p { font-size: 13px !important; }
    .category-landing .category-editorial__badges span { font-size: 10px !important; }
    .category-landing .category-newsletter-mobile h2 { font-size: 22px !important; }
    .category-landing .category-newsletter-mobile p { font-size: 13px !important; }

    .article-v42-hero h1 { font-size: clamp(35px,9.2vw,44px) !important; }
    .article-v42-deck { font-size: 15px !important; }
    .article-v42-byline { font-size: 12px !important; }
    .article-v42-quick h2,
    .article-v42-takeaways h2 { font-size: 17px !important; }
    .article-v42-quick p { font-size: 14px !important; }
    .article-v42-takeaways li { font-size: 13px !important; }
    .article-v42-toc h2 { font-size: 17px !important; }
    .article-v42-toc a { font-size: 13px !important; }
    .article-v42-content { font-size: 17px !important; line-height: 1.75; }
    .article-v42-content h2 { font-size: 29px !important; }
    .article-v42-content h3 { font-size: 23px !important; }
    .article-v42-content h4 { font-size: 19px !important; }
    .article-v42-content table { font-size: 10px; }
    .article-v42-share > span { font-size: 13px; }
    .article-v42-share a,
    .article-v42-share button { font-size: 11px; }
    .article-v42-people h2 { font-size: 14px !important; }
    .article-v42-people strong { font-size: 10px !important; }
    .article-v42-promise p { font-size: 12px !important; }
    .article-v42-faq h2 { font-size: 21px !important; }
    .article-v42-faq summary { font-size: 14px !important; }
    .article-v42-faq details p { font-size: 13px !important; }
    .article-v42-related h2 { font-size: 22px !important; }
    .article-v42-related header > a { font-size: 11px; }
    .article-v42-related h3 { font-size: 15px !important; }
    .article-v42-related small { font-size: 10px; }
    .article-v42-mobile-newsletter h2 { font-size: 24px !important; }
    .article-v42-mobile-newsletter p { font-size: 13px !important; }
}

/* Final topic-showcase precedence. */
@media (min-width: 781px) {
    .category-landing .category-topic-showcase {
        padding: 54px 0 40px !important;
    }

    .category-landing .category-topic-showcase__header {
        margin-bottom: 43px;
    }

    .category-landing .category-topic-showcase__header > span {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .category-landing .category-topic-showcase h2 {
        font-size: clamp(46px, 3.6vw, 58px) !important;
        letter-spacing: -1.5px;
    }

    .category-landing .category-topic-showcase__header > p {
        margin-top: 16px;
        font-size: 20px;
    }

    .category-landing .category-topic-standards {
        max-width: 1060px;
        gap: 0;
        margin: 40px auto 0;
    }

    .category-landing .category-topic-standards span {
        flex: 1 1 25%;
        justify-content: center;
        min-height: 34px;
        padding: 0 28px;
        font-size: 15px;
        white-space: nowrap;
    }

    .category-landing .category-topic-standards span + span {
        border-left: 1px solid #e8e2da;
    }

    .category-landing .category-topic-showcase .category-topic-scroll {
        column-gap: 22px;
        row-gap: 24px;
    }

    .category-landing .category-topic-showcase .category-topic-card:not(.category-topic-card--wide) {
        min-height: 390px;
    }

    .category-landing .category-topic-showcase .category-topic-card {
        align-items: stretch !important;
    }

    .category-landing .category-topic-showcase .category-topic-card__image,
    .category-landing .category-topic-showcase .category-topic-card__body {
        box-sizing: border-box;
        width: 100% !important;
        max-width: none !important;
    }

    .category-landing .category-topic-showcase .category-topic-card:not(.category-topic-card--wide) .category-topic-card__image {
        height: 202px;
        min-height: 202px;
    }

    .category-landing .category-topic-showcase .category-topic-card--wide {
        min-height: 230px;
        grid-template-columns: 52% 48%;
    }

    .category-landing .category-topic-showcase .category-topic-card--wide .category-topic-card__image {
        min-height: 230px;
    }

    .category-landing .category-topic-showcase .category-topic-card__body {
        flex: 1 1 auto;
        grid-template-rows: auto minmax(0,1fr) auto;
        padding: 22px 24px 24px;
    }

    .category-landing .category-topic-showcase .category-topic-card--wide .category-topic-card__body {
        padding: 28px 30px;
    }

    .category-landing .category-topic-showcase .category-topic-card__body > strong {
        font-size: 25px !important;
    }

    .category-landing .category-topic-showcase .category-topic-card__body > span {
        font-size: 16px;
        line-height: 1.55;
    }

    .category-landing .category-topic-showcase .category-topic-card__body > b {
        align-self: end;
        margin-top: 13px;
        font-size: 16px;
    }

    .category-landing .category-topic-more {
        min-height: 96px;
        margin-top: 25px;
        padding: 20px 27px;
    }

    .category-landing .category-topic-more > a {
        min-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 780px) {
    .category-landing .category-topic-showcase { padding: 27px 0 24px !important; }
}

