/*
Theme Name: dds_obrazovannayasova2.ru
Author: Анна Воронцова
Description: Информационная тема для образовательного проекта о критическом мышлении и медиаграмотности. Дизайн-концепция «Lavender Tech + японский минимализм».
Version: 1.1
Text Domain: sova
*/

:root {
    --bg:         #F5F3F7;
    --bg-alt:     #EBE5F0;
    --header-bg:  #1A1625;
    --footer-bg:  #120E1A;
    --sidebar-bg: #FFFFFF;
    --text:       #1E1A24;
    --accent:     #8A5BFF;
    --accent-2:   #C9A9FF;
    --muted:      #8C83A0;
    --card-radius: 16px;
    --shell: min(92%, 1180px);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(90deg, rgba(138,91,255,0.05) 0 1px, transparent 1px 46px);
    background-attachment: fixed;
    position: relative;
}

/* Декоративный blob в правом нижнем углу */
body::after {
    content: "";
    position: fixed;
    right: -180px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.05;
    background:
        radial-gradient(60% 60% at 40% 40%, var(--accent) 0%, var(--accent-2) 70%, transparent 100%);
    border-radius: 46% 54% 60% 40% / 42% 46% 54% 58%;
    filter: blur(12px);
}

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

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--text); font-weight: 700; }
h1 { font-size: 4.2rem; margin: 0 0 .5em; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

.shell { width: var(--shell); margin-inline: auto; }
.front-shell { width: 85%; max-width: 1180px; margin-inline: auto; }

/* Контентные текстовые ссылки — второй акцент, пунктир */
.entry-content a,
.comment-text a,
.widget_text a,
.textwidget a {
    color: var(--accent-2);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}
.entry-content a:hover,
.comment-text a:hover {
    color: var(--accent);
    text-decoration-style: solid;
}

/* Заголовки секций с вертикальной чертой */
.section-title {
    position: relative;
    padding-left: 1.1rem;
    margin: 0 0 1.4rem;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    width: 4px;
    height: .78em;
    background: var(--accent);
    border-radius: 2px;
}
.section-kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: .7rem;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: .8em 1.6em;
    cursor: pointer;
    border: 2px solid var(--accent);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 3px 3px 0 rgba(138,91,255,.25);
}
.btn-primary:hover {
    background: #7645ee;
    color: #fff;
    box-shadow: 6px 6px 0 rgba(138,91,255,.35);
    transform: translate(-1px, -1px);
}
.btn-ghost {
    background: transparent;
    color: var(--accent);
}
.btn-ghost:hover {
    background: var(--accent);
    color: #fff;
}

/* ---------- Шапка ---------- */
.site-header {
    background: var(--header-bg);
    color: #fff;
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(201,169,255,.15);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand-logo { display: block; flex: none; }
.brand-text { min-width: 0; }
.site-name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    max-width: 620px;
}
.site-name a { color: #fff; }
.site-desc {
    color: var(--accent-2);
    font-size: .82rem;
    line-height: 1.4;
    margin: .25rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 620px;
}

/* Навигация */
.main-nav { margin-left: auto; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav a {
    color: #EDE7F5;
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--accent-2);
}
.main-nav .current-menu-item > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
}
.nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(201,169,255,.4);
    color: #fff;
    padding: .5rem .8rem;
    cursor: pointer;
    border-radius: 6px;
}

/* ---------- Раскладки ---------- */
.site-main { padding: 2.4rem 0 3.5rem; }
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 2.48fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: start;
}
.layout-single .content-area {
    width: 85%;
    margin-inline: auto;
}
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); }
    .layout-single .content-area { width: 100%; }
}

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
    font-size: .85rem;
    color: var(--muted);
    margin: 0 0 1.6rem;
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs .sep { margin: 0 .35rem; color: var(--muted); }
.layout-single .breadcrumbs { width: 85%; margin-inline: auto; margin-bottom: 1.6rem; }
@media (max-width: 960px) {
    .layout-single .breadcrumbs { width: 100%; }
}

/* ---------- Карточки записей ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 14px 40px -22px rgba(30,26,36,.45);
    border-left: 4px solid transparent;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-6px);
    border-left-color: var(--accent);
    box-shadow: 0 22px 50px -20px rgba(138,91,255,.5);
}
.card-thumb-wrap {
    display: block;
    padding: 14px 14px 0;
}
.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    clip-path: ellipse(82% 100% at 50% 0%);
    border-radius: 12px 12px 40% 40% / 12px 12px 22% 22%;
}
.card-thumb-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    clip-path: ellipse(82% 100% at 50% 0%);
    background:
        radial-gradient(circle at 30% 30%, var(--accent-2) 0, transparent 55%),
        linear-gradient(135deg, #2B1F4A, #1A1625);
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.3rem 1.4rem;
    min-width: 0;
}
.card-date {
    font-size: .76rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .5rem;
}
.card-title {
    font-size: 1.28rem;
    margin: 0 0 .6rem;
    line-height: 1.25;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: #423b52; 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;
    color: var(--accent);
}
.card-more:hover { color: var(--accent-2); }

/* ---------- Одиночная запись / страница ---------- */
.entry-header { margin-bottom: 1.6rem; }
.entry-header h1 { font-size: 3rem; }
.entry-meta { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.entry-featured { margin: 0 0 1.8rem; border-radius: var(--card-radius); overflow: hidden; }
.entry-featured img { display: block; width: 100%; object-fit: cover; }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3 { margin: 1.8rem 0 .8rem; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1.4rem 1.6rem;
    margin: 1.6rem 0;
    color: var(--text);
    font-style: italic;
}

/* Списки с «совиными» маркерами */
.entry-content ul { list-style: none; padding-left: 1.6rem; }
.entry-content ul li { position: relative; margin-bottom: .5rem; }
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: -1.4rem;
    top: .62em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(138,91,255,.18);
}

table { border-collapse: collapse; width: 100%; margin: 1.4rem 0; }
table, th, td { border: 1px solid #d8cfe6; }
th, td { padding: .7rem .9rem; text-align: left; }
th { background: var(--bg-alt); }

/* ---------- Сайдбар ---------- */
.sidebar {
    background: var(--sidebar-bg);
    border-radius: var(--card-radius);
    padding: 1.6rem 1.4rem;
    box-shadow: 0 14px 40px -26px rgba(30,26,36,.4);
    align-self: start;
    min-width: 0;
}
.sidebar .widget { margin-bottom: 1.8rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    padding-left: .8rem;
    position: relative;
    color: var(--text);
}
.sidebar .widget-title::before {
    content: "";
    position: absolute; left: 0; top: .2em;
    width: 3px; height: .8em; background: var(--accent); border-radius: 2px;
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin-bottom: .7rem; padding-bottom: .7rem; border-bottom: 1px solid #efeaf6; }
.sidebar li:last-child { border-bottom: none; }
.sidebar a { color: var(--accent); }
.sidebar a:hover { color: var(--accent-2); }
.sidebar .post-date { display: block; font-size: .78rem; color: var(--muted); }

/* ---------- Пагинация ---------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2.6rem 0 0;
    justify-content: center;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 .8rem;
    background: #fff;
    border: 1px solid #ddd3ec;
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    transition: all .18s ease;
}
.pagination a.page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 3px rgba(138,91,255,.15);
}
.pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* ---------- Комментарии ---------- */
.comments-area { margin-top: 2.6rem; }
.comments-title { margin-bottom: 1.4rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 1rem 0 0 1.6rem; padding: 0; }
.comment-body {
    background: #fff;
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 30px -24px rgba(30,26,36,.4);
}
.comment-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem; }
.comment-author { font-weight: 700; }
.comment-date { font-size: .78rem; color: var(--muted); }
.comment-reply a { font-size: .85rem; font-weight: 600; }
.comment-respond {
    background: #fff;
    border-radius: 12px;
    padding: 1.6rem;
    margin-top: 1.6rem;
    box-shadow: 0 10px 30px -24px rgba(30,26,36,.4);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid #d8cfe6;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-top: .3rem;
}
.comment-form .form-submit input { cursor: pointer; }

/* ---------- Форма поиска ---------- */
.search-form { display: flex; gap: .5rem; }
.search-form .search-field {
    flex: 1;
    min-width: 0;
    padding: .7rem .9rem;
    border: 1px solid #d8cfe6;
    border-radius: 8px;
    font-size: 1rem;
}
.search-form .search-submit {
    border: none;
    background: var(--accent);
    color: #fff;
    padding: 0 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.search-form .search-submit:hover { background: #7645ee; }

/* ---------- Главная ---------- */
.fs {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.fs.alt { background: var(--bg-alt); }
/* Точечный паттерн на акцентных секциях */
.fs.alt::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
    background-image: radial-gradient(rgba(138,91,255,.10) 1px, transparent 1.4px);
    background-size: 18px 18px;
}
.fs .front-shell { position: relative; z-index: 1; }
/* Крупная фоновая цифра секции */
.fs[data-num]::before {
    content: attr(data-num);
    position: absolute;
    left: 2%;
    bottom: -2.2rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13rem;
    line-height: 1;
    color: var(--accent);
    opacity: .06;
    z-index: 0;
    pointer-events: none;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1A1625 0%, #2B1F4A 100%);
    color: #fff;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(201,169,255,.08) 1px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: .6;
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 3rem;
    align-items: center;
}
.hero-quote {
    background: #F5F3F7;
    color: var(--text);
    padding: 2rem 2rem 2.2rem;
    border-radius: 6px;
    box-shadow: 10px 12px 40px -18px rgba(0,0,0,.6);
    clip-path: polygon(0 0, 100% 2%, 98% 100%, 2% 97%);
    background-image: repeating-linear-gradient(0deg, rgba(138,91,255,.05) 0 1px, transparent 1px 30px);
}
.hero-quote .q-mark { font-family: var(--font-head); font-size: 3rem; color: var(--accent); line-height: .6; }
.hero-quote blockquote { margin: 0 0 1rem; font-family: var(--font-head); font-size: 1.3rem; font-style: italic; }
.hero-quote cite { color: var(--muted); font-style: normal; font-weight: 600; }
.hero-main { text-align: right; }
.hero-main h1 { color: #fff; font-size: 4.2rem; }
.hero-main .hero-lead { color: var(--accent-2); font-size: 1.2rem; margin-bottom: 1.8rem; }
.hero-main .btn { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }

/* Таймлайн */
.timeline { position: relative; margin-top: 1rem; padding: 1rem 0; }
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: translateX(-50%);
}
.tl-step {
    position: relative;
    width: 50%;
    padding: 1.2rem 2.4rem;
    box-sizing: border-box;
}
.tl-step:nth-child(odd) { left: 0; text-align: right; }
.tl-step:nth-child(even) { left: 50%; text-align: left; }
.tl-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.3rem 1.5rem;
    box-shadow: 0 14px 40px -26px rgba(30,26,36,.5);
    position: relative;
    min-width: 0;
}
.tl-step::after {
    content: "";
    position: absolute;
    top: 1.9rem;
    width: 18px; height: 18px;
    background: var(--accent);
    border: 4px solid var(--bg-alt);
    border-radius: 50%;
    z-index: 2;
}
.tl-step:nth-child(odd)::after { right: -9px; }
.tl-step:nth-child(even)::after { left: -9px; }
.tl-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: .6rem; display: inline-block; }
.tl-card h3 { margin: 0 0 .4rem; }
.tl-card p { margin: 0; color: #4a4358; font-size: .95rem; }

/* Глоссарий */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    margin-top: 1rem;
}
.gloss-item { padding-left: 1.1rem; border-left: 3px solid var(--accent); min-width: 0; }
.gloss-item h3 { color: var(--accent-2); margin: 0 0 .6rem; font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; }
.gloss-item h3 span { color: var(--accent); }
.gloss-item p { margin: 0; color: #4a4358; font-size: .98rem; }

/* Рубрикатор */
.rubric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 1rem;
    max-width: 760px;
}
.rubric-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.4rem;
    min-height: 190px;
    padding: 1.6rem 1.6rem 1.7rem;
    background: #fff;
    border-radius: 6px 18px 6px 18px;
    box-shadow: 0 16px 44px -28px rgba(30,26,36,.5);
    color: var(--text);
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    min-width: 0;
}
.rubric-card:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 24px 50px -22px rgba(138,91,255,.6);
}
.rubric-icon { width: 46px; height: 46px; color: var(--accent); transition: color .2s ease; }
.rubric-card:hover .rubric-icon { color: #fff; }
.rubric-card h3 { margin: 0; font-size: 1.35rem; }
.rubric-card:hover h3, .rubric-card:hover a { color: #fff; }
.rubric-card a { color: var(--text); }

/* Блок последних записей на главной */
.fs-latest .front-shell > .card-grid { margin-top: 1rem; }
.latest-cta { text-align: center; margin-top: 2.4rem; }

/* Фокус-полоса на интерактиве */
a:focus-visible, .btn:focus-visible, .card:focus-within, button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(138,91,255,.35), 0 0 22px rgba(138,91,255,.35);
}

/* ---------- Подвал ---------- */
.site-footer {
    background: var(--footer-bg);
    color: #cfc7dd;
    padding: 3.2rem 0 1.6rem;
    margin-top: 2rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.footer-cols .widget-title { color: #fff; font-size: 1.15rem; margin: 0 0 1rem; font-family: var(--font-head); }
.footer-cols .widget { color: #cfc7dd; }
.footer-cols a { color: var(--accent-2); }
.footer-cols a:hover { color: #fff; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: .6rem; }
.site-copyright {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(201,169,255,.15);
    font-size: .82rem;
    color: #8a7fa0;
    line-height: 1.5;
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    background: #1A1625;
    color: #EDE7F5;
    border: 1px solid rgba(201,169,255,.25);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 20px 50px -18px rgba(0,0,0,.7);
    max-width: 980px;
    margin-inline: auto;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; font-size: .9rem; }
.cookie-banner a { color: var(--accent-2); }
.cookie-banner .btn { padding: .6em 1.4em; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 2rem 0; }
.error-404 .big-code { font-family: var(--font-head); font-size: 7rem; color: var(--accent); line-height: 1; }
.error-404 .search-form { max-width: 420px; margin: 1.6rem auto; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    h1 { font-size: 3rem; }
    .hero-main h1 { font-size: 3rem; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-main { text-align: left; }
    .glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.8rem; }
    .hero-main h1 { font-size: 2.3rem; }
    .fs { padding: 54px 0; }
    .hero { padding: 60px 0; }
    .fs[data-num]::before { font-size: 8rem; }

    .main-nav {
        margin-left: 0;
        flex-basis: 100%;
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: .8rem; }
    .nav-toggle { display: inline-block; }
    .header-inner { row-gap: 1rem; }

    /* Таймлайн в одну колонку */
    .timeline::before { left: 9px; }
    .tl-step { width: 100%; left: 0 !important; text-align: left !important; padding: 1rem 0 1rem 2.4rem; }
    .tl-step::after { left: 0 !important; right: auto !important; }

    .glossary-grid { grid-template-columns: minmax(0, 1fr); }
    .rubric-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}
