/*
Theme Name: location-vacances-cevennes.com
Author: Сычева Александра
Description: Подбор экологичного жилья для отдыха на природе, советы по аренде домов и выбору комфортных локаций.
Version: 1.1
Text Domain: location-vacances-cevennes
*/

/* ---------- Шрифты ---------- */
@import none;

/* ---------- Базовая палитра и переменные ---------- */
:root {
    --forest: #2C5E3A;
    --forest-dark: #1F4429;
    --earth: #D9D2B0;
    --earth-soft: #E8E2C5;
    --terracotta: #C1663B;
    --olive: #8DA35E;
    --cream: #FDF9F0;
    --cream-dim: #F5EFDD;
    --ink: #2A2A2A;
    --ink-soft: #555;
    --line: rgba(44, 94, 58, 0.18);
    --shadow-soft: 0 6px 18px rgba(44, 94, 58, 0.08);
    --shadow-mid: 0 10px 28px rgba(44, 94, 58, 0.14);
    --radius-stone: 30px;
    --radius-card: 14px;
}

/* ---------- Сезонные палитры (переключатель в подвале) ---------- */
body[data-season="ochre"] {
    --cream: #F8EFD8;
    --cream-dim: #EFE2BD;
    --earth: #E0BC83;
    --earth-soft: #EFD7AE;
    --olive: #B79551;
}
body[data-season="winter"] {
    --cream: #EEF1F2;
    --cream-dim: #DDE4E7;
    --earth: #B8C4C8;
    --earth-soft: #CFD8DB;
    --olive: #7C9098;
    --forest: #355A55;
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
    background-image:
        radial-gradient(rgba(44,94,58,0.04) 1px, transparent 1.2px),
        radial-gradient(rgba(193,102,59,0.03) 1px, transparent 1.2px);
    background-size: 28px 28px, 36px 36px;
    background-position: 0 0, 14px 14px;
    transition: background-color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--forest-dark);
    font-weight: 600;
    line-height: 1.25;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--terracotta); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--olive); }

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

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.4em;
    border-left: 4px solid var(--olive);
    background: var(--cream-dim);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--ink-soft);
}

code, pre {
    font-family: 'SFMono-Regular', Consolas, monospace;
    background: var(--cream-dim);
    border-radius: 6px;
}
code { padding: 2px 6px; font-size: 0.92em; }
pre { padding: 1em; overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--line);
}
th, td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}
th {
    background: var(--earth-soft);
    font-family: 'Playfair Display', serif;
    color: var(--forest-dark);
}
tr:nth-child(even) td { background: var(--cream-dim); }

hr { border: 0; border-top: 1px dashed var(--line); margin: 2em 0; }

ul, ol { padding-left: 1.5em; }
li { margin: 0.3em 0; }

/* ---------- Контейнер ---------- */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Кнопки ---------- */
.btn, .button, button.btn-primary, .post-password-form input[type="submit"], #submit, input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 12px 26px;
    background: var(--terracotta);
    color: var(--cream);
    border-radius: var(--radius-stone);
    border: none;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 0 rgba(0,0,0,0.06);
}
.btn:hover, .button:hover, #submit:hover, input[type="submit"]:hover {
    background: var(--olive);
    color: var(--cream);
    box-shadow: 0 8px 22px rgba(141, 163, 94, 0.35);
    transform: translateY(-1px);
}
.btn .leaf-ico { display: inline-block; width: 14px; height: 14px; flex: none; }

.btn-outline {
    background: transparent;
    color: var(--ink-soft);
    border: 1.5px solid var(--earth);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--cream-dim);
    color: var(--forest-dark);
    border-color: var(--olive);
}

/* ---------- Поля форм ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], textarea, select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(141,163,94,0.18);
}
label { display: block; margin: 0.4em 0 0.3em; font-weight: 500; color: var(--ink-soft); }

/* ---------- Шапка ---------- */
.site-header {
    position: relative;
    background: var(--forest);
    color: var(--cream);
    overflow: hidden;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px),
        radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    pointer-events: none;
}
.site-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}
.brand { display: flex; align-items: center; gap: 14px; flex: 1; }
.brand-logo, .brand-svg {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 12px;
    background: var(--cream);
    padding: 6px;
}
.brand-text { line-height: 1.2; }
.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream);
    text-decoration: none;
}
.brand-name:hover { color: var(--earth); }
.brand-tag {
    font-size: 0.85rem;
    color: rgba(253, 249, 240, 0.78);
    margin-top: 3px;
    max-width: 480px;
}

/* Параллакс-холмы */
.cevennes-parallax {
    position: relative;
    height: 110px;
    overflow: hidden;
}
.cevennes-parallax svg {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
}
.hill-far  { transform: translateY(0); transition: transform 0.1s linear; }
.hill-mid  { transform: translateY(0); transition: transform 0.1s linear; }
.hill-near { transform: translateY(0); transition: transform 0.1s linear; }

/* ---------- Навигация ---------- */
.main-nav { background: var(--cream-dim); border-bottom: 1px solid var(--line); }
.main-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.main-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.main-nav li a {
    display: inline-block;
    padding: 8px 16px;
    color: var(--forest-dark);
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.main-nav li a:hover,
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
    background: var(--forest);
    color: var(--cream);
}
.main-nav li.menu-item-has-children > a::after { content: " ▾"; font-size: 0.8em; }
.main-nav .sub-menu {
    position: absolute;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px;
    box-shadow: var(--shadow-mid);
    min-width: 200px;
    display: none;
    z-index: 50;
}
.main-nav li:hover > .sub-menu { display: block; }

.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--forest);
    color: var(--forest-dark);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: none;
}
.menu-toggle:hover { background: var(--forest); color: var(--cream); }

/* ---------- Контент-обёртки ---------- */
.layout { padding: 36px 0 56px; }
.layout-inner { display: grid; grid-template-columns: 1fr; gap: 36px; }
.layout-with-sidebar .layout-inner {
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
}
.layout-wide .layout-inner { grid-template-columns: 85%; justify-content: center; }
.layout-full .layout-inner { grid-template-columns: 1fr; }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin: 0 0 18px;
    padding: 8px 0;
}
.breadcrumbs a { color: var(--forest-dark); }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.5; }
.breadcrumbs .current { color: var(--terracotta); font-weight: 500; }

/* ---------- Главная: hero и тематические блоки ---------- */
.hero {
    background: linear-gradient(135deg, var(--cream-dim) 0%, var(--earth-soft) 100%);
    border-radius: var(--radius-card);
    padding: 48px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.hero h1 { margin-top: 0; font-size: 2.6rem; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.hero .btn { margin-top: 12px; }
.hero-deco {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 220px;
    height: 220px;
    opacity: 0.15;
    pointer-events: none;
}

.section { margin: 56px 0; }
.section-title {
    font-size: 1.9rem;
    margin: 0 0 8px;
    position: relative;
    padding-bottom: 14px;
}
.section-title::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0; left: 0;
    width: 60px;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
}
.section-lead { color: var(--ink-soft); margin: 0 0 28px; max-width: 760px; }

/* Колонки внутри тематического блока */
.cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.feature {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.feature-ico {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream-dim);
    border-radius: 50%;
    margin-bottom: 14px;
    color: var(--forest);
}
.feature h3 { margin-top: 0.4em; font-size: 1.2rem; }
.feature p { color: var(--ink-soft); margin: 0; }

/* Зелёный навигатор — карта */
.green-nav {
    background: var(--forest);
    color: var(--cream);
    border-radius: var(--radius-card);
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.green-nav h2 { color: var(--cream); }
.green-nav h2::after { background: var(--earth); }
.green-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
.green-map {
    background: rgba(253, 249, 240, 0.08);
    border: 1px dashed rgba(253, 249, 240, 0.3);
    border-radius: 12px;
    height: 320px;
    position: relative;
    overflow: hidden;
}
.moss-house {
    position: absolute;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: transform 0.25s ease;
}
.moss-house:hover { transform: scale(1.2); }
.moss-house svg { width: 100%; height: 100%; }
.green-nav ul { list-style: none; padding: 0; }
.green-nav ul li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(253, 249, 240, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.green-nav ul li:last-child { border-bottom: none; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 24px 24px 24px 64px;
    position: relative;
    border: 1px solid var(--line);
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 22px;
    width: 34px; height: 34px;
    background: var(--terracotta);
    color: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}
.step h3 { margin-top: 0; font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* Эко-советы (карточки-листья) */
.ecotips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.leaf-card {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dim) 100%);
    border: 1px solid var(--line);
    border-top-left-radius: 30px 60px;
    border-bottom-right-radius: 30px 60px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 24px 28px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}
.leaf-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--olive);
}
.leaf-card:hover {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: var(--shadow-mid);
}
.leaf-card h3 { margin: 0 0 8px; color: var(--forest-dark); }
.leaf-card .body {
    max-height: 60px;
    overflow: hidden;
    color: var(--ink-soft);
    transition: max-height 0.5s ease;
}
.leaf-card:hover .body { max-height: 400px; }

/* ---------- Карточки записей ---------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.card {
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-mid); }
.card-thumb {
    display: block;
    overflow: hidden;
    background: var(--cream-dim);
}
.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }
.card-body {
    flex: 1;
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card-title { margin: 0; font-size: 1.25rem; }
.card-title a { color: var(--forest-dark); }
.card-title a:hover { color: var(--terracotta); }
.card-meta { font-size: 0.85rem; color: var(--ink-soft); display: flex; gap: 14px; flex-wrap: wrap; }
.card-meta a { color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.card-meta a:hover { color: var(--terracotta); border-color: var(--terracotta); }
.card-excerpt { color: var(--ink-soft); }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }
.card-foot { margin-top: auto; padding-top: 8px; }
.card-foot .btn-outline { padding: 8px 18px; font-size: 0.92rem; }

/* Горизонтальная карточка (для главной) */
.card-row {
    flex-direction: row;
}
.card-row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}
.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;
}

/* Галерея «Живые комнаты» */
.living-rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 8px;
}
.living-room {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: var(--earth-soft);
}
.living-room:nth-child(1) { grid-row: span 2; }
.living-room svg, .living-room img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease, opacity 0.6s ease;
}
.living-room:hover svg, .living-room:hover img { transform: scale(1.08); }

/* ---------- Запись/страница ---------- */
.entry {
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 36px 40px;
    border: 1px solid var(--line);
}
.entry-header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.entry-title { margin: 0 0 10px; font-size: 2.1rem; }
.entry-meta { font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 16px; flex-wrap: wrap; }
.entry-meta a { color: var(--ink-soft); }
.entry-meta a:hover { color: var(--terracotta); }
.entry-thumb { margin: 0 0 26px; border-radius: 10px; overflow: hidden; }
.entry-thumb img { width: 100%; display: block; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 6px; text-align: center; }

.entry-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.entry-tags span { font-weight: 500; color: var(--ink-soft); margin-right: 6px; }
.entry-tags a {
    background: var(--cream-dim);
    color: var(--forest-dark);
    padding: 4px 12px;
    border-radius: 18px;
    font-size: 0.88rem;
}
.entry-tags a:hover { background: var(--olive); color: var(--cream); }

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}
.post-nav a {
    display: block;
    padding: 14px 18px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
}
.post-nav a:hover { border-color: var(--olive); background: var(--cream-dim); }
.post-nav .label { font-size: 0.82rem; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.post-nav .next { text-align: right; }

/* ---------- Сайдбар ---------- */
.sidebar { font-size: 0.95rem; }
.widget {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 22px 24px;
    margin-bottom: 22px;
}
.widget-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--terracotta);
    display: inline-block;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
}
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--ink); }
.widget li a:hover { color: var(--terracotta); }

/* ---------- Поиск ---------- */
.search-form {
    display: flex;
    gap: 8px;
    background: var(--earth-soft);
    border: 2px solid var(--earth);
    border-radius: 14px;
    padding: 8px 8px 8px 16px;
    position: relative;
    box-shadow: 0 4px 0 rgba(141, 99, 47, 0.18);
}
.search-form::before, .search-form::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 2px;
    height: 14px;
    background: rgba(141, 99, 47, 0.5);
}
.search-form::before { left: 30px; }
.search-form::after  { right: 30px; }
.search-form input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 8px 4px;
}
.search-form input[type="search"]:focus { box-shadow: none; }
.search-form button {
    padding: 10px 22px;
    border-radius: 10px;
    background: var(--forest);
}
.search-form button:hover { background: var(--olive); }

/* ---------- Пагинация ---------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 36px 0 12px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    background: var(--cream);
    border: 1px solid var(--line);
    color: var(--forest-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination a:hover {
    background: var(--olive);
    color: var(--cream);
    border-color: var(--olive);
}
.pagination .current {
    background: var(--terracotta);
    color: var(--cream);
    border-color: var(--terracotta);
}
.pagination .dots { background: transparent; border: none; }

/* ---------- Комментарии ---------- */
.comments-area {
    margin-top: 40px;
    padding: 32px 36px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}
.comments-title { margin-top: 0; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list ol { list-style: none; padding-left: 30px; }
.comment-list li { margin-bottom: 22px; }
.comment-body {
    background: var(--cream-dim);
    border-radius: 10px;
    padding: 16px 20px;
    border-left: 3px solid var(--olive);
}
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 600; color: var(--forest-dark); font-style: normal; }
.comment-meta { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 10px; }
.comment-meta a { color: var(--ink-soft); }
.comment-content p { margin: 0.4em 0; }
.comment-reply-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--terracotta);
    border: 1px solid var(--line);
    padding: 4px 12px;
    border-radius: 14px;
}
.comment-reply-link:hover { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.comment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.comment-form .comment-form-comment { grid-column: 1 / -1; }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit-row { grid-column: 1 / -1; }
.no-comments { color: var(--ink-soft); font-style: italic; }

/* ---------- 404 ---------- */
.error-404 {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dim) 100%);
    border-radius: var(--radius-card);
    position: relative;
    overflow: hidden;
}
.error-404 h1 { font-size: 4rem; margin: 0; color: var(--forest-dark); }
.error-404 .subtitle { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 28px; }
.dandelions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin: 36px 0;
}
.dandelion {
    width: 140px;
    text-align: center;
    text-decoration: none;
    color: var(--forest-dark);
}
.dandelion .seed {
    width: 80px;
    height: 80px;
    margin: 0 auto 8px;
    transition: transform 0.5s ease;
}
.dandelion:hover .seed { transform: translateY(-6px) rotate(8deg); }
.dandelion .label { font-size: 0.92rem; }
.error-404 .search-form { max-width: 440px; margin: 24px auto 0; }

/* ---------- Подвал ---------- */
.site-footer {
    background: var(--forest-dark);
    color: var(--cream);
    margin-top: 60px;
    padding: 50px 0 22px;
    position: relative;
}
.site-footer a { color: var(--earth); }
.site-footer a:hover { color: var(--cream); }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 30px;
}
.footer-cols .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: rgba(253, 249, 240, 0.85);
}
.footer-cols .widget-title { color: var(--cream); border-color: var(--terracotta); }
.footer-cols .widget li { border-bottom: 1px dashed rgba(253, 249, 240, 0.15); }
.footer-cols .widget li a { color: rgba(253, 249, 240, 0.85); }

.season-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 24px 0 18px;
    padding: 14px 18px;
    background: rgba(253, 249, 240, 0.06);
    border-radius: 14px;
    flex-wrap: wrap;
}
.season-toggle .label { font-size: 0.9rem; color: rgba(253,249,240,0.8); margin-right: 8px; }
.season-toggle button {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(253, 249, 240, 0.3);
    border-radius: 18px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.88rem;
    box-shadow: none;
}
.season-toggle button:hover, .season-toggle button.active {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.copyright {
    border-top: 1px solid rgba(253, 249, 240, 0.15);
    padding-top: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(253, 249, 240, 0.65);
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-mid);
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.93rem;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; color: var(--ink-soft); }
.cookie-banner button { padding: 9px 22px; }

/* ---------- Адаптивность ---------- */
@media (max-width: 960px) {
    .layout-with-sidebar .layout-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .layout-wide .layout-inner { grid-template-columns: 1fr; }
    .cols-3, .steps, .footer-cols, .green-nav-grid { grid-template-columns: repeat(2, 1fr); }
    .ecotips { grid-template-columns: 1fr; }
    .living-rooms { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .entry { padding: 28px 26px; }
    .hero { padding: 36px 26px; }
    .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    .wrap { padding: 0 16px; }
    .site-header-inner { flex-wrap: wrap; gap: 14px; padding: 16px 0; }
    .brand-logo, .brand-svg { width: 46px; height: 46px; }
    .brand-name { font-size: 1.15rem; }
    .brand-tag { display: none; }
    .menu-toggle { display: inline-block; }
    .main-nav { padding: 6px 0; }
    .main-nav-inner { flex-direction: column; align-items: stretch; gap: 8px; }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        display: none;
        background: var(--cream);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 8px;
    }
    .main-nav ul.is-open { display: flex; }
    .main-nav li a { display: block; }
    .cevennes-parallax { height: 70px; }
    .cols-3, .cols-2, .steps, .footer-cols, .green-nav-grid, .posts-grid {
        grid-template-columns: 1fr;
    }
    .living-rooms { grid-template-columns: 1fr; grid-auto-rows: 160px; }
    .living-room:nth-child(1) { grid-row: span 1; }
    .comment-form-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .entry { padding: 22px 20px; }
    .entry-title { font-size: 1.5rem; }

    /* Горизонтальная карточка → вертикальная */
    .card-row { flex-direction: column; }
    .card-row .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card-row .card-thumb-wrap a { position: static; }
    .card-row .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
}
