/*
Theme Name: dds_eu-fp.com
Theme URI: https://eu-fp.com/
Author: Анна Соколова
Author URI: https://eu-fp.com/
Description: Информационно-аналитическая тема для портала об образовании и построении карьеры в сфере недвижимости. Сдержанный премиальный стиль: тёплая песочная палитра, терракотовые акценты, академическая типографика.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: dds_eufp
*/

/* ============================================================
   ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
    --sand: #FEF9F0;
    --sand-deep: #F4EBD9;
    --terracotta: #B7410E;
    --terracotta-soft: #C45A2C;
    --olive: #6B705C;
    --olive-light: #8A8E7C;
    --copper: #C97E5A;
    --copper-dark: #A45434;
    --ink: #1E1E1E;
    --text: #2C2C2C;
    --choco: #2F241B;
    --choco-light: #4A3A2C;
    --plate: rgba(183, 65, 14, 0.05);
    --plate-strong: rgba(183, 65, 14, 0.1);
    --line: rgba(30, 30, 30, 0.12);
    --shadow-soft: 0 6px 24px rgba(47, 36, 27, 0.10);
    --shadow-lift: 0 14px 36px rgba(47, 36, 27, 0.16);
    --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
}

/* ============================================================
   БАЗОВЫЙ СБРОС
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: var(--copper);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--copper-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.22;
    margin: 0 0 0.6em;
    font-weight: 600;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }

blockquote {
    margin: 1.6em 0;
    padding: 0.2em 0 0.2em 1.4em;
    border-left: 3px solid var(--terracotta);
    color: var(--olive);
    font-family: var(--font-display);
    font-size: 1.15rem;
}
blockquote cite,
blockquote .quote-author {
    display: block;
    margin-top: 0.6em;
    font-variant: small-caps;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    font-style: normal;
}

code, pre {
    font-family: 'SFMono-Regular', Consolas, monospace;
    background: var(--sand-deep);
    border-radius: 4px;
}
code { padding: 0.1em 0.4em; font-size: 0.92em; }
pre { padding: 1em; overflow-x: auto; }

/* ============================================================
   ТАБЛИЦЫ
   ============================================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    border: 1px solid var(--line);
}
th, td {
    border: 1px solid var(--line);
    padding: 0.7em 0.9em;
    text-align: left;
}
th {
    background: var(--plate-strong);
    color: var(--ink);
    font-family: var(--font-display);
}

/* ============================================================
   КОНТЕЙНЕР ШИРИНЫ (единственное место ограничения ширины)
   ============================================================ */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.2;
    padding: 0.72em 1.5em;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary {
    background: var(--terracotta);
    color: #fff;
}
.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(183, 65, 14, 0.32);
}
.btn-secondary {
    background: transparent;
    border-color: var(--terracotta);
    color: var(--terracotta);
}
.btn-secondary:hover {
    background: var(--plate-strong);
    color: var(--terracotta);
}
.btn-download {
    background: var(--terracotta);
    color: #fff;
    padding-inline: 1.8em;
}
.btn-download:hover { color: #fff; transform: translateY(-2px); }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    flex: 1;
}
.brand-logo,
.brand-mark {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
}
.brand-mark { color: var(--terracotta); }
.brand-text { min-width: 0; }
.brand-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.3;
    display: block;
    max-width: 46ch;
}
.brand-title a { color: var(--ink); }
.brand-title a:hover { color: var(--terracotta); }
.brand-desc {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: var(--olive);
    line-height: 1.5;
    max-width: 60ch;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    margin: 0 auto;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 0.5em 0.95em;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.96rem;
    border-radius: 6px;
    transition: background 0.18s ease, color 0.18s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    background: var(--plate-strong);
    color: var(--terracotta);
}

/* ============================================================
   ХЛЕБНЫЕ КРОШКИ
   ============================================================ */
.breadcrumbs {
    font-size: 0.86rem;
    color: var(--olive);
    padding: 1.1rem 0 0.2rem;
}
.breadcrumbs a { color: var(--olive); }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs .sep { margin: 0 0.4em; color: var(--copper); }
.breadcrumbs span:last-child { color: var(--ink); }

/* ============================================================
   РАСКЛАДКА КОНТЕНТА
   ============================================================ */
.site-main { padding: 1.6rem 0 3.5rem; }

/* .shell — единственный контейнер ширины. Раскладки вложены внутрь. */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: start;
}
.layout-single {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.content-area { min-width: 0; }

@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: 1fr; }
    .layout-single { width: 100%; }
}

/* ============================================================
   САЙДБАР И ВИДЖЕТЫ
   ============================================================ */
.sidebar {
    min-width: 0;
    background: var(--plate);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem 1.4rem;
}
.widget { margin-bottom: 1.8rem; }
.widget:last-child { margin-bottom: 0; }

/* Текст виджетов в светлом сайдбаре — тёмный, явно задан */
.sidebar .widget,
.sidebar .widget p,
.sidebar .widget li,
.sidebar .widget td { color: var(--text); }
.sidebar .widget-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ink);
    margin: 0 0 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--terracotta);
}
.sidebar .widget a { color: var(--copper-dark); }
.sidebar .widget a:hover { color: var(--terracotta); }
.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar .widget li {
    padding: 0.5em 0 0.5em 1.1em;
    position: relative;
    border-bottom: 1px solid var(--line);
}
.sidebar .widget li:last-child { border-bottom: none; }
.sidebar .widget li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 9px;
    height: 9px;
    background: var(--olive);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.sidebar .widget .post-date,
.sidebar .widget .rss-date {
    display: block;
    font-size: 0.78rem;
    color: var(--olive);
}

/* ============================================================
   КАРТОЧКИ ЗАПИСЕЙ
   ============================================================ */
.card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}
.card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}
.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-thumb-wrap.is-placeholder {
    background: var(--plate-strong);
    min-height: 200px;
}
.card-body {
    flex: 1;
    min-width: 0;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
}
.card-meta {
    font-size: 0.8rem;
    color: var(--olive);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.card-title {
    font-size: 1.35rem;
    margin: 0 0 0.6rem;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--terracotta); }
.card-excerpt { color: var(--text); }
.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}
.card-footer { margin-top: auto; padding-top: 0.9rem; }

/* Горизонтальная карточка на широких экранах */
@media (min-width: 601px) {
    .card { flex-direction: row; }
}
@media (max-width: 600px) {
    .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-thumb-wrap.is-placeholder { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ============================================================
   ОДИНОЧНАЯ ЗАПИСЬ / СТРАНИЦА
   ============================================================ */
.entry {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.2rem 2.4rem;
}
.entry-header { margin-bottom: 1.4rem; }
.entry-title { font-size: 2.2rem; }
.entry-meta {
    font-size: 0.85rem;
    color: var(--olive);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.entry-thumb {
    margin: 0 0 1.6rem;
    border-radius: 10px;
    overflow: hidden;
}
.entry-thumb img { display: block; width: 100%; }
.entry-content :is(h2, h3) { margin-top: 1.6em; }
.entry-content img { border-radius: 8px; }

@media (max-width: 600px) {
    .entry { padding: 1.5rem 1.3rem; }
    .entry-title { font-size: 1.7rem; }
}

/* ============================================================
   ГЛАВНАЯ — ТЕМАТИЧЕСКИЕ БЛОКИ
   ============================================================ */
.home-section { padding: 3rem 0; }
.home-section + .home-section { border-top: 1px solid var(--line); }
.section-eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--terracotta);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-heading { font-size: 2.1rem; margin-bottom: 0.4rem; }
.section-lead {
    color: var(--olive);
    font-size: 1.05rem;
    max-width: 64ch;
    margin-bottom: 1.8rem;
}

/* Карточки профессий — горизонтальные */
.profession-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.4rem;
}
.profession-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: var(--plate);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.4rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profession-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.profession-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: var(--terracotta);
}
.profession-body { min-width: 0; }
.profession-body h3 { margin-bottom: 0.3rem; font-size: 1.2rem; }
.profession-body p {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.8rem;
}
.profession-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--terracotta);
}

/* Карточки юрисдикций */
.jur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 1.2rem;
}
.jur-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jur-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.jur-pattern {
    height: 96px;
    display: block;
}
.jur-info {
    padding: 0.9rem 1.1rem 1.1rem;
}
.jur-code {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.06em;
}
.jur-level {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.4rem;
    font-size: 0.84rem;
    color: var(--olive);
}
.jur-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.jur-dot.low { background: #5C8A4A; }
.jur-dot.mid { background: var(--terracotta); }
.jur-dot.high { background: #6E5C8A; }

/* Дорожная карта пользователя */
.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.4rem;
    counter-reset: step;
}
.roadmap-step {
    position: relative;
    background: var(--plate);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.6rem 1.4rem 1.4rem;
}
.roadmap-step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--terracotta);
    font-weight: 600;
}
.roadmap-step h3 { font-size: 1.15rem; margin: 0.3rem 0 0.4rem; }
.roadmap-step p { font-size: 0.93rem; margin: 0 0 0.8rem; color: var(--text); }

/* Ленточный индикатор карьерного этапа */
.progress-track {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 1.8rem 0;
    flex-wrap: wrap;
}
.progress-node {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--olive);
}
.progress-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--olive);
    background: var(--sand);
    flex: 0 0 auto;
}
.progress-node.done .progress-dot {
    background: var(--terracotta);
    border-color: var(--terracotta);
}
.progress-node.done { color: var(--ink); }
.progress-line {
    flex: 1;
    min-width: 28px;
    border-top: 2px dashed var(--olive);
    margin: 0 0.4rem;
}

/* ============================================================
   ПАГИНАЦИЯ
   ============================================================ */
.pagination {
    margin: 2.4rem 0 0;
}
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7em;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 600;
    background: #fff;
}
.pagination .page-numbers:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}
.pagination .page-numbers.current {
    background: var(--terracotta);
    color: #fff;
    border-color: var(--terracotta);
}
.pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ============================================================
   ФОРМА ПОИСКА
   ============================================================ */
.search-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: 0.7em 0.9em;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.96rem;
    background: #fff;
    color: var(--text);
}
.search-form .search-field:focus {
    outline: 2px solid var(--copper);
    outline-offset: 1px;
}
.search-form .search-submit {
    background: var(--terracotta);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1.3em;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}
.search-form .search-submit:hover { background: var(--copper-dark); }

/* ============================================================
   КОММЕНТАРИИ
   ============================================================ */
.comments-area {
    margin-top: 2.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.8rem 2rem;
}
.comments-title { font-size: 1.5rem; }
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comment-list li { margin-bottom: 1.2rem; }
.comment-list .children {
    list-style: none;
    margin: 1rem 0 0 1.6rem;
    padding-left: 1rem;
    border-left: 2px solid var(--line);
}
.comment-body {
    background: var(--plate);
    border-radius: 10px;
    padding: 1rem 1.2rem;
}
.comment-author { font-weight: 700; color: var(--ink); }
.comment-metadata { font-size: 0.8rem; color: var(--olive); }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 0.65em 0.8em;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    background: #fff;
    color: var(--text);
}
.comment-respond .submit {
    background: var(--terracotta);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1.5em;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================================
   404
   ============================================================ */
.error-404 {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.6rem 2.4rem;
    text-align: center;
}
.error-404 .error-code {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--terracotta);
    line-height: 1;
}
.error-404 .search-form { max-width: 420px; margin: 1.6rem auto 1.2rem; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.site-footer {
    background: var(--choco);
    color: #E9DCC9;
    padding: 3rem 0 1.4rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 2.2rem;
}
.footer-col { min-width: 0; }

/* Текст виджетов в тёмном футере — светлый, явно задан */
.site-footer .widget,
.site-footer .widget p,
.site-footer .widget li,
.site-footer .widget td { color: #E9DCC9; }
.site-footer .widget-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #F5C99B;
    margin: 0 0 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--terracotta-soft);
}
.site-footer .widget a { color: #E7B58F; }
.site-footer .widget a:hover { color: #F5C99B; }
.site-footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .widget li {
    padding: 0.42em 0 0.42em 1.1em;
    position: relative;
    border-bottom: 1px solid rgba(233, 220, 201, 0.14);
}
.site-footer .widget li:last-child { border-bottom: none; }
.site-footer .widget li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.95em;
    width: 9px;
    height: 9px;
    background: var(--terracotta-soft);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.site-footer .widget .post-date,
.site-footer .widget .rss-date {
    display: block;
    font-size: 0.78rem;
    color: #B9A98F;
}

.footer-contacts a { color: #E7B58F; }
.footer-contacts a:hover { color: #F5C99B; }

.site-credit {
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(233, 220, 201, 0.16);
    font-size: 0.85rem;
    color: #B9A98F;
    text-align: center;
}

/* ============================================================
   COOKIE-БАННЕР
   правило [hidden] размещено ДО основного блока стилей баннера
   ============================================================ */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--choco);
    color: #E9DCC9;
    border-top: 2px solid var(--terracotta);
    padding: 1rem 0;
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-text {
    min-width: 0;
    flex: 1;
    font-size: 0.9rem;
    margin: 0;
}
.cookie-text a { color: #E7B58F; }
.cookie-banner .btn-primary { flex: 0 0 auto; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .main-nav {
        flex-basis: 100%;
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.9rem;
    }
    .main-nav a {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        background: var(--plate);
        border: 1px solid var(--line);
        padding: 0.8em 1em;
    }
    .main-nav a::before {
        content: "";
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        background: var(--terracotta);
        clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
        opacity: 0.55;
    }
    h1 { font-size: 2rem; }
    .section-heading { font-size: 1.7rem; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .entry-title { font-size: 1.6rem; }
    .home-section { padding: 2.2rem 0; }
    .cookie-inner { justify-content: stretch; }
}
