/*
Theme Name: dds_rawnews.ru
Theme URI: https://rawnews.ru/
Author: Алексей Руднев
Author URI: https://rawnews.ru/
Description: Аналитический финансово-экономический портал с мониторингом макропоказателей, методологическими материалами и экспертной интерпретацией событий.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: dds_rawnews
*/

/* ============================================================
   BASE & RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #1E2A32;
    background-color: #F8F9FA;
    overflow-x: hidden;
}

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

a {
    color: #1A4A6B;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0E3A52;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1E2A32;
    line-height: 1.3;
    margin: 0 0 0.7em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

blockquote {
    margin: 1.4em 0;
    padding: 1em 1.4em;
    border-left: 3px solid #C97B5A;
    background: #F1F5F9;
    color: #1E2A32;
    font-style: italic;
}

code, pre {
    font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
    font-size: 0.92em;
}

pre {
    background: #1E2A32;
    color: #F1F5F9;
    padding: 1em 1.2em;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    background: #EDF2F7;
    color: #1A4A6B;
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

pre code { background: none; color: inherit; padding: 0; }

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

th, td {
    padding: 0.75em 1em;
    border: 1px solid #E2E8F0;
    text-align: left;
}

th {
    background: #EDF2F7;
    font-weight: 600;
    color: #1E2A32;
}

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

/* ============================================================
   LAYOUT CONTAINERS
============================================================ */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

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

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

/* Single column (no sidebar) */
.layout-single {
    display: block;
}

.layout-single .content-area {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

/* Two columns (content + sidebar) — using grid with minmax(0, ...) for safe widths */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 6%;
}

@media (max-width: 960px) {
    .layout-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .layout-single .content-area { width: 100%; }
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 22px 0 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 22px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

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

.brand-text {
    min-width: 0;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1E2A32;
    margin: 0 0 4px;
    line-height: 1.3;
    display: block;
    text-decoration: none;
}

.brand-title:hover {
    color: #1A4A6B;
    text-decoration: none;
}

.brand-tagline {
    font-size: 0.82rem;
    color: #5B6F7E;
    line-height: 1.4;
    margin: 0;
    max-width: 640px;
}

.header-search {
    flex-shrink: 0;
}

.header-search input[type="search"] {
    padding: 9px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #F8F9FA;
    font-family: inherit;
    font-size: 0.92rem;
    color: #1E2A32;
    width: 220px;
    max-width: 100%;
}

.header-search input[type="search"]:focus {
    outline: 2px solid #1A4A6B;
    outline-offset: 1px;
}

.header-search button {
    display: none;
}

/* Primary navigation under header */
.primary-nav {
    border-top: 1px solid #E2E8F0;
}

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

.primary-nav .menu li {
    margin: 0;
}

.primary-nav .menu li a {
    display: block;
    padding: 16px 18px;
    color: #1E2A32;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.primary-nav .menu li a:hover {
    color: #1A4A6B;
    border-bottom-color: #C97B5A;
}

.primary-nav .menu li.current-menu-item a,
.primary-nav .menu li.current_page_item a {
    color: #1A4A6B;
    border-bottom-color: #1A4A6B;
}

.menu-toggle[hidden] { display: none !important; }
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #1E2A32;
    cursor: pointer;
    margin: 10px 0;
}

@media (max-width: 760px) {
    .header-inner { gap: 16px; }
    .brand-tagline { display: none; }
    .header-search input[type="search"] { width: 140px; }
    .menu-toggle { display: inline-block; }
    .primary-nav .menu {
        display: none;
        flex-direction: column;
        padding: 8px 0;
    }
    .primary-nav .menu.is-open { display: flex; }
    .primary-nav .menu li a {
        padding: 12px 16px;
        border-bottom: none;
    }
}

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs {
    font-size: 0.86rem;
    color: #5B6F7E;
    margin-bottom: 22px;
    line-height: 1.5;
}

.breadcrumbs a {
    color: #5B6F7E;
}

.breadcrumbs a:hover {
    color: #1A4A6B;
}

.breadcrumbs .sep {
    color: #C97B5A;
    margin: 0 6px;
    font-weight: 600;
}

/* ============================================================
   CARDS (post cards)
============================================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card-thumb {
    display: block;
    overflow: hidden;
    background: #EDF2F7;
}

.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 22px;
    min-width: 0;
}

.card-meta {
    font-size: 0.78rem;
    color: #5B6F7E;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-meta a {
    color: #5B6F7E;
}

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

.card-title {
    font-size: 1.15rem;
    margin: 0 0 10px;
    line-height: 1.35;
}

.card-title a {
    color: #1E2A32;
    text-decoration: none;
}

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

.card-excerpt {
    color: #5B6F7E;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 14px;
}

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

.card-readmore {
    margin-top: auto;
    align-self: flex-start;
    color: #C97B5A;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding-top: 6px;
}

.card-readmore:hover {
    color: #1A4A6B;
    text-decoration: none;
}

.card-readmore::after {
    content: ' →';
}

/* Horizontal card variant — used on archives if needed */
.card-row {
    flex-direction: row;
    align-items: stretch;
}

.card-row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}

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

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

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

/* ============================================================
   FRONT PAGE — thematic blocks & dashboard
============================================================ */
.section-block {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 38px 40px;
    margin-bottom: 36px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.section-block h2 {
    margin-top: 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #C97B5A;
    display: inline-block;
}

.section-lead {
    color: #5B6F7E;
    font-size: 1.02rem;
    max-width: 760px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .section-block { padding: 26px 22px; }
}

/* Dashboard — macro indicators */
.macro-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.macro-card {
    background: #F8F9FA;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 22px 24px;
    min-width: 0;
}

.macro-card-label {
    font-size: 0.82rem;
    color: #5B6F7E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-weight: 500;
}

.macro-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.85rem;
    color: #1E2A32;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 8px;
}

.macro-card-change {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.macro-card-change.up { color: #C97B5A; }
.macro-card-change.down { color: #1A4A6B; }

/* Steps / methodology list */
.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    background: #F8F9FA;
    border-left: 3px solid #1A4A6B;
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    margin: 0;
    min-width: 0;
}

.steps-list li strong {
    display: block;
    color: #C97B5A;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
    display: inline-block;
    background: #1A4A6B;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #0E3A52;
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #C97B5A;
    padding: 12px 28px;
    border: 1px solid #C97B5A;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(201, 123, 90, 0.1);
    transform: translateY(-2px);
    color: #C97B5A;
    text-decoration: none;
}

/* ============================================================
   POST / PAGE CONTENT
============================================================ */
.entry {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 38px 44px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    min-width: 0;
}

.entry-header {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #E2E8F0;
}

.entry-title {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1.25;
}

.entry-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #5B6F7E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-meta a { color: #5B6F7E; }
.entry-meta a:hover { color: #1A4A6B; }

.entry-thumbnail {
    margin: 0 -44px 28px;
    overflow: hidden;
    border-radius: 0;
}

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

.entry-content {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #1E2A32;
    min-width: 0;
}

.entry-content p { margin: 0 0 1.1em; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 1.5em 0 0.6em;
}

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

.entry-content a {
    color: #1A4A6B;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #0E3A52;
}

/* Methodology callout */
.callout-method {
    background: #F1F5F9;
    border: 1px dashed #1A4A6B;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 1.4em 0;
    position: relative;
    padding-left: 56px;
}

.callout-method::before {
    content: '🔍';
    position: absolute;
    left: 18px;
    top: 18px;
    font-size: 1.4rem;
}

.callout-method strong {
    display: block;
    color: #1A4A6B;
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .entry { padding: 26px 22px; }
    .entry-thumbnail { margin: 0 -22px 22px; }
    .entry-title { font-size: 1.5rem; }
}

/* ============================================================
   SIDEBAR & WIDGETS
============================================================ */
.sidebar {
    min-width: 0;
}

.widget {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 22px 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    min-width: 0;
}

.sidebar .widget,
.sidebar .widget-title,
.sidebar .widget a,
.sidebar .widget li,
.sidebar .widget p {
    color: #1E2A32;
}

.widget-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    color: #1E2A32;
    padding-bottom: 10px;
    border-bottom: 2px solid #C97B5A;
}

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

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
    margin: 0;
    font-size: 0.94rem;
    color: #1E2A32;
}

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

.widget ul li a {
    color: #1E2A32;
    text-decoration: none;
}

.widget ul li a:hover {
    color: #1A4A6B;
    text-decoration: underline;
}

.widget .post-date,
.widget .rss-date {
    display: block;
    font-size: 0.78rem;
    color: #5B6F7E;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 3px;
}

/* ============================================================
   PAGINATION
============================================================ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 36px;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #1E2A32;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination .page-numbers:hover {
    background: #F1F5F9;
    border-color: #1A4A6B;
    color: #1A4A6B;
    text-decoration: none;
}

.pagination .page-numbers.current {
    background: #1A4A6B;
    color: #FFFFFF;
    border-color: #1A4A6B;
}

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

/* ============================================================
   COMMENTS
============================================================ */
.comments-area {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 32px 40px;
    margin-top: 32px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    min-width: 0;
}

.comments-title {
    margin-top: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #E2E8F0;
}

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

.comment-list .comment {
    padding: 18px 0;
    border-bottom: 1px solid #E2E8F0;
}

.comment-list .children {
    list-style: none;
    padding-left: 28px;
    border-left: 2px solid #E2E8F0;
    margin-top: 14px;
}

.comment-author {
    font-weight: 600;
    color: #1E2A32;
    margin-bottom: 4px;
}

.comment-meta {
    font-size: 0.82rem;
    color: #5B6F7E;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
}

.comment-body p { margin: 0 0 0.6em; }

#respond {
    margin-top: 28px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #F8F9FA;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1E2A32;
    margin-bottom: 12px;
}

#respond textarea { min-height: 120px; resize: vertical; }

#respond input[type="submit"] {
    background: #1A4A6B;
    color: #FFFFFF;
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

#respond input[type="submit"]:hover {
    background: #0E3A52;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .comments-area { padding: 22px; }
    .comment-list .children { padding-left: 14px; }
}

/* ============================================================
   SEARCH FORM
============================================================ */
.search-form {
    display: flex;
    gap: 8px;
    max-width: 520px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1E2A32;
    min-width: 0;
}

.search-form button {
    background: #1A4A6B;
    color: #FFFFFF;
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.search-form button:hover {
    background: #0E3A52;
}

/* ============================================================
   404 PAGE
============================================================ */
.not-found {
    text-align: center;
    padding: 60px 30px;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.not-found-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5rem;
    color: #1A4A6B;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1;
}

.not-found h1 {
    margin: 0 0 14px;
    font-size: 1.6rem;
}

.not-found p {
    color: #5B6F7E;
    max-width: 480px;
    margin: 0 auto 28px;
}

.not-found .search-form {
    margin: 0 auto 22px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: #1E2A32;
    color: #C9D4DC;
    padding: 50px 0 22px;
    margin-top: 60px;
}

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

.footer-grid .widget {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

/* Override widget colors for dark footer background */
.site-footer .widget,
.site-footer .widget p,
.site-footer .widget li {
    color: #C9D4DC;
}

.site-footer .widget-title {
    color: #FFFFFF;
    border-bottom-color: #C97B5A;
}

.site-footer .widget ul li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-footer .widget ul li a,
.site-footer .widget a {
    color: #C9D4DC;
}

.site-footer .widget ul li a:hover,
.site-footer .widget a:hover {
    color: #C97B5A;
    text-decoration: underline;
}

.site-footer .widget .post-date,
.site-footer .widget .rss-date {
    color: #8FA3B0;
}

.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    color: #8FA3B0;
    font-size: 0.86rem;
}

/* ============================================================
   COOKIE BANNER
============================================================ */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #1E2A32;
    color: #FFFFFF;
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 720px;
    margin: 0 auto;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 220px;
    font-size: 0.92rem;
    color: #C9D4DC;
    line-height: 1.5;
}

.cookie-banner .cookie-accept {
    background: #C97B5A;
    color: #FFFFFF;
    padding: 9px 22px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
    transition: background 0.2s, transform 0.2s;
}

.cookie-banner .cookie-accept:hover {
    background: #b16a4a;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .cookie-banner .cookie-accept { width: 100%; }
}

/* ============================================================
   UTILITY & WP CORE
============================================================ */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.alignwide, .alignfull { max-width: 100%; height: auto; }

.wp-caption {
    max-width: 100%;
    margin: 1em 0;
}

.wp-caption-text {
    font-size: 0.84rem;
    color: #5B6F7E;
    text-align: center;
    margin-top: 6px;
}

.sticky { /* default */ }
.bypostauthor { /* default */ }

@media (max-width: 600px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }
    body { font-size: 15px; }
}
