/*
Theme Name: Velvet Midnights Editorial
Theme URI: https://velvetmidnights.com/
Author: Velvet Midnights
Description: A cinematic gothic-romance editorial WordPress theme for Velvet Midnights.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: velvet-midnights
*/

/* =========================================================
   VELVET MIDNIGHTS — MASTER DESIGN SYSTEM
   Blackened antique luxury / publishing house after midnight
   ========================================================= */

:root {
    --vm-black: #0d0c0b;
    --vm-bg: #11100f;
    --vm-section: #171614;
    --vm-surface: #211e1a;
    --vm-surface-2: #24211d;

    --vm-ivory: #f5f0e5;
    --vm-copy: #d8d0c4;
    --vm-muted: #a99f92;

    --vm-champagne: #e6c982;
    --vm-brass: #b89a62;
    --vm-brass-dark: #8f7047;

    --vm-brass-soft: rgba(184, 154, 98, .38);
    --vm-border: rgba(184, 154, 98, .42);
    --vm-shadow: rgba(0, 0, 0, .38);

    --paper: var(--vm-section);
    --paper-light: var(--vm-surface);
    --ink: var(--vm-ivory);
    --foreground: var(--vm-ivory);
    --background: var(--vm-bg);
    --brass: var(--vm-brass);
    --brass-dark: #8f7047;
    --border: var(--vm-border);

    --vm-hero-image: none;
    --vm-collection-image: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--vm-bg);
    color: var(--vm-copy);
    font-family: Georgia, "Times New Roman", serif;
}

main {
    background: var(--vm-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--vm-ivory);
    font-weight: 400;
}

p,
li,
blockquote,
input,
textarea,
label {
    color: var(--vm-copy);
}


/* =========================================================
   HEADER
   ========================================================= */

.top-note {
    display: none;
}

.site-header {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    padding: 18px clamp(22px, 5vw, 72px);

    background: rgba(17, 16, 15, .985);
    border-bottom: 1px solid rgba(184, 154, 98, .42);

    position: sticky;
    top: 0;
    z-index: 9999;

    box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
}

body.admin-bar .site-header {
    top: 32px;
}

.header-wordmark {
    justify-self: start;
}

.header-brand-mark,
.wordmark {
    display: none;
}

.desktop-nav {
    grid-column: 2;
    justify-self: center;
}

.desktop-nav .menu,
.nav-fallback {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.desktop-nav .menu-item {
    position: relative;
    list-style: none;
}

.desktop-nav .menu-item > a,
.desktop-nav > a,
.nav-trigger {
    display: flex;
    align-items: center;
    padding: 10px 0;

    border: 0;
    background: transparent;

    color: var(--vm-ivory);

    font: 700 11px/1 Arial, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
    white-space: nowrap;

    cursor: pointer;
    transition: color .2s ease;
}

.desktop-nav .menu-item > a:hover,
.desktop-nav > a:hover,
.nav-trigger:hover {
    color: var(--vm-champagne);
}

.desktop-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 235px;
    margin: 0;
    padding: 10px;

    list-style: none;

    border: 1px solid var(--vm-border);
    background: var(--vm-bg);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .7);

    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: .2s;
}

.desktop-nav .menu-item-has-children:hover > .sub-menu,
.desktop-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.desktop-nav .sub-menu a {
    display: block;
    padding: 10px 9px;

    color: var(--vm-copy);
    font-size: 15px;
    white-space: nowrap;
}

.desktop-nav .sub-menu a:hover {
    color: var(--vm-champagne);
    background: rgba(184, 154, 98, .06);
}

.header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 10px;
}

.icon-button,
.mobile-toggle {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    cursor: pointer;

    background: transparent;
    border: 1px solid rgba(184, 154, 98, .65);
    color: var(--vm-champagne);

    transition: .2s;
}

.icon-button:hover,
.mobile-toggle:hover {
    background: rgba(184, 154, 98, .07);
    border-color: var(--vm-champagne);
}

.mobile-toggle,
.mobile-nav,
.wp-mobile-menu {
    display: none;
}


/* =========================================================
   BRAND MASTHEAD
   ========================================================= */

.brand-banner,
.home .brand-banner {
    min-height: 420px;
    padding: 62px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--vm-bg);

    border: 0;
    border-bottom: 1px solid rgba(184, 154, 98, .42);
}

.brand-banner-inner,
.home .brand-banner-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-banner-inner img,
.home .brand-banner-inner img {
    display: block;

    width: auto;
    max-width: min(820px, 84vw);
    max-height: 270px;
    height: auto;

    margin: 0 auto;
    filter: none;
}


/* Legacy hero safety */

.hero {
    background: var(--vm-bg);
    color: var(--vm-ivory);
}

.hero.hero-simple {
    min-height: auto;
    padding: 48px 20px 40px;

    background: var(--vm-bg);
    border-bottom: 1px solid var(--vm-border);

    display: block;
}

.hero.hero-simple::before,
.hero.hero-simple::after {
    display: none;
}

.hero-simple-inner {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-brand-image {
    display: block;

    width: min(100%, 560px);
    height: auto;
    margin: 0 auto;
}


/* =========================================================
   SHARED EDITORIAL ELEMENTS
   ========================================================= */

.paper-section {
    background-color: var(--vm-section);
    background-image:
        radial-gradient(
            rgba(184, 154, 98, .025) .6px,
            transparent .6px
        );
    background-size: 7px 7px;

    color: var(--vm-ivory);
}

.kicker,
.section-heading p,
.footer-label,
.post-meta {
    color: var(--vm-brass);

    font: 700 10px/1.4 Arial, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
}

h1 em,
h2 em {
    color: var(--vm-champagne);
    font-weight: 400;
}

.rule {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--vm-brass);
    margin-top: 24px;
}

.rule::before,
.rule::after {
    content: "";
    height: 1px;
    flex: 1;

    background: rgba(184, 154, 98, .55);
}

.primary-button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    padding: 14px 24px;

    border: 1px solid var(--vm-brass);
    border-radius: 0;

    background: transparent;
    color: var(--vm-brass) !important;

    box-shadow: none;

    font: 700 11px Arial, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;

    transition: .2s;
}

.primary-button:hover,
.wp-block-button__link:hover {
    background: var(--vm-brass);
    color: var(--vm-bg) !important;
}


/* =========================================================
   THE LIBRARY
   ========================================================= */

.latest,
.home .latest.paper-section {
    padding: 72px 0 92px !important;

    background-color: var(--vm-section) !important;
    background-image:
        radial-gradient(
            rgba(184, 154, 98, .025) .6px,
            transparent .6px
        ) !important;

    box-shadow:
        inset 0 1px rgba(184, 154, 98, .28),
        inset 0 -1px rgba(184, 154, 98, .28);

    overflow: hidden !important;
}

.home .latest .section-heading,
.section-heading {
    width: min(900px, calc(100% - 48px));
    max-width: none;

    margin: 0 auto 34px !important;
    padding: 0;

    text-align: center;
}

.home .latest .library-heading {
    margin: 0 !important;

    color: var(--vm-champagne) !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3vw, 46px) !important;
    font-style: italic !important;
    font-weight: 400 !important;

    line-height: 1.15 !important;
    letter-spacing: -.015em !important;

    white-space: nowrap !important;
}

.home .latest .section-heading .rule {
    display: none !important;
}

.home .latest .feature-grid,
.feature-grid {
    display: grid !important;

    width: min(1320px, calc(100% - 80px)) !important;
    max-width: none !important;
    margin: 0 auto !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.home .latest .story-card,
.story-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 10px;

    display: block !important;
    grid-column: auto !important;

    background: var(--vm-surface-2) !important;
    background-image: none !important;

    border: 1px solid var(--vm-border) !important;

    box-shadow: 0 18px 42px rgba(0, 0, 0, .22) !important;

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 201, 130, .58) !important;
}

.home .latest .story-art,
.story-art {
    width: 100% !important;
    height: 220px !important;

    position: relative;

    display: grid;
    place-items: center;

    overflow: hidden;

    background-color: var(--vm-section) !important;

    border: 1px solid rgba(184, 154, 98, .38) !important;
}

.story-photo {
    background-size: cover !important;
    background-position: center !important;

    filter:
        saturate(.92)
        contrast(1.04)
        brightness(.94);

    transition:
        filter .35s ease,
        transform .35s ease;
}

.story-card:hover .story-photo {
    filter:
        saturate(1)
        contrast(1.06)
        brightness(.98);

    transform: scale(1.008);
}

.story-photo::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(8, 7, 6, .03),
            rgba(8, 7, 6, .16)
        );

    pointer-events: none;
}

.story-art::after {
    content: "";

    position: absolute;
    inset: 10px;

    border: 1px solid rgba(184, 154, 98, .36);

    z-index: 2;
    pointer-events: none;
}

.folio-number {
    position: absolute;
    top: 20px;
    left: 22px;

    z-index: 3;

    color: var(--vm-champagne);

    font-style: italic;
    font-size: 13px;

    text-shadow: 0 2px 10px #000;
}

.story-copy {
    padding: 26px 20px 22px;
}

.story-copy > span {
    color: var(--vm-champagne);

    font: 700 9px Arial, sans-serif;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.story-copy h3 {
    margin: 10px 0 16px;

    color: var(--vm-ivory) !important;

    font-size: clamp(25px, 2vw, 30px);
    line-height: 1.1;
    font-weight: 400;
}

.story-copy p {
    margin: 0 0 22px;

    color: var(--vm-copy) !important;

    font-size: 16px;
    line-height: 1.55;
}

.story-copy a,
.ink-link,
.library-card-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;

    margin-top: 0;

    color: var(--vm-brass) !important;

    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;

    font: 700 10px Arial, sans-serif !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.story-copy a:hover,
.ink-link:hover,
.library-card-link:hover {
    color: var(--vm-champagne) !important;
}

.library-card-link span {
    transition: transform .2s ease;
}

.library-card-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   THE COLLECTION
   ========================================================= */

.curation-band {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 650px;

    background: var(--vm-bg);

    border-top: 1px solid rgba(184, 154, 98, .34);
    border-bottom: 1px solid rgba(184, 154, 98, .34);
}

.curation-art {
    min-height: 650px;

    background-image:
        linear-gradient(
            90deg,
            rgba(10, 9, 8, .04),
            rgba(10, 9, 8, .24)
        ),
        var(--vm-collection-image);

    background-size: cover;
    background-position: center;

    position: relative;
}

.curation-art::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 65%,
            rgba(17, 16, 15, .35)
        );

    pointer-events: none;
}

.curation-copy {
    padding: clamp(65px, 7vw, 110px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--vm-surface);
}

.curation-copy .kicker {
    margin-bottom: 22px;
}

.curation-copy h2 {
    margin: 0 0 28px;

    max-width: 620px;

    color: var(--vm-ivory);

    font-size: clamp(48px, 5vw, 74px);
    line-height: .98;
    letter-spacing: -.035em;
}

.curation-copy h2 em {
    display: block;
    color: var(--vm-champagne);
    font-style: italic;
}

.curation-copy > p {
    max-width: 650px;

    margin: 0;

    color: var(--vm-copy);

    font-size: 18px;
    line-height: 1.7;
}

.collection-shop-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin: 28px 0 32px;
}

.home .collection-shop-buttons .primary-button {
    margin: 0;
}

.collection-links {
    display: grid;
    grid-template-columns: 1fr 1fr;

    max-width: 650px;

    border-top: 1px solid rgba(184, 154, 98, .45);
    border-bottom: 1px solid rgba(184, 154, 98, .45);
}

.collection-links a {
    padding: 16px 10px;

    color: var(--vm-brass);

    font: 700 10px Arial, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(184, 154, 98, .28);

    transition: .2s;
}

.collection-links a:nth-child(odd) {
    border-right: 1px solid rgba(184, 154, 98, .28);
}

.collection-links a:nth-last-child(-n+2) {
    border-bottom: 0;
}

.collection-links a:hover {
    color: var(--vm-champagne);
    background: rgba(184, 154, 98, .04);
}


/* =========================================================
   BEHIND THE VELVET — HOMEPAGE FEATURE
   ========================================================= */

.book-club {
    padding: 54px clamp(24px, 7vw, 120px);

    background: var(--vm-section);
}

.club-frame {
    max-width: 1400px;
    margin: 0 auto;

    padding: 10px;

    border: 1px solid rgba(184, 154, 98, .52);

    background: var(--vm-surface);

    box-shadow:
        inset 0 0 0 8px var(--vm-surface),
        inset 0 0 0 9px rgba(184, 154, 98, .45);
}

.club-copy {
    padding: clamp(58px, 7vw, 95px) clamp(42px, 9vw, 170px);

    border: 1px solid rgba(184, 154, 98, .4);
}

.club-copy .kicker {
    margin-bottom: 26px;
}

.club-copy h2 {
    margin: 0 0 28px;

    max-width: 820px;

    color: var(--vm-ivory);

    font-size: clamp(52px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.04em;
}

.club-copy h2 em {
    display: block;

    color: var(--vm-champagne);

    font-style: italic;
}

.club-copy p {
    max-width: 850px;

    color: var(--vm-copy);

    font-size: 18px;
    line-height: 1.65;
}

.club-copy p strong {
    color: var(--vm-ivory);
    font-weight: 600;
}

.behind-velvet-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;

    margin-top: 18px !important;

    color: var(--vm-brass) !important;

    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;

    font: 700 11px Arial, sans-serif !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

.behind-velvet-link:hover,
.behind-velvet-link:focus {
    color: var(--vm-champagne) !important;
}

.behind-velvet-link span {
    transition: transform .2s ease;
}

.behind-velvet-link:hover span,
.behind-velvet-link:focus span {
    transform: translateX(4px);
}


/* =========================================================
   MIDNIGHT LETTERS
   ========================================================= */

.midnight-club {
    padding: 90px 24px 94px;

    text-align: center;

    background: var(--vm-bg);

    border-top: 1px solid rgba(184, 154, 98, .34);
    border-bottom: 1px solid rgba(184, 154, 98, .34);

    color: var(--vm-ivory);
}

.midnight-club .kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin: 0 auto 26px;

    color: var(--vm-brass);
}

.midnight-club .kicker::before,
.midnight-club .kicker::after {
    content: "";

    width: 48px;
    height: 1px;

    background: rgba(184, 154, 98, .65);
}

.midnight-club h2 {
    margin: 0 0 22px;

    color: var(--vm-ivory);

    font-size: clamp(52px, 6vw, 78px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.04em;
}

.midnight-club p {
    max-width: 900px;
    margin: 0 auto 40px;

    color: var(--vm-copy) !important;

    font-size: 20px !important;
    line-height: 1.55 !important;
    font-style: italic;
}

.midnight-signup-form {
    width: min(940px, 100%);
    margin: 0 auto;
}

.midnight-signup-form form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.midnight-signup-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;

    padding: 17px 20px;

    background: transparent;

    border: 1px solid rgba(184, 154, 98, .65);
    border-radius: 0;

    color: var(--vm-ivory);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;

    outline: none;
}

.midnight-signup-form input[type="email"]::placeholder {
    color: #938b80;
}

.midnight-signup-form input[type="email"]:focus {
    border-color: var(--vm-champagne);
}

.midnight-signup-form input[type="submit"],
.midnight-signup-form button[type="submit"],
.midnight-club .primary-button {
    flex: 0 0 230px;

    min-height: 54px;

    margin: 0 !important;

    border: 1px solid var(--vm-brass) !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: var(--vm-brass) !important;

    font: 700 11px Arial, sans-serif !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;

    cursor: pointer;
}

.midnight-signup-form input[type="submit"]:hover,
.midnight-signup-form button[type="submit"]:hover,
.midnight-club .primary-button:hover {
    background: var(--vm-brass) !important;
    color: var(--vm-bg) !important;
}


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

.site-footer {
    padding: 48px clamp(24px, 7vw, 110px) 28px !important;

    background: var(--vm-black) !important;

    border-top: 1px solid rgba(184, 154, 98, .38) !important;

    color: var(--vm-copy) !important;

    text-align: center;
}

.footer-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-wordmark,
.footer-word {
    margin: 0;

    color: var(--vm-ivory);
}

.footer-wordmark strong,
.footer-word strong {
    color: var(--vm-ivory) !important;

    font-size: 28px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.footer-wordmark em,
.footer-word em {
    margin-left: 0;

    color: var(--vm-brass) !important;

    font-size: 24px;
    font-weight: 400;
}

.footer-tagline {
    max-width: 620px;

    margin: 10px auto 0 !important;

    color: #cfc5b7 !important;

    font-size: 15px !important;
    line-height: 1.55 !important;
}

.footer-main-nav,
.footer-links,
.footer-links .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 34px;

    margin: 28px auto 26px;
    padding: 0;

    list-style: none;
}

.footer-main-nav a,
.footer-links a {
    color: var(--vm-ivory) !important;

    font: 700 11px Arial, sans-serif !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.footer-main-nav a:hover,
.footer-links a:hover {
    color: var(--vm-champagne) !important;
}

.footer-rule {
    width: 100%;
    height: 1px;

    margin: 0 auto 18px;

    background: rgba(184, 154, 98, .35);
}

.footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 24px !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    color: #8f877e;

    font: 9px Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-bottom small {
    margin: 0;

    color: #8f877e;

    font: 9px Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-copyright {
    white-space: nowrap;
}

.footer-utility-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 18px;
}

.footer-utility-links a {
    color: #8f877e !important;
}

.footer-utility-links a:hover {
    color: var(--vm-brass) !important;
}


/* =========================================================
   WORDPRESS CONTENT / POSTS / PAGES
   ========================================================= */

.search-form {
    display: flex;
    max-width: 520px;
}

.search-field {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--vm-border);

    background: var(--vm-bg);
    color: var(--vm-ivory);
}

.search-submit {
    padding: 13px 18px;

    border: 1px solid var(--vm-brass);

    background: transparent;
    color: var(--vm-brass);
}

.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;
}

.content-shell {
    max-width: 1120px;

    margin: auto;
    padding: 82px clamp(22px, 6vw, 72px);

    color: var(--vm-copy);
}

.content-shell h1 {
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 400;
    line-height: 1;
}

.content-shell h2 {
    font-size: 34px;
    font-weight: 400;
}

.content-shell p,
.entry-content li {
    color: var(--vm-copy);

    font-size: 18px;
    line-height: 1.75;
}

.content-shell a {
    color: var(--vm-brass);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-top: 45px;
}

.post-card {
    padding: 12px;

    border: 1px solid var(--vm-border);

    background: var(--vm-surface);
}

.post-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.post-card-copy {
    padding: 22px 16px;
}

.post-card h2 {
    margin: 8px 0 14px;

    font-size: 28px;
}

.entry-content {
    max-width: 760px;
    margin: auto;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-header {
    max-width: 900px;

    margin: 0 auto 48px;

    text-align: center;
}

.pagination {
    margin-top: 45px;
}

.comments-area {
    margin-top: 60px;
    padding-top: 35px;

    border-top: 1px solid var(--vm-border);
}

.comment-list {
    padding-left: 22px;
}

.comment-list li {
    margin: 24px 0;
}

.comment-form input,
.comment-form textarea {
    width: 100%;

    padding: 12px;

    border: 1px solid var(--vm-border);

    background: var(--vm-bg);
    color: var(--vm-ivory);
}

.form-submit input {
    width: auto;

    background: transparent;
    color: var(--vm-brass);

    cursor: pointer;
}

.wp-caption {
    max-width: 100%;
}

.alignwide {
    width: min(1100px, calc(100vw - 40px));

    margin-left: 50%;
    transform: translateX(-50%);
}

.alignfull {
    width: 100vw;

    margin-left: 50%;
    transform: translateX(-50%);
}


/* =========================================================
   ANCHORS
   ========================================================= */

#library,
#collection,
#behind-the-velvet,
#midnight-club {
    scroll-margin-top: 110px;
}

#collection {
    scroll-margin-top: 40px;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        grid-template-columns: none !important;

        padding-left: 25px !important;
        padding-right: 25px !important;

        overflow: visible !important;
    }

    body.admin-bar .site-header {
        top: 32px;
    }

    .desktop-nav,
    .header-actions {
        display: none !important;
    }

    .wp-mobile-menu {
        display: block !important;

        position: static !important;

        margin: 0 0 0 auto !important;
        padding: 0 !important;
    }

    .wp-mobile-menu > summary {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 96px !important;
        height: 46px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid var(--vm-border) !important;

        background: var(--vm-bg) !important;
        color: var(--vm-ivory) !important;

        font: 700 11px Arial, sans-serif !important;
        letter-spacing: .16em !important;
        text-transform: uppercase !important;

        cursor: pointer !important;

        list-style: none !important;
    }

    .wp-mobile-menu > summary::-webkit-details-marker {
        display: none !important;
    }

    .wp-mobile-menu > summary::marker {
        content: "" !important;
    }

    .wp-mobile-menu > .mobile-menu-panel {
        display: none !important;
    }

    .wp-mobile-menu[open] > .mobile-menu-panel {
        display: block !important;

        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 18px 28px 24px !important;

        background: var(--vm-bg) !important;

        border-top: 1px solid var(--vm-border) !important;
        border-bottom: 1px solid var(--vm-border) !important;

        box-shadow: 0 18px 40px rgba(0, 0, 0, .72) !important;

        max-height: calc(100vh - 125px) !important;

        overflow-y: auto !important;

        z-index: 100000 !important;
    }

    .wp-mobile-menu .mobile-menu-panel > .menu,
    .wp-mobile-menu .mobile-menu-panel > .nav-fallback {
        display: block !important;

        position: static !important;

        width: 100% !important;
        max-width: 760px !important;

        margin: 0 auto !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        box-shadow: none !important;

        list-style: none !important;
    }

    .wp-mobile-menu li {
        display: block !important;

        position: relative !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
    }

    .wp-mobile-menu .menu > li {
        border-bottom: 1px solid rgba(184, 154, 98, .18);
    }

    .wp-mobile-menu .menu > li:last-child {
        border-bottom: 0;
    }

    .wp-mobile-menu .menu > li > a {
        display: block !important;

        width: 100% !important;

        padding: 13px 46px 13px 0 !important;

        color: var(--vm-ivory) !important;

        font: 16px/1.3 Georgia, "Times New Roman", serif !important;

        text-align: left !important;
        white-space: normal !important;
    }

    .wp-mobile-menu .sub-menu {
        display: none !important;

        position: static !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 0 10px 18px !important;

        background: transparent !important;

        border: 0 !important;
        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        list-style: none !important;
    }

    .wp-mobile-menu li.submenu-open > .sub-menu {
        display: block !important;
    }

    .wp-mobile-menu .sub-menu a {
        display: block !important;

        width: 100% !important;

        padding: 7px 0 !important;

        color: #cdbfae !important;

        font: 14px/1.4 Georgia, "Times New Roman", serif !important;
    }

    .wp-mobile-menu .mobile-submenu-toggle {
        appearance: none !important;

        position: absolute !important;
        top: 5px !important;
        right: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 36px !important;
        height: 36px !important;

        padding: 0 !important;

        border: 0 !important;

        background: transparent !important;
        color: var(--vm-brass) !important;

        font: 21px/1 Georgia, serif !important;

        cursor: pointer !important;
    }

    .wp-mobile-menu li.submenu-open > .mobile-submenu-toggle {
        transform: rotate(45deg) !important;
    }

    .home .latest .feature-grid,
    .feature-grid {
        width: min(820px, calc(100% - 48px)) !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .post-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   WORDPRESS ADMIN BAR
   ========================================================= */

@media (max-width: 782px) {

    body.admin-bar .site-header {
        top: 46px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .site-header {
        position: relative !important;
        top: 0 !important;

        min-height: 78px;

        padding: 14px 18px !important;
    }

    .wp-mobile-menu > summary {
        width: 82px !important;
        height: 42px !important;

        font-size: 10px !important;
    }

    .wp-mobile-menu[open] > .mobile-menu-panel {
        padding: 12px 20px 18px !important;

        max-height: calc(100vh - 105px) !important;
    }

    .wp-mobile-menu .menu > li > a {
        padding-top: 10px !important;
        padding-bottom: 10px !important;

        font-size: 15px !important;
    }

    /* Hero */

    .brand-banner,
    .home .brand-banner {
        min-height: 270px;
        padding: 42px 16px;
    }

    .brand-banner-inner img,
    .home .brand-banner-inner img {
        max-width: min(680px, 92vw);
        max-height: 190px;
    }

    /* Library */

    .latest,
    .home .latest.paper-section {
        padding: 54px 0 68px !important;
    }

    .home .latest .section-heading {
        width: calc(100% - 36px) !important;

        margin-bottom: 32px !important;
    }

    .home .latest .library-heading {
        font-size: 31px !important;

        white-space: normal !important;
    }

    .home .latest .feature-grid,
    .feature-grid {
        width: calc(100% - 36px) !important;

        grid-template-columns: 1fr !important;

        gap: 20px !important;
    }

    .home .latest .story-art,
    .story-art {
        height: 235px !important;
    }

    /* Collection */

    .curation-band {
        grid-template-columns: 1fr;
    }

    .curation-art {
        min-height: 460px;

        background-position: 42% center !important;
    }

    .curation-copy {
        padding: 58px 28px 66px;
    }

    .curation-copy h2 {
        font-size: 46px;
    }

    /* Behind the Velvet */

    .book-club {
        padding: 48px 20px;
    }

    .club-copy {
        padding: 44px 28px;
    }

    .club-copy h2 {
        font-size: 48px;
    }

    /* Midnight Letters */

    .midnight-club {
        padding: 64px 20px 68px;
    }

    .midnight-club p {
        font-size: 18px !important;
    }

    .midnight-signup-form form {
        flex-direction: column;
    }

    .midnight-signup-form input[type="email"],
    .midnight-signup-form input[type="submit"],
    .midnight-signup-form button[type="submit"] {
        width: 100% !important;
        flex: 1 1 auto !important;
    }

    /* Footer */

    .site-footer {
        padding: 38px 22px 24px !important;
    }

    .footer-wordmark strong,
    .footer-word strong {
        font-size: 24px;
    }

    .footer-wordmark em,
    .footer-word em {
        font-size: 21px;
    }

    .footer-main-nav,
    .footer-links,
    .footer-links .menu {
        gap: 16px 24px;

        margin: 24px auto;
    }

    .footer-main-nav a,
    .footer-links a {
        font-size: 10px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        justify-content: center !important;

        text-align: center !important;

        gap: 12px !important;
    }

    .footer-utility-links {
        justify-content: center;

        gap: 12px 16px;
    }

    /* Posts */

    .post-grid {
        grid-template-columns: 1fr;
    }

    .content-shell {
        padding-top: 58px;
    }
}
/* =========================================================
   VELVET MIDNIGHTS — FINAL HOMEPAGE POLISH
   ========================================================= */

/* ---------------------------------------------------------
   1. REMOVE THE OLIVE / MUDDY CAST
   Keep warmth in the photography + brass, not the surfaces.
   --------------------------------------------------------- */

:root {
    --vm-bg: #0E0D0C;
    --vm-section: #151412;
    --vm-surface: #191816;
    --vm-surface-2: #1D1B18;
}

/* Main dark surfaces */
body,
main {
    background: #0E0D0C;
}

.latest,
.home .latest.paper-section {
    background-color: #151412 !important;
}

.home .latest .story-card,
.story-card {
    background: #1D1B18 !important;
}

/* Collection text panel */
.curation-copy {
    background: #191816 !important;
}

/* Behind the Velvet */
.book-club {
    background: #151412 !important;
}

.club-frame {
    background: #191816 !important;
    box-shadow:
        inset 0 0 0 8px #191816,
        inset 0 0 0 9px rgba(184,154,98,.42) !important;
}

.club-copy {
    background: #191816 !important;
}

/* Midnight Letters + footer remain the deepest black */
.midnight-club {
    background: #0E0D0C !important;
}

.site-footer {
    background: #090908 !important;
}


/* ---------------------------------------------------------
   2. COLLECTION — RESTORE THE 2 × 2 EDITORIAL LINK GRID
   --------------------------------------------------------- */

.collection-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    width: 100% !important;
    max-width: 650px !important;

    margin-top: 8px !important;

    border-top: 1px solid rgba(184,154,98,.45) !important;
    border-bottom: 1px solid rgba(184,154,98,.45) !important;
}

.collection-links a {
    display: flex !important;
    align-items: center !important;

    min-height: 58px !important;
    padding: 15px 18px !important;

    color: #B89A62 !important;

    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(184,154,98,.28) !important;

    transition:
        color .2s ease,
        background .2s ease !important;
}

.collection-links a:nth-child(odd) {
    border-right: 1px solid rgba(184,154,98,.28) !important;
}

.collection-links a:nth-last-child(-n+2) {
    border-bottom: 0 !important;
}

.collection-links a:hover {
    color: #E6C982 !important;
    background: rgba(184,154,98,.055) !important;
}


/* ---------------------------------------------------------
   3. MIDNIGHT LETTERS — LONG EMAIL FIELD + BUTTON
   --------------------------------------------------------- */

.midnight-signup-form {
    width: min(850px, calc(100% - 40px)) !important;
    max-width: 850px !important;

    margin: 0 auto !important;
}

.midnight-signup-form form {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 14px !important;

    width: 100% !important;
    margin: 0 !important;
}


.midnight-signup-form input[type="email"] {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;

    padding: 0 20px !important;

    background: transparent !important;

    border: 1px solid rgba(184,154,98,.65) !important;
    border-radius: 0 !important;

    color: #F5F0E5 !important;
}

.midnight-signup-form input[type="submit"],
.midnight-signup-form button[type="submit"],
.midnight-club .primary-button {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 24px !important;

    border: 1px solid #B89A62 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #B89A62 !important;
}

/* =========================================================
   MIDNIGHT LETTERS — JETPACK FORM WIDTH FIX
   ========================================================= */

/* The Jetpack form itself */
.home .midnight-signup-form form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 190px !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

/* Jetpack wraps the email + button in their own containers */
.home .midnight-signup-form form > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Email */
.home .midnight-signup-form input[type="email"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 58px !important;
    box-sizing: border-box !important;
}

/* Button */
.home .midnight-signup-form input[type="submit"],
.home .midnight-signup-form button[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 58px !important;
    box-sizing: border-box !important;
}

/* Mobile */
@media (max-width: 720px) {
    .home .midnight-signup-form form {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}
/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .collection-links {
        grid-template-columns: 1fr !important;
    }

    .collection-links a:nth-child(odd) {
        border-right: 0 !important;
    }

    .collection-links a:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(184,154,98,.28) !important;
    }

    .collection-links a:last-child {
        border-bottom: 0 !important;
    }

    .midnight-signup-form {
        width: 100% !important;
    }

    .midnight-signup-form form {
        grid-template-columns: 1fr !important;
    }
}
/* ---------------------------------------------------------
   3. MIDNIGHT LETTERS — LONG EMAIL FIELD + BUTTON
   --------------------------------------------------------- */

.midnight-signup-form {
    width: min(850px, calc(100% - 40px)) !important;
    max-width: 850px !important;
    margin: 0 auto !important;
}

/* Jetpack form wrapper */
.midnight-signup-form form {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 14px !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Remove Jetpack's wrapper spacing */
.midnight-signup-form form > * {
    margin: 0 !important;
}

/* EMAIL FIELD */
.midnight-signup-form input[type="email"] {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    background: transparent !important;
    border: 1px solid rgba(184,154,98,.65) !important;
    border-radius: 0 !important;

    color: #F5F0E5 !important;
    box-sizing: border-box !important;
}

/* SIGN ME UP BUTTON */
.midnight-signup-form input[type="submit"],
.midnight-signup-form button[type="submit"] {
    flex: 0 0 220px !important;
    width: 220px !important;
    height: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 24px !important;

    background: transparent !important;
    border: 1px solid #B89A62 !important;
    border-radius: 0 !important;

    color: #B89A62 !important;
    box-sizing: border-box !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    .collection-links {
        grid-template-columns: 1fr !important;
    }

    .collection-links a:nth-child(odd) {
        border-right: 0 !important;
    }

    .collection-links a:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(184,154,98,.28) !important;
    }

    .collection-links a:last-child {
        border-bottom: 0 !important;
    }

    .midnight-signup-form {
        width: 100% !important;
    }

    .midnight-signup-form form {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .midnight-signup-form input[type="email"],
    .midnight-signup-form input[type="submit"],
    .midnight-signup-form button[type="submit"] {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}
/* =========================================================
   VELVET MIDNIGHTS — CHAMPAGNE + TRUE BLACK
   No olive. No mustard. No tarnished brass.
   ========================================================= */

:root {
    --vm-black: #0B0B0B;
    --vm-charcoal: #121212;
    --vm-card: #171717;

    --vm-ivory: #F4EFE5;
    --vm-champagne: #E9D39A;
    --vm-champagne-soft: #D9C28B;
}

/* ---------- TRUE NEUTRAL SURFACES ---------- */

body,
main,
.site-header {
    background-color: #0B0B0B !important;
}

.home .latest.paper-section {
    background-color: #121212 !important;
    background-image: none !important;
}

.home .latest .story-card {
    background: #171717 !important;
    background-image: none !important;
}

.home .curation-copy {
    background: #151515 !important;
    background-image: none !important;
}

.home .book-club.paper-section {
    background: #111111 !important;
    background-image: none !important;
}

.home .book-club .club-frame,
.home .book-club .club-copy {
    background: #171717 !important;
    background-image: none !important;
}

.home .midnight-club {
    background: #0B0B0B !important;
    background-image: none !important;
}

.site-footer {
    background: #080808 !important;
}


/* ---------- CHAMPAGNE ACCENTS ---------- */

.home .library-heading,
.home .folio-number,
.home .library-card-link,
.home .curation-copy .kicker,
.home .collection-links a,
.home .collection-shop-buttons .primary-button,
.home .book-club .kicker,
.home .behind-velvet-link,
.home .midnight-club .kicker,
.home .midnight-signup-form input[type="submit"],
.home .midnight-signup-form button[type="submit"] {
    color: #D9C28B !important;
}


/* Brighter champagne only for the major italic moments */

.home .curation-copy h2 em,
.home .club-copy h2 em {
    color: #E9D39A !important;
}


/* ---------- IVORY TYPOGRAPHY ---------- */

.home .story-copy h3,
.home .story-copy p,
.home .curation-copy h2,
.home .curation-copy p,
.home .club-copy h2,
.home .club-copy p,
.home .midnight-club h2,
.home .midnight-club p {
    color: #F4EFE5 !important;
}


/* ---------- CLEAN CHAMPAGNE LINES ---------- */

.home .latest,
.home .story-card,
.home .collection-links,
.home .collection-shop-buttons .primary-button,
.home .club-frame,
.home .midnight-club,
.home .midnight-signup-form input[type="email"],
.home .midnight-signup-form input[type="submit"],
.home .midnight-signup-form button[type="submit"] {
    border-color: rgba(217,194,139,.40) !important;
}

.home .collection-links a {
    border-color: rgba(217,194,139,.28) !important;
}

.home .rule::before,
.home .rule::after,
.home .midnight-club .kicker > span {
    background: #D9C28B !important;
}


/* ---------- HOVERS ---------- */

.home .library-card-link:hover,
.home .collection-links a:hover,
.home .behind-velvet-link:hover {
    color: #F0DCA7 !important;
}

.home .collection-shop-buttons .primary-button:hover,
.home .midnight-signup-form input[type="submit"]:hover,
.home .midnight-signup-form button[type="submit"]:hover {
    background: #E9D39A !important;
    color: #0B0B0B !important;
    border-color: #E9D39A !important;
}
/* =========================================================
   BEHIND THE VELVET — PAGE HERO
   ========================================================= */

/* WordPress page title becomes the small editorial kicker */
body:not(.home) .entry-title {
    margin: 0 0 28px !important;

    color: #D9C28B !important;

    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

/* Main hero headline */
body:not(.home) .entry-content > h1:first-of-type {
    max-width: 900px !important;
    margin: 0 0 42px !important;

    color: #F4EFE5 !important;

    font-size: clamp(58px, 6vw, 92px) !important;
    font-weight: 400 !important;
    line-height: .98 !important;
    letter-spacing: -.025em !important;
}

/* Champagne italic phrase */
body:not(.home) .entry-content > h1:first-of-type em {
    color: #E9D39A !important;
    font-weight: 400 !important;
}
/* Pull Behind the Velvet content closer to the header */
body:not(.home) .site-main,
body:not(.home) main {
    padding-top: 0 !important;
    margin-top: 20px !important;
}

body:not(.home) .entry-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* =========================================================
   BEHIND THE VELVET — WORDPRESS PAGE TITLE
   Turn generated page title into editorial kicker
   ========================================================= */

body:not(.home) main > h1:first-child,
body:not(.home) .site-main > h1:first-child {
    margin: 0 0 28px !important;

    color: #D9C28B !important;

    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}
/* =========================================================
   BEHIND THE VELVET — CLEAN HERO TITLE
   ========================================================= */

/* Hide the theme-generated page title */
body:not(.home) .entry-header {
    display: none !important;
}

/* Behind the Velvet editorial kicker */
body:not(.home) .entry-content > p:first-child {
    margin: 0 0 26px !important;

    color: #D9C28B !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}
/* Behind the Velvet — section headings */
body:not(.home) .entry-content h2 {
    margin: 54px 0 28px !important;

    color: #F4EFE5 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(28px, 3vw, 40px) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
}

/* Small editorial rule above each chapter */
body:not(.home) .entry-content h2::before {
    content: "";
    display: block;

    width: 44px;
    height: 1px;
    margin-bottom: 18px;

    background: rgba(217,194,139,.55);
}
/* =====================================================
   LIBRARY ARCHIVE — EDITORIAL CHAPTER HEADER
   ===================================================== */

.library-archive-header {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(340px, .7fr);
    gap: 80px;
    align-items: start;
    padding: 38px 0 30px;
}

/* LEFT SIDE */

.library-archive-eyebrow {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 24px;
}

.library-archive-eyebrow .kicker,
.library-nav-heading {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.library-archive-number {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1;
    color: #F5F0E5;
}

.library-archive-header h1 {
    margin: 0 0 20px;
    max-width: 850px;
}
.library-archive-header h1 {
    white-space: nowrap;
    font-size: clamp(44px, 4.35vw, 68px) !important;
}
.library-archive-intro {
    max-width: 720px;
    margin: 0;
    font-style: italic;
    line-height: 1.55;
    opacity: .82;
}


/* RIGHT SIDE */

.library-archive-nav {
    padding: 0;
}

.library-nav-heading {
    margin: 0 0 24px;
}

.library-nav-links {
    border-top: 1px solid rgba(233, 211, 154, .28);
}

.library-nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(233, 211, 154, .28);
    color: inherit;
    text-decoration: none;
}

.library-nav-title {
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.25;
}

.library-nav-number {
    flex: 0 0 auto;
    font-size: 12px;
    letter-spacing: .12em;
    opacity: .65;
}

.library-nav-links a:hover .library-nav-title {
    opacity: .7;
}


/* DIVIDER BEFORE POSTS */

.library-archive-rule {
    width: 100%;
    height: 1px;
    margin: 0 0 34px;
    background: rgba(233, 211, 154, .28);
}


/* MOBILE */

@media (max-width: 800px) {

    .library-archive-header {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 32px 0 26px;
    }

    .library-archive-eyebrow {
        margin-bottom: 18px;
    }

    .library-archive-header h1 {
        margin-bottom: 16px;
    }

    .library-archive-nav {
        margin-top: 4px;
    }

    .library-nav-heading {
        margin-bottom: 16px;
    }

    .library-archive-rule {
        margin-bottom: 28px;
    }

}
/* =====================================================
   LIBRARY ARCHIVE — FINAL PROPORTION POLISH
   ===================================================== */

/* Slightly smaller chapter titles */
.library-archive-header h1 {
    font-size: clamp(48px, 5vw, 76px) !important;
    line-height: .98 !important;
}

/* Center Explore block against the main chapter content */
.library-archive-nav {
    align-self: center;
    padding-top: 20px;
}

/* Match THE LIBRARY accent */
.library-nav-heading {
    color: #E9D39A !important;
}

/* Keep mobile compact and naturally stacked */
@media (max-width: 800px) {

    .library-archive-header h1 {
        font-size: clamp(42px, 12vw, 58px) !important;
        line-height: 1 !important;
    }

    .library-archive-nav {
        align-self: stretch;
        padding-top: 0;
    }

}
/* =====================================================
   LIBRARY ARCHIVES — FINAL CONSISTENCY
   ===================================================== */

/* Same title size across all four Library sections */
.library-archive-header h1 {
    font-size: clamp(38px, 3.65vw, 58px) !important;
    line-height: 1 !important;
    white-space: nowrap;
}

/* Remove excess space above the Library header */
.library-archive-header {
    padding-top: 18px !important;
}

/* Keep the top labels tight to the content */
.library-archive-eyebrow {
    margin-bottom: 18px !important;
}

/* Keep title and caption connected */
.library-archive-header h1 {
    margin-bottom: 16px !important;
}

/* Mobile can wrap naturally */
@media (max-width: 800px) {

    .library-archive-header {
        padding-top: 12px !important;
    }

    .library-archive-header h1 {
        font-size: clamp(38px, 10vw, 52px) !important;
        white-space: normal;
    }

}
/* Library 02 — slightly smaller title */
body.category-book-club-questions-reviews .library-archive-title h1 {
    font-size: 48px !important;
}
/* =====================================================
   LIBRARY ARCHIVE — FINAL DETAILS
   ===================================================== */

/* Tiny Velvet Midnights signature */
.library-archive-star {
    color: #E9D39A;
    font-size: 10px;
    margin: 0 3px;
    opacity: 0.8;
    vertical-align: middle;
}

/* Library 02 — balance the extra-long title */
body.category-book-club-questions .library-archive-main h1 {
    font-size: 44px !important;
}
/* =========================================
   SPECIAL EDITIONS — HERO SPACING
   ========================================= */

.page .entry-content {
    padding-top: 28px;
}

/* Kicker */
.page .entry-content > p:first-child {
    margin-bottom: 20px;
}

/* Headline */
.page .entry-content h2 {
    margin-top: 16px;
    margin-bottom: 28px;
}

/* Paragraph spacing */
.page .entry-content h2 + p {
    margin-top: 0;
    margin-bottom: 24px;
}

.page .entry-content p {
    margin-top: 0;
    margin-bottom: 18px;
}
/* =====================================================
   MOBILE MENU — ALL CAPS
   ===================================================== */

@media (max-width: 720px) {
  .wp-mobile-menu a {
    text-transform: uppercase;
  }
}
/* =========================================================
   VM HEADER MONOGRAM
   Inner pages only — homepage monogram hidden via header.php
   ========================================================= */

.header-monogram {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 120px;
    flex: 0 0 120px;

    justify-self: start;
}

.header-monogram img {
    display: block;

    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;

    object-fit: contain;
}
/* =========================================================
   BLOG POST IMAGE BACKGROUND FIX
   ========================================================= */

.single-post .wp-block-image,
.single-post .wp-block-image figure,
.single-post figure.wp-block-image,
.single-post .wp-block-image img {
    background: transparent !important;
}
