/*
Theme Name: dds_globalingredient.ru
Author: Алексей Валерьевич Смирнов
Description: Образовательный портал по пищевым технологиям и переработке сельскохозяйственного сырья. Дизайн-концепция «Лабораторная чистота».
Version: 1.1
Text Domain: dgir
*/

/* ============================================================ *
 *  Переменные
 * ============================================================ */
:root {
    --bg:        #F4F7FC;
    --bg-alt:    #E8EEF5;
    --header:    #0F1A2C;
    --footer:    #0A121E;
    --sidebar:   #FFFFFF;
    --text:      #1A2533;
    --accent:    #00D4AA;
    --accent-2:  #3B82F6;
    --muted:     #6B7A8F;
    --card-brd:  #D0D9E6;
    --shell:     1180px;
}

/* ============================================================ *
 *  База
 * ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background-color: var(--bg);
    background-image: radial-gradient(var(--card-brd) 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-weight: 700;
    margin: 0 0 0.6em;
}

h1 { font-size: 4.2rem; letter-spacing: 0.015em; line-height: 1.08; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

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

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

/* Анимированное подчёркивание текстовых ссылок в контенте */
.entry-content a,
.widget-area a.text-link {
    color: var(--accent);
    position: relative;
}
.entry-content a::after,
.widget-area a.text-link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
    transition: left .25s ease, right .25s ease;
}
.entry-content a:hover::after,
.widget-area a.text-link:hover::after {
    left: 0;
    right: 0;
}

/* ============================================================ *
 *  Контейнер
 * ============================================================ */
.shell {
    width: min(92%, var(--shell));
    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;
}

/* ============================================================ *
 *  Кнопки
 * ============================================================ */
.btn {
    display: inline-block;
    padding: 0.72em 1.6em;
    border-radius: 2px;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease;
}
.btn:hover {
    background: var(--accent);
    color: #06231d;
}
.btn-primary {
    background: var(--accent);
    color: #06231d;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: #1ee9bf;
    color: #06231d;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.18);
    transform: translateY(-1px);
}

/* ============================================================ *
 *  Заголовки секций — тонкая двойная линейка слева
 * ============================================================ */
.section-heading {
    position: relative;
    padding-left: 22px;
    margin-bottom: 1.6rem;
}
.section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 6px;
    background:
        linear-gradient(var(--accent), var(--accent)) left / 3px 100% no-repeat,
        linear-gradient(var(--accent), var(--accent)) 5px 0 / 1px 100% no-repeat;
}
/* Микро-декор перед секцией: короткая линия со смещением влево */
.front-section > .shell > .section-lead::before {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    background: var(--accent);
    margin: 0 0 1.1rem;
}

/* ============================================================ *
 *  Шапка
 * ============================================================ */
.site-header {
    background: var(--header);
    color: #fff;
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(0,212,170,.25);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
.brand-logo-svg,
.brand-logo { flex: 0 0 auto; display: block; }
.brand-logo { max-height: 56px; width: auto; }
.brand-text { min-width: 0; }
.brand-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.brand-title a { color: #fff; }
.brand-title a:hover { color: var(--accent); }
.brand-desc {
    display: block;
    font-size: 0.8rem;
    color: #9fb0c4;
    margin-top: 2px;
    max-width: 560px;
}

.header-nav { margin-left: auto; }
.header-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.header-nav a {
    color: #d6e0ee;
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.3rem 0;
    position: relative;
}
.header-nav a:hover { color: var(--accent); }
.header-nav .current-menu-item > a { color: var(--accent); }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 2px;
    color: #fff;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
    margin-left: auto;
    font-size: 1.1rem;
}

/* ============================================================ *
 *  Раскладки
 * ============================================================ */
.site-main { padding: 3rem 0 4rem; }

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

/* Сайдбар */
.sidebar {
    min-width: 0;
    background: var(--sidebar);
    border: 1px solid var(--card-brd);
    padding: 1.4rem 1.4rem 1.6rem;
}
.sidebar .widget { margin-bottom: 1.8rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    font-size: 1.05rem;
    color: var(--text);
    margin: 0 0 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 0.4rem 0; border-bottom: 1px solid #eef2f8; }
.sidebar li:last-child { border-bottom: none; }
.sidebar a { color: var(--text); }
.sidebar a:hover { color: var(--accent); }
.sidebar .post-date { display: block; font-size: 0.8rem; color: var(--muted); }

/* ============================================================ *
 *  Хлебные крошки
 * ============================================================ */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 1rem 0 1.4rem;
}
.breadcrumbs a { color: var(--accent-2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--muted); margin: 0 0.4rem; }

/* ============================================================ *
 *  Карточки записей
 * ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--card-brd);
    border-left: 1px solid var(--card-brd);
    border-radius: 0;
    overflow: hidden;
    transition: background .2s ease, border-color .2s ease;
}
.card:hover {
    background: #fbfdff;
    border-left: 4px solid var(--accent);
}
.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-thumb-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #E8EEF5, #d5e0ee);
    position: relative;
}
.card-thumb-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(0,212,170,.18), transparent 40%),
        radial-gradient(circle at 72% 68%, rgba(59,130,246,.16), transparent 42%);
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.4rem 1.4rem;
    min-width: 0;
}
.card-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.7rem;
    letter-spacing: 0.02em;
}
.card-excerpt { color: #3a4859; font-size: 0.96rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more {
    margin-top: auto;
    padding-top: 0.9rem;
    align-self: flex-start;
}

/* ============================================================ *
 *  Записи и страницы — содержимое
 * ============================================================ */
.entry-header { margin-bottom: 1.4rem; }
.entry-title { margin-bottom: 0.5rem; }
.single .entry-title,
.page .entry-title { font-size: 2.6rem; line-height: 1.15; }
.entry-meta { font-size: 0.85rem; color: var(--muted); }

.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.6rem; }
.entry-content img { border-radius: 2px; }

.entry-content ul,
.entry-content ol { padding-left: 0; list-style: none; }
.entry-content ul li,
.entry-content ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    counter-increment: dgir-step;
}
/* «Термометр» — полузалитый круг-маркер */
.entry-content ol { counter-reset: dgir-step; }
.entry-content ol li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: linear-gradient(to top, var(--accent) 50%, transparent 50%);
}
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: rotate(45deg);
}

.entry-content blockquote {
    position: relative;
    margin: 1.8rem 0;
    padding: 1.4rem 1.6rem 1.4rem 2rem;
    background: #fff;
    border: 1px double var(--card-brd);
    outline: 1px solid var(--card-brd);
    outline-offset: 3px;
}
.entry-content blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--accent);
}
.entry-content blockquote cite {
    display: block;
    margin-top: 0.6rem;
    font-style: normal;
    font-weight: 600;
    color: var(--muted);
}
.entry-content blockquote cite::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Таблицы */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
}
.entry-content table,
.entry-content th,
.entry-content td { border: 1px solid var(--card-brd); }
.entry-content th,
.entry-content td { padding: 0.6rem 0.8rem; text-align: left; }
.entry-content th { background: var(--bg-alt); }

.post-tags {
    margin-top: 2rem;
    font-size: 0.9rem;
}
.post-tags a {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    margin: 0.2rem 0.2rem 0.2rem 0;
    border: 1px solid var(--card-brd);
    border-radius: 2px;
    color: var(--muted);
}
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================ *
 *  Главная — секции
 * ============================================================ */
.front-section { padding: 4.5rem 0; }
.front-section.alt { background: var(--bg-alt); }
.section-lead { margin-bottom: 2rem; max-width: 760px; }
.section-lead h2 { margin-bottom: 0.6rem; }
.section-lead p { color: var(--muted); margin: 0; }

/* Hero */
.hero {
    position: relative;
    color: #fff;
    padding: 0;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    max-width: 720px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,26,44,.95) 30%, rgba(15,26,44,.72) 70%, rgba(15,26,44,.55));
}
.hero-decor {
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 380px;
    z-index: 1;
    opacity: 0.03;
    pointer-events: none;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p {
    font-size: 1.15rem;
    color: #cdd8e8;
    max-width: 560px;
    margin-bottom: 1.8rem;
}

/* Рубрикатор */
.rubricator {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}
.rubric-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2.2rem 1.8rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-brd);
    border-radius: 2px;
    min-width: 0;
    transition: background .25s ease, transform .18s ease;
}
.rubric-card:hover { background: var(--accent); transform: translateY(-3px); }
.rubric-icon {
    width: 54px;
    height: 54px;
    display: block;
}
.rubric-icon path,
.rubric-icon polygon { transition: fill .25s ease, stroke .25s ease; }
.rubric-card:hover .rubric-hex { fill: #06231d; stroke: #06231d; }
.rubric-card:hover .rubric-glyph { stroke: var(--accent); }
.rubric-card h3 { margin: 0; color: var(--text); }
.rubric-card:hover h3 { color: #06231d; }
.rubric-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.rubric-card:hover p { color: #0a3830; }

/* Статистика */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--card-brd);
    border-radius: 2px;
}
.stat-cell {
    padding: 2.4rem 1.4rem;
    text-align: center;
    border-right: 1px solid var(--card-brd);
    min-width: 0;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
    display: block;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.stat-label {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Чек-лист */
.checklist-block {
    background: var(--bg-alt);
    border: 1px solid var(--card-brd);
    border-radius: 2px;
    padding: 2.6rem 2.4rem;
}
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 2.4rem;
}
.checklist li {
    position: relative;
    padding-left: 2.4rem;
    min-width: 0;
    line-height: 1.55;
}
.checklist li svg {
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 22px;
    height: 22px;
}

/* CTA (используется на 404/страницах при необходимости) */
.cta-band {
    background: linear-gradient(120deg, #0F1A2C, #142643);
    color: #fff;
    border-radius: 2px;
    padding: 2.8rem 2.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; }
.cta-band p { color: #cdd8e8; margin: 0; }

.latest-posts .card-grid { margin-top: 0.5rem; }

/* ============================================================ *
 *  Пагинация
 * ============================================================ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 2.6rem;
    justify-content: center;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7rem;
    border: 1px solid var(--card-brd);
    border-radius: 2px;
    color: var(--text);
    background: #fff;
    font-size: 0.95rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pagination .page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #06231d;
    font-weight: 700;
}
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* ============================================================ *
 *  Форма поиска
 * ============================================================ */
.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 460px;
}
.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--card-brd);
    border-radius: 2px;
    background: #fff;
    color: var(--text);
    font-size: 0.95rem;
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--accent);
}
.search-form button {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #06231d;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
}
.search-form button:hover { background: #1ee9bf; }

/* ============================================================ *
 *  Комментарии
 * ============================================================ */
.comments-area { margin-top: 3rem; }
.comments-title { margin-bottom: 1.4rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; margin: 1rem 0 0 1.6rem; padding: 0; }
.comment-body {
    border: 1px solid var(--card-brd);
    border-left: 3px solid var(--accent);
    background: #fff;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.comment-author { font-weight: 700; }
.comment-date { font-size: 0.82rem; color: var(--muted); }
.comment-await { font-size: 0.85rem; color: var(--accent-2); }
.comment-reply { margin-top: 0.5rem; font-size: 0.88rem; }

.comment-respond {
    background: #fff;
    border: 1px solid var(--card-brd);
    padding: 1.6rem 1.8rem;
    border-radius: 2px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--card-brd);
    border-radius: 2px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.comment-form label { font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 0.3rem; }
.comment-form .submit {
    padding: 0.7rem 1.6rem;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #06231d;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================================ *
 *  Подвал
 * ============================================================ */
.site-footer {
    background: var(--footer);
    color: #b9c6d6;
    padding: 3.4rem 0 0;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.footer-cols .widget-title {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}
.footer-cols .widget { min-width: 0; }
.footer-cols p { color: #9fb0c4; font-size: 0.92rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { padding: 0.35rem 0; }
.footer-cols a { color: #cdd8e8; }
.footer-cols a:hover { color: var(--accent); }
.footer-cols .post-date { display: block; font-size: 0.78rem; color: #7b8ca1; }

.footer-bottom {
    margin-top: 3rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 0.85rem;
    color: #7b8ca1;
    text-align: center;
}

/* ============================================================ *
 *  Cookie-баннер
 * ============================================================ */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10,18,30,.97);
    color: #dbe4f0;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    border-top: 2px solid var(--accent);
    font-size: 0.9rem;
}
.cookie-banner p { margin: 0; max-width: 760px; }
.cookie-banner a { color: var(--accent); }
.cookie-banner .btn { flex: 0 0 auto; }

/* ============================================================ *
 *  404
 * ============================================================ */
.error-404 { text-align: center; padding: 2rem 0 3rem; }
.error-404 .big-code {
    font-size: 7rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.error-404 .search-form { margin: 1.6rem auto; }

/* ============================================================ *
 *  Адаптив
 * ============================================================ */
@media (max-width: 960px) {
    h1 { font-size: 3rem; }
    .single .entry-title, .page .entry-title { font-size: 2rem; }
    .layout-with-sidebar { grid-template-columns: 1fr; gap: 2.6rem; }
    .rubricator { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-cell:nth-child(2) { border-right: none; }
    .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--card-brd); }
    .stat-num { font-size: 3.6rem; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .header-nav {
        margin-left: 0;
        flex-basis: 100%;
    }
    .header-nav ul { display: none; flex-direction: column; gap: 0.4rem; padding-top: 0.8rem; }
    .header-nav ul.open { display: flex; }
    .nav-toggle { display: inline-block; }
    .header-inner { position: relative; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.6rem; }
    .site-main { padding: 2rem 0 3rem; }
    .front-section { padding: 3rem 0; }
    .hero-inner { padding: 3.6rem 0; }
    .layout-single .content-area { width: 100%; }
    .checklist { grid-template-columns: 1fr; }
    .checklist-block { padding: 1.8rem 1.4rem; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-cell { border-right: none; border-bottom: 1px solid var(--card-brd); }
    .stat-cell:last-child { border-bottom: none; }
    .stat-num { font-size: 3.2rem; }
    .footer-cols { grid-template-columns: 1fr; }
    .cta-band { padding: 2rem 1.5rem; }
    .rubric-card { padding: 1.8rem 1.4rem; }
    .card-grid { grid-template-columns: 1fr; }
}
