/* ==========================================================================
   Suttevo - стилі теми
   Дизайн-система з ТЗ: фон #FAFAF8, поверхні #FFFFFF, текст #202B30,
   основний акцент #45635A (посилання, навігація, кнопки), другий акцент #A34D32
   (редакційні мітки, нумерація добірки; не для суцільних блоків), лінії #E1E5E2,
   другорядний текст #536268. Manrope - заголовки й інтерфейс, Inter - текст.
   ========================================================================== */

:root {
	--bg: #fafaf8;
	--surface: #ffffff;
	--ink: #202b30;
	--ink-2: #36444a;
	--muted: #536268;
	--line: #e1e5e2;
	--accent: #3a704b;
	--accent-ink: #2c5838;
	--accent-soft: #e7f0e9;
	--accent-2: #3f7f33;

	--head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--wrap: 1280px;
	--gutter: 24px;
	--gap: 24px;
	--radius: 6px;
	--section: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--text);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.sv-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.sv-skip:focus { left: 8px; }

.sv-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sv-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 0.55em; vertical-align: 0.25em; opacity: 0.6; }

/* ---------- Кнопки ---------- */
.sv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border-radius: var(--radius);
	background: var(--accent); color: #fff; border: 1px solid var(--accent);
	font-family: var(--head); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.sv-btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.sv-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.sv-btn--ghost:hover { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.sv-more { font-family: var(--head); font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.sv-more::after { content: ""; display: inline-block; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 6px; vertical-align: 0.1em; }
.sv-more:hover { text-decoration: underline; }

/* ---------- Службова панель ---------- */
.sv-service { border-bottom: 1px solid var(--line); background: var(--bg); font-size: 13px; color: var(--muted); }
.sv-service__row { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.sv-service a { text-decoration: none; }
.sv-service a:hover { color: var(--accent); text-decoration: underline; }
.sv-service__links, .sv-service__social { display: flex; gap: 20px; }

/* ---------- Шапка ---------- */
.sv-masthead { background: var(--bg); position: relative; }
.sv-masthead__row { display: flex; align-items: center; gap: 20px; min-height: 88px; }
.sv-masthead__brand { display: block; flex: 0 0 auto; }
.sv-masthead__brand .sv-logo--full img { width: 220px; height: auto; }
.sv-masthead__descriptor { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--muted); padding-left: 20px; border-left: 1px solid var(--line); line-height: 1.3; }
.sv-masthead__actions { margin-left: auto; display: flex; gap: 4px; }
.sv-icon-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
	background: transparent; border: 0; border-radius: var(--radius); cursor: pointer;
	font-family: var(--head); font-size: 14px; font-weight: 700; color: var(--ink);
}
.sv-icon-btn:hover { background: var(--surface); color: var(--accent); }
.sv-icon-btn[aria-expanded="true"] { background: var(--surface); color: var(--accent); }
.sv-search-panel { border-top: 1px solid var(--line); background: var(--surface); padding: 16px 0; }

/* ---------- Навігація рубрик ---------- */
.sv-nav { position: sticky; top: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-bar .sv-nav { top: 32px; }
.sv-nav__row { display: flex; align-items: center; gap: 12px; }
.sv-nav__mark { display: none; flex: 0 0 auto; }
.sv-nav__mark img { width: 28px; height: 28px; }
.sv-nav.is-stuck .sv-nav__mark { display: block; }
.sv-nav__list { list-style: none; display: flex; flex: 1 1 auto; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sv-nav__list::-webkit-scrollbar { display: none; }
.sv-nav__list li { flex: 0 0 auto; }
.sv-nav__list a {
	display: flex; align-items: center; min-height: 52px; padding: 0 8px; white-space: nowrap;
	font-family: var(--head); font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none;
	box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .15s ease, color .15s ease;
}
.sv-nav__list a:hover { color: var(--accent); }
.sv-nav__list .current-menu-item > a, .sv-nav__list .current-cat > a, .sv-nav__list .current-post-ancestor > a, .sv-nav__list .current-menu-parent > a {
	color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent);
}

/* ---------- Меню-шухляда ---------- */
.sv-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(32, 43, 48, .35); }
.sv-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); background: var(--surface); padding: 20px 24px 32px; overflow-y: auto; }
.sv-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.sv-drawer__head .sv-logo--full img { width: 140px; }
.sv-drawer__h { font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--muted); margin: 20px 0 8px; }
.sv-drawer__list { list-style: none; }
.sv-drawer__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 17px; font-weight: 700; text-decoration: none; }
.sv-drawer__list--small a { font-size: 15px; font-weight: 600; color: var(--ink-2); }
body.sv-lock { overflow: hidden; }

/* ---------- Заголовки секцій ---------- */
.sv-main { padding-bottom: var(--section); }
.sv-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.sv-section-title { font-size: 26px; font-weight: 800; line-height: 1.2; }
.sv-section-title a { text-decoration: none; }
.sv-section-title a:hover { color: var(--accent); }
.sv-page-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

/* ---------- Медіа ---------- */
.sv-media { position: relative; overflow: hidden; background: var(--accent-soft); border-radius: var(--radius); }
.sv-media--16x9 { aspect-ratio: 16 / 9; }
.sv-media--4x3 { aspect-ratio: 4 / 3; }
.sv-media img { width: 100%; height: 100%; object-fit: cover; }
.sv-ph { display: grid; place-items: center; }
.sv-ph--1 { background: #eef1ee; }
.sv-ph--2 { background: #f3efea; }
.sv-ph__mark { width: 18%; max-width: 64px; height: auto; opacity: .28; }

/* ---------- Мітки й картки ---------- */
.sv-kicker { font-size: 13px; font-weight: 600; color: var(--accent); line-height: 1.3; margin-bottom: 8px; }
.sv-kicker a { text-decoration: none; }
.sv-kicker a:hover { text-decoration: underline; }
.sv-kicker__fmt { color: var(--accent-2); }
.sv-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-left: 6px; }
.sv-badge--partner { background: #e8f2e4; color: var(--accent-2); }
.sv-byline { font-size: 13px; color: var(--muted); margin-top: 10px; }
.sv-byline a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.sv-byline a:hover { color: var(--accent); }

.sv-card { position: relative; }
.sv-card__media { display: block; margin-bottom: 14px; }
.sv-card__media .sv-media img { transition: opacity .15s ease; }
.sv-card__media:hover .sv-media img { opacity: .92; }
.sv-card__title { font-size: 19px; line-height: 1.3; font-weight: 700; text-wrap: pretty; }
.sv-card__title a { text-decoration: none; }
.sv-card__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.sv-card__lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin-top: 10px; }

.sv-card--lead .sv-card__media { margin-bottom: 20px; }
.sv-card--lead .sv-card__title { font-size: clamp(30px, 3vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.sv-card--lead .sv-card__lead { font-size: 18px; max-width: 62ch; }

.sv-card--compact { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: start; }
.sv-card--compact .sv-card__media { margin: 0; }
.sv-card--compact .sv-card__title { font-size: 16px; line-height: 1.35; }
.sv-card--compact .sv-kicker { margin-bottom: 4px; font-size: 12.5px; }

.sv-card--row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: center; }
.sv-card--row .sv-card__media { margin: 0; }
.sv-card--row .sv-card__title { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 800; }

.sv-card--guide .sv-card__title { font-size: 18px; }

/* ---------- 04. Головний блок ---------- */
.sv-hero { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; padding-top: 32px; padding-bottom: var(--section); }
.sv-hero__side { display: flex; flex-direction: column; }
.sv-hero__side .sv-card { padding: 16px 0; border-top: 1px solid var(--line); }
.sv-hero__side .sv-card:first-child { padding-top: 0; border-top: 0; }
.sv-hero__side .sv-card--card { padding-bottom: 20px; }
.sv-hero__side .sv-card--card .sv-card__title { font-size: 21px; line-height: 1.25; }

/* ---------- 05–06. Останні та вибір редакції ---------- */
.sv-stream { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; padding-bottom: var(--section); }
.sv-latest__list { list-style: none; }
.sv-latest__item { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sv-latest__item:first-child { padding-top: 0; }
.sv-latest__item time { font-family: var(--head); font-size: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 2px; white-space: nowrap; }
.sv-latest__title { font-size: 17px; line-height: 1.35; font-weight: 700; }
.sv-latest__title a { text-decoration: none; }
.sv-latest__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.sv-latest__cat { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--muted); text-decoration: none; }
.sv-latest__cat:hover { color: var(--accent); }

.sv-picks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }
.sv-picks .sv-section-title { font-size: 22px; margin-bottom: 8px; }
.sv-picks__list { list-style: none; }
.sv-picks__item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.sv-picks__item:first-child { border-top: 0; }
.sv-picks__n { font-family: var(--head); font-size: 26px; font-weight: 800; line-height: 1; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.sv-picks__item a { font-family: var(--head); font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.sv-picks__item a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- 07. Реклама ---------- */
.sv-ad { margin-bottom: var(--section); }
.sv-ad__label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.sv-ad__box { min-height: 120px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sv-ad--aside .sv-ad__box { min-height: 250px; }

/* ---------- 08. Гіди й огляди ---------- */
.sv-guides { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0 56px; margin-bottom: var(--section); }
.sv-guides__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.sv-guides .sv-kicker__cat { color: var(--muted); }

/* ---------- 09–11. Рубрики ---------- */
.sv-rubric { padding-bottom: var(--section); }
.sv-rubric__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.sv-rubric--priority .sv-rubric__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-rubric--priority .sv-card--row { grid-column: 1 / -1; }

/* ---------- 12. Соцмережі / підписка ---------- */
.sv-follow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: var(--section); max-width: calc(var(--wrap)); }
.sv-follow__text p { color: var(--ink-2); margin-top: 8px; }
.sv-follow__social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Архіви ---------- */
.sv-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.sv-crumbs li + li::before { content: "/"; margin: 0 8px; color: #a9b3b0; }
.sv-crumbs a { text-decoration: none; }
.sv-crumbs a:hover { color: var(--accent); text-decoration: underline; }
.sv-archive-head { padding-top: 32px; padding-bottom: 32px; }
.sv-archive-head__desc { max-width: 72ch; margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.sv-archive-head__count { margin-top: 12px; color: var(--muted); font-size: 14px; }
.sv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sv-filters a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-family: var(--head); font-size: 14px; font-weight: 700; text-decoration: none; }
.sv-filters a:hover { border-color: var(--accent); color: var(--accent); }
.sv-filters a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.sv-archive-lead { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; padding-bottom: 48px; }
.sv-archive-lead__side { display: grid; gap: 28px; align-content: start; }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); padding-top: 32px; border-top: 1px solid var(--line); }
.sv-list { display: grid; gap: 28px; }
.sv-list .sv-card--row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.sv-list .sv-card--row .sv-card__title { font-size: 22px; }
.sv-pages { margin-top: 48px; }
.sv-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-pages a, .sv-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-family: var(--head); font-weight: 700; text-decoration: none; }
.sv-pages a:hover { border-color: var(--accent); color: var(--accent); }
.sv-pages .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.sv-pages .dots { border: 0; background: transparent; }
.sv-empty { padding-top: 48px; padding-bottom: 48px; font-size: 17px; color: var(--ink-2); }
.sv-empty .sv-page-title { margin-bottom: 12px; color: var(--ink); }

/* ---------- Пошук ---------- */
.sv-searchform { display: flex; gap: 8px; max-width: 720px; }
.sv-searchform input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid #c9d1cd; border-radius: var(--radius); background: var(--surface); font: inherit; font-size: 16px; color: var(--ink); }
.sv-searchform input[type="search"]:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.sv-search-page { margin-top: 20px; }
.sv-404__code { font-family: var(--head); font-size: 64px; font-weight: 800; color: var(--accent-2); line-height: 1; margin-bottom: 8px; }
.sv-404 p { max-width: 60ch; margin-top: 12px; }
.sv-404__rubrics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sv-404__rubrics a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 14px; }

/* ---------- Стаття ---------- */
.sv-article__head { padding-top: 28px; padding-bottom: 28px; }
.sv-article__head > * { max-width: 860px; }
.sv-article__title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.sv-article__lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin-top: 16px; max-width: 64ch; }
.sv-partner-note { display: inline-block; margin-top: 16px; padding: 8px 12px; border-radius: var(--radius); background: #e8f2e4; color: var(--accent-2); font-size: 14px; font-weight: 600; }
.sv-article__layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 300px); justify-content: space-between; gap: 48px; }
.sv-article__figure { margin: 0 0 32px; }
.sv-article__figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.sv-credit { white-space: nowrap; }
.sv-article__aside > * { position: sticky; top: 76px; }
.sv-aside-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.sv-aside-list__h { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.sv-aside-list ol { list-style: none; counter-reset: sv; }
.sv-aside-list li { counter-increment: sv; display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.sv-aside-list li:first-child { border-top: 0; }
.sv-aside-list li::before { content: counter(sv); font-family: var(--head); font-weight: 800; color: var(--accent-2); }
.sv-aside-list a { font-family: var(--head); font-size: 14.5px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.sv-aside-list a:hover { text-decoration: underline; }

.sv-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.sv-toc__h { font-family: var(--head); font-weight: 800; margin-bottom: 8px; }
.sv-toc ol { padding-left: 20px; display: grid; gap: 6px; }
.sv-toc a { color: var(--accent); text-decoration: none; }
.sv-toc a:hover { text-decoration: underline; }

.sv-entry { font-size: 18px; line-height: 1.65; color: var(--ink); }
.sv-entry > * + * { margin-top: 1.1em; }
.sv-entry h2 { font-size: 26px; line-height: 1.25; margin-top: 1.8em; font-weight: 800; }
.sv-entry h3 { font-size: 21px; line-height: 1.3; margin-top: 1.5em; }
.sv-entry a { color: var(--accent); text-decoration: underline; }
.sv-entry a:hover { color: var(--accent-ink); }
.sv-entry ul, .sv-entry ol { padding-left: 1.3em; }
.sv-entry li + li { margin-top: .4em; }
.sv-entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent-2); font-family: var(--head); font-size: 21px; line-height: 1.45; font-weight: 600; }
.sv-entry blockquote p { margin: 0; }
.sv-entry figure { margin: 1.6em 0; }
.sv-entry figure img { border-radius: var(--radius); }
.sv-entry figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.sv-entry .wp-block-table, .sv-entry .sv-table-scroll { overflow-x: auto; }
.sv-entry table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.sv-entry th, .sv-entry td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sv-entry th { font-family: var(--head); font-weight: 700; background: var(--surface); }
.sv-entry iframe, .sv-entry video { max-width: 100%; border-radius: var(--radius); }
.sv-entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.sv-draft-note { background: #e8f2e4; color: var(--accent-2); padding: 10px 14px; border-radius: var(--radius); font-size: 15px; }

.sv-note-block { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.sv-note-block__h { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.sv-note-block ol, .sv-note-block ul { padding-left: 1.2em; display: grid; gap: 4px; }
.sv-note-block a { color: var(--accent); }

.sv-article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.sv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; text-decoration: none; }
.sv-tags a:hover { background: var(--accent); color: #fff; }
.sv-share { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-share__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-family: var(--head); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sv-share__btn:hover { border-color: var(--accent); color: var(--accent); }
.sv-author { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sv-avatar { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); font-family: var(--head); font-weight: 800; color: var(--accent); }
.sv-avatar .sv-logo--mark { width: 30px; height: 30px; }
.sv-avatar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-author__name { font-family: var(--head); font-weight: 800; }
.sv-author__name a { text-decoration: none; }
.sv-author__bio { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }

.sv-related { margin-top: var(--section); }
.sv-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.sv-related .sv-card__title { font-size: 17px; }
.sv-comments { margin-top: var(--section); max-width: 808px; }

/* ---------- Службові сторінки ---------- */
.sv-page__head { padding-top: 32px; padding-bottom: 24px; }
.sv-page__body { max-width: 760px; }

/* ---------- Форми ---------- */
.sv-form { display: grid; gap: 16px; max-width: 640px; }
.sv-field { display: grid; gap: 6px; font-family: var(--head); font-size: 14px; font-weight: 700; }
.sv-field em { font-style: normal; font-weight: 500; color: var(--muted); }
.sv-field input, .sv-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9d1cd; border-radius: var(--radius); background: var(--surface); font: 16px/1.5 var(--text); color: var(--ink); }
.sv-field input:focus, .sv-field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.sv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.sv-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.sv-check a { color: var(--accent); }
.sv-inline { display: flex; gap: 8px; }
.sv-field--grow { flex: 1 1 auto; }
.sv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sv-notice { padding: 12px 14px; border-radius: var(--radius); font-size: 15px; }
.sv-notice--ok { background: var(--accent-soft); color: var(--accent-ink); }
.sv-notice--err { background: #f8e9e6; color: #9c3324; }
.sv-embed-form { margin-top: 24px; }

/* ---------- Підвал ---------- */
.sv-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 48px; color: var(--ink-2); font-size: 15px; }
.sv-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 40px; padding-bottom: 40px; }
.sv-footer__logo { display: inline-block; }
.sv-footer__logo .sv-logo--full img { width: 180px; }
.sv-footer__about p { margin-top: 16px; max-width: 46ch; line-height: 1.6; }
.sv-footer__social { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.sv-footer__social a { color: var(--accent); font-weight: 600; }
.sv-footer__h { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.sv-footer__col ul { list-style: none; display: grid; gap: 8px; }
.sv-footer__col a { text-decoration: none; }
.sv-footer__col a:hover { color: var(--accent); text-decoration: underline; }
.sv-footer__col:first-of-type ul { display: block; columns: 2; column-gap: 24px; }
.sv-footer__col:first-of-type li { break-inside: avoid; margin-bottom: 8px; }
.sv-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sv-footer__legal p:last-child { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sv-footer__legal a { color: inherit; }
.sv-footer__legal a:hover { color: var(--accent); }

/* ==========================================================================
   Адаптив: 1024 / 768 / 390 / 360. Без горизонтального скролу на 320.
   ========================================================================== */
@media (max-width: 1100px) {
	.sv-guides__grid, .sv-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sv-article__layout { grid-template-columns: minmax(0, 1fr); }
	.sv-article__aside > * { position: static; }
	.sv-article__aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
}
@media (max-width: 1024px) {
	:root { --section: 48px; }
	.sv-nav__list { justify-content: flex-start; }
	.sv-hero, .sv-stream, .sv-archive-lead { grid-template-columns: minmax(0, 1fr); }
	.sv-hero__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
	.sv-hero__side .sv-card, .sv-hero__side .sv-card:first-child { display: block; padding: 0; border: 0; }
	.sv-hero__side .sv-card__media { margin-bottom: 10px; }
	.sv-archive-lead__side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
	.sv-follow { grid-template-columns: minmax(0, 1fr); }
	.sv-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sv-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	:root { --gutter: 16px; --gap: 16px; --section: 40px; }
	.sv-service__social { display: none; }
	.sv-service__links { gap: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.sv-masthead__row { min-height: 64px; gap: 8px; }
	.sv-masthead__brand .sv-logo--full img { width: 150px; }
	.sv-masthead__descriptor { display: none; }
	.sv-icon-btn { padding: 0 10px; }
	.sv-icon-btn__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
	.sv-nav__list a { min-height: 46px; font-size: 14.5px; padding: 0 10px; }
	.sv-nav__list { mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
	.sv-hero { padding-top: 20px; gap: 24px; }
	.sv-hero__side { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.sv-hero__side .sv-card, .sv-hero__side .sv-card:first-child { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
	.sv-hero__side .sv-card__media { margin: 0; }
	.sv-card--lead .sv-card__title { font-size: 28px; }
	.sv-card--lead .sv-card__lead { font-size: 16.5px; }
	.sv-section-title { font-size: 22px; }
	.sv-latest__item { grid-template-columns: 1fr; gap: 10px; }
	.sv-latest__item time { font-size: 13px; }
	.sv-latest__title { font-size: 16px; }
	.sv-picks { padding: 20px; }
	.sv-guides { padding: 36px 0 40px; }
	.sv-guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gap); }
	.sv-guides .sv-card__title, .sv-rubric .sv-card__title { font-size: 16px; }
	.sv-rubric__grid, .sv-rubric--priority .sv-rubric__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gap); }
	.sv-rubric__grid > .sv-card:first-child { grid-column: 1 / -1; }
	.sv-rubric__grid > .sv-card:first-child .sv-card__title { font-size: 20px; }
	.sv-card--row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.sv-card--row .sv-card__title { font-size: 22px; }
	.sv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px var(--gap); }
	.sv-archive-lead__side { grid-template-columns: minmax(0, 1fr); }
	.sv-list .sv-card--row { grid-template-columns: 120px minmax(0, 1fr); }
	.sv-list .sv-card--row .sv-card__title { font-size: 17px; }
	.sv-list .sv-card__lead { display: none; }
	.sv-article__title { font-size: 30px; }
	.sv-article__lead { font-size: 18px; }
	.sv-entry { font-size: 17.5px; }
	.sv-entry h2 { font-size: 23px; }
	.sv-article__aside { grid-template-columns: minmax(0, 1fr); }
	.sv-related__grid { gap: 24px var(--gap); }
	.sv-related .sv-card__title { font-size: 15.5px; }
	.sv-follow { padding: 24px; }
	.sv-inline { flex-direction: column; }
	.sv-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sv-footer__legal { flex-direction: column; }
}
@media (max-width: 479px) {
	.sv-grid { grid-template-columns: minmax(0, 1fr); }
	.sv-searchform { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.sv-service, .sv-nav, .sv-masthead__actions, .sv-article__aside, .sv-share, .sv-related, .sv-footer, .sv-ad { display: none !important; }
}
@media (max-width: 767px) {
	.single .sv-crumbs li:last-child { display: none; }
}

/* Рубрики на головній: сітка колонок із вертикальними розділювачами */
.sv-board { padding-bottom: var(--section); }
.sv-board .sv-section-head { margin-bottom: 0; }
.sv-board__clip { overflow: hidden; }
.sv-board__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 -32px 0 -33px; }
.sv-board__cell { display: flex; flex-direction: column; padding: 24px 32px 36px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sv-board__title { font-size: 15px; font-weight: 800; letter-spacing: .01em; margin-bottom: 14px; }
.sv-board__title a { color: var(--accent); text-decoration: none; }
.sv-board__title a:hover { text-decoration: underline; }
.sv-board__cell .sv-card__title { font-size: 18px; }
.sv-board__list { list-style: none; margin: 14px 0 0; padding: 0; }
.sv-board__list li { padding: 12px 0; border-top: 1px solid var(--line); font-family: var(--head); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.sv-board__list a { color: var(--ink); text-decoration: none; }
.sv-board__list a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.sv-board__more { margin-top: auto; padding-top: 16px; font-size: 13.5px; }
@media (max-width: 1024px) {
	.sv-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.sv-board__grid { grid-template-columns: minmax(0, 1fr); margin: 0; }
	.sv-board__cell { border-left: 0; padding: 20px 0 28px; }
	.sv-board__cell .sv-card { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: start; }
	.sv-board__cell .sv-card .sv-card__media { margin: 0; }
	.sv-board__cell .sv-card__title { font-size: 16px; }
}

/* ==========================================================================
   1.0.6 · Журнал, а не стрічка
   Теплий шавлієвий фон замість білого, секції розділяє підкладка, а не лінії.
   Рубрики з іконками, головний матеріал як обкладинка, блок «Корисне» з калькуляторами.
   Жовтий «лампочка» - лише для чисел у калькуляторах.
   ========================================================================== */
:root {
	--bg: #f2f4ee;
	--surface: #ffffff;
	--ink: #1d2a22;
	--ink-2: #34433a;
	--muted: #5a675f;
	--line: #dfe5dc;
	--accent: #3a704b;
	--accent-ink: #2b5638;
	--accent-soft: #e3ece0;
	--band: #e6ede1;
	--sun: #f3c64f;
	--sun-soft: #fdf3d6;
	--radius: 10px;
	--radius-lg: 18px;
}

/* Шапка: без ліній, рубрики з іконками */
.sv-service { background: var(--bg); border-bottom: 0; }
.sv-masthead { background: var(--bg); }
.sv-nav { background: var(--bg); border-top: 0; border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.sv-nav.is-stuck { background: rgba(242, 244, 238, .96); backdrop-filter: saturate(1.2) blur(6px); }
.sv-nav__list { justify-content: space-between; gap: 2px; }
.sv-nav__list a {
	flex-direction: column; justify-content: center; gap: 4px; min-height: 72px; padding: 8px 10px;
	font-size: 13.5px; font-weight: 700; color: var(--ink-2); border-radius: var(--radius);
	box-shadow: none; transition: background-color .15s ease, color .15s ease;
}
.sv-nav__list a .sv-ico { width: 24px; height: 24px; color: var(--accent); transition: transform .15s ease; }
.sv-nav__list a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.sv-nav__list a:hover .sv-ico { transform: translateY(-1px); }
.sv-nav__list .current-menu-item > a, .sv-nav__list .current-cat > a, .sv-nav__list .current-post-ancestor > a, .sv-nav__list .current-menu-parent > a {
	background: var(--surface); color: var(--accent-ink); box-shadow: inset 0 -3px 0 var(--accent);
}
.sv-nav.is-stuck .sv-nav__list a { min-height: 52px; flex-direction: row; gap: 6px; }
.sv-nav.is-stuck .sv-nav__list a .sv-ico { width: 18px; height: 18px; }

/* Заголовки секцій без лінії */
.sv-section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }
.sv-section-title { font-size: 28px; letter-spacing: -0.02em; }

/* Медіа */
.sv-media { border-radius: var(--radius); }
.sv-media--21x9 { aspect-ratio: 21 / 9; }

/* Головний матеріал: фото й текст поруч. Фото займає 7/12 ширини, тож звичайний знімок не втрачає різкості. */
.sv-cover { padding-top: 24px; padding-bottom: 48px; }
.sv-cover__main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.sv-cover__media { display: block; }
.sv-cover__media .sv-media { border-radius: 0; aspect-ratio: 16 / 9; height: 100%; }
.sv-cover__text { display: flex; flex-direction: column; justify-content: center; padding: 36px 44px; color: var(--ink); }
.sv-cover__cat {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 12px 6px 8px;
	border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); text-decoration: none;
	font-family: var(--head); font-size: 13.5px; font-weight: 700;
}
.sv-cover__cat .sv-ico { width: 18px; height: 18px; color: var(--accent); }
.sv-cover__cat:hover { background: #d6e3d2; color: var(--accent-ink); }
.sv-cover__title { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.sv-cover__title a { color: var(--ink); text-decoration: none; }
.sv-cover__title a:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sun); text-underline-offset: 0.12em; }
.sv-cover__lead { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.sv-cover__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.sv-cover__row .sv-card__title { font-size: 20px; line-height: 1.28; }

/* Корисне */
.sv-useful { background: var(--band); padding: 56px 0 64px; margin-bottom: var(--section); }
.sv-useful__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: end; margin-bottom: 28px; }
.sv-useful__head .sv-section-title { font-size: 40px; }
.sv-useful__head p { color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.sv-useful__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* Калькулятори */
.sv-calc [hidden] { display: none !important; }
.sv-calc { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 18px; font-size: 15px; }
.sv-entry .sv-calc { margin: 2em 0; border: 1px solid var(--line); }
.sv-calc__head { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.sv-calc__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sun-soft); color: var(--ink); }
.sv-calc__icon .sv-ico { width: 26px; height: 26px; }
.sv-calc__title { font-size: 21px; line-height: 1.25; font-weight: 800; }
.sv-calc__intro { color: var(--muted); margin-top: 4px; }
.sv-calc__hours { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; }
.sv-calc__hours output { min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.sv-calc input[type="range"] { accent-color: var(--accent); width: 100%; }
.sv-calc__devices { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.sv-calc__devices li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.sv-calc__devices input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.sv-calc__devices label { line-height: 1.3; cursor: pointer; }
.sv-calc__w { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.sv-calc input[type="number"] {
	width: 72px; min-height: 36px; padding: 0 8px; border: 1px solid #cfd8cf; border-radius: 8px; background: var(--bg);
	font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right;
}
.sv-calc input[type="number"]:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.sv-calc__w input[type="number"] { width: 64px; min-height: 32px; }
.sv-calc__seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-calc__seg legend { font-family: var(--head); font-weight: 700; margin-bottom: 8px; padding: 0; }
.sv-calc__seg label { position: relative; }
.sv-calc__seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sv-calc__seg span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.sv-calc__seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.sv-calc__seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sv-calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.sv-calc__fields label { display: grid; gap: 6px; font-family: var(--head); font-weight: 700; font-size: 14px; }
.sv-calc__unit { display: inline-flex; align-items: center; gap: 8px; font-family: var(--text); font-weight: 400; color: var(--muted); }
.sv-calc__unit input[type="number"] { width: 110px; }
.sv-calc__result { background: var(--sun-soft); border-radius: 14px; padding: 18px 20px; }
.sv-calc__big { font-family: var(--head); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sv-calc__big small { font-size: 18px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.sv-calc__sub { color: var(--ink-2); margin-top: 6px; }
.sv-calc__advice { margin-top: 10px; font-weight: 600; line-height: 1.45; }
.sv-calc__advice:empty { display: none; }
.sv-calc__note { font-size: 13px; color: var(--muted); line-height: 1.45; }
.sv-calc__note a { color: var(--accent); }

/* Нове на Suttevo і вибір редакції: картки на підкладці замість ліній */
.sv-latest__item { border-bottom: 1px solid var(--line); }
.sv-picks { border: 0; border-radius: var(--radius-lg); }
.sv-guides { background: var(--surface); border: 0; border-radius: 0; }

@media (max-width: 1023px) {
	.sv-cover__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sv-cover__text { padding: 24px 28px; }
	.sv-useful__grid { grid-template-columns: minmax(0, 1fr); }
	.sv-useful__head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.sv-nav__list a { min-height: 64px; font-size: 13px; }
}
@media (max-width: 767px) {
	.sv-nav__list a { min-height: 60px; padding: 6px 10px; font-size: 12.5px; }
	.sv-nav__list a .sv-ico { width: 22px; height: 22px; }
	.sv-cover { padding-top: 12px; padding-bottom: 32px; }
	.sv-cover__main { display: block; background: transparent; border-radius: var(--radius-lg); overflow: visible; }
	.sv-cover__media .sv-media { aspect-ratio: 4 / 3; min-height: 0; border-radius: var(--radius-lg); }
	.sv-cover__text { position: static; padding: 16px 0 0; color: var(--ink); }
	.sv-cover__cat { background: var(--accent-soft); color: var(--accent-ink); backdrop-filter: none; }
	.sv-cover__cat .sv-ico { color: var(--accent); }
	.sv-cover__cat:hover { background: var(--accent-soft); color: var(--accent-ink); }
	.sv-cover__title { font-size: 28px; }
	.sv-cover__title a, .sv-cover__title a:hover { color: var(--ink); }
	.sv-cover__lead { color: var(--ink-2); font-size: 16.5px; }
	.sv-cover__row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.sv-cover__row .sv-card--guide { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
	.sv-cover__row .sv-card__media { margin: 0; }
	.sv-cover__row .sv-card__title { font-size: 17px; }
	.sv-useful { padding: 36px 0 40px; }
	.sv-useful__head .sv-section-title { font-size: 30px; }
	.sv-calc { padding: 20px; }
	.sv-calc__devices { grid-template-columns: minmax(0, 1fr); }
	.sv-calc__fields { grid-template-columns: minmax(0, 1fr); }
	.sv-calc__big { font-size: 34px; }
}

/* ==========================================================================
   1.0.7 · Глибина
   Темно-зелена смуга з візерунком з іконок рубрик під головним матеріалом,
   теплий відблиск «лампи» в куті. Секції - білі картки на шавлієвому фоні.
   ========================================================================== */
:root { --deep: #21402e; }
body { overflow-x: clip; }

.sv-cover { position: relative; isolation: isolate; padding-top: 40px; }
.sv-cover::before {
	content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; margin-left: -50vw; height: 340px;
	background:
		radial-gradient(ellipse 55% 130% at 90% -10%, rgba(243, 198, 79, .26), rgba(243, 198, 79, 0) 62%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.085' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(18 20) rotate(0 12 12) scale(1.5)'%3E%3Cpath d='M3.5 11 12 4l8.5 7'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M10 20v-5.5h4V20'/%3E%3C/g%3E%3Cg transform='translate(118 14) rotate(12 12 12) scale(1.5)'%3E%3Cpath d='M13 2.5 5.5 13.5H12l-1 8 7.5-11H12z'/%3E%3C/g%3E%3Cg transform='translate(196 70) rotate(-8 12 12) scale(1.5)'%3E%3Cpath d='M6 11V7.5A2.5 2.5 0 0 1 8.5 5h7A2.5 2.5 0 0 1 18 7.5V11'/%3E%3Cpath d='M4 11.5a2 2 0 0 1 4 0V14h8v-2.5a2 2 0 0 1 4 0V18H4z'/%3E%3Cpath d='M6 18v2M18 18v2'/%3E%3C/g%3E%3Cg transform='translate(40 112) rotate(-14 12 12) scale(1.5)'%3E%3Crect x='3' y='3.5' width='14' height='6' rx='1.5'/%3E%3Cpath d='M17 6.5h2.5V12H11v3'/%3E%3Crect x='9.5' y='15' width='3' height='6' rx='1'/%3E%3C/g%3E%3Cg transform='translate(138 126) rotate(6 12 12) scale(1.5)'%3E%3Crect x='4.5' y='3' width='15' height='18' rx='2'/%3E%3Cpath d='M4.5 7.5h15'/%3E%3Ccircle cx='12' cy='14' r='4'/%3E%3Cpath d='M7.5 5.3h.01M10 5.3h.01'/%3E%3C/g%3E%3Cg transform='translate(212 190) rotate(10 12 12) scale(1.5)'%3E%3Cpath d='M12 6.5a2 2 0 1 1 2-2'/%3E%3Cpath d='M12 6.5v1.5L3.5 16a1.2 1.2 0 0 0 .8 2.1h15.4a1.2 1.2 0 0 0 .8-2.1L12 8'/%3E%3C/g%3E%3Cg transform='translate(70 200) rotate(-4 12 12) scale(1.5)'%3E%3Cpath d='M4 15.5V12l2-5h12l2 5v3.5'/%3E%3Cpath d='M3 15.5h18V18H3z'/%3E%3Ccircle cx='7.5' cy='18.5' r='1.5'/%3E%3Ccircle cx='16.5' cy='18.5' r='1.5'/%3E%3Cpath d='M5 12h14'/%3E%3C/g%3E%3Cg transform='translate(150 202) rotate(-10 12 12) scale(1.5)'%3E%3Cpath d='M5 8h14l-1 12.5H6z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/g%3E%3Cg transform='translate(8 180) rotate(14 12 12) scale(1.5)'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.2'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0 / 260px 260px,
		var(--deep);
}
.sv-cover__main { box-shadow: 0 30px 60px -30px rgba(16, 30, 21, .55); }
.sv-cover__row .sv-card--guide { background: var(--surface); border-radius: var(--radius-lg); padding: 10px 10px 18px; }
.sv-cover__row .sv-card--guide .sv-card__body { padding: 0 8px; }

/* Фото головного матеріалу заповнює ліву колонку і не залазить на текст */
@media (min-width: 768px) {
	.sv-cover__media { position: relative; min-height: 380px; }
	.sv-cover__media .sv-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
}

/* Підкреслення заголовків секцій кольором «лампи» */
.sv-section-title::after { content: ""; display: block; width: 40px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--sun); }

/* Нове на Suttevo: біла картка з мініатюрами */
.sv-stream { gap: 32px; }
.sv-latest { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 32px 10px; }
.sv-latest__item, .sv-latest__item:first-child { grid-template-columns: 136px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; }
.sv-latest__item:last-child { border-bottom: 0; }
.sv-latest__thumb { display: block; }
.sv-latest__thumb .sv-media { border-radius: 8px; }
.sv-latest__thumb .sv-ph__mark { width: 28px; }

@media (max-width: 1023px) {
	.sv-cover::before { height: 300px; }
}
@media (max-width: 767px) {
	.sv-cover { padding-top: 16px; }
	.sv-cover::before { height: 190px; }
	.sv-cover__main { box-shadow: none; }
	.sv-cover__media .sv-media { box-shadow: 0 18px 40px -22px rgba(16, 30, 21, .6); }
	.sv-cover__row .sv-card--guide { padding: 8px; }
	.sv-cover__row .sv-card--guide .sv-card__body { padding: 0; }
	.sv-latest { padding: 20px 16px 4px; }
	.sv-latest__item, .sv-latest__item:first-child { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
}

/* ==========================================================================
   1.0.9 · Квізи «Корисне»
   Одне питання на екран, великі плитки, результат на жовтій підкладці.
   ========================================================================== */
.sv-hub__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.sv-hub__tab {
	display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; text-align: left;
	background: var(--surface); color: var(--ink); border: 0; border-radius: 14px; cursor: pointer;
	font-family: var(--head); font-size: 16px; font-weight: 700; line-height: 1.25;
	transition: background-color .15s ease, color .15s ease;
}
.sv-hub__tab .sv-ico { flex: 0 0 auto; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--sun-soft); color: var(--ink); }
.sv-hub__tab:hover { background: #fbfcf9; color: var(--accent-ink); }
.sv-hub__tab[aria-selected="true"] { background: var(--deep); color: #fff; }
.sv-hub__tab[aria-selected="true"] .sv-ico { background: rgba(243, 198, 79, .18); color: var(--sun); }
.sv-hub__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sv-quiz { background: var(--surface); border-radius: var(--radius-lg); padding: 32px 36px 28px; }
.sv-entry .sv-quiz { margin: 2em 0; border: 1px solid var(--line); }
.sv-quiz__top { display: flex; align-items: center; gap: 14px; }
.sv-quiz__badge { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--sun-soft); color: var(--ink); }
.sv-quiz__title { font-size: 20px; line-height: 1.25; font-weight: 800; }
.sv-quiz__count { margin-top: 2px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sv-quiz__count:empty { display: none; }
.sv-quiz__bar { height: 6px; margin-top: 18px; border-radius: 3px; background: var(--band); overflow: hidden; }
.sv-quiz__bar span { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--accent); transition: width .3s ease; }
.sv-quiz__step { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.sv-quiz__q { display: block; padding: 0; font-family: var(--head); font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.sv-quiz__hint { margin-top: 6px; color: var(--muted); font-size: 15px; }

.sv-quiz__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.sv-tile { position: relative; display: block; }
.sv-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sv-tile__in {
	position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 118px; padding: 16px 16px 14px;
	border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
	transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.sv-tile__in .sv-ico { width: 30px; height: 30px; margin-bottom: 4px; color: var(--accent); }
.sv-tile__label { font-family: var(--head); font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.sv-tile__sub { font-size: 13px; line-height: 1.35; color: var(--muted); }
.sv-tile:hover .sv-tile__in { border-color: var(--accent); }
.sv-tile input:checked + .sv-tile__in { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.sv-tile input:checked + .sv-tile__in::after {
	content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.sv-tile input:focus-visible + .sv-tile__in { outline: 2px solid var(--accent); outline-offset: 2px; }
.sv-tile:active .sv-tile__in { transform: scale(.985); }

.sv-quiz__range { margin-top: 22px; max-width: 640px; }
.sv-quiz__val { display: block; margin-bottom: 10px; font-family: var(--head); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.sv-quiz__range input[type="range"] { width: 100%; height: 28px; accent-color: var(--accent); cursor: pointer; }
.sv-quiz__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; color: var(--muted); }

.sv-quiz__nav { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.sv-quiz__next { margin-left: auto; }
.sv-quiz__next:disabled { opacity: .45; cursor: not-allowed; }
.sv-quiz__back { padding: 8px 0; border: 0; background: none; color: var(--ink-2); font-family: var(--head); font-size: 15px; font-weight: 700; cursor: pointer; }
.sv-quiz__back::before { content: "‹ "; }
.sv-quiz__back:hover { color: var(--accent); }
.sv-quiz:not(.is-ready) .sv-quiz__nav { display: none; }

.sv-quiz__result { margin-top: 24px; padding: 24px 26px; border-radius: 14px; background: var(--sun-soft); }
.sv-quiz__rtitle { font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--ink-2); }
.sv-quiz__big { margin-top: 6px; font-family: var(--head); font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; color: var(--ink); }
.sv-quiz__big small { font-size: 20px; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.sv-quiz__battery { position: relative; height: 18px; max-width: 420px; margin-top: 16px; border: 2px solid var(--ink); border-radius: 5px; background: #fff; }
.sv-quiz__battery::after { content: ""; position: absolute; top: 3px; right: -7px; width: 4px; height: 8px; border-radius: 0 2px 2px 0; background: var(--ink); }
.sv-quiz__battery span { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.sv-quiz__batlabel { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.sv-quiz__sub { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.sv-quiz__ltitle { margin-top: 16px; font-family: var(--head); font-weight: 700; font-size: 15px; }
.sv-quiz__list { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.sv-quiz__list li { position: relative; padding-left: 22px; line-height: 1.45; }
.sv-quiz__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px #fff; }
.sv-quiz__tip { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #fff; font-weight: 600; line-height: 1.45; }
.sv-quiz__note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sv-quiz__note a { color: var(--accent); }

@media (max-width: 767px) {
	.sv-hub__tabs { gap: 8px; }
	.sv-hub__tab { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; min-height: 92px; text-align: center; font-size: 13px; }
	.sv-hub__tab .sv-ico { width: 34px; height: 34px; padding: 6px; }
	.sv-quiz { padding: 20px 18px; }
	.sv-quiz__q { font-size: 22px; }
	.sv-quiz__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.sv-tile__in { min-height: 104px; padding: 12px; }
	.sv-quiz__val { font-size: 34px; }
	.sv-quiz__result { padding: 18px; }
	.sv-quiz__big { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.sv-quiz__bar span, .sv-tile__in, .sv-hub__tab { transition: none; }
}

@media (min-width: 1024px) {
	.sv-quiz__tiles--many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
