/*
Theme Name: dds_optomall24.ru
Author: Артём Зорин
Description: Тема для образовательного блога об HTML, CSS и конструкторах сайтов для новичков.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: rostok
*/

:root {
    --bg: #F4F8F5;
    --bg-alt: #E4EFE7;
    --line: #C7DCCF;
    --pine: #1F3A2E;
    --side: #EAF3EC;
    --ink: #1C2B24;
    --emerald: #2E8B57;
    --mint: #7CC49A;
    --muted: #6B8578;
    --head: "Nunito", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --body: "PT Sans", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(220, 234, 224, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 234, 224, 0.3) 1px, transparent 1px);
    background-size: 24px 24px;
}

body::after {
    content: "";
    position: fixed;
    right: -20px;
    bottom: -30px;
    width: 280px;
    height: 360px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 180'%3E%3Cpath d='M70 180V90' stroke='%232E8B57' stroke-width='6' fill='none'/%3E%3Cpath d='M70 100C70 50 100 20 140 18c0 45-28 82-70 82zM70 118C70 80 44 54 6 54c0 36 26 64 64 64z' fill='%232E8B57'/%3E%3C/svg%3E") no-repeat right bottom / contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--head);
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 0.7em;
    font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--mint);
    vertical-align: middle;
    transform: translateY(-0.12em);
}

a { color: var(--emerald); text-decoration: none; }

.entry-content a,
.link-grow,
.breadcrumbs a,
.sidebar a,
.page-head__lead a,
.cookie-banner__text a,
.colophon a {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size 0.3s ease;
}
.entry-content a:hover,
.link-grow:hover,
.breadcrumbs a:hover,
.sidebar a:hover,
.page-head__lead a:hover,
.cookie-banner__text a:hover,
.colophon a:hover { background-size: 100% 2px; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 1px solid var(--line); }
th, td { border: 1px solid var(--line); padding: 0.55em 0.8em; text-align: left; }
th { background: var(--bg-alt); font-family: var(--head); }
.entry-content .wp-block-table { overflow-x: auto; }

pre, code { font-family: Consolas, "Liberation Mono", Menlo, monospace; font-size: 0.92em; }
code { background: var(--bg-alt); padding: 0.1em 0.35em; border-radius: 4px; }
pre { background: var(--pine); color: #E9F3EC; padding: 1.1rem 1.3rem; border-radius: 8px; overflow-x: auto; }
pre code { background: none; padding: 0; color: inherit; }

blockquote { margin: 1.5em 0; padding: 1rem 1.4rem; border-left: 3px solid var(--mint); background: var(--bg-alt); border-radius: 0 8px 8px 0; }
blockquote p:last-child { margin-bottom: 0; }

/* ---------- Каркас ---------- */

.shell { width: min(92%, 1240px); margin-left: auto; margin-right: auto; }
.shell--narrow { width: min(85%, 1100px); }

.grow-line { height: 4px; background: linear-gradient(90deg, var(--emerald), var(--mint)); }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.35rem;
    border-radius: 8px;
    border: 1.5px solid var(--emerald);
    font-family: var(--head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(46, 139, 87, 0.2); }
.btn--fill { background: var(--emerald); color: #FFFFFF; }
.btn--fill:hover { color: #FFFFFF; }
.btn--line { background: transparent; color: var(--emerald); }
.btn--line:hover { background: var(--bg-alt); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.btn-row--center { justify-content: center; }

/* ---------- Шапка ---------- */

.masthead { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.masthead__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.9rem; color: var(--ink); max-width: 640px; min-width: 0; flex: 1 1 320px; }
.brand__mark { flex: 0 0 auto; display: block; line-height: 0; }
.brand__mark svg, .brand-logo { width: 48px; height: 48px; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 1rem; line-height: 1.3; }
.brand__desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
    margin-top: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border: 1.5px solid var(--emerald);
    border-radius: 8px;
    background: transparent;
    color: var(--emerald);
    font-family: var(--head);
    font-weight: 700;
    cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.topnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.topnav__list li { position: relative; }
.topnav__list a {
    display: block;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-family: var(--head);
    font-weight: 700;
    color: var(--ink);
    transition: color 0.2s ease, background-color 0.2s ease;
}
.topnav__list a:hover { color: var(--emerald); background: var(--bg); }
.topnav__list .current-menu-item > a,
.topnav__list .current-menu-ancestor > a { color: var(--emerald); box-shadow: inset 0 -2px 0 var(--mint); }
.topnav__list .sub-menu {
    list-style: none; margin: 0; padding: 0.4rem; position: absolute; top: 100%; left: 0; min-width: 200px;
    background: #FFFFFF; border-radius: 8px; box-shadow: 0 6px 18px rgba(46, 139, 87, 0.12); display: none; z-index: 20;
}
.topnav__list li:hover > .sub-menu, .topnav__list li:focus-within > .sub-menu { display: block; }

/* ---------- Хлебные крошки ---------- */

.breadcrumbs { font-size: 0.9rem; color: var(--muted); padding: 1.6rem 0 0.4rem; }
.breadcrumbs .sep { margin: 0 0.35rem; color: var(--mint); }

/* ---------- Раскладка страниц ---------- */

.page-wrap { padding-bottom: 5rem; }
.layout-single { display: block; padding-top: 1.4rem; }
.layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
    padding-top: 1.4rem;
}
.content-area, .sidebar { min-width: 0; }

.page-head { margin-bottom: 2.2rem; padding-left: 1.5rem; border-left: 3px solid var(--emerald); }
.page-head__title { margin-bottom: 0.4rem; }
.page-head__lead { color: var(--muted); margin: 0; }
.empty-note { color: var(--muted); }

/* ---------- Сайдбар ---------- */

.sidebar {
    background: var(--side);
    border-radius: 10px;
    padding: 1.6rem 1.5rem;
    color: var(--ink);
}
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title { font-size: 1.1rem; color: var(--ink); padding-left: 0.9rem; border-left: 3px solid var(--emerald); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 0.55rem 0; border-bottom: 1px dotted var(--line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--emerald); }
.sidebar .post-date { display: block; font-size: 0.82rem; color: var(--muted); }
.sidebar p, .sidebar .textwidget { color: var(--ink); }

/* ---------- Карточки ---------- */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.8rem;
}
.cards-grid > * { min-width: 0; }

.card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 10px;
    border-top: 3px solid var(--mint);
    box-shadow: 0 2px 12px rgba(46, 139, 87, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(46, 139, 87, 0.12); border-top-color: var(--emerald); }
.card-thumb { display: block; background: var(--bg-alt); }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.3rem 1.4rem; min-width: 0; }
.card-title { font-size: 1.2rem; margin: 0.55rem 0 0.35rem; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--emerald); }
.card-date { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.7rem; }
.card-excerpt { color: var(--ink); font-size: 0.97rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: 0.95rem; }
.card-more:hover { color: var(--pine); }
.card.sticky { border-top-width: 5px; }

.tag {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    border-radius: 4px;
    background: var(--bg-alt);
    color: var(--pine);
    font-size: 0.8rem;
    font-family: var(--head);
    font-weight: 700;
    transition: background-color 0.2s ease;
}
.tag:hover { background: var(--mint); color: var(--pine); }

/* ---------- Пагинация ---------- */

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; margin-top: 2.8rem; }
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 0.8rem;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    background: #FFFFFF;
    color: var(--ink);
    font-family: var(--head);
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pager a.page-numbers:hover { border-color: var(--emerald); background: var(--bg-alt); color: var(--emerald); }
.pager .page-numbers.current { background: var(--emerald); border-color: var(--emerald); color: #FFFFFF; }
.pager .page-numbers.dots { border: 0; background: none; min-width: auto; }
.pager > .post-page-numbers { display: inline-flex; padding: 0.3rem 0.8rem; border: 1.5px solid var(--line); border-radius: 8px; }

/* ---------- Запись и страница ---------- */

.entry { background: #FFFFFF; border-radius: 10px; padding: 2.2rem 2.4rem; box-shadow: 0 2px 12px rgba(46, 139, 87, 0.08); }
.entry-head { margin-bottom: 1.6rem; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.entry-tags--foot { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px dotted var(--line); }
.entry-title { margin-bottom: 0.4rem; overflow-wrap: anywhere; }
.entry-date { color: var(--muted); font-size: 0.92rem; }
.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; border-radius: 10px; }
.entry-content { overflow-wrap: break-word; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content ul li::marker { color: var(--emerald); }
.entry-content img { border-radius: 8px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- Комментарии и поиск ---------- */

.discussion { margin-top: 2.4rem; background: #FFFFFF; border-radius: 10px; padding: 2rem 2.4rem; box-shadow: 0 2px 12px rgba(46, 139, 87, 0.08); }
.discussion__list, .discussion__list .children { list-style: none; margin: 0; padding: 0; }
.discussion__list .children { padding-left: 1.6rem; }
.discussion__list .comment-body { padding: 1rem 0; border-bottom: 1px dotted var(--line); }
.discussion__list .avatar { border-radius: 50%; float: left; margin-right: 0.8rem; }
.discussion__list .comment-meta { font-size: 0.85rem; color: var(--muted); }
.discussion__list .comment-meta a { color: var(--muted); }
.discussion__list .fn { font-family: var(--head); font-style: normal; color: var(--ink); }
.comment-respond { margin-top: 1.6rem; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.finder__input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: #FFFFFF;
    font: inherit;
    color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus, .finder__input:focus { border-color: var(--emerald); outline: none; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

.finder { margin: 1.4rem 0; }
.finder__label { display: block; font-family: var(--head); font-weight: 700; margin-bottom: 0.4rem; }
.finder__row { display: flex; gap: 0.6rem; }
.finder__input { flex: 1; min-width: 0; }

.lost { background: #FFFFFF; border-radius: 10px; padding: 2.6rem 2.4rem; box-shadow: 0 2px 12px rgba(46, 139, 87, 0.08); }
.lost__code { font-family: var(--head); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--mint); margin: 0 0 0.6rem; }

/* ---------- Главная ---------- */

.fs { padding: 5rem 0; }
.fs + .fs::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: -3rem auto 2rem;
    background-image: radial-gradient(circle, var(--line) 1.6px, transparent 2px);
    background-size: 10px 4px;
    background-repeat: repeat-x;
}
.fs--alt { background-color: var(--bg-alt); }
.fs--posts { background-color: var(--bg); }

.sec-title {
    padding-left: 1.5rem;
    border-left: 3px solid var(--emerald);
    margin-bottom: 1rem;
}
.sec-lead { max-width: 640px; color: var(--muted); margin-bottom: 2.4rem; padding-left: calc(1.5rem + 3px); }

.fs-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
}
.fs-intro__text { min-width: 0; padding-top: 1rem; }
.fs-intro__title { max-width: 14ch; margin-bottom: 1.4rem; }
.fs-intro__text p { max-width: 58ch; }
.fs-intro__art { margin: 0; min-width: 0; justify-self: center; }
.fs-intro__art img { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 560 / 460; }

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.path {
    background: #FFFFFF;
    border-top: 3px solid var(--mint);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(46, 139, 87, 0.08);
    padding: 1.7rem 1.8rem 1.5rem;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.path:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(46, 139, 87, 0.12); border-top-color: var(--emerald); }
.path__icon { width: 44px; height: 44px; display: block; margin-bottom: 0.9rem; }
.path__title { font-weight: 700; margin-bottom: 0.45rem; }
.path p { margin: 0; color: var(--ink); }
.paths .path:nth-child(2), .paths .path:nth-child(4) { transform: translateY(1.6rem); }
.paths .path:nth-child(2):hover, .paths .path:nth-child(4):hover { transform: translateY(calc(1.6rem - 4px)); }
.fs--alt .paths { padding-bottom: 1.6rem; }

.fs--dark { background-color: var(--pine); }
.fs--dark + .fs::before, .fs + .fs--dark::before { margin-top: -3rem; }
.thesis {
    margin: 0;
    max-width: 60%;
    background: transparent;
    border-radius: 0;
    border-left: 4px solid var(--mint);
    padding: 1.2rem 2.2rem 1.2rem 2.4rem;
}
.thesis__text {
    font-family: var(--head);
    font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--bg);
    margin: 0 0 1.2rem;
}
.thesis__note { color: #C9DDD0; margin: 0; max-width: 46ch; }

.fs--cta {
    background-color: var(--bg-alt);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: -1px -1px;
}
.fs--cta::before { background-color: var(--bg-alt); }
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 2.6rem 2.8rem;
    position: relative;
}
.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2.8rem;
    right: 2.8rem;
    height: 2px;
    background-image: radial-gradient(circle, var(--emerald) 1px, transparent 1.5px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    opacity: 0.6;
}
.cta__text { min-width: 0; max-width: 620px; }
.cta__text p { margin: 0; }
.cta .btn-row { margin-top: 0; flex: 0 0 auto; }

/* ---------- Подвал ---------- */

.colophon { background: var(--pine); color: #D6E6DB; margin-top: 0; }
.colophon__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding: 4rem 0 3rem;
}
.colophon__col { min-width: 0; }
.colophon .widget { margin-bottom: 1.6rem; }
.colophon .widget-title { color: #FFFFFF; font-size: 1.1rem; }
.colophon .widget-title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 0.55rem; vertical-align: middle; transform: translateY(-0.1em); }
.colophon p, .colophon .textwidget { color: #D6E6DB; }
.colophon a { color: #A9DDBF; }
.colophon a:hover { color: #FFFFFF; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { padding: 0.3rem 0; }
.colophon .post-date { display: block; font-size: 0.82rem; color: #9FB8A9; }
.colophon__bottom { border-top: 1px solid rgba(199, 220, 207, 0.18); padding: 1.2rem 0; font-size: 0.88rem; color: #9FB8A9; }

/* ---------- Cookie ---------- */

.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.4rem;
    background: #FFFFFF;
    color: var(--ink);
    border-radius: 10px;
    border-top: 3px solid var(--mint);
    box-shadow: 0 8px 28px rgba(31, 58, 46, 0.18);
}
.cookie-banner__text { margin: 0; font-size: 0.92rem; min-width: 0; }
.cookie-banner .btn { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .topnav { display: none; width: 100%; }
    .topnav.is-open { display: block; }
    .topnav__list { flex-direction: column; padding-top: 0.4rem; }
    .topnav__list .sub-menu { position: static; display: block; box-shadow: none; padding-left: 1rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
    .layout-single .content-area { width: 100%; }
    .fs-intro { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .fs-intro__title { max-width: none; }
    .thesis { max-width: 85%; }
    .cta { flex-direction: column; align-items: flex-start; }
    .colophon__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .shell--narrow { width: min(92%, 1100px); }
    .fs { padding: 3.5rem 0; }
    .fs + .fs::before { margin-top: -2rem; margin-bottom: 1.6rem; }
    .paths { grid-template-columns: minmax(0, 1fr); }
    .paths .path:nth-child(2), .paths .path:nth-child(4) { transform: none; }
    .paths .path:nth-child(2):hover, .paths .path:nth-child(4):hover { transform: translateY(-4px); }
    .fs--alt .paths { padding-bottom: 0; }
    .path { padding: 1.4rem 1.3rem; }
    .thesis { max-width: 100%; padding: 1rem 1.2rem 1rem 1.4rem; }
    .cta { padding: 1.8rem 1.4rem; }
    .cta::before { left: 1.4rem; right: 1.4rem; }
    .entry, .discussion, .lost { padding: 1.5rem 1.3rem; }
    .sidebar { padding: 1.4rem 1.2rem; }
    .colophon__cols { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .brand__desc { display: none; }
    .finder__row { flex-direction: column; }
    .cookie-banner { flex-direction: column; align-items: stretch; padding: 1rem 1.2rem; }
    .page-head { padding-left: 1rem; }
    .sec-title { padding-left: 1rem; }
    .sec-lead { padding-left: calc(1rem + 3px); }
}
