/*
Theme Name: dds_13thstreetentertainment.com
Author: Дмитрий Воронов
Description: Тема для информационного портала о личных финансах и управлении недвижимостью.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: finhome
*/

:root {
    --bg: #F0F6FC;
    --bg-alt: #E4EEF5;
    --deep: #0B1A2E;
    --ink: #132C42;
    --accent: #0077BE;
    --accent-2: #40B4E5;
    --muted: #738FA0;
    --panel: #D7E4EE;
    --sans: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --serif: "Spectral", "Merriweather", Georgia, "Times New Roman", serif;
}

*, *::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: 17px;
    line-height: 1.7;
    background-color: var(--bg);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cpath d='M40 300c30-70 90-120 170-150 60-22 120-18 175-52 45-28 105-30 150 4 42 32 55 92 30 145-24 51-82 78-145 92-70 16-140 30-210 18-64-11-100-30-120-57-14-19-16-40-10-60z' fill='%230077BE' fill-opacity='0.10'/%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 0, rgba(11,26,46,0) 8px, rgba(11,26,46,.05) 9px, rgba(11,26,46,0) 10px),
        radial-gradient(circle at 50% 0, rgba(11,26,46,0) 8px, rgba(11,26,46,.05) 9px, rgba(11,26,46,0) 10px);
    background-repeat: no-repeat, repeat, repeat;
    background-position: right -60px bottom -40px, 0 0, 9px 9px;
    background-size: 640px auto, 18px 18px, 18px 18px;
    background-attachment: fixed, scroll, scroll;
}

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

a { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sans);
    color: var(--deep);
    text-align: left;
    letter-spacing: .01em;
    line-height: 1.2;
    margin: 0 0 .7em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

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

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

/* --- служебные декоративные элементы --- */
.horizon-mark {
    display: block;
    width: 110px;
    height: 4px;
    border-radius: 4px;
    background: var(--accent);
    margin: 0 0 1.4rem;
}

.section-title {
    position: relative;
    margin-bottom: 1.6rem;
}
.section-title::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background: var(--accent);
    margin-top: .55rem;
}

/* --- кнопки --- */
.btn {
    display: inline-block;
    padding: .8rem 1.7rem;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 2px;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease;
}
.btn:hover,
.btn:focus {
    background: var(--accent-2);
    color: #fff;
    box-shadow: inset 0 -8px 14px -8px rgba(11,26,46,.55);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-ghost:hover,
.btn-ghost:focus {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
}

/* --- текстовые ссылки --- */
.entry-content a,
.card-excerpt a,
.widget-area a,
.breadcrumbs a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .16s ease, text-decoration-color .16s ease;
}
.entry-content a:hover,
.card-excerpt a:hover,
.widget-area a:hover,
.breadcrumbs a:hover {
    color: var(--accent-2);
    text-decoration-thickness: 2px;
}

/* --- шапка --- */
.site-head {
    background: var(--deep);
    color: #E8F1F8;
    border-bottom: 3px solid var(--accent);
}
.head-inner {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.3rem 0;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    flex: 1 1 320px;
    text-decoration: none;
    color: inherit;
}
.brand-logo, .brand-mark { flex: 0 0 auto; display: block; }
.brand-mark { width: 46px; height: 46px; }
.brand-logo { max-height: 56px; width: auto; }
.brand-text { min-width: 0; }
.brand-name {
    display: block;
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    max-width: 46ch;
}
.brand-desc {
    display: block;
    margin-top: .3rem;
    font-size: .82rem;
    line-height: 1.5;
    color: #9DB6C8;
    max-width: 62ch;
}

.nav-toggle {
    display: none;
    padding: .55rem 1rem;
    background: transparent;
    border: 1px solid #375068;
    color: #E8F1F8;
    border-radius: 2px;
    font-family: var(--sans);
    font-size: .9rem;
    cursor: pointer;
}

.nav-main ul {
    display: flex;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.nav-main a {
    display: inline-block;
    padding: .3rem 0;
    color: #DCEAF4;
    font-family: var(--sans);
    font-size: .95rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .16s ease, border-color .16s ease;
}
.nav-main a:hover,
.nav-main .current-menu-item > a {
    color: #fff;
    border-bottom-color: var(--accent-2);
}

/* --- хлебные крошки --- */
.breadcrumbs {
    padding: 1rem 0 .2rem;
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--muted);
}
.breadcrumbs .sep { margin: 0 .45rem; color: var(--accent); }

/* --- раскладки --- */
.site-main { padding: 1.6rem 0 3.5rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 6%;
    align-items: start;
}
.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.content-area { min-width: 0; }

/* --- сайдбар --- */
.sidebar {
    min-width: 0;
    background: var(--panel);
    padding: 1.5rem 1.4rem;
    border-top: 3px solid var(--accent);
}
.sidebar .widget { margin-bottom: 1.8rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    font-size: 1.05rem;
    color: var(--deep);
    margin-bottom: .9rem;
}
.sidebar .widget-title::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background: var(--accent);
    margin-top: .5rem;
}
.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar li { margin-bottom: .7rem; line-height: 1.45; }
.sidebar a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,119,190,.4);
}
.sidebar a:hover { color: var(--accent); border-bottom-color: var(--accent-2); }
.sidebar .post-date,
.sidebar .rss-date { display: block; color: #4C687C; font-size: .8rem; }
.sidebar p, .sidebar .textwidget { color: var(--ink); }

/* --- карточки записей --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.8rem;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(11,26,46,.08), 0 4px 8px rgba(11,26,46,.08);
    transition: transform .18s ease, box-shadow .18s ease;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .2s ease;
    z-index: 2;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 0 rgba(11,26,46,.08), 0 10px 18px rgba(11,26,46,.14);
}
.card:hover::before { transform: scaleY(1); }

.card-thumb-wrap { display: block; overflow: hidden; }
.card-thumb-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.2rem 1.3rem 1.4rem;
}
.card-title {
    font-size: 1.13rem;
    margin: 0 0 .6rem;
}
.card-title a { color: var(--deep); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-meta {
    font-family: var(--sans);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .7rem;
}
.card-excerpt { color: #33506A; font-size: .96rem; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-actions { margin-top: auto; padding-top: 1rem; }
.card-actions .btn { padding: .6rem 1.2rem; font-size: .85rem; }

/* --- главная: секции --- */
.front-section { padding: 3.2rem 0; position: relative; }
.front-section.is-alt { background: var(--bg-alt); }
.front-section.has-waterline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 14c120-16 220 12 340 10 130-2 200-22 330-16 120 5 180 24 300 20 90-3 150-16 230-22' fill='none' stroke='%23D7E4EE' stroke-width='3'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1200px 24px;
    pointer-events: none;
}
.front-width { width: 85%; margin-left: auto; margin-right: auto; }

/* блок 1 — hero */
.fs-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--deep);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,26,46,.92) 0%, rgba(11,26,46,.78) 45%, rgba(11,26,46,.30) 100%);
}
.hero-inner {
    position: relative;
    padding: 5.5rem 0 5rem;
}
.hero-box { max-width: 46rem; min-width: 0; }
.hero-kicker {
    font-family: var(--sans);
    font-size: .8rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin: 0 0 1rem;
}
.hero-title {
    font-size: 4rem;
    color: #fff;
    margin: 0 0 1.1rem;
}
.hero-text {
    color: #C9DCEA;
    font-size: 1.08rem;
    max-width: 40rem;
    margin-bottom: 1.9rem;
}
.hero-line {
    display: block;
    width: 160px;
    height: 4px;
    border-radius: 4px;
    background: var(--accent-2);
    margin-bottom: 1.6rem;
}

/* блок 2 — статистика */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 2rem;
}
.stat-tile {
    min-width: 0;
    padding: 0 1.6rem;
    border-left: 1px solid #C4D6E3;
}
.stat-tile:first-child { border-left: 0; padding-left: 0; }
.stat-num {
    font-family: var(--sans);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}
.stat-label {
    font-family: var(--sans);
    font-size: .88rem;
    color: var(--muted);
    margin-top: .7rem;
    line-height: 1.45;
}
.gauge {
    height: 6px;
    background: #C9DBE8;
    margin-top: 1rem;
    border-radius: 2px;
    overflow: hidden;
}
.gauge span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* блок «последние записи» */
.fs-latest .latest-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.fs-latest .latest-head .section-title { margin-bottom: 0; }

/* блок 3 — чек-лист */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
    position: relative;
    padding: 1.1rem 0 1.1rem 3.4rem;
    border-bottom: 1px solid #CEDDE8;
    font-size: 1.08rem;
    min-width: 0;
}
.checklist li:last-child { border-bottom: 0; }
.buoy {
    position: absolute;
    left: 0;
    top: 1.35rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--deep);
    background-image: repeating-linear-gradient(135deg, var(--accent) 0 5px, #EAF4FA 5px 10px);
}
.checklist strong {
    display: block;
    font-family: var(--sans);
    font-size: .96rem;
    color: var(--deep);
}
.checklist span { color: #3B5871; font-size: .98rem; }

/* блок 4 — карта тем */
.topic-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}
.topic-tile {
    display: block;
    min-width: 0;
    padding: 2rem 1.7rem;
    background: #fff;
    border-radius: 0;
    text-decoration: none;
    box-shadow: 0 2px 0 rgba(11,26,46,.08), 0 4px 8px rgba(11,26,46,.08);
    transition: background .2s ease, transform .2s ease;
}
.topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--accent);
    margin-bottom: 1.2rem;
}
.topic-icon svg { width: 30px; height: 30px; display: block; }
.topic-name {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: .5rem;
}
.topic-note { color: #3B5871; font-size: .96rem; }
.topic-tile:hover { background: var(--accent); transform: translateY(-4px); }
.topic-tile:hover .topic-name,
.topic-tile:hover .topic-note { color: #fff; }
.topic-tile:hover .topic-icon { background: #fff; }
.topic-tile:hover .topic-icon svg { stroke: var(--accent); }

/* акцентная заливка секций */
.front-section.is-alt {
    background-image: linear-gradient(120deg, rgba(0,119,190,.03), rgba(64,180,229,.03));
}

/* --- запись и страница --- */
.entry-head { margin-bottom: 1.6rem; }
.entry-title { font-size: 2.3rem; margin-bottom: .6rem; }
.entry-meta {
    font-family: var(--sans);
    font-size: .84rem;
    color: var(--muted);
    letter-spacing: .03em;
}
.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; height: auto; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.6rem; }
.entry-content img { display: block; height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content blockquote {
    margin: 1.8rem 0;
    padding: 1.4rem 1.6rem;
    background: var(--panel);
    border-left: 4px solid var(--accent);
    font-style: italic;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6rem 0;
}
.entry-content table,
.entry-content th,
.entry-content td { border: 1px solid #B9CEDD; }
.entry-content th, .entry-content td { padding: .7rem .9rem; text-align: left; }
.entry-content th { background: var(--panel); font-family: var(--sans); }

.entry-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 0;
    padding-top: 1.4rem;
    border-top: 1px solid #C4D6E3;
    font-family: var(--sans);
    font-size: .92rem;
}
.entry-nav a { color: var(--accent); text-decoration: none; }
.entry-nav a:hover { color: var(--accent-2); }

.page-head { margin-bottom: 1.8rem; }

/* --- пагинация --- */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 2.6rem;
}
.pager .page-numbers {
    display: inline-block;
    padding: .55rem 1rem;
    background: #fff;
    color: var(--ink);
    font-family: var(--sans);
    font-size: .92rem;
    text-decoration: none;
    border: 1px solid #C4D6E3;
    border-radius: 2px;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.pager .page-numbers:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
}
.pager .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pager .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}

/* --- поиск --- */
.search-form {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin: 0 0 1.2rem;
}
.search-form input[type="search"] {
    flex: 1 1 200px;
    min-width: 0;
    padding: .7rem .9rem;
    border: 1px solid #B9CEDD;
    border-radius: 2px;
    background: #fff;
    color: var(--ink);
    font-family: var(--serif);
    font-size: .98rem;
}
.search-form input[type="search"]:focus {
    outline: 2px solid var(--accent-2);
    outline-offset: 1px;
}

/* --- комментарии --- */
.comments-area { margin-top: 3rem; }
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list ul.children { list-style: none; padding-left: 1.6rem; }
.comment-body {
    background: #fff;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 0 rgba(11,26,46,.08), 0 4px 8px rgba(11,26,46,.08);
}
.comment-meta {
    font-family: var(--sans);
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .5rem;
}
.comment-author-name { color: var(--deep); font-weight: 700; }
.comment-respond { margin-top: 2rem; }
.comment-form label {
    display: block;
    font-family: var(--sans);
    font-size: .88rem;
    margin-bottom: .3rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .7rem .9rem;
    margin-bottom: 1rem;
    border: 1px solid #B9CEDD;
    border-radius: 2px;
    background: #fff;
    color: var(--ink);
    font-family: var(--serif);
    font-size: .98rem;
}
.comment-form textarea { min-height: 150px; }
.comment-form .submit {
    display: inline-block;
    padding: .8rem 1.7rem;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 2px;
    font-family: var(--sans);
    font-weight: 600;
    cursor: pointer;
}
.comment-form .submit:hover { background: var(--accent-2); }

/* --- 404 --- */
.error-box { padding: 2.4rem 2rem; background: #fff; box-shadow: 0 2px 0 rgba(11,26,46,.08), 0 4px 8px rgba(11,26,46,.08); }
.error-code {
    font-family: var(--sans);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .6rem;
}

/* --- подвал --- */
.site-foot {
    background: var(--deep);
    color: #C3D6E4;
    border-top: 3px solid var(--accent);
    padding: 3rem 0 1.6rem;
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.foot-col { min-width: 0; }
.site-foot .widget-title {
    font-family: var(--sans);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}
.site-foot .widget-title::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background: var(--accent-2);
    margin-top: .5rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .6rem; }
.site-foot a {
    color: #C3D6E4;
    text-decoration: none;
    border-bottom: 1px solid rgba(64,180,229,.4);
}
.site-foot a:hover { color: #fff; border-bottom-color: var(--accent-2); }
.site-foot p, .site-foot .textwidget { color: #B7CCDC; font-size: .95rem; }
.site-foot .post-date, .site-foot .rss-date { color: #8FA9BC; font-size: .8rem; }
.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid #1D3450;
    font-family: var(--sans);
    font-size: .84rem;
    color: #86A0B4;
}
.foot-contact { margin-top: 1rem; font-size: .9rem; }
.foot-contact a { color: var(--accent-2); }

/* --- cookie-баннер --- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
    padding: 1rem 1.6rem;
    background: #0B1A2E;
    border-top: 3px solid var(--accent);
    color: #D6E5F0;
    font-size: .92rem;
}
.cookie-banner p { margin: 0; min-width: 0; }
.cookie-banner a { color: var(--accent-2); }

/* --- адаптив --- */
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .layout-single, .front-width { width: 100%; }
    .hero-title { font-size: 2.9rem; }
    h1 { font-size: 2rem; }
    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .stat-tile:nth-child(3) { border-left: 0; padding-left: 0; }
    .topic-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .head-inner { padding: 1rem 0; gap: 1rem; }
    .nav-toggle { display: inline-block; }
    .nav-main { flex: 1 1 100%; display: none; }
    .nav-main.is-open { display: block; }
    .nav-main ul { flex-direction: column; gap: .2rem; }
    .nav-main a { padding: .55rem 0; }
    .hero-inner { padding: 3.4rem 0 3rem; }
    .hero-title { font-size: 2.2rem; }
    .front-section { padding: 2.4rem 0; }
    .stats-row { grid-template-columns: minmax(0, 1fr); }
    .stat-tile { border-left: 0; padding: 0; }
    .topic-map { grid-template-columns: minmax(0, 1fr); }
    .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .entry-title { font-size: 1.7rem; }
    .checklist li { padding-left: 2.9rem; font-size: 1rem; }
    .topic-tile { padding: 1.6rem 1.4rem; }
    .cookie-banner { padding: .9rem 1.1rem; font-size: .88rem; }
}
