/*
Theme Name: dds_pkcgsen.ru
Author: Марина Колесникова
Description: Информационная тема для просветительского проекта о защите прав потребителей и санитарной безопасности. Холодная морская дизайн-концепция.
Version: 1.1
Text Domain: dds_pkcgsen
*/

/* ============================================================== *
 * Переменные
 * ============================================================== */
:root {
    --c-bg:        #F0F6FA;
    --c-bg-alt:    #FFFFFF;
    --c-header:    #0A1E2E;
    --c-footer:    #0A1E2E;
    --c-sidebar:   #E7F0F7;
    --c-text:      #1D2F3F;
    --c-accent:    #0088B2;
    --c-accent-d:  #006A8C;
    --c-accent2:   #FFB347;
    --c-muted:     #6C8BA0;
    --c-line:      #cfe0ec;
    --shadow-card: 0 6px 20px rgba(0, 80, 120, 0.08);
    --shadow-card-h: 0 14px 34px rgba(0, 80, 120, 0.16);
    --radius-btn:  16px;
    --radius-card: 12px;
    --shell:       1180px;
}

/* ============================================================== *
 * База
 * ============================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--c-text);
    background-color: var(--c-bg);
    /* Морская рябь — очень тонкий CSS-паттерн */
    background-image:
        radial-gradient(rgba(0,136,178,0.05) 1px, transparent 1px),
        radial-gradient(rgba(0,136,178,0.04) 1px, transparent 1px);
    background-size: 34px 34px, 34px 34px;
    background-position: 0 0, 17px 17px;
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    color: var(--c-text);
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 0.6em;
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

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

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

/* ============================================================== *
 * Контейнер ширины (A12.7)
 * ============================================================== */
.shell {
    width: min(92%, var(--shell));
    margin-inline: auto;
}

/* ============================================================== *
 * Ссылки в контенте — анимированное подчёркивание
 * ============================================================== */
.entry-content a,
.widget a,
.breadcrumbs a {
    position: relative;
    color: var(--c-accent);
}
.entry-content a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 1.5px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}
.entry-content a:hover::after { transform: scaleX(1); }

/* ============================================================== *
 * Кнопки
 * ============================================================== */
.btn {
    display: inline-block;
    padding: 0.7em 1.6em;
    border-radius: var(--radius-btn);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid var(--c-accent);
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
    line-height: 1.2;
}
.btn-filled {
    background: var(--c-accent);
    color: #fff;
}
.btn-filled:hover {
    background: var(--c-accent-d);
    border-color: var(--c-accent-d);
    box-shadow: 0 8px 20px rgba(0,80,120,0.25);
}
.btn-outline {
    background: transparent;
    color: var(--c-accent);
}
.btn-outline:hover {
    background: rgba(0,136,178,0.10);
}

/* ============================================================== *
 * Шапка
 * ============================================================== */
.site-header {
    background: var(--c-header);
    color: #fff;
    padding: 1.1rem 0;
    position: relative;
    z-index: 5;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
.brand-logo, .brand-fallback {
    flex: 0 0 auto;
    display: block;
}
.brand-fallback { width: 52px; height: 52px; }
.brand-text { min-width: 0; }
.brand-name {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    display: block;
    line-height: 1.3;
    text-decoration: none;
}
.brand-desc {
    color: #9fc0d4;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 2px;
    display: block;
    max-width: 640px;
}

/* Навигация */
.main-nav {
    margin-left: auto;
    min-width: 0;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav a {
    display: block;
    padding: 0.5em 0.95em;
    color: #dbe9f2;
    border-radius: 10px;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    transition: background .2s ease, color .2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    background: rgba(255,255,255,0.10);
    color: #fff;
}
.nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 10px;
    padding: 0.4em 0.7em;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ============================================================== *
 * Хлебные крошки
 * ============================================================== */
.breadcrumbs {
    font-size: 0.88rem;
    color: var(--c-muted);
    padding: 1rem 0 0;
}
.breadcrumbs a { color: var(--c-accent); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 0.35em; color: var(--c-muted); }
.breadcrumbs span { color: var(--c-text); }

/* ============================================================== *
 * Основной макет
 * ============================================================== */
.site-main { padding: 2rem 0 3.5rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 3%;
    align-items: start;
}
.layout-single {
    display: block;
}
.layout-single .content-area {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: 1fr; }
    .layout-single .content-area { width: 100%; }
}

/* ============================================================== *
 * Сайдбар
 * ============================================================== */
.sidebar {
    background: var(--c-sidebar);
    border-radius: var(--radius-card);
    padding: 1.4rem 1.4rem;
    background-image: repeating-linear-gradient(45deg, rgba(0,136,178,0.03) 0 2px, transparent 2px 10px);
}
.sidebar .widget { margin-bottom: 1.8rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    font-size: 1.1rem;
    color: var(--c-text);
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--c-accent);
    display: inline-block;
}
.sidebar ul {
    list-style: none;
    margin: 0; padding: 0;
}
.sidebar li {
    padding: 0.4em 0;
    border-bottom: 1px solid rgba(0,80,120,0.10);
    color: var(--c-text);
}
.sidebar li:last-child { border-bottom: none; }
.sidebar a { color: var(--c-text); }
.sidebar a:hover { color: var(--c-accent); }

/* ============================================================== *
 * Заголовки секций с акцентной линией слева ("подписанный документ")
 * ============================================================== */
.section-title {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1.6rem;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0; top: 0.15em; bottom: 0.15em;
    width: 5px;
    background: var(--c-accent);
    border-radius: 3px;
}

/* Сигнальная метка */
.signal-tag {
    display: inline-block;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-header);
    background: var(--c-accent2);
    padding: 0.25em 0.8em;
    border-radius: 6px;
    margin-bottom: 0.9rem;
}

/* ============================================================== *
 * Записи и контент
 * ============================================================== */
.entry-header { margin-bottom: 1.5rem; }
.entry-title { font-size: 2.4rem; }
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.8rem 0;
    font-size: 0.85rem;
}
.entry-meta .meta-tag {
    display: inline-block;
    padding: 0.25em 0.7em;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    color: var(--c-muted);
    background: #fff;
}
.entry-content {
    background: var(--c-bg-alt);
    padding: 2rem 2.2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.entry-content img { border-radius: 8px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55em;
    width: 0.7em; height: 0.7em;
    border: 2px solid var(--c-accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(0);
}
.entry-content ol { padding-left: 1.4em; }
.entry-content blockquote {
    margin: 1.6em 0;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(120deg, rgba(0,136,178,0.10), rgba(0,166,217,0.06));
    border-left: 5px solid var(--c-accent);
    border-radius: 8px;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* Таблицы */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.entry-content table, .entry-content th, .entry-content td {
    border: 1px solid var(--c-line);
}
.entry-content th, .entry-content td {
    padding: 0.6em 0.9em;
    text-align: left;
}
.entry-content th { background: var(--c-sidebar); }

/* ============================================================== *
 * Карточки записей (A8, A10)
 * ============================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
}
.card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg-alt);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-h);
}
.card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--c-line);
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.3rem 1.4rem;
}
.card-title {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}
.card-title a { color: var(--c-text); }
.card-title a:hover { color: var(--c-accent); }
.card-meta {
    font-size: 0.8rem;
    color: var(--c-muted);
    margin-bottom: 0.7rem;
}
.card-excerpt {
    color: var(--c-text);
    font-size: 0.95rem;
    flex: 1;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more {
    margin-top: 0.9rem;
    align-self: flex-start;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    color: var(--c-accent);
}
.card-more:hover { color: var(--c-accent-d); }

/* Горизонтальная карточка (по контенту, position:absolute на <a>, A10) */
.card-row {
    flex-direction: row;
}
.card-row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
    border-bottom: none;
    border-right: 1px solid var(--c-line);
}
.card-row .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.card-row .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 600px) {
    .card-row { flex-direction: column; }
    .card-row .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--c-line);
    }
    .card-row .card-thumb-wrap a { position: static; }
    .card-row .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================== *
 * Пагинация (D5, type => plain)
 * ============================================================== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7em;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: #fff;
    color: var(--c-text);
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s;
}
.pagination a.page-numbers:hover {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}
.pagination .page-numbers.current {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}
.pagination .page-numbers.dots {
    border: none;
    background: none;
}

/* ============================================================== *
 * Главная страница
 * ============================================================== */
.front-section {
    padding: 3.2rem 0;
}
.front-section.alt-bg {
    background: var(--c-bg-alt);
}

/* Блок 1 — Hero */
.fs-hero {
    position: relative;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(10,30,46,0.92), rgba(0,80,110,0.85)),
        url("images/hero-bg.svg");
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    overflow: hidden;
}
.fs-hero .hero-inner {
    max-width: 760px;
}
.fs-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}
.fs-hero .hero-lead {
    font-size: 1.2rem;
    color: #d5e6f1;
    margin-bottom: 1.8rem;
}
.fs-hero .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.fs-hero .btn-outline {
    color: #fff;
    border-color: #fff;
}
.fs-hero .btn-outline:hover {
    background: rgba(255,255,255,0.15);
}

/* Блок 2 — Статистика / факты */
.fs-stats { }
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 1rem 1.4rem;
    position: relative;
}
.stat-item + .stat-item::before {
    content: "";
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 2px;
    background: var(--c-accent);
    opacity: 0.4;
}
.stat-num {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--c-header);
    line-height: 1.1;
}
.stat-label {
    color: var(--c-muted);
    font-size: 0.95rem;
    margin-top: 0.4rem;
}
@media (max-width: 700px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
    .stat-item + .stat-item::before { display: none; }
}

/* Блок 3 — Пошаговый таймлайн */
.fs-steps { }
.steps-timeline {
    position: relative;
    margin-top: 1rem;
    padding-left: 0;
}
.step-item {
    display: flex;
    gap: 1.4rem;
    position: relative;
    padding-bottom: 2rem;
}
.step-item:last-child { padding-bottom: 0; }
.step-num {
    flex: 0 0 auto;
    width: 60px; height: 60px;
    border: 2px dashed var(--c-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--c-accent);
    background: var(--c-bg);
    z-index: 2;
}
.step-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 30px; top: 60px; bottom: 0;
    width: 0;
    border-left: 2px dashed var(--c-line);
    z-index: 1;
}
.step-body { min-width: 0; padding-top: 0.4rem; }
.step-body h3 { margin-bottom: 0.4rem; }
.step-body p { margin: 0; color: var(--c-text); }

/* Блок 4 — Рубрикатор */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
@media (max-width: 900px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .topics-grid { grid-template-columns: 1fr; } }
.topic-card {
    background: var(--c-bg-alt);
    border-radius: var(--radius-card);
    padding: 1.6rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border-bottom: 4px solid transparent;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: block;
    color: var(--c-text);
}
.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-h);
    border-bottom-color: var(--c-accent);
}
.topic-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    display: block;
}
.topic-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--c-text);
}
.topic-card p {
    font-size: 0.9rem;
    color: var(--c-muted);
    margin: 0;
}

/* Секция последних записей на главной */
.fs-latest .cards-grid { margin-top: 1rem; }
.fs-latest .latest-more {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================================== *
 * Комментарии
 * ============================================================== */
.comments-area {
    margin-top: 2.5rem;
    background: var(--c-bg-alt);
    padding: 1.8rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.comments-title { font-size: 1.5rem; margin-bottom: 1.2rem; }
.comment-list {
    list-style: none;
    margin: 0; padding: 0;
}
.comment-list ol.children {
    list-style: none;
    margin: 1rem 0 0 1.5rem;
    padding: 0;
}
.comment-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-line);
}
.comment-meta {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 0.4rem;
}
.comment-author { font-weight: 700; font-family: "Manrope", sans-serif; }
.comment-date { font-size: 0.8rem; color: var(--c-muted); }
.comment-awaiting { color: var(--c-accent2); font-style: italic; }
.comment-reply a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-accent);
}
.comment-form {
    margin-top: 1.5rem;
}
.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-family: "Manrope", sans-serif;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}
.comment-form .submit,
.comment-form input[type="submit"] {
    background: var(--c-accent);
    color: #fff;
    border: 2px solid var(--c-accent);
    padding: 0.7em 1.6em;
    border-radius: var(--radius-btn);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s;
}
.comment-form input[type="submit"]:hover { background: var(--c-accent-d); }

/* ============================================================== *
 * Форма поиска
 * ============================================================== */
.search-form {
    display: flex;
    gap: 0.5rem;
}
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: 0.6em 0.9em;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}
.search-form .search-submit {
    background: var(--c-accent);
    color: #fff;
    border: none;
    padding: 0 1.2em;
    border-radius: 10px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    cursor: pointer;
}
.search-form .search-submit:hover { background: var(--c-accent-d); }

/* ============================================================== *
 * 404
 * ============================================================== */
.error-404 {
    text-align: center;
    padding: 3rem 0;
}
.error-404 .big-code {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 6rem;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.error-404 .search-form {
    max-width: 460px;
    margin: 1.5rem auto;
}

/* ============================================================== *
 * Подвал
 * ============================================================== */
.site-footer {
    background: var(--c-footer);
    color: #c4d8e6;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr; gap: 2rem; } }
.footer-cols .widget { min-width: 0; }
.footer-cols .widget-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--c-accent);
    display: inline-block;
}
.footer-cols p, .footer-cols li { color: #c4d8e6; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { padding: 0.35em 0; }
.footer-cols a { color: #c4d8e6; }
.footer-cols a:hover { color: #fff; }
.footer-cols .widget ul li a:hover { text-decoration: underline; }
.site-info {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #8fabc0;
    font-size: 0.88rem;
}

/* ============================================================== *
 * Cookie-баннер (D6, A11) — правило [hidden] ДО основного блока
 * ============================================================== */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: var(--c-header);
    color: #dbe9f2;
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-inner p { margin: 0; font-size: 0.9rem; flex: 1; min-width: 240px; }
.cookie-inner a { color: var(--c-accent2); }
.cookie-accept {
    background: var(--c-accent);
    color: #fff;
    border: none;
    padding: 0.6em 1.5em;
    border-radius: var(--radius-btn);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.cookie-accept:hover { background: var(--c-accent-d); }

/* ============================================================== *
 * Адаптив шапки
 * ============================================================== */
@media (max-width: 860px) {
    .nav-toggle { display: inline-block; }
    .main-nav {
        flex-basis: 100%;
        margin-left: 0;
        display: none;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0.2rem; }
    .brand-desc { display: none; }
    h1 { font-size: 2.4rem; }
    .entry-title { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .entry-content { padding: 1.4rem 1.2rem; }
    .fs-hero { padding: 3.2rem 0; }
    .front-section { padding: 2.4rem 0; }
    .stat-num { font-size: 2.2rem; }
}
