/*
Theme Name: dds_soratge.com
Theme URI: https://soratge.com/
Author: Иванов Степан
Author URI: https://soratge.com/
Description: Тема для информационного сайта о подборе люксовых курортов, отелей и апартаментов для комфортного отдыха у моря.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soratge
*/

/* === Подключаемые шрифты === */
@import url("/assets/3bc85e7f359ca17c2eac.css");

/* === Базовые переменные палитры === */
:root {
    --tone-sand:        #f4ecdf;
    --tone-sand-deep:   #e9dec8;
    --tone-paper:       #fbf6ec;
    --tone-sea:         #4a9faa;
    --tone-sea-cool:    #3d8a93;
    --tone-sea-pale:    #d8e6e8;
    --tone-terracotta:  #c8704d;
    --tone-terracotta-deep: #aa5d3e;
    --tone-ink:         #2a2a2e;
    --tone-driftwood:   #8a7a5e;
    --tone-pearl:       #f0e8db;
    --shadow-soft:      0 4px 18px rgba(40, 35, 25, 0.08);
    --shadow-lift:      0 16px 36px rgba(40, 35, 25, 0.16);
    --radius-card:      16px;
    --radius-btn:       10px;
    --font-headline:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* === Сброс === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--tone-sand);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.4) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(216, 230, 232, 0.25) 0%, transparent 40%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.5 0 0 0 0 0.35 0 0 0 0.06 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
    color: var(--tone-ink);
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.65;
    letter-spacing: 0.005em;
}

img { max-width: 100%; height: auto; }
a { color: var(--tone-sea-cool); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--tone-terracotta); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 700;
    letter-spacing: 0.045em;
    color: var(--tone-ink);
    line-height: 1.25;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

/* === Контейнер === */
.shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* === Шапка сайта === */
.site-header {
    background: linear-gradient(180deg, var(--tone-paper) 0%, var(--tone-sand) 100%);
    border-bottom: 1px solid rgba(138, 122, 94, 0.18);
    padding: 22px 0 24px;
    position: relative;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--tone-ink);
}
.brand-logo, .brand svg.brand-logo {
    width: 56px; height: 56px;
    flex: 0 0 56px;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.brand:hover .brand-logo {
    animation: brand-pulse 1.6s ease-in-out infinite;
}
@keyframes brand-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 6px rgba(74, 159, 170, 0.3)); }
    50%      { transform: scale(1.06); filter: drop-shadow(0 4px 10px rgba(74, 159, 170, 0.5)); }
}
.brand-name {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: 0.06em;
    color: var(--tone-ink);
    line-height: 1.15;
    text-transform: uppercase;
}
.brand-tag {
    display: block;
    margin-top: 4px;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--tone-driftwood);
    letter-spacing: 0.01em;
    text-transform: none;
}

/* === Основное меню === */
.primary-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.primary-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.primary-nav li a {
    font-family: var(--font-headline);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tone-ink);
    padding: 8px 2px;
    position: relative;
}
.primary-nav li a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 2px;
    height: 1px;
    background: var(--tone-terracotta);
    transition: right 0.35s ease;
}
.primary-nav li a:hover::after,
.primary-nav li.current-menu-item a::after,
.primary-nav li.current_page_item a::after {
    right: 0;
}
.primary-nav li.current-menu-item a,
.primary-nav li.current_page_item a {
    color: var(--tone-sea-cool);
}

/* Мобильное меню — кнопка-бургер */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(42, 42, 46, 0.2);
    border-radius: var(--radius-btn);
    padding: 10px 12px;
    cursor: pointer;
    color: var(--tone-ink);
}
.menu-toggle svg { display: block; width: 22px; height: 22px; }

/* === Кнопки === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.2;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #5cb0ba 0%, var(--tone-sea) 55%, var(--tone-sea-cool) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 12px rgba(74, 159, 170, 0.32);
}
.btn-primary:hover {
    background: linear-gradient(180deg, #4d9aa4 0%, var(--tone-sea-cool) 55%, #34777f 100%);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 18px rgba(74, 159, 170, 0.42);
    color: #fff;
}
.btn-accent {
    color: #fff;
    background: linear-gradient(180deg, #d4815f 0%, var(--tone-terracotta) 55%, var(--tone-terracotta-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 12px rgba(200, 112, 77, 0.32);
}
.btn-accent:hover {
    background: linear-gradient(180deg, #b66745 0%, var(--tone-terracotta-deep) 55%, #8a4830 100%);
    transform: translateY(-2px);
    color: #fff;
}
.btn-ghost {
    color: var(--tone-sea-cool);
    background: transparent;
    border: 1.5px solid var(--tone-sea);
}
.btn-ghost:hover {
    background: rgba(74, 159, 170, 0.08);
    color: var(--tone-sea-cool);
}

/* === Layout страниц === */
.layout-grid { display: grid; gap: 40px; padding: 48px 0 64px; }
.layout-with-sidebar { grid-template-columns: 67% 27%; gap: 6%; }
.layout-no-sidebar { grid-template-columns: 1fr; }
.layout-no-sidebar .main-col { max-width: 85%; margin: 0 auto; width: 100%; }
.layout-front .main-col { max-width: 85%; margin: 0 auto; width: 100%; }

/* === Хлебные крошки === */
.crumbs {
    padding: 18px 0 4px;
    font-family: var(--font-headline);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--tone-driftwood);
    text-transform: uppercase;
}
.crumbs a { color: var(--tone-driftwood); }
.crumbs a:hover { color: var(--tone-terracotta); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }
.crumbs .here { color: var(--tone-ink); }

/* === Карточки записей (vertical, для сетки) === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, var(--tone-sea-pale) 100%);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: card-rise 0.7s ease forwards;
}
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }
.card:nth-child(4) { animation-delay: 0.24s; }
.card:nth-child(5) { animation-delay: 0.32s; }
.card:nth-child(6) { animation-delay: 0.40s; }
@keyframes card-rise {
    to { opacity: 1; transform: translateY(0); }
}
.card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-lift);
}

.card-thumb {
    position: relative;
    overflow: hidden;
    background: var(--tone-sand-deep);
}
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card-thumb::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(20, 25, 30, 0.4) 0%, transparent 100%);
    pointer-events: none;
}
.card:hover .card-thumb img { transform: scale(1.06); }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 26px;
}
.card-meta {
    font-family: var(--font-headline);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tone-driftwood);
    margin-bottom: 8px;
}
.card-meta a { color: var(--tone-driftwood); }
.card-meta a:hover { color: var(--tone-terracotta); }
.card-title {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 1.18rem;
    line-height: 1.3;
    letter-spacing: 0.025em;
    margin: 0 0 12px;
}
.card-title a { color: var(--tone-ink); }
.card-title a:hover { color: var(--tone-sea-cool); }
.card-excerpt { color: var(--tone-ink); font-size: 1rem; line-height: 1.6; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-cta { margin-top: auto; padding-top: 16px; }

/* === Sidebar === */
.sidebar {
    font-size: 1rem;
}
.sidebar .widget {
    background: var(--tone-paper);
    border-radius: var(--radius-card);
    padding: 22px 24px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-soft);
}
.sidebar .widget-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tone-ink);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(138, 122, 94, 0.25);
}
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 7px 0; border-bottom: 1px dashed rgba(138, 122, 94, 0.18); }
.sidebar li:last-child { border-bottom: none; }
.sidebar a { color: var(--tone-ink); }
.sidebar a:hover { color: var(--tone-sea-cool); }

/* === Подвал === */
.site-footer {
    margin-top: 60px;
    background: linear-gradient(180deg, #2f3940 0%, #1f262b 100%);
    color: #d6cdb9;
    padding: 56px 0 24px;
    position: relative;
}
/* Волнообразный разделитель сверху */
.site-footer::before {
    content: "";
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 32px;
    background: var(--tone-sand);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'><path d='M0,32 L0,18 Q60,4 120,16 Q180,28 240,18 Q300,8 360,18 Q420,28 480,16 Q540,4 600,16 Q660,28 720,18 Q780,8 840,18 Q900,28 960,16 Q1020,4 1080,16 Q1140,28 1200,18 L1200,32 Z'/></svg>") center/100% 100% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'><path d='M0,32 L0,18 Q60,4 120,16 Q180,28 240,18 Q300,8 360,18 Q420,28 480,16 Q540,4 600,16 Q660,28 720,18 Q780,8 840,18 Q900,28 960,16 Q1020,4 1080,16 Q1140,28 1200,18 L1200,32 Z'/></svg>") center/100% 100% no-repeat;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 36px;
}
.footer-col .widget-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0e3c8;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(232, 220, 195, 0.15);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: #d6cdb9; }
.footer-col a:hover { color: var(--tone-terracotta); }
.footer-col p { margin: 0 0 0.8em; line-height: 1.6; }
.footer-tagline {
    text-align: center;
    font-style: italic;
    color: #c8bda6;
    padding: 14px 0;
    border-top: 1px solid rgba(232, 220, 195, 0.12);
    font-size: 0.98rem;
}
.footer-tagline strong {
    font-family: var(--font-headline);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #efe2c5;
}
.footer-copy {
    text-align: center;
    padding: 8px 0 0;
    color: #b0a78f;
    font-family: var(--font-headline);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* === Главная: тематические секции === */
.feature-section {
    padding: 56px 0;
    position: relative;
}
.feature-section + .feature-section {
    border-top: none;
}
.feature-section.tone-pearl {
    background: linear-gradient(160deg, var(--tone-pearl) 0%, var(--tone-sea-pale) 100%);
    border-radius: 24px;
    padding: 56px 44px;
    margin: 36px 0;
    position: relative;
    overflow: hidden;
}
.feature-section.tone-pearl::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 24px;
    background: var(--tone-sand);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0,24 L0,12 Q60,2 120,10 Q180,18 240,12 Q300,6 360,12 Q420,18 480,10 Q540,2 600,10 Q660,18 720,12 Q780,6 840,12 Q900,18 960,10 Q1020,2 1080,10 Q1140,18 1200,12 L1200,24 Z'/></svg>") center/100% 100% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0,24 L0,12 Q60,2 120,10 Q180,18 240,12 Q300,6 360,12 Q420,18 480,10 Q540,2 600,10 Q660,18 720,12 Q780,6 840,12 Q900,18 960,10 Q1020,2 1080,10 Q1140,18 1200,12 L1200,24 Z'/></svg>") center/100% 100% no-repeat;
}
.feature-eyebrow {
    display: inline-block;
    font-family: var(--font-headline);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tone-terracotta);
    margin-bottom: 12px;
}
.feature-title {
    font-size: 2.1rem;
    margin: 0 0 14px;
}
.feature-lead {
    font-size: 1.15rem;
    color: var(--tone-ink);
    max-width: 720px;
    margin: 0 0 28px;
}
.feature-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 28px;
}
.feature-cell {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 22px 22px 24px;
    backdrop-filter: blur(6px);
}
.feature-cell h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
    color: var(--tone-sea-cool);
}
.feature-cell p { margin: 0; font-size: 0.98rem; }
.feature-icon {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border: 1.5px solid var(--tone-sea);
    border-radius: 50%;
    color: var(--tone-sea-cool);
    margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    counter-reset: step-num;
    margin-top: 24px;
}
.step-cell {
    counter-increment: step-num;
    background: var(--tone-paper);
    border-radius: 14px;
    padding: 24px 22px 22px;
    border: 1px solid rgba(138, 122, 94, 0.15);
    position: relative;
}
.step-cell::before {
    content: "0" counter(step-num);
    position: absolute;
    top: 12px; right: 16px;
    font-family: var(--font-headline);
    font-size: 1.35rem;
    color: var(--tone-terracotta);
    opacity: 0.55;
    letter-spacing: 0.05em;
}
.step-cell h3 { font-size: 1rem; margin: 0 0 6px; }
.step-cell p { margin: 0; font-size: 0.94rem; color: var(--tone-driftwood); }

.section-head {
    text-align: center;
    margin: 48px 0 28px;
}
.section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-headline);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tone-terracotta);
    margin-bottom: 8px;
}
.section-head h2 { margin: 0 0 8px; }
.section-head p { color: var(--tone-driftwood); margin: 0; }

/* === Контент записи === */
.entry { background: var(--tone-paper); border-radius: var(--radius-card); padding: 36px 40px; box-shadow: var(--shadow-soft); }
.entry-title { margin-top: 0; font-size: 2rem; }
.entry-meta {
    font-family: var(--font-headline);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: var(--tone-driftwood);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.entry-meta a { color: var(--tone-driftwood); }
.entry-meta a:hover { color: var(--tone-terracotta); }
.entry-content {
    font-size: 1.08rem;
    line-height: 1.75;
}
.entry-content img { border-radius: 12px; box-shadow: var(--shadow-soft); margin: 20px 0; }
.entry-content figure { margin: 24px 0; }
.entry-content blockquote {
    margin: 28px 0;
    padding: 18px 26px;
    border-left: 3px solid var(--tone-terracotta);
    background: rgba(216, 230, 232, 0.4);
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

/* === Таблицы === */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 24px 0;
    border: 1px solid rgba(138, 122, 94, 0.35);
    background: var(--tone-paper);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid rgba(138, 122, 94, 0.25);
}
th {
    background: var(--tone-sea-pale);
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    color: var(--tone-ink);
}

/* === Пагинация === */
.pager {
    margin: 40px 0 12px;
    display: flex;
    justify-content: center;
}
.pager .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.pager a, .pager span {
    display: inline-block;
    min-width: 42px;
    padding: 10px 14px;
    text-align: center;
    font-family: var(--font-headline);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    border-radius: var(--radius-btn);
    background: var(--tone-paper);
    border: 1px solid rgba(138, 122, 94, 0.25);
    color: var(--tone-ink);
    transition: all 0.25s ease;
}
.pager a:hover {
    background: var(--tone-sea);
    color: #fff;
    border-color: var(--tone-sea);
}
.pager .current {
    background: var(--tone-terracotta);
    color: #fff;
    border-color: var(--tone-terracotta);
}

/* === Поиск === */
.search-shell {
    display: flex;
    gap: 8px;
    background: var(--tone-paper);
    padding: 6px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(138, 122, 94, 0.2);
}
.search-shell input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--tone-ink);
    outline: none;
}
.search-shell button {
    padding: 8px 18px;
    border: none;
    background: var(--tone-sea);
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-headline);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}
.search-shell button:hover { background: var(--tone-sea-cool); }

/* === 404 === */
.notfound {
    text-align: center;
    padding: 60px 20px 80px;
}
.notfound .big {
    font-family: var(--font-headline);
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--tone-sea);
    margin: 0 0 8px;
    line-height: 1;
}
.notfound h1 { margin: 0 0 14px; }
.notfound .actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.notfound form { max-width: 480px; margin: 24px auto 0; }

/* === Комментарии === */
.comments-block {
    margin-top: 40px;
    background: var(--tone-paper);
    border-radius: var(--radius-card);
    padding: 28px 32px;
    box-shadow: var(--shadow-soft);
}
.comments-block h2 { margin-top: 0; font-size: 1.4rem; }
.comments-list { list-style: none; padding: 0; margin: 0 0 28px; }
.comments-list .comment { padding: 18px 0; border-bottom: 1px solid rgba(138, 122, 94, 0.18); }
.comments-list .comment:last-child { border-bottom: none; }
.comment-author { font-family: var(--font-headline); font-weight: 600; font-size: 0.95rem; }
.comment-date { font-size: 0.82rem; color: var(--tone-driftwood); margin-left: 8px; }
.comment-body { margin-top: 8px; }
.comment-respond label { display: block; font-family: var(--font-headline); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tone-driftwood); margin-bottom: 4px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(138, 122, 94, 0.3);
    border-radius: 8px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 14px;
}
.comment-respond textarea { min-height: 120px; }

/* === Cookie-баннер === */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 999;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    background: rgba(47, 57, 64, 0.96);
    color: #efe2c5;
    padding: 16px 22px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    font-size: 0.95rem;
    line-height: 1.5;
}
.cookie-banner__text { flex: 1 1 280px; }
.cookie-banner__btn {
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-btn);
    background: linear-gradient(180deg, #d4815f 0%, var(--tone-terracotta) 55%, var(--tone-terracotta-deep) 100%);
    color: #fff;
    font-family: var(--font-headline);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cookie-banner__btn:hover {
    background: linear-gradient(180deg, #b66745 0%, var(--tone-terracotta-deep) 55%, #8a4830 100%);
    transform: translateY(-1px);
}

/* === Адаптив === */
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: 1fr; gap: 32px; }
    .layout-no-sidebar .main-col, .layout-front .main-col { max-width: 100%; }
    .footer-cols { grid-template-columns: 1fr; gap: 28px; }
    .feature-title { font-size: 1.7rem; }
    h1 { font-size: 1.85rem; }
    .entry { padding: 28px 24px; }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    .shell { padding: 0 18px; }
    .header-inner { flex-wrap: wrap; gap: 12px; }
    .menu-toggle { display: inline-flex; }
    .primary-nav {
        flex: 0 0 100%;
        order: 3;
        display: none;
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: var(--tone-paper);
        border-radius: 12px;
        padding: 8px 14px;
        margin-top: 8px;
    }
    .primary-nav li {
        border-bottom: 1px solid rgba(138, 122, 94, 0.15);
    }
    .primary-nav li:last-child { border-bottom: none; }
    .primary-nav li a {
        display: block;
        padding: 14px 4px;
    }
    .brand-logo, .brand svg.brand-logo { width: 44px; height: 44px; flex: 0 0 44px; }
    .brand-name { font-size: 1.02rem; }
    .feature-section.tone-pearl { padding: 36px 22px; }
    .feature-title { font-size: 1.5rem; }
    .entry { padding: 22px 18px; }
    .comments-block { padding: 22px 18px; }
    .notfound .big { font-size: 4.5rem; }
}
