/*
Theme Name: dds_ippolact.ru
Theme URI: https://ippolact.ru/
Author: Седов Давид Седов Давид
Description: Информационная тема о покупке жилья. Японский минимализм, холодная палитра, архитектурная графика.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ddsipp
*/

/* ---------- Переменные ---------- */
:root {
    --c-bg: #F4F7FA;
    --c-bg-alt: #EBF0F5;
    --c-top: #1A2A3A;
    --c-foot: #0F1A24;
    --c-side: #FFFFFF;
    --c-text: #1E2A36;
    --c-accent: #2B7A8C;
    --c-gold: #D9A066;
    --c-muted: #7A8B99;
    --c-line: #DDE5EC;
    --c-card-hover: #FAFCFD;
    --grid-line: rgba(30, 42, 54, 0.03);
    --pattern: repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 40px),
               repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 40px);
    --tower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='260' viewBox='0 0 320 260'%3E%3Cg fill='%231E2A36'%3E%3Crect x='10' y='90' width='70' height='170'/%3E%3Crect x='92' y='40' width='90' height='220'/%3E%3Crect x='194' y='120' width='54' height='140'/%3E%3Crect x='258' y='70' width='52' height='190'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Скрытие через атрибут hidden ---------- */
.cookie-note[hidden] { display: none !important; }
.primary-nav[hidden] { display: none !important; }

/* ---------- База ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.012em;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--c-accent);
    text-decoration: none;
    position: relative;
}

.entry-content a::after,
.card-title a::after,
.widget a::after,
.nav-list a::after,
.crumbs a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.entry-content a:hover::after,
.card-title a:hover::after,
.widget a:hover::after,
.nav-list a:hover::after,
.crumbs a:hover::after { transform: scaleX(1); }

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: left;
    color: var(--c-text);
    margin: 0 0 0.7em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

/* «Точка Давида» */
h2::after,
h3::after {
    content: ".";
    color: var(--c-gold);
    font-weight: 700;
    font-size: 1.25em;
    line-height: 0;
}

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--c-line);
}
th, td {
    border: 1px solid var(--c-line);
    padding: 0.7em 0.9em;
    text-align: left;
}
th { background: var(--c-bg-alt); font-weight: 600; }

blockquote {
    margin: 1.8em 0;
    padding: 1.6rem 1.8rem;
    background: var(--c-bg-alt);
    border-left: 2px solid var(--c-accent);
    clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
    font-size: 1.05rem;
}
blockquote p:last-child { margin-bottom: 0; }

code, pre {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.92em;
    background: var(--c-bg-alt);
}
pre { padding: 1rem 1.2rem; overflow-x: auto; }

/* ---------- Контейнеры ---------- */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

.fs-inner {
    width: min(85%, 1180px);
    margin-inline: auto;
}

.site-main { display: block; padding-bottom: 3.5rem; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    border-radius: 0;
    border: 2px solid var(--c-accent);
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-indent: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, text-indent 0.2s ease;
}
.btn::after { display: none; }

.btn-solid { background: var(--c-accent); color: #fff; }
.btn-solid:hover { background: #FAFCFD; color: var(--c-accent); text-indent: 2px; }

.btn-line { background: transparent; color: var(--c-accent); }
.btn-line:hover { background: var(--c-accent); color: #fff; text-indent: 2px; }

/* ---------- Шапка ---------- */
.site-top {
    background-color: var(--c-top);
    background-image: var(--pattern);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-top-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    padding: 1.4rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    flex: 1 1 320px;
}

.brand-link { display: block; line-height: 0; }
.brand-link::after { display: none; }
.brand-logo, .brand-mark { display: block; width: 52px; height: 52px; }

.brand-text { min-width: 0; display: flex; flex-direction: column; }

.brand-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.brand-desc {
    color: #9DB0C0;
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.primary-nav { flex: 0 1 auto; }

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
}
.nav-list li { margin: 0; }
.nav-list a {
    color: #DCE6EE;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}
.nav-list a:hover { color: #fff; }
.nav-list .current-menu-item > a { color: var(--c-gold); }

/* ---------- Хлебные крошки ---------- */
.crumbs {
    padding: 1.4rem 0 0.2rem;
    font-size: 0.85rem;
    color: var(--c-muted);
}
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-accent); }
.crumbs .sep { margin: 0 0.45rem; color: var(--c-line); }

/* ---------- Раскладки ---------- */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
    padding: 1.6rem 0 0;
}

.layout-single { display: block; padding: 1.6rem 0 0; }
.layout-single .content-area {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.content-area { min-width: 0; }

.sidebar {
    min-width: 0;
    background: var(--c-side);
    border: 1px solid var(--c-line);
    box-shadow: 0 1px 10px rgba(30, 42, 54, 0.05);
    padding: 1.6rem 1.5rem;
    color: var(--c-text);
}

/* ---------- Заголовок раздела ---------- */
.head-mark {
    position: relative;
    padding-left: 2.6rem;
}
.head-mark::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 1.6rem;
    height: 1px;
    background: #1E2A36;
}

.page-head { padding: 1.4rem 0 0.6rem; }
.page-head h1 { font-size: 2.4rem; }

/* ---------- Карточки записей ---------- */
.card-list { display: block; }

.card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: 0;
    box-shadow: none;
    padding: 1.6rem 1.7rem;
    margin-bottom: 1.6rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.card:hover { border-color: var(--c-accent); background-color: var(--c-card-hover); }

.card-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
    flex: 1;
}

.card-thumb-wrap {
    flex: 0 0 33%;
    position: relative;
    overflow: hidden;
    min-height: 190px;
}
.card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.card-thumb-wrap a::after { display: none; }
.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.card-title { font-size: 1.35rem; margin: 0 0 0.5rem; }
.card-title::after { content: none; }
.card-title a { color: var(--c-text); }
.card-title a:hover { color: var(--c-accent); }

.card-meta {
    font-size: 0.82rem;
    color: var(--c-muted);
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
}
.card-meta .card-date { color: var(--c-gold); }

.card-excerpt { color: var(--c-text); font-size: 0.98rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }

.card-more { margin-top: auto; padding-top: 0.8rem; }

/* ---------- Пагинация ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2.2rem 0 1rem;
}
.pager .page-numbers {
    display: inline-block;
    border: 1px solid var(--c-line);
    border-radius: 0;
    padding: 0.5rem 0.95rem;
    font-size: 0.92rem;
    color: var(--c-text);
    background: #fff;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.pager .page-numbers::after { display: none; }
.pager a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pager .page-numbers.current {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}
.pager .page-numbers.dots { border-color: transparent; background: transparent; color: var(--c-muted); }

/* ---------- Запись и страница ---------- */
.entry-title { font-size: 2.6rem; margin-bottom: 0.6rem; }
.entry-meta {
    font-size: 0.85rem;
    color: var(--c-muted);
    letter-spacing: 0.04em;
    margin-bottom: 1.6rem;
}
.entry-meta .entry-date { color: var(--c-gold); }
.entry-thumb { margin-bottom: 1.6rem; }
.entry-thumb img { display: block; width: 100%; height: auto; }
.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img { display: block; height: auto; }
.entry-tags { margin: 2rem 0 0; font-size: 0.88rem; color: var(--c-muted); }

/* ---------- Комментарии ---------- */
.comments-area {
    margin-top: 3rem;
    border-top: 1px solid var(--c-line);
    padding-top: 1.8rem;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list li { margin-bottom: 1.2rem; }
.comment-body {
    border: 1px solid var(--c-line);
    padding: 1.2rem 1.4rem;
    background: #fff;
}
.comment-meta { font-size: 0.85rem; color: var(--c-muted); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--c-line);
    border-radius: 0;
    padding: 0.6rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--c-text);
}
.comment-form .submit {
    background: var(--c-accent);
    color: #fff;
    border: 2px solid var(--c-accent);
    border-radius: 0;
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    cursor: pointer;
}
.comment-form .submit:hover { background: #FAFCFD; color: var(--c-accent); }

/* ---------- Поиск ---------- */
.search-form { display: flex; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.search-form .search-field {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--c-line);
    border-radius: 0;
    padding: 0.65rem 0.9rem;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--c-text);
}
.search-form .search-submit {
    border: 2px solid var(--c-accent);
    border-radius: 0;
    background: var(--c-accent);
    color: #fff;
    padding: 0.65rem 1.3rem;
    font-size: 0.92rem;
    cursor: pointer;
}
.search-form .search-submit:hover { background: #FAFCFD; color: var(--c-accent); }

/* ---------- Виджеты ---------- */
.widget { margin-bottom: 1.8rem; }
.widget:last-child { margin-bottom: 0; }
.widget-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.9rem;
    letter-spacing: 0.02em;
}
.widget-title::after {
    content: ".";
    color: var(--c-gold);
    font-weight: 700;
    font-size: 1.25em;
    line-height: 0;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { margin-bottom: 0.7rem; line-height: 1.5; }

.sidebar .widget-title { color: var(--c-text); }
.sidebar .widget, .sidebar .widget p, .sidebar .widget li { color: var(--c-text); }
.sidebar .widget a { color: var(--c-text); }
.sidebar .widget a:hover { color: var(--c-accent); }
.sidebar .post-date, .sidebar .widget .rss-date { color: var(--c-muted); font-size: 0.82rem; display: block; }

/* ---------- Подвал ---------- */
.site-foot {
    background-color: var(--c-foot);
    background-image: var(--pattern);
    color: #C6D3DD;
    padding: 3rem 0 1.6rem;
    margin-top: 3rem;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.foot-col { min-width: 0; }
.foot-col .widget-title { color: #FFFFFF; }
.foot-col .widget,
.foot-col .widget p,
.foot-col .widget li,
.foot-col .widget .textwidget { color: #C6D3DD; font-size: 0.92rem; }
.foot-col .widget a { color: #DCE6EE; }
.foot-col .widget a:hover { color: var(--c-gold); }
.foot-col .post-date { color: #8FA3B4; font-size: 0.8rem; display: block; }

.foot-bottom {
    padding-top: 1.4rem;
    font-size: 0.85rem;
    color: #8FA3B4;
    letter-spacing: 0.03em;
}

/* ---------- Cookie ---------- */
.cookie-note {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--c-top);
    border-top: 2px solid var(--c-accent);
    padding: 1.1rem 1.6rem;
    color: #DCE6EE;
}
.cookie-text { margin: 0; font-size: 0.9rem; min-width: 0; }

/* ---------- Главная: общие секции ---------- */
.fs { padding: 4rem 0; }
.fs-alt { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }

.fs-head { margin-bottom: 2.2rem; }
.fs-head p { color: var(--c-muted); max-width: 62ch; margin: 0; }

.sq-divider {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.4rem 0;
    line-height: 1;
}
.sq-divider span {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    opacity: 0.2;
}

/* Блок 1 — Hero */
.fs-hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: var(--c-top);
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 26, 36, 0.92) 0%, rgba(26, 42, 58, 0.78) 55%, rgba(43, 122, 140, 0.45) 100%);
}
.hero-inner {
    position: relative;
    padding: 6rem 0 5rem;
}
.hero-title { color: #fff; font-size: 3.5rem; margin-bottom: 1rem; max-width: 16ch; }
.hero-sub {
    color: #C9D8E4;
    font-size: 1.1rem;
    max-width: 56ch;
    margin-bottom: 1.6rem;
}
.hero-rule {
    display: block;
    width: 180px;
    height: 6px;
    background: var(--c-gold);
    margin-bottom: 2rem;
}
.fs-hero .btn-solid { border-color: var(--c-gold); background: var(--c-gold); color: #14212C; }
.fs-hero .btn-solid:hover { background: transparent; color: var(--c-gold); text-indent: 2px; }

/* Блок 2 — Таймлайн */
.fs-timeline {
    background-color: var(--c-bg-alt);
    background-image: var(--tower), var(--pattern);
    background-repeat: no-repeat, repeat;
    background-position: left -40px bottom -30px, 0 0;
    background-size: 320px 260px, auto;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.tl { position: relative; padding-left: 0; }
.tl::before {
    content: "";
    position: absolute;
    left: 30%;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    background: var(--c-line);
}
.tl-row {
    display: grid;
    grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
    column-gap: 2.4rem;
    padding: 1.1rem 0;
    position: relative;
}
.tl-step {
    text-align: right;
    padding-right: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    min-width: 0;
}
.tl-step small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--c-muted); letter-spacing: 0.06em; }
.tl-text { min-width: 0; color: var(--c-text); padding-left: 1.4rem; }
.tl-text p { margin: 0; }
.tl-row::after {
    content: "";
    position: absolute;
    left: 30%;
    top: 1.55rem;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    background: var(--c-accent);
}

/* Блок «Последние записи» */
.fs-latest .fs-head { margin-bottom: 1.8rem; }

/* Блок 3 — Статистика */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--c-line);
    background: #fff;
}
.stat {
    min-width: 0;
    padding: 2.2rem 1.6rem;
    border-right: 1px solid var(--c-line);
}
.stat:last-child { border-right: none; }
.stat-num {
    display: block;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--c-text);
}
.stat-label {
    display: block;
    margin-top: 0.8rem;
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Блок 4 — Рубрикатор */
.topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.topic {
    min-width: 0;
    display: block;
    border: 1px solid var(--c-line);
    background: #fff;
    padding: 1.6rem 1.6rem;
    color: var(--c-text);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.topic::after { display: none; }
.topic::before {
    content: ".";
    color: var(--c-gold);
    font-weight: 700;
    font-size: 1.6em;
    line-height: 0;
    margin-right: 0.4rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.topic:hover { border-color: var(--c-accent); color: var(--c-accent); }
.topic:hover::before { opacity: 1; }
.topic small { display: block; font-size: 0.83rem; font-weight: 300; color: var(--c-muted); margin-top: 0.4rem; }

/* CTA-плашка внутри рубрикатора */
.fs-cta {
    margin-top: 2.4rem;
    background: linear-gradient(105deg, #1A2A3A 0%, #2B7A8C 100%);
    padding: 2.6rem 2.4rem;
    color: #E4EDF3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;
}
.fs-cta h3 { color: #fff; margin: 0 0 0.4rem; }
.fs-cta p { margin: 0; color: #C9D8E4; min-width: 0; }
.fs-cta-text { flex: 1 1 320px; min-width: 0; }
.fs-cta .btn-line { color: #fff; border-color: #fff; }
.fs-cta .btn-line:hover { background: #fff; color: var(--c-top); }

/* 404 */
.nf-code { font-size: 5rem; font-weight: 600; line-height: 1; color: var(--c-accent); margin: 0 0 0.6rem; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    body { font-size: 16px; }
    h1 { font-size: 2.6rem; }
    .hero-title { font-size: 2.6rem; }
    .entry-title { font-size: 2rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.4rem; }
    .layout-single .content-area { width: 100%; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { border-bottom: 1px solid var(--c-line); }
    .stat:nth-child(2n) { border-right: none; }
    .stat:last-child { border-bottom: none; }
    .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs-inner { width: min(92%, 1180px); }
}

@media (max-width: 600px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.6rem; }
    .hero-title { font-size: 2.1rem; }
    .hero-inner { padding: 4rem 0 3.4rem; }
    .fs { padding: 2.8rem 0; }

    .nav-toggle { display: inline-block; }
    .primary-nav { flex: 1 1 100%; }
    .nav-list { flex-direction: column; gap: 0.9rem; padding-top: 0.6rem; }

    .card { padding: 1.2rem 1.2rem; }
    .card-row { flex-direction: column; gap: 1rem; }
    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
        min-height: 0;
    }
    .card-thumb-wrap a { position: static; }
    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .tl::before { left: 4px; }
    .tl-row { grid-template-columns: minmax(0, 1fr); row-gap: 0.4rem; padding-left: 1.6rem; }
    .tl-row::after { left: 4px; top: 1.35rem; }
    .tl-step { text-align: left; padding-right: 0; }
    .tl-text { padding-left: 0; }

    .stats { grid-template-columns: minmax(0, 1fr); }
    .stat { border-right: none; padding: 1.6rem 1.4rem; }
    .stat-num { font-size: 3rem; }
    .topics { grid-template-columns: minmax(0, 1fr); }
    .topic { padding: 1.3rem 1.3rem; }
    .fs-cta { padding: 1.9rem 1.5rem; }
    .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .sidebar { padding: 1.3rem 1.2rem; }
    .cookie-note { padding: 1rem 1.1rem; }
    blockquote { padding: 1.3rem 1.3rem; }
    .fs-timeline { background-image: var(--pattern); }
}
