/*
Theme Name: dds_wikiargo.ru
Theme URI: https://wikiargo.ru/
Author: Алексей Невзоров
Description: «Арго: Стальной компас» — строгая академичная тема для мультипредметной энциклопедии. Холодная стальная гамма, янтарный акцент, швейцарская типографика.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: argocomp
*/

:root {
    --bg: #F4F6F8;
    --bg-alt: #E8ECF0;
    --night: #1E2A3A;
    --paper: #FFFFFF;
    --ink: #1C2530;
    --amber: #D97706;
    --amber-deep: #B45309;
    --blue: #3B82F6;
    --muted: #64748B;
    --rule: #D1D9E0;
    --head: "Inter", "Manrope", "Helvetica Neue", Arial, sans-serif;
    --serif: "Source Serif 4", "Lora", Georgia, "Times New Roman", serif;
}

.cookie-banner[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.0625rem;
    line-height: 1.7;
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(45deg, rgba(30,42,58,.03) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(-45deg, rgba(30,42,58,.03) 0 1px, transparent 1px 20px);
}
body::before {
    content: "";
    position: fixed;
    right: -40px;
    bottom: -40px;
    width: 380px;
    height: 380px;
    z-index: -1;
    pointer-events: none;
    opacity: .04;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%231E2A3A' stroke-width='1.2'%3E%3Ccircle cx='100' cy='100' r='95'/%3E%3Ccircle cx='100' cy='100' r='78'/%3E%3Ccircle cx='100' cy='100' r='40'/%3E%3Cpath d='M100 5v190M5 100h190M33 33l134 134M167 33L33 167'/%3E%3Cpath d='M100 20l12 80-12 80-12-80z'/%3E%3Cpath d='M20 100l80-12 80 12-80 12z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

img { max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--head);
    color: var(--ink);
    line-height: 1.25;
    margin: 1.6em 0 .6em;
    font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
.entry-content h2::before, .entry-content h3::before,
.page-title + h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: .55em;
    vertical-align: .2em;
    background: var(--amber);
    border-radius: 50%;
}

a { color: var(--blue); text-decoration: none; }
.entry-content a, .page-lead a, .widget a, .card-title a, .crumbs a, .card-more, .talk a {
    background-image: linear-gradient(var(--amber), var(--amber));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0;
    transition: background-size .2s ease, color .2s ease;
    padding-bottom: 1px;
}
.entry-content a:hover, .page-lead a:hover, .widget a:hover, .card-title a:hover, .crumbs a:hover, .card-more:hover, .talk a:hover {
    background-size: 100% 2px;
}

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 1px solid var(--rule); background: var(--paper); }
th, td { border: 1px solid var(--rule); padding: .6em .8em; text-align: left; }
th { font-family: var(--head); font-size: .9rem; background: var(--bg-alt); }
blockquote {
    margin: 1.5em 0;
    padding: 1.2em 1.5em;
    border-left: 3px solid var(--amber);
    background: var(--paper);
    font-style: italic;
}
pre { overflow-x: auto; background: var(--night); color: #E2E8F0; padding: 1em 1.2em; border-radius: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: min(92%, 1180px); margin-inline: auto; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    font-family: var(--head);
    font-size: .95rem;
    font-weight: 600;
    padding: .8em 1.5em;
    border-radius: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.2;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-fill { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-fill:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: #fff; transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

/* ---------- Шапка ---------- */
.flag-strip { display: flex; height: 4px; }
.flag-strip span { flex: 1; }
.flag-strip span:nth-child(1) { background: var(--amber); }
.flag-strip span:nth-child(2) { background: var(--blue); }
.flag-strip span:nth-child(3) { background: #0F1824; }
.masthead { background: var(--night); color: #E2E8F0; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.1rem 0; }
.brand { display: flex; align-items: center; gap: 1rem; color: #fff; min-width: 0; }
.brand-mark { flex: 0 0 auto; display: block; }
.brand-logo, .brand-svg { display: block; width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
    font-family: var(--head);
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.35;
    color: #fff;
    max-width: 62ch;
}
.brand-desc {
    font-size: .8rem;
    line-height: 1.45;
    color: #94A3B8;
    margin-top: .25rem;
    max-width: 90ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nav-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 2px;
    color: #fff;
    font-family: var(--head);
    font-size: .85rem;
    padding: .5rem .8rem;
    cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.primary-nav { border-top: 1px solid rgba(255,255,255,.08); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav-list li { position: relative; }
.nav-list a {
    display: block;
    font-family: var(--head);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #E2E8F0;
    padding: .95rem 1.2rem .95rem 0;
    margin-right: 1.2rem;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color .2s ease, box-shadow .2s ease;
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.nav-list .sub-menu { list-style: none; margin: 0; padding: .4rem 0; position: absolute; left: 0; top: 100%; min-width: 220px; background: #16202D; display: none; z-index: 20; }
.nav-list li:hover > .sub-menu { display: block; }
.nav-list .sub-menu a { padding: .6rem 1rem; margin: 0; text-transform: none; letter-spacing: 0; }

/* ---------- Хлебные крошки ---------- */
.page-shell { padding: 2rem 0 4rem; }
.crumbs { font-family: var(--head); font-size: .82rem; color: var(--muted); margin-bottom: 1.8rem; }
.crumbs-sep { color: var(--amber); margin: 0 .35em; }
.crumbs span:last-child { color: var(--ink); }

/* ---------- Раскладки ---------- */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    justify-content: space-between;
    column-gap: 6%;
    align-items: start;
}
.layout-single { display: block; width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
.page-head { margin-bottom: 2rem; }
.page-title { font-size: 2.4rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.page-lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.empty-note { color: var(--muted); }

/* ---------- Сайдбар ---------- */
.sidebar {
    min-width: 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 1.6rem 1.5rem;
    color: var(--ink);
}
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink);
    margin: 0 0 1rem;
    padding-top: .7rem;
    border-top: 2px solid var(--amber);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .6rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--ink); }
.sidebar a:hover { color: var(--blue); }
.sidebar .post-date { display: block; font-family: var(--head); font-size: .75rem; color: var(--muted); margin-top: .2rem; }
.sidebar .textwidget, .sidebar p { color: var(--ink); }

/* ---------- Карточки ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.card-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30, 42, 58, .08);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--amber); box-shadow: 0 4px 16px rgba(217, 119, 6, .15); transform: translateY(-2px); }
.card-thumb { display: block; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.3rem 1.4rem 1.4rem; min-width: 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: var(--head); font-size: .75rem; color: var(--muted); margin-bottom: .7rem; }
.card-title { font-size: 1.15rem; margin: 0 0 .6rem; line-height: 1.35; }
.card-title a { color: var(--ink); }
.card-excerpt { color: #334155; font-size: .96rem; flex: 1; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-more { align-self: flex-start; font-family: var(--head); font-size: .85rem; font-weight: 600; margin-top: .6rem; }

.topic-tag {
    display: inline-block;
    font-family: var(--head);
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    padding: .28em .6em;
    border-radius: 2px;
    line-height: 1.3;
}
.topic-tag:hover { color: #fff; opacity: .88; }
.tone-blue { background: var(--blue); }
.tone-amber { background: var(--amber); }
.tone-slate { background: var(--muted); }
.tone-night { background: var(--night); }

/* ---------- Пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2.6rem; font-family: var(--head); }
.pager .page-numbers, .pager > span, .pager > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .85rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
    background: var(--paper);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.pager a.page-numbers:hover { border-color: var(--amber); color: var(--amber); }
.pager .page-numbers.current { background: var(--night); border-color: var(--night); color: #fff; }
.pager .page-numbers.dots { border: 0; background: none; min-width: auto; padding: 0 .3rem; }

/* ---------- Запись ---------- */
.entry-head { margin-bottom: 1.5rem; }
.entry-cover { margin: 0 0 2rem; }
.entry-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.entry-content { font-size: 1.08rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; font-family: var(--head); font-size: .85rem; }
.entry-tags a { border: 1px solid var(--rule); padding: .25em .7em; border-radius: 2px; background: var(--paper); }
.post-navigation { margin: 2.5rem 0; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { display: block; color: var(--ink); }
.nav-dir { display: block; font-family: var(--head); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--amber); }
.nav-name { font-family: var(--head); font-weight: 600; }

/* ---------- Комментарии ---------- */
.talk { margin-top: 2.5rem; }
.talk-title { font-size: 1.3rem; }
.talk-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.talk-list .children { list-style: none; padding-left: 1.5rem; }
.talk-list .comment-body { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.talk-list .comment-meta { font-family: var(--head); font-size: .8rem; color: var(--muted); }
.talk-list .avatar { float: left; margin-right: .7rem; border-radius: 2px; }
.comment-respond { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 1.6rem 1.6rem; }
.comment-form label { display: block; font-family: var(--head); font-size: .85rem; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .seek-field {
    width: 100%;
    font: inherit;
    padding: .7em .9em;
    border: 1px solid var(--rule);
    border-radius: 2px;
    background: #fff;
    color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus, .seek-field:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }

/* ---------- Поиск и 404 ---------- */
.seek { display: flex; gap: .5rem; max-width: 520px; }
.seek-field { flex: 1; min-width: 0; }
.lost { text-align: center; padding: 2rem 0; }
.lost .seek { margin: 1.5rem auto; }
.lost-code { font-family: var(--head); font-size: 6rem; font-weight: 800; color: var(--amber); line-height: 1; margin: 0; }

/* ---------- Главная ---------- */
.front-wrap { width: 85%; margin-left: auto; margin-right: auto; }
.band { position: relative; padding: 80px 0; }
.band::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    width: 64px;
    height: 2px;
    background-image: radial-gradient(circle, var(--amber) 1px, transparent 1.2px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
}
.band-main { background: var(--bg); }
.band-main + .band-main, .band-alt + .band-main { border-top: 1px solid var(--rule); }
.band-alt { background: var(--bg-alt); }
.band-dark {
    background-color: var(--night);
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 20px);
    color: #CBD5E1;
}
.sect-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 1.4rem;
    padding-top: 1rem;
    border-top: 2px solid var(--amber);
}
.band-dark .sect-title { color: #fff; }
.sect-lead { color: var(--muted); max-width: 60ch; margin-bottom: 2.4rem; }
.band-link { margin: 2.2rem 0 0; }

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0F1824;
    color: #fff;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(15,24,36,.88) 0%, rgba(30,42,58,.62) 55%, rgba(30,42,58,.3) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 4rem 0; }
.hero-kicker {
    font-family: var(--head);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--amber);
    margin-bottom: 1rem;
}
.hero-title { font-size: 3.5rem; line-height: 1.08; color: #fff; margin: 0 0 1.2rem; max-width: 14ch; letter-spacing: -.02em; font-weight: 800; }
.hero-sub { color: #CBD5E1; font-size: 1.15rem; max-width: 56ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero .btn-line { color: #93C5FD; border-color: var(--blue); }
.hero .btn-line:hover { color: #fff; }
.hero-compass { position: absolute; right: 4%; bottom: 6%; width: 220px; height: 220px; z-index: 1; opacity: .35; }

.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route-step { padding: 0 1.8rem; border-left: 1px solid var(--rule); min-width: 0; }
.route-step:first-child { padding-left: 0; border-left: 0; }
.route-num { display: block; font-family: var(--head); font-size: 3rem; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: .8rem; }
.route-name { font-size: 1.05rem; margin: 0 0 .5rem; }
.route-step p { color: #334155; font-size: .96rem; margin: 0; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact {
    text-align: center;
    padding: .8rem 1rem;
    min-width: 0;
    background-image: radial-gradient(circle, rgba(217,119,6,.7) 1px, transparent 1.3px);
    background-size: 2px 8px;
    background-repeat: repeat-y;
    background-position: left center;
}
.fact:first-child { background-image: none; }
.fact-num { display: block; font-family: var(--head); font-size: 2.5rem; font-weight: 800; color: var(--amber); line-height: 1.1; }
.fact-label { display: block; font-family: var(--head); font-size: .85rem; color: #94A3B8; margin-top: .35rem; }

.faq { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.2rem 0;
    transition: color .2s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--amber); }
.faq-icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 2px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 10px; transition: opacity .2s ease; }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-a { padding: 0 0 1.3rem 2.25rem; font-family: var(--serif); color: var(--ink); }
.faq-item[open] .faq-a { animation: argoFaq .3s ease; }
.faq-a p { margin: 0; }
@keyframes argoFaq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Подвал ---------- */
.colophon { background: var(--night); color: #CBD5E1; margin-top: 0; }
.colophon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; padding: 3.5rem 0 2.5rem; }
.colophon-col { min-width: 0; }
.colophon .widget { margin-bottom: 1.5rem; color: #CBD5E1; font-size: .95rem; }
.colophon .widget-title {
    color: #fff;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 1rem;
    padding-top: .7rem;
    border-top: 2px solid var(--amber);
}
.colophon .textwidget, .colophon p { color: #CBD5E1; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { padding: .35rem 0; }
.colophon a { color: #E2E8F0; }
.colophon a:hover { color: var(--amber); }
.colophon .post-date { color: #94A3B8; }
.colophon-base { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-family: var(--head); font-size: .8rem; color: #94A3B8; }

/* ---------- Cookie ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    max-width: 880px;
    margin: 0 auto;
    padding: 1rem 1.4rem;
    background: var(--night);
    color: #E2E8F0;
    border-top: 3px solid var(--amber);
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(15, 24, 36, .3);
}
.cookie-text { margin: 0; font-size: .9rem; line-height: 1.5; }
.cookie-accept { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
    .layout-single, .front-wrap { width: 100%; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .route-step:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
    .fact:nth-child(4) { background-image: none; }
    .colophon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-title { font-size: 2.8rem; }
    .hero-compass { width: 160px; height: 160px; }
    .front-wrap { width: 92%; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .masthead-inner { flex-wrap: wrap; }
    .brand-desc { display: none; }
    .brand-name { font-size: .85rem; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { display: none; }
    .primary-nav.is-open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list a { margin-right: 0; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
    .nav-list .sub-menu { position: static; display: block; background: none; padding-left: 1rem; }
    .band { padding: 56px 0; }
    .card-grid, .card-grid-two { grid-template-columns: minmax(0, 1fr); }
    .route { grid-template-columns: minmax(0, 1fr); }
    .route-step { padding: 0 0 0 1.2rem; border-left: 1px solid var(--rule); }
    .route-step:first-child, .route-step:nth-child(3) { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact, .fact:first-child, .fact:nth-child(4) { background-image: none; }
    .hero { min-height: 0; }
    .hero-inner { padding: 3.5rem 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-compass { display: none; }
    .page-title { font-size: 1.8rem; }
    .sidebar { padding: 1.3rem 1.2rem; }
    .colophon-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem 1.2rem; }
    .comment-respond { padding: 1.2rem 1.2rem; }
    .seek { flex-direction: column; }
    .post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); }
    .post-navigation .nav-next { text-align: left; }
}
