/*
Theme Name: dds_farmprojectspace.com
Theme URI: https://farmprojectspace.com/
Author: Орлов Владимир
Author URI: https://farmprojectspace.com/
Description: Тема для информационного сайта о современном искусстве, галереях и выставках.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fpsart
*/

/* ============================================================
   Шрифты
   ============================================================ */
@import url("/assets/f9da004c1537f1ab114f.css");

/* ============================================================
   Сброс и базовые
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: 19px;
    line-height: 1.65;
    color: #1E1E24;
    background-color: #F8F9FA;
    background-image:
        radial-gradient(rgba(30,30,36,0.018) 1px, transparent 1px),
        radial-gradient(rgba(30,30,36,0.012) 1px, transparent 1px);
    background-size: 4px 4px, 7px 7px;
    background-position: 0 0, 2px 3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #2E4057;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease;
}

a:hover,
a:focus {
    color: #E06D5B;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    color: #1E1E24;
    letter-spacing: 0.01em;
    line-height: 1.25;
    margin: 1.6em 0 0.7em;
}

h1 { font-size: 2.4rem; letter-spacing: 0.005em; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }

p {
    margin: 0 0 1.1em;
}

blockquote {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.25em;
    line-height: 1.5;
    border-left: 3px solid #C9A87C;
    padding: 0.4em 0 0.4em 1.4em;
    margin: 1.6em 0;
    color: #2E4057;
}

code, pre {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
    background: #efeae2;
    color: #1E1E24;
}

code {
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.92em;
}

pre {
    padding: 1em 1.2em;
    overflow-x: auto;
    border-radius: 4px;
    border: 1px solid #e5e0d8;
}

hr {
    border: 0;
    border-top: 1px solid #d8d3cb;
    margin: 2em 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid #d8d3cb;
}

th, td {
    border: 1px solid #d8d3cb;
    padding: 0.55em 0.85em;
    text-align: left;
    vertical-align: top;
}

th {
    background: #efeae2;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.92em;
    letter-spacing: 0.02em;
}

ul, ol {
    margin: 0 0 1.1em;
    padding-left: 1.6em;
}

li {
    margin-bottom: 0.35em;
}

::selection {
    background: #E06D5B;
    color: #fff;
}

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

@media (max-width: 600px) {
    .frame { padding: 0 18px; }
}

/* ============================================================
   Шапка
   ============================================================ */
.site-shell {
    position: relative;
    overflow: hidden;
}

.masthead {
    background: rgba(248, 249, 250, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(30,30,36,0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 18px 0;
}

.masthead.is-condensed {
    background: #ffffff;
    box-shadow: 0 1px 14px rgba(30,30,36,0.06);
    padding: 10px 0;
}

.masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-logo {
    display: block;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

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

.brand-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: #1E1E24;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #6b6b73;
    margin-top: 2px;
    max-width: 380px;
}

/* Главное меню в шапке */
.primary-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

.primary-nav li {
    margin: 0;
}

.primary-nav a {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1E1E24;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: #E06D5B;
    border-bottom-color: #E06D5B;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #1E1E24;
    border-radius: 4px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #1E1E24;
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

@media (max-width: 960px) {
    .menu-toggle {
        display: inline-flex;
    }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid rgba(30,30,36,0.08);
        box-shadow: 0 6px 20px rgba(30,30,36,0.06);
        padding: 18px 28px 24px;
        z-index: 50;
    }
    .primary-nav.is-open {
        display: flex;
    }
    .primary-nav ul {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .primary-nav a {
        display: inline-block;
    }
}

/* ============================================================
   Хлебные крошки
   ============================================================ */
.crumbs {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b6b73;
    padding: 22px 0 6px;
}

.crumbs a {
    color: #6b6b73;
    border-bottom: 1px solid transparent;
}

.crumbs a:hover {
    color: #E06D5B;
    border-bottom-color: #E06D5B;
}

.crumbs .crumb-sep {
    margin: 0 8px;
    color: #C9A87C;
}

.crumbs .crumb-current {
    color: #1E1E24;
}

/* ============================================================
   Основной layout: контент + сайдбар
   ============================================================ */
.canvas {
    padding: 30px 0 60px;
}

.canvas-row {
    display: flex;
    gap: 6%;
    align-items: flex-start;
}

.canvas-row.has-aside .main-col {
    flex: 0 0 67%;
    max-width: 67%;
    min-width: 0;
}

.canvas-row.has-aside .aside-col {
    flex: 0 0 27%;
    max-width: 27%;
    min-width: 0;
}

.canvas-row.no-aside .main-col {
    flex: 0 0 85%;
    max-width: 85%;
    margin: 0 auto;
    min-width: 0;
}

.canvas-row.full .main-col {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 960px) {
    .canvas-row {
        flex-direction: column;
        gap: 40px;
    }
    .canvas-row.has-aside .main-col,
    .canvas-row.has-aside .aside-col,
    .canvas-row.no-aside .main-col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* ============================================================
   Кнопки
   ============================================================ */
.btn-primary {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 26px;
    border: 1px solid #E06D5B;
    border-radius: 4px;
    color: #E06D5B;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #E06D5B;
    color: #ffffff;
    border-color: transparent;
}

.btn-ghost {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1E1E24;
    border-bottom: 2px solid #E06D5B;
    padding: 4px 2px 6px;
    background: none;
    transition: color 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
    cursor: pointer;
}

.btn-ghost:hover,
.btn-ghost:focus {
    color: #C9A87C;
    border-bottom-color: #C9A87C;
    padding-right: 18px;
}

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

.card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(30,30,36,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(30,30,36,0.12);
}

.card-thumb {
    display: block;
    overflow: hidden;
    background: #efeae2;
    position: relative;
}

.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-thumb::after {
    content: '+';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    background: rgba(255,255,255,0.85);
    color: #1E1E24;
    border: 1px solid #C9A87C;
    border-radius: 50%;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-thumb::after {
    opacity: 1;
}

.card-thumb-empty {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #efeae2 0%, #e1d8c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A87C;
}

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

.card-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C9A87C;
    margin-bottom: 10px;
}

.card-meta a {
    color: #C9A87C;
}

.card-meta a:hover {
    color: #E06D5B;
}

.card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: 0.005em;
}

.card-title a {
    color: #1E1E24;
}

.card-title a:hover {
    color: #E06D5B;
}

.card-excerpt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.02rem;
    line-height: 1.55;
    color: #3a3a42;
    margin: 0 0 18px;
    flex: 1;
}

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

.card-excerpt p:last-child {
    margin-bottom: 0;
}

.card-actions {
    margin-top: auto;
}

/* ============================================================
   Карточка для категории «Обзоры выставок» (горизонтальная)
   ============================================================ */
.card-poster {
    flex-direction: row;
    align-items: stretch;
}

.card-poster .card-thumb-wrap {
    flex: 0 0 240px;
    position: relative;
    overflow: hidden;
    background: #efeae2;
}

.card-poster .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-poster .card-thumb-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-poster .card-body {
    padding: 26px 26px 28px;
}

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

/* ============================================================
   Сайдбар
   ============================================================ */
.aside-col .widget {
    background: #FFFFFF;
    padding: 22px 22px 24px;
    border-radius: 4px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(30,30,36,0.05);
}

.aside-col .widget-title,
.widget h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #C9A87C;
    color: #1E1E24;
}

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

.widget li {
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.02rem;
}

.widget li a {
    color: #1E1E24;
    border-bottom: 1px solid transparent;
}

.widget li a:hover {
    color: #E06D5B;
    border-bottom-color: #E06D5B;
}

/* ============================================================
   Подвал
   ============================================================ */
.footwell {
    background: #1E1E24;
    color: #d8d3cb;
    padding: 56px 0 24px;
    margin-top: 60px;
}

.footwell a {
    color: #d8d3cb;
}

.footwell a:hover {
    color: #C9A87C;
}

.footwell .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.footwell .widget-title,
.footwell .widget h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C9A87C;
    border-bottom: 1px solid rgba(201,168,124,0.3);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.foot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

@media (max-width: 960px) {
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footwell .widget li {
    color: #d8d3cb;
    font-size: 0.98rem;
}

.foot-bottom {
    border-top: 1px solid rgba(216,211,203,0.12);
    padding-top: 20px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #8a8a92;
}

/* ============================================================
   Главная: тематические блоки
   ============================================================ */
.feature-block {
    margin: 56px 0;
}

.feature-block-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.005em;
    margin: 0 0 8px;
}

.feature-block-kicker {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E06D5B;
    margin-bottom: 12px;
    display: block;
}

.feature-block-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem;
    line-height: 1.55;
    color: #3a3a42;
    max-width: 740px;
    margin: 0 0 28px;
}

/* «Лента экспозиции» — горизонтальный скролл */
.expo-strip {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px 22px;
    margin: 0 -28px;
    padding-left: 28px;
    padding-right: 28px;
}

.expo-strip::-webkit-scrollbar {
    display: none;
}

.expo-tile {
    flex: 0 0 280px;
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 6px 22px rgba(30,30,36,0.08);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.expo-tile:hover {
    transform: translateY(-3px);
}

.expo-tile-cover {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #efeae2 0%, #d8c9b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A87C;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.expo-tile-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C9A87C;
    margin-bottom: 8px;
}

.expo-tile-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #1E1E24;
}

/* Колонки внутри блоков */
.col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 960px) {
    .col-3 {
        grid-template-columns: 1fr;
    }
}

.col-tile {
    background: #FFFFFF;
    padding: 28px 26px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(30,30,36,0.05);
}

.col-tile-mark {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #C9A87C;
    border-radius: 50%;
    color: #C9A87C;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
}

.col-tile h3 {
    margin: 0 0 10px;
}

.col-tile p {
    margin: 0;
    color: #3a3a42;
}

/* Мозаика «Календарь событий» */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
    gap: 16px;
}

.mosaic-cell {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(30,30,36,0.05);
    overflow: hidden;
    border-left: 3px solid #C9A87C;
}

.mosaic-cell.is-wide {
    grid-column: span 2;
    border-left-color: #E06D5B;
}

.mosaic-date {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E06D5B;
}

.mosaic-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: #1E1E24;
    line-height: 1.3;
    margin: 0;
}

.mosaic-place {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.88rem;
    color: #6b6b73;
}

@media (max-width: 960px) {
    .mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
    .mosaic-cell.is-wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .mosaic-cell.is-wide {
        grid-column: span 1;
    }
}

/* ============================================================
   Запись и страница
   ============================================================ */
.entry-header {
    margin-bottom: 28px;
}

.entry-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E06D5B;
    margin-bottom: 12px;
    display: block;
}

.entry-title {
    font-size: 2.6rem;
    line-height: 1.18;
    margin: 0 0 16px;
}

.entry-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #6b6b73;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 22px;
}

.entry-meta a {
    color: #6b6b73;
    border-bottom: 1px solid rgba(107,107,115,0.25);
}

.entry-meta a:hover {
    color: #E06D5B;
    border-bottom-color: #E06D5B;
}

.entry-cover {
    margin: 0 0 28px;
    border-radius: 4px;
    overflow: hidden;
}

.entry-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: 1.08rem;
    line-height: 1.7;
}

.entry-content img {
    display: block;
    margin: 1em auto;
    border-radius: 4px;
}

.entry-content h2 {
    margin-top: 1.6em;
    padding-top: 0.2em;
}

.entry-tags {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #d8d3cb;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
}

.entry-tags a {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px 4px 2px 0;
    border: 1px solid #C9A87C;
    border-radius: 3px;
    color: #1E1E24;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.entry-tags a:hover {
    background: #C9A87C;
    color: #fff;
}

/* ============================================================
   Пагинация
   ============================================================ */
.pager {
    margin: 36px 0 12px;
    display: flex;
    justify-content: center;
}

.pager .nav-links,
.pager .page-numbers-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.pager .page-numbers {
    display: inline-block;
    min-width: 38px;
    padding: 8px 12px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1E1E24;
    background: #FFFFFF;
    border: 1px solid #d8d3cb;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pager .page-numbers:hover {
    border-color: #E06D5B;
    color: #E06D5B;
}

.pager .page-numbers.current {
    background: #E06D5B;
    border-color: #E06D5B;
    color: #ffffff;
}

.pager .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: #6b6b73;
}

/* ============================================================
   Поиск
   ============================================================ */
.search-form {
    display: flex;
    gap: 6px;
    margin: 16px 0;
}

.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #d8d3cb;
    border-radius: 4px;
    background: #FFFFFF;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #1E1E24;
}

.search-form input[type="search"]:focus {
    outline: 2px solid #E06D5B;
    outline-offset: 1px;
    border-color: transparent;
}

.search-form button {
    padding: 10px 20px;
    border: 1px solid #1E1E24;
    border-radius: 4px;
    background: #1E1E24;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.search-form button:hover {
    background: #2E4057;
    border-color: #2E4057;
}

/* ============================================================
   Комментарии
   ============================================================ */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #d8d3cb;
}

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

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

.comment-list li {
    margin: 0 0 24px;
    padding: 18px 20px;
    background: #FFFFFF;
    border-left: 3px solid #C9A87C;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 4px 12px rgba(30,30,36,0.04);
}

.comment-list li ul.children {
    list-style: none;
    padding-left: 24px;
    margin: 18px 0 0;
}

.comment-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    color: #6b6b73;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    color: #1E1E24;
}

.comment-form label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 12px 0 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d8d3cb;
    border-radius: 4px;
    background: #FFFFFF;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
}

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

.comment-form input:focus,
.comment-form textarea:focus {
    outline: 2px solid #E06D5B;
    outline-offset: 1px;
    border-color: transparent;
}

.comment-form .form-submit input {
    padding: 12px 26px;
    border: 1px solid #E06D5B;
    border-radius: 4px;
    background: transparent;
    color: #E06D5B;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.comment-form .form-submit input:hover {
    background: #E06D5B;
    color: #FFFFFF;
}

.no-comments {
    color: #6b6b73;
    font-style: italic;
}

/* ============================================================
   404
   ============================================================ */
.fourofour {
    text-align: center;
    padding: 60px 0;
}

.fourofour-mark {
    font-family: 'Manrope', sans-serif;
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: #C9A87C;
    margin: 0;
    letter-spacing: -0.04em;
}

.fourofour h1 {
    font-size: 1.8rem;
    margin: 12px 0 12px;
}

.fourofour p {
    color: #6b6b73;
    max-width: 520px;
    margin: 0 auto 22px;
}

.fourofour .search-form {
    max-width: 480px;
    margin: 16px auto;
}

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

.cookie-banner {
    position: fixed;
    bottom: 18px;
    left: 18px;
    right: 18px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    background: #1E1E24;
    color: #FFFFFF;
    padding: 18px 22px;
    border-radius: 4px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 9000;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    line-height: 1.45;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text a {
    color: #C9A87C;
    border-bottom: 1px solid #C9A87C;
}

.cookie-banner-text a:hover {
    color: #E06D5B;
    border-bottom-color: #E06D5B;
}

.cookie-banner-accept {
    flex-shrink: 0;
    padding: 9px 22px;
    border: 1px solid #E06D5B;
    background: #E06D5B;
    color: #FFFFFF;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.cookie-banner-accept:hover {
    background: #c95a48;
    border-color: #c95a48;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 14px 16px;
    }
    .cookie-banner-accept {
        width: 100%;
    }
}

/* ============================================================
   Утилиты
   ============================================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.alignleft {
    float: left;
    margin: 0.4em 1.4em 1em 0;
}

.alignright {
    float: right;
    margin: 0.4em 0 1em 1.4em;
}

.aligncenter {
    display: block;
    margin: 0.4em auto;
}

.alignwide {
    margin-left: -40px;
    margin-right: -40px;
    max-width: calc(100% + 80px);
}

.section-headline {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
}

.section-subhead {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #6b6b73;
    margin: 0 0 24px;
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    h1, .entry-title { font-size: 1.9rem; }
    h2, .feature-block-title { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .canvas { padding: 18px 0 36px; }
}
