/*
Theme Name: dds_awardmaterial.com
Author: Илья Воронцов
Version: 1.1
Text Domain: dds_awardmaterial
*/

/* ===== Reset & base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #F5F5F5;
    background-color: #121212;
    background-image:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255, 107, 61, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 100%, rgba(45, 212, 191, 0.04) 0%, transparent 60%);
    background-attachment: fixed;
    overflow-x: hidden;
}

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

a {
    color: #FF6B3D;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}
a:hover { color: #2DD4BF; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", system-ui, sans-serif;
    color: #F5F5F5;
    line-height: 1.25;
    margin: 0 0 0.7em;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

p { margin: 0 0 1em; }

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

blockquote {
    margin: 1.4em 0;
    padding: 1em 1.4em;
    border-left: 3px solid #FF6B3D;
    background: rgba(255, 107, 61, 0.06);
    color: #A0A0A0;
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

code, pre {
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.9em;
    background: #1a1a1a;
    color: #2DD4BF;
    border-radius: 6px;
}
code { padding: 0.15em 0.4em; }
pre {
    padding: 1em 1.2em;
    overflow-x: auto;
    border: 1px solid rgba(45, 212, 191, 0.2);
    margin: 1.2em 0;
}
pre code { background: none; padding: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    border: 1px solid rgba(245, 245, 245, 0.15);
    background: #1e1e1e;
}
th, td {
    border: 1px solid rgba(245, 245, 245, 0.12);
    padding: 0.7em 1em;
    text-align: left;
}
th {
    background: #2A2A2A;
    color: #FF6B3D;
    font-weight: 600;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 61, 0.4), transparent);
    margin: 2em 0;
}

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

.site-main {
    padding: 2.5rem 0 3.5rem;
}

/* Two-column layout (content + sidebar) — grid */
.layout-grid.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 2.5rem;
}
.layout-grid .content-area {
    min-width: 0;
}
/* Single-column layout (no sidebar) — block context, надёжнее grid'а (A12.3) */
.layout-grid.no-sidebar {
    display: block;
}
.layout-grid.no-sidebar > .content-area {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    border-bottom: 1px solid rgba(255, 107, 61, 0.18);
    padding: 1rem 0;
    position: relative;
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 61, 0.5) 30%, rgba(45, 212, 191, 0.4) 70%, transparent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
.brand-logo {
    width: 52px;
    height: 52px;
    display: block;
    border-radius: 12px;
    flex-shrink: 0;
}
.brand-text { min-width: 0; }
.brand-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.brand-title a {
    color: #F5F5F5;
    background: linear-gradient(90deg, #F5F5F5 0%, #F5F5F5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transition: background 0.3s ease;
}
.brand-title a:hover {
    background: linear-gradient(90deg, #FF6B3D 0%, #2DD4BF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.brand-tagline {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #A0A0A0;
    max-width: 420px;
    line-height: 1.4;
}

/* Primary navigation */
.primary-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.primary-nav li { margin: 0; }
.primary-nav a {
    display: inline-block;
    padding: 0.55rem 1.05rem;
    color: #F5F5F5;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    background: #FF6B3D;
    color: #fff;
    border-color: #FF6B3D;
}

.nav-toggle {
    display: none;
    background: rgba(255, 107, 61, 0.12);
    border: 1px solid rgba(255, 107, 61, 0.4);
    color: #FF6B3D;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    font-size: 0.85rem;
    color: #A0A0A0;
    margin: 1.5rem 0 1rem;
    padding: 0.65rem 1rem;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.breadcrumbs a {
    color: #2DD4BF;
}
.breadcrumbs a:hover { color: #FF6B3D; }
.breadcrumbs .sep {
    color: #FF6B3D;
    margin: 0 0.4em;
    font-weight: bold;
}

/* ===== Cards (post list) ===== */
.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.card {
    background: #2A2A2A;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 61, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.card:hover::before {
    border-color: rgba(45, 212, 191, 0.35);
}

.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-body {
    flex: 1;
    padding: 1.2rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.78rem;
    color: #A0A0A0;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
}
.card-meta .meta-date::before {
    content: "◆";
    color: #2DD4BF;
    margin-right: 0.3em;
    font-size: 0.7em;
}

.card-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    line-height: 1.3;
}
.card-title a { color: #F5F5F5; }
.card-title a:hover { color: #FF6B3D; }

.card-excerpt {
    color: #A0A0A0;
    font-size: 0.93rem;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}
.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}
.card-excerpt p:last-child { margin-bottom: 0; }

.card-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 107, 61, 0.12);
    color: #FF6B3D;
    border: 1px solid rgba(255, 107, 61, 0.4);
    border-radius: 0 24px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.2s ease;
}
.card-more::after { content: "→"; transition: transform 0.2s ease; }
.card-more:hover {
    background: #FF6B3D;
    color: #fff;
}
.card-more:hover::after { transform: translateX(3px); }

/* ===== Pagination ===== */
.pagination-wrap {
    margin: 2rem 0 1rem;
    display: flex;
    justify-content: center;
}
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.8rem;
    margin: 0 0.2rem;
    background: #2A2A2A;
    color: #F5F5F5;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.pagination-wrap .page-numbers:hover {
    background: rgba(255, 107, 61, 0.18);
    border-color: #FF6B3D;
    color: #FF6B3D;
}
.pagination-wrap .page-numbers.current {
    background: #FF6B3D;
    color: #fff;
    border-color: #FF6B3D;
}
.pagination-wrap .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}

/* ===== Single post / page ===== */
.entry {
    background: #2A2A2A;
    border-radius: 18px;
    padding: 2rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.entry-thumb {
    margin: -2rem -2.2rem 1.6rem;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 18px 18px 0 0;
}
.entry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.entry-title {
    margin: 0 0 0.8rem;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}
.entry-meta {
    color: #A0A0A0;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.entry-meta span::before {
    content: "•";
    color: #2DD4BF;
    margin-right: 0.4em;
}
.entry-content { font-size: 1rem; }
.entry-content img { border-radius: 12px; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(255, 107, 61, 0.4); }
.entry-content a:hover { text-decoration-color: #2DD4BF; }

.entry-footer {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #A0A0A0;
    font-size: 0.88rem;
}
.entry-footer a { color: #2DD4BF; }
.entry-footer a:hover { color: #FF6B3D; }

/* ===== Sidebar / widgets ===== */
.sidebar { min-width: 0; }

.widget {
    background: #2A2A2A;
    padding: 1.3rem 1.4rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.widget-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: #FF6B3D;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.6rem;
}
.widget-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #FF6B3D, #2DD4BF);
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    color: #F5F5F5;
    font-size: 0.93rem;
    margin: 0;
}
.widget li:last-child { border-bottom: none; }
.widget a {
    color: #F5F5F5;
}
.widget a:hover { color: #FF6B3D; }
.widget .post-date {
    display: block;
    font-size: 0.75rem;
    color: #A0A0A0;
    margin-top: 0.25rem;
}
.widget p, .widget {
    color: #F5F5F5;
}

/* Search form */
.searchform {
    display: flex;
    gap: 0.5rem;
}
.searchform input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.9rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #F5F5F5;
    font-size: 0.93rem;
    font-family: inherit;
}
.searchform input[type="search"]:focus {
    outline: none;
    border-color: #FF6B3D;
}
.searchform button {
    padding: 0.6rem 1.1rem;
    background: #FF6B3D;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}
.searchform button:hover { background: #ff7d54; }

/* ===== Front page sections ===== */
.front-section {
    margin: 2rem 0 3rem;
    padding: 2rem 2.2rem;
    background: linear-gradient(135deg, #2A2A2A 0%, #1f1f1f 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}
.front-section::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 107, 61, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.front-section.accent-mint::before {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
}
.front-section h2 {
    color: #FF6B3D;
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.front-section.accent-mint h2 { color: #2DD4BF; }
.front-section h2::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.section-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.feature-item {
    background: rgba(0, 0, 0, 0.25);
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    border-left: 3px solid #FF6B3D;
    min-width: 0;
}
.front-section.accent-mint .feature-item { border-left-color: #2DD4BF; }
.feature-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #F5F5F5;
}
.feature-item p {
    margin: 0;
    font-size: 0.88rem;
    color: #A0A0A0;
    line-height: 1.5;
}

.front-section .data-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.data-chip {
    text-align: center;
    padding: 0.7rem;
    background: rgba(45, 212, 191, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(45, 212, 191, 0.2);
}
.data-chip .value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2DD4BF;
    font-variant-numeric: tabular-nums;
}
.data-chip .label {
    display: block;
    font-size: 0.75rem;
    color: #A0A0A0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.front-latest {
    margin: 2.5rem 0;
}
.front-latest h2 {
    color: #F5F5F5;
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.front-latest h2::before {
    content: "";
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #FF6B3D, #2DD4BF);
    border-radius: 2px;
}

/* ===== Page title ===== */
.page-header {
    margin-bottom: 1.5rem;
}
.page-title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.archive-description {
    color: #A0A0A0;
    margin: 0;
}

/* ===== Comments ===== */
.comments-area {
    margin-top: 2.5rem;
    padding: 1.8rem 2rem;
    background: #2A2A2A;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.comments-title {
    margin: 0 0 1.5rem;
    color: #FF6B3D;
    font-size: 1.3rem;
}
.comment-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}
.comment-list ol { list-style: none; padding-left: 1.5rem; }
.comment-list li {
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 2px solid #2DD4BF;
}
.comment-author { font-weight: 600; color: #F5F5F5; }
.comment-meta {
    font-size: 0.8rem;
    color: #A0A0A0;
    margin-bottom: 0.5rem;
}
.comment-body p { margin: 0.5rem 0; }
.comment-reply-link {
    font-size: 0.85rem;
    color: #2DD4BF;
}

.comment-form {
    display: grid;
    gap: 0.9rem;
}
.comment-form p { margin: 0; }
.comment-form label {
    display: block;
    margin-bottom: 0.3rem;
    color: #A0A0A0;
    font-size: 0.88rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #F5F5F5;
    font-family: inherit;
    font-size: 0.95rem;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #FF6B3D;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit,
.comment-form input[type="submit"] {
    background: #FF6B3D;
    color: #fff;
    padding: 0.75rem 1.6rem;
    border: 1px solid #FF6B3D;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
    justify-self: start;
}
.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
    background: #ff7d54;
    transform: translateY(-1px);
}

/* ===== 404 page ===== */
.error-404 {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #2A2A2A;
    border-radius: 18px;
    border: 1px solid rgba(255, 107, 61, 0.2);
}
.error-404 .code {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #FF6B3D 0%, #2DD4BF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.4rem;
}
.error-404 .home-link {
    display: inline-block;
    margin-top: 1.4rem;
    padding: 0.75rem 1.6rem;
    background: #FF6B3D;
    color: #fff;
    border-radius: 16px;
    font-weight: 600;
}
.error-404 .home-link:hover { background: #ff7d54; color: #fff; }
.error-404 .search-wrap { max-width: 460px; margin: 1.4rem auto 0; }

/* ===== Footer ===== */
.site-footer {
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 107, 61, 0.18);
    padding: 2.5rem 0 1.2rem;
    margin-top: 3rem;
    color: #A0A0A0;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-columns .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.footer-columns .widget-title {
    color: #FF6B3D;
}
.footer-columns .widget li {
    color: #A0A0A0;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}
.footer-columns .widget a {
    color: #F5F5F5;
}
.footer-columns .widget a:hover { color: #FF6B3D; }
.footer-columns .widget p { color: #A0A0A0; }
.footer-columns .widget .post-date { color: #707070; }

.footer-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(45, 212, 191, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.15);
    margin-bottom: 1.4rem;
    font-size: 0.82rem;
}
.footer-dashboard div {
    text-align: center;
    color: #A0A0A0;
}
.footer-dashboard strong {
    display: block;
    color: #2DD4BF;
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.15rem;
}

.copyright {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #707070;
    font-size: 0.85rem;
}

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

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    background: #1a1a1a;
    color: #F5F5F5;
    padding: 1rem 1.3rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 61, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 760px;
    margin-inline: auto;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.88rem;
    color: #A0A0A0;
    flex: 1;
    min-width: 240px;
}
.cookie-banner button {
    background: #FF6B3D;
    color: #fff;
    border: 1px solid #FF6B3D;
    padding: 0.6rem 1.4rem;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.cookie-banner button:hover {
    background: #ff7d54;
    transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .layout-grid.has-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .entry {
        padding: 1.4rem 1.4rem;
    }
    .entry-thumb {
        margin: -1.4rem -1.4rem 1.2rem;
    }
    .front-section {
        padding: 1.5rem 1.5rem;
    }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .header-inner { gap: 1rem; }
    .brand-tagline { display: none; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        flex-basis: 100%;
        order: 3;
    }
    .primary-nav[hidden] { display: none !important; }
    .primary-nav ul {
        flex-direction: column;
        gap: 0.2rem;
        width: 100%;
    }
    .primary-nav a {
        display: block;
        text-align: left;
    }
    .footer-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
    .posts-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .layout-grid.no-sidebar > .content-area {
        width: 100%;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-banner button { width: 100%; }
    .entry {
        padding: 1.2rem 1.1rem;
        border-radius: 14px;
    }
    .entry-thumb {
        margin: -1.2rem -1.1rem 1rem;
        aspect-ratio: 16 / 10;
    }
    .front-section {
        padding: 1.3rem 1.1rem;
        margin: 1.4rem 0 2rem;
    }
    .comments-area {
        padding: 1.3rem 1.1rem;
    }
}
