/*
Theme Name: dds_freealtonia.ru
Author: Алёна Сотникова
Description: «Медовый контур» — японский минимализм в янтарно-золотой палитре для образовательного портала о пчеловодстве.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: medkontur
*/

:root {
    --cream: #FDF8F0;
    --sand: #F7EDDF;
    --line: #E8D5B8;
    --line-2: #D4B896;
    --ink: #2C2418;
    --amber: #C87A1E;
    --gold: #E8A830;
    --muted: #8A7A66;
    --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
    --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --combs-15: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0l14 8v16L14 32 0 24V8zM14 32v16' fill='none' stroke='%23F0E4D0' stroke-opacity='.15' stroke-width='1.2'/%3E%3C/svg%3E");
    --combs-25: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0l14 8v16L14 32 0 24V8zM14 32v16' fill='none' stroke='%23F0E4D0' stroke-opacity='.25' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* hidden-атрибут: до основных стилей элементов */
.cookie-banner[hidden] { display: none !important; }
.mainnav[hidden] { display: none !important; }

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

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

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--cream);
    background-image: var(--combs-15);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin: 1.6em 0 0.6em;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

h2, h3 { position: relative; }
h2::before, h3::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--gold);
    transition: width .25s ease, height .25s ease, margin .25s ease;
}
h2:hover::before, h3:hover::before { width: 8px; height: 8px; margin-top: -4px; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: .35em; }

a {
    color: var(--amber);
    text-decoration: none;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0;
    transition: background-size .25s ease, color .2s ease;
}
a:hover, a:focus-visible { background-size: 100% 2px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; border: 1px solid var(--line-2); }
th, td { border: 1px solid var(--line-2); padding: .6em .8em; text-align: left; vertical-align: top; }
th { background: var(--sand); font-weight: 600; }

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.4em;
    border-left: 3px solid var(--amber);
    background: var(--sand);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
}

pre { overflow-x: auto; background: var(--sand); padding: 1em 1.2em; border: 1px solid var(--line); }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- Контейнер ---------- */
.shell { width: min(92%, 1280px); margin-inline: auto; }

/* ---------- Полоса сверху ---------- */
.sunline {
    height: 3px;
    background: linear-gradient(90deg, var(--amber) 0 85%, transparent 85% 100%);
}

/* ---------- Кнопка «сота» ---------- */
.btn-comb, .comment-form .submit {
    --cut: 10px;
    display: inline-block;
    padding: .8em 1.7em;
    border: 0;
    border-radius: 4px;
    background: var(--amber);
    background-image: none;
    color: var(--cream);
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
    transition: background-color .25s ease, clip-path .25s ease, filter .25s ease;
}
.btn-comb:hover, .btn-comb:focus-visible, .comment-form .submit:hover {
    --cut: 16px;
    background-color: var(--gold);
    color: var(--cream);
    background-size: 0 0;
    filter: drop-shadow(0 6px 12px rgba(200, 122, 30, .2));
}

/* ---------- Шапка ---------- */
.topbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; color: var(--ink); background: none; }
.brand:hover { background: none; }
.brand-mark { flex: 0 0 auto; display: block; }
.brand-logo { display: block; max-height: 56px; width: auto; }
.brand-stub { display: block; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.brand-desc {
    font-size: .78rem;
    line-height: 1.4;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 60ch;
}

.mainnav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.8rem; }
.mainnav-list li { margin: 0; }
.mainnav-list a { color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; padding-bottom: 3px; }
.mainnav-list a:hover, .mainnav-list .current-menu-item > a { color: var(--amber); background-size: 100% 2px; }

.nav-toggle {
    display: none;
    flex: 0 0 auto;
    width: 44px; height: 44px;
    padding: 11px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

/* ---------- Хлебные крошки ---------- */
.crumbs { padding: 1.4rem 0 .4rem; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--amber); }
.crumbs-sep { margin: 0 .35em; color: var(--line-2); }

/* ---------- Раскладки ---------- */
.layout-single { display: block; padding-bottom: 80px; }
.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);
    gap: 6%;
    align-items: start;
    padding-bottom: 80px;
}
.content-area { min-width: 0; }

.page-title { font-size: 3.2rem; margin: .6em 0 .5em; line-height: 1.1; }
.page-title::before { display: none; }

.sidebar {
    min-width: 0;
    margin-top: 2rem;
    padding: 1.6rem 1.5rem;
    background-color: var(--sand);
    background-image: var(--combs-25);
    border-left: 1px solid var(--line-2);
    color: var(--ink);
}
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title { margin-top: 0; font-size: 1.35rem; color: var(--ink); }
.sidebar a { color: var(--amber); }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: .55em 0; border-bottom: 1px dashed var(--line-2); color: var(--ink); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar .post-date { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- Запись ---------- */
.entry-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.entry-cover { margin: 0 0 2rem; }
.entry-cover img { display: block; width: 100%; height: auto; border-radius: 8px; }
.entry-content { font-size: 1.05rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { display: block; border-radius: 6px; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .4em; }
.entry-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.entry-tags a { padding: .25em .8em; border: 1px solid var(--line); border-radius: 4px; font-size: .85rem; background-size: 0 0; }
.entry-tags a:hover { border-color: var(--amber); }

/* ---------- Карточки ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
    --edge: var(--line);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    isolation: isolate;
    transition: transform .3s ease, filter .3s ease;
}
.card::before, .card::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 8px;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}
.card::before { inset: 0; background: var(--edge); transition: background-color .3s ease; }
.card::after { inset: 1px; background: var(--cream); clip-path: polygon(11.6px 0, 100% 0, 100% 100%, 0 100%, 0 11.6px); }
.card:hover {
    --edge: var(--amber);
    transform: translateY(-4px);
    filter: drop-shadow(0 12px 22px rgba(200, 122, 30, .15));
}

.card-thumb {
    position: relative;
    margin: 1px 1px 0;
    overflow: hidden;
    border-radius: 7px 7px 0 0;
    clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px);
}
.card-thumb a { display: block; background: none; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 48px rgba(44, 36, 24, .45);
}

.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 1.3rem 1.5rem 1.5rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.card-cat { color: var(--amber); }
.card-title { font-size: 1.45rem; margin: 0 0 .6rem 12px; line-height: 1.2; }
.card-title::before { left: -16px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--amber); }
.card-excerpt { flex: 1; font-size: .93rem; color: var(--ink); margin-bottom: 1rem; overflow-wrap: anywhere; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more { align-self: flex-start; font-weight: 600; font-size: .9rem; }

/* ---------- Пагинация (type => plain) ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 3rem 0 0; }
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .9em;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--cream);
    color: var(--ink);
    font-weight: 500;
    font-size: .92rem;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.pager a.page-numbers:hover { border-color: var(--amber); color: var(--amber); background-size: auto; background-image: none; }
.pager .page-numbers.current { background: var(--amber); border-color: var(--amber); color: var(--cream); }
.pager .page-numbers.dots { border: 0; background: transparent; min-width: 20px; padding: 0; }

/* ---------- Главная: общие ---------- */
.fsec { padding: 80px 0; }
.fsec .shell, .hero-inner { width: 85%; max-width: 1180px; }
.fsec-alt { background-color: var(--sand); }
.combs-bg { background-color: var(--cream); background-image: var(--combs-25); }

.sec-title { font-size: 2.6rem; margin: 0 0 .5rem; padding-left: 64px; }
.sec-title::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--amber);
}
.sec-title::before { left: 44px; }
.sec-intro { color: var(--muted); max-width: 62ch; margin: 0 0 2.6rem 64px; }

.dots-divider {
    width: 30%;
    height: 6px;
    background-image: radial-gradient(circle, var(--line-2) 1.6px, transparent 2px);
    background-size: 14px 6px;
    background-repeat: repeat-x;
    margin: 28px 0;
}
.dots-left { margin-left: 8%; }
.dots-right { margin-left: auto; margin-right: 8%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: clamp(480px, 72vh, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}
.hero-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(44, 36, 24, .82) 0%, rgba(44, 36, 24, .55) 50%, rgba(44, 36, 24, .15) 100%);
}
.hero-inner {
    position: relative;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    padding: 90px 0;
}
.hero-text { min-width: 0; }
.hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: var(--cream);
    margin: 0 0 1.4rem;
    line-height: 1.05;
}
.hero-rule { display: block; width: 120px; height: 1px; background: var(--gold); margin: 0 0 1.4rem; }
.hero-lead { color: var(--cream); font-size: 1.15rem; max-width: 46ch; margin: 0 0 2rem; opacity: .92; }
.hero-combs { justify-self: end; width: 100%; max-width: 280px; height: auto; opacity: .55; }

/* ---------- Шаги ---------- */
.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.4rem;
}
.step {
    position: relative;
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    padding: 1.6rem 1.4rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.6rem;
    right: -2.4rem;
    width: 2.4rem;
    border-top: 1px dashed var(--line-2);
}
.step-num {
    font-family: var(--serif);
    font-size: 3.4rem;
    font-weight: 600;
    line-height: .9;
    color: var(--amber);
}
.step-body { min-width: 0; padding-top: 1.2rem; }
.step-title { font-size: 1.35rem; margin: 0 0 .5rem 14px; }
.step-title::before { left: -16px; }
.step p { font-size: .92rem; margin: 0; color: var(--ink); }

/* ---------- Свежие уроки ---------- */
.fresh-all { margin: 2.4rem 0 0; text-align: right; font-weight: 600; }

/* ---------- Цитата ---------- */
.quote-sec { background: var(--ink); }
.honey-quote { position: relative; margin: 0; padding: 1rem 5rem 1rem 0; }
.honey-quote blockquote {
    margin: 0;
    padding: 0 0 0 24px;
    border-left: 4px solid var(--amber);
    background: none;
    color: var(--cream);
    font-family: var(--serif);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
    max-width: 30ch;
}
.quote-dots { position: absolute; right: 0; top: 50%; width: 60px; height: 60px; margin-top: -30px; }
.quote-dots i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.quote-dots i:nth-child(1) { left: 0; top: 0; }
.quote-dots i:nth-child(2) { left: 25px; top: 25px; }
.quote-dots i:nth-child(3) { left: 50px; top: 50px; }

/* ---------- Карта тем ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.topic {
    --cut: 18px;
    --edge: var(--line);
    --fill: var(--cream);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-width: 0;
    padding: 1.7rem 1.8rem;
    color: var(--ink);
    background: none;
    transition: color .25s ease;
}
.topic::before, .topic::after {
    content: "";
    position: absolute;
    z-index: -1;
    transition: clip-path .3s ease, background-color .3s ease;
}
.topic::before { inset: 0; background: var(--edge); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.topic::after { inset: 1px; background: var(--fill); clip-path: polygon(0 0, calc(100% - var(--cut) + .4px) 0, 100% calc(var(--cut) - .4px), 100% 100%, 0 100%); }
.topic:hover, .topic:focus-visible { --cut: 30px; --fill: var(--sand); background-size: 0 0; color: var(--ink); }
.topic-icon { flex: 0 0 48px; width: 48px; height: 48px; color: var(--amber); transition: color .25s ease; }
.topic:hover .topic-icon { color: var(--gold); }
.topic-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }

/* ---------- Комментарии ---------- */
.talk { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.talk-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.talk-list .children { list-style: none; padding-left: 2rem; margin-top: 1rem; }
.talk-body { padding: 1.2rem 1.4rem; background: var(--sand); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 1rem; }
.talk-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.talk-head img { display: block; border-radius: 50%; }
.talk-author { display: block; }
.talk-date { font-size: .8rem; color: var(--muted); }
.talk-wait { font-size: .85rem; color: var(--amber); }
.comment-form label { display: block; font-size: .9rem; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%;
    padding: .7em .9em;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    background: var(--cream);
    font: inherit;
    color: var(--ink);
}
.comment-form p { margin-bottom: 1rem; }

/* ---------- Поиск ---------- */
.seek { display: flex; gap: .6rem; margin: 1.5rem 0; max-width: 520px; }
.seek-field { flex: 1; min-width: 0; padding: .7em .9em; border: 1px solid var(--line-2); border-radius: 4px; background: var(--cream); font: inherit; color: var(--ink); }
.seek-field:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- 404 ---------- */
.lost { text-align: left; padding-top: 1rem; }
.lost-num { font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--amber); margin: 0; }

/* ---------- Подвал ---------- */
.basement { background: var(--ink); color: #E9DDCB; padding: 70px 0 0; position: relative; }
.basement-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.basement-col { min-width: 0; }
.basement .widget { margin-bottom: 1.8rem; color: #E9DDCB; }
.basement .widget-title { color: var(--cream); font-size: 1.4rem; margin-top: 0; }
.basement .widget-title::before { background: var(--gold); }
.basement p, .basement li, .basement .textwidget { color: #E9DDCB; font-size: .92rem; }
.basement a { color: var(--gold); }
.basement a:hover { color: var(--cream); }
.basement ul { list-style: none; padding: 0; margin: 0; }
.basement li { padding: .3em 0; }
.basement .post-date { color: #B9A88F; display: block; font-size: .8rem; }
.basement-copy { border-top: 1px solid rgba(232, 213, 184, .18); margin-top: 2rem; padding: 1.4rem 0 1.8rem; font-size: .85rem; color: #B9A88F; }

/* ---------- Пчела ---------- */
.bee-mark {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 150px;
    height: 150px;
    pointer-events: none;
    z-index: 50;
    opacity: .08;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C87A1E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M38 44c-14-22-34-20-32-6 2 12 18 16 34 12M82 44c14-22 34-20 32-6-2 12-18 16-34 12M36 58c-16-4-28 6-22 14 6 8 18 2 26-8M84 58c16-4 28 6 22 14-6 8-18 2-26-8M56 28c-4-10-10-16-16-16M64 28c4-10 10-16 16-16'/%3E%3C/g%3E%3Cellipse cx='60' cy='38' rx='10' ry='11' fill='%23C87A1E'/%3E%3Cpath d='M60 48c-15 0-20 16-20 32 0 18 10 34 20 34s20-16 20-34c0-16-5-32-20-32z' fill='%23C87A1E'/%3E%3Cg stroke='%23FDF8F0' stroke-width='5'%3E%3Cpath d='M42 68h36M41 84h38M45 100h30'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Cookie ---------- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 100;
    transform: translateX(-50%);
    width: min(92%, 760px);
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.1rem 1.5rem;
    background: var(--ink);
    color: var(--cream);
    border-left: 4px solid var(--amber);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(44, 36, 24, .3);
}
.cookie-text { margin: 0; font-size: .88rem; color: var(--cream); flex: 1; min-width: 0; }
.cookie-accept { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step:nth-child(2)::after { display: none; }
    .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .topbar-row { flex-wrap: wrap; }
    .brand { flex: 1; }
    .mainnav { width: 100%; display: none; }
    .mainnav.is-open { display: block; }
    .mainnav-list { flex-direction: column; gap: 0; padding: .5rem 0; }
    .mainnav-list li { border-top: 1px solid var(--line); }
    .mainnav-list a { display: block; padding: .8rem 0; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .layout-single .content-area { width: 100%; }
    .sidebar { margin-top: 3rem; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-combs { display: none; }
    .hero-title { font-size: 3rem; }
    .page-title { font-size: 2.5rem; }
    .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .basement-cols { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .honey-quote blockquote { font-size: 2rem; }
    .fsec .shell, .hero-inner { width: 92%; }
}

@media (max-width: 600px) {
    body { font-size: .96rem; }
    .fsec { padding: 56px 0; }
    .brand-desc { display: none; }
    .brand-stub { width: 42px; height: 42px; }
    .hero-title { font-size: 2.4rem; }
    .page-title { font-size: 2rem; }
    .sec-title { font-size: 2rem; padding-left: 52px; }
    .sec-title::after { width: 30px; }
    .sec-title::before { left: 34px; }
    .sec-intro { margin-left: 0; }
    .card-grid, .card-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .steps-list { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
    .step::after { display: none; }
    .step { padding: 1.4rem 1.2rem; }
    .topic-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .topic { padding: 1.3rem 1.4rem; }
    .honey-quote { padding: .5rem 3rem .5rem 0; }
    .honey-quote blockquote { font-size: 1.6rem; }
    .quote-dots { width: 36px; height: 36px; margin-top: -18px; }
    .quote-dots i { width: 7px; height: 7px; }
    .quote-dots i:nth-child(2) { left: 14px; top: 14px; }
    .quote-dots i:nth-child(3) { left: 28px; top: 28px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1rem 1.2rem; bottom: 12px; }
    .bee-mark { width: 90px; height: 90px; right: 10px; bottom: 10px; }
    .dots-divider { width: 45%; }
    .seek { flex-direction: column; }
    h2::before, h3::before { left: -14px; }
    .sidebar { padding: 1.4rem 1.2rem; }
}
