/*
Theme Name:  The Ton
Theme URI:   https://theton.news
Description: An anonymous pamphlet of extraordinary intelligence, published in the style of Lady Whistledown. Society news, noble gossip, and the occasional scandal - delivered daily to the discerning reader.
Version:     1.1.0
Author:      Lady Whistledown (anonymous)
Text Domain: the-ton
Tags:        one-column, custom-menu, featured-images, sticky-post, threaded-comments
*/

/* ============================================================
   IMPORTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,400&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */

:root {
    /* Backgrounds */
    --white:        #ffffff;
    --ivory:        #fdfaf6;
    --blush-pale:   #fdf3f5;
    --blush-light:  #f5e6ea;

    /* Text */
    --navy:         #1a2744;
    --navy-mid:     #2d3f6a;
    --navy-light:   #5a6a8a;

    /* Accents */
    --rose:         #b05070;
    --rose-dark:    #8a3555;
    --rose-muted:   #c88098;
    --rose-pale:    #e8c0cc;

    /* Borders */
    --border:       #e2cdd4;
    --border-light: #eedde2;

    /* Misc */
    --shadow:       rgba(26, 39, 68, 0.07);

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-sc:      'Playfair Display SC', 'Georgia', serif;
    --font-body:    'EB Garamond', 'Georgia', serif;

    --max-width:    780px;
    --wide-width:   1100px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
    background-color: var(--ivory);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.site { position: relative; }

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

a { color: var(--rose); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rose-dark); text-decoration: underline; text-decoration-style: dotted; }

p { margin-bottom: 1.4em; }
ul, ol { padding-left: 1.5em; margin-bottom: 1.4em; }

blockquote {
    border-left: 2px solid var(--rose-pale);
    padding: 0.6em 1.4em;
    margin: 1.8em 0;
    font-style: italic;
    color: var(--navy-mid);
    font-size: 1.06em;
}

/* ============================================================
   ORNAMENTAL RULES
   ============================================================ */

.ornament {
    text-align: center;
    color: var(--rose-pale);
    font-size: 1.1rem;
    letter-spacing: 0.35em;
    margin: 1.8em 0;
    line-height: 1;
    user-select: none;
}

.ornament::before { content: '✦  ❦  ✦'; }

hr.rule {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2rem 0;
}

hr.rule-double {
    border: none;
    height: 5px;
    background:
        linear-gradient(var(--border), var(--border)) top    / 100% 1px no-repeat,
        linear-gradient(var(--border), var(--border)) bottom / 100% 1px no-repeat;
    margin: 0;
}

/* ============================================================
   LAYOUT WRAPPERS
   ============================================================ */

.container {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container--wide {
    max-width: var(--wide-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

.site-header {
    background: var(--white);
    text-align: center;
    padding: 2.2rem 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

/* Thin decorative line at the very top */
.site-header__top-rule {
    height: 3px;
    background: linear-gradient(
        to right,
        var(--white) 0%,
        var(--rose-pale) 20%,
        var(--rose-muted) 50%,
        var(--rose-pale) 80%,
        var(--white) 100%
    );
    margin-bottom: 1.6rem;
}

/* Logo */
.site-header__logo {
    margin-bottom: 0.8rem;
}

.site-header__logo a {
    display: inline-block;
    text-decoration: none;
}

.site-header__logo img,
.site-header__logo .custom-logo {
    height: auto;
    max-height: 110px;
    max-width: 320px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.site-header__vol {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    color: var(--rose-muted);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.site-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.08;
    color: var(--navy);
}

.site-header__title a {
    color: inherit;
    text-decoration: none;
}

.site-header__title a:hover {
    color: var(--rose);
    text-decoration: none;
}

/* Slender centred rule beneath the title */
.site-header__rule-inner {
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--rose-pale), transparent);
    margin: 1rem auto 0.9rem;
}

.site-header__tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.88rem;
    color: var(--navy-light);
    letter-spacing: 0.03em;
    margin-bottom: 1.8rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 0;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav li { position: relative; }

.site-nav a {
    display: block;
    padding: 0.65rem 1.3rem;
    font-family: var(--font-sc);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy-mid);
    text-decoration: none;
    transition: color 0.2s, border-bottom-color 0.2s;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
    color: var(--rose);
    border-bottom-color: var(--rose-pale);
    text-decoration: none;
}

/* ============================================================
   PAGE BANNERS
   ============================================================ */

.page-banner {
    background: var(--blush-pale);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    padding: 2.4rem 1.5rem 2rem;
}

.page-banner__eyebrow {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--rose-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.8vw, 2.4rem);
    font-weight: 700;
    font-style: italic;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.page-banner__subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.88rem;
    color: var(--navy-light);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */

.site-main {
    padding: 3rem 0 4rem;
}

/* ============================================================
   POST CARDS (Archive / Index)
   ============================================================ */

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
    padding: 2rem 2.2rem 1.6rem;
    box-shadow: 0 1px 8px var(--shadow);
    position: relative;
}

/* Delicate top accent line in blush */
.post-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--rose-pale), var(--rose-muted), var(--rose-pale));
}

.post-card__meta {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: var(--rose-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.post-card__meta a { color: var(--rose-muted); }
.post-card__meta a:hover { color: var(--rose); text-decoration: none; }

.post-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--rose); text-decoration: none; }

.post-card__excerpt {
    font-size: 0.96rem;
    color: var(--navy-mid);
    margin-bottom: 1.1rem;
    line-height: 1.7;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 0.85rem;
}

.post-card__tags {
    font-size: 0.85rem;
    color: var(--navy-light);
    font-style: italic;
    font-family: var(--font-body);
}

.post-card__tags a {
    color: var(--rose);
}

.read-more {
    font-family: var(--font-sc);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--rose);
    text-decoration: none;
    border: 1px solid var(--rose-pale);
    padding: 0.3rem 0.9rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.read-more:hover {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
    text-decoration: none;
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.single-post-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.entry-header {
    text-align: center;
    padding: 2.8rem 0 0;
}

.entry-header__category {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-muted);
    margin-bottom: 0.75rem;
}

.entry-header__category a { color: inherit; }
.entry-header__category a:hover { color: var(--rose); text-decoration: none; }

.entry-header__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--navy);
    margin-bottom: 1rem;
}

.entry-header__byline {
    font-family: var(--font-sc);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--navy-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.entry-header__byline span {
    margin: 0 0.5em;
    color: var(--border);
}

.entry-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--navy);
    padding: 2rem 0;
}

/* Drop cap on the first paragraph */
.entry-content > p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 4em;
    font-weight: 900;
    float: left;
    line-height: 0.78;
    padding-right: 0.1em;
    padding-top: 0.1em;
    color: var(--rose);
}

.entry-content p { margin-bottom: 1.5em; }

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    color: var(--rose);
    margin: 2em 0 0.7em;
    text-align: center;
}

/* ============================================================
   ENTRY FOOTER (tags)
   ============================================================ */

.entry-footer {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.2rem 0;
    margin: 1rem 0 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--navy-mid);
}

.entry-footer__label {
    font-style: italic;
    color: var(--navy-light);
    margin-right: 0.4em;
}

.entry-footer a {
    color: var(--rose);
    display: inline-block;
    margin-right: 0.4em;
    margin-bottom: 0.3em;
    border: 1px solid var(--border-light);
    padding: 0.1rem 0.55rem;
    font-family: var(--font-sc);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.entry-footer a:hover {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
    text-decoration: none;
}

/* ============================================================
   COMMENTS DISABLED NOTICE
   ============================================================ */

.comments-closed-notice {
    background: var(--blush-pale);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--rose-pale);
    padding: 1rem 1.4rem;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--navy-light);
    margin: 2rem 0;
}

.comments-closed-notice strong {
    font-style: normal;
    font-family: var(--font-sc);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3em;
    color: var(--rose-muted);
}

/* ============================================================
   POST NAVIGATION (prev / next)
   ============================================================ */

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--border-light);
}

.nav-previous, .nav-next { flex: 1; min-width: 200px; }
.nav-next { text-align: right; }

.nav-label {
    font-family: var(--font-sc);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--rose);
    line-height: 1.3;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
    text-align: center;
    padding: 2rem 0;
    font-family: var(--font-sc);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0 0.15rem;
    border: 1px solid var(--border);
    color: var(--rose);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
    text-decoration: none;
}

/* ============================================================
   TAG / PERSONAGE CLOUD
   ============================================================ */

.personage-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
    margin: 1.5rem 0;
}

.personage-cloud li { margin: 0; }

.personage-cloud a {
    display: inline-block;
    font-family: var(--font-sc);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose);
    border: 1px solid var(--border);
    padding: 0.3rem 0.8rem;
    background: var(--white);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.personage-cloud a:hover {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
    text-decoration: none;
}

/* ============================================================
   404 & EMPTY STATES
   ============================================================ */

.error-page,
.no-results {
    text-align: center;
    padding: 4rem 1.5rem;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    color: var(--blush-light);
    line-height: 1;
}

.error-page__title,
.no-results__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--rose);
    margin: 0.5rem 0 1rem;
}

.error-page__text,
.no-results__text {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--navy-light);
    max-width: 500px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */

.search-form {
    display: flex;
    max-width: 480px;
    margin: 1.5rem auto;
    border: 1px solid var(--border);
    background: var(--white);
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.65rem 1rem;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--navy);
    outline: none;
}

.search-form input[type="search"]::placeholder {
    color: var(--navy-light);
    opacity: 0.7;
}

.search-form button {
    padding: 0.65rem 1.1rem;
    background: var(--blush-light);
    color: var(--rose-dark);
    border: none;
    border-left: 1px solid var(--border);
    font-family: var(--font-sc);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.search-form button:hover {
    background: var(--rose);
    color: var(--white);
}

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

.site-footer {
    background: var(--navy);
    color: rgba(253, 250, 246, 0.75);
    text-align: center;
    padding: 2.8rem 1.5rem;
    border-top: 2px solid var(--rose-pale);
}

.site-footer__flourish {
    font-size: 1.1rem;
    color: var(--rose-pale);
    letter-spacing: 0.45em;
    margin-bottom: 1rem;
    user-select: none;
}

.site-footer__signoff {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(253, 250, 246, 0.9);
    margin-bottom: 0.5rem;
}

.site-footer__copy {
    font-family: var(--font-sc);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(253, 250, 246, 0.35);
    margin-top: 1.2rem;
    line-height: 2.2;
}

.site-footer__copy a { color: var(--rose-pale); }
.site-footer__copy a:hover { color: var(--white); text-decoration: none; }

.site-footer__nav { margin-top: 1rem; }

.site-footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 1.5rem;
}

.site-footer__nav a {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253, 250, 246, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__nav a:hover { color: var(--rose-pale); text-decoration: none; }

/* ============================================================
   UTILITY
   ============================================================ */

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
    html { font-size: 16px; }
    .post-card { padding: 1.4rem 1.2rem 1.2rem; }
    .entry-content { font-size: 1rem; }
    .post-navigation { flex-direction: column; }
    .nav-next { text-align: left; }
    .site-header { padding: 1.6rem 1rem 0; }
    .site-header__title { letter-spacing: 0.02em; }
    .subscribe-form__fields { flex-direction: column; }
    .subscribe-form__btn { width: 100%; }
    .bmc-slide-in { width: calc(100vw - 2rem); right: 1rem; left: 1rem; }
}

/* ============================================================
   HOMEPAGE - PREVIOUS EDITIONS
   ============================================================ */

.previous-editions {
    background: var(--blush-pale);
    border-top: 1px solid var(--border-light);
    padding: 2.5rem 0 3rem;
    margin-top: 1rem;
}

.previous-editions__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.6rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-light);
}

.previous-editions__label {
    font-family: var(--font-sc);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-muted);
}

.previous-editions__all {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rose);
}

.previous-editions .post-card {
    background: var(--white);
}

/* ============================================================
   SUBSCRIBE BAND & FORM
   ============================================================ */

.subscribe-band {
    background: var(--blush-pale);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 3rem 0;
    text-align: center;
}

.subscribe-form-wrap {
    max-width: 520px;
    margin: 0 auto;
}

.subscribe-form__eyebrow {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-muted);
    margin-bottom: 0.5rem;
}

.subscribe-form__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.subscribe-form__desc {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--navy-light);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.subscribe-form__fields {
    display: flex;
    border: 1px solid var(--border);
    background: var(--white);
    margin-bottom: 0.6rem;
}

.subscribe-form__email {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--navy);
    outline: none;
}

.subscribe-form__email::placeholder {
    color: var(--navy-light);
    opacity: 0.7;
}

.subscribe-form__btn {
    padding: 0.7rem 1.3rem;
    background: var(--rose);
    color: var(--white);
    border: none;
    font-family: var(--font-sc);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.subscribe-form__btn:hover { background: var(--rose-dark); }
.subscribe-form__btn:disabled { opacity: 0.6; cursor: wait; }

.subscribe-form__message {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.88rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.5rem;
}

.subscribe-form__message--success {
    background: #f0faf0;
    color: #2d6a2d;
    border-left: 3px solid #6ab06a;
}

.subscribe-form__message--error {
    background: #fdf3f5;
    color: var(--rose-dark);
    border-left: 3px solid var(--rose-pale);
}

.subscribe-form__small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-style: italic;
    color: var(--navy-light);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

/* Compact variant (used on single post + shortcode) */
.subscribe-form-wrap--compact {
    max-width: 100%;
    background: var(--blush-pale);
    border: 1px solid var(--border-light);
    padding: 1.4rem 1.6rem;
    margin: 2rem 0;
}

.subscribe-form-wrap--compact .subscribe-form__desc,
.subscribe-form-wrap--compact .subscribe-form__eyebrow,
.subscribe-form-wrap--compact .subscribe-form__title {
    display: none;
}

.subscribe-form-wrap--compact::before {
    content: 'Receive future editions directly';
    display: block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.88rem;
    color: var(--navy-light);
    margin-bottom: 0.8rem;
}

/* Post subscribe wrapper */
.post-subscribe {
    margin: 2.5rem 0;
}

/* ============================================================
   BUY ME A COFFEE - SLIDE-IN
   ============================================================ */

.bmc-slide-in {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 300px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--rose-pale);
    padding: 1.4rem 1.5rem 1.3rem;
    box-shadow: 0 4px 24px rgba(26,39,68,0.14);
    z-index: 9999;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bmc-slide-in--visible {
    transform: translateY(0);
}

.bmc-slide-in__close {
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--navy-light);
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s;
}

.bmc-slide-in__close:hover { color: var(--rose); }

.bmc-slide-in__eyebrow {
    font-family: var(--font-sc);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose-muted);
    margin-bottom: 0.5rem;
}

.bmc-slide-in__message {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--navy-mid);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bmc-slide-in__btn {
    display: block;
    text-align: center;
    padding: 0.6rem 1rem;
    background: var(--rose);
    color: var(--white);
    font-family: var(--font-sc);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
}

.bmc-slide-in__btn:hover {
    background: var(--rose-dark);
    color: var(--white);
    text-decoration: none;
}

/* ============================================================
   BUY ME A COFFEE - FOOTER LINK
   ============================================================ */

.site-footer__bmc {
    margin: 0.8rem 0;
}

.bmc-footer-link {
    font-family: var(--font-sc);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rose-pale);
    text-decoration: none;
    border: 1px solid rgba(232, 192, 204, 0.35);
    padding: 0.4rem 1.1rem;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}

.bmc-footer-link:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--white);
    text-decoration: none;
}

/* ============================================================
   WHISTLEDOWN SOURCE LINKS
   ============================================================ */

.whistledown-source {
    margin: 0.15rem 0 1.2rem;
    font-family: var(--font-sc);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    opacity: 0.45;
    transition: opacity 0.2s;
}

.whistledown-source:hover {
    opacity: 0.75;
}

.whistledown-source a {
    color: var(--ink);
    text-decoration: none;
}

.whistledown-source a:hover {
    color: var(--gold);
    text-decoration: none;
}

/* ============================================================
   NOBLE NAME / PLACE HOVER TOOLTIPS
   ============================================================ */

.entry-content abbr[title] {
    text-decoration: none;
    border-bottom: 1px dashed var(--gold);
    cursor: help;
    font-style: inherit;
}
