/* ==========================================================================
   GOLDEN YEARS BLISS — Terracotta & Linen (gyb-theme 1.0.0)
   Loads after main.css. Warm parchment paper (#FBF8F3), clay bands (#F2EAE0),
   sunrise terracotta-sienna (#9E3F20), woodland umber (#241914), crisp 1px
   warm-stone column & section rules, Lora display + DM Sans body.
   ========================================================================== */

body {
    font-family: var(--font-body);
    background-color: var(--gyb-linen);
    color: var(--gyb-ink);
    font-size: 1.125rem;
    line-height: var(--line-height-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.archive-title,
.related-posts-title,
.comments-title,
.comment-reply-title {
    font-family: var(--font-display);
    color: var(--gyb-umber);
    letter-spacing: -0.015em;
}

.site-main {
    background-color: var(--gyb-linen);
    padding-top: 0;
}
.home .site-main {
    padding-bottom: 0 !important;
}

.site-container {
    max-width: var(--gyb-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2.5vw, 1.5rem);
    padding-right: clamp(1rem, 2.5vw, 1.5rem);
}

/* Prevent double horizontal padding when templates include an inner .site-container
   inside header.php's outer .site-container */
.site-container .site-container {
    padding-left: 0;
    padding-right: 0;
}

/* Full-bleed bands break out of the outer .site-container cleanly without 100vw scrollbar overflow */
.gyb-band-clay,
.gyb-band-linen,
.gyb-nl-sienna,
.gyb-masthead,
.related-posts {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: clamp(1rem, 2.5vw, 1.5rem);
    padding-right: clamp(1rem, 2.5vw, 1.5rem);
}
.gyb-band-clay > .site-container,
.gyb-band-linen > .site-container,
.gyb-nl-sienna > .site-container,
.gyb-masthead > .site-container,
.related-posts > .site-container {
    max-width: var(--gyb-container);
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   1. Utility Strip + Editorial Double-Ruled Masthead
   -------------------------------------------------------------------------- */

.gyb-util-strip {
    background-color: var(--gyb-sienna);
    color: #FDF6F0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 0.45rem 0;
}
.gyb-util-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.gyb-util-link {
    color: #FFE4B8;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.gyb-util-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
@media (max-width: 680px) {
    .gyb-util-sub { display: none; }
}

.site-header {
    background-color: var(--gyb-linen);
    border-bottom: 1px solid var(--gyb-rule);
    padding: 1.1rem 0 0 !important;
    position: relative;
    box-shadow: none;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gyb-rule-strong);
}

.site-brand-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.site-logo-link,
.footer-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    margin: 0;
}
.site-logo-mark {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}
.site-brand-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.site-brand-title a {
    color: var(--gyb-sienna);
    text-decoration: none;
}
.site-brand-title a:hover {
    color: var(--gyb-sienna-deep);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.desktop-search-toggle,
.mobile-search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--gyb-rule) !important;
    background: transparent !important;
    color: var(--gyb-umber);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}
.desktop-search-toggle:hover {
    background: var(--gyb-clay) !important;
    border-color: var(--gyb-umber) !important;
}
.gyb-header-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1.4rem;
    border-radius: 999px;
    background-color: var(--gyb-sienna);
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none !important;
    white-space: nowrap;
}
.gyb-header-subscribe:hover {
    background-color: var(--gyb-sienna-deep);
    color: #FFFFFF !important;
}

/* Desktop: nav inline on the logo row (1.0.1) — logo · menu · search + Subscribe */
@media (min-width: 901px) {
    .mobile-search-toggle,
    .mobile-menu-toggle {
        display: none !important;
    }
    .site-header {
        padding: 0.9rem 0 !important;
    }
    .header-main {
        padding-bottom: 0;
        border-bottom: 0;
        gap: 2rem;
    }
    .site-branding {
        flex: 0 0 auto;
    }
    .gyb-nav-bar {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
    }
    .main-navigation {
        display: flex !important;
        position: static !important;
        justify-content: flex-end;
        width: 100%;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    .main-navigation ul,
    .primary-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: clamp(1.1rem, 2.2vw, 2.25rem);
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .main-navigation li {
        padding: 0;
        margin: 0;
        border: 0 !important;
    }
    .main-navigation a,
    .primary-menu a {
        position: relative;
        display: inline-block;
        padding: 0.35rem 0;
        font-family: var(--font-body);
        font-size: 1.0625rem;
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0;
        white-space: nowrap;
        color: var(--gyb-umber);
        text-decoration: none;
        border-bottom: 0;
    }
    .main-navigation a:hover,
    .primary-menu a:hover,
    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-parent > a,
    .main-navigation .current_page_item > a,
    .main-navigation .current-cat > a {
        color: var(--gyb-sienna);
        background: none;
        box-shadow: none;
        text-decoration: none;
    }
    .main-navigation .current-menu-item > a::after,
    .main-navigation .current_page_item > a::after,
    .main-navigation .current-cat > a::after {
        display: none;
    }
}

/* Narrow desktop (901–1120px): keep the one-row header from overflowing */
@media (min-width: 901px) and (max-width: 1120px) {
    /* main.css turns .header-main into a 2-col grid at <=1024px, which wraps the nav */
    .header-main { display: flex !important; gap: 1.25rem; }
    /* main.css's <=1024px drawer rule targets .header-main .main-navigation (now matches since the nav moved in) */
    .header-main .main-navigation {
        display: flex !important;
        position: static !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    .header-main .main-navigation ul { align-items: center; }
    .header-main .main-navigation a { display: inline-flex; align-items: center; }
    .site-logo-mark { width: 40px; height: 40px; }
    .site-brand-title { font-size: 1.4rem; }
    .main-navigation ul,
    .primary-menu { gap: 1.1rem; }
    .main-navigation a,
    .primary-menu a { font-size: 0.95rem; }
    .gyb-header-subscribe { padding: 0 1rem; font-size: 0.875rem; }
}

/* Tablet & Mobile header & drawer (<=900px — preserves menu.js hooks) */
@media (max-width: 900px) {
    .desktop-search-toggle {
        display: none !important;
    }
    /* nav wrapper sits inside .header-main since 1.0.1; the drawer is position:fixed,
       so drop the wrapper from the row or it takes a grid cell and pushes the buttons off-screen */
    .gyb-nav-bar {
        display: contents;
        padding: 0;
    }
    .site-header {
        padding: 0.75rem 0 !important;
    }
    .header-main {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .gyb-header-subscribe {
        display: none;
    }
    .header-actions {
        flex-direction: row !important;
    }
    .site-logo-mark {
        width: 40px;
        height: 40px;
    }
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        gap: 6px;
    }
    .mobile-menu-toggle .hamburger-line {
        width: 24px;
        height: 2.5px;
        background-color: var(--gyb-umber);
    }
    .main-navigation {
        background-color: var(--gyb-linen);
    }
    .main-navigation a,
    .primary-menu a {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--gyb-umber);
    }
    .main-navigation .current-menu-item > a,
    .main-navigation .current-cat > a {
        color: var(--gyb-sienna);
        box-shadow: inset 4px 0 0 var(--gyb-sienna);
    }
}

@media (max-width: 480px) {
    .header-main { gap: 0.5rem; }
}

/* Search drawer refinement */
.desktop-search-form form,
.mobile-search-form form {
    padding: 0.85rem 0;
}
.desktop-search-form button[type="submit"],
.mobile-search-form button[type="submit"] {
    background-color: var(--gyb-sienna);
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. Shared Editorial Atoms: Kickers, Buttons, Ruled Story Cards
   -------------------------------------------------------------------------- */

.gyb-chip {
    display: inline-block;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--gyb-sienna);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
}
.gyb-chip:hover,
.gyb-chip:focus-visible {
    color: var(--gyb-sienna-deep);
    background: none;
    text-decoration: underline;
}

.gyb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.65rem;
    border: 0;
    border-radius: 6px;
    background-color: var(--gyb-sienna);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.gyb-button:hover,
.gyb-button:focus-visible {
    background-color: var(--gyb-sienna-deep);
    color: #FFFFFF;
    text-decoration: none;
}

.gyb-read-cta,
.home-grid-link,
.category-grid-link,
.related-post-link,
.search-result-link {
    margin-top: auto;
    padding-top: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gyb-sienna);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}
.gyb-read-cta:hover,
.home-grid-link:hover,
.category-grid-link:hover,
.related-post-link:hover,
.search-result-link:hover {
    color: var(--gyb-sienna-deep);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. Homepage — 3-Column Cover Mosaic + Ruled Category Bands
   -------------------------------------------------------------------------- */

.gyb-mosaic {
    padding: 1.85rem 0 2.2rem;
    border-bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.55fr) minmax(0, 0.88fr);
    gap: 1.75rem;
    align-items: start;
}

.gyb-mosaic-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid var(--gyb-rule);
}
.gyb-mosaic-left-item + .gyb-mosaic-left-item {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gyb-rule);
}

.gyb-mosaic-center {
    padding: 0 0.25rem;
}

.gyb-mosaic-right {
    padding-left: 1.5rem;
    border-left: 1px solid var(--gyb-rule);
}

.gyb-photo-frame {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16 / 10;
    background-color: var(--gyb-clay);
    margin-bottom: 0.85rem;
}
.gyb-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}
.gyb-photo-frame:hover img {
    transform: scale(1.02);
}

.gyb-kicker-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gyb-muted);
}

.gyb-cover-title {
    font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.45rem);
    line-height: 1.15;
    margin: 0.35rem 0 0.8rem;
}
.gyb-cover-title a,
.gyb-side-story-title a {
    color: var(--gyb-umber);
    text-decoration: none;
}
.gyb-cover-title a:hover,
.gyb-side-story-title a:hover {
    color: var(--gyb-sienna);
}
.gyb-cover-dek {
    margin: 0 0 0.95rem;
    color: var(--gyb-muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.gyb-side-story-title {
    font-size: 1.16rem;
    line-height: 1.3;
    margin: 0.3rem 0 0.45rem;
}
.gyb-side-story-dek {
    margin: 0;
    color: var(--gyb-muted);
    font-size: 0.94rem;
    line-height: 1.52;
}

.gyb-most-head {
    margin: 0 0 0.35rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--gyb-rule);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gyb-sienna);
}
.gyb-most-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gyb-most-item {
    display: grid;
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gyb-rule);
    align-items: start;
}
.gyb-most-item:last-child {
    border-bottom: 0;
}
.gyb-most-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gyb-sienna);
}
.gyb-most-item a {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.32;
    color: var(--gyb-umber);
    text-decoration: none;
}
.gyb-most-item a:hover {
    color: var(--gyb-sienna);
}
.gyb-most-meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: var(--gyb-muted);
}

/* Desktop: all three mosaic columns end on the same line (1.0.2) — the cover photo
   absorbs the spare height in the middle, Most Read spreads its 7 items down the right */
@media (min-width: 1025px) {
    .gyb-mosaic {
        align-items: stretch;
    }
    .gyb-mosaic-center {
        display: flex;
        flex-direction: column;
    }
    .gyb-mosaic-center .gyb-photo-frame {
        position: relative;
        flex: 1 1 auto;
        aspect-ratio: auto;
        min-height: 300px;
    }
    .gyb-mosaic-center .gyb-photo-frame img {
        position: absolute;
        inset: 0;
    }
    .gyb-mosaic-center .gyb-read-cta {
        margin-top: 0;
        align-self: flex-start;
    }
    .gyb-mosaic-right {
        display: flex;
        flex-direction: column;
    }
    .gyb-most-list {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* Tablet Mosaic (641px - 1024px): Cover story full-width first, 2 stories side-by-side below, Most Read 2-col below */
@media (max-width: 1024px) {
    .gyb-mosaic {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .gyb-mosaic-center {
        order: 1;
        padding: 0 0 1.5rem;
        border-bottom: 1px solid var(--gyb-rule);
    }
    .gyb-mosaic-left {
        order: 2;
        padding-right: 0;
        border-right: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--gyb-rule);
    }
    .gyb-mosaic-left-item + .gyb-mosaic-left-item {
        padding-top: 0;
        border-top: 0;
    }
    .gyb-mosaic-right {
        order: 3;
        padding-left: 0;
        border-left: 0;
    }
}
@media (max-width: 640px) {
    .gyb-mosaic-left {
        grid-template-columns: 1fr;
    }
    .gyb-mosaic-left-item + .gyb-mosaic-left-item {
        padding-top: 1.25rem;
        border-top: 1px solid var(--gyb-rule);
    }
}

/* Homepage & Related Ruled Bands */
.gyb-band-clay {
    background-color: var(--gyb-clay);
    border-bottom: 1px solid var(--gyb-rule);
}
.gyb-band-linen {
    background-color: var(--gyb-linen);
    border-bottom: 1px solid var(--gyb-rule);
}
.gyb-section {
    padding: clamp(2.1rem, 3.8vw, 2.85rem) 0;
}

.gyb-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.65rem;
    border-top: 2px solid var(--gyb-rule-strong);
    margin-bottom: 1.65rem;
}
.gyb-section-title {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem);
    margin: 0;
}
.gyb-section-title a {
    color: var(--gyb-umber);
    text-decoration: none;
}
.gyb-section-title a:hover {
    color: var(--gyb-sienna);
}
.category-view-all {
    color: var(--gyb-sienna);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.category-view-all:hover {
    color: var(--gyb-sienna-deep);
    text-decoration: underline;
}

/* Ruled 3-column borderless story grid (no boxy cards) */
.gyb-ruled-3,
.related-posts-grid,
.search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.75rem;
}

.home-grid-item,
.category-grid-item,
.related-post-item,
.archive-post-item,
.search-result-item {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: none !important;
}

@media (min-width: 821px) {
    /* 1.0.5: the column rule sits in the middle of the gap (was padding-right + border on
       cards 1–2, which made card 3 ~22px wider and its 3:2 photo taller) */
    .gyb-ruled-3 > article,
    .related-posts-grid > article {
        position: relative;
    }
    .gyb-ruled-3 > article:not(:nth-child(3n))::after,
    .related-posts-grid > article:not(:nth-child(3n))::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: calc(-1.75rem / 2);
        border-right: 1px solid var(--gyb-rule);
        pointer-events: none;
    }
}

@media (max-width: 820px) {
    .gyb-ruled-3,
    .related-posts-grid,
    .search-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gyb-ruled-3 > article,
    .related-posts-grid > article,
    .search-grid > article {
        padding-bottom: 1.35rem;
        border-bottom: 1px solid var(--gyb-rule) !important;
    }
    .gyb-ruled-3 > article:last-child,
    .related-posts-grid > article:last-child,
    .search-grid > article:last-child {
        padding-bottom: 0;
        border-bottom: 0 !important;
    }
}

.home-grid-thumbnail,
.category-grid-thumbnail,
.archive-post-thumbnail,
.related-post-thumbnail,
.search-result-thumbnail {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 3 / 2;
    background-color: var(--gyb-clay);
    margin-bottom: 0.85rem;
}
.home-grid-thumbnail img,
.category-grid-thumbnail img,
.archive-post-thumbnail img,
.related-post-thumbnail img,
.search-result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.28s ease;
}
.home-grid-thumbnail:hover img,
.category-grid-thumbnail:hover img,
.archive-post-thumbnail:hover img,
.related-post-thumbnail:hover img {
    transform: scale(1.02);
}

.home-grid-content,
.category-grid-content,
.archive-post-content,
.related-post-content,
.search-result-content {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.gyb-card-meta {
    margin-bottom: 0.35rem;
}
.gyb-card-title,
.related-post-title,
.search-result-title {
    font-family: var(--font-display);
    font-size: 1.24rem;
    font-weight: 600;
    line-height: 1.28;
    margin: 0.25rem 0 0.55rem;
}
.gyb-card-title a,
.related-post-title a,
.search-result-title a {
    color: var(--gyb-umber);
    text-decoration: none;
}
.gyb-card-title a:hover,
.related-post-title a:hover,
.search-result-title a:hover {
    color: var(--gyb-sienna);
}
.gyb-card-excerpt,
.related-post-excerpt,
.search-result-excerpt {
    margin: 0 0 0.8rem;
    color: var(--gyb-muted);
    font-size: 0.97rem;
    line-height: 1.56;
}

/* --------------------------------------------------------------------------
   4. Full-Bleed Sunrise Terracotta-Sienna Newsletter Band
   -------------------------------------------------------------------------- */

/* 1.0.9: watercolor lakeside scene (gpt-image-2.6) as a faded wash behind the band —
   original compact height, the art is texture, the signup stays the focus. */
.gyb-nl-sienna {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #FCEFE2;
    color: var(--gyb-umber);
    /* longhands only — the full-bleed rule above owns padding-left/right */
    padding-top: clamp(2.4rem, 4.5vw, 3.25rem);
    padding-bottom: clamp(2.4rem, 4.5vw, 3.25rem);
    border-top: 1px solid var(--gyb-rule);
}
.gyb-nl-sienna::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/gyb-nl-scene-1920.webp") center 80% / cover no-repeat;
    opacity: 0.5;
    pointer-events: none;
}
/* 1.0.10: cream veil over the scene where the text sits (left half on desktop, all over on phones) */
.gyb-nl-sienna::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        rgba(252, 239, 226, 0.88) 0%,
        rgba(252, 239, 226, 0.82) 48%,
        rgba(252, 239, 226, 0.35) 72%,
        rgba(252, 239, 226, 0.15) 100%);
    pointer-events: none;
}
@media (max-width: 860px) {
    .gyb-nl-sienna::before {
        background-image: url("../images/gyb-nl-scene-1280.webp");
        background-position: 12% 80%;
    }
    .gyb-nl-sienna::after {
        background: linear-gradient(180deg,
            rgba(252, 239, 226, 0.86) 0%,
            rgba(252, 239, 226, 0.72) 70%,
            rgba(252, 239, 226, 0.45) 100%);
    }
}
.gyb-nl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: center;
}
@media (max-width: 860px) {
    .gyb-nl-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }
}
.gyb-nl-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gyb-sienna);
    margin-bottom: 0.45rem;
}
.gyb-nl-sienna h2 {
    color: var(--gyb-umber);
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
    line-height: 1.16;
    margin: 0 0 0.55rem;
}
.gyb-nl-sienna p {
    margin: 0;
    color: var(--gyb-umber);
    font-size: 1.04rem;
    line-height: 1.55;
}
.gyb-nl-sienna .newsletter-form {
    display: flex;
    flex-direction: row;
    gap: 0.65rem;
    align-items: stretch;
}
@media (max-width: 520px) {
    .gyb-nl-sienna .newsletter-form {
        flex-direction: column;
    }
}
.gyb-nl-sienna .newsletter-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    padding: 0 1rem;
    border: 1px solid #CDBFAE;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: var(--gyb-umber);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(36, 25, 20, 0.06);
}
.gyb-nl-sienna .newsletter-form button {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 1.65rem;
    border: 0;
    border-radius: 6px;
    background-color: var(--gyb-sienna);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}
.gyb-nl-sienna .newsletter-form button:hover {
    background-color: var(--gyb-sienna-deep);
}
.gyb-nl-sienna .gyb-nl-fineprint {
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: #3E2F27;
}
.gyb-nl-sienna .newsletter-message {
    margin-top: 0.65rem;
    color: var(--gyb-sienna-deep);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Two-Column Layout: Single Article & Category Archive + 320px Sidebar
   -------------------------------------------------------------------------- */

.gyb-single-layout,
.gyb-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 332px;
    gap: clamp(1.75rem, 3vw, 2.75rem);
    padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
    align-items: start;
}
@media (max-width: 1024px) {
    .gyb-single-layout,
    .gyb-archive-layout {
        /* minmax(0,…) — plain 1fr let a wide child (ad/table) stretch the column past the screen edge */
        grid-template-columns: minmax(0, 1fr);
    }
}
.gyb-archive-layout > .site-main,
.gyb-single-layout > .content-area {
    padding-top: 0;
    min-width: 0;
}

/* Archive Masthead — 1.0.13: per-category watercolor scene on the right, fading into cream */
.gyb-masthead {
    background-color: var(--gyb-clay);
    border-bottom: 1px solid var(--gyb-rule);
    /* longhands only — the full-bleed rule owns padding-left/right */
    padding-top: clamp(1.85rem, 3.5vw, 2.75rem);
    padding-bottom: clamp(1.85rem, 3.5vw, 2.75rem);
    position: relative;
    overflow: hidden;
}
.gyb-masthead.has-art {
    background-color: #FBEDDF; /* the scenes' paper colour, so the faded edge has no seam */
    min-height: clamp(260px, 22vw, 330px);
    display: flex;
    align-items: center;
}
.gyb-masthead.has-art > .site-container {
    width: 100%;
}
.gyb-masthead-inner {
    position: relative;
    z-index: 1;
}
.gyb-masthead.has-art .gyb-masthead-title,
.gyb-masthead.has-art .gyb-masthead-description,
.gyb-masthead.has-art .gyb-masthead-kicker {
    max-width: min(40rem, 52%);
}
.gyb-masthead-art {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
@media (max-width: 1100px) {
    .gyb-masthead-art { right: -8%; }
}
@media (max-width: 900px) {
    .gyb-masthead.has-art {
        display: block;
        min-height: 0;
        padding-top: 0;
    }
    .gyb-masthead-art {
        position: static;
        display: block;
        width: calc(100% + 2 * clamp(1rem, 2.5vw, 1.5rem));
        max-width: none;
        margin-left: calc(-1 * clamp(1rem, 2.5vw, 1.5rem));
        height: clamp(150px, 42vw, 240px);
        object-fit: cover;
        object-position: 88% 40%;
        margin-bottom: 1.25rem;
        -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    }
    .gyb-masthead.has-art .gyb-masthead-title,
    .gyb-masthead.has-art .gyb-masthead-description,
    .gyb-masthead.has-art .gyb-masthead-kicker { max-width: none; }
}
.gyb-masthead-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gyb-sienna);
}
.gyb-masthead-title,
.search-title {
    font-size: var(--font-size-h1-fluid);
    margin: 0 0 0.55rem;
}
.gyb-masthead-description {
    max-width: 44rem;
    margin: 0;
    color: var(--gyb-muted);
    font-size: 1.06rem;
    line-height: 1.65;
}

.gyb-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
    align-content: start;
}
.gyb-archive-grid > .archive-post-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gyb-rule) !important;
}
@media (max-width: 640px) {
    .gyb-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Article Header & Reading Column */
.single .article-header {
    padding-bottom: 1.1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--gyb-rule);
}
.gyb-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gyb-muted);
}
.gyb-breadcrumb-home {
    color: var(--gyb-muted);
    text-decoration: none;
}
.gyb-breadcrumb-home:hover {
    color: var(--gyb-sienna);
    text-decoration: underline;
}
.entry-title {
    font-size: clamp(2rem, 1.45rem + 1.7vw, 2.8rem);
    line-height: 1.14;
    margin: 0;
}
.entry-featured-image {
    margin-bottom: 1.35rem;
}
.entry-featured-image img {
    border-radius: 6px;
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: clamp(1.125rem, 1.04rem + 0.25vw, 1.22rem);
    line-height: 1.8;
    color: var(--gyb-ink);
}
.entry-content p {
    margin: 0 0 1.45rem;
}
.entry-content a {
    color: var(--gyb-sienna);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content a:hover {
    color: var(--gyb-umber);
}
.entry-content h2 {
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--gyb-rule);
    font-size: var(--font-size-h2-fluid);
}
.entry-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
    font-size: var(--font-size-h3-fluid);
}
.entry-content blockquote {
    margin: 1.85rem 0;
    padding: 0.5rem 0 0.5rem 1.4rem;
    border-left: 3px solid var(--gyb-sienna);
    background: transparent;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.24rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--gyb-umber);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img {
    border-radius: 6px;
}
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.45rem;
    padding-left: 1.4rem;
}
.entry-content li {
    margin-bottom: 0.55rem;
}
.table-scroll {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--gyb-rule);
    border-radius: 6px;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    font-size: 0.95em;
}
.entry-content th {
    background-color: var(--gyb-clay);
    color: var(--gyb-umber);
    font-weight: 700;
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--gyb-rule);
}
.entry-content td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid var(--gyb-rule-soft);
}

/* Multi-page pager (1.0.21) — "Jump to page:" + ‹ 1 2 3 … › with terracotta arrow circles.
   .page-links kept inside .entry-content (Decide selector safe!) */
.entry-content .page-links.gyb-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 2.25rem 0 0;
    padding: 0.7rem 1rem;
    background: #F3EBE0;
    border: 1px solid #E8DCCB;
    border-radius: 18px;
    font-family: var(--font-body);
    color: var(--gyb-umber);
}
.entry-content .gyb-pager a { text-decoration: none; }
.gyb-pager-jump { font-size: 1rem; color: var(--gyb-muted); }
.gyb-pager-nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem; }
.entry-content .gyb-pager-nums .post-page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 0; /* main.css: min-width 36px + side padding */
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #D7C6B1;
    background: #FFFFFF;
    color: var(--gyb-umber);
    font-size: 1.05rem;
    font-weight: 700;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.entry-content .gyb-pager-nums a.post-page-numbers:hover { border-color: var(--gyb-sienna); color: var(--gyb-sienna); }
.entry-content .gyb-pager-nums .current { background: #2B1D16; border-color: #2B1D16; color: #FFFFFF; }
.entry-content .gyb-pager-nums .gyb-pager-arrow {
    background: var(--gyb-sienna);
    border-color: var(--gyb-sienna);
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(158, 63, 32, 0.22);
}
.entry-content .gyb-pager-nums .gyb-pager-arrow--prev { margin-right: 0.35rem; }
.entry-content .gyb-pager-nums .gyb-pager-arrow--next { margin-left: 0.35rem; }
.entry-content .gyb-pager-nums a.gyb-pager-arrow:hover { background: var(--gyb-sienna-deep); border-color: var(--gyb-sienna-deep); color: #FFFFFF; }
.entry-content .gyb-pager-nums .gyb-pager-arrow.is-disabled {
    background: #EADFD2;
    border-color: #EADFD2;
    color: #BFA996;
    box-shadow: none;
}
.entry-content .gyb-pager-nums .gyb-pager-arrow.is-disabled:first-child { margin-right: 0.35rem; }
.entry-content .gyb-pager-nums .gyb-pager-arrow.is-disabled:last-child { margin-left: 0.35rem; }
@media (max-width: 760px) {
    /* one row on phones: the arrows + numbers are the whole control */
    .entry-content .page-links.gyb-pager { padding: 0.6rem 0.5rem; }
    .gyb-pager-jump { display: none; }
    .gyb-pager-nums { gap: 0.2rem; }
    .entry-content .gyb-pager-nums .post-page-numbers { width: 32px; height: 32px; font-size: 0.95rem; }
    .entry-content .gyb-pager-nums .gyb-pager-arrow { width: 36px; height: 36px; }
    .entry-content .gyb-pager-nums .gyb-pager-arrow--prev,
    .entry-content .gyb-pager-nums .gyb-pager-arrow.is-disabled:first-child { margin-right: 0.2rem; }
    .entry-content .gyb-pager-nums .gyb-pager-arrow--next,
    .entry-content .gyb-pager-nums .gyb-pager-arrow.is-disabled:last-child { margin-left: 0.2rem; }
}
@media (max-width: 380px) {
    .gyb-pager-nums { gap: 0.125rem; }
    .entry-content .gyb-pager-nums .post-page-numbers { width: 30px; height: 30px; font-size: 0.9rem; }
    .entry-content .gyb-pager-nums .gyb-pager-arrow { width: 32px; height: 32px; }
}

/* Social share — clean ruled strip */
.social-share {
    margin: 2.25rem 0 0;
    padding: 1.15rem 0 !important;
    border-top: 1px solid var(--gyb-rule) !important;
    border-bottom: 1px solid var(--gyb-rule) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-align: left !important;
}
.social-share-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gyb-muted);
    text-align: left;
}
.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 0.5rem;
}
.social-share-buttons .share-button {
    min-height: 42px;
    padding: 0.45rem 0.9rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
}
@media (max-width: 480px) {
    .social-share-buttons { flex-direction: row !important; }
    .social-share-buttons .share-button span { display: none; }
    .social-share-buttons .share-button { width: 44px; height: 44px; padding: 0; justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Ad Slots & 320px Ruled Sidebar (100% AdSense + Decide Safe)
   -------------------------------------------------------------------------- */

.sidebar-ad,
.code-block {
    width: 100%;
    align-self: stretch;
    box-shadow: none !important;
}
.sidebar-ad ins.adsbygoogle,
.code-block ins.adsbygoogle {
    width: 100%;
}
/* 1.0.18: ad block frame + label moved into the theme. The claude-theme era had these in
   Additional CSS, which WordPress stores per theme — activating gyb-theme dropped them and the
   label fell back to 18px left-aligned body text. Label = small, muted, centred. */
.code-block {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 1.25rem auto !important;
    padding: 0.5rem 0 !important;
    text-align: center;
    box-sizing: border-box;
}
.code-block.code-block-3 { min-width: 300px; }
.code-block ins.adsbygoogle { margin-left: auto; margin-right: auto; }
.code-block::before {
    content: none !important;
    display: block;
    margin: 0 0 0.45rem;
    font-family: var(--font-body) !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    font-style: normal;
    line-height: 1.2 !important;
    letter-spacing: 0.16em;
    text-align: center !important;
    text-transform: uppercase;
    color: #9A8A7C !important;
}
.code-block:has(ins.adsbygoogle[data-ad-status="filled"])::before {
    content: "Advertisement" !important;
}
.code-block:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.code-block:has(ins.adsbygoogle[data-ad-status="unfill-optimized"]) {
    display: none !important;
}
.code-block:has(> div[id^="ld-"]) {
    padding: 0 !important;
}

.gyb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: start;
}
@media (min-width: 1025px) {
    .gyb-sidebar {
        padding-left: 1.5rem;
        border-left: 1px solid var(--gyb-rule);
    }
}
.gyb-sidebar .sidebar-ad { margin: 0; }
.gyb-sidebar .sidebar-ad:empty { display: none; }

.gyb-widget {
    padding: 0 0 1.4rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--gyb-rule);
    border-radius: 0;
}
.gyb-widget:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.gyb-widget-title,
.gyb-search-label {
    display: block;
    margin: 0 0 0.85rem;
    padding: 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gyb-sienna);
}

.gyb-search-row {
    position: relative;
}
.gyb-search-field {
    width: 100%;
    min-height: 46px;
    padding: 0.55rem 3rem 0.55rem 0.9rem;
    border: 1px solid var(--gyb-rule);
    border-radius: 6px;
    background: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gyb-umber);
}
.gyb-search-field:focus {
    outline: 2px solid var(--gyb-sienna);
    outline-offset: 1px;
}
.gyb-search-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: var(--gyb-umber);
    color: #FFFFFF;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}
.gyb-search-btn:hover {
    background: var(--gyb-sienna);
}

/* Numbered Popular Stories in Sidebar */
.gyb-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: gyb-side-pop;
}
.gyb-widget-list li {
    counter-increment: gyb-side-pop;
    display: grid;
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gyb-rule-soft);
}
.gyb-widget-list li:first-child { padding-top: 0; }
.gyb-widget-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.gyb-widget-list li::before {
    content: counter(gyb-side-pop);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gyb-sienna);
}
.gyb-widget-list a {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.32;
    color: var(--gyb-umber);
    text-decoration: none;
}
.gyb-widget-list a:hover {
    color: var(--gyb-sienna);
}
.gyb-widget-meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: var(--gyb-muted);
}

/* Vivid Terracotta-Sienna Sidebar Newsletter Card */
.gyb-widget-newsletter {
    background-color: var(--gyb-sienna);
    border: 0;
    border-radius: 8px;
    padding: 1.4rem;
    color: #FDF5EE;
}
.gyb-widget-newsletter .gyb-widget-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin-bottom: 0.45rem;
}
.gyb-widget-newsletter p {
    margin: 0 0 0.95rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #F8DFD2;
}
.gyb-widget-newsletter input[type="email"] {
    width: 100%;
    min-height: 46px;
    padding: 0 0.85rem;
    margin-bottom: 0.6rem;
    border: 0;
    border-radius: 6px;
    background: #FFFFFF;
    color: var(--gyb-umber);
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.gyb-widget-newsletter button {
    width: 100%;
    min-height: 46px;
    padding: 0 1rem;
    border: 0;
    border-radius: 6px;
    background: var(--gyb-umber);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}
.gyb-widget-newsletter button:hover {
    background: #140D0A;
}
.gyb-widget-newsletter .gyb-fineprint {
    margin: 0.65rem 0 0;
    font-size: 0.76rem;
    color: #F4D2C2;
}

/* Sidebar Topics with Counts */
.gyb-category-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gyb-category-links li {
    border-bottom: 1px solid var(--gyb-rule-soft);
}
.gyb-category-links li:last-child { border-bottom: 0; }
.gyb-category-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    color: var(--gyb-umber);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
}
.gyb-category-links a:hover {
    color: var(--gyb-sienna);
}
.gyb-cat-count {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gyb-sienna);
}

/* --------------------------------------------------------------------------
   7. Related Posts ("Continue Your Journey" — Preserves Auto-Ads DOM!)
   -------------------------------------------------------------------------- */

/* Related posts "Continue Your Journey" — 1.0.23 (from gpt-image-2.6 renders; CSS only, DOM is
   fixed for Auto Ads: section.related-posts > .site-container > h2.related-posts-title +
   .related-posts-grid > article.related-post-item). Soft paper band, sprig heading, no column
   rules, one hairline between rows, quieter excerpts. */
.related-posts {
    margin-top: 0;
    /* longhands only — the full-bleed rule owns padding-left/right */
    padding-top: clamp(2.4rem, 4.5vw, 3.4rem);
    padding-bottom: clamp(2.6rem, 5vw, 3.6rem);
    background: linear-gradient(180deg, #FBF6EF 0%, #F7EFE4 100%);
    border-top: 1px solid var(--gyb-rule);
}
.related-posts-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 2.1rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.35rem);
    line-height: 1.15;
    text-align: center !important;
    color: var(--gyb-sienna);
}
/* rule + sprig drawn in one pseudo-element each (no extra markup allowed here) */
.related-posts-title::before,
.related-posts-title::after {
    content: "";
    flex: 1 1 0;
    min-width: 4.5rem;
    height: 1.3rem;
    background-color: var(--gyb-sienna);
    -webkit-mask: url("../images/gyb-sprig.png") right center / 3.6rem 1.25rem no-repeat,
                  linear-gradient(#000, #000) left center / calc(100% - 4.4rem) 1px no-repeat;
    mask: url("../images/gyb-sprig.png") right center / 3.6rem 1.25rem no-repeat,
          linear-gradient(#000, #000) left center / calc(100% - 4.4rem) 1px no-repeat;
    opacity: 0.75;
}
.related-posts-title::after { transform: scaleX(-1); }

.related-posts .related-posts-grid { gap: 2.25rem 2rem; }
.related-posts .related-posts-grid > article::after { content: none !important; display: none !important; }
@media (min-width: 821px) {
    .related-posts .related-posts-grid > article:nth-child(n+4) {
        padding-top: 2.25rem;
        border-top: 1px solid #E3D6C5 !important;
    }
}
.related-posts .related-post-thumbnail { border-radius: 12px; margin-bottom: 1rem; }
.related-posts .related-post-title { font-size: 1.18rem; line-height: 1.3; margin: 0.35rem 0 0.5rem; }
.related-posts .related-post-excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--gyb-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 640px) {
    .related-posts-title { gap: 0.5rem; font-size: 1.45rem; white-space: nowrap; }
    .related-posts-title::before,
    .related-posts-title::after {
        min-width: 2.6rem;
        -webkit-mask-size: 2.6rem 0.95rem, calc(100% - 3rem) 1px;
        mask-size: 2.6rem 0.95rem, calc(100% - 3rem) 1px;
    }
}
@media (max-width: 380px) {
    .related-posts-title { font-size: 1.28rem; gap: 0.35rem; }
}

/* --------------------------------------------------------------------------
   8. Comments ("Notes from our readers") & Contact Form (#inedit-contact-form)
   -------------------------------------------------------------------------- */

/* 1.0.14: comments redo — sprig heading, clean cards, first 5 + "Show all", warm form card.
   main.css sets content-visibility:auto + a 500px intrinsic size on .comments-area; inside the
   overflow:hidden .content-area that clipped long threads and left a ~9,000px blank gap. */
.comments-area {
    margin-top: 3rem;
    padding-top: 0;
    border-top: 0;
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
}
.comments-area .gyb-comments-head { margin: 0 0 1.5rem; }
.comments-area .gyb-orn-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.comments-area .gyb-comments-kicker { margin: 0; font-size: 0.95rem; color: var(--gyb-muted); text-align: center; }
.comments-area .gyb-comments-kicker a { color: var(--gyb-sienna); font-weight: 700; text-decoration: none; }
.comments-area .gyb-comments-kicker a:hover { text-decoration: underline; }

.comments-area .comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.comments-area .comment-list .comment,
.comments-area .comment-list .pingback {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}
.comments-area .comment-body {
    display: block;
    padding: 1.15rem 1.3rem 1.05rem;
    background: #FFFFFF;
    border: 1px solid #E6DCCD;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(36, 25, 20, 0.04);
}
.comments-area .comment-meta {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 0.8rem;
    align-items: center;
}
.comments-area .comment-author { display: contents; margin: 0; }
.comments-area .gyb-av {
    grid-column: 1; grid-row: 1 / span 2;
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
    color: #fff; font: 700 0.875rem/1 var(--font-body);
}
.comments-area .gyb-av .avatar { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; border: 0; }
.comments-area .gyb-av--0 { background: #9E3F20; } .comments-area .gyb-av--1 { background: #2E6A86; } .comments-area .gyb-av--2 { background: #4E7A52; }
.comments-area .gyb-av--3 { background: #8A5A2B; } .comments-area .gyb-av--4 { background: #7A4E7E; } .comments-area .gyb-av--5 { background: #241914; }
.comments-area .comment-author .fn {
    grid-column: 2; align-self: end;
    font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; font-style: normal;
    color: var(--gyb-umber);
}
.comments-area .says { display: none; }
.comments-area .comment-metadata { grid-column: 2; align-self: start; font-size: 0.85rem; }
.comments-area .comment-metadata a { color: var(--gyb-muted); text-decoration: none; }
.comments-area .comment-metadata .edit-link { margin-left: 0.5rem; }
.comments-area .comment-content {
    margin: 0.75rem 0 0;
    padding-left: calc(44px + 0.8rem);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #3E2F27;
}
.comments-area .comment-content p { margin: 0 0 0.6rem; }
.comments-area .comment-content p:last-child { margin-bottom: 0; }
.comments-area .reply { margin: 0.5rem 0 0; padding-left: calc(44px + 0.8rem); }
.comments-area .comment-reply-link {
    display: inline-flex; align-items: center; gap: 0.3rem;
    min-height: 36px; padding: 0;
    background: none; border-radius: 0;
    color: var(--gyb-sienna); font-size: 0.9rem; font-weight: 700; text-decoration: none;
}
.comments-area .comment-reply-link::before { content: "↩"; font-size: 0.95em; }
.comments-area .comment-reply-link:hover { background: none; color: var(--gyb-sienna-deep); text-decoration: underline; }
.comments-area .children {
    list-style: none;
    margin: 0.75rem 0 0 1.4rem;
    padding: 0 0 0 1.1rem;
    border-left: 2px solid #E6DCCD;
    display: grid; gap: 0.75rem;
}
.comments-area .children .comment-body { background: #FDF8F2; box-shadow: none; }
.comments-area.gyb-comments-collapsed .comment-list > li:nth-child(n+6) { display: none; }
.gyb-comments-more {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 52px; margin: 1rem 0 0;
    border: 1.5px solid var(--gyb-sienna); border-radius: 999px;
    background: #FFFFFF; color: var(--gyb-sienna);
    font: 700 1rem/1 var(--font-body); cursor: pointer;
}
.gyb-comments-more:hover { background: var(--gyb-sienna); color: #FFFFFF; }
.gyb-comments-more[hidden] { display: none; }
@media (max-width: 640px) {
    .comments-area .comment-body { padding: 1rem 1rem 0.9rem; }
    .comments-area .comment-content,
    .comments-area .reply { padding-left: 0; }
    .comments-area .children { margin-left: 0.4rem; padding-left: 0.8rem; }
}

/* Form — 1.0.15 tightened: smaller card padding/gaps, 44px fields, checkbox + button share a row */
.comment-respond {
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.25rem 1.2rem;
    background: var(--gyb-clay);
    border: 0;
    border-radius: 14px;
}
.comments-area > .comment-respond:first-child { margin-top: 0; }
.comment-list .comment-respond { margin: 0.75rem 0 0; }
.comment-reply-title {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--gyb-sienna);
}
.comment-reply-title small { margin-left: 0.6rem; font-style: normal; font-size: 0.85rem; }
.comment-reply-title small a { color: var(--gyb-muted); font-weight: 700; }
.comment-respond .comment-notes,
.comment-respond .logged-in-as { margin: 0.15rem 0 0.75rem; font-size: 0.85rem; color: var(--gyb-muted); }
.comment-form { display: grid; gap: 0.6rem; margin: 0; }
@media (min-width: 600px) {
    .comment-form { grid-template-columns: 1fr 1fr; column-gap: 0.75rem; align-items: end; }
    .comment-form > * { grid-column: 1 / -1; }
    .comment-form > .comment-form-author { grid-column: 1; }
    .comment-form > .comment-form-email { grid-column: 2; }
    .comment-form > .comment-form-cookies-consent { grid-column: 1; align-self: center; }
    .comment-form > #submit,
    .comment-form > .form-submit { grid-column: 2; justify-self: end; }
}
.comment-form p { margin: 0; }
/* Maspik moves #submit out of p.form-submit and leaves empty <p>s behind; they'd take grid cells */
.comment-form > p:empty { display: none; }
.comment-form label {
    display: block;
    margin: 0 0 0.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gyb-umber);
}
.comment-form .required { color: var(--gyb-sienna); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border: 1px solid #CDBFAE;
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--gyb-umber);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: none;
}
.comment-form textarea { height: 5.75rem; min-height: 5.75rem; resize: vertical; line-height: 1.5; }
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--gyb-sienna);
    box-shadow: 0 0 0 3px rgba(158, 63, 32, 0.15);
}
.comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; }
.comment-form-cookies-consent input { margin: 0; width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--gyb-sienna); }
.comment-form-cookies-consent label { display: inline; margin: 0; font-size: 0.85rem; font-weight: 400; line-height: 1.35; color: var(--gyb-muted); }
.comment-form .form-submit { margin: 0; }
.comment-form input[type="submit"],
.comment-form .comment-submit,
#submit.comment-submit {
    justify-self: start; /* the submit is a direct grid child of the form here */
    width: auto;
    min-height: 46px;
    padding: 0 1.6rem;
    border: 0;
    border-radius: 999px;
    background-color: var(--gyb-sienna);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.comment-form input[type="submit"]:hover { background-color: var(--gyb-sienna-deep); }
@media (min-width: 600px) {
    #submit.comment-submit { justify-self: end; }
}
@media (max-width: 599px) {
    .comment-respond { padding: 1rem 1rem 1.1rem; }
    #submit.comment-submit { justify-self: stretch; width: 100%; }
}

/* Static pages & Inedit Contact Form (#inedit-contact-form) */
.page .content-area {
    max-width: 48rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) 0;
}
#inedit-contact-form,
.inedit-contact-wrapper,
form.inedit-contact-form {
    max-width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid var(--gyb-rule) !important;
    border-radius: 8px !important;
    padding: 1.75rem !important;
    box-shadow: none !important;
}
#inedit-contact-form input[type="text"],
#inedit-contact-form input[type="email"],
#inedit-contact-form textarea {
    border: 1px solid var(--gyb-rule) !important;
    border-radius: 6px !important;
    min-height: 46px;
    font-family: var(--font-body) !important;
}
#inedit-contact-form button,
#inedit-contact-form input[type="submit"] {
    min-height: 48px !important;
    padding: 0.75rem 1.75rem !important;
    background-color: var(--gyb-sienna) !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}
#inedit-contact-form button:hover,
#inedit-contact-form input[type="submit"]:hover {
    background-color: var(--gyb-sienna-deep) !important;
}

/* --------------------------------------------------------------------------
   9. Archive Pagination & Deep Woodland Umber Footer (#241914)
   -------------------------------------------------------------------------- */

.pagination .page-numbers,
.archive-pagination .page-numbers,
.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.85rem;
    border: 1px solid var(--gyb-rule);
    border-radius: 6px;
    background-color: #FFFFFF;
    color: var(--gyb-umber);
    font-weight: 700;
    text-decoration: none;
}
.pagination .page-numbers.current,
.archive-pagination .page-numbers.current,
.search-pagination .page-numbers.current {
    background-color: var(--gyb-sienna);
    border-color: var(--gyb-sienna);
    color: #FFFFFF;
}
.pagination .page-numbers:hover,
.archive-pagination .page-numbers:hover {
    border-color: var(--gyb-sienna);
    color: var(--gyb-sienna);
}

.site-footer {
    content-visibility: visible !important;
    margin-top: 0 !important;
    padding: 3rem 0 1.5rem;
    background-color: var(--gyb-umber);
    border-top: 0;
    color: #DFD5C8;
}
.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 1.25fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.footer-logo-mark {
    width: 42px;
    height: 42px;
    background: #FFFDF8;
    border-radius: 50%;
    padding: 3px;
}
.footer-brand-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFDF8;
    white-space: nowrap;
}
.footer-description {
    color: #C7BBAE;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}
.footer-company {
    color: #C7BBAE;
    font-size: 0.85rem;
    margin: 0 0 0.2rem;
}
.footer-email a {
    color: var(--gyb-ochre) !important;
    font-size: 0.875rem;
    text-decoration: none;
}
.footer-email a:hover { text-decoration: underline; }

.footer-nav-title {
    margin: 0 0 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gyb-ochre);
}
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu li {
    margin: 0 0 0.5rem;
    line-height: 1.35;
}
.footer-menu a,
.site-footer .footer-menu a {
    color: #EDE5DA;
    font-size: 0.92rem;
    text-decoration: none;
}
.footer-menu a:hover,
.site-footer .footer-menu a:hover {
    color: var(--gyb-ochre);
    text-decoration: underline;
}
.footer-news-note {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #C7BBAE;
}
.footer-group--legal .footer-menu a {
    font-size: 0.85rem;
    color: #C7BBAE;
}
.footer-bottom {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.copyright {
    color: #9E9183;
    font-size: 0.8125rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 1.75rem;
    }
    .footer-branding { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.25rem;
    }
    .footer-group--legal { grid-column: 1 / -1; }
    .footer-group--legal .footer-menu { columns: 2; column-gap: 1.25rem; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gyb-sienna);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Ornamental section heading (1.0.3; 1.0.6 sprig = Gemini 3 Pro line-art PNG mask) — rule · sprig · italic title · sprig · rule
   -------------------------------------------------------------------------- */
.gyb-orn-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding-top: 0;
    border-top: 0;
    margin-bottom: 1.9rem;
}
.gyb-orn-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.85rem, 1.45rem + 1.4vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--gyb-sienna);
    text-align: center;
}
.gyb-orn-title::before,
.gyb-orn-title::after {
    content: "";
    flex: 1 1 0;
    min-width: 1.5rem;
    height: 1px;
    background-color: var(--gyb-sienna);
    opacity: 0.45;
}
.gyb-orn-title a {
    color: var(--gyb-sienna);
    text-decoration: none;
    padding: 0 0.15em 0.08em;
}
.gyb-orn-title a:hover {
    color: var(--gyb-sienna-deep);
}
.gyb-orn-sprig {
    flex: 0 0 auto;
    width: 5.6rem;
    height: 1.9rem;
    background-color: currentColor;
    -webkit-mask: url("../images/gyb-sprig.png") center / contain no-repeat;
    mask: url("../images/gyb-sprig.png") center / contain no-repeat;
}
.gyb-orn-sprig--r {
    transform: scaleX(-1);
}
.gyb-orn-head .category-view-all {
    font-size: 0.78rem;
}
@media (max-width: 640px) {
    .gyb-orn-title { gap: 0.5rem; font-size: 1.7rem; }
    .gyb-orn-title a { white-space: nowrap; }
    .gyb-orn-title::before,
    .gyb-orn-title::after { min-width: 0; }
    .gyb-orn-sprig { width: 3.2rem; height: 1.1rem; }
}
@media (max-width: 400px) {
    .gyb-orn-title { font-size: 1.55rem; gap: 0.4rem; }
    .gyb-orn-sprig { width: 2.8rem; height: 0.95rem; }
}
