/* UGN: розкладка. Відступи кратні 4 px, одна крива руху, один акцент. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.5 Geologica, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nw { white-space: nowrap; }
.num { font-family: 'UGN Digits', ui-monospace, 'SF Mono', Menlo, monospace; font-variant-numeric: tabular-nums; }
.dmd { flex: none; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 12px 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.skip:focus { top: 12px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 16px; font-weight: 500; transition: background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: #4ad3c6; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--surface-3); }
.btn--ink { background: #0F2F38; color: #e9f3f1; }
.btn--ink:hover { background: #17424e; }
.btn--sm { height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; }
.btn--sm .i { width: 16px; height: 16px; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.hdr__row { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; height: 44px; }
.brand__sub { white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 16px; }
.brand svg { width: 75px; height: 28px; fill: currentColor; }
.wm-d { fill: var(--diamond); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; transition: background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.nav a:hover { background: var(--surface-3); color: var(--ink); }
.nav .i { width: 16px; height: 16px; color: var(--muted); }
.menu { display: none; }

/* Тихий рядок про тестовий режим */
.beta { border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-size: 13px; line-height: 20px; }
.beta__in { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.beta__tag { flex: none; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--accent-ink); font-weight: 500; }

/* Герой-карусель: трек зі scroll-snap (гортається і без JS), слайди однієї висоти */
.hero { --ink: var(--night-ink); --ink-2: var(--night-ink-2); --muted: #8aa0a3; --line: rgba(233, 243, 241, 0.14); --surface-3: #142a2f; --focus: #2EC4B6; background: var(--night); color: var(--ink); }
.car { display: flex; flex-direction: column; }
.car__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car__track::-webkit-scrollbar { display: none; }
.slide { position: relative; isolation: isolate; display: flex; flex: 0 0 100%; flex-direction: column; min-width: 0; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.slide__in { display: flex; flex: 1; flex-direction: column; padding-top: 56px; }
.slide__copy { max-width: 600px; }
.slide__art { position: absolute; inset: 0; z-index: -1; display: block; }
.slide__art img { width: max(100%, calc(50% + 920px)); max-width: none; height: 100%; object-fit: cover; object-position: 100% 18%; }
.slide__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0, rgba(7, 19, 22, 0.9) 22%, rgba(7, 19, 22, 0) 52%), linear-gradient(90deg, var(--night) 0, rgba(7, 19, 22, 0.94) 24%, rgba(7, 19, 22, 0.62) 44%, rgba(7, 19, 22, 0) 66%); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--ink-2); font-size: 15px; line-height: 20px; }
h1 { font-size: clamp(40px, 4.8vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.slide__title { font-size: clamp(36px, 4.2vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.slide__lead { max-width: 32rem; margin-top: 20px; color: var(--ink-2); font-size: 19px; line-height: 28px; }
.is-out .pre, html:not(.is-out) .post-rel { display: none; }
.cd { display: flex; gap: 8px; margin-top: 32px; }
.cd__u { min-width: 100px; padding: 16px 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 19, 22, 0.72); }
.cd__n { display: block; font-size: 48px; font-weight: 500; line-height: 1; }
.cd__l { display: block; margin-top: 8px; color: var(--ink-2); font-size: 13px; line-height: 16px; }
.slide__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.slide--gta .slide__copy { margin-bottom: 48px; }
.slide__split { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.slide__split .slide__copy { order: -1; align-self: center; padding: 64px 0; }
.slide__visual { position: relative; display: grid; place-items: center; min-height: 0; }
.slide--news .kicker time { margin-left: 4px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.type-art { color: #2EC4B6; font-size: clamp(120px, 21vw, 300px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.slide--gw { background: #0F2F38; }
.gw-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide--tg { --ink: #0F2F38; --ink-2: #0F2F38; --focus: #0F2F38; background: #2EC4B6; color: #0F2F38; }
.slide--tg .dmd { background: #0F2F38; }
.tg-art { width: min(72%, 380px); aspect-ratio: 1; fill: #0F2F38; }
.pcard { width: min(100%, 440px); border: 1px solid var(--line); border-radius: 16px; background: #0d1d21; }
.pcard li { display: flex; align-items: center; gap: 16px; padding: 20px 24px; font-size: 19px; font-weight: 500; line-height: 28px; }
.pcard li + li { border-top: 1px solid var(--line); }
.pcard .i { width: 24px; height: 24px; color: var(--accent); }
.car__bar { order: 1; display: flex; align-items: center; gap: 8px; height: 56px; }
.car__dots { order: -1; display: flex; gap: 4px; margin-right: auto; }
.car__dots button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.car__dots button::before { content: ''; width: 24px; height: 4px; border-radius: 2px; background: rgba(233, 243, 241, 0.4); transition: background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.car__dots button:hover::before { background: rgba(233, 243, 241, 0.6); }
.car__dots [aria-current='true']::before { background: var(--accent); }
.car__count { order: -1; margin-right: 8px; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.car__btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--ink); cursor: pointer; transition: background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.car__btn:hover { background: var(--surface-3); }
.car__btn .i { width: 16px; height: 16px; }
.car:not(.is-paused) .car__play, .is-paused .car__pause { display: none; }
.facts { display: grid; margin-top: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 29, 33, 0.92); }
.fact { padding: 20px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact dt { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; line-height: 16px; }
.fact dt .i { width: 16px; height: 16px; color: var(--muted); }
.fact dd { margin-top: 8px; font-size: 17px; font-weight: 500; line-height: 24px; }
.fact small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 16px; }
.hero__credit { padding: 12px 0 16px; color: var(--muted); font-size: 12px; line-height: 16px; text-align: right; }

/* Секції */
.sec { padding: 72px 0; }
.feed { padding-top: 48px; }
.sec-note { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 16px; }
#news-title { font-size: 40px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h2 { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 15px; }
.more .i { width: 16px; height: 16px; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Стрічка */
.feed { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.lead__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-3); }
.lead__media--type { display: grid; place-items: center; min-height: 250px; background: var(--night); }
.lead__media--type .type-art { font-size: clamp(96px, 12vw, 168px); }
.lead__body { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.rubric { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-size: 13px; font-weight: 500; line-height: 16px; }
.rubric .i { width: 16px; height: 16px; }
h3 { font-weight: 500; }
.lead h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; }
h3 a { transition: color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
h3 a:hover { color: var(--accent-ink); }
.dek { color: var(--ink-2); font-size: 15px; line-height: 22px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--muted); font-size: 13px; line-height: 16px; }
.lead .meta { margin-top: auto; padding-top: 8px; }
.meta a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.meta .i { width: 14px; height: 14px; }
.river li { border-bottom: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; }
.item__media img { width: 100%; aspect-ratio: 3 / 2; border-radius: 10px; object-fit: cover; background: var(--surface-3); }
.item--text { grid-template-columns: minmax(0, 1fr); }
.item__facts { display: none; }
.item h3 { margin: 8px 0 4px; font-size: 19px; line-height: 1.3; }
.item .meta { margin-top: 8px; }

/* Бічна колонка */
.side { position: sticky; top: 88px; display: grid; gap: 20px; }
.side .gw { order: 2; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel__head .i { color: var(--muted); }
.panel h2 { font-size: 22px; letter-spacing: -0.01em; }
.panel__range { margin-left: auto; color: var(--muted); font-size: 13px; }
.rel li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rel__d { font-size: 15px; line-height: 20px; }
.rel__w { display: block; color: var(--muted); font-family: Geologica, system-ui, sans-serif; font-size: 12px; line-height: 16px; }
.rel__t { font-size: 15px; font-weight: 500; line-height: 20px; }
.rel__p { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 18px; }
.rel .is-main { margin: 0 -12px; padding: 12px; border-top-color: transparent; border-radius: 8px; background: var(--surface-3); }
.rel .is-main + li { border-top-color: transparent; }
.rel .is-main .rel__t { display: flex; align-items: center; gap: 10px; }
.rel .is-main .rel__p { color: var(--ink-2); }
.panel__src { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 18px; }
.panel__src a { text-decoration: underline; text-underline-offset: 3px; }
.rub li + li { border-top: 1px solid var(--line); }
.rub a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; }
.rub li:last-child a { padding-bottom: 0; }
.rub__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--surface-3); color: var(--ink-2); transition: color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.rub a:hover .rub__ic { color: var(--accent-ink); }
.rub__t { display: block; font-size: 15px; font-weight: 500; line-height: 20px; }
.rub__s { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }
.gw { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; transition: border-color 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.gw:hover { border-color: var(--accent-ink); }
.gw__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.gw__ic .i { width: 24px; height: 24px; }
.gw__t { font-size: 17px; font-weight: 500; line-height: 24px; }
.gw__s { display: flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.gw__s .i { width: 14px; height: 14px; }

/* Чому UGN */
.why { border-top: 1px solid var(--line); }
.why__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.why__lead { max-width: 32rem; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why__item { padding: 32px 32px 0; border-left: 1px solid var(--line); }
.why__item:first-child { padding-left: 0; border-left: 0; }
.why__item .i { width: 28px; height: 28px; color: var(--accent-ink); }
.why__item h3 { margin: 20px 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.why__item p { color: var(--ink-2); }

/* Заклик: бірюзове поле бренду */
.cta { position: relative; isolation: isolate; overflow: hidden; background: #2EC4B6; color: #0F2F38; --focus: #0F2F38; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; padding: 80px 0; }
.cta h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; }
.cta__lead { max-width: 30rem; margin-top: 16px; font-size: 18px; line-height: 28px; }
.cta__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.cta .btn { height: 56px; padding: 0 24px; font-size: 17px; }
.cta__handle { font-size: 15px; font-weight: 500; }
.cta__side { position: relative; isolation: isolate; padding: 20px 0; }
.cta__side::before, .cta__side::after { content: ''; position: absolute; z-index: -1; height: 64px; border-radius: 16px; }
.cta__side::before { top: 0; right: 24px; left: 24px; background: rgba(15, 47, 56, 0.16); }
.cta__side::after { right: 12px; bottom: 8px; left: 12px; background: rgba(15, 47, 56, 0.3); }
.post { padding: 20px; border-radius: 16px; background: #0F2F38; color: #e9f3f1; box-shadow: 0 16px 40px rgba(15, 47, 56, 0.28); }
.post__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(233, 243, 241, 0.12); }
.post__ava { width: 40px; height: 40px; border-radius: 10px; background: #2EC4B6; fill: #0F2F38; }
.post__name { font-size: 15px; font-weight: 500; line-height: 20px; }
.post__sub { color: #a9c0c3; font-size: 13px; line-height: 16px; }
.post__t { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 12px; font-size: 18px; font-weight: 500; line-height: 24px; }
.post__t .dmd { position: relative; top: -1px; }
.post__rows { display: grid; gap: 8px; }
.post__rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; color: #d3e3e2; font-size: 15px; line-height: 22px; }
.post__rows .i { width: 16px; height: 16px; margin-top: 3px; color: #8fb0b3; }
.post__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: #a9c0c3; font-size: 12px; line-height: 16px; }

/* Співпраця */
.part__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.part__lead { max-width: 30rem; margin-top: 16px; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.part__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.part__handle { color: var(--ink-2); font-size: 15px; }
.part__list { border-top: 1px solid var(--line); }
.part__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.part__list .i { width: 24px; height: 24px; margin-top: 2px; color: var(--accent-ink); }
.part__list h3 { font-size: 19px; line-height: 28px; }
.part__list p { color: var(--ink-2); font-size: 15px; line-height: 22px; }

/* Підвал */
.ftr { border-top: 1px solid var(--line); }
.ftr { padding: 56px 0 32px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1fr); gap: 48px; }
.ftr .brand { flex-direction: column; align-items: flex-start; gap: 8px; height: auto; }
.ftr .brand svg { width: 86px; height: 32px; }
.ftr .brand__sub { padding: 0; border: 0; }
.ftr__soon { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 17px; font-weight: 500; line-height: 24px; }
.ftr__soon .i { color: var(--accent-ink); }
.ftr__about { max-width: 26rem; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.ftr h2 { margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 16px; letter-spacing: 0; }
.ftr li a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink-2); font-size: 15px; }
.ftr li a:hover { color: var(--ink); }
.ftr li .i { width: 16px; height: 16px; color: var(--muted); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 20px; }

@media (max-width: 1080px) {
  .feed { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .side .gw { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cta__in { gap: 40px; }
}
@media (max-width: 1100px) {
  /* вузько: візуал слайда зверху, текст під ним, без тексту поверх арту */
  .slide__art { position: relative; z-index: 0; height: clamp(180px, min(52vw, 44vh), 400px); overflow: hidden; }
  .slide__visual { min-height: clamp(180px, 44vw, 360px); overflow: hidden; }
  .slide__art img { width: 100%; object-position: 88% 20%; }
  .slide__art::after { background: linear-gradient(0deg, var(--night) 0, rgba(7, 19, 22, 0) 40%); }
  .slide__in { padding-top: 20px; }
  .slide__split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0; }
  /* слайди без фото: текст і кнопка одразу на першому екрані, візуал заповнює решту висоти */
  .slide__split .slide__copy { align-self: start; padding: 32px 0; }
  .slide__split .slide__visual { width: 100vw; margin-left: calc(50% - 50vw); }
  .tg-art { width: min(56%, 300px); }
  .pcard { width: min(100% - 40px, 440px); }
  .type-art { font-size: clamp(120px, 38vw, 300px); }
  .slide--part .slide__visual { align-items: start; }
  .brand { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .brand__sub { padding: 0; border: 0; font-size: 12px; line-height: 14px; }
  .pcard li { padding: 16px 20px; font-size: 17px; line-height: 24px; }
}
@media (max-width: 760px) {
  /* Телефон (рішення D-006): дуже просто. Шапка - вордмарк, Telegram і меню рубрик; низька карусель
     без сітки фактів; стрічка списком одразу під нею; зони дотику від 44 px. Десктоп цей блок не зачіпає. */
  html { scroll-padding-top: 64px; }
  .wrap { width: min(100% - 32px, 1240px); }
  .wide { display: none; }
  h2 { font-size: 24px; }

  /* шапка */
  .hdr__row { gap: 8px; height: 56px; }
  .brand { margin-right: auto; }
  .hdr .brand svg { width: 64px; height: 24px; }
  .hdr .brand__sub { font-size: 11px; }
  .nav { display: none; }
  .hdr .btn--sm { height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; }
  .menu { display: block; }
  .menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--surface-3); }
  .menu__list { position: absolute; top: 100%; right: 0; left: 0; display: flex; padding: 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
  .menu__list a { display: grid; flex: 1; place-items: center; min-height: 48px; color: var(--ink-2); font-size: 15px; }
  .hdr:has(.menu[open]) { margin-bottom: 49px; }
  .beta { font-size: 12px; line-height: 18px; }
  .beta__in { gap: 8px; padding: 5px 0; }

  /* карусель: смуга візуалу зверху, під нею заголовок, один рядок і кнопка */
  /* смуга візуалу росте з висотою екрана, щоб уся карусель лишалась близько 60 % першого екрана */
  .car { --strip: clamp(64px, calc(40vh - 160px), 160px); }
  .slide__art { height: var(--strip); }
  .slide__art img { object-position: 50% 22%; }
  .slide__visual { height: var(--strip); min-height: 0; }
  .slide__in { padding-top: 12px; }
  .slide__split .slide__visual { order: -2; }
  .slide__split .slide__copy { padding: 12px 0 16px; }
  .slide--part .slide__visual { align-items: center; }
  .slide--gta .kicker, .facts, .hero__credit { display: none; }
  .slide--gta .slide__copy { margin-bottom: 16px; }
  .kicker { margin-bottom: 8px; font-size: 13px; line-height: 18px; }
  h1, .slide__title { font-size: clamp(24px, 7.4vw, 30px); line-height: 1.1; }
  .slide__lead { display: -webkit-box; margin-top: 6px; overflow: hidden; font-size: 15px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
  .cd__u { min-width: 0; padding: 8px 4px 6px 10px; border-radius: 10px; }
  .cd__n { font-size: 24px; }
  .cd__l { margin-top: 2px; font-size: 11px; line-height: 14px; }
  .slide__acts { margin-top: 12px; }
  .slide__acts .btn { flex: 1 1 auto; }
  .type-art { font-size: calc(var(--strip) * 0.72); }
  .tg-art { width: auto; height: 68%; }
  .pcard { display: flex; gap: 8px; width: auto; border: 0; background: none; }
  .pcard li, .pcard li + li { flex-direction: column; gap: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0d1d21; font-size: 12px; line-height: 16px; }
  .pcard .i { width: 20px; height: 20px; }
  .car__bar { height: 44px; }
  .car__dots { gap: 0; margin-left: -12px; }
  .car__dots button { width: 44px; height: 44px; }
  .car__dots button::before { width: 20px; }
  .car__count, [data-car='prev'], [data-car='next'] { display: none; }
  .car__btn { width: 44px; height: 44px; border-color: transparent; }

  /* стрічка: рядки "мініатюра + заголовок + дата і джерело", уся картка натискається */
  .sec { padding: 32px 0; }
  .feed { gap: 28px; padding-top: 16px; }
  #news-title { font-size: 26px; }
  .sec-head { align-items: center; margin-bottom: 0; }
  .more { min-height: 44px; white-space: nowrap; }
  .lead, .item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; }
  .lead { overflow: visible; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .item--text { grid-template-columns: minmax(0, 1fr); }
  .lead__media { overflow: hidden; border-radius: 8px; }
  .lead__media img, .item__media img { aspect-ratio: 3 / 2; border-radius: 8px; }
  .lead__media--type { min-height: 0; aspect-ratio: 3 / 2; background: #0F2F38; }
  .lead__media--type .type-art { font-size: 34px; }
  .lead__body { gap: 0; padding: 0; }
  .lead h3, .item h3 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: 0; }
  .lead h3 a::after, .item h3 a::after { content: ''; position: absolute; inset: 0; }
  .lead .rubric, .item .rubric, .lead .dek, .item .dek { display: none; }
  .lead .meta, .item .meta { margin-top: 6px; padding-top: 0; }
  .river { display: flex; flex-direction: column; }
  .river .has-facts { order: -1; }
  .item__facts { display: block; grid-column: 1 / -1; }
  .item__facts div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
  .item__facts dt { color: var(--muted); font-size: 13px; line-height: 20px; }
  .item__facts dd { font-size: 14px; font-weight: 500; line-height: 20px; }
  .item__facts small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 16px; }

  /* після стрічки: короткі релізи; рубрики вже в меню, "Чому UGN" і приклад поста на телефоні не показуємо */
  .side { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .side .gw { grid-column: auto; }
  .side nav.panel, .why, .cta__side { display: none; }
  .panel { padding: 16px; }
  .panel h2 { font-size: 20px; }
  .rel li { padding: 10px 0; }
  .gw { min-height: 44px; }
  .cta__in { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 0; }
  .cta h2 { font-size: 26px; }
  .cta__lead { margin-top: 8px; font-size: 15px; line-height: 22px; }
  .cta__acts { margin-top: 16px; }
  .cta .btn { width: 100%; height: 48px; font-size: 16px; }
  .part__in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .part__lead { margin-top: 8px; font-size: 15px; line-height: 22px; }
  .part__acts { margin-top: 16px; }
  .part__acts .btn { width: 100%; }
  .part__list li { gap: 14px; padding: 12px 0; }
  .part__list h3 { font-size: 16px; line-height: 24px; }
  .part__list p { display: none; }

  /* підвал: вордмарк, один рядок про сайт, контакти, права */
  .ftr { padding: 24px 0; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ftr__soon { margin-top: 12px; font-size: 15px; }
  .ftr__about, .ftr__top > nav, .ftr__top h2 { display: none; }
  .ftr__top ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .ftr li a { min-height: 44px; overflow-wrap: anywhere; }
  .ftr__bottom { gap: 4px; margin-top: 8px; padding-top: 12px; font-size: 12px; line-height: 18px; }
}
@supports (height: 1svh) {
  @media (max-width: 760px) {
    .car { --strip: clamp(64px, calc(40svh - 160px), 160px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav a, h3 a, .gw, .rub__ic, .car__btn, .car__dots button::before { transition: none; }
}
