/*
Theme Name: dds_eelandermineclothing.com
Author: Маркина София
Description: Тема для портфолио и блога дизайнера одежды. Эстетика мудборда, бирок и швейной мастерской.
Version: 1.1
Text Domain: dds_eel
*/

/* =========================
   Базовый сброс и переменные
   ========================= */
:root {
    --bg-main: #F8F6F0;
    --bg-soft: #E6E2D8;
    --text-main: #1E1E1E;
    --text-muted: #5B5750;
    --accent-terra: #C57B5B;
    --accent-indigo: #5B6C7A;
    --accent-brass: #A6896A;
    --line: #D8D2C5;
    --shadow-soft: 0 6px 18px rgba(60, 50, 40, 0.08);
    --shadow-card: 0 10px 28px rgba(60, 50, 40, 0.10);
    --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.65;
    font-size: 17px;
    /* Тонкая зернистая текстура — эффект бумаги/ткани */
    background-image:
        radial-gradient(rgba(166, 137, 106, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(60, 50, 40, 0.03) 1px, transparent 1px);
    background-size: 4px 4px, 7px 7px;
    background-position: 0 0, 2px 3px;
}

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin: 1.4em 0 0.6em;
    color: var(--text-main);
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

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

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

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    border: 1px solid var(--line);
    background: #fff;
}
table th, table td {
    border: 1px solid var(--line);
    padding: 0.6em 0.9em;
    text-align: left;
    vertical-align: top;
}
table th {
    background: var(--bg-soft);
    font-weight: 600;
}

blockquote {
    margin: 1.4em 0;
    padding: 1em 1.4em;
    background: var(--bg-soft);
    border-left: 3px solid var(--accent-brass);
    font-style: italic;
    color: var(--text-muted);
}

code, pre {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.92em;
}
code {
    background: var(--bg-soft);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}
pre {
    background: var(--bg-soft);
    padding: 1em;
    overflow-x: auto;
    border-radius: var(--radius);
}

/* =========================
   Контейнер и сетка страницы
   ========================= */
.shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 36px 0 60px;
}

.layout.has-aside {
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
}

.layout.full-wide .content-area {
    max-width: 85%;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 960px) {
    .layout.has-aside {
        grid-template-columns: 1fr;
    }
    .layout.full-wide .content-area {
        max-width: 100%;
    }
}

/* =========================
   Кнопки
   ========================= */
.btn {
    display: inline-block;
    padding: 0.65em 1.4em;
    border: 1.5px solid var(--accent-terra);
    border-radius: var(--radius);
    background: transparent;
    color: var(--accent-terra);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn:hover {
    background: var(--accent-terra);
    color: var(--bg-main);
    text-decoration: none;
}

.btn-text {
    display: inline-block;
    padding: 0.3em 0;
    border: none;
    background: transparent;
    color: var(--accent-indigo);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    text-decoration: none;
}
.btn-text:hover {
    border-bottom-color: var(--accent-indigo);
    text-decoration: none;
}

.btn-large {
    padding: 0.9em 1.8em;
    font-size: 1.05rem;
    box-shadow: var(--shadow-soft);
}

/* =========================
   Шапка
   ========================= */
.site-head {
    background: var(--bg-main);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    position: relative;
}

.site-head::after {
    /* Имитация машинной строчки */
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-image: linear-gradient(to right, var(--accent-brass) 50%, transparent 50%);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    opacity: 0.55;
}

.head-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}
.brand:hover { text-decoration: none; }

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.brand-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 3px;
    max-width: 460px;
}

.head-nav {
    margin-left: auto;
}

.head-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.head-nav li a {
    display: inline-block;
    padding: 8px 14px;
    color: var(--text-main);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.head-nav li a:hover,
.head-nav li.current-menu-item a {
    color: var(--accent-terra);
    border-bottom-color: var(--accent-terra);
    text-decoration: none;
}

/* Мобильное меню — кнопка-пин */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--accent-brass);
    border-radius: var(--radius);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-main);
    font-family: inherit;
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
    .head-nav {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 78%;
        max-width: 320px;
        background: var(--bg-main);
        border-right: 1px solid var(--line);
        padding: 70px 24px 24px;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        z-index: 80;
        box-shadow: var(--shadow-card);
    }
    .head-nav.is-open { transform: translateX(0); }
    .head-nav ul { flex-direction: column; gap: 0; }
    .head-nav li { border-bottom: 1px dashed var(--line); }
    .head-nav li a { display: block; padding: 14px 4px; }
    .nav-overlay {
        position: fixed; inset: 0;
        background: rgba(30, 30, 30, 0.4);
        z-index: 70;
    }
    .nav-overlay[hidden] { display: none !important; }
}

/* =========================
   Хлебные крошки
   ========================= */
.crumbs {
    margin: 18px 0 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.03em;
}
.crumbs a { color: var(--accent-indigo); }
.crumbs .crumb-sep {
    margin: 0 8px;
    color: var(--accent-brass);
}
.crumbs .crumb-current {
    color: var(--text-main);
}

/* =========================
   Карточки записей (мудборд)
   ========================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin: 24px 0 36px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

/* Лёгкое смещение каждой второй/третьей карточки — мудборд */
.cards-grid .card:nth-child(3n+2) { transform: translateY(8px); }
.cards-grid .card:nth-child(3n+2):hover { transform: translateY(4px); }
.cards-grid .card:nth-child(3n+3) { transform: translateY(-6px); }
.cards-grid .card:nth-child(3n+3):hover { transform: translateY(-10px); }

.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg-soft);
}

.card-thumb-fallback {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, var(--bg-soft) 0%, var(--accent-brass) 100%);
    position: relative;
    overflow: hidden;
}
.card-thumb-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.35;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.card-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-brass);
    margin-bottom: 8px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.card-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.3;
}
.card-title a {
    color: var(--text-main);
}
.card-title a:hover {
    color: var(--accent-terra);
    text-decoration: none;
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 14px;
    flex: 1;
}
.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card .card-thumb,
.card .card-thumb-fallback,
.card img {
    display: block;
}

/* Список (режим «список») */
.cards-grid.is-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.cards-grid.is-list .card {
    flex-direction: row;
    transform: none !important;
}
.cards-grid.is-list .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}
.cards-grid.is-list .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.cards-grid.is-list .card-thumb-wrap img,
.cards-grid.is-list .card-thumb-wrap .card-thumb-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: auto;
}
.cards-grid.is-list .card-body {
    padding: 22px 24px;
}

@media (max-width: 600px) {
    .cards-grid.is-list .card { flex-direction: column; }
    .cards-grid.is-list .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .cards-grid.is-list .card-thumb-wrap a {
        position: static;
    }
    .cards-grid.is-list .card-thumb-wrap img,
    .cards-grid.is-list .card-thumb-wrap .card-thumb-fallback {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* Переключатель режимов */
.view-switch {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin: 0 0 16px;
}
.view-switch button {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.25s ease;
    line-height: 1;
}
.view-switch button:hover { color: var(--accent-terra); border-color: var(--accent-terra); }
.view-switch button.is-active {
    background: var(--accent-terra);
    color: var(--bg-main);
    border-color: var(--accent-terra);
}
.view-switch svg { display: block; }

/* =========================
   Главная страница — тематические блоки
   ========================= */
.hero {
    margin: 30px 0 50px;
    padding: 50px 8% 56px;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #efeadf 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(166, 137, 106, 0.5);
    border-radius: 4px;
    pointer-events: none;
}
.hero h1 {
    font-size: 2.5rem;
    margin-top: 0;
    max-width: 720px;
}
.hero-lead {
    font-size: 1.15rem;
    max-width: 640px;
    color: var(--text-muted);
}
.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section {
    margin: 56px 0;
}
.section-head {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .section-tag {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-brass);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
}
.feature {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.feature h3 {
    margin-top: 0;
    color: var(--accent-indigo);
}

/* «Бирка» — стилизованный блок цитаты/тренда */
.tag-card {
    position: relative;
    background: var(--bg-soft);
    padding: 26px 28px 26px 36px;
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow-soft);
    background-image:
        radial-gradient(rgba(166, 137, 106, 0.18) 1px, transparent 1px);
    background-size: 5px 5px;
}
.tag-card::before {
    /* Уголок-вырез */
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--bg-main);
}
.tag-card-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-terra);
    margin-bottom: 8px;
}
.tag-card-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.55;
}

/* Шаги/процесс */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 16px;
}
.step {
    background: #fff;
    border: 1px dashed var(--accent-brass);
    border-radius: var(--radius);
    padding: 22px 22px 24px;
    position: relative;
}
.step-num {
    position: absolute;
    top: -14px;
    left: 22px;
    background: var(--accent-terra);
    color: var(--bg-main);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.step h3 { margin-top: 8px; color: var(--accent-indigo); }

/* =========================
   Сайдбар
   ========================= */
.sidebar {
    font-size: 0.96rem;
}
.widget {
    margin-bottom: 32px;
    padding: 22px 22px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.widget-title,
.widget h2,
.widget .widget-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-brass);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
}
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--text-main); }
.widget li a:hover { color: var(--accent-terra); }

/* =========================
   Запись и страница
   ========================= */
.entry-head {
    margin: 16px 0 28px;
}
.entry-head h1 {
    margin: 6px 0 12px;
}
.entry-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.04em;
}
.entry-thumb {
    margin: 18px 0 26px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.entry-thumb img { display: block; width: 100%; height: auto; }

.entry-content {
    font-size: 1.05rem;
}
.entry-content img { border-radius: var(--radius); }
.entry-content h2 { margin-top: 1.6em; }

.entry-tax {
    margin: 30px 0 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.entry-tax span { color: var(--accent-brass); margin-right: 6px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }

/* =========================
   Пагинация
   ========================= */
.pager {
    margin: 36px 0 10px;
    display: flex;
    justify-content: center;
}
.pager .page-numbers {
    display: inline-block;
    min-width: 42px;
    padding: 8px 12px;
    margin: 0 3px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    transition: all 0.25s ease;
}
.pager .page-numbers:hover,
.pager .page-numbers.current {
    background: var(--accent-terra);
    color: var(--bg-main);
    border-color: var(--accent-terra);
    text-decoration: none;
}
.pager .dots { background: transparent; border: none; }

/* =========================
   Комментарии
   ========================= */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.comments-title { margin-top: 0; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { list-style: none; padding-left: 26px; }
.comment-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 16px;
}
.comment-author {
    font-weight: 600;
    color: var(--accent-indigo);
    margin-bottom: 6px;
}
.comment-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px dashed var(--accent-brass);
    border-radius: var(--radius);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    margin: 6px 0 14px;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form label,
.search-form label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.comment-form .submit,
.search-form button {
    background: transparent;
    border: 1.5px solid var(--accent-terra);
    color: var(--accent-terra);
    padding: 0.65em 1.4em;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
}
.comment-form .submit:hover,
.search-form button:hover {
    background: var(--accent-terra);
    color: var(--bg-main);
}

/* Форма поиска */
.search-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 16px 0;
    flex-wrap: wrap;
}
.search-form input[type="search"] {
    flex: 1;
    margin: 0;
    min-width: 180px;
}
.search-form button { margin: 0; white-space: nowrap; }

/* =========================
   404
   ========================= */
.notfound {
    text-align: center;
    padding: 60px 20px 80px;
}
.notfound h1 { font-size: 4rem; margin: 0 0 0.2em; color: var(--accent-terra); }
.notfound p { max-width: 520px; margin: 0 auto 24px; color: var(--text-muted); }
.notfound .search-form { max-width: 480px; margin: 16px auto 24px; }

/* =========================
   Подвал — этикетка ухода
   ========================= */
.site-foot {
    background: #2a2723;
    color: #e8e3d5;
    padding: 50px 0 0;
    margin-top: 70px;
    position: relative;
}
.site-foot::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background-image: linear-gradient(to right, var(--accent-brass) 50%, transparent 50%);
    background-size: 8px 1px;
}
.site-foot a { color: #e8d8c5; }
.site-foot a:hover { color: #fff; }

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 36px;
}
@media (max-width: 760px) {
    .foot-cols { grid-template-columns: 1fr; gap: 28px; }
}

.foot-col .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #cfc8b8;
}
.foot-col .widget-title,
.foot-col .widget h2 {
    color: #d8c8a8;
    border-bottom-color: rgba(216, 200, 168, 0.25);
}
.foot-col .widget li {
    border-bottom-color: rgba(216, 200, 168, 0.15);
}
.foot-col .widget li a { color: #cfc8b8; }
.foot-col .widget li a:hover { color: #fff; }

.foot-bottom {
    border-top: 1px solid rgba(216, 200, 168, 0.2);
    padding: 18px 0 24px;
    text-align: center;
    font-size: 0.86rem;
    color: #b8af9c;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

/* =========================
   Cookie-баннер
   ========================= */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #2a2723;
    color: #e8e3d5;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 90;
    font-size: 0.92rem;
    border: 1px solid var(--accent-brass);
}
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: #e8d8c5; text-decoration: underline; }
.cookie-banner button {
    flex-shrink: 0;
    background: var(--accent-terra);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 9px 18px;
    cursor: pointer;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: background 0.3s ease;
}
.cookie-banner button:hover { background: #b06a4d; }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* =========================
   Адаптивные правки
   ========================= */
@media (max-width: 760px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    .hero { padding: 36px 7% 40px; }
    .hero h1 { font-size: 1.85rem; }
    .brand-desc { display: none; }
    .shell { padding: 0 16px; }
}

/* WP-классы */
.aligncenter { display: block; margin: 1em auto; }
.alignleft { float: left; margin: 0.4em 1.2em 0.6em 0; }
.alignright { float: right; margin: 0.4em 0 0.6em 1.2em; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.no-posts {
    padding: 30px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-muted);
}
