/*
Theme Name: dds_giordanomuto.com
Theme URI: https://giordanomuto.com/
Author: Соловьева Василиса
Author URI: https://giordanomuto.com/
Description: Авторская тема для блога о музыке, композиции и обучении игре на саксофоне. Тёплая, атмосферная стилистика джазового клуба и творческой мастерской.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
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: dds_giordanomuto_com
Tags: blog, music, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Базовые сбросы и переменные
   ============================================================ */

:root {
    --bg-paper: #F9F6F0;
    --text-main: #2C2A28;
    --brass-light: #E0B87A;
    --brass-base: #C9994A;
    --brass-deep: #A87B3E;
    --brass-frame: #C68B3E;
    --ebony: #1A1817;
    --cream-soft: #E6DFD3;
    --pearl: #F5F0E6;
    --line-soft: rgba(198, 139, 62, 0.18);
    --line-strong: rgba(198, 139, 62, 0.4);
    --shadow-warm: 0 8px 24px rgba(44, 42, 40, 0.08);
    --shadow-deep: 0 14px 40px rgba(44, 42, 40, 0.14);
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 14px;
    --serif: Georgia, "Playfair Display", "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-paper);
    background-image:
        radial-gradient(circle at 8% 12%, rgba(198, 139, 62, 0.05) 0, transparent 35%),
        radial-gradient(circle at 92% 88%, rgba(198, 139, 62, 0.04) 0, transparent 40%);
}

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

a {
    color: var(--brass-deep);
    text-decoration: none;
    transition: color .25s ease;
}
a:hover { color: var(--brass-base); }

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    letter-spacing: 0.01em;
    margin: 1.4em 0 0.6em;
}

h1 { font-size: 2.1em; }
h2 { font-size: 1.65em; }
h3 { font-size: 1.32em; }
h4 { font-size: 1.15em; }

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.4em;
    border-left: 4px solid var(--brass-base);
    background: rgba(198, 139, 62, 0.07);
    font-style: italic;
    border-radius: 0 var(--r-md) var(--r-md) 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    background: #fff;
    border: 1px solid var(--line-strong);
}
th, td {
    padding: 0.7em 0.9em;
    border: 1px solid var(--line-soft);
    text-align: left;
}
th {
    background: rgba(198, 139, 62, 0.12);
    font-family: var(--serif);
}

code, pre {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    background: rgba(198, 139, 62, 0.09);
    border-radius: var(--r-sm);
}
code { padding: 0.1em 0.4em; font-size: 0.92em; }
pre {
    padding: 1em 1.2em;
    overflow-x: auto;
    border-left: 3px solid var(--brass-base);
}
pre code { background: transparent; padding: 0; }

/* ============================================================
   Общая структура
   ============================================================ */

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

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

.site-main {
    flex: 1;
    padding: 36px 0 60px;
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
.layout.has-sidebar {
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
}
.layout.wide .content {
    max-width: 85%;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .layout.has-sidebar { grid-template-columns: 1fr; gap: 28px; }
    .layout.wide .content { max-width: 100%; }
}

/* ============================================================
   Шапка
   ============================================================ */

.site-head {
    background: var(--bg-paper);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.site-head::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--brass-base) 30%, var(--brass-light) 50%, var(--brass-base) 70%, transparent 100%);
    opacity: 0.55;
}

.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    gap: 24px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-main);
}
.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex: none;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-family: var(--serif);
    font-size: 1.35em;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.brand-tag {
    font-size: 0.85em;
    color: rgba(44, 42, 40, 0.65);
    margin-top: 2px;
}

.head-nav { flex: 1; display: flex; justify-content: flex-end; }

.head-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.head-nav li { position: relative; }
.head-nav a {
    color: var(--text-main);
    font-size: 0.98em;
    padding: 6px 2px;
    position: relative;
    font-weight: 500;
}
.head-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brass-base), var(--brass-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.head-nav a:hover::after,
.head-nav .current-menu-item > a::after { transform: scaleX(1); }
.head-nav a:hover { color: var(--brass-deep); }

.menu-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--brass-base);
    color: var(--brass-deep);
    padding: 8px 14px;
    border-radius: var(--r-sm);
    font-size: 0.9em;
    cursor: pointer;
    font-family: var(--serif);
}

@media (max-width: 760px) {
    .menu-toggle { display: inline-block; }
    .head-nav {
        flex-basis: 100%;
        display: none;
    }
    .head-nav.is-open { display: block; }
    .head-nav ul { flex-direction: column; gap: 10px; padding: 12px 0; }
    .head-nav a::after { display: none; }
}

/* ============================================================
   Хлебные крошки
   ============================================================ */

.crumbs {
    margin: 0 0 22px;
    font-size: 0.88em;
    color: rgba(44, 42, 40, 0.7);
}
.crumbs a { color: var(--brass-deep); }
.crumbs a:hover { color: var(--brass-base); text-decoration: underline; }
.crumbs-sep { margin: 0 8px; color: var(--brass-base); opacity: 0.7; }

/* ============================================================
   Кнопки
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--brass-base) 0%, var(--brass-light) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.98em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s ease;
    line-height: 1.2;
}
.btn:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brass-deep) 0%, var(--brass-base) 100%);
    box-shadow: 0 6px 18px rgba(168, 123, 62, 0.32);
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18);
}
.btn-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1.5px solid var(--brass-base);
    background: transparent;
    color: var(--brass-deep);
    border-radius: var(--r-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    font-size: 0.95em;
}
.btn-ghost:hover {
    background: var(--brass-base);
    color: #fff;
    border-color: var(--brass-base);
}

/* ============================================================
   Карточки записей (правило A8 + A10)
   ============================================================ */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px;
    margin: 0;
    padding: 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-warm);
    border: 1px solid var(--line-soft);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

.card-thumb {
    display: block;
    width: 100%;
    overflow: hidden;
    background: rgba(198, 139, 62, 0.08);
}
.card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }

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

.card-meta {
    font-size: 0.82em;
    color: rgba(44, 42, 40, 0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.card-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.78em;
    background: rgba(201, 153, 74, 0.14);
    color: var(--brass-deep);
    border: 1px solid var(--line-soft);
    text-decoration: none;
    line-height: 1.6;
}
.chip:hover { background: rgba(201, 153, 74, 0.24); color: var(--brass-deep); }
.chip::before {
    content: "♪";
    font-size: 0.95em;
    line-height: 1;
}

.card-title {
    margin: 0;
    font-size: 1.18em;
    line-height: 1.35;
}
.card-title a { color: var(--text-main); }
.card-title a:hover { color: var(--brass-deep); }

.card-excerpt { margin: 0; font-size: 0.95em; color: rgba(44, 42, 40, 0.85); }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-foot {
    margin-top: auto;
    padding-top: 12px;
}
.card-stave {
    margin: 0 0 12px;
    display: block;
    width: 100%;
    height: 16px;
    color: var(--brass-base);
}

/* ============================================================
   Sidebar / Виджеты
   ============================================================ */

.sidebar { font-size: 0.97em; }
.widget {
    margin: 0 0 28px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-warm);
}
.widget-title {
    font-family: var(--serif);
    font-size: 1.1em;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.widget-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, var(--brass-base), var(--brass-light));
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--text-main); }
.widget li a:hover { color: var(--brass-deep); }

/* ============================================================
   Подвал
   ============================================================ */

.site-foot {
    background: var(--ebony);
    color: var(--cream-soft);
    padding: 50px 0 22px;
    margin-top: 50px;
    position: relative;
}
.site-foot::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--brass-deep) 15%,
        var(--brass-light) 50%,
        var(--brass-deep) 85%,
        transparent 100%);
}
.foot-tubes {
    height: 18px;
    margin-bottom: 32px;
    background-image:
        linear-gradient(180deg, var(--brass-deep) 0%, var(--brass-base) 50%, var(--brass-deep) 100%),
        linear-gradient(180deg, var(--brass-deep) 0%, var(--brass-base) 50%, var(--brass-deep) 100%);
    background-size: 100% 2px, 100% 2px;
    background-position: 0 6px, 0 12px;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
@media (max-width: 800px) {
    .foot-cols { grid-template-columns: 1fr; gap: 28px; }
}

.foot-cols .widget {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.foot-cols .widget-title { color: var(--brass-light); border-bottom-color: rgba(230, 223, 211, 0.15); }
.foot-cols .widget-title::after { background: linear-gradient(90deg, var(--brass-base), var(--brass-light)); }
.foot-cols a { color: var(--cream-soft); position: relative; }
.foot-cols a:hover { color: var(--brass-light); }
.foot-cols a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--brass-base);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.foot-cols a:hover::after { transform: scaleX(1); }
.foot-cols .widget li { border-bottom-color: rgba(230, 223, 211, 0.08); }

.foot-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(230, 223, 211, 0.12);
    color: rgba(230, 223, 211, 0.75);
    font-size: 0.9em;
}

/* ============================================================
   Пагинация
   ============================================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 0;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pearl);
    border: 1px solid var(--line-strong);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all .2s ease;
}
.pagination .page-numbers:hover {
    background: var(--brass-light);
    color: #fff;
    border-color: var(--brass-base);
}
.pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--brass-base), var(--brass-light));
    color: #fff;
    border-color: var(--brass-base);
}
.pagination .page-numbers.dots {
    background: transparent;
    border: none;
}

/* ============================================================
   Front page (главная)
   ============================================================ */

.hero {
    text-align: center;
    padding: 50px 20px 30px;
    background:
        radial-gradient(ellipse at center, rgba(198, 139, 62, 0.1) 0, transparent 65%);
    border-radius: var(--r-lg);
    margin-bottom: 36px;
    position: relative;
}
.hero h1 { font-size: 2.6em; margin: 0 0 14px; }
.hero p { max-width: 660px; margin: 0 auto 20px; color: rgba(44, 42, 40, 0.78); font-size: 1.08em; }
.hero-sax {
    width: 80px;
    height: auto;
    margin: 0 auto 18px;
    color: var(--brass-base);
}

.section {
    margin: 50px 0;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-warm);
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-head h2 { margin: 0; }
.section-eyebrow {
    display: inline-block;
    color: var(--brass-deep);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
    font-family: var(--serif);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 760px) {
    .feature-grid { grid-template-columns: 1fr; }
}
.feature {
    padding: 22px;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    background: rgba(198, 139, 62, 0.04);
}
.feature-icon {
    width: 38px; height: 38px;
    color: var(--brass-base);
    margin-bottom: 10px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.1em; }
.feature p { margin: 0; font-size: 0.95em; color: rgba(44, 42, 40, 0.85); }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: stepc;
}
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
    padding: 20px;
    border-radius: var(--r-md);
    background: rgba(198, 139, 62, 0.06);
    border-left: 3px solid var(--brass-base);
    counter-increment: stepc;
    position: relative;
}
.step::before {
    content: counter(stepc);
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--serif);
    font-size: 1.4em;
    color: var(--brass-base);
    opacity: 0.55;
}
.step h3 { margin: 0 0 6px; font-size: 1.02em; }
.step p { margin: 0; font-size: 0.92em; color: rgba(44, 42, 40, 0.8); }

/* ============================================================
   Single, page (статьи)
   ============================================================ */

.entry-head { margin-bottom: 24px; }
.entry-title { margin: 0 0 12px; font-size: 2em; }
.entry-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: rgba(44, 42, 40, 0.65);
    font-size: 0.9em;
}
.entry-meta a { color: var(--brass-deep); }

.entry-thumb {
    margin: 0 0 24px;
    border-radius: var(--r-md);
    overflow: hidden;
}

.entry-content {
    font-size: 1.02em;
}
.entry-content img { border-radius: var(--r-md); margin: 1em 0; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.4em; }

.entry-foot {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.entry-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.no-results {
    text-align: center;
    padding: 50px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-md);
    background: rgba(198, 139, 62, 0.04);
}

/* ============================================================
   Поиск, 404
   ============================================================ */

.search-form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto 18px;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--brass-base);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: 1em;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--brass-deep); }
.search-form button {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--brass-base), var(--brass-light));
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}
.search-form button:hover { background: linear-gradient(135deg, var(--brass-deep), var(--brass-base)); }

.error-page {
    text-align: center;
    padding: 60px 20px 30px;
}
.error-page h1 {
    font-size: 6em;
    margin: 0;
    color: var(--brass-base);
    line-height: 1;
    font-family: var(--serif);
}
.error-page p { font-size: 1.1em; margin: 12px 0 24px; }

/* ============================================================
   Комментарии
   ============================================================ */

.comments {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
}
.comments-title { margin: 0 0 22px; font-size: 1.4em; }

.comments .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comments .comment, .comments .pingback {
    margin: 0 0 22px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid var(--line-soft);
}
.comments .children {
    list-style: none;
    margin: 18px 0 0 22px;
    padding: 0;
    border-left: 2px solid var(--line-soft);
    padding-left: 18px;
}

.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment-author img { border-radius: 50%; }
.comment-meta { font-size: 0.85em; color: rgba(44, 42, 40, 0.6); margin-bottom: 8px; }
.comment-meta a { color: rgba(44, 42, 40, 0.6); }
.comment-meta a:hover { color: var(--brass-deep); }

.comment-respond { margin-top: 28px; }
.comment-respond label { display: block; margin: 12px 0 4px; font-size: 0.9em; color: rgba(44, 42, 40, 0.75); }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--brass-base);
    border-radius: var(--r-sm);
    background: #fff;
    font-family: inherit;
    font-size: 0.97em;
    color: var(--text-main);
    outline: none;
}
.comment-respond input:focus, .comment-respond textarea:focus { border-color: var(--brass-deep); }
.comment-respond textarea { min-height: 130px; resize: vertical; }
.comment-respond .form-submit { margin-top: 16px; }
.comment-respond .submit {
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--brass-base), var(--brass-light));
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    transition: all .25s ease;
}
.comment-respond .submit:hover {
    background: linear-gradient(135deg, var(--brass-deep), var(--brass-base));
    box-shadow: 0 5px 16px rgba(168, 123, 62, 0.3);
}

.comment-reply-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--brass-deep);
    font-size: 0.9em;
    font-weight: 500;
}

/* ============================================================
   Cookie-баннер  (правило A11)
   ============================================================ */

.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    background: var(--ebony);
    color: var(--cream-soft);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(198, 139, 62, 0.4);
    flex-wrap: wrap;
    font-size: 0.92em;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--brass-light); text-decoration: underline; }
.cookie-banner button {
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--brass-base), var(--brass-light));
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95em;
}
.cookie-banner button:hover { background: linear-gradient(135deg, var(--brass-deep), var(--brass-base)); }

/* ============================================================
   "Наверх"
   ============================================================ */

.to-top[hidden] { display: none !important; }
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brass-base), var(--brass-light));
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-warm);
    z-index: 90;
    transition: all .3s ease;
    font-size: 1.4em;
    font-family: var(--serif);
}
.to-top:hover {
    background: linear-gradient(135deg, var(--brass-deep), var(--brass-base));
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

/* ============================================================
   Слайдер на главной
   ============================================================ */

.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    margin: 0 0 36px;
    box-shadow: var(--shadow-warm);
}
.slider-track {
    display: flex;
    transition: transform .55s ease;
}
.slide {
    flex: 0 0 100%;
    padding: 50px 60px;
    background: linear-gradient(135deg, rgba(26, 24, 23, 0.92), rgba(26, 24, 23, 0.7)), rgba(198, 139, 62, 0.4);
    color: var(--cream-soft);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slide h2 { margin: 0 0 12px; color: #fff; font-size: 2em; }
.slide p { margin: 0 0 18px; max-width: 540px; font-size: 1.05em; }
.slider-nav {
    position: absolute;
    bottom: 18px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.slider-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--brass-light);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
}
.slider-nav button.active {
    background: var(--brass-light);
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .slide { padding: 36px 28px; min-height: 220px; }
    .slide h2 { font-size: 1.5em; }
}

/* ============================================================
   Утилиты
   ============================================================ */

.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { margin-left: 0; margin-right: 0; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
}

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.88em; color: rgba(44, 42, 40, 0.65); padding: 6px 0; text-align: center; }
