/*
Theme Name: dds_goodcaferestaurante.com
Author: Панкратова Виолетта
Description: Тема для сайта об опыте управления семейным рестораном — практические заметки о кухне, сервисе и организации работы.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: dds_goodcaferestaurante
*/

/* =========================
   ПЕРЕМЕННЫЕ И БАЗА
   ========================= */

@import url("/assets/f23a9270e1f92ee00e08.css");

:root {
    --paper: #FDF8F0;
    --terracotta: #C85C3E;
    --terracotta-deep: #A24628;
    --olive: #8A9A5B;
    --olive-soft: #B5BE8C;
    --graphite: #2B2B28;
    --wood: #D9C5B2;
    --wood-soft: #E8DCC9;
    --footer-bg: #3E2A24;
    --footer-gold: #E5C98A;
    --line: rgba(43, 43, 40, 0.12);
    --shadow-soft: 0 2px 14px rgba(62, 42, 36, 0.08);
    --shadow-lift: 0 10px 30px rgba(62, 42, 36, 0.14);
    --font-heading: 'Manrope', system-ui, sans-serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-pill: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 12% 20%, rgba(200, 92, 62, 0.04), transparent 40%),
        radial-gradient(circle at 88% 80%, rgba(138, 154, 91, 0.05), transparent 45%);
    color: var(--graphite);
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

a:hover { color: var(--terracotta-deep); }

p {
    margin: 0 0 1em;
    /* без background-color — фон только у блоков и body (правило F) */
}

/* =========================
   ТИПОГРАФИКА
   ========================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--graphite);
    line-height: 1.2;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

blockquote {
    border-left: 3px solid var(--olive);
    margin: 1.5em 0;
    padding: 0.4em 1.2em;
    font-style: italic;
    color: #4d4d48;
    background: rgba(138, 154, 91, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

code, pre {
    font-family: 'JetBrains Mono', Consolas, monospace;
    background: rgba(43, 43, 40, 0.05);
    border-radius: 6px;
}
code { padding: 0.1em 0.4em; font-size: 0.9em; }
pre { padding: 1em; overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--line);
    background: #fff;
}
th, td {
    border: 1px solid var(--line);
    padding: 0.7em 1em;
    text-align: left;
}
th {
    background: var(--wood-soft);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--graphite);
}

/* =========================
   КНОПКИ
   ========================= */

.btn-primary,
.search-submit,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    background: var(--terracotta);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85em 2em;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary:hover,
.search-submit:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--terracotta-deep);
    color: #fff;
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(200, 92, 62, 0.25);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--olive);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7em 1.6em;
    border: 1.5px solid var(--olive);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(200, 92, 62, 0.08);
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--graphite);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.4em 0;
    position: relative;
}

.btn-link::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    flex-shrink: 0;
}

.btn-link:hover {
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================
   КАРКАС
   ========================= */

.site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    flex: 1;
    padding: 40px 0 80px;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
    align-items: start;
}

.layout-no-sidebar {
    width: 85%;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: 1fr; gap: 40px; }
    .layout-no-sidebar { width: 100%; }
}

/* =========================
   ШАПКА
   ========================= */

.site-header {
    background: linear-gradient(180deg, #FFFCF5 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
    padding: 24px 0 0;
    position: relative;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--terracotta) 0, var(--terracotta) 6px,
        transparent 6px, transparent 12px
    );
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 22px;
}

.brand-logo {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--wood-soft);
}

.brand-mark {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--wood-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--terracotta);
}

.brand-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    color: var(--graphite);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-decoration: none;
}
.brand-name:hover { color: var(--terracotta); }

.brand-tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1rem;
    color: #5a5a52;
    line-height: 1.4;
    max-width: 600px;
}

/* Навигация */

.primary-nav {
    border-top: 1px solid var(--line);
    padding: 14px 0;
}

.primary-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav-list a {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--graphite);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.primary-nav-list a::before {
    content: '';
    position: absolute;
    left: 14px; bottom: 4px;
    height: 2px; width: 0;
    background: var(--terracotta);
    transition: width 0.25s ease;
}

.primary-nav-list a:hover,
.primary-nav-list .current-menu-item > a,
.primary-nav-list .current_page_item > a {
    color: var(--terracotta);
}

.primary-nav-list a:hover::before,
.primary-nav-list .current-menu-item > a::before,
.primary-nav-list .current_page_item > a::before {
    width: calc(100% - 28px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--terracotta);
    color: var(--terracotta);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .primary-nav-list {
        display: none;
        flex-direction: column;
        gap: 2px;
        margin-top: 12px;
    }
    .primary-nav-list.is-open { display: flex; }
    .primary-nav-list a { padding: 10px 14px; }
}

/* =========================
   ХЛЕБНЫЕ КРОШКИ
   ========================= */

.breadcrumbs {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: #6e6e66;
    padding: 18px 0 6px;
    line-height: 1.5;
}

.breadcrumbs a {
    color: #6e6e66;
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--terracotta); }

.breadcrumbs .sep {
    margin: 0 8px;
    color: var(--olive);
}

.breadcrumbs .current {
    color: var(--graphite);
    font-weight: 600;
}

/* =========================
   КАРТОЧКИ ЗАПИСЕЙ
   ========================= */

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

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

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.card-thumb {
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--wood-soft);
}

.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: sepia(0.18) saturate(0.95) brightness(1.02);
    transition: transform 0.4s ease;
}

.card:hover .card-thumb img { transform: scale(1.04); }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 26px;
    gap: 10px;
}

.card-meta {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--olive);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.card-title a {
    color: var(--graphite);
    text-decoration: none;
}
.card-title a:hover { color: var(--terracotta); }

.card-excerpt {
    flex: 1;
    color: #45453f;
    font-size: 1rem;
    line-height: 1.55;
}

.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-foot {
    margin-top: 12px;
}

/* =========================
   САЙДБАР
   ========================= */

.sidebar {
    background: var(--wood-soft);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    align-self: start;
    position: sticky;
    top: 24px;
}

.widget {
    margin-bottom: 30px;
}
.widget:last-child { margin-bottom: 0; }

.widget-title,
.widget h2,
.widget h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--terracotta);
    display: inline-block;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(43, 43, 40, 0.15);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
}

.widget li:last-child { border-bottom: none; }

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

/* =========================
   ГЛАВНАЯ
   ========================= */

.hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--olive);
    padding: 6px 16px;
    border: 1px solid var(--olive);
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    margin: 0 auto 18px;
    max-width: 920px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 500;
    color: var(--terracotta);
}

.hero-lead {
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
    color: #4d4d47;
    line-height: 1.6;
}

/* Тематический блок «Управленческий опыт» */

.experience-block {
    margin: 50px 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, #fff 0%, var(--wood-soft) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.experience-block.dark {
    background: linear-gradient(135deg, var(--footer-bg) 0%, #2A1C18 100%);
    color: var(--paper);
    border: none;
}

.experience-block.dark h2,
.experience-block.dark h3 { color: var(--footer-gold); }

.experience-block.dark p { color: #E0D6C5; }

.block-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.experience-block.dark .block-eyebrow { color: var(--footer-gold); }

.block-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 0 0 18px;
    max-width: 720px;
}

.block-lead {
    max-width: 700px;
    margin: 0 0 32px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    margin-top: 28px;
}

.block-card {
    background: rgba(253, 248, 240, 0.7);
    border-radius: var(--radius-sm);
    padding: 26px 24px;
    border-top: 3px solid var(--terracotta);
}

.experience-block.dark .block-card {
    background: rgba(229, 201, 138, 0.06);
    border-top-color: var(--footer-gold);
}

.block-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: var(--terracotta);
    stroke: var(--terracotta);
}

.experience-block.dark .block-card-icon { color: var(--footer-gold); stroke: var(--footer-gold); }

.block-card h3 {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.block-card p {
    font-size: 0.98rem;
    margin: 0;
    color: #4a4a45;
}

.experience-block.dark .block-card p { color: #DCD0BC; }

/* Лента последних записей на главной */

.front-feed {
    margin: 60px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--terracotta);
}

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0;
}

.section-head .section-sub {
    font-family: var(--font-body);
    font-style: italic;
    color: #6e6e66;
    margin: 0;
}

/* Шаги/таймлайн как часть тематического блока */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.step {
    background: rgba(253, 248, 240, 0.6);
    padding: 22px;
    border-radius: var(--radius-sm);
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--olive);
    line-height: 1;
    margin-bottom: 8px;
}

.step h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.step p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a4a45;
}

/* =========================
   ОДИНОЧНЫЕ СТРАНИЦЫ И ЗАПИСИ
   ========================= */

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.entry-meta {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--olive);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.entry-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 14px;
    line-height: 1.15;
}

.entry-thumb {
    margin: 0 0 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 8;
    background: var(--wood-soft);
}

.entry-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.15) saturate(0.95) brightness(1.02);
}

.entry-content > * { margin-bottom: 1em; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.2em; }

.entry-content ul,
.entry-content ol {
    padding-left: 1.4em;
    margin-bottom: 1.2em;
}

.entry-content li { margin-bottom: 0.4em; }

.entry-content img {
    border-radius: var(--radius-sm);
    margin: 1em 0;
}

/* =========================
   ПАГИНАЦИЯ
   ========================= */

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 50px 0 20px;
    padding: 24px 0;
    border-top: 1px dashed var(--line);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--graphite);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background: var(--wood-soft);
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.pagination .page-numbers.current {
    background: var(--terracotta);
    color: #fff;
    border-color: var(--terracotta);
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
}

/* =========================
   КОММЕНТАРИИ
   ========================= */

.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--terracotta);
}

.comments-title,
.comment-reply-title {
    font-size: 1.4rem;
    margin: 0 0 24px;
}

.comment-list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

.comment-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    margin-bottom: 16px;
}

.comment-list .children {
    list-style: none;
    margin: 14px 0 0;
    padding-left: 28px;
    border-left: 2px solid var(--olive-soft);
}

.comment-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--graphite);
    margin-bottom: 4px;
}

.comment-date {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--olive);
    margin-bottom: 12px;
}

.comment-form p { margin-bottom: 16px; }

.comment-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--graphite);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--graphite);
}

.comment-form textarea { min-height: 140px; resize: vertical; }

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(200, 92, 62, 0.12);
}

/* =========================
   ФОРМА ПОИСКА
   ========================= */

.search-form {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--graphite);
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--terracotta);
}

/* =========================
   404
   ========================= */

.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 .err-num {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 800;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.error-404 h1 {
    margin-bottom: 16px;
}

.error-404 .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

/* =========================
   ПОДВАЛ
   ========================= */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-gold);
    padding: 60px 0 30px;
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--terracotta) 0, var(--terracotta) 10px,
        var(--footer-bg) 10px, var(--footer-bg) 20px
    );
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer .widget-title,
.site-footer .widget h2,
.site-footer .widget h3 {
    color: var(--footer-gold);
    border-bottom-color: var(--footer-gold);
    font-size: 0.95rem;
}

.site-footer .widget {
    color: #E0D6C5;
    margin-bottom: 0;
}

.site-footer .widget p { color: #DCD0BC; }

.site-footer .widget a {
    color: #E0D6C5;
}
.site-footer .widget a:hover { color: var(--footer-gold); }

.site-footer .widget li {
    border-bottom-color: rgba(229, 201, 138, 0.18);
}

.site-footer .widget input[type="text"],
.site-footer .widget input[type="email"],
.site-footer .widget input[type="search"] {
    width: 100%;
    padding: 10px 14px;
    background: rgba(253, 248, 240, 0.08);
    color: var(--paper);
    border: 1px solid rgba(229, 201, 138, 0.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

.footer-bottom {
    border-top: 1px solid rgba(229, 201, 138, 0.2);
    padding-top: 20px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: #C9B985;
    letter-spacing: 0.02em;
}

/* =========================
   COOKIE-БАННЕР
   ========================= */

/* Правило A11: hidden должен побеждать display */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: var(--graphite);
    color: var(--paper);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    z-index: 999;
    border: 1px solid var(--terracotta);
    max-width: 720px;
    margin: 0 auto;
}

.cookie-banner-text {
    flex: 1 1 280px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: var(--font-heading);
}

.cookie-banner button {
    background: var(--terracotta);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.7em 1.6em;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-banner button:hover { background: var(--terracotta-deep); }

/* =========================
   АДАПТИВ
   ========================= */

@media (max-width: 768px) {
    body { font-size: 18px; }
    .container { padding: 0 18px; }
    .site-main { padding: 24px 0 60px; }
    .experience-block { padding: 32px 22px; margin: 36px 0; }
    .brand-row { flex-wrap: wrap; gap: 16px; }
    .brand-tagline { font-size: 0.95rem; }
    .sidebar { position: static; }
}

@media (max-width: 600px) {
    .hero { padding: 40px 0 24px; }
    .card-list { grid-template-columns: 1fr; gap: 22px; }
    .footer-cols { gap: 32px; }
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* WP utility classes */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #6e6e66;
    text-align: center;
    margin: 0.4em 0;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    word-wrap: normal !important;
}

/* Sticky-posts (если используется) */
.sticky { /* без особых стилей, но требуется для wp_body_class */ }
.bypostauthor { /* совместимость с темами */ }
