/*
Theme Name: dds_l-enracinee.com
Author: Анна Громова
Description: Тема для L’Enracinée — гида по атмосферным творческим пространствам: лофтам, фотостудиям, выставочным залам и репетиционным точкам. Театрально-литературная эстетика, адаптивная вёрстка.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: lenr
*/

/* ================= Переменные ================= */
:root {
    --bg: #f4efe6;
    --surface: #fbf8f2;
    --ink: #2a2724;
    --head: #1e2129;
    --muted: #6d655a;
    --accent: #b56a3d;
    --accent-dark: #9a5730;
    --line: #ddd2be;
    --dark: #1f2229;
    --dark-2: #262a33;
    --on-dark: #e8e2d6;
    --on-dark-muted: #a79c8a;
    --radius: 8px;
    --shadow: 0 6px 22px rgba(31, 34, 41, 0.08);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--head);
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 0.6em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

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

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

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

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

/* ================= Шапка ================= */
.site-header {
    background: var(--dark);
    color: var(--on-dark);
    border-bottom: 3px solid var(--accent);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
.brand-logo { display: block; }
.brand-logo--img { max-height: 60px; width: auto; }
.brand-text { min-width: 0; }
.site-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
}
.site-title a { color: var(--on-dark); }
.site-title a:hover { color: var(--accent); }
.site-desc {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--on-dark-muted);
    line-height: 1.4;
    max-width: 46ch;
}

/* Навигация */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav a {
    color: var(--on-dark);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--on-dark-muted);
    color: var(--on-dark);
    border-radius: 6px;
    padding: 0.4rem 0.7rem;
    font-size: 1rem;
    cursor: pointer;
}

/* ================= Основная раскладка ================= */
.site-main { padding: 2.4rem 0 3rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 3%;
    align-items: start;
}
.layout-single .content-area {
    width: 85%;
    margin-inline: auto;
}
.content-area { min-width: 0; }

.sidebar { min-width: 0; }

/* ================= Хлебные крошки ================= */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 1.6rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--line); margin: 0 0.15rem; }
.breadcrumbs span:last-child { color: var(--ink); }

/* ================= Карточки записей ================= */
.card-list {
    display: grid;
    gap: 1.6rem;
}
.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card-thumb-wrap {
    display: block;
    overflow: hidden;
}
.card-thumb-wrap img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-thumb-wrap img { transform: scale(1.04); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.4rem 1.5rem;
}
.card-title {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
}
.card-title a { color: var(--head); }
.card-title a:hover { color: var(--accent); }
.card-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 0.7rem;
    letter-spacing: 0.3px;
}
.card-excerpt {
    color: var(--ink);
    margin: 0 0 1rem;
    flex: 1;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more {
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.92rem;
    border-bottom: 1px solid transparent;
}
.card-more:hover { border-bottom-color: var(--accent); }

/* Горизонтальная карточка (архивы/поиск) */
.card--row { flex-direction: row; }
.card--row .card-thumb-wrap {
    flex: 0 0 260px;
    position: relative;
}
.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%;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}

/* ================= Пагинация ================= */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 2.5rem 0 0;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.95rem;
    text-decoration: none;
}
.pager a.page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pager .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pager .page-numbers.dots {
    border: none;
    background: none;
}

/* ================= Записи и страницы ================= */
.entry-header { margin-bottom: 1.4rem; }
.entry-title { margin: 0 0 0.5rem; }
.entry-meta {
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.3px;
}
.entry-thumb {
    margin: 0 0 1.6rem;
    border-radius: var(--radius);
    overflow: hidden;
}
.entry-thumb img { width: 100%; display: block; }
.entry-content { font-size: 1.02rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote {
    margin: 1.5em 0;
    padding: 1.1rem 1.4rem;
    background: var(--surface);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--head);
}
.entry-content blockquote p { margin: 0; }

.entry-tags {
    margin: 1.8rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}
.entry-tags a {
    display: inline-block;
    margin: 0.2rem 0.3rem 0.2rem 0;
    padding: 0.2rem 0.65rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
}

/* Таблицы в контенте */
.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(--line);
}
.entry-content th,
.entry-content td {
    padding: 0.6rem 0.9rem;
    text-align: left;
}
.entry-content th {
    background: var(--surface);
    font-family: var(--serif);
}

/* ================= Сайдбар и виджеты ================= */
.sidebar .widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    margin: 0 0 1.6rem;
    color: var(--ink);
}
.sidebar .widget-title {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent);
    color: var(--head);
}
.sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar .widget li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--line);
    color: var(--ink);
}
.sidebar .widget li:last-child { border-bottom: none; }
.sidebar .widget a { color: var(--ink); }
.sidebar .widget a:hover { color: var(--accent); }
.sidebar .widget .post-date {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

/* ================= Подвал ================= */
.site-footer {
    background: var(--dark);
    color: var(--on-dark);
    padding: 2.8rem 0 1.6rem;
    margin-top: 2rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.site-footer .widget { margin: 0; }
.site-footer .widget-title {
    color: var(--on-dark);
    font-size: 1.1rem;
    margin: 0 0 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(232, 226, 214, 0.2);
}
.site-footer .widget,
.site-footer .widget p {
    color: var(--on-dark-muted);
    font-size: 0.92rem;
}
.site-footer .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer .widget li { padding: 0.35rem 0; }
.site-footer .widget a { color: var(--on-dark); }
.site-footer .widget a:hover { color: var(--accent); }
.site-footer .widget .post-date { color: var(--on-dark-muted); font-size: 0.78rem; display: block; }

.footer-bottom {
    text-align: center;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(232, 226, 214, 0.15);
    font-size: 0.85rem;
    color: var(--on-dark-muted);
}

/* ================= Cookie-баннер ================= */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    background: var(--dark-2);
    color: var(--on-dark);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    max-width: 1180px;
    margin-inline: auto;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1 1 320px; }
.cookie-banner a { color: var(--accent); }
.cookie-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.4rem;
    font-size: 0.92rem;
    cursor: pointer;
    white-space: nowrap;
}
.cookie-accept:hover { background: var(--accent-dark); }

/* ================= Поиск ================= */
.search-form {
    display: flex;
    gap: 0.5rem;
}
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--ink);
}
.search-form .search-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 0.95rem;
}
.search-form .search-submit:hover { background: var(--accent-dark); }

/* ================= Комментарии ================= */
.comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.comments-title { margin-bottom: 1.4rem; }
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comment-list .children {
    list-style: none;
    margin: 0 0 0 1.6rem;
    padding: 0;
}
.comment-inner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    margin: 0 0 1.2rem;
}
.comment-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.comment-author { font-weight: 600; color: var(--head); }
.comment-date { font-size: 0.8rem; color: var(--muted); }
.comment-text p:last-child { margin-bottom: 0; }
.comment-moderation { font-size: 0.85rem; color: var(--accent); }
.comment-reply { margin-top: 0.5rem; font-size: 0.88rem; }
.comment-respond {
    margin-top: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.95rem;
    background: #fff;
    color: var(--ink);
}
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: 0.3rem; font-size: 0.9rem; }
.comment-form .submit {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.6rem;
    cursor: pointer;
    font-size: 0.95rem;
}
.comment-form .submit:hover { background: var(--accent-dark); }

/* ================= ГЛАВНАЯ ================= */
/* Hero-слайдер */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}
.hero-track { position: relative; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}
.slide img {
    width: 100%;
    height: clamp(340px, 52vh, 560px);
    object-fit: cover;
    display: block;
}
.slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2.4rem 6% 2.2rem;
    background: linear-gradient(to top, rgba(23, 25, 31, 0.88), rgba(23, 25, 31, 0));
    color: #fff;
}
.slide-caption h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    margin: 0 0 0.4rem;
    max-width: 22ch;
}
.slide-caption p {
    margin: 0;
    color: #ece5d8;
    max-width: 52ch;
    font-size: 1.02rem;
}
.slider-dots {
    position: absolute;
    left: 0; right: 0; bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    z-index: 3;
}
.slider-dots button {
    width: 11px; height: 11px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}
.slider-dots button.is-active { background: var(--accent); }

/* Секции главной */
.front-section { padding: 3.2rem 0; }
.front-section:nth-child(even) { background: var(--surface); }
.section-head {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 2.2rem;
}
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { color: var(--muted); margin: 0; }
.section-kicker {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

/* Блок текст+иллюстрация */
.fs-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}
.fs-split--reverse .fs-split-media { order: -1; }
.fs-split-media img,
.fs-split-media svg {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.fs-split-text h2 { text-align: left; }

/* Сетка типов пространств */
.fs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
}
.space-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.front-section:nth-child(even) .space-card { background: #fff; }
.space-card svg { width: 54px; height: 54px; margin: 0 auto 0.9rem; display: block; }
.space-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.space-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Пошаговый блок */
.fs-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 1.6rem 1.4rem 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.front-section:nth-child(even) .step { background: var(--surface); }
.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--accent);
    color: #fff;
    font-family: var(--serif);
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Галерея / мозаика */
.fs-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 1rem;
}
.fs-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.fs-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.fs-gallery figure:hover img { transform: scale(1.05); }
.fs-gallery .gal-wide { grid-column: span 2; }
.fs-gallery .gal-tall { grid-row: span 2; }

/* Цитата */
.fs-quote {
    background: var(--dark);
    color: var(--on-dark);
    border-radius: 12px;
    padding: 3rem 3.2rem;
    text-align: center;
}
.fs-quote blockquote {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    line-height: 1.5;
    font-style: italic;
    color: #fff;
    max-width: 40ch;
    margin-inline: auto;
}
.fs-quote cite {
    display: block;
    margin-top: 1.2rem;
    font-style: normal;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

/* Факты */
.fs-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    text-align: center;
}
.fact strong {
    display: block;
    font-family: var(--serif);
    font-size: 2.6rem;
    color: var(--accent);
    line-height: 1;
}
.fact span { color: var(--muted); font-size: 0.95rem; }

/* Последние записи на главной */
.fs-latest .card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CTA */
.fs-cta {
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    padding: 2.8rem 2.6rem;
    text-align: center;
}
.fs-cta h2 { color: #fff; margin-bottom: 0.6rem; }
.fs-cta p { color: #fdeee3; max-width: 54ch; margin: 0 auto 1.6rem; }
.btn {
    display: inline-block;
    background: var(--dark);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.98rem;
}
.btn:hover { background: var(--dark-2); color: #fff; }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: #f0e9dc; color: var(--dark); }

/* FAQ */
.fs-faq { max-width: 780px; margin-inline: auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 0.9rem;
    padding: 0.4rem 1.4rem;
}
.front-section:nth-child(even) .faq-item { background: var(--surface); }
.faq-item summary {
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--head);
    padding: 0.9rem 0;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-body { padding: 0 0 1rem; color: var(--ink); }
.faq-item .faq-body p { margin: 0; }

/* ================= 404 ================= */
.error-404 {
    text-align: center;
    padding: 2rem 0 3rem;
}
.error-404 .big-code {
    font-family: var(--serif);
    font-size: clamp(5rem, 18vw, 9rem);
    color: var(--accent);
    line-height: 1;
    margin: 0;
}
.error-404 .search-form {
    max-width: 460px;
    margin: 1.8rem auto;
}

/* ================= Адаптив ================= */
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: 1fr; gap: 2.4rem; }
    .fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs-steps { grid-template-columns: 1fr; }
    .fs-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
    .fs-latest .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }

    .header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .main-nav { width: 100%; }
    .nav-toggle { display: inline-block; align-self: flex-end; margin-top: -2.6rem; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .main-nav.is-open ul { display: flex; }
    .main-nav li {
        border-bottom: 1px solid rgba(232, 226, 214, 0.15);
    }
    .main-nav a { display: block; padding: 0.7rem 0; }

    .layout-single .content-area { width: 100%; }

    .fs-split { grid-template-columns: 1fr; gap: 1.6rem; }
    .fs-split--reverse .fs-split-media { order: 0; }
    .fs-grid { grid-template-columns: 1fr; }
    .fs-facts { grid-template-columns: 1fr; gap: 1.4rem; }
    .fs-latest .card-list { grid-template-columns: 1fr; }
    .fs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
    .fs-gallery .gal-wide { grid-column: span 2; }
    .fs-gallery .gal-tall { grid-row: span 1; }
    .footer-cols { grid-template-columns: 1fr; gap: 2rem; }

    .fs-quote { padding: 2rem 1.5rem; }
    .fs-cta { padding: 2rem 1.4rem; }
    .fs-faq .faq-item { padding: 0.3rem 1.1rem; }

    .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 { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-accept { width: 100%; }
}
