/* ==========================================================================
   Svirid — editorial travel journal theme for yurisvirid.com
   Палитра «северная вода»: соль, ель, туман, лагуна.
   Акцент наследуется из настроек Ghost (--ghost-accent-color).
   ========================================================================== */

:root {
    --paper: #f5f7f6;
    --ink: #17211e;
    --ink-2: #56655f;
    --line: #dbe3e0;
    --deep: #0d1714;
    --deep-text: #e8eeec;
    --accent: var(--ghost-accent-color, #0f7b7c);

    --font-display: var(--gh-font-heading, 'Prata'), 'Georgia', serif;
    --font-body: var(--gh-font-body, 'Lora'), 'Georgia', serif;
    --font-sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --w-site: 1240px;
    --w-wide: 1120px;
    --w-narrow: 720px;
    --pad: 24px;
}

/* --------------------------------------------------------------------------
   База
   -------------------------------------------------------------------------- */

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

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.container { max-width: var(--w-site); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 0 auto; }

/* --------------------------------------------------------------------------
   Кнопки и служебные элементы
   -------------------------------------------------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.62em 1.45em;
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--ink) 45%, transparent); }

.btn-lg { font-size: 0.9375rem; padding: 0.78em 1.8em; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }

/* Дата-штамп: подпись темы. Серии дневниковые, дата несёт смысл. */
.date-stamp {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    font-variant-numeric: tabular-nums;
    color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3em 0.85em;
    background: #fff;
    white-space: nowrap;
}

.date-stamp::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

.card-tag, .post-tag, .archive-kicker {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
}

a.card-tag:hover, a.post-tag:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: var(--w-site);
    margin: 0 auto;
    padding: 0 var(--pad);
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand { text-decoration: none; margin-right: auto; display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.01em; color: var(--ink); }

.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    padding: 6px 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-current a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Герой на главной
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: clamp(440px, 66vh, 660px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 23, 20, 0.18) 0%, rgba(13, 23, 20, 0.28) 55%, rgba(13, 23, 20, 0.72) 100%);
}

.hero-inner {
    position: relative;
    width: 100%;
    max-width: var(--w-site);
    margin: 0 auto;
    padding: 64px var(--pad) 72px;
    color: #fff;
}

.hero-rule { display: block; width: 56px; height: 3px; background: var(--accent); margin-bottom: 26px; }

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 6.2vw, 4.9rem);
    line-height: 1.04;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

.hero-tagline {
    margin: 22px 0 0;
    max-width: 620px;
    font-family: var(--font-sans);
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.hero--plain { background: var(--paper); border-bottom: 1px solid var(--line); min-height: 0; }
.hero--plain .hero-inner { color: var(--ink); padding-top: 88px; }
.hero--plain .hero-tagline { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Лента: сетка карточек
   -------------------------------------------------------------------------- */

.site-main.container { padding-top: 64px; padding-bottom: 88px; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 48px;
}

.feed-empty {
    grid-column: 1 / -1;
    font-family: var(--font-sans);
    color: var(--ink-2);
    text-align: center;
    padding: 72px 0;
}

.post-card { display: flex; flex-direction: column; }

.card-media {
    display: block;
    overflow: hidden;
    background: var(--line);
    margin-bottom: 22px;
}

.card-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.post-card:hover .card-media img { transform: scale(1.025); }

.card-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.card-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.22;
    text-wrap: balance;
}

.card-title a { text-decoration: none; transition: color 0.15s ease; }
.card-title a:hover { color: var(--accent); }

.card-excerpt {
    margin: 12px 0 0;
    font-size: 1rem;
    line-height: 1.62;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--ink-2);
}

/* Первый пост на главной разворачивается в афишу */
:is(.home-template, .lang-en:not(.paged), .lang-de:not(.paged)) .post-grid > .post-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

:is(.home-template, .lang-en:not(.paged), .lang-de:not(.paged)) .post-grid > .post-card:first-child .card-media { margin-bottom: 0; }
:is(.home-template, .lang-en:not(.paged), .lang-de:not(.paged)) .post-grid > .post-card:first-child .card-media img { aspect-ratio: 16 / 10; }
:is(.home-template, .lang-en:not(.paged), .lang-de:not(.paged)) .post-grid > .post-card:first-child .card-title { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
:is(.home-template, .lang-en:not(.paged), .lang-de:not(.paged)) .post-grid > .post-card:first-child .card-excerpt { -webkit-line-clamp: 4; font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   Пагинация
   -------------------------------------------------------------------------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 72px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.pagination a { color: var(--ink); text-decoration: none; font-weight: 500; }
.pagination a:hover { color: var(--accent); }
.pagination-count { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pagination-prev, .pagination-next { min-width: 92px; }
.pagination-next { text-align: right; }

/* --------------------------------------------------------------------------
   Пост: шапка и обложка
   -------------------------------------------------------------------------- */

.post-header {
    max-width: 780px;
    margin: 0 auto;
    padding: 72px var(--pad) 0;
    text-align: center;
}

.post-kicker { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; }

.post-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.1rem, 4.6vw, 3.35rem);
    line-height: 1.12;
    text-wrap: balance;
}

.post-excerpt {
    margin: 22px auto 0;
    max-width: 640px;
    font-style: italic;
    font-size: 1.22rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.post-meta {
    margin-top: 20px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--ink-2);
}

.post-feature {
    max-width: var(--w-wide);
    margin: 44px auto 0;
    padding: 0 var(--pad);
}

.post-feature img { width: 100%; }

.post-feature figcaption,
.gh-content figcaption {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--ink-2);
    text-align: center;
    padding-top: 12px;
}

/* --------------------------------------------------------------------------
   Тело лонгрида
   -------------------------------------------------------------------------- */

.gh-content {
    display: grid;
    grid-template-columns: 1fr min(var(--w-narrow), calc(100% - 2 * var(--pad))) 1fr;
    padding: 52px 0 8px;
}

.gh-content > * { grid-column: 2; margin-top: 0; margin-bottom: 0; }
.gh-content > * + * { margin-top: 1.25em; }

.gh-content > .kg-width-wide {
    grid-column: 1 / -1;
    width: min(var(--w-wide), calc(100% - 2 * var(--pad)));
    margin-left: auto;
    margin-right: auto;
}

.gh-content > .kg-width-full { grid-column: 1 / -1; width: 100%; }

.post-content p, .post-content ul, .post-content ol {
    font-size: 1.1875rem;
    line-height: 1.78;
}

.gh-content > h2, .gh-content > h3, .gh-content > h4 { margin-top: 2.1em; text-wrap: balance; }
.gh-content h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.85rem; line-height: 1.25; }
.gh-content h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.28rem; line-height: 1.35; }
.gh-content h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; }

.gh-content a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.gh-content a:hover { color: var(--accent); }

.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: 0.45em; }
.gh-content li::marker { color: var(--accent); }

.gh-content blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 0.15em 0 0.15em 1.35em;
    border-left: 3px solid var(--accent);
    font-style: italic;
    font-size: 1.24rem;
    line-height: 1.62;
    color: var(--ink-2);
}

.gh-content blockquote.kg-blockquote-alt {
    border: 0;
    padding: 0.3em 0;
    text-align: center;
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.55rem;
    line-height: 1.42;
    color: var(--ink);
}

.gh-content hr {
    width: 96px;
    border: 0;
    height: 1px;
    background: var(--line);
    margin-top: 2.8em;
    margin-bottom: 1.55em;
    position: relative;
}

.gh-content img { margin-left: auto; margin-right: auto; }
.gh-content .kg-image-card img, .gh-content .kg-gallery-image img { cursor: zoom-in; }

/* Буквица: включается настройкой темы в админке */
.has-dropcap > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.55em;
    line-height: 0.78;
    float: left;
    padding: 0.09em 0.13em 0 0;
    color: var(--ink);
}

/* Карточки редактора */
.gh-content .kg-callout-card {
    border-radius: 12px;
    padding: 18px 22px;
    background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.gh-content .kg-callout-card .kg-callout-text { font-size: 1.05rem; line-height: 1.65; }

.gh-content .kg-button-card a.kg-btn {
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
}

.gh-content .kg-bookmark-card a { text-decoration: none; }
.gh-content .kg-bookmark-container {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    color: var(--ink);
}
.gh-content .kg-bookmark-content { flex: 1; padding: 16px 20px; min-width: 0; }
.gh-content .kg-bookmark-title { font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; }
.gh-content .kg-bookmark-description {
    margin-top: 6px;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gh-content .kg-bookmark-metadata {
    margin-top: 10px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.gh-content .kg-bookmark-icon { width: 16px; height: 16px; }
.gh-content .kg-bookmark-thumbnail { flex: 0 0 200px; }
.gh-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.gh-content pre {
    background: var(--deep);
    color: var(--deep-text);
    border-radius: 12px;
    padding: 18px 22px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.gh-content code { font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace; }
.gh-content :not(pre) > code {
    background: color-mix(in srgb, var(--ink) 8%, transparent);
    border-radius: 5px;
    padding: 0.12em 0.4em;
    font-size: 0.88em;
}

.gh-content table { border-collapse: collapse; width: 100%; font-family: var(--font-sans); font-size: 0.95rem; }
.gh-content th, .gh-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.gh-content th { font-weight: 600; }

.gh-content .kg-embed-card iframe { max-width: 100%; }

/* --------------------------------------------------------------------------
   Блок подписки
   -------------------------------------------------------------------------- */

.subscribe-cta {
    margin-top: 88px;
    background: var(--deep);
    color: var(--deep-text);
    padding: 72px var(--pad);
}

.cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }

.cta-heading {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    color: #fff;
}

.cta-text {
    margin: 16px 0 28px;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--deep-text) 82%, transparent);
}

/* --------------------------------------------------------------------------
   Соседние посты и комментарии
   -------------------------------------------------------------------------- */

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 52px;
    padding-bottom: 64px;
}

.post-nav-item { text-decoration: none; display: block; }
.post-nav-next { text-align: right; grid-column: 2; }
.post-nav-prev { grid-column: 1; }

.post-nav-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 10px;
}

.post-nav-title { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.3; }
.post-nav-item:hover .post-nav-title { color: var(--accent); }

.post-comments { max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--pad) 72px; }

/* --------------------------------------------------------------------------
   Архивы: тег и автор
   -------------------------------------------------------------------------- */

.archive-header { padding-top: 72px; text-align: left; }
.archive-kicker { margin: 0 0 12px; }
.archive-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; }
.archive-description { margin: 16px 0 0; max-width: 640px; color: var(--ink-2); font-size: 1.08rem; }
.author-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.archive-header + .site-main.container { padding-top: 48px; }

/* --------------------------------------------------------------------------
   Страница ошибки
   -------------------------------------------------------------------------- */

.error-page { text-align: center; padding-top: 96px; padding-bottom: 120px; }
.error-code { margin: 0; font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); line-height: 1; color: var(--line); }
.error-title { margin: 8px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; }
.error-text { margin: 14px 0 30px; color: var(--ink-2); font-family: var(--font-sans); }

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer { background: var(--deep); color: color-mix(in srgb, var(--deep-text) 78%, transparent); margin-top: auto; }

.post-template .site-footer, .page-template .site-footer { margin-top: 0; }

.footer-inner {
    max-width: var(--w-site);
    margin: 0 auto;
    padding: 64px var(--pad) 0;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-name { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }

.footer-tagline {
    margin: 12px 0 0;
    max-width: 380px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 14px 32px; justify-content: end; }
.footer-nav a { font-family: var(--font-sans); font-size: 0.9rem; color: inherit; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
    max-width: var(--w-site);
    margin: 52px auto 0;
    padding: 20px var(--pad) 26px;
    border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: color-mix(in srgb, var(--deep-text) 55%, transparent);
}

.footer-legal { display: flex; gap: 20px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Языковые варианты строк интерфейса (класс lang-en / lang-de на body)
   -------------------------------------------------------------------------- */

.only-en, .only-de, .only-latin { display: none; }
.lang-en .only-ru, .lang-de .only-ru { display: none; }
.lang-en .only-en, .lang-de .only-de { display: inline; }
.lang-en .only-latin, .lang-de .only-latin { display: inline; }
.error-latin { font-size: 0.9em; opacity: 0.75; }

.brand.only-en, .brand.only-de { display: none; }
.lang-en .brand.only-en, .lang-de .brand.only-de { display: flex; }
.lang-en .brand.only-ru, .lang-de .brand.only-ru { display: none; }

/* --------------------------------------------------------------------------
   Лайтбокс
   -------------------------------------------------------------------------- */

.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(8, 12, 11, 0.94);
    display: grid;
    place-items: center;
    padding: 28px;
    cursor: zoom-out;
    animation: lb-in 0.18s ease;
}

.lb-overlay img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }

@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    :is(.home-template, .lang-en:not(.paged), .lang-de:not(.paged)) .post-grid > .post-card:first-child { grid-template-columns: 1fr; gap: 22px; }
    .footer-nav ul { justify-content: start; grid-template-columns: repeat(2, auto); }
}

@media (max-width: 760px) {
    :root { --pad: 20px; }

    .header-inner { height: 64px; gap: 14px; }
    .header-cta { display: none; }
    .nav-toggle { display: inline-flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 10px var(--pad) 18px;
    }

    .nav-open .site-nav { display: block; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav a { display: block; padding: 10px 0; font-size: 1.05rem; }

    .hero { min-height: 66vh; }
    .hero-inner { padding-bottom: 52px; }

    .site-main.container { padding-top: 44px; padding-bottom: 64px; }
    .post-grid { grid-template-columns: 1fr; gap: 48px; }

    .post-header { padding-top: 48px; }
    .post-content p, .post-content ul, .post-content ol { font-size: 1.09rem; }
    .gh-content { padding-top: 40px; }

    .post-nav { grid-template-columns: 1fr; gap: 28px; }
    .post-nav-next { text-align: left; grid-column: 1; }

    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 6px; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
