/*
Theme Name: dds_nonlethaltools.com
Theme URI: https://nonlethaltools.com/
Author: Даниил Фёдоров
Description: Тема для информационного сайта о средствах безопасности и самообороне. Сигнальный минимализм: холодная палитра, крупная типографика, сигнальные акценты.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ntools
*/

:root {
    --bg: #F0F4F8;
    --bg-alt: #E4EAF2;
    --dark: #1A2332;
    --ink: #1E2A3A;
    --accent: #FF3D00;
    --accent2: #00B4D8;
    --muted: #6B7A8F;
    --line: #C0D0E0;
    --shell: min(92%, 1180px);
    --wide: min(85%, 1180px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(0deg, rgba(192, 208, 224, 0.15) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, rgba(192, 208, 224, 0.15) 0 1px, transparent 1px 64px);
    color: var(--ink);
    font-family: "Roboto", "Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.site-title, .btn, .card-title, .section-title {
    font-family: "Inter", "Manrope", "Roboto", Arial, sans-serif;
}

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin: 0 0 1rem;
    font-weight: 800;
}

h1 { font-size: 3.8rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

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

.entry-content a,
.card-excerpt a,
.widget a.text-link {
    background-image: linear-gradient(var(--accent), var(--accent));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0% 1px;
    transition: background-size 0.25s ease;
}

.entry-content a:hover,
.card-excerpt a:hover,
.widget a.text-link:hover { background-size: 100% 1px; }

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

/* ------------------------------------------------ контейнеры */

.shell { width: var(--shell); margin-inline: auto; }
.wide-in { width: var(--wide); margin-inline: auto; }

.layout-single {
    display: block;
    width: var(--wide);
    margin-inline: auto;
    padding: 3.5rem 0 5rem;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 0 6%;
    width: var(--shell);
    margin-inline: auto;
    padding: 3.5rem 0 5rem;
    align-items: start;
}

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

/* ------------------------------------------------ сигнальная полоса */

.signal-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
}

/* ------------------------------------------------ шапка */

.main-nav[hidden] { display: none !important; }

.site-header {
    background: var(--dark);
    color: #fff;
    padding: 1.6rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    text-decoration: none;
    color: #fff;
}

.brand-logo,
.brand-mark { flex: 0 0 auto; width: 52px; height: 52px; }

.brand-text { min-width: 0; }

.site-title {
    display: block;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.01em;
}

.site-desc {
    display: block;
    font-size: 0.8rem;
    color: #9FB2C6;
    line-height: 1.45;
    margin-top: 0.25rem;
    max-width: 46ch;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent2);
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 0.9rem;
    border-radius: 8px 0 8px 8px;
    cursor: pointer;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav a {
    color: #E6EDF5;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: #fff;
    border-bottom-color: var(--accent);
}

/* ------------------------------------------------ кнопки */

.btn {
    display: inline-block;
    padding: 0.85rem 1.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    border-radius: 8px 0 8px 8px;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 61, 0, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(26, 35, 50, 0.9), inset 0 0 14px rgba(255, 255, 255, 0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--accent2);
    border-color: var(--accent2);
    box-shadow: 0 6px 14px rgba(0, 180, 216, 0.18);
}

.btn-ghost:hover {
    box-shadow: 0 2px 0 var(--accent2), inset 0 0 14px rgba(0, 180, 216, 0.22);
}

.btn-light { background: #fff; color: var(--dark); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); }

/* ------------------------------------------------ заголовки секций */

.section-title {
    position: relative;
    padding-left: 1.5rem;
    font-size: 2.1rem;
    margin: 0 0 2rem;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    bottom: 0.18em;
    width: 6px;
    background: var(--accent);
}

.entry-content h2,
.entry-content h3,
.card-title,
.widget-title { position: relative; }

.entry-content h2::before,
.entry-content h3::before,
.card-title::before,
.widget-title::before {
    content: "\25A0";
    color: var(--accent);
    font-size: 0.55em;
    vertical-align: 0.35em;
    margin-right: 0.6em;
    line-height: 1;
}

/* ------------------------------------------------ хлебные крошки */

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 1.2rem 0 0;
    width: var(--shell);
    margin-inline: auto;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 0.45rem; color: var(--line); }

/* ------------------------------------------------ секции главной */

.fs { padding: 6rem 0; position: relative; overflow: hidden; }
.fs-alt { background: var(--bg-alt); }
.fs-in { width: var(--wide); margin-inline: auto; position: relative; z-index: 2; }

.fs-mark {
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 380px;
    height: 380px;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

.fs-dark { background: var(--dark); color: #fff; }
.fs-dark h1, .fs-dark h2, .fs-dark h3 { color: #fff; }
.fs-dark .section-title::before { background: var(--accent); }
.fs-dark .fs-mark { opacity: 0.06; }

.fs-kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 1.4rem;
    font-weight: 700;
}

/* hero */

.fs-hero { padding: 7rem 0; }

.fs-hero .hero-title { font-size: 3.8rem; max-width: 18ch; margin-bottom: 1.4rem; }

.fs-hero .hero-sub {
    color: var(--accent2);
    font-size: 1.25rem;
    max-width: 60ch;
    margin-bottom: 2.4rem;
}

.hero-cross {
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 90px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 90px),
        radial-gradient(circle at 78% 46%, transparent 0 118px, rgba(255, 61, 0, 0.9) 118px 120px, transparent 120px),
        radial-gradient(circle at 78% 46%, transparent 0 58px, rgba(0, 180, 216, 0.9) 58px 60px, transparent 60px);
    z-index: 1;
    pointer-events: none;
}

/* чек-лист */

.checklist { list-style: none; margin: 0; padding: 0; }

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.35rem 1.6rem;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.checklist li:first-child { border-top: 1px solid var(--line); }

.check-num {
    flex: 0 0 auto;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    padding-top: 0.25rem;
}

.check-mark {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 0.25rem;
    background: var(--accent);
    clip-path: polygon(14% 46%, 0 62%, 38% 100%, 100% 22%, 84% 6%, 38% 66%);
}

.check-text { min-width: 0; }
.check-text strong { display: block; font-size: 1.1rem; font-weight: 700; }
.check-text span { color: var(--muted); font-size: 0.95rem; }

/* статистика */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.stat {
    padding: 1.4rem 1.6rem;
    border-left: 1px solid rgba(0, 180, 216, 0.45);
    min-width: 0;
}

.stat:first-child { border-left: 0; }

.stat b {
    display: block;
    font-family: "Inter", "Manrope", Arial, sans-serif;
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.stat span {
    display: block;
    margin-top: 0.7rem;
    color: #D5E0EC;
    font-size: 0.95rem;
}

/* рубрикатор */

.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.topic-tile {
    display: block;
    text-align: center;
    padding: 2.4rem 1.4rem;
    background: var(--bg-alt);
    border: 2px solid var(--accent2);
    color: var(--ink);
    min-width: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.topic-tile:hover {
    background: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.topic-tile svg { margin: 0 auto 1rem; display: block; }
.topic-tile b { display: block; font-size: 1.15rem; font-weight: 800; }
.topic-tile span { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }

/* ------------------------------------------------ карточки записей */

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

.cards-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    min-width: 0;
    box-shadow: 0 10px 18px -10px rgba(26, 35, 50, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 20px 30px -14px rgba(26, 35, 50, 0.45); }
.card:hover::before { opacity: 1; }

.card-thumb { position: relative; overflow: hidden; }
.card-thumb a { display: block; }

.card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.6rem 1.7rem;
    min-width: 0;
}

.card-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 0.7rem;
}

.card-title { font-size: 1.25rem; margin: 0 0 0.8rem; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); }

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

.card-meta {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-more {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--accent);
}

/* ------------------------------------------------ записи и страницы */

.entry-header { margin-bottom: 2rem; }
.entry-title { font-size: 2.8rem; margin-bottom: 1rem; }

.entry-meta {
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.entry-thumb { margin-bottom: 2rem; }
.entry-thumb img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; }

.entry-content { min-width: 0; }
.entry-content h2 { margin: 2.4rem 0 1rem; }
.entry-content h3 { margin: 2rem 0 0.9rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { border-radius: 4px; margin: 1.5rem 0; }

.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.6rem 1.8rem;
    background: var(--dark);
    color: #fff;
    border-radius: 4px;
}

.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    border: 1px solid var(--line);
    font-size: 0.95rem;
}

.entry-content th,
.entry-content td { border: 1px solid var(--line); padding: 0.7rem 0.9rem; text-align: left; }
.entry-content th { background: var(--bg-alt); font-weight: 700; }

.entry-tags { margin-top: 2rem; font-size: 0.85rem; color: var(--muted); }

.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.post-nav a {
    display: block;
    padding: 1.2rem 1.4rem;
    background: var(--bg-alt);
    border-radius: 4px;
    color: var(--ink);
    font-weight: 600;
    min-width: 0;
}

.post-nav a:hover { color: var(--accent); }
.post-nav span { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }

.archive-header { margin-bottom: 2.5rem; }

/* ------------------------------------------------ сайдбар */

.sidebar { min-width: 0; }

.sidebar .widget {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.6rem;
    color: var(--ink);
}

.sidebar .widget-title { font-size: 1.1rem; margin: 0 0 1rem; color: var(--ink); }
.sidebar .widget a { color: var(--ink); }
.sidebar .widget a:hover { color: var(--accent); }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget .post-date { display: block; font-size: 0.78rem; color: var(--muted); }

/* ------------------------------------------------ формы */

.search-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.search-form input[type="search"],
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    flex: 1 1 200px;
    min-width: 0;
    padding: 0.75rem 0.9rem;
    border: 2px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
}

.search-form input[type="search"]:focus,
.comment-form textarea:focus { outline: 2px solid var(--accent2); border-color: var(--accent2); }

.search-form button { flex: 0 0 auto; }


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

.search-label { flex: 1 1 200px; min-width: 0; display: block; }
.search-label input[type="search"] { width: 100%; }

.page-links { margin-top: 1.5rem; font-weight: 700; }
.page-links a { margin: 0 0.3rem; }

.widget_search .search-form { margin-top: 0.4rem; }

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

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.6rem 1rem;
    border: 2px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.92rem;
    background: #fff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover { border-color: var(--accent2); color: var(--accent); }

.pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .page-numbers.dots { border: 0; background: transparent; color: var(--muted); }

/* ------------------------------------------------ комментарии */

.comments-area { margin-top: 3.5rem; }
.comments-title { font-size: 1.6rem; margin-bottom: 1.5rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list ul.children { list-style: none; margin: 1rem 0 0 1.5rem; padding: 0; }

.comment-body {
    background: #fff;
    border-radius: 4px;
    padding: 1.3rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 16px -12px rgba(26, 35, 50, 0.4);
}

.comment-author { font-weight: 700; }
.comment-metadata { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.6rem; }
.comment-reply-link { font-size: 0.85rem; font-weight: 700; }

.comment-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form textarea { width: 100%; min-height: 140px; }
.comment-form .submit { background: var(--accent); color: #fff; border: 0; border-radius: 8px 0 8px 8px; padding: 0.85rem 1.7rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.comment-form .submit:hover { transform: translateY(2px); }

/* ------------------------------------------------ 404 */

.error-404 { text-align: center; padding: 4rem 0 5rem; }
.error-404 .code { font-size: 6rem; font-weight: 800; color: var(--accent); line-height: 1; }
.error-404 .search-form { max-width: 480px; margin: 2rem auto 0; }

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

.site-footer { background: var(--dark); color: #C7D4E1; padding: 4rem 0 2rem; margin-top: 0; }

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

.site-footer .widget { margin-bottom: 1.5rem; min-width: 0; }
.site-footer .widget-title { font-size: 1.05rem; color: #fff; margin: 0 0 1rem; }
.site-footer .widget p { color: #C7D4E1; font-size: 0.93rem; }
.site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.site-footer .widget li { padding: 0.45rem 0; font-size: 0.93rem; }
.site-footer .widget a { color: #C7D4E1; }
.site-footer .widget a:hover { color: var(--accent); }
.site-footer .widget .post-date { display: block; font-size: 0.78rem; color: #8FA3B8; }

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: #8FA3B8;
}

.footer-contact a { color: var(--accent2); }

/* ------------------------------------------------ cookie-баннер */

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: var(--dark);
    color: #E6EDF5;
    border-top: 3px solid var(--accent);
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.cookie-banner p { margin: 0; max-width: 70ch; }
.cookie-banner a { color: var(--accent2); }

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

@media (max-width: 960px) {
    body { font-size: 16px; }
    h1 { font-size: 2.6rem; }
    .fs-hero .hero-title { font-size: 2.6rem; }
    .entry-title { font-size: 2.1rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-list { grid-template-columns: minmax(0, 1fr); }
    .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { border-left: 0; border-top: 1px solid rgba(0, 180, 216, 0.45); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs { padding: 4.5rem 0; }
    .fs-hero { padding: 5rem 0; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.1rem; }
    h2, .section-title { font-size: 1.7rem; }
    .fs-hero .hero-title { font-size: 2.1rem; }
    .fs-hero .hero-sub { font-size: 1.05rem; }
    .entry-title { font-size: 1.8rem; }
    .fs { padding: 3.5rem 0; }
    .fs-hero { padding: 4rem 0; }
    .layout-single, .layout-with-sidebar { width: min(92%, 1180px); padding: 2.5rem 0 3.5rem; }
    .fs-in { width: min(92%, 1180px); }
    .cards, .cards-list { grid-template-columns: minmax(0, 1fr); }
    .topic-grid { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
    .post-nav { grid-template-columns: minmax(0, 1fr); }
    .checklist li { padding: 1.1rem 1rem; gap: 0.8rem; }
    .entry-content blockquote { padding: 1.3rem 1.2rem; }
    .stat { padding: 1.2rem 1.1rem; }
    .topic-tile { padding: 1.8rem 1.2rem; }
    .card-body { padding: 1.2rem 1.2rem 1.4rem; }
    .cookie-banner { padding: 1rem 1.1rem; }
    .fs-mark { width: 240px; height: 240px; right: -50px; bottom: -60px; }
    .nav-toggle { display: inline-block; }
    .main-nav { flex: 1 1 100%; }
    .main-nav[hidden] { display: none !important; }
    .main-nav ul { flex-direction: column; gap: 0.2rem; }
    .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .main-nav a { display: block; padding: 0.7rem 0; border-bottom: 0; }
    .header-inner { align-items: flex-start; }
    .site-desc { display: none; }
}
