/*
Theme Name: dds_intuisicreative.com
Author: Юлия Кузьмина
Description: Информационная тема о типографике и шрифтах: читаемость, наборный текст и работа с кириллицей.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: intuisi
*/

/* =========================================================================
   0. Переменные и сброс
   ====================================================================== */
:root {
    --paper: #f4f0e7;
    --paper-2: #ece6d8;
    --ink: #24211c;
    --ink-soft: #56504410;
    --muted: #6f675a;
    --line: #d8cfbd;
    --accent: #a8412a;
    --accent-dark: #82301f;
    --dark: #211d18;
    --dark-2: #2b2620;
    --dark-text: #e7e0d2;
    --dark-muted: #b1a894;
    --shell: min(92%, 1180px);
    --serif: Georgia, "Times New Roman", "PT Serif", serif;
    --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    line-height: 1.22;
    color: var(--ink);
    margin: 0 0 .6em;
    font-weight: 700;
}
h1 { font-size: 2.3rem; letter-spacing: -.01em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: var(--ink);
    color: #fff;
    padding: .5rem .9rem;
    z-index: 999;
    border-radius: 4px;
}

/* =========================================================================
   1. Шапка
   ====================================================================== */
.site-header {
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    flex-wrap: wrap;
}
.branding {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
}
.branding .brand-logo,
.branding svg.logo-mark {
    display: block;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
}
.brand-text { min-width: 0; }
.site-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
.site-title a { color: var(--ink); }
.site-title a:hover { color: var(--accent); text-decoration: none; }
.site-desc {
    margin: .15rem 0 0;
    font-size: .82rem;
    color: var(--muted);
    max-width: 46ch;
}

/* Навигация */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}
.main-nav a {
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
    padding: .3rem 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
.current-menu-item > a { border-bottom-color: var(--ink); }

.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--ink);
    border-radius: 5px;
    padding: .4rem .6rem;
    font-size: .9rem;
    cursor: pointer;
    color: var(--ink);
}

/* =========================================================================
   2. Раскладка контента
   ====================================================================== */
.site-main { padding: 2.2rem 0 3rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 3%;
    align-items: start;
}
.layout-single {
    display: block;
}
.layout-single .content-area {
    width: 85%;
    max-width: 900px;
    margin-inline: auto;
}
.content-area { min-width: 0; }

/* Крошки */
.crumbs {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 .35rem; color: var(--line); }

/* =========================================================================
   3. Сайдбар
   ====================================================================== */
.sidebar { min-width: 0; }
.sidebar .widget {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.4rem;
    color: var(--ink);
}
.sidebar .widget-title {
    font-size: 1.05rem;
    margin: 0 0 .8rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--accent);
    color: var(--ink);
}
.sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar .widget li {
    padding: .4rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
.sidebar .widget li:last-child { border-bottom: none; }
.sidebar .widget a { color: var(--ink); }
.sidebar .widget a:hover { color: var(--accent); }
.sidebar .widget .post-date,
.sidebar .widget .rss-date { color: var(--muted); font-size: .8rem; }

/* =========================================================================
   4. Карточки записей (A8, A10)
   ====================================================================== */
.card-list {
    display: grid;
    gap: 1.5rem;
}
.card {
    display: flex;
    flex-direction: column;
    background: #fbf8f1;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.card-thumb-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--paper-2);
}
.card-thumb-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}
.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.card:hover .card-thumb-wrap img { transform: scale(1.04); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.4rem 1.4rem;
    min-width: 0;
}
.card-meta {
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}
.card-title {
    font-size: 1.28rem;
    margin: 0 0 .5rem;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-excerpt {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 1rem;
}
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-more {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 600;
    font-size: .9rem;
    color: var(--accent);
    border-bottom: 1px solid currentColor;
}
.card-more:hover { text-decoration: none; color: var(--accent-dark); }

/* Список записей блога — одноколоночные горизонтальные карточки на широких экранах */
.blog-list .card {
    flex-direction: row;
}
.blog-list .card-thumb-wrap {
    flex: 0 0 300px;
    aspect-ratio: auto;
    position: relative;
}
.blog-list .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.blog-list .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================================
   5. Одиночная запись / страница
   ====================================================================== */
.entry-header { margin-bottom: 1.6rem; }
.entry-title { font-size: 2.1rem; margin-bottom: .5rem; }
.entry-meta { color: var(--muted); font-size: .85rem; }
.featured-media { margin: 0 0 1.8rem; border-radius: 10px; overflow: hidden; }
.featured-media img { display: block; width: 100%; }

.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 1.8rem; }
.entry-content h3 { margin-top: 1.4rem; }
.entry-content img { border-radius: 8px; margin: 1rem 0; }
.entry-content blockquote {
    margin: 1.6rem 0;
    padding: 1.1rem 1.4rem;
    background: var(--paper-2);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    font-family: var(--serif);
    font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content code {
    background: var(--paper-2);
    padding: .1rem .35rem;
    border-radius: 4px;
    font-size: .92em;
}
.entry-content pre {
    background: var(--dark);
    color: var(--dark-text);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    overflow-x: auto;
    min-width: 0;
}

/* Таблицы */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
}
.entry-content th,
.entry-content td {
    border: 1px solid var(--line);
    padding: .6rem .8rem;
    text-align: left;
}
.entry-content th { background: var(--paper-2); font-family: var(--serif); }

.tags-line { margin: 1.8rem 0 0; font-size: .85rem; }
.tags-line a {
    display: inline-block;
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: .2rem .6rem;
    border-radius: 20px;
    margin: .15rem .2rem .15rem 0;
    color: var(--muted);
}
.tags-line a:hover { color: var(--accent); text-decoration: none; }

/* =========================================================================
   6. Главная
   ====================================================================== */
.home-main { padding-bottom: 3rem; }
.front-section { padding: 2.6rem 0; }
.front-section + .front-section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 1.6rem; }
.section-kicker {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: .4rem;
}
.section-head h2 { font-size: 1.9rem; margin: 0; }
.section-head p { color: var(--muted); margin: .6rem 0 0; max-width: 62ch; }

/* Hero / текст+иллюстрация */
.hero {
    background: var(--dark);
    color: var(--dark-text);
    padding: 3rem 0;
    border-bottom: 2px solid var(--ink);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: center;
}
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: .8rem; }
.hero p { color: var(--dark-muted); font-size: 1.1rem; }
.hero .btn { margin-top: .6rem; }
.hero-visual { min-width: 0; }
.hero-visual img { border-radius: 12px; display: block; width: 100%; box-shadow: 0 18px 40px rgba(0,0,0,.35); }

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: .7rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost {
    background: transparent;
    border: 1.5px solid currentColor;
    color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-media img { border-radius: 10px; display: block; width: 100%; }
.split-text { min-width: 0; }
.split-text h2 { margin-top: 0; }

/* Сетка рубрик */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}
.feature-card {
    background: #fbf8f1;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.5rem 1.4rem;
    min-width: 0;
}
.feature-card .fi {
    width: 44px;
    height: 44px;
    display: block;
    margin-bottom: .9rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Шаги */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    counter-reset: step;
}
.step {
    min-width: 0;
    padding-top: .4rem;
}
.step .step-num {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: .5rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Цитата */
.quote-band {
    background: var(--accent);
    color: #fff;
    padding: 2.8rem 2.4rem;
    border-radius: 12px;
    text-align: center;
}
.quote-band blockquote {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.6rem;
    line-height: 1.4;
    font-style: italic;
}
.quote-band cite {
    display: block;
    margin-top: 1rem;
    font-size: .9rem;
    font-style: normal;
    color: rgba(255,255,255,.85);
}

/* Факты */
.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}
.fact {
    text-align: center;
    padding: 1.4rem 1rem;
    background: var(--paper-2);
    border-radius: 10px;
    min-width: 0;
}
.fact .fact-num {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
}
.fact p { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { max-width: 780px; }
.faq details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbf8f1;
    padding: 0 1.3rem;
    margin-bottom: .8rem;
}
.faq summary {
    cursor: pointer;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 0;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.4rem;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); margin: 0 0 1rem; }

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.gallery-grid figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--paper-2);
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA */
.cta-band {
    background: var(--dark);
    color: var(--dark-text);
    padding: 2.6rem 2.4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { color: var(--dark-muted); margin: 0; max-width: 52ch; }
.cta-text { min-width: 0; }

/* Последние записи на главной */
.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* =========================================================================
   7. Пагинация (D5 — type=plain, .page-numbers)
   ====================================================================== */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin-top: 2.4rem;
}
.pager .page-numbers {
    display: inline-block;
    padding: .5rem .85rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    font-size: .92rem;
    background: #fbf8f1;
}
.pager a.page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}
.pager .page-numbers.current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.pager .page-numbers.dots {
    border: none;
    background: none;
}

/* =========================================================================
   8. Подвал
   ====================================================================== */
.site-footer {
    background: var(--dark);
    color: var(--dark-text);
    padding: 2.8rem 0 1.4rem;
    margin-top: 2rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
}
.footer-cols .widget { min-width: 0; color: var(--dark-text); }
.footer-cols .widget-title {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 .9rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--accent);
}
.footer-cols .widget,
.footer-cols .widget p { color: var(--dark-text); }
.footer-cols .widget a { color: var(--dark-muted); }
.footer-cols .widget a:hover { color: #fff; }
.footer-cols .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-cols .widget li {
    padding: .35rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-cols .widget li:last-child { border-bottom: none; }
.footer-cols .widget .post-date { color: var(--dark-muted); font-size: .8rem; }

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    color: var(--dark-muted);
    font-size: .85rem;
}

/* =========================================================================
   9. Cookie-баннер (D6, A11)
   ====================================================================== */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 720px;
    margin-inline: auto;
    background: var(--ink);
    color: var(--paper);
    padding: 1.1rem 1.3rem;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    z-index: 500;
}
.cookie-banner p { margin: 0; font-size: .88rem; flex: 1; min-width: 200px; }
.cookie-banner a { color: #f0c6ba; }
.cookie-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: .6rem 1.3rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: .9rem;
}
.cookie-accept:hover { background: var(--accent-dark); }

/* =========================================================================
   10. Поиск, 404, комментарии
   ====================================================================== */
.search-form {
    display: flex;
    gap: .5rem;
    max-width: 460px;
}
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: .6rem .8rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font-size: .95rem;
}
.search-form .search-submit {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: .6rem 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.search-form .search-submit:hover { background: var(--accent); }

.notfound { text-align: center; padding: 2rem 0; }
.notfound .big404 {
    font-family: var(--serif);
    font-size: 6rem;
    color: var(--accent);
    line-height: 1;
    margin: 0;
}
.notfound .search-form { margin: 1.6rem auto; }

.comments-area { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 2px solid var(--ink); }
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 0 0 0 1.6rem; padding: 0; }
.comment-item { margin-bottom: 1.2rem; }
.comment-inner {
    background: #fbf8f1;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.2rem;
}
.comment-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; flex-wrap: wrap; }
.comment-author { font-weight: 700; font-family: var(--serif); }
.comment-date { color: var(--muted); font-size: .8rem; }
.comment-await { color: var(--accent); font-size: .85rem; }
.comment-reply a { font-size: .85rem; font-weight: 600; }
.comment-respond {
    margin-top: 1.6rem;
    background: var(--paper-2);
    padding: 1.4rem 1.5rem;
    border-radius: 10px;
}
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: .55rem .7rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: .95rem;
    font-family: inherit;
    background: #fff;
    margin-top: .3rem;
}
.comment-respond textarea { min-height: 120px; }
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url { margin-bottom: .9rem; }
.comment-respond .submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: .65rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
.comment-respond .submit:hover { background: var(--accent-dark); }

/* Контактный блок (статичный, без форм) */
.contact-block { margin: 1.4rem 0; }
.contact-block a.mailto {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
}
.social-links { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.social-links a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .9rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: .9rem;
    color: var(--ink);
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* =========================================================================
   11. Адаптив
   ====================================================================== */
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: 1fr; gap: 2rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    .header-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
    .branding { justify-content: flex-start; }
    .nav-toggle { display: inline-block; align-self: flex-start; }
    .main-nav { display: none; width: 100%; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: .2rem; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { display: block; padding: .6rem 0; }

    .layout-single .content-area { width: 100%; }
    .split { grid-template-columns: 1fr; gap: 1.4rem; }
    .split.reverse .split-media { order: 0; }
    .feature-grid,
    .steps,
    .facts,
    .latest-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cols { grid-template-columns: 1fr; gap: 1.6rem; }

    .quote-band { padding: 1.8rem 1.4rem; }
    .quote-band blockquote { font-size: 1.25rem; }
    .cta-band { padding: 1.8rem 1.4rem; flex-direction: column; align-items: flex-start; }
    .front-section { padding: 2rem 0; }

    /* Горизонтальные карточки блога → вертикальные (A10) */
    .blog-list .card { flex-direction: column; }
    .blog-list .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
        aspect-ratio: 16 / 9;
    }
    .blog-list .card-thumb-wrap a { position: static; }
    .blog-list .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .entry-title { font-size: 1.6rem; }
    .notfound .big404 { font-size: 4rem; }
}
