/*
Theme Name: GourmetWhisper_0025
Theme URI: https://slivkikuhni.ru
Author: Старостина София
Author URI: https://slivkikuhni.ru
Description: Тема для кулинарного сайта — простые рецепты и кулинарные секреты из доступных продуктов.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gourmetwhisper0025
*/

/* === ПЕРЕМЕННЫЕ === */
:root {
    --gw-bg: #FDF9F2;
    --gw-text: #2C2C2C;
    --gw-accent: #C26A4A;
    --gw-accent-hover: #B05A3C;
    --gw-mint: #9BB88B;
    --gw-peach: #F9EFE3;
    --gw-wood-light: #E8DCCA;
    --gw-wood-dark: #C4AD91;
    --gw-shadow: rgba(194, 106, 74, 0.08);
    --gw-shadow-md: rgba(194, 106, 74, 0.12);
    --gw-divider: #DDD0C0;
    --gw-radius-btn: 20px 20px 12px 12px;
    --gw-radius-oval: 50px;
    --gw-radius-page: 16px;
    --gw-font-heading: 'DM Serif Display', Georgia, serif;
    --gw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --gw-font-script: 'Pacifico', cursive;
    --gw-line-height: 1.75;
    --gw-content-width: 1200px;
}

/* === СБРОС И БАЗОВЫЕ СТИЛИ === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--gw-font-body);
    font-size: 17px;
    line-height: var(--gw-line-height);
    color: var(--gw-text);
    background-color: var(--gw-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--gw-accent);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--gw-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gw-font-heading);
    color: var(--gw-accent);
    line-height: 1.3;
    margin-bottom: 0.6em;
    margin-top: 1em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: 1em;
}

ul, ol {
    margin: 0 0 1em 1.5em;
}

blockquote {
    border-left: 4px solid var(--gw-mint);
    background: var(--gw-peach);
    padding: 1.2em 1.5em;
    margin: 1.5em 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

table, th, td {
    border: 1px solid var(--gw-divider);
}

th, td {
    padding: 0.7em 1em;
    text-align: left;
}

th {
    background: var(--gw-peach);
    font-family: var(--gw-font-heading);
    color: var(--gw-accent);
}

/* === КОНТЕЙНЕР === */
.gw-wrap {
    max-width: var(--gw-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === ШАПКА === */
.gw-site-header {
    padding: 18px 0;
    position: relative;
    z-index: 100;
}

.gw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gw-logo-zone {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.gw-logo-zone img,
.gw-logo-zone svg {
    height: 48px;
    width: auto;
}

.gw-site-title {
    font-family: var(--gw-font-heading);
    font-size: 1.35rem;
    color: var(--gw-accent);
    margin: 0;
    line-height: 1.2;
}

.gw-site-title a {
    color: inherit;
}

.gw-site-title a:hover {
    color: var(--gw-accent-hover);
}

.gw-site-tagline {
    font-size: 0.78rem;
    color: #8A7E72;
    margin-top: 2px;
}

/* === МЕНЮ ШАПКИ === */
.gw-main-nav {
    display: flex;
    align-items: center;
}

.gw-main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.gw-main-nav li {
    position: relative;
}

.gw-main-nav li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 18px;
    background: var(--gw-wood-light);
    vertical-align: middle;
    margin: 0 6px;
}

.gw-main-nav a {
    display: inline-block;
    padding: 8px 14px;
    color: var(--gw-text);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease;
}

.gw-main-nav a:hover,
.gw-main-nav .current-menu-item a,
.gw-main-nav .current_page_item a {
    color: var(--gw-accent);
}

.gw-main-nav .current-menu-item a::after,
.gw-main-nav .current_page_item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: var(--gw-accent);
    border-radius: 50%;
}

/* Мобильное меню */
.gw-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.gw-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gw-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.gw-burger.is-toggled span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.gw-burger.is-toggled span:nth-child(2) {
    opacity: 0;
}
.gw-burger.is-toggled span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === ХЛЕБНЫЕ КРОШКИ === */
.gw-breadcrumbs {
    padding: 14px 0;
    font-size: 0.85rem;
    color: #8A7E72;
}

.gw-breadcrumbs a {
    color: #8A7E72;
}

.gw-breadcrumbs a:hover {
    color: var(--gw-accent);
}

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

/* === ГЛАВНАЯ СТРАНИЦА === */
.gw-hero-area {
    text-align: center;
    padding: 50px 0 40px;
}

.gw-hero-area h1 {
    font-size: 2.4rem;
    margin-bottom: 0.4em;
}

.gw-hero-area p {
    font-size: 1.1rem;
    color: #6B6057;
    max-width: 640px;
    margin: 0 auto 1em;
}

.gw-front-content {
    max-width: 85%;
    margin: 0 auto;
}

/* Блоки на главной */
.gw-feature-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.gw-feature-card {
    background: var(--gw-peach);
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gw-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--gw-shadow-md);
}

.gw-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

.gw-feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5em;
    margin-top: 0;
}

.gw-feature-card p {
    font-size: 0.92rem;
    color: #6B6057;
    margin: 0;
}

/* Секция последних записей */
.gw-latest-heading {
    text-align: center;
    margin-bottom: 36px;
}

.gw-latest-heading h2 {
    display: inline-block;
    position: relative;
}

.gw-latest-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gw-mint);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* === КАРТОЧКИ ЗАПИСЕЙ === */
.gw-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.gw-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--gw-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gw-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--gw-shadow-md);
}

.gw-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gw-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gw-card-body {
    padding: 22px 20px 24px;
    background: linear-gradient(180deg, #fff 0%, var(--gw-bg) 100%);
    border-top: none;
    position: relative;
}

.gw-card-body::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 10px;
    right: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 6'%3E%3Cpath d='M0 3 Q10 0 20 3 T40 3 T60 3 T80 3 T100 3 T120 3 T140 3 T160 3 T180 3 T200 3' stroke='%23E8DCCA' fill='none' stroke-width='1'/%3E%3C/svg%3E") repeat-x;
    opacity: 0.7;
}

.gw-card-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.gw-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--gw-mint);
    background: rgba(155, 184, 139, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.gw-cat-tag svg {
    width: 12px;
    height: 12px;
}

.gw-card-title {
    font-family: var(--gw-font-heading);
    font-size: 1.1rem;
    margin: 0 0 10px;
    line-height: 1.35;
}

.gw-card-title a {
    color: var(--gw-text);
}

.gw-card-title a:hover {
    color: var(--gw-accent);
}

.gw-card-excerpt {
    font-size: 0.9rem;
    color: #6B6057;
    line-height: 1.6;
    margin-bottom: 14px;
}

.gw-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #A09586;
}

.gw-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gw-card-readmore {
    background: var(--gw-accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--gw-radius-btn);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    transition: background 0.25s ease, transform 0.2s ease;
}

.gw-card-readmore:hover {
    background: var(--gw-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* === КОНТЕНТНАЯ ОБЛАСТЬ === */
.gw-page-layout {
    display: flex;
    gap: 40px;
    padding: 30px 0 50px;
}

.gw-page-layout.has-sidebar .gw-content-area {
    width: 67%;
}

.gw-page-layout.has-sidebar .gw-sidebar-area {
    width: 27%;
    flex-shrink: 0;
}

.gw-page-layout.no-sidebar .gw-content-area {
    width: 85%;
    margin: 0 auto;
}

/* === ОДИНОЧНАЯ ЗАПИСЬ === */
.gw-single-header {
    margin-bottom: 30px;
}

.gw-single-header h1 {
    margin-bottom: 14px;
}

.gw-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: #8A7E72;
    margin-bottom: 20px;
}

.gw-single-thumb {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
}

.gw-single-thumb img {
    width: 100%;
}

.gw-entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.gw-entry-content img {
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Индикатор сложности */
.gw-difficulty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gw-difficulty svg {
    width: 18px;
    height: 18px;
}

/* Теги записи */
.gw-post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gw-divider);
}

.gw-post-tags a {
    display: inline-block;
    background: var(--gw-peach);
    color: var(--gw-text);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 4px 4px 4px 0;
    transition: background 0.2s ease;
}

.gw-post-tags a:hover {
    background: var(--gw-mint);
    color: #fff;
}

/* === НАВИГАЦИЯ ЗАПИСЕЙ === */
.gw-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gw-divider);
}

.gw-post-nav a {
    display: block;
    padding: 14px 20px;
    background: var(--gw-peach);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--gw-text);
    max-width: 48%;
    transition: background 0.2s ease;
}

.gw-post-nav a:hover {
    background: var(--gw-wood-light);
}

.gw-post-nav .gw-nav-label {
    font-size: 0.78rem;
    color: #8A7E72;
    display: block;
    margin-bottom: 4px;
}

/* === САЙДБАР === */
.gw-sidebar-area .widget {
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--gw-shadow);
}

.gw-sidebar-area .widget-title,
.gw-sidebar-area .widgettitle {
    font-family: var(--gw-font-heading);
    font-size: 1.1rem;
    color: var(--gw-accent);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gw-peach);
    margin-top: 0;
}

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

.gw-sidebar-area .widget li {
    padding: 7px 0;
    border-bottom: 1px solid var(--gw-peach);
}

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

.gw-sidebar-area .widget a {
    color: var(--gw-text);
    font-size: 0.92rem;
}

.gw-sidebar-area .widget a:hover {
    color: var(--gw-accent);
}

/* Блок Секрет ингредиента */
.gw-ingredient-secret {
    background: linear-gradient(180deg, #E2D5C3 0%, #D4C4AE 100%);
    border-radius: 12px;
    padding: 24px 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.gw-ingredient-secret::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgba(255,255,255,0.06) 8px,
        rgba(255,255,255,0.06) 9px
    );
    pointer-events: none;
}

.gw-ingredient-secret h3 {
    font-family: var(--gw-font-script);
    color: var(--gw-accent-hover);
    font-size: 1.2rem;
    margin: 0 0 10px;
    position: relative;
}

.gw-ingredient-secret p {
    font-size: 0.9rem;
    color: #4A3F35;
    position: relative;
    margin: 0;
}

/* === ПОДВАЛ === */
.gw-site-footer {
    background: var(--gw-text);
    color: #D4C9BE;
    padding: 50px 0 0;
    margin-top: 60px;
    position: relative;
}

.gw-site-footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30'%3E%3Cpath d='M0 30 Q180 0 360 15 T720 10 T1080 18 T1440 5 V30 Z' fill='%232C2C2C'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

.gw-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    position: relative;
}

.gw-footer-col {
    position: relative;
}

.gw-footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    width: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 200' preserveAspectRatio='none'%3E%3Cpath d='M10 0 Q5 25 10 50 T10 100 T10 150 T10 200' stroke='%23C26A4A' fill='none' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E") repeat-y center;
    background-size: 20px 200px;
}

.gw-footer-col .widget-title,
.gw-footer-col .widgettitle {
    font-family: var(--gw-font-heading);
    font-size: 1.05rem;
    color: var(--gw-accent);
    margin-bottom: 16px;
    margin-top: 0;
}

.gw-footer-col .widget {
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.gw-footer-col .widget li {
    padding: 5px 0;
}

.gw-footer-col .widget a {
    color: #D4C9BE;
    transition: color 0.2s ease;
}

.gw-footer-col .widget a:hover {
    color: var(--gw-accent);
}

/* Вкусная мысль дня */
.gw-tasty-thought {
    text-align: center;
    padding: 28px 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.gw-tasty-thought p {
    font-family: var(--gw-font-script);
    font-size: 1.15rem;
    color: var(--gw-accent);
    margin: 0;
    line-height: 1.6;
}

.gw-tasty-thought span {
    display: block;
    font-family: var(--gw-font-body);
    font-size: 0.8rem;
    color: #8A7E72;
    margin-top: 8px;
}

/* Копирайт */
.gw-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: #8A7E72;
}

/* === ПАГИНАЦИЯ === */
.gw-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px 0 20px;
    flex-wrap: wrap;
}

.gw-pagination a,
.gw-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    background: var(--gw-peach);
    color: var(--gw-text);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 16px;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}

.gw-pagination a:hover {
    background: var(--gw-wood-light);
    color: var(--gw-text);
}

.gw-pagination .current {
    background: var(--gw-peach);
    color: var(--gw-accent);
    font-weight: 700;
}

.gw-pagination .current::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gw-accent);
    border-radius: 50%;
}

.gw-pagination .dots {
    background: none;
    min-width: auto;
    color: #8A7E72;
}

/* === КОММЕНТАРИИ === */
.gw-comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--gw-peach);
}

.gw-comments-area h2 {
    margin-bottom: 24px;
}

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

.gw-comment-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gw-peach);
}

.gw-comment-item .children {
    list-style: none;
    margin-left: 30px;
    padding: 0;
}

.gw-comment-author {
    font-weight: 600;
    margin-bottom: 4px;
}

.gw-comment-date {
    font-size: 0.82rem;
    color: #8A7E72;
    margin-bottom: 8px;
}

.gw-comment-text p {
    margin-bottom: 0.5em;
}

.gw-comment-reply a {
    font-size: 0.85rem;
    color: var(--gw-mint);
    font-weight: 500;
}

/* Форма комментария */
.gw-comment-form .comment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--gw-text);
}

.gw-comment-form .comment-form input[type="text"],
.gw-comment-form .comment-form input[type="email"],
.gw-comment-form .comment-form input[type="url"],
.gw-comment-form .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gw-divider);
    border-radius: 10px;
    background: #fff;
    font-family: var(--gw-font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    margin-bottom: 14px;
}

.gw-comment-form .comment-form input:focus,
.gw-comment-form .comment-form textarea:focus {
    outline: none;
    border-color: var(--gw-accent);
}

.gw-comment-form .comment-form .submit {
    background: var(--gw-accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--gw-radius-btn);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease;
    font-family: var(--gw-font-body);
}

.gw-comment-form .comment-form .submit:hover {
    background: var(--gw-accent-hover);
}

/* === ФОРМА ПОИСКА === */
.gw-search-form {
    display: flex;
    gap: 0;
    max-width: 460px;
}

.gw-search-form input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--gw-divider);
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 0.95rem;
    font-family: var(--gw-font-body);
    background: #fff;
    outline: none;
}

.gw-search-form input[type="search"]:focus {
    border-color: var(--gw-accent);
}

.gw-search-form button {
    background: var(--gw-accent);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: var(--gw-font-body);
}

.gw-search-form button:hover {
    background: var(--gw-accent-hover);
}

/* === СТРАНИЦА 404 === */
.gw-404-area {
    text-align: center;
    padding: 60px 20px;
}

.gw-404-area h1 {
    font-size: 5rem;
    color: var(--gw-peach);
    margin-bottom: 0;
}

.gw-404-area h2 {
    margin-top: 0;
}

.gw-404-area p {
    max-width: 500px;
    margin: 0 auto 20px;
    color: #6B6057;
}

.gw-404-area .gw-search-form {
    margin: 30px auto;
}

.gw-home-link {
    display: inline-block;
    background: var(--gw-accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--gw-radius-btn);
    font-weight: 500;
    transition: background 0.25s ease;
    margin-top: 16px;
}

.gw-home-link:hover {
    background: var(--gw-accent-hover);
    color: #fff;
}

/* === COOKIE-БАННЕР === */
.gw-cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gw-text);
    color: #D4C9BE;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    font-size: 0.9rem;
}

.gw-cookie-notice p {
    margin: 0;
    max-width: 600px;
}

.gw-cookie-accept {
    background: var(--gw-accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--gw-radius-oval);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease;
    font-family: var(--gw-font-body);
}

.gw-cookie-accept:hover {
    background: var(--gw-accent-hover);
}

.gw-cookie-notice.is-hidden {
    display: none;
}

/* === КНОПКА НАВЕРХ === */
.gw-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--gw-peach);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: 0 3px 12px var(--gw-shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gw-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gw-scroll-top:hover {
    background: var(--gw-wood-light);
}

.gw-scroll-top svg {
    width: 28px;
    height: 28px;
}

/* Кнопки вторичные */
.gw-btn-secondary {
    display: inline-block;
    border: 2px solid var(--gw-mint);
    color: var(--gw-text);
    padding: 10px 24px;
    border-radius: var(--gw-radius-oval);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    background: transparent;
    cursor: pointer;
    font-family: var(--gw-font-body);
}

.gw-btn-secondary:hover {
    background: var(--gw-mint);
    color: #fff;
}

/* Блог шаблон */
.gw-blog-header {
    margin-bottom: 30px;
}

.gw-blog-header h1 {
    margin-bottom: 8px;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 960px) {
    .gw-feature-blocks {
        grid-template-columns: repeat(2, 1fr);
    }

    .gw-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gw-page-layout.has-sidebar .gw-content-area {
        width: 65%;
    }

    .gw-page-layout.has-sidebar .gw-sidebar-area {
        width: 30%;
    }

    .gw-footer-widgets {
        grid-template-columns: 1fr 1fr;
    }

    .gw-footer-col:nth-child(3) {
        grid-column: span 2;
    }

    .gw-footer-col:not(:last-child)::after {
        display: none;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .gw-header-inner {
        flex-wrap: wrap;
    }

    .gw-burger {
        display: flex;
    }

    .gw-main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .gw-main-nav.is-open {
        display: block;
    }

    .gw-main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .gw-main-nav li:not(:last-child)::after {
        display: none;
    }

    .gw-main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--gw-peach);
    }

    .gw-feature-blocks {
        grid-template-columns: 1fr;
    }

    .gw-posts-grid {
        grid-template-columns: 1fr;
    }

    .gw-front-content {
        max-width: 100%;
    }

    .gw-page-layout {
        flex-direction: column;
    }

    .gw-page-layout.has-sidebar .gw-content-area,
    .gw-page-layout.has-sidebar .gw-sidebar-area,
    .gw-page-layout.no-sidebar .gw-content-area {
        width: 100%;
    }

    .gw-footer-widgets {
        grid-template-columns: 1fr;
    }

    .gw-footer-col:nth-child(3) {
        grid-column: auto;
    }

    .gw-hero-area h1 {
        font-size: 1.8rem;
    }

    .gw-cookie-notice {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .gw-post-nav {
        flex-direction: column;
    }

    .gw-post-nav a {
        max-width: 100%;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
}
