/*
Theme Name: dds_makeminemickey.com
Author: Анна Лебедева
Description: Тема для информационно-аналитического портала о личных финансах и планировании накоплений.
Version: 1.1
Text Domain: dreamplan
*/

:root {
    --bg: #F4F7FC;
    --bg-alt: #E8EEF9;
    --dark: #1E2A44;
    --accent: #FFC107;
    --accent2: #00BCD4;
    --muted: #7890A8;
    --shell: min(92%, 1180px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image: radial-gradient(rgba(120, 144, 168, 0.35) 1px, transparent 1px);
    background-size: 26px 26px;
    color: var(--dark);
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 0.012em;
    -webkit-font-smoothing: antialiased;
}

body::after {
    content: "";
    position: fixed;
    right: -40px;
    bottom: -30px;
    width: 420px;
    height: 420px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%231E2A44'%3E%3Cpath d='M30 190V90h20V60l14-18 14 18v30h4V40l18-24 18 24v50h4V60l14-18 14 18v30h20v100z'/%3E%3Cpath d='M96 16l4 10 10 4-10 4-4 10-4-10-10-4 10-4z'/%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 900px) { body::after { display: none; } }

.shell {
    width: var(--shell);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.18;
    margin: 0 0 0.7em;
    font-weight: 800;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; margin-bottom: 0.6em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

a { color: #B27F00; text-decoration: none; transition: color .18s ease; }

.entry-content a,
.widget-area a.text-link,
.excerpt-link a {
    color: #A97A00;
}

.entry-content a:hover,
.card-excerpt a:hover {
    text-decoration: line-through;
    text-decoration-color: var(--accent2);
    text-decoration-thickness: 2px;
}

ul, ol { padding-left: 1.3em; }

blockquote {
    margin: 2rem 0;
    padding: 1.6rem 1.8rem 1.6rem 3.4rem;
    position: relative;
    background: var(--accent2);
    background-image: radial-gradient(rgba(255,255,255,0.55) 1.4px, transparent 1.4px);
    background-size: 18px 18px;
    border-radius: 10px;
    color: #08313A;
    font-size: 1.12rem;
}

blockquote::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 2.1rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
}

blockquote p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; }
table, th, td { border: 1px solid var(--muted); }
th, td { padding: 0.6rem 0.8rem; text-align: left; }
th { background: var(--bg-alt); }

code, pre { font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.92em; }
pre { overflow-x: auto; padding: 1rem; background: var(--bg-alt); border-radius: 8px; }

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

.btn {
    display: inline-block;
    padding: 0.72rem 1.7rem;
    border-radius: 50px 50px 8px 50px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30, 42, 68, 0.14);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.btn:hover {
    transform: translateY(2px);
    box-shadow: 0 10px 24px rgba(30, 42, 68, 0.24);
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--accent2);
    color: var(--dark);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--accent);
}

/* ---------- Гирлянда и заголовки секций ---------- */

.garland {
    height: 10px;
    margin: 0 0 1.6rem;
    background-image: radial-gradient(var(--accent) 3px, transparent 3.5px);
    background-size: 22px 10px;
    background-repeat: repeat-x;
    background-position: left center;
    opacity: 0.9;
}

.section-title {
    display: block;
    position: relative;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding-left: 30px;
    margin-bottom: 1.8rem;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
}

.section-title::after {
    content: "";
    display: block;
    width: 78%;
    max-width: 320px;
    height: 2px;
    margin-top: 0.6rem;
    background: var(--accent2);
}

/* ---------- Шапка ---------- */

.site-header {
    background: var(--dark);
    color: #FFFFFF;
    padding: 1.4rem 0 0;
    position: relative;
    z-index: 2;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-bottom: 1.2rem;
}

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

.brand-logo, .brand-mark { flex: 0 0 auto; display: block; width: 54px; height: 54px; }

.brand-logo { width: auto; max-height: 54px; }

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

.site-name {
    display: block;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.site-name:hover { color: var(--accent); }

.site-tagline {
    display: block;
    margin-top: 0.35rem;
    color: #A9BAD0;
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 720px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px 50px 8px 50px;
    padding: 0.5rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.main-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0 0.9rem;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
}

.main-nav a {
    display: inline-block;
    color: #E7EEF8;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.45rem 0;
    letter-spacing: 0.02em;
}

.main-nav a:hover { color: var(--accent); }

.main-nav .current-menu-item > a { color: var(--accent); }

/* ---------- Каркас страницы ---------- */

.site-main { padding: 2.6rem 0 3.4rem; position: relative; z-index: 1; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 3.2rem;
    align-items: start;
}

.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.content-area { min-width: 0; }

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

.breadcrumbs {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
    line-height: 1.7;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--dark); }
.breadcrumbs .sep { color: var(--accent2); margin: 0 0.35rem; }

/* ---------- Карточки записей ---------- */

.card-list { display: flex; flex-direction: column; gap: 1.6rem; }

.card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(30, 60, 120, 0.10), 0 2px 6px rgba(0, 188, 212, 0.10);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent2);
    box-shadow: 0 16px 32px rgba(30, 60, 120, 0.16), 0 4px 12px rgba(0, 188, 212, 0.22);
}

.card-inner { display: flex; flex-direction: row; min-width: 0; flex: 1; }

.card-thumb-wrap {
    flex: 0 0 260px;
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
}

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

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

.card-ticket {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(30, 42, 68, 0.28);
}

.card-ticket svg { display: block; width: 16px; height: 16px; fill: var(--dark); }

.card-body {
    flex: 1;
    min-width: 0;
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-title { font-size: 1.28rem; margin: 0 0 0.5rem; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: #0E7A88; }

.card-meta {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.card-excerpt { color: #364B6B; font-size: 0.97rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }

.card-more { margin-top: auto; padding-top: 0.9rem; }

.card-more a {
    display: inline-block;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.92rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.card-more a:hover { border-bottom-color: var(--accent2); }

/* ---------- Главная ---------- */

.front-section { padding: 3.4rem 0; position: relative; z-index: 1; }
.front-section.alt { background: var(--bg-alt); }

.front-shell { width: 85%; margin-left: auto; margin-right: auto; }

/* Hero */

.fs-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--dark);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(30, 42, 68, 0.92) 20%, rgba(30, 42, 68, 0.62) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 5.2rem 2.4rem 4.2rem;
    color: #FFFFFF;
}

.hero-inner h1 { color: #FFFFFF; max-width: 15ch; }
.hero-inner h1 .hl { color: var(--accent); }

.hero-lead {
    color: #D6E1F0;
    font-size: 1.08rem;
    max-width: 640px;
    margin-bottom: 2rem;
}

.hero-btn {
    box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.18), 0 10px 26px rgba(255, 193, 7, 0.30);
}

.hero-garland {
    position: absolute;
    left: 0; right: 0; bottom: 18px;
    height: 10px;
    z-index: 2;
    background-image: radial-gradient(var(--accent) 3px, transparent 3.5px);
    background-size: 26px 10px;
    background-repeat: repeat-x;
    opacity: 0.85;
}

/* Статистика */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
}

.stat-item { text-align: center; min-width: 0; }

.stat-coin {
    width: 118px;
    height: 118px;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
}

.stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--accent2);
    letter-spacing: -0.02em;
}

.stat-label { font-size: 0.9rem; color: var(--dark); line-height: 1.5; }

/* Zigzag */

.zz-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.zz-row:last-child { margin-bottom: 0; }
.zz-row.reverse .zz-media { order: -1; }

.zz-text { min-width: 0; }
.zz-text h3 { font-size: 1.6rem; }

.zz-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }

.zz-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.7rem;
    color: #364B6B;
}

.zz-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 15px;
    height: 15px;
    background: var(--accent);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.zz-media { min-width: 0; text-align: center; }

.zz-media img {
    display: block;
    width: min(100%, 380px);
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

/* Сетка карточек-принципов */

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.principle {
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid var(--accent2);
    border-radius: 8px;
    padding: 1.6rem 1.4rem;
    transition: border-color .18s ease, transform .18s ease;
}

.principle:hover { border-color: var(--accent); transform: translateY(-3px); }

.principle svg { display: block; width: 40px; height: 40px; margin-bottom: 1rem; stroke: var(--accent2); fill: none; stroke-width: 1.8; }

.principle h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.principle p { font-size: 0.93rem; color: #364B6B; margin: 0; }

/* Последние записи на главной */

.latest-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.latest-more { margin-top: 2.2rem; text-align: center; }

/* ---------- Сайдбар и виджеты ---------- */

.sidebar { min-width: 0; }

.widget {
    background: rgba(255, 255, 255, 0.72);
    background-image: radial-gradient(rgba(0, 188, 212, 0.16) 1px, transparent 1px);
    background-size: 16px 16px;
    border-radius: 10px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 6px 18px rgba(30, 60, 120, 0.08);
    color: var(--dark);
}

.widget-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark);
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent);
}

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

.widget li { margin-bottom: 0.7rem; line-height: 1.5; }

.widget a { color: var(--dark); font-weight: 600; font-size: 0.95rem; }
.widget a:hover { color: #0E7A88; }

.widget .post-date { display: block; color: var(--muted); font-size: 0.8rem; }
.widget p { color: #364B6B; font-size: 0.94rem; }

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

.site-footer {
    background: var(--dark);
    color: #C9D6E6;
    padding: 3rem 0 1.6rem;
    position: relative;
    z-index: 1;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}

.footer-col { min-width: 0; }

.footer-cols .widget {
    background: transparent;
    background-image: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    color: #C9D6E6;
}

.footer-cols .widget-title {
    color: #FFFFFF;
    border-bottom-color: var(--accent2);
}

.footer-cols .widget a { color: #E7EEF8; font-weight: 500; }
.footer-cols .widget a:hover { color: var(--accent); }
.footer-cols .widget p { color: #C9D6E6; }
.footer-cols .widget .post-date { color: #9DB0C8; }

.site-copy {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    color: #9DB0C8;
    line-height: 1.6;
}

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

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.6rem;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    padding: 0.5rem 0.9rem;
    border: 2px solid var(--accent2);
    border-radius: 50px 50px 8px 50px;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.92rem;
    background: #FFFFFF;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.pagination a.page-numbers:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(2px);
}

.pagination .page-numbers.current {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--accent);
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0.5rem 0.2rem;
}

/* ---------- Формы поиска и комментарии ---------- */

.search-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.search-form input[type="search"] {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0.65rem 1rem;
    border: 2px solid var(--accent2);
    border-radius: 50px;
    background: #FFFFFF;
    color: var(--dark);
    font: inherit;
    font-size: 0.95rem;
}

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

.comments-area { margin-top: 3rem; }

.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list ul.children { list-style: none; padding-left: 1.6rem; }

.comment-item {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(30, 60, 120, 0.08);
}

.comment-head { font-size: 0.84rem; color: var(--muted); margin-bottom: 0.5rem; }
.comment-author { color: var(--dark); font-weight: 700; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 85%;
    padding: 0.65rem 1rem;
    border: 2px solid #CBD8E8;
    border-radius: 8px;
    background: #FFFFFF;
    font: inherit;
    font-size: 0.95rem;
    color: var(--dark);
}

.comment-form textarea { border-radius: 10px; }

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

.comment-form .submit {
    display: inline-block;
    padding: 0.72rem 1.7rem;
    border-radius: 50px 50px 8px 50px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    border: 2px solid var(--accent);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.98rem;
}

.comment-form .submit:hover { transform: translateY(2px); }

/* ---------- Страницы и записи ---------- */

.entry-header { margin-bottom: 1.6rem; }
.entry-title { font-size: 2.4rem; }
.entry-meta { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase; }

.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; border-radius: 10px; }

.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 2.2rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content img { border-radius: 8px; display: block; }

.page-head { margin-bottom: 2rem; }

.not-found {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem 2.2rem;
    box-shadow: 0 8px 20px rgba(30, 60, 120, 0.08);
}

.error-box {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2.4rem 2.4rem;
    box-shadow: 0 8px 22px rgba(30, 60, 120, 0.10);
}

.error-code { font-size: 4.6rem; color: var(--accent2); font-weight: 800; line-height: 1; margin-bottom: 0.4rem; }
.error-actions { margin-top: 1.6rem; }

/* ---------- Cookie-баннер ---------- */

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

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1rem 1.6rem;
    background: var(--dark);
    color: #E7EEF8;
    font-size: 0.9rem;
    box-shadow: 0 -6px 20px rgba(30, 42, 68, 0.26);
}

.cookie-banner p { margin: 0; max-width: 780px; }
.cookie-banner a { color: var(--accent); }

.cookie-accept {
    flex: 0 0 auto;
    padding: 0.6rem 1.6rem;
    border-radius: 50px 50px 8px 50px;
    background: var(--accent);
    border: 2px solid var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
}

.cookie-accept:hover { transform: translateY(2px); }

/* ---------- Адаптив ---------- */

@media (max-width: 960px) {
    h1 { font-size: 2.5rem; }
    .entry-title { font-size: 1.9rem; }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .layout-single, .front-shell { width: 100%; }

    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
    .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hero-inner { padding: 3.6rem 1.6rem 3.4rem; }

    .nav-toggle { display: inline-block; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .front-section { padding: 2.4rem 0; }

    .card-inner { flex-direction: column; }

    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }

    .card-thumb-wrap a { position: static; }

    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .card-body { padding: 1.2rem 1.2rem; }

    .zz-row { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin-bottom: 2.2rem; }
    .zz-row.reverse .zz-media { order: 0; }

    .stats-grid { grid-template-columns: minmax(0, 1fr); }
    .principle-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }

    .hero-inner { padding: 2.8rem 1.2rem 2.8rem; }
    .hero-inner h1 { max-width: none; }

    blockquote { padding: 1.3rem 1.3rem 1.3rem 3rem; }

    .error-box, .not-found { padding: 1.6rem 1.4rem; }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea { width: 100%; }

    .cookie-banner { padding: 0.9rem 1.1rem; font-size: 0.85rem; }
}
