/*
Theme Name: dds_cashwarez.ru
Author: Антон Кравцов
Description: Информационный проект о ядерной энергетике — экспертная аналитика по безопасности, технологиям и перспективам отрасли.
Version: 1.1
Text Domain: cwnz
*/

/* ============================================================
   ТОКЕНЫ
   ============================================================ */
:root {
    --cwnz-navy-deep: #07112a;
    --cwnz-navy: #0e1e3f;
    --cwnz-navy-soft: #1a2c54;
    --cwnz-cyan: #2dd4ff;
    --cwnz-cyan-dim: #1aa6d1;
    --cwnz-amber: #f5b700;
    --cwnz-paper: #f4f6fb;
    --cwnz-paper-2: #e7ecf5;
    --cwnz-line: #d4dcee;
    --cwnz-text: #1c2540;
    --cwnz-text-muted: #5a6a87;
    --cwnz-white: #ffffff;
    --cwnz-radius: 10px;
    --cwnz-shell-max: 1180px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PT Sans", "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--cwnz-text);
    background: var(--cwnz-paper);
    overflow-x: hidden;
}

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

a {
    color: var(--cwnz-cyan-dim);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--cwnz-navy); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Georgia", "PT Serif", "Times New Roman", serif;
    color: var(--cwnz-navy);
    line-height: 1.25;
    margin: 0 0 .6em;
    font-weight: 700;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.4em;
    border-left: 4px solid var(--cwnz-cyan);
    background: var(--cwnz-paper-2);
    color: var(--cwnz-text);
    font-style: italic;
}

code, pre {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    background: var(--cwnz-paper-2);
    border-radius: 4px;
}
code { padding: 1px 5px; font-size: .92em; }
pre { padding: 1em; overflow-x: auto; }

hr {
    border: 0;
    border-top: 1px solid var(--cwnz-line);
    margin: 2em 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    background: var(--cwnz-white);
    border: 1px solid var(--cwnz-line);
}
th, td {
    padding: .7em .9em;
    border: 1px solid var(--cwnz-line);
    text-align: left;
    vertical-align: top;
}
th { background: var(--cwnz-paper-2); font-weight: 600; }

/* ============================================================
   SHELL (единый ограничитель ширины)
   ============================================================ */
.shell {
    width: min(92%, var(--cwnz-shell-max));
    margin-inline: auto;
}
.shell-wide {
    width: min(92%, 1320px);
    margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
    background: linear-gradient(180deg, var(--cwnz-navy-deep) 0%, var(--cwnz-navy) 100%);
    color: var(--cwnz-white);
    border-bottom: 2px solid var(--cwnz-cyan);
    position: relative;
}
.site-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 88% 30%, rgba(45, 212, 255, .12) 0%, transparent 60%);
    pointer-events: none;
}
.site-head-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.3rem 0;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: var(--cwnz-white);
    flex-shrink: 0;
}
.brand:hover { color: var(--cwnz-white); text-decoration: none; }
.brand-logo {
    width: 52px;
    height: 52px;
    display: block;
    flex-shrink: 0;
}
.brand-text { min-width: 0; }
.brand-name {
    font-family: "Georgia", serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--cwnz-white);
    margin: 0 0 .2em;
}
.brand-tagline {
    font-size: .78rem;
    color: rgba(255, 255, 255, .68);
    line-height: 1.3;
    margin: 0;
    max-width: 460px;
}

.head-nav { margin-left: auto; }
.head-nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.head-nav li { margin: 0; }
.head-nav a {
    color: rgba(255, 255, 255, .85);
    font-size: .95rem;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.head-nav a:hover,
.head-nav .current-menu-item > a {
    color: var(--cwnz-cyan);
    border-color: var(--cwnz-cyan);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    color: var(--cwnz-white);
    padding: .45rem .8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: .9rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    padding: .8rem 0;
    font-size: .88rem;
    color: var(--cwnz-text-muted);
}
.breadcrumbs a { color: var(--cwnz-cyan-dim); }
.breadcrumbs a:hover { color: var(--cwnz-navy); }
.breadcrumbs .sep { margin: 0 .4em; color: var(--cwnz-text-muted); opacity: .6; }
.breadcrumbs span { color: var(--cwnz-navy); }

/* ============================================================
   MAIN LAYOUTS
   ============================================================ */
.site-main { padding: 1.5rem 0 3rem; }
body.home .site-main { padding: 0; }
body.home .breadcrumbs { display: none; }

.layout-with-sidebar {
    display: flex;
    gap: 3%;
    align-items: flex-start;
}
.layout-with-sidebar .content-area {
    flex: 0 0 67%;
    min-width: 0;
}
.layout-with-sidebar .sidebar {
    flex: 0 0 27%;
    min-width: 0;
}

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

.front-area {
    display: block;
}
.front-area > * { width: 100%; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { font-size: .94rem; }
.widget {
    background: var(--cwnz-white);
    border: 1px solid var(--cwnz-line);
    border-radius: var(--cwnz-radius);
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.4rem;
    color: var(--cwnz-text);
}
.widget-title,
.widget h2 {
    font-size: 1.05rem;
    color: var(--cwnz-navy);
    margin-bottom: .8rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--cwnz-cyan);
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget li {
    margin: 0;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--cwnz-line);
    color: var(--cwnz-text);
}
.widget li:last-child { border-bottom: none; }
.widget a {
    color: var(--cwnz-navy);
    font-weight: 500;
}
.widget a:hover { color: var(--cwnz-cyan-dim); text-decoration: underline; }
.widget .post-date,
.widget time {
    display: block;
    font-size: .82rem;
    color: var(--cwnz-text-muted);
    margin-top: .15rem;
}

/* ============================================================
   FRONT PAGE — TEMATIC BLOCKS
   ============================================================ */
.hero-block {
    background: linear-gradient(120deg, var(--cwnz-navy-deep) 0%, var(--cwnz-navy) 65%, var(--cwnz-navy-soft) 100%);
    color: var(--cwnz-white);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-block::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -80px;
    background: radial-gradient(circle, rgba(45, 212, 255, .22) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}
.hero-text h1 {
    color: var(--cwnz-white);
    font-size: 2.3rem;
    line-height: 1.18;
    margin-bottom: .8rem;
}
.hero-text p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    max-width: 540px;
}
.hero-text .accent { color: var(--cwnz-cyan); }
.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.hero-image svg,
.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.block-section {
    padding: 3rem 0;
}
.block-section:nth-of-type(even) {
    background: var(--cwnz-paper-2);
}
.block-section .section-head {
    text-align: center;
    margin-bottom: 2rem;
}
.block-section .section-head h2 {
    font-size: 1.85rem;
    margin-bottom: .5em;
}
.block-section .section-lede {
    color: var(--cwnz-text-muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.02rem;
}

/* Сетка из 4 направлений */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}
.direction-card {
    background: var(--cwnz-white);
    border: 1px solid var(--cwnz-line);
    border-radius: var(--cwnz-radius);
    padding: 1.6rem 1.4rem;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    min-width: 0;
}
.direction-card:hover {
    transform: translateY(-3px);
    border-color: var(--cwnz-cyan);
    box-shadow: 0 8px 22px rgba(14, 30, 63, .08);
}
.direction-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--cwnz-cyan-dim);
}
.direction-card h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}
.direction-card p {
    margin: 0;
    color: var(--cwnz-text-muted);
    font-size: .94rem;
    line-height: 1.55;
}

/* Статистика */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.4rem;
}
.fact-card {
    background: var(--cwnz-navy);
    color: var(--cwnz-white);
    padding: 1.8rem 1.4rem;
    border-radius: var(--cwnz-radius);
    text-align: center;
    border-top: 3px solid var(--cwnz-cyan);
    min-width: 0;
}
.fact-number {
    display: block;
    font-family: "Georgia", serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--cwnz-cyan);
    line-height: 1;
    margin-bottom: .35rem;
}
.fact-label {
    display: block;
    font-size: .92rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.4;
}

/* FAQ-аккордеон */
.faq-wrap {
    max-width: 820px;
    margin-inline: auto;
}
.faq-item {
    background: var(--cwnz-white);
    border: 1px solid var(--cwnz-line);
    border-radius: var(--cwnz-radius);
    margin-bottom: .8rem;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.3rem;
    font-weight: 600;
    color: var(--cwnz-navy);
    position: relative;
    padding-right: 2.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--cwnz-cyan-dim);
    line-height: 1;
    transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary {
    background: var(--cwnz-paper-2);
    border-bottom: 1px solid var(--cwnz-line);
}
.faq-body {
    padding: 1rem 1.3rem 1.2rem;
    color: var(--cwnz-text);
}
.faq-body p:last-child { margin-bottom: 0; }

/* Latest posts grid (front-page) */
.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ============================================================
   CARDS (template-parts/content-card.php)
   ============================================================ */
.card {
    display: flex;
    flex-direction: column;
    background: var(--cwnz-white);
    border: 1px solid var(--cwnz-line);
    border-radius: var(--cwnz-radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    min-width: 0;
}
.card:hover {
    box-shadow: 0 10px 24px rgba(14, 30, 63, .1);
    transform: translateY(-2px);
}
.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--cwnz-paper-2);
}
.card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body {
    flex: 1;
    padding: 1.2rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
}
.card-meta {
    font-size: .82rem;
    color: var(--cwnz-text-muted);
    margin-bottom: .55rem;
}
.card-title {
    font-size: 1.18rem;
    margin: 0 0 .6rem;
    line-height: 1.3;
}
.card-title a { color: var(--cwnz-navy); }
.card-title a:hover { color: var(--cwnz-cyan-dim); text-decoration: none; }
.card-excerpt {
    color: var(--cwnz-text);
    font-size: .96rem;
    flex: 1;
}
.card-excerpt p {
    margin: 0 0 .5em;
    background: none;
}
.card-more {
    margin-top: 1rem;
    align-self: flex-start;
    font-weight: 600;
    color: var(--cwnz-cyan-dim);
    font-size: .94rem;
}
.card-more::after {
    content: " →";
    transition: margin-left .15s;
}
.card-more:hover::after { margin-left: 4px; }

/* ============================================================
   SINGLE / PAGE
   ============================================================ */
.entry-header {
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--cwnz-line);
}
.entry-title {
    font-size: 2.05rem;
    margin-bottom: .5rem;
}
.entry-meta {
    font-size: .9rem;
    color: var(--cwnz-text-muted);
}
.entry-meta a { color: var(--cwnz-cyan-dim); }

.entry-thumb {
    margin: 0 0 1.5rem;
    border-radius: var(--cwnz-radius);
    overflow: hidden;
}
.entry-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-content > * { margin-bottom: 1.1rem; }
.entry-content h2 { margin-top: 1.7rem; }
.entry-content h3 { margin-top: 1.3rem; }
.entry-content img {
    display: block;
    margin: 1.5rem 0;
    border-radius: var(--cwnz-radius);
}
.entry-content figure {
    margin: 1.5rem 0;
}
.entry-content figcaption {
    font-size: .88rem;
    color: var(--cwnz-text-muted);
    text-align: center;
    margin-top: .5em;
}

.tag-list {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cwnz-line);
    font-size: .9rem;
}
.tag-list a {
    display: inline-block;
    background: var(--cwnz-paper-2);
    padding: .25em .7em;
    border-radius: 4px;
    margin-right: .35em;
    margin-bottom: .35em;
    color: var(--cwnz-navy);
}
.tag-list a:hover { background: var(--cwnz-cyan); color: var(--cwnz-navy-deep); text-decoration: none; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cwnz-line);
}
.comments-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.comment-list,
.children {
    list-style: none;
    padding-left: 0;
}
.children { padding-left: 1.5rem; border-left: 2px solid var(--cwnz-line); margin-top: .8rem; }
.comment-body {
    background: var(--cwnz-white);
    border: 1px solid var(--cwnz-line);
    border-radius: var(--cwnz-radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}
.comment-meta {
    font-size: .85rem;
    color: var(--cwnz-text-muted);
    margin-bottom: .5rem;
}
.comment-author { font-weight: 600; color: var(--cwnz-navy); }
.comment-respond {
    margin-top: 1.5rem;
    padding: 1.4rem;
    background: var(--cwnz-paper-2);
    border-radius: var(--cwnz-radius);
}
.comment-form label {
    display: block;
    font-size: .9rem;
    margin-bottom: .35rem;
    color: var(--cwnz-navy);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .55rem .7rem;
    border: 1px solid var(--cwnz-line);
    border-radius: 6px;
    font-family: inherit;
    font-size: .95rem;
    background: var(--cwnz-white);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit,
.form-submit input[type="submit"] {
    background: var(--cwnz-navy);
    color: var(--cwnz-white);
    border: none;
    padding: .65rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: .95rem;
    transition: background .15s;
}
.comment-form .submit:hover,
.form-submit input[type="submit"]:hover {
    background: var(--cwnz-cyan-dim);
}

/* ============================================================
   SEARCH
   ============================================================ */
.search-form {
    display: flex;
    gap: .5rem;
    margin: 0;
}
.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: .55rem .8rem;
    border: 1px solid var(--cwnz-line);
    border-radius: 6px;
    font-size: .95rem;
    background: var(--cwnz-white);
}
.search-form button {
    background: var(--cwnz-navy);
    color: var(--cwnz-white);
    border: none;
    padding: .55rem 1.1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
.search-form button:hover { background: var(--cwnz-cyan-dim); }

/* ============================================================
   PAGINATION
   ============================================================ */
.cwnz-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin: 2rem 0 1rem;
}
.cwnz-pagination .page-numbers {
    display: inline-block;
    padding: .4rem .85rem;
    border: 1px solid var(--cwnz-line);
    border-radius: 6px;
    color: var(--cwnz-navy);
    background: var(--cwnz-white);
    font-size: .95rem;
    text-decoration: none;
    line-height: 1.2;
}
.cwnz-pagination .page-numbers:hover {
    background: var(--cwnz-paper-2);
    border-color: var(--cwnz-cyan);
    color: var(--cwnz-navy);
}
.cwnz-pagination .page-numbers.current {
    background: var(--cwnz-navy);
    color: var(--cwnz-white);
    border-color: var(--cwnz-navy);
}
.cwnz-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--cwnz-text-muted);
}

/* ============================================================
   404
   ============================================================ */
.error-404 {
    text-align: center;
    padding: 3rem 0;
}
.error-404 .big-code {
    font-family: "Georgia", serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--cwnz-cyan);
    margin: 0 0 .3em;
    font-weight: 700;
}
.error-404 h1 {
    font-size: 1.6rem;
    margin-bottom: .8em;
}
.error-404 .actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}
.error-404 .btn {
    display: inline-block;
    padding: .65rem 1.4rem;
    background: var(--cwnz-navy);
    color: var(--cwnz-white);
    border-radius: 6px;
    font-weight: 600;
}
.error-404 .btn:hover { background: var(--cwnz-cyan-dim); color: var(--cwnz-white); text-decoration: none; }
.error-404 .search-form {
    max-width: 460px;
    margin: 1.5rem auto 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
    background: var(--cwnz-navy-deep);
    color: rgba(255, 255, 255, .85);
    padding: 3rem 0 1rem;
    margin-top: 2rem;
    border-top: 3px solid var(--cwnz-cyan);
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.foot-col { min-width: 0; }
.foot-col .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, .85);
}
.foot-col .widget-title,
.foot-col .widget h2 {
    color: var(--cwnz-cyan);
    border-bottom: 1px solid rgba(45, 212, 255, .35);
    padding-bottom: .5rem;
    margin-bottom: .9rem;
    font-size: 1.05rem;
}
.foot-col .widget li {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .45rem 0;
    color: rgba(255, 255, 255, .85);
}
.foot-col .widget li:last-child { border-bottom: none; }
.foot-col .widget a {
    color: rgba(255, 255, 255, .92);
    font-weight: 500;
}
.foot-col .widget a:hover { color: var(--cwnz-cyan); text-decoration: underline; }
.foot-col .widget p { color: rgba(255, 255, 255, .82); font-size: .94rem; }
.foot-col .widget .post-date,
.foot-col .widget time { color: rgba(255, 255, 255, .55); }

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 1.2rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .65);
    text-align: center;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--cwnz-navy-deep);
    color: var(--cwnz-white);
    border-top: 2px solid var(--cwnz-cyan);
    padding: 1rem 0;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .25);
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1;
    min-width: 240px;
    font-size: .92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
}
.cookie-accept {
    background: var(--cwnz-cyan);
    color: var(--cwnz-navy-deep);
    border: none;
    padding: .6rem 1.4rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: .94rem;
    flex-shrink: 0;
}
.cookie-accept:hover { background: var(--cwnz-amber); color: var(--cwnz-navy-deep); }

/* ============================================================
   ADAPTIVE
   ============================================================ */
@media (max-width: 960px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-text h1 { font-size: 1.7rem; }
    .layout-with-sidebar {
        flex-direction: column;
        gap: 2rem;
    }
    .layout-with-sidebar .content-area,
    .layout-with-sidebar .sidebar {
        flex: 0 0 100%;
        width: 100%;
    }
    .layout-single .content-area { width: 95%; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .site-head-inner {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 0;
    }
    .brand-tagline { display: none; }
    .menu-toggle { display: inline-block; }
    .head-nav {
        order: 3;
        flex: 0 0 100%;
        margin-left: 0;
    }
    .head-nav[hidden] { display: none !important; }
    .head-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .head-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }
    .head-nav a {
        display: block;
        padding: .65rem 0;
        border-bottom: none;
    }
    .hero-block { padding: 2.2rem 0; }
    .hero-text h1 { font-size: 1.45rem; }
    .block-section { padding: 2rem 0; }
    .entry-title { font-size: 1.5rem; }
    .cookie-inner { flex-direction: column; align-items: stretch; }
    .cookie-accept { width: 100%; }
    .error-404 .big-code { font-size: 4rem; }
}
