/*
Theme Name: dds_chehovskiedachi.ru
Theme URI: https://chehovskiedachi.ru/
Author: Новиков Лев
Author URI: https://chehovskiedachi.ru/
Description: Тема для информационного сайта о покупке загородной недвижимости. Сдержанный экспертный стиль с акцентом на доверие и читаемость.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chdacha
*/

/* ======================================================================
   1. ПЕРЕМЕННЫЕ И БАЗА
   ====================================================================== */
:root {
    --color-text: #1E2A2E;
    --color-accent: #4A7C59;
    --color-accent-dark: #3a6347;
    --color-bg: #F9F6F0;
    --color-card: #FFFFFF;
    --color-warn: #C1664B;
    --color-soft: #EAE5DC;
    --color-muted: #6b7570;
    --color-border: #d8d2c4;
    --shadow-card: 0 2px 6px rgba(30, 42, 46, 0.06);
    --shadow-paper: 0 4px 16px rgba(30, 42, 46, 0.1);
    --radius: 8px;
    --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--color-accent-dark); text-decoration: underline; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--color-text);
    line-height: 1.3;
    margin: 1.4em 0 0.6em;
    font-weight: 700;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; line-height: 1.6; }

blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    margin: 1.5em 0;
    padding: 0.5em 0 0.5em 1.2em;
    border-left: 3px solid var(--color-accent);
    color: var(--color-text);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    border: 1px solid var(--color-border);
}
th, td {
    padding: 0.6em 0.8em;
    border: 1px solid var(--color-border);
    text-align: left;
}
th { background: var(--color-soft); font-weight: 600; }

code, pre {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.92em;
    background: var(--color-soft);
    border-radius: 4px;
}
code { padding: 2px 5px; }
pre { padding: 1em; overflow-x: auto; }

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

/* ======================================================================
   2. КОНТЕЙНЕРЫ И СЕТКА
   ====================================================================== */
.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.layout {
    display: grid;
    grid-template-columns: 67% 27%;
    gap: 6%;
    margin: 2.5rem auto;
}
.layout--full .layout-content { width: 85%; margin: 0 auto; }
.layout--full .layout-sidebar { display: none; }

@media (max-width: 960px) {
    .layout { grid-template-columns: 1fr; gap: 2rem; }
    .layout--full .layout-content { width: 100%; }
}

/* ======================================================================
   3. ШАПКА
   ====================================================================== */
.site-header {
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
}
.site-header-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 0;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--color-text);
}
.brand:hover { text-decoration: none; color: var(--color-text); }
.brand-logo {
    width: 52px; height: 52px;
    display: block;
    border-radius: var(--radius);
    flex: 0 0 52px;
}
.brand-text { line-height: 1.25; }
.brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.15rem;
    display: block;
    color: var(--color-text);
}
.brand-tagline {
    font-size: 0.86rem;
    color: var(--color-muted);
    display: block;
    margin-top: 2px;
}

.status-strip {
    background: var(--color-soft);
    color: var(--color-text);
    padding: 0.55rem 0;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--color-border);
}
.status-strip strong { color: var(--color-accent); margin-right: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.primary-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--color-text);
}

@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
    .primary-nav { width: 100%; margin-left: 0; display: none; }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 0.6rem; padding: 0.8rem 0; }
}

/* ======================================================================
   4. ХЛЕБНЫЕ КРОШКИ
   ====================================================================== */
.crumbs {
    padding: 1.1rem 0 0.4rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}
.crumbs a { color: var(--color-muted); }
.crumbs a:hover { color: var(--color-accent); }
.crumbs-sep { margin: 0 6px; opacity: 0.5; }
.crumbs-current { color: var(--color-text); }

/* ======================================================================
   5. КАРТОЧКИ ЗАПИСЕЙ (правило A8 + A10)
   ====================================================================== */
.card-list { display: grid; gap: 1.5rem; }
.card-list--grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(30, 42, 46, 0.1);
}

.card--row {
    flex-direction: row;
    align-items: stretch;
}

.card-thumb-wrap {
    overflow: hidden;
    background: var(--color-soft);
}
.card-thumb-wrap img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.card--row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
}
.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;
    aspect-ratio: auto;
}

.card-body {
    flex: 1;
    padding: 1.2rem 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
}
.card-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--color-soft);
    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}
.card-tag--warn { background: rgba(193,102,75,0.15); color: var(--color-warn); }
.card-tag--case { background: rgba(74,124,89,0.15); color: var(--color-accent-dark); }

.card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.card-title a { color: var(--color-text); }
.card-title a:hover { color: var(--color-accent); text-decoration: none; }

.card-meta {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 0.6rem;
}

.card-excerpt { color: var(--color-text); margin-bottom: 1rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-more {
    margin-top: auto;
    align-self: flex-start;
}

@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;
    }
}

/* ======================================================================
   6. КНОПКИ
   ====================================================================== */
.btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    line-height: 1.3;
}
.btn:hover {
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
}
.btn--secondary {
    background: var(--color-soft);
    color: var(--color-text);
    border-color: transparent;
}
.btn--secondary:hover {
    background: #ddd5c4;
    color: var(--color-text);
}
.btn--block { display: block; width: 100%; text-align: center; }

/* ======================================================================
   7. САЙДБАР И ВИДЖЕТЫ
   ====================================================================== */
.layout-sidebar .widget {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}
.widget-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    margin: 0 0 0.8rem;
    color: var(--color-text);
}
.widget ul {
    list-style: none;
    margin: 0; padding: 0;
}
.widget li {
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--color-border);
    margin: 0;
}
.widget li:last-child { border-bottom: none; }

/* Чек-лист — отрывной лист */
.checklist-pad {
    position: relative;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-paper);
}
.checklist-pad::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 28px; height: 28px;
    background:
        linear-gradient(225deg, transparent 50%, rgba(0,0,0,0.06) 50%),
        linear-gradient(225deg, transparent 50%, var(--color-bg) 50%);
    border-bottom-left-radius: 6px;
}
.checklist-pad-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    margin: 0 0 0.8rem;
}
.checklist-pad ol {
    list-style: none;
    margin: 0; padding: 0;
    counter-reset: cl;
}
.checklist-pad li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.9rem;
    border: none;
    font-size: 0.93rem;
    counter-increment: cl;
}
.checklist-pad li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5rem;
    width: 18px; height: 18px;
    background: var(--color-accent);
    border-radius: 50%;
}
.checklist-pad li::after {
    content: '';
    position: absolute;
    left: 5px; top: 0.78rem;
    width: 8px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* ======================================================================
   8. ГЛАВНАЯ
   ====================================================================== */
.hero {
    padding: 3rem 0 2rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.4rem;
    margin: 0 0 0.6rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.hero-lead {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 660px;
    margin: 0 auto 1.5rem;
}

.section-block {
    margin: 3rem 0;
}
.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}
.section-lead {
    text-align: center;
    color: var(--color-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.tile-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.tile {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-card);
    text-align: left;
}
.tile-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(74,124,89,0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}
.tile h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}
.tile p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

@media (max-width: 720px) {
    .tile-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
}

/* Шаги */
.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}
.step {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.3rem;
    counter-increment: step;
    position: relative;
}
.step::before {
    content: counter(step);
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.step h4 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.93rem; color: var(--color-muted); }

/* Колонки тематического блока */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 720px) {
    .two-col { grid-template-columns: 1fr; }
}
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.6rem;
}
.fact-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.45rem;
    width: 14px; height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
}
.fact-list li::after {
    content: '';
    position: absolute;
    left: 4px; top: 0.65rem;
    width: 7px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* ======================================================================
   9. ЗАМЕТКИ В СТАТЬЯХ
   ====================================================================== */
.notice {
    border-radius: var(--radius);
    padding: 1rem 1.1rem 1rem 1.2rem;
    margin: 1.5rem 0;
    background: var(--color-card);
}
.notice--remember {
    border-left: 4px solid var(--color-accent);
    background: rgba(74,124,89,0.06);
}
.notice--warn {
    border-left: 4px solid var(--color-warn);
    background: rgba(193,102,75,0.06);
}
.notice strong { display: block; margin-bottom: 0.3rem; }

/* ======================================================================
   10. РИСК-ИНДИКАТОРЫ
   ====================================================================== */
.risk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    background: var(--color-soft);
    padding: 4px 10px;
    border-radius: 4px;
}
.risk-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.risk--low .risk-dot    { background: #4A7C59; }
.risk--mid .risk-dot    { background: #d6a04a; }
.risk--high .risk-dot   { background: #C1664B; }

/* ======================================================================
   11. ОБСУЖДЕНИЕ / КОММЕНТАРИИ
   ====================================================================== */
.comments-area {
    margin: 2.5rem 0 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
}
.comments-area h2, .comments-area h3 {
    font-size: 1.3rem;
    margin: 0.8em 0 0.6em;
}
.comment-list {
    list-style: none;
    padding: 0; margin: 0 0 1.5rem;
}
.comment-list li.comment {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    margin-bottom: 0.8rem;
}
.comment-list li.comment ul.children { margin-top: 0.8rem; padding-left: 1.2rem; }
.comment-author { font-weight: 600; }
.comment-meta { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.3rem; }

.comment-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-card);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 0.9rem;
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .form-submit input[type=submit] {
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
    padding: 9px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color .15s ease, color .15s ease;
}
.comment-form .form-submit input[type=submit]:hover {
    background: var(--color-accent);
    color: #fff;
}

/* ======================================================================
   12. ПОИСК
   ====================================================================== */
.search-form {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    max-width: 480px;
}
.search-form .search-field {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-card);
    font-size: 1rem;
}
.search-form .search-submit {
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
    padding: 9px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
}
.search-form .search-submit:hover {
    background: var(--color-accent);
    color: #fff;
}

/* ======================================================================
   13. ПАГИНАЦИЯ
   ====================================================================== */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 2.5rem 0 1rem;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    background: var(--color-card);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.pager .page-numbers:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    text-decoration: none;
}
.pager .page-numbers.current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.pager .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ======================================================================
   14. 404
   ====================================================================== */
.notfound {
    text-align: center;
    padding: 3rem 0;
}
.notfound-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    color: var(--color-accent);
    margin: 0;
    line-height: 1;
}

/* ======================================================================
   15. ПОДВАЛ
   ====================================================================== */
.site-footer {
    background: var(--color-text);
    color: #d8d2c4;
    padding: 2.6rem 0 1.4rem;
    margin-top: 3rem;
}
.site-footer a { color: #cfd8d2; }
.site-footer a:hover { color: #fff; }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col .widget {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.footer-col .widget-title {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 0.7rem;
}
.footer-col .widget li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.4rem 0;
}
.footer-col .widget li:last-child { border-bottom: none; }

@media (max-width: 720px) {
    .footer-cols { grid-template-columns: 1fr; gap: 1.4rem; }
}

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

/* «Спросить Льва» — крафтовая бумага */
.ask-lev {
    background: #f0e9d4;
    color: var(--color-text);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-paper);
    background-image:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.015) 0 2px, transparent 2px 6px);
}
.ask-lev h3 {
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}
.ask-lev p { margin: 0 0 0.9rem; font-size: 0.93rem; color: #4a4a3e; }
.ask-lev .form-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.ask-lev input[type=text],
.ask-lev input[type=email] {
    flex: 1;
    min-width: 0;
    padding: 8px 11px;
    border: 1px solid #d4ca9f;
    border-radius: var(--radius);
    background: #fff;
    font-size: 0.93rem;
}
.ask-lev .btn { font-size: 0.9rem; padding: 8px 14px; }

/* ======================================================================
   16. COOKIE-БАННЕР (правило A11)
   ====================================================================== */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--color-text);
    color: #f0ece0;
    padding: 1rem 1.2rem;
    z-index: 1000;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.92rem;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; }
.cookie-banner a { color: #cfd8d2; text-decoration: underline; }
.cookie-banner .btn {
    border-color: #f0ece0;
    color: #f0ece0;
    flex-shrink: 0;
}
.cookie-banner .btn:hover {
    background: #f0ece0;
    color: var(--color-text);
}

/* ======================================================================
   17. УТИЛИТЫ
   ====================================================================== */
.alignleft  { float: left;  margin: 0 1.2rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.2rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.5em 0; }
.entry-title { margin-top: 0.4em; }

.post-meta {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}
.post-meta span { margin-right: 0.9rem; }
.post-meta a { color: var(--color-muted); }
.post-meta a:hover { color: var(--color-accent); }

.entry-thumbnail img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1.4rem;
}

.related-section {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
