/*
Theme Name: dds_sakumamarketstand.com
Author: Ксения Рябова
Description: Информационная тема для сайта о красоте, уходе, макияже и питании. Холодная палитра «чистой лаборатории» с природным зелёным акцентом.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: sakumalab
*/

/* =========================================================
   1. Переменные и база
   ========================================================= */

:root {
    --bg:        #F3F6F9;
    --bg-alt:    #E8EEF2;
    --panel:     #FFFFFF;
    --deep:      #1C2A39;
    --deep-2:    #2A3F54;
    --text:      #1E2A36;
    --accent:    #2D7D5A;
    --accent-2:  #4CA1AF;
    --muted:     #7A8B99;
    --line:      #D0D9E0;
    --font-head: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-body: "Spectral", "Literata", Georgia, "Times New Roman", serif;
    --shadow:    0 6px 22px rgba(28, 42, 57, .08);
    --shadow-up: 0 14px 34px rgba(28, 42, 57, .14);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(to right, rgba(30, 42, 54, .03) 0 .5px, transparent .5px 40px),
        repeating-linear-gradient(to bottom, rgba(30, 42, 54, .03) 0 .5px, transparent .5px 40px);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: .01em;
    color: var(--text);
    margin: 0 0 .8rem;
}

h1 { font-size: 3.2rem; letter-spacing: .015em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1rem; }

ul, ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
li { margin-bottom: .45rem; }

a { color: var(--text); text-decoration: none; }

.link, .breadcrumbs a, .entry-content a:not(.btn), .card-title a,
.widget a, .main-nav a, .pager a, .site-footer .credit a {
    position: relative;
    display: inline;
    transition: color .22s ease;
}

.link::after, .breadcrumbs a::after, .entry-content a:not(.btn)::after,
.card-title a::after, .widget a::after, .main-nav a::after, .site-footer .credit a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transition: left .25s ease, right .25s ease;
}

.link:hover::after, .breadcrumbs a:hover::after, .entry-content a:not(.btn):hover::after,
.card-title a:hover::after, .widget a:hover::after, .main-nav a:hover::after,
.site-footer .credit a:hover::after { left: 0; right: 0; }

.link:hover, .breadcrumbs a:hover, .entry-content a:not(.btn):hover,
.card-title a:hover, .main-nav a:hover { color: var(--accent); }

blockquote {
    margin: 1.6rem 0;
    padding: 1.2rem 1.6rem;
    border-left: 3px solid var(--accent);
    background: var(--bg-alt);
    font-style: italic;
}

code, pre { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }
pre { padding: 1rem 1.2rem; background: var(--deep); color: #E8EEF2; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; border: 1px solid var(--line); }
th, td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
th { background: var(--bg-alt); font-family: var(--font-head); font-size: .95rem; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* =========================================================
   2. Контейнеры и раскладки
   ========================================================= */

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

.site-main { padding: 2.6rem 0 3.4rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
    align-items: start;
}

.layout-single { display: block; width: 85%; margin-left: auto; margin-right: auto; }

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

/* =========================================================
   3. Кнопки
   ========================================================= */

.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .96rem;
    letter-spacing: .02em;
    padding: .72rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 4px;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    transition: background-color .22s ease, color .22s ease, transform .18s ease, box-shadow .22s ease;
}

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

.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent); color: #fff; transform: translateY(2px); box-shadow: inset 0 4px 10px rgba(0, 0, 0, .28); }

.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--deep); }

/* =========================================================
   4. Шапка
   ========================================================= */

.site-header {
    position: relative;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.2rem 0;
    min-width: 0;
}

.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand-logo { display: block; width: 52px; height: 52px; flex: 0 0 auto; }
.brand-text { min-width: 0; }

.site-title {
    font-family: var(--font-head);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    letter-spacing: .01em;
}
.site-title a { color: var(--text); }
.site-title a:hover { color: var(--accent); }

.site-tagline {
    margin: .25rem 0 0;
    font-size: .82rem;
    line-height: 1.45;
    color: var(--muted);
}

.nav-toggle {
    display: none;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    padding: .55rem 1rem;
    border: 2px solid var(--accent);
    border-radius: 4px;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.main-nav .current-menu-item > a { color: var(--accent); }

/* =========================================================
   5. Хлебные крошки
   ========================================================= */

.breadcrumbs {
    padding: 1rem 0 0;
    font-family: var(--font-head);
    font-size: .84rem;
    color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { margin: 0 .35rem; color: var(--accent-2); }

/* =========================================================
   6. Заголовки секций и разделители
   ========================================================= */

.sec-title { position: relative; margin: 0 0 1.6rem; }
.sec-title::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    margin: .75rem 0 0 -2.2rem;
    background: var(--accent);
}

.sec-title.on-dark { color: #fff; }
.sec-title.on-dark::after { background: var(--accent-2); }

.rule {
    height: 1px;
    margin: 3rem 8% ;
    background: var(--line);
}

.dots-div {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 2.4rem 0;
}
.dots-div span {
    width: 7px;
    height: 7px;
    background: var(--accent);
    opacity: .35;
    display: block;
}

/* =========================================================
   7. Карточки записей
   ========================================================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
    gap: 1.7rem;
}

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--panel);
    border-left: 3px solid var(--accent);
    border-radius: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-up);
    border-left-color: var(--accent-2);
}

.card-thumb-wrap { padding: 14px 14px 0; }
.card-thumb-wrap a { display: block; }
.card-thumb-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.15rem 1.35rem 1.45rem;
}

.card-title {
    font-size: 1.18rem;
    line-height: 1.32;
    margin: 0 0 .55rem;
}

.card-meta, .entry-meta {
    font-family: var(--font-head);
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .7rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}
.card-meta a, .entry-meta a { color: var(--muted); }
.dot-sep { width: 5px; height: 5px; background: var(--accent-2); display: inline-block; }

.card-excerpt { font-size: .96rem; color: #34424F; }
.card-excerpt p { margin: 0 0 .5em; background: none; }

.card-more { margin-top: auto; padding-top: .9rem; }
.card-more a {
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 600;
    color: var(--accent);
}
.card-more a:hover { color: var(--accent-2); }

/* =========================================================
   8. Пагинация
   ========================================================= */

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2.6rem 0 .5rem;
}
.pager .page-numbers {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    padding: .5rem .8rem;
    border: 2px solid var(--line);
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    background: var(--panel);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pager .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .page-numbers.dots { border-color: transparent; background: transparent; }

/* =========================================================
   9. Одиночная запись и страница
   ========================================================= */

.entry-header { margin-bottom: 1.6rem; }
.entry-title { font-size: 2.4rem; margin-bottom: .7rem; }

.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; border-radius: 4px; }

.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content img { display: block; border-radius: 4px; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul > li { position: relative; padding-left: 1.6rem; }
.entry-content ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 9px;
    height: 9px;
    border: 2px solid var(--accent);
    background: transparent;
    transition: background-color .2s ease;
}
.entry-content ul > li:hover::before { background: var(--accent); }

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-head);
    font-size: .9rem;
}
.post-nav a { color: var(--accent); font-weight: 600; }

/* =========================================================
   10. Сайдбар и виджеты
   ========================================================= */

.sidebar { min-width: 0; }

.sidebar .widget {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    padding: 1.3rem 1.4rem;
    margin-bottom: 1.6rem;
    color: var(--text);
}
.sidebar .widget-title {
    font-size: 1.05rem;
    margin: 0 0 .9rem;
    color: var(--text);
}
.sidebar .widget-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-top: .5rem;
    background: var(--accent);
}
.sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar .widget li { margin-bottom: .7rem; font-size: .95rem; }
.sidebar .widget a { color: var(--text); }
.sidebar .widget a:hover { color: var(--accent); }
.sidebar .widget .post-date { display: block; font-family: var(--font-head); font-size: .78rem; color: var(--muted); }

/* =========================================================
   11. Поиск
   ========================================================= */

.search-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.search-form .search-field {
    flex: 1 1 180px;
    min-width: 0;
    padding: .68rem .9rem;
    border: 2px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text);
}
.search-form .search-field:focus { outline: none; border-color: var(--accent); }

/* =========================================================
   12. Подвал
   ========================================================= */

.site-footer {
    background: var(--deep);
    color: #D6DEE6;
    margin-top: 3rem;
    padding: 3rem 0 1.6rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}

.site-footer .widget { margin-bottom: 1.4rem; color: #D6DEE6; }
.site-footer .widget-title {
    font-size: 1.02rem;
    color: #FFFFFF;
    margin: 0 0 .9rem;
}
.site-footer .widget-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-top: .5rem;
    background: var(--accent-2);
}
.site-footer .widget p { color: #C3CEd8; font-size: .95rem; }
.site-footer .widget ul { list-style: none; padding: 0; margin: 0; }
.site-footer .widget li { margin-bottom: .6rem; font-size: .95rem; }
.site-footer .widget a { color: #E2E9EF; }
.site-footer .widget a:hover { color: var(--accent-2); }
.site-footer .widget .post-date { display: block; font-family: var(--font-head); font-size: .78rem; color: #92A3B2; }

.footer-bottom {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-family: var(--font-head);
    font-size: .84rem;
    color: #9BAAB8;
}

/* =========================================================
   13. 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: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1rem 1.6rem;
    background: var(--deep);
    color: #DCE4EB;
    font-size: .9rem;
    border-top: 2px solid var(--accent);
}
.cookie-banner p { margin: 0; max-width: 760px; }
.cookie-banner .btn { padding: .55rem 1.2rem; }

/* =========================================================
   14. Главная страница
   ========================================================= */

.front-section { margin-bottom: 3rem; }

/* --- Блок 1: hero --- */

.fs-hero {
    position: relative;
    overflow: hidden;
    padding: 3.6rem 2.4rem;
    background: var(--deep);
    color: #fff;
    border-radius: 0;
}
.fs-hero .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.fs-hero .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}
.fs-hero .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(28, 42, 57, .55) 0%, rgba(28, 42, 57, .88) 100%);
}
.footer-col { min-width: 0; }

.fs-hero .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: center;
}
.hero-text { min-width: 0; }
.fs-hero h1 { color: #fff; margin-bottom: 1rem; }
.fs-hero .hero-sub {
    font-size: 1.08rem;
    color: #D4DEE7;
    margin-bottom: 1.6rem;
    max-width: 46ch;
}
.hero-figure { display: flex; justify-content: center; min-width: 0; }
.hero-figure svg { width: 100%; max-width: 250px; height: auto; }
.hero-blob {
    position: absolute;
    right: -30px;
    bottom: -50px;
    z-index: 1;
    width: 260px;
    opacity: .05;
    pointer-events: none;
}

/* --- Блок 2: цитата / акцентный тезис --- */

.fs-quote {
    position: relative;
    overflow: hidden;
    padding: 2.8rem 2.4rem;
    background:
        radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 12px 12px,
        linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
    color: #fff;
    border-left: 6px solid var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.fs-quote .q-text {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    max-width: 40ch;
}
.fs-quote .q-mark {
    color: var(--accent-2);
    font-family: var(--font-head);
    margin-right: .5rem;
}
.fs-quote .q-note {
    margin: 1.2rem 0 0;
    font-size: .98rem;
    color: #BCCAD6;
    max-width: 60ch;
}

/* --- Блок «последние записи» --- */

.fs-latest .latest-foot { margin-top: 1.8rem; }

/* --- Блок 3: чек-лист --- */

.fs-check {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    padding: 2.6rem 2.4rem;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}
.check-list li:last-child { border-bottom: none; }
.check-list .mark {
    width: 14px;
    height: 14px;
    margin-top: .45rem;
    border: 2px solid var(--accent);
    background: transparent;
    transition: background-color .2s ease;
}
.check-list li:hover .mark { background: var(--accent); }
.check-list .ct {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.02rem;
}
.check-list .cd { display: block; color: var(--muted); font-size: .95rem; }

/* --- Блок 4: карта тем / рубрикатор --- */

.topic-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}
.topic-tile {
    display: block;
    min-width: 0;
    padding: 2rem 1.6rem;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid var(--accent);
    border-radius: 0;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.topic-tile:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 0 0 2px var(--accent), var(--shadow-up);
}
.topic-tile svg { display: block; margin: 0 auto 1rem; width: 62px; height: 62px; }
.topic-tile .tt-name {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: .02em;
    color: var(--text);
}
.topic-tile .tt-note { display: block; margin-top: .5rem; font-size: .93rem; color: var(--muted); }

/* --- CTA --- */

.fs-cta {
    padding: 2.4rem 2.2rem;
    background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.fs-cta h2 { color: #fff; }
.fs-cta p { color: #C6D2DC; max-width: 62ch; }

/* =========================================================
   15. Комментарии
   ========================================================= */

.comments-area { margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; margin: 1rem 0 0 1.4rem; padding: 0; }
.comment-item { margin-bottom: 1.2rem; }
.comment-inner {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-2);
    padding: 1.1rem 1.3rem;
}
.comment-head { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; margin-bottom: .5rem; }
.comment-author { font-family: var(--font-head); font-weight: 700; }
.comment-date { font-family: var(--font-head); font-size: .8rem; color: var(--muted); }
.comment-actions { font-family: var(--font-head); font-size: .86rem; }
.comment-actions a { color: var(--accent); }
.comment-await { color: var(--muted); font-style: italic; }

.comment-respond { margin-top: 1.6rem; }
.comment-form label { display: block; font-family: var(--font-head); 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;
    border: 2px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
    font-family: var(--font-body);
    font-size: .97rem;
    color: var(--text);
}
.comment-form textarea:focus,
.comment-form input:focus { outline: none; border-color: var(--accent); }
.comment-form .submit {
    font-family: var(--font-head);
    font-weight: 600;
    padding: .72rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

/* =========================================================
   16. 404 и поиск
   ========================================================= */

.page-404 { text-align: center; padding: 2rem 1.6rem 3rem; }
.page-404 .big { font-size: 5rem; color: var(--accent); margin-bottom: .3rem; }
.page-404 .search-form { justify-content: center; max-width: 460px; margin: 1.6rem auto; }

.archive-head { margin-bottom: 2rem; }
.archive-head .archive-desc { color: var(--muted); }

/* =========================================================
   17. Адаптив
   ========================================================= */

@media (max-width: 960px) {
    h1 { font-size: 2.5rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .layout-single { width: 100%; }
    .fs-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-figure { justify-content: flex-start; }
    .topic-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.55rem; }
    .entry-title { font-size: 1.8rem; }

    .header-inner { flex-wrap: wrap; padding: 1rem 0; }
    .nav-toggle { display: inline-block; }
    .main-nav { flex-basis: 100%; display: none; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: .2rem; padding: .8rem 0 .2rem; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { display: block; padding: .6rem 0; }

    .sec-title::after { margin-left: 0; width: 110px; }

    .fs-hero { padding: 2.4rem 1.4rem; }
    .fs-quote { padding: 2rem 1.4rem; }
    .fs-quote .q-text { font-size: 1.5rem; }
    .fs-check { padding: 1.8rem 1.4rem; }
    .fs-cta { padding: 1.8rem 1.4rem; }
    .topic-map { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
    .rule { margin: 2.2rem 0; }
    .card-thumb-wrap { padding: 10px 10px 0; }
    .card-body { padding: 1rem 1.1rem 1.2rem; }
    .cookie-banner { justify-content: flex-start; padding: .9rem 1.1rem; }
}
