/*
Theme Name: dds_equipecyclistedesjardins-ford.com
Theme URI: https://equipecyclistedesjardins-ford.com
Author: Алексей Соколов
Author URI: https://equipecyclistedesjardins-ford.com
Description: Urban Pedal — аналитическая тема для информационно-аналитического портала о недвижимости. Сплав урбанистической аналитики, велосипедной культуры и экологичного минимализма.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: urbanpedal
*/

/* ============================================================
   0. ПЕРЕМЕННЫЕ И СБРОС
   ============================================================ */
:root {
    --paper:        #F7F6F3;
    --paper-deep:   #EFEDE6;
    --orange:       #E86A2C;
    --orange-dark:  #CF5A1F;
    --graphite:     #2E4057;
    --graphite-dk:  #243245;
    --brick:        #B95C3A;
    --bike-green:   #5E8C6A;
    --ink:          #2C2E33;
    --ink-soft:     #5A5D66;
    --line:         #D8D5CC;
    --line-soft:    #E6E3DA;
    --white:        #FFFFFF;
    --space:        16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background-color: var(--paper);
    background-image:
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(46,64,87,.025) 39px 40px),
        repeating-linear-gradient(90deg, transparent 0 39px, rgba(46,64,87,.025) 39px 40px);
    color: var(--ink);
    font-family: "Lora", Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: "Archivo", "Arial Narrow", sans-serif;
    color: var(--graphite);
    line-height: 1.18;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}
h1 { font-size: 2.4rem; font-weight: 800; }
h2 { font-size: 1.85rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1em; }

/* ============================================================
   1. КОНТЕЙНЕР ШИРИНЫ — единый источник истины
   ============================================================ */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

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

/* ============================================================
   2. ШАПКА
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.velo-strip {
    background: var(--graphite);
    color: #C7CEDA;
    font-family: "Archivo", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.velo-strip .shell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
}
.velo-strip .velo-rider {
    color: var(--orange);
    transition: transform .25s ease;
}
.velo-strip.is-rolling .velo-rider { transform: translateX(6px); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.brand-logo,
.brand-svg {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: block;
}
.brand-svg { color: var(--orange); }

.brand-text { min-width: 0; }
.site-title {
    font-family: "Archivo", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}
.site-title a { color: var(--graphite); text-decoration: none; }
.site-desc {
    margin: 4px 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

/* ============================================================
   3. НАВИГАЦИЯ
   ============================================================ */
.primary-nav {
    border-top: 1px solid var(--line-soft);
    background: var(--paper);
}
.primary-nav .shell {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    padding: 8px 14px;
    font-family: "Archivo", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--graphite);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
}
.nav-toggle .bars { display: inline-block; width: 18px; height: 2px; background: var(--graphite); position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--graphite); }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.primary-nav li { margin: 0; }
.primary-nav a {
    display: block;
    padding: 14px 16px;
    font-family: "Archivo", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--graphite);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.primary-nav a:hover {
    color: var(--orange-dark);
    border-bottom-color: var(--orange);
}
.primary-nav .current-menu-item > a {
    color: var(--orange-dark);
    border-bottom-color: var(--orange);
}

/* ============================================================
   4. РАСКЛАДКА КОНТЕНТА
   ============================================================ */
.site-main { padding: 40px 0 64px; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 48px;
    align-items: start;
}
.layout-single .content-area { display: block; }
.layout-single .content-area > * { max-width: 100%; }

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

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

/* ============================================================
   5. ХЛЕБНЫЕ КРОШКИ
   ============================================================ */
.breadcrumbs {
    font-family: "Archivo", sans-serif;
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}
.breadcrumbs a { color: var(--graphite); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumbs .sep { color: var(--orange); margin: 0 6px; }

/* ============================================================
   6. КАРТОЧКИ ЗАПИСЕЙ
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, transparent 50%, var(--orange) 50%);
}

.card-thumb {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}
.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .35s ease;
}
.card-thumb:hover img { transform: scale(1.04); }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.card-meta {
    font-family: "Archivo", sans-serif;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bike-green);
    margin-bottom: 8px;
}
.card-title {
    font-size: 1.2rem;
    margin: 0 0 8px;
}
.card-title a { color: var(--graphite); text-decoration: none; }
.card-title a:hover { color: var(--orange-dark); }

.card-excerpt {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }

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

/* Горизонтальная карточка (лента блога) */
.card-row {
    flex-direction: row;
}
.card-row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
    border-bottom: none;
    border-right: 1px solid var(--line-soft);
}
.card-row .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.card-row .card-thumb-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .card-row { flex-direction: column; }
    .card-row .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
    }
    .card-row .card-thumb-wrap a { position: static; }
    .card-row .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
   7. КНОПКИ
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-family: "Archivo", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--graphite);
    background: var(--white);
    border: 1px solid var(--graphite);
    border-radius: 4px;
    border-bottom-width: 1px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    border-bottom: 3px solid var(--orange-dark);
    text-decoration: none;
}
.btn-solid {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-solid:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    border-bottom-color: var(--graphite-dk);
}
.btn-dashed {
    border-style: dashed;
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-dashed:hover { border-style: solid; }
.btn-wide { width: 100%; justify-content: center; }

/* ============================================================
   8. ГЛАВНАЯ СТРАНИЦА
   ============================================================ */
.hero {
    background: var(--graphite);
    color: var(--paper);
    border-radius: 4px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 48px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(115deg, transparent 0 56px, rgba(232,106,44,.07) 56px 58px);
    pointer-events: none;
}
.hero-kicker {
    font-family: "Archivo", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: var(--orange);
    margin: 0 0 14px;
}
.hero h1 { color: var(--white); font-size: 2.7rem; max-width: 22ch; }
.hero p { color: #C7CEDA; max-width: 56ch; font-size: 1.05rem; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }

.home-section { margin-bottom: 56px; }
.section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--graphite);
}
.section-head h2 { margin: 0; }
.section-head .section-num {
    font-family: "Archivo", sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.05em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 24px;
}
.feature-icon {
    width: 44px; height: 44px;
    color: var(--graphite);
    margin-bottom: 14px;
    transition: color .2s ease;
}
.feature:hover .feature-icon { color: var(--orange); }
.feature h3 { font-size: 1.15rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Шаги */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step {
    border-left: 3px solid var(--orange);
    padding: 4px 0 4px 20px;
}
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: "Archivo", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange);
}
.step h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* Метрики / вело-индекс */
.metric-band {
    background: var(--paper-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
}
.metric { text-align: center; }
.metric .metric-num {
    font-family: "Archivo", sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--graphite);
    line-height: 1;
}
.metric .metric-label {
    font-family: "Archivo", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-top: 8px;
}
.spoke-bar {
    height: 8px;
    background: var(--line-soft);
    border-radius: 4px;
    margin: 12px auto 0;
    max-width: 160px;
    overflow: hidden;
}
.spoke-bar span {
    display: block;
    height: 100%;
    background: var(--orange);
}

.home-latest { margin-bottom: 56px; }

/* ============================================================
   9. ОДИНОЧНАЯ ЗАПИСЬ / СТРАНИЦА
   ============================================================ */
.entry {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px;
}
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: 2.1rem; }
.entry-meta {
    font-family: "Archivo", sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bike-green);
}
.entry-thumb {
    margin: 0 0 28px;
    border-radius: 4px;
    overflow: hidden;
}
.entry-thumb img { display: block; width: 100%; }

.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content img { border-radius: 4px; margin: 1em 0; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.5em;
    width: 12px; height: 12px;
    border: 2px solid var(--orange);
    border-radius: 50%;
}
.entry-content ol { padding-left: 1.3em; }
.entry-content blockquote {
    margin: 1.2em 0;
    padding: 12px 24px;
    border-left: 4px solid var(--bike-green);
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-style: italic;
}
.entry-content a { text-decoration: underline; }

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 0.95rem;
}
.entry-content table,
.entry-content th,
.entry-content td {
    border: 1px solid var(--graphite);
}
.entry-content th,
.entry-content td { padding: 10px 12px; text-align: left; }
.entry-content th {
    background: var(--graphite);
    color: var(--white);
    font-family: "Archivo", sans-serif;
}
.entry-content tr:nth-child(even) td { background: var(--paper-deep); }

.entry-tags {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-family: "Archivo", sans-serif;
    font-size: 0.85rem;
}
.entry-tags a {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 4px 10px;
    background: var(--paper-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--graphite);
    text-decoration: none;
}
.entry-tags a:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ============================================================
   10. САЙДБАР И ВИДЖЕТЫ
   ============================================================ */
.sidebar { font-size: 0.95rem; }
.widget {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px;
    margin-bottom: 24px;
}
.widget-title {
    font-family: "Archivo", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--graphite);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
}
.sidebar .widget,
.sidebar .widget p,
.sidebar .widget li { color: var(--ink); }
.sidebar .widget a { color: var(--graphite); text-decoration: none; }
.sidebar .widget a:hover { color: var(--orange-dark); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
}
.widget ul li:last-child { border-bottom: none; }
.sidebar .widget .post-date,
.sidebar .widget .rss-date {
    display: block;
    font-family: "Archivo", sans-serif;
    font-size: 0.76rem;
    color: var(--ink-soft);
}

/* ============================================================
   11. ПАГИНАЦИЯ
   ============================================================ */
.pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--graphite);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    text-decoration: none;
}
.pagination a.page-numbers:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.pagination .page-numbers.current {
    background: var(--graphite);
    color: var(--white);
    border-color: var(--graphite);
}
.pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
}

/* ============================================================
   12. ПОДВАЛ
   ============================================================ */
.site-footer {
    background: var(--graphite);
    color: #BDC4D0;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 52px 0 40px;
}
.footer-col .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.footer-col .widget-title {
    color: var(--white);
    border-bottom-color: var(--orange);
}
.footer-col .widget,
.footer-col .widget p,
.footer-col .widget li,
.footer-col .widget td { color: #BDC4D0; }
.footer-col .widget a { color: #E4E7EC; text-decoration: none; }
.footer-col .widget a:hover { color: var(--orange); }
.footer-col .widget ul li { border-bottom-color: rgba(255,255,255,.09); }
.footer-col .widget .post-date,
.footer-col .widget .rss-date { color: #8D95A3; }

.footer-contacts a { color: var(--orange); }
.footer-contacts .social {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}
.footer-contacts .social a {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 4px;
    color: #E4E7EC;
}
.footer-contacts .social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom .shell {
    padding: 20px 0;
    font-family: "Archivo", sans-serif;
    font-size: 0.82rem;
    color: #8D95A3;
}

@media (max-width: 960px) {
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .footer-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   13. ФОРМА ПОИСКА
   ============================================================ */
.search-form {
    display: flex;
    gap: 8px;
}
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-family: "Lora", serif;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
}
.search-form .search-field:focus {
    outline: none;
    border-color: var(--orange);
}
.search-form .search-submit {
    padding: 10px 18px;
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 4px;
    cursor: pointer;
}
.search-form .search-submit:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

/* ============================================================
   14. КОММЕНТАРИИ
   ============================================================ */
.comments-area {
    margin-top: 36px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px;
}
.comments-title { font-size: 1.4rem; }
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comment-list li { margin: 0 0 18px; }
.comment-list .children {
    list-style: none;
    margin: 16px 0 0 28px;
    padding-left: 18px;
    border-left: 2px solid var(--line);
}
.comment-body {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 16px 18px;
}
.comment-meta {
    font-family: "Archivo", sans-serif;
    font-size: 0.82rem;
    margin-bottom: 6px;
}
.comment-author { font-weight: 700; color: var(--graphite); }
.comment-metadata { color: var(--ink-soft); }
.comment-metadata a { color: var(--ink-soft); }
.reply a {
    font-family: "Archivo", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange-dark);
}
.comment-respond {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
}
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 10px 12px;
    font-family: "Lora", serif;
    font-size: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
}
.comment-form p { margin-bottom: 12px; }
.comment-form label {
    display: block;
    font-family: "Archivo", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.comment-form .submit {
    padding: 11px 22px;
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    color: var(--white);
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 4px;
    cursor: pointer;
}
.comment-form .submit:hover { background: var(--orange-dark); }

/* ============================================================
   15. 404
   ============================================================ */
.error-404 {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 56px 40px;
    text-align: center;
}
.error-404 .code-big {
    font-family: "Archivo", sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.error-404 .search-form {
    max-width: 420px;
    margin: 24px auto 0;
}

/* ============================================================
   16. ОБЩИЕ БЛОКИ КОНТЕНТА
   ============================================================ */
.page-title-block {
    margin-bottom: 28px;
}
.page-title-block h1 { margin-bottom: 4px; }
.list-intro { color: var(--ink-soft); }

.info-panel {
    background: var(--paper-deep);
    border: 1px solid var(--line);
    border-left: 4px solid var(--bike-green);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
}
.info-panel h3 { margin-top: 0; }

/* ============================================================
   17. COOKIE-БАННЕР
   ============================================================ */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--graphite-dk);
    color: #DDE1E8;
    border-top: 3px solid var(--orange);
}
.cookie-banner .shell {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}
.cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}
.cookie-banner a { color: var(--orange); }
.cookie-accept {
    flex: 0 0 auto;
    padding: 10px 24px;
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 4px;
    cursor: pointer;
}
.cookie-accept:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

@media (max-width: 600px) {
    .cookie-banner .shell { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   18. АДАПТИВ
   ============================================================ */
@media (max-width: 960px) {
    h1 { font-size: 2rem; }
    .hero { padding: 40px 28px; }
    .hero h1 { font-size: 2.1rem; }
    .entry { padding: 28px; }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    .header-inner { flex-wrap: wrap; gap: 16px; }
    .nav-toggle { display: inline-flex; }
    .primary-nav .shell { display: block; }
    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        display: none;
        padding-bottom: 8px;
    }
    .primary-nav ul.is-open { display: flex; }
    .primary-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line-soft); }
    .primary-nav a:hover,
    .primary-nav .current-menu-item > a { border-bottom-color: var(--line-soft); }
    .hero h1 { font-size: 1.8rem; }
    .entry { padding: 20px; }
    .comments-area { padding: 20px; }
}
