/*
Theme Name: dds_domovenka.ru
Author: Анна Соколова
Description: Информационная тема для образовательного портала о целлюлозных биоматериалах и тканевой инженерии. Дизайн-концепция «Лабораторная чистота с биологическим акцентом».
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: cellulab
*/

/* ============================================================ *
 *  Переменные
 * ============================================================ */
:root {
    --bg:        #F7F9F8;
    --bg-alt:    #EEF2F0;
    --dark:      #1A2E28;
    --text:      #1F2A26;
    --accent:    #007A5E;
    --accent-d:  #005f49;
    --sand:      #D4A373;
    --muted:     #6B7A73;
    --line:      #d8e0dc;
    --fiber: repeating-linear-gradient(45deg, rgba(26,46,40,0.04) 0, rgba(26,46,40,0.04) 1px, transparent 1px, transparent 9px);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.72;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 0.6em;
    font-weight: 700;
}
h1 { font-size: 3.5rem; letter-spacing: 0.005em; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

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

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

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

/* ============================================================ *
 *  Кнопки и текстовые ссылки
 * ============================================================ */
.btn {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    padding: 0.75em 1.7em;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-d);
    border-color: var(--accent-d);
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-2px);
}

.link-marker {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.18s ease;
}
.link-marker::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 8px;
    background: var(--accent);
    transform: translateY(-50%);
    transition: width 0.18s ease;
}
.link-marker:hover {
    padding-left: 16px;
}
.link-marker:hover::before {
    width: 8px;
}

/* ============================================================ *
 *  Заголовки секций (точка + линия в ширину слова)
 * ============================================================ */
.section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 2rem;
}
.section-head .dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 0.55em;
}
.section-title {
    display: inline-block;
    border-bottom: 2px solid var(--sand);
    padding-bottom: 8px;
    margin: 0;
}

/* ============================================================ *
 *  Шапка
 * ============================================================ */
.site-header {
    background: var(--dark);
    color: #eaf2ee;
    position: static;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem 0;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.brand .brand-logo,
.brand .brand-mark { flex: 0 0 auto; }
.brand-mark svg { display: block; }
.brand-meta { min-width: 0; }
.brand-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.25;
    display: block;
}
.brand-name a { color: #fff; }
.brand-desc {
    font-size: 0.82rem;
    color: #9db3aa;
    line-height: 1.4;
    margin-top: 0.2rem;
    max-width: 520px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav a {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.98rem;
    color: #cdddd5;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.18s ease, color 0.18s ease;
}
.main-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 7px;
    background: var(--sand);
    transform: translateY(-50%);
    transition: width 0.18s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: #fff;
    padding-left: 14px;
}
.main-nav a:hover::before,
.main-nav .current-menu-item > a::before {
    width: 7px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid #4a655b;
    color: #fff;
    border-radius: 4px;
    padding: 0.5em 0.8em;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
}

/* ============================================================ *
 *  Хлебные крошки
 * ============================================================ */
.breadcrumbs {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: var(--muted);
    padding: 1.1rem 0;
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { color: var(--accent-d); }
.breadcrumbs .sep { color: var(--sand); margin: 0 0.3rem; }

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

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

/* ============================================================ *
 *  Сайдбар (тёмный фон)
 * ============================================================ */
.sidebar {
    background: var(--dark);
    color: #d6e2dc;
    padding: 1.8rem 1.6rem;
    border-radius: 4px;
    min-width: 0;
}
.sidebar .widget-title {
    color: #fff;
    font-size: 1.05rem;
    border-bottom: 2px solid var(--sand);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.sidebar a { color: #bcd3ca; }
.sidebar a:hover { color: #fff; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 0.4rem 0; border-bottom: 1px dashed #33473f; }
.sidebar li:last-child { border-bottom: none; }
.sidebar .post-date,
.sidebar .rss-date { color: #8fa89e; font-size: 0.8rem; }

/* ============================================================ *
 *  Карточки записей
 * ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.8rem;
}
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--sand);
    box-shadow: 0 0 0 1px var(--accent) inset;
    transition: box-shadow 0.18s ease;
    min-width: 0;
}
.card:hover {
    box-shadow: 4px 0 0 0 var(--accent) inset;
}
.card-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.card-thumb-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}
.card-thumb-wrap img,
.card-thumb-wrap .thumb-ph {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-thumb-wrap::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(26,46,40,0.72), transparent);
    pointer-events: none;
}
.card-cat {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    z-index: 2;
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,122,94,0.82);
    padding: 0.25em 0.7em;
    border-radius: 3px;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.4rem 1.5rem;
    min-width: 0;
}
.card-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.card-excerpt {
    color: #46524d;
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more { margin-top: auto; }

/* ============================================================ *
 *  Одиночная запись / страница
 * ============================================================ */
.entry-header { margin-bottom: 1.6rem; }
.entry-title { font-size: 2.6rem; margin-bottom: 0.6rem; }
.entry-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: var(--muted);
}
.entry-featured { margin: 1.5rem 0; }
.entry-featured img { display: block; width: 100%; border-radius: 4px; }
.entry-content { min-width: 0; }
.entry-content img { border-radius: 4px; }
.entry-content h2 { margin-top: 1.8rem; }
.entry-content h3 { margin-top: 1.5rem; }
.entry-content blockquote {
    position: relative;
    margin: 1.6rem 0;
    padding: 1.2rem 1.4rem 1.2rem 1.6rem;
    background: var(--bg-alt);
    font-style: italic;
    color: #2c3a34;
}
.entry-content blockquote::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 14px));
}
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content code {
    background: var(--bg-alt);
    padding: 0.1em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}
.entry-content pre {
    background: var(--dark);
    color: #dfeae5;
    padding: 1rem 1.2rem;
    border-radius: 4px;
    overflow-x: auto;
    min-width: 0;
}
.entry-tags {
    margin-top: 2rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
}
.entry-tags a {
    display: inline-block;
    background: var(--bg-alt);
    padding: 0.25em 0.7em;
    margin: 0 0.3rem 0.3rem 0;
    border-radius: 3px;
    color: var(--accent);
}

/* Таблицы */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
}
.entry-content table,
.entry-content th,
.entry-content td {
    border: 1px solid var(--line);
}
.entry-content th, .entry-content td {
    padding: 0.6rem 0.8rem;
    text-align: left;
}
.entry-content th {
    background: var(--bg-alt);
    font-family: 'Manrope', sans-serif;
}

/* ============================================================ *
 *  Главная — секции
 * ============================================================ */
.front-section { padding: 3.4rem 0; }
.front-section.alt { background: var(--bg-alt); }

.sec-divider {
    text-align: center;
    padding: 2.6rem 0;
    line-height: 0;
}
.sec-divider span {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sand);
    margin: 0 6px;
}

/* Hero */
.hero {
    position: relative;
    background: var(--dark);
    background-image: var(--fiber);
    color: #eef4f1;
    padding: 4.5rem 0 5rem;
    overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .hero-sub {
    font-size: 1.2rem;
    color: #b9cec5;
    max-width: 640px;
}
.hero .hero-actions { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: #cdece2; }
.hero .btn-outline:hover { background: #fff; color: var(--dark); }
.hero-molecule {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 460px;
    max-width: 55%;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}
.hero-molecule svg { display: block; width: 100%; height: auto; }

/* Таймлайн */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
    margin-top: 1rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--sand);
}
.tl-step {
    position: relative;
    padding: 0 1rem;
    text-align: center;
    min-width: 0;
}
.tl-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--sand);
    margin: 6px auto 1rem;
    position: relative;
    z-index: 2;
}
.tl-step.active .tl-dot {
    width: 22px; height: 22px;
    margin-top: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,122,94,0.18);
}
.tl-year {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--accent);
}
.tl-text { font-size: 0.95rem; color: #46524d; margin-top: 0.4rem; }

/* Текст + иллюстрация */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}
.split .split-text { min-width: 0; }
.split .split-media { min-width: 0; }
.split-media img {
    display: block;
    width: 100%;
    border-radius: 4px;
    clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%);
}

/* Статистика (акцентный тёмный блок) */
.stats {
    background: var(--dark);
    background-image: var(--fiber);
    border-radius: 6px;
    padding: 2.8rem 2.4rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}
.stat {
    text-align: center;
    padding: 0.5rem 1rem;
    position: relative;
    min-width: 0;
}
.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(212,163,115,0.4);
}
.stat-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    color: var(--accent);
    line-height: 1;
}
.stat-cap {
    color: var(--sand);
    font-family: 'Manrope', sans-serif;
    font-size: 0.86rem;
    margin-top: 0.6rem;
}

/* Акцентная градиентная секция (цитата/факт) */
.accent-band {
    background: linear-gradient(120deg, var(--accent), var(--dark));
    color: #fff;
    border-radius: 6px;
    padding: 2.6rem 2.4rem;
}
.accent-band .section-title { color: #fff; border-color: rgba(255,255,255,0.5); }
.accent-band p { color: #e6f1ec; }

/* Latest posts wrapper */
.latest-head { margin-bottom: 2rem; }

/* ============================================================ *
 *  Пагинация (type => plain, .page-numbers)
 * ============================================================ */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7em;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    border: 1px solid var(--sand);
    border-radius: 4px;
    color: var(--text);
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
}
.pager a.page-numbers:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pager .page-numbers.current {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}
.pager .page-numbers.dots {
    border: none;
    background: transparent;
}

/* ============================================================ *
 *  Комментарии
 * ============================================================ */
.comments-area { margin-top: 3rem; }
.comments-title { margin-bottom: 1.5rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 0 0 0 1.6rem; padding: 0; }
.comment-item { margin-bottom: 1.4rem; }
.comment-body {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    padding: 1.1rem 1.3rem;
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.comment-author { font-family: 'Manrope', sans-serif; font-weight: 600; }
.comment-date { color: var(--muted); font-size: 0.8rem; }
.comment-awaiting { color: var(--sand); font-size: 0.85rem; }
.comment-reply a { font-family: 'Manrope', sans-serif; font-size: 0.85rem; }
.comment-respond {
    margin-top: 2rem;
    background: var(--bg-alt);
    padding: 1.6rem 1.8rem;
    border-radius: 4px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.7em 0.9em;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: inherit;
    background: #fff;
    min-width: 0;
}
.comment-form textarea { min-height: 130px; }
.comment-form .form-submit input {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75em 1.7em;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================================ *
 *  Поиск
 * ============================================================ */
.search-form {
    display: flex;
    gap: 0.5rem;
    min-width: 0;
}
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: 0.65em 0.9em;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: inherit;
    background: #fff;
}
.search-form .search-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0 1.2em;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
}

/* ============================================================ *
 *  Пошаговый блок / смещённая нумерация (для контента)
 * ============================================================ */
.steps { display: grid; gap: 1.4rem; }
.step {
    position: relative;
    padding: 1.2rem 1.4rem 1.2rem 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    min-width: 0;
}
.step .num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 4.5rem;
    color: var(--bg-alt);
    position: absolute;
    right: 0.6rem;
    top: -0.4rem;
    line-height: 1;
    z-index: 0;
}
.step .step-body { position: relative; z-index: 1; }
.step h3 { margin-bottom: 0.4rem; }

/* ============================================================ *
 *  404
 * ============================================================ */
.error-404 { text-align: center; padding: 2rem 0 3rem; }
.error-404 .code-404 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 6rem;
    color: var(--sand);
    line-height: 1;
}
.error-404 .search-form { max-width: 480px; margin: 1.6rem auto; }

/* ============================================================ *
 *  Подвал
 * ============================================================ */
.site-footer {
    background: var(--dark);
    background-image: var(--fiber);
    color: #c6d6ce;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}
.footer-cols .widget { min-width: 0; }
.site-footer .widget-title {
    color: #fff;
    font-size: 1.05rem;
    border-bottom: 2px solid var(--sand);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.site-footer a { color: #a9c3b9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.35rem 0; }
.site-footer .textwidget { color: #b3c7be; font-size: 0.95rem; }
.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid #2f453d;
    color: #8ba49a;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
}

/* ============================================================ *
 *  Cookie-баннер
 * ============================================================ */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 9999;
    background: var(--dark);
    color: #dfeae5;
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    max-width: 1160px;
    margin-inline: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.cookie-banner p { margin: 0; font-size: 0.9rem; min-width: 0; }
.cookie-banner a { color: var(--sand); }
.cookie-banner .cookie-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.6em 1.4em;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    cursor: pointer;
    flex: 0 0 auto;
}
.cookie-banner .cookie-accept:hover { background: var(--accent-d); }

/* ============================================================ *
 *  Адаптив
 * ============================================================ */
@media (max-width: 960px) {
    h1 { font-size: 2.6rem; }
    .hero h1 { font-size: 2.6rem; }
    .layout-with-sidebar { grid-template-columns: 1fr; gap: 2.5rem; }
    .split { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
    .stat:nth-child(odd)::before { display: none; }
    .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
    .timeline::before { display: none; }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    h1, .hero h1 { font-size: 2.1rem; }
    h2 { font-size: 1.7rem; }
    .entry-title { font-size: 1.9rem; }

    .header-inner { flex-direction: column; align-items: flex-start; }
    .nav-toggle { display: inline-block; align-self: flex-end; margin-top: -3rem; }
    .main-nav { width: 100%; }
    .main-nav ul { flex-direction: column; gap: 0.2rem; display: none; }
    .main-nav.open ul { display: flex; }
    .main-nav li { border-bottom: 1px dashed #33473f; padding: 0.5rem 0; }

    .layout-single .content-area { width: 100%; }
    .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat::before { display: none !important; }
    .timeline { grid-template-columns: 1fr; }
    .hero-molecule { max-width: 70%; opacity: 0.09; }

    .front-section { padding: 2.4rem 0; }
    .stats { padding: 2rem 1.4rem; }
    .accent-band { padding: 1.8rem 1.4rem; }
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}
