/* ROOT & TUMBLE — handcrafted botanical journal theme
   Palette: cream paper, forest, charcoal, sage, moss, terracotta, sand. */

:root {
    --paper:      #F7F4ED;
    --paper-2:    #F1EBDF;
    --card:       #FCFAF4;
    --forest:     #3E4D31;
    --charcoal:   #3E3A35;
    --sage:       #7B876D;
    --moss:       #5B6B5A;
    --terracotta: #A65D37;
    --sand:       #D2B48C;
    --sand-2:     #D9C5B2;
    --line:       #E5DCC9;
    --shadow:     rgba(62, 61, 53, .14);
    --shadow-1:   rgba(62, 61, 53, .08);   /* resting card elevation */
    --shadow-2:   rgba(62, 61, 53, .20);   /* hover / hero elevation */
    --ink:        #2C2A26;                 /* body text (reads on cream AA) */
    --bed:        rgba(34, 32, 28, .92);   /* card text bed over imagery */

    --serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:    "Karla", "Helvetica Neue", Arial, sans-serif;
    --script:  "Great Vibes", "Brush Script MT", cursive;

    --radius: 14px;
    --maxw: 1120px;
    color-scheme: light;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
        radial-gradient(1200px 500px at 15% -5%, var(--paper-2), transparent 60%),
        radial-gradient(900px 400px at 90% 0%, var(--paper-2), transparent 55%),
        var(--paper);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Accessible, on-brand focus ring. */
a:focus-visible,
button:focus-visible,
.rt-nav a:focus-visible,
.rt-card-link:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 4px;
}
.rt-card-link:focus-visible { outline-offset: -3px; }

::selection { background: var(--sand); color: var(--charcoal); }

a { color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--forest); }

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rt-card, .rt-card:hover { transition: none; transform: none; }
    .rt-progress-bar { width: 0 !important; }
    .rt-top { transition: none; }
    .rt-header-slim { transition: none; }
}

.rt-container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.rt-skip {
    position: absolute; left: -999px; top: 12px; padding: 8px 14px;
    background: var(--forest); color: var(--paper); border-radius: 8px; z-index: 99;
}
.rt-skip:focus { left: 12px; }

/* ── Header / brand masthead — E-pattern · M ──────────────────────── */
.rt-header { position: relative; overflow: hidden; }
.rt-header-bg { position: absolute; inset: 0; background: url("../img/wallpaper.png") center/cover no-repeat; opacity: .5; }
.rt-header-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(247,244,237,.58), rgba(247,244,237,.80)); }
.rt-header-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 40px 22px 30px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.rt-brand-crest { display: block; line-height: 0; }
.rt-brand-crest img { width: 170px; height: auto; border-radius: 50%; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 28px var(--shadow-2); }
.rt-header-right { flex: 1; text-align: right; }
.rt-header-tag { font-family: var(--script); color: var(--terracotta); font-size: 1.35rem; margin: 14px 0 0; }
.rt-brand-amp, .rt-amp {
    font-family: var(--script);
    color: var(--terracotta);
    font-size: 1.25em;
}
.rt-brand-tag, .rt-footer-tag {
    font-family: var(--serif);
    font-style: italic;
    color: var(--moss);
    font-size: 1.05rem;
    margin: 2px 0 0;
}
.rt-nav ul { list-style: none; display: flex; justify-content: flex-end; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap; }
.rt-nav a {
    font-family: var(--sans); font-size: .82rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--forest); text-decoration: none;
    padding: 6px 2px 4px; border-bottom: 1px solid transparent;
    display: inline-block; min-height: 28px;
    transition: color .15s ease, border-color .15s ease;
}
.rt-nav a:hover,
.rt-nav a[aria-current="page"],
.rt-nav a.nav-current { color: var(--terracotta); border-bottom-color: var(--terracotta); }
@media (max-width: 760px) {
    .rt-header-inner { flex-direction: column; text-align: center; padding: 26px 18px 22px; }
    .rt-header-right { text-align: center; }
    .rt-nav ul { justify-content: center; }
    .rt-brand-crest img { width: 128px; }
    .rt-header-tag { font-size: 1.15rem; }
}

/* ── Slim sticky nav (appears on scroll) ──────────────────────────── */
.rt-header-slim {
    position: fixed; top: 0; left: 0; right: 0; z-index: 55;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 9px 24px;
    background: rgba(247,244,237,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(62,61,53,.08);
    transform: translateY(-100%); transition: transform .25s ease; will-change: transform;
}
.rt-header-slim.show { transform: translateY(0); }
.rt-slim-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.rt-slim-brand img { width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); }
.rt-slim-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .01em; line-height: 1; }
.rt-slim-nav ul { list-style: none; display: flex; gap: 20px; align-items: center; margin: 0; padding: 0; flex-wrap: wrap; }
.rt-slim-nav a { font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); text-decoration: none; padding: 5px 2px; }
.rt-slim-nav a:hover, .rt-slim-nav a[aria-current="page"] { color: var(--terracotta); }
@media (max-width: 640px) { .rt-slim-name { display: none; } .rt-slim-nav a { font-size: .7rem; } }

/* ── Hero ─────────────────────────────────────────────────────────── */
.rt-hero { text-align: center; padding: 46px 22px 18px; }
.rt-hero-title {
    font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.6rem);
    color: var(--forest); margin: 0;
}
.rt-hero-tag {
    font-family: var(--serif); font-style: italic; color: var(--moss);
    font-size: 1.2rem; margin: 8px 0 0;
}

/* Generated botanical banner beneath the hero copy. */
.rt-hero-media { margin: 0; }
.rt-hero-media .rt-container {
    max-width: min(var(--maxw), 1480px);
    padding: 0 22px;
}
.rt-hero-img {
    display: block; width: 100%; height: auto;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 12px var(--shadow-1), 0 22px 44px var(--shadow-2);
    background: var(--card);
}

/* ── Field-log lede ───────────────────────────────────────────────── */
.rt-lede { max-width: var(--maxw); margin: 0 auto; padding: 44px 22px 4px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 38px; align-items: center; }
.rt-lede-kicker { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 10px; }
.rt-lede-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: var(--forest); line-height: 1.02; margin: 0 0 6px; text-wrap: balance; }
.rt-lede-season { font-family: var(--script); color: var(--terracotta); font-size: 1.5rem; margin: 0 0 12px; }
.rt-lede-ex { color: var(--ink); font-size: 1.12rem; max-width: 34em; margin: 0 0 18px; }
.rt-lede-meta { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin: 0 0 18px; }
.rt-lede-cta { color: var(--forest); font-family: var(--serif); font-size: 1.1rem; text-decoration: none; border-bottom: 2px solid var(--terracotta); padding-bottom: 2px; }
.rt-lede-fig { display: block; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px var(--shadow-2); background: var(--card); }
.rt-lede-fig picture, .rt-lede-fig img { display: block; width: 100%; height: 100%; }
.rt-lede-fig img { object-fit: cover; }
.rt-lede-nofig { display: flex; align-items: center; justify-content: center; color: var(--sage); font-family: var(--script); font-size: 1.8rem; background: linear-gradient(150deg, var(--paper-2), var(--card)); }
.rt-lede-nofig::after { content: "❋"; }
.rt-index-head { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--forest); margin: 44px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.rt-empty { font-family: var(--serif); font-style: italic; color: var(--sage); font-size: 1.1rem; padding: 20px 0 40px; }
@media (max-width: 820px) {
    .rt-lede { grid-template-columns: 1fr; gap: 22px; }
    .rt-lede-fig { aspect-ratio: 16/9; }
}

/* ── Post grid / photo-gallery cards ──────────────────────────────── */
.rt-posts { padding: 26px 0 40px; }
.rt-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.rt-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: var(--moss); border: 1px solid var(--line); aspect-ratio: 4/5;
    box-shadow: 0 1px 2px var(--shadow-1), 0 12px 26px rgba(62,61,53,.10);
    transition: transform .18s ease, box-shadow .18s ease;
}
.rt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px var(--shadow-1), 0 22px 40px rgba(62,61,53,.20);
}
.rt-card-link { display: block; height: 100%; text-decoration: none; color: inherit; position: relative; }
.rt-card-media { position: absolute; inset: 0; background: var(--moss); }
.rt-card-media::before {
    /* gentle botanical fallback mark, visible only when there's no feature image */
    content: "❋";
    position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
    font-size: 3.4rem; line-height: 1; color: rgba(247,244,237,.35);
    pointer-events: none;
}
.rt-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* when an image is present, cover the fallback mark */
.rt-card-img { z-index: 1; }
.rt-card-body { z-index: 2; }
/* title bed — solid enough at the baseline for legibility on ANY image, subtle above */
.rt-card-body {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 15px;
    background: linear-gradient(to top, rgba(34,32,28,.95) 4%, rgba(34,32,28,.86) 38%, rgba(34,32,28,.40) 68%, rgba(34,32,28,0) 94%);
    border-top: 4px solid var(--sand);
    border-radius: 0 0 var(--radius) var(--radius);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.rt-card-title {
    font-family: var(--serif); font-weight: 600; font-size: 1.5rem;
    color: #FBF8F1; margin: 0 0 6px; line-height: 1.18;
    text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 9px rgba(0,0,0,.38);
}
.rt-card-meta {
    font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
    color: #EDE5D4; text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.rt-card-tag { color: #E6A87B; font-weight: 600; }

@media (max-width: 900px) { .rt-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rt-post-grid { grid-template-columns: 1fr; } }

/* ── Article ──────────────────────────────────────────────────────── */
.rt-article { padding: 34px 0 50px; }
.rt-article-header { text-align: center; margin-bottom: 26px; }
.rt-article-fig { margin: 0 0 22px; }
.rt-article-img { max-width: 100%; border-radius: var(--radius); border-bottom: 5px solid var(--sand); }
.rt-article-fig { aspect-ratio: 3/2; }
.rt-article-fig picture { display: block; width: 100%; height: 100%; }
.rt-article-fig img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.rt-article-title {
    font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 6vw, 3.2rem);
    color: var(--forest); margin: 0 auto; max-width: 900px;
}
.rt-article-meta {
    color: var(--moss); font-size: .85rem; letter-spacing: .06em;
    text-transform: uppercase; margin: 12px 0 0;
}
.rt-article-meta a { color: var(--moss); }
.rt-article-body {
    font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.72; color: var(--ink);
    max-width: 720px; margin: 0 auto;
}
.rt-article-body h2 { font-family: var(--serif); color: var(--forest); margin-top: 1.8em; line-height: 1.2; }
.rt-article-body h3, .rt-article-body h4 {
    font-family: var(--serif); color: var(--forest); margin-top: 1.6em; line-height: 1.3;
}
.rt-article-body h3 { font-size: 1.5rem; }
.rt-article-body h4 { font-size: 1.3rem; }
.rt-article-body a { color: var(--terracotta); }
.rt-article-body img { border-radius: 10px; max-width: 100%; box-shadow: 0 6px 22px rgba(62,61,53,.10); }
.rt-article-body figure { margin: 1.6em auto; text-align: center; }
.rt-article-body figcaption { font-size: .85rem; color: var(--sage); font-family: var(--sans); margin-top: 8px; }
.rt-article-body ul, .rt-article-body ol { padding-left: 1.4em; }
.rt-article-body li { margin: .35em 0; }
.rt-article-body code, .rt-article-body tt {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85em; background: var(--paper-2); border-radius: 5px; padding: 2px 6px;
}
.rt-article-body pre {
    background: var(--forest); color: var(--paper); border-radius: var(--radius);
    padding: 18px 20px; overflow-x: auto; line-height: 1.5; font-size: .9rem;
}
.rt-article-body pre code { background: none; color: inherit; padding: 0; }
.rt-article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.rt-article-body strong { color: var(--forest); font-weight: 600; }
.rt-article-body blockquote {
    border-left: 3px solid var(--terracotta); margin: 1.6em 0; padding: .2em 0 .2em 1.2em;
    font-style: italic; color: var(--moss); font-size: 1.1em;
}
/* ── Koenig (Ghost editor) cards ─────────────────────────────────── */
.rt-article-body .kg-image-card { margin: 1.8em auto; text-align: center; }
.rt-article-body .kg-image-card img { display: block; margin: 0 auto; }
.rt-article-body .kg-gallery-card { margin: 1.8em auto; --gap: 12px; }
.rt-article-body .kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.rt-article-body .kg-gallery-image { min-width: 0; }
.rt-article-body .kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: none; }
/* wide image — breathes past the text column */
.rt-article-body .kg-width-wide {
    margin-left: auto; margin-right: auto; max-width: 100%;
}
.rt-article-body .kg-width-wide img { max-width: 100%; height: auto; }
/* full-bleed image — spans the viewport edge to edge */
.rt-article-body .kg-width-full {
    position: relative; width: 100vw; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw; max-width: none;
}
.rt-article-body .kg-width-full img { width: 100%; height: auto; border-radius: 0; }
/* video / audio cards keep the journal column rhythm */
.rt-article-body .kg-video-card, .rt-article-body .kg-audio-card { margin: 1.8em auto; }
.rt-article-prev, .rt-article-next {
    display: inline-block; margin-top: 40px; color: var(--forest);
    text-decoration: none; font-family: var(--serif); font-size: 1.1rem;
}
.rt-article-next { float: right; }
.rt-article-prev:hover, .rt-article-next:hover { color: var(--terracotta); }

/* ── Reading experience niceties ─────────────────────────────────── */
.rt-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.rt-progress-bar { display: block; height: 100%; width: 0; background: var(--terracotta); }

.rt-article-body > p:first-child::first-letter {
    font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: .82;
    float: left; color: var(--forest); padding: .06em .12em 0 0;
}

.rt-article-title { text-wrap: balance; }
.rt-article-body p { text-wrap: pretty; }

.rt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 38px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.rt-share-label { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-right: 4px; }
.rt-share-link {
    display: inline-block; padding: 7px 16px; border: 1px solid var(--forest); border-radius: 999px;
    color: var(--forest); text-decoration: none; font-family: var(--sans); font-size: .82rem; letter-spacing: .06em;
    background: transparent; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.rt-share-link:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.rt-share-link:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }
.rt-share-copy { -webkit-appearance: none; appearance: none; }
@media (pointer: coarse) { .rt-share { flex-wrap: wrap; } }
@media (max-width: 480px) { .rt-share { justify-content: center; } }

.rt-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 55;
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--forest); color: var(--paper); font-size: 1.1rem; line-height: 1;
    box-shadow: 0 4px 14px rgba(62,61,53,.22); opacity: 1;
    transition: opacity .18s ease, transform .18s ease;
}
.rt-top:hover { transform: translateY(-2px); background: var(--terracotta); }
.rt-top[hidden] { opacity: 0; transform: translateY(4px); pointer-events: none; }

/* ── Archive heads ────────────────────────────────────────────────── */
.rt-archive-head { text-align: center; padding: 40px 22px 6px; }
.rt-archive-title {
    font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--forest); margin: 0;
}
.rt-archive-tag { color: var(--moss); font-style: italic; font-family: var(--serif); font-size: 1.1rem; }

/* ── Pagination ───────────────────────────────────────────────────── */
.rt-pagination { padding: 10px 0 30px; text-align: center; }
.rt-pagination a, .rt-pagination .page-number {
    display: inline-block; margin: 0 6px; padding: 6px 12px; border: 1px solid var(--line);
    border-radius: 8px; color: var(--forest); text-decoration: none;
}
.rt-pagination .newer-posts { float: left; }
.rt-pagination .older-posts { float: right; }
.rt-pagination a:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ── Error ────────────────────────────────────────────────────────── */
.rt-error { text-align: center; padding: 80px 22px; }
.rt-error-code { font-family: var(--serif); font-size: 5rem; color: var(--forest); margin: 0; }
.rt-error-message { font-style: italic; color: var(--moss); font-family: var(--serif); font-size: 1.3rem; }
.rt-error-home {
    display: inline-block; margin-top: 18px; padding: 10px 20px; border-radius: 999px;
    background: var(--forest); color: var(--paper); text-decoration: none; font-family: var(--serif);
}
.rt-error-home:hover { background: var(--terracotta); }

/* ── Footer ───────────────────────────────────────────────────────── */
.rt-footer {
    border-top: 1px solid var(--line); padding: 30px 0 26px; margin-top: 20px;
    text-align: center; font-family: var(--serif);
}
.rt-footer-inner { display: flex; flex-direction: column; gap: 4px; }
.rt-footer-name { font-size: 1.25rem; color: var(--forest); font-weight: 600; }
.rt-footer-copy { font-size: .9rem; color: var(--sage); margin: 0; font-family: var(--sans); }

@media (max-width: 640px) {
    .rt-post-grid { grid-template-columns: 1fr; }
    .rt-nav ul { gap: 16px; }
    .rt-header { padding: 12px 16px 10px; }
    .rt-brand-name { font-size: 1.6rem; }
    .rt-brand-tag { display: none; }
    .rt-nav { margin-top: 6px; }
}

/* ── Lightbox ─────────────────────────────────────────────────────── */
.rt-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(24, 23, 19, .93); display: flex; align-items: center; justify-content: center; padding: 24px; }
.rt-lightbox[hidden] { display: none; }
.rt-lightbox-stage { position: relative; max-width: min(92vw, 1200px); max-height: 86vh; margin: 0; display: flex; flex-direction: column; align-items: center; }
.rt-lightbox-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.rt-lightbox-cap { color: #D9CEC0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-top: 12px; text-align: center; max-width: 70ch; }
.rt-lightbox-count { color: var(--sage); font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 10px; text-align: center; }
.rt-lightbox-close, .rt-lightbox-prev, .rt-lightbox-next { position: fixed; z-index: 91; border: 0; background: rgba(247,244,237,.14); color: var(--paper); font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; line-height: 1; transition: background .15s ease; }
.rt-lightbox-close:hover, .rt-lightbox-prev:hover, .rt-lightbox-next:hover { background: var(--terracotta); }
.rt-lightbox-close { top: 18px; right: 18px; }
.rt-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.rt-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
    .rt-lightbox { padding: 12px; }
    .rt-lightbox-prev, .rt-lightbox-next { width: 40px; height: 40px; font-size: 1.2rem; }
    .rt-lightbox-prev { left: 8px; } .rt-lightbox-next { right: 8px; }
}

/* ── Print ───────────────────────────────────────────────────────── */
@media print {
    .rt-header, .rt-nav, .rt-hero-media, .rt-footer, .rt-progress, .rt-share, .rt-top, .rt-card { display: none !important; }
    .rt-skip { display: none; }
    body { background: #fff !important; color: #000; font-size: 12pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .rt-container, .rt-main, .rt-article { max-width: none; padding: 0; margin: 0; }
    .rt-article { display: block; }
    .rt-article-header { text-align: left; margin-bottom: 12px; }
    .rt-article-title { font-size: 24pt; color: #000; }
    .rt-article-fig { margin: 12px 0; }
    .rt-article-fig img, .rt-article-body img { max-width: 100%; height: auto; border-radius: 0; box-shadow: none; }
    .rt-article-body { max-width: 70ch; font-size: 12pt; line-height: 1.55; }
    .rt-article-body figure, .rt-article-body .kg-image-card, .rt-article-body .kg-gallery-card { page-break-inside: avoid; }
    .rt-article-prev, .rt-article-next { display: none; }
    a { color: #000; text-decoration: underline; }
    .rt-article-body a { color: #000; }
}
