/* «Дизайн 3» (13.11.2026): темний мінімалізм у дусі thedigital.gov.ua — чорне тло, графітові картки, великий гротеск,
   підписи розділів капсом, кнопки-пігулки. Розмітка — app/utils/au3.ts. Без Bootstrap і slick */
:root { --bg: #000; --card: #1a1a1a; --card2: #242424; --line: rgba(255,255,255,.1); --fg: #fff; --mut: #a3a3a3; --r: 16px; --gap: 12px;
  --acc: #ffd84a; --acc2: #3d8bff; --font: 'e-Ukraine', 'Helvetica Neue', Arial, sans-serif; --head: 'e-UkraineHead', 'e-Ukraine', Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.d3-lock, html.d3-lock body { overflow: hidden; }
body.au-d3 { margin: 0; background: var(--bg); color: var(--fg); font: 500 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
.au-d3 a { color: inherit; text-decoration: none; }
.au-d3 img { max-width: 100%; }
.au-d3 h1, .au-d3 h2, .au-d3 h3, .au-d3 h4 { font-family: var(--head); font-weight: 400; margin: 0; letter-spacing: -.01em; }
.au-d3 p { margin: 0 0 1em; }
.au-d3 :where(button) { font: inherit; color: inherit; }
.au-d3 :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.d3-wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.d3-main { min-height: 60vh; padding-top: 76px; }

/* Смужка завантаження */
#au-loadbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100500; pointer-events: none;
  background: linear-gradient(90deg, var(--acc2), #8fc1ff 60%, var(--acc)); box-shadow: 0 0 8px rgba(61,139,255,.6);
  animation: au-bar 2.4s cubic-bezier(.1,.6,.3,1) forwards; transition: opacity .35s ease .15s; }
#au-loadbar.done { width: 100% !important; animation: none; opacity: 0; transition: width .2s ease, opacity .35s ease .2s; }
#au-loadbar.go { animation: au-bar 2.4s cubic-bezier(.1,.6,.3,1) forwards; opacity: 1; }
@keyframes au-bar { 0% { width: 0 } 100% { width: 85% } }

/* ---------- шапка ---------- */
.d3-head { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; gap: 28px; padding: 0 20px;
  background: rgba(0,0,0,.6); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); transition: background .25s, box-shadow .25s; }
.d3-head.solid { background: rgba(0,0,0,.86); box-shadow: 0 1px 0 var(--line); }
.d3-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.d3-mark { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #000;
  background: radial-gradient(120% 120% at 20% 10%, #fff 0%, #ffe680 38%, #ffd84a 60%, #3d8bff 140%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.d3-name { font: 700 13px/1.15 var(--font); letter-spacing: .01em; }
.d3-nav { display: flex; gap: 22px; flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; }
.d3-nav a { color: rgba(255,255,255,.82); padding: 6px 0; position: relative; }
.d3-nav a.on { color: #fff; }
.d3-nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--acc); }
.d3-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.d3-lang { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 52px; padding: 0 14px; border-radius: 999px; background: var(--card2); font-size: 14px; }
.d3-lang.big { height: 48px; padding: 0 22px; }
.d3-burger { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--card2); cursor: pointer; position: relative; }
.d3-burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, top .25s; }
.d3-burger i:first-child { top: 17px; }
.d3-burger i:last-child { top: 25px; }
.d3-burger.x i:first-child { top: 21px; transform: rotate(45deg); }
.d3-burger.x i:last-child { top: 21px; transform: rotate(-45deg); }
@media (hover: hover) {
  .d3-nav a:hover { color: #fff; }
  .d3-lang:hover, .d3-burger:hover { background: #333; }
}
@media (max-width: 1180px) { .d3-nav { display: none; } }

/* Меню на весь екран */
.d3-menu { position: fixed; z-index: 999; inset: 76px 0 0 0; background: #000; overflow: auto; animation: d3-fade .25s ease; }
.d3-menu[hidden] { display: none; }
.d3-menu-in { max-width: 1440px; margin: 0 auto; padding: 24px 20px 40px; }
.d3-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.d3-menu-item { background: var(--card); border-radius: var(--r); padding: 20px; min-height: 180px; display: flex; flex-direction: column; }
.d3-menu-main { font: 400 26px/1.15 var(--head); display: block; margin-bottom: 10px; }
.d3-num { display: block; font: 500 12px var(--font); color: var(--mut); margin-bottom: 18px; letter-spacing: .08em; }
.d3-menu-item p { color: var(--mut); font-size: 14px; margin: 0 0 14px; }
.d3-menu-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.d3-menu-sub a { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--card2); }
.d3-menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.au-design { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); font-size: 14px; }
.au-design a, .au-design span { padding: 10px 18px; border-radius: 999px; line-height: 1.2; }
.au-design .on { background: #fff; color: #000; }
@media (hover: hover) { .d3-menu-sub a:hover, .au-design a:hover { background: #333; } .d3-menu-item:hover { background: #202020; } }
@media (max-width: 991px) { .d3-menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .d3-menu-grid { grid-template-columns: 1fr; } .d3-menu-item { min-height: 0; } .d3-menu-main { font-size: 22px; } .d3-num { margin-bottom: 8px; } }
@keyframes d3-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- загальні блоки ---------- */
.d3-sec { padding: 16px 0 40px; }
.d3-label { font: 500 13px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.85); margin: 8px 0 16px; }
.d3-more { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.d3-more.left { justify-content: flex-start; }
.d3-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--card2); color: #fff; font-size: 15px; border: 0; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.d3-pill svg { flex: none; }
.d3-pill.light { background: #fff; color: #000; }
.d3-pill.sm { height: 36px; padding: 0 14px; font-size: 13px; }
@media (hover: hover) { .d3-pill:hover { background: #333; } .d3-pill.light:hover { background: var(--acc); } }
.d3-meta { font-size: 13px; color: var(--mut); display: flex; align-items: center; gap: 6px; }
.d3-sub { font-size: 14px; color: var(--mut); margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.d3-sub svg { flex: none; margin-top: 3px; }
.d3-h1 { font: 400 clamp(34px, 5vw, 64px)/1.04 var(--head) !important; letter-spacing: -.02em !important; }
.d3-h1.sm { font-size: clamp(28px, 3.2vw, 44px) !important; }
.d3-h2 { font: 400 clamp(26px, 3vw, 38px)/1.1 var(--head) !important; margin-bottom: 18px !important; }
.d3-lead { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.86); }
.d3-panel { background: var(--card); border-radius: var(--r); padding: 28px; }
.d3-prose { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.9); }
.d3-prose.narrow { max-width: 860px; margin: 0 auto; }
.d3-prose h2, .d3-prose h3, .d3-prose h4 { margin: 1.4em 0 .6em; line-height: 1.2; }
.d3-prose h2 { font-size: 28px; }
.d3-prose h3 { font-size: 22px; }
.d3-prose a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.d3-prose img { height: auto; border-radius: 12px; margin: 10px 0; display: block; }
.d3-prose ul, .d3-prose ol { padding-left: 1.2em; }
.d3-prose li { margin-bottom: .4em; }
.d3-prose iframe { width: 100%; border: 0; border-radius: 12px; aspect-ratio: 16/9; height: auto; }
.d3-prose table { width: 100%; border-collapse: collapse; }
.d3-prose td, .d3-prose th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.d3-prose > :first-child { margin-top: 0; }
.d3-empty { color: var(--mut); padding: 40px 0; font-size: 18px; }

/* фото: плавна поява */
.d3-lazy { opacity: 0; transition: opacity .5s ease; }
.d3-lazy.loaded { opacity: 1; }
/* поява блоків */
.d3-anim .d3-rise { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.d3-anim .d3-rise.in { opacity: 1; transform: none; }

/* ---------- картки ---------- */
.d3-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); padding: 8px; position: relative; break-inside: avoid; transition: background .25s; }
.d3-card .d3-ph { display: block; border-radius: 10px; overflow: hidden; background: #111; }
.d3-card .d3-ph img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.d3-card .d3-cb { display: block; padding: 14px 10px 10px; }
.d3-card h3 { font: 400 20px/1.25 var(--head); margin: 6px 0 0; }
.d3-food .d3-ph, .d3-place .d3-ph { aspect-ratio: 4/3; }
.d3-food .d3-ph img, .d3-place .d3-ph img { height: 100%; object-fit: cover; }
.d3-place .d3-pill { align-self: flex-start; margin: 0 10px 10px; }
@media (hover: hover) { .d3-card:hover { background: #222; } .d3-card:hover .d3-ph img { transform: scale(1.04); } }

.d3-masonry { columns: 3; column-gap: var(--gap); }
.d3-masonry.four { columns: 4; }
.d3-masonry > * { margin-bottom: var(--gap); }
.d3-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .d3-masonry.four { columns: 3; } }
@media (max-width: 991px) { .d3-masonry, .d3-masonry.four { columns: 2; } .d3-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .d3-masonry, .d3-masonry.four { columns: 1; } .d3-grid { grid-template-columns: 1fr; } }

/* велика картка з фото й текстом поверх */
.d3-cover { position: relative; display: block; min-height: 360px; border-radius: var(--r); overflow: hidden; background: var(--card); isolation: isolate; }
.d3-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.d3-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.82) 100%); }
.d3-cover-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.d3-cover h3 { font: 400 26px/1.15 var(--head); max-width: 640px; }
.d3-cover p { margin: 10px 0 0; color: rgba(255,255,255,.85); max-width: 560px; font-size: 15px; }
.d3-cover .d3-meta { color: rgba(255,255,255,.8); margin-bottom: 10px; }
.d3-covers { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.d3-covers .wide { grid-column: span 2; min-height: 460px; }
.d3-covers.three { grid-template-columns: repeat(3, 1fr); }
.d3-covers.three .d3-cover { min-height: 420px; }
.d3-cover.tour { min-height: 280px; }
@media (hover: hover) { .d3-cover:hover img { transform: scale(1.04); } }
@media (max-width: 767px) { .d3-covers, .d3-covers.three { grid-template-columns: 1fr; } .d3-covers .wide { grid-column: auto; min-height: 360px; } .d3-cover { min-height: 300px; } .d3-covers.three .d3-cover { min-height: 300px; } .d3-cover h3 { font-size: 22px; } }

/* стрічка з прокруткою */
.d3-rail-box { position: relative; }
.d3-rail { display: flex !important; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 2px; }
.d3-rail::-webkit-scrollbar { display: none; }
.d3-rail > * { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); scroll-snap-align: start; }
.d3-rail .d3-art .d3-ph { aspect-ratio: 3/4; }
.d3-rail .d3-art .d3-ph img { height: 100%; object-fit: cover; }
.d3-rail-btn { position: absolute; top: 38%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.d3-rail-btn.prev { left: -8px; }
.d3-rail-btn.next { right: -8px; }
.d3-rail-box.at-start .prev, .d3-rail-box.at-end .next { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .d3-rail > * { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 767px) { .d3-rail > * { flex-basis: 72%; } .d3-rail-btn { display: none; } .d3-rail { margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; } }

/* ---------- головна ---------- */
.d3-top { padding-top: 8px; }
.d3-hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); align-items: start; }
.d3-hero { position: relative; height: min(72vh, 640px); min-height: 460px; border-radius: var(--r); overflow: hidden; background: radial-gradient(80% 90% at 80% 20%, #1d3f86 0%, #0b0b0b 60%); }
.d3-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; isolation: isolate; }
.d3-slide.on { opacity: 1; visibility: visible; }
.d3-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 8s linear; }
.d3-slide.on img { transform: scale(1); }
.d3-slide::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 80% at 0% 100%, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 70%), linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 50%); }
.d3-slide-in { position: absolute; left: 0; bottom: 0; padding: 0 clamp(22px, 6%, 80px) 74px; max-width: 760px; }
.d3-slide h2 { font: 400 clamp(36px, 5.2vw, 72px)/1.02 var(--head); letter-spacing: -.025em; margin: 14px 0 16px; }
.d3-slide p { font-size: 17px; color: rgba(255,255,255,.88); max-width: 520px; margin-bottom: 22px; }
.d3-slide .d3-meta { color: rgba(255,255,255,.85); letter-spacing: .04em; }
.d3-slide-in .d3-pill { pointer-events: none; }
.d3-dots { position: absolute; left: clamp(22px, 6%, 80px); right: clamp(22px, 6%, 80px); bottom: 28px; display: flex; gap: 6px; z-index: 3; }
.d3-dots button { flex: 1; max-width: 80px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.d3-dots button i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.d3-dots button i::after { content: ''; position: absolute; inset: 0; width: 0; background: #fff; }
.d3-dots button.on i::after { animation: d3-prog var(--d3-ms, 7000ms) linear forwards; }
@keyframes d3-prog { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .d3-dots button.on i::after { animation: none; width: 100%; } .d3-slide img { transition: none; transform: none; } }
.d3-side { display: flex; flex-direction: column; gap: 8px; }
.d3-side .d3-label { margin-bottom: 8px; }
.d3-upd { display: block; background: var(--card); border-radius: var(--r); padding: 14px 16px; transition: background .2s; }
.d3-upd-top { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.d3-upd-top > span:nth-child(2) { flex: 1; }
.d3-tile { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #000; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--acc); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.d3-tile.img img { width: 100%; height: 100%; object-fit: cover; }
.d3-go { color: var(--mut); transition: transform .2s, color .2s; }
.d3-upd p { margin: 10px 0 0; color: var(--mut); font-size: 14px; }
@media (hover: hover) { .d3-upd:hover { background: #222; } .d3-upd:hover .d3-go { transform: translateX(3px); color: #fff; } }
@media (max-width: 991px) { .d3-hero-grid { grid-template-columns: 1fr; } .d3-hero { height: 78vh; min-height: 520px; } .d3-side { margin-top: 16px; } }
@media (max-width: 560px) { .d3-slide-in { padding-bottom: 64px; } .d3-slide h2 { font-size: 34px; } .d3-slide p { font-size: 15px; } }

/* біжучий рядок фото */
.d3-marquee { position: relative; overflow: hidden; padding: 8px 0 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.d3-mq { display: flex; gap: var(--gap); width: max-content; animation: d3-mq 60s linear infinite; }
.d3-marquee.paused .d3-mq { animation-play-state: paused; }
.d3-mq-i { flex: none; width: 220px; height: 120px; border-radius: var(--r); background: var(--card); overflow: hidden; }
.d3-mq-i img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .85; }
.d3-mq-pause { position: absolute; right: 26px; bottom: 6px; width: 22px; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; }
.d3-mq-pause::before, .d3-mq-pause::after { content: ''; position: absolute; top: 5px; width: 3px; height: 12px; background: #fff; }
.d3-mq-pause::before { left: 6px; }
.d3-mq-pause::after { right: 6px; }
.d3-marquee.paused .d3-mq-pause::before { left: 7px; width: 0; height: 0; background: none; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.d3-marquee.paused .d3-mq-pause::after { display: none; }
@keyframes d3-mq { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (prefers-reduced-motion: reduce) { .d3-mq { animation: none; } }
@media (max-width: 767px) { .d3-mq-i { width: 150px; height: 90px; } }

/* текст + відео */
.d3-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }
.d3-split.top { align-items: start; }
.d3-split .d3-panel { display: flex; flex-direction: column; justify-content: center; }
.d3-split.top .d3-panel { justify-content: flex-start; }
.d3-panel > p { color: rgba(255,255,255,.86); }
.d3-video { border-radius: var(--r); overflow: hidden; background: var(--card); aspect-ratio: 16/10; }
.d3-video iframe { width: 100%; height: 100%; display: block; }
@media (max-width: 991px) { .d3-split { grid-template-columns: 1fr; } .d3-panel { padding: 22px; } }

/* цитати */
.d3-quotes { position: relative; background: var(--card); border-radius: var(--r); padding: clamp(28px, 6vw, 72px); min-height: 320px; overflow: hidden; display: grid; }
.d3-quotes::before { content: '“'; position: absolute; right: 4%; top: -6%; font: 400 300px/1 var(--head); color: rgba(255,216,74,.08); pointer-events: none; }
.d3-quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; padding-bottom: 36px; }
.d3-quote.on { opacity: 1; visibility: visible; }
.d3-quote blockquote { margin: 0; font: 400 clamp(22px, 3vw, 40px)/1.2 var(--head); letter-spacing: -.015em; max-width: 1100px; }
.d3-quote figcaption { margin-top: 22px; color: var(--mut); font-size: 15px; }
.d3-quote figcaption::before { content: '— '; }
.d3-dots.static { position: absolute; left: clamp(28px, 6vw, 72px); bottom: 26px; right: auto; width: min(420px, 70%); }

/* SEO-текст і FAQ */
.d3-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.d3-seo .d3-prose h2 { margin-top: 0; font-size: 30px; }
.d3-faq { display: flex; flex-direction: column; gap: 8px; }
.d3-faq-i { background: var(--card); border-radius: var(--r); }
.d3-faq-i summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative; font-size: 16px; }
.d3-faq-i summary::-webkit-details-marker { display: none; }
.d3-faq-i summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--card2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s; }
.d3-faq-i[open] summary::after { transform: rotate(45deg); }
.d3-faq-i > div { padding: 0 20px 18px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.6; }
@media (max-width: 991px) { .d3-seo { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- внутрішні сторінки ---------- */
.d3-phead { padding: 18px 0 24px; }
.d3-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--mut); margin-bottom: 22px; }
.d3-crumbs i { font-style: normal; opacity: .5; }
.d3-crumbs a { color: rgba(255,255,255,.8); }
.d3-back { width: 36px; height: 36px; border-radius: 50%; background: var(--card2); display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; }
@media (hover: hover) { .d3-crumbs a:hover { color: #fff; } .d3-back:hover { background: #333; } }
.d3-phead-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.d3-phead-grid .d3-lead p:last-child { margin-bottom: 0; }
.d3-count { margin-top: 18px; color: var(--mut); font-size: 14px; }
.d3-count b { color: #fff; font-weight: 500; }
@media (max-width: 991px) { .d3-phead-grid { grid-template-columns: 1fr; gap: 16px; } .d3-lead { font-size: 16px; } }

/* фільтри */
.d3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.d3-chips.col { margin-bottom: 0; }
.d3-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
.d3-chips.scroll::-webkit-scrollbar { display: none; }
.d3-chip { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--card); font-size: 14px; transition: background .2s, color .2s; }
.d3-chip.on { background: #fff; color: #000; }
@media (hover: hover) { .d3-chip:not(.on):hover { background: #2a2a2a; } }
.d3-with-filter { display: grid; grid-template-columns: 300px 1fr; gap: var(--gap); align-items: start; }
.d3-filters { position: sticky; top: 92px; background: var(--card); border-radius: var(--r); padding: 20px; }
.d3-sheet-head { display: none; }
.d3-fgroup + .d3-fgroup { margin-top: 20px; }
.d3-fgroup > span, .d3-field > span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin-bottom: 10px; }
.d3-field { display: block; margin-bottom: 16px; }
.d3-field select { width: 100%; height: 46px; border: 0; border-radius: 12px; padding: 0 38px 0 14px; background: var(--card2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; color: #fff; font: inherit; font-size: 15px; -webkit-appearance: none; appearance: none; }
.d3-field select option { background: #1a1a1a; }
.d3-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d3-form .d3-pill { width: 100%; justify-content: center; }
.d3-reset { display: block; text-align: center; margin-top: 12px; color: var(--mut); font-size: 14px; }
.d3-fbtn, .d3-shade { display: none; }
@media (min-width: 992px) { .d3-form .d3-pill { display: none; } }
@media (max-width: 991px) {
  .d3-with-filter { grid-template-columns: 1fr; }
  .d3-fbtn { display: inline-flex; align-items: center; gap: 10px; position: fixed; z-index: 900; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: #fff; color: #000; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.6); cursor: pointer; }
  .d3-fbtn b { min-width: 22px; height: 22px; border-radius: 11px; background: #000; color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
  .d3-filters { position: fixed; z-index: 1100; top: auto; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); background: #141414; }
  .d3-filters.show { transform: none; }
  .d3-filters::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: #444; margin: 0 auto 12px; }
  .d3-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 20px; }
  .d3-sheet-head b { font-weight: 500; }
  .d3-sheet-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--card2); cursor: pointer; }
  .d3-shade { display: block; position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .d3-shade.show { opacity: 1; pointer-events: auto; }
  .d3-list { padding-bottom: 90px; }
}

/* сторінки */
.d3-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.d3-pg { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.d3-pg.on { background: #fff; color: #000; }
@media (hover: hover) { a.d3-pg:hover { background: #2a2a2a; } }

/* твір / артефакт */
.d3-ex-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); align-items: start; }
.d3-stage { position: relative; background: var(--card); border-radius: var(--r); padding: clamp(12px, 3vw, 40px); display: flex; align-items: center; justify-content: center; min-height: 420px; }
.d3-stage.photo { padding: 0; overflow: hidden; min-height: 0; }
.d3-stage.photo img { display: block; width: 100%; height: auto; }
.d3-stage .exhibit-thmb { width: 100%; }
.d3-zoom { margin: 0; background-size: 220%; background-repeat: no-repeat; position: relative; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.d3-zoom img { display: block; width: 100%; max-height: 76vh; object-fit: contain; transition: opacity .2s; }
.d3-zoom.on img { opacity: 0; }
.d3-arr { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: rgba(255,255,255,.92); color: #000; display: flex; align-items: center; justify-content: center; z-index: 6; }
.d3-arr.prev { left: 12px; }
.d3-arr.next { right: 12px; }
.d3-info { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.d3-info .d3-prose { background: var(--card); border-radius: var(--r); padding: 22px; }
.d3-acc { background: var(--card); border-radius: var(--r); }
.d3-acc summary { cursor: pointer; padding: 18px 22px; list-style: none; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.d3-acc summary::-webkit-details-marker { display: none; }
.d3-acc .d3-prose { padding-top: 0; }
.d3-embed iframe { width: 100%; border-radius: 12px; }
@media (max-width: 991px) { .d3-ex-grid { grid-template-columns: 1fr; } .d3-info { position: static; } .d3-stage { min-height: 0; } }

/* страва */
.d3-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d3-gal { border-radius: 12px; overflow: hidden; background: var(--card); aspect-ratio: 4/3; }
.d3-gal.big { grid-column: 1 / -1; aspect-ratio: auto; border-radius: var(--r); }
.d3-gal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d3-ingr { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.d3-steps ol { counter-reset: s; list-style: none; padding: 0; }
.d3-steps ol > li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px; }
.d3-steps ol > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--acc); color: #000; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* стаття */
.d3-art-hero { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; background: var(--card); isolation: isolate; display: flex; align-items: flex-end; }
.d3-art-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.d3-art-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85)); }
.d3-art-hero-in { padding: clamp(22px, 5vw, 56px); max-width: 1000px; }
.d3-art-hero .d3-meta { color: rgba(255,255,255,.85); margin-bottom: 14px; }
.d3-article { display: grid; grid-template-columns: 300px minmax(0, 820px); gap: 40px; justify-content: center; }
.d3-aside { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: sticky; top: 92px; align-self: start; }
.d3-author { background: var(--card); border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; width: 100%; }
.d3-author > img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.d3-author b { font-weight: 500; }
.d3-author-bio { grid-column: 1 / -1; color: var(--mut); font-size: 13px; line-height: 1.5; }
.d3-author-bio p:last-child { margin: 0; }
.d3-body .d3-lead { margin-bottom: 1.4em; font-size: 20px; }
.d3-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--acc); font-size: 19px; }
.d3-quiz { background: radial-gradient(80% 120% at 100% 0%, #1d3f86 0%, #1a1a1a 60%); border-radius: var(--r); padding: clamp(22px, 5vw, 48px); }
.d3-quiz .test-container, .d3-quiz .container-fluid, .d3-quiz .test-container-wrap { padding: 0; margin: 0; background: none; }
.d3-quiz h2, .d3-quiz h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin-bottom: 14px; }
.d3-quiz p { color: rgba(255,255,255,.85); max-width: 760px; }
.d3-quiz img { display: none; }
.d3-quiz .test-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; background: #fff; color: #000; margin-top: 10px; }
.d3-sources { font-size: 14px; color: var(--mut); }
@media (max-width: 991px) { .d3-article { grid-template-columns: 1fr; gap: 20px; } .d3-aside { position: static; } .d3-art-hero { min-height: 360px; } }

/* музеї */
.d3-chip-360 { position: absolute; z-index: 3; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(0,0,0,.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 13px; }
.d3-chip-360.big { top: auto; bottom: 16px; height: 44px; padding: 0 18px; font-size: 15px; }
.d3-prevnext { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* тур */
.d3-pano { margin-bottom: 20px; }
.d3-pano .street-view:not(:fullscreen):not(.au-fs) { border-radius: var(--r); }
.d3-pano iframe { width: 100%; min-height: 72vh; border-radius: var(--r); }

/* 404 */
.d3-404 { padding: 40px 0 80px; }
.d3-404-num { font: 400 clamp(120px, 26vw, 320px)/.9 var(--head); letter-spacing: -.05em; background: linear-gradient(120deg, #fff 10%, var(--acc) 50%, var(--acc2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }

/* ---------- футер ---------- */
.d3-foot { margin-top: 60px; padding: 60px 0 30px; border-top: 1px solid var(--line); font-size: 14px; }
.d3-fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.d3-fcol h4 { font: 700 12px var(--font) !important; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px !important; }
.d3-fcol a { display: block; color: rgba(255,255,255,.72); margin-bottom: 10px; }
@media (hover: hover) { .d3-fcol a:hover { color: #fff; } }
.d3-fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.d3-mk { display: flex; align-items: center; gap: 12px; }
.d3-mk span { max-width: 180px; line-height: 1.25; }
.d3-google { display: flex; align-items: center; gap: 10px; color: var(--mut); }
.d3-google img { height: 22px; width: auto; }
.d3-copy { margin-left: auto; color: var(--mut); }
.d3-copy a { color: #fff; }
@media (max-width: 991px) { .d3-fgrid { grid-template-columns: 1fr 1fr; } .d3-copy { margin-left: 0; width: 100%; } }

/* ---------- сторінки з власним дизайном (HTML дизайну 2, перефарбований) ---------- */
.d3-raw { padding-bottom: 20px; }
.d3-raw .container, .d3-raw .container-fluid { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.d3-raw .row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--gap) / -2); }
.d3-raw .row > [class*="col"] { padding: 0 calc(var(--gap) / 2); width: 100%; }
@media (min-width: 576px) { .d3-raw .col-sm-6 { width: 50% !important; } }
@media (min-width: 768px) { .d3-raw .col-md-4 { width: 33.333% !important; } .d3-raw .col-md-6 { width: 50% !important; } }
@media (min-width: 992px) { .d3-raw .col-lg-3 { width: 25% !important; } .d3-raw .col-lg-4 { width: 33.333% !important; } .d3-raw .col-lg-5 { width: 41.666% !important; } .d3-raw .col-lg-6 { width: 50% !important; } .d3-raw .col-lg-7 { width: 58.333% !important; } .d3-raw .col-lg-8 { width: 66.666% !important; } .d3-raw .mx-lg-auto, .d3-raw .mx-auto { margin-left: auto; margin-right: auto; } .d3-raw .d-lg-none { display: none !important; } .d3-raw .d-lg-block { display: block !important; } }
@media (max-width: 991px) { .d3-raw .d-none { display: none !important; } }
.d3-raw .mx-auto { margin-left: auto; margin-right: auto; }
.d3-raw section { padding: 16px 0 32px; position: relative; }
.d3-raw .background-line, .d3-raw .background-line-mobile, .d3-raw .section-background, .d3-raw .gradient, .d3-raw [class^="wave"], .d3-raw .animated-bg, .d3-raw .slick-nav, .d3-raw .test-line, .d3-raw .category-head-line { display: none !important; }
.d3-raw h1, .d3-raw .page-title { font: 400 clamp(34px, 5vw, 64px)/1.04 var(--head); letter-spacing: -.02em; margin: 0 0 18px; }
.d3-raw h2 { font: 400 clamp(26px, 3vw, 38px)/1.12 var(--head); margin: 0 0 16px; }
.d3-raw h3 { font: 400 22px/1.2 var(--head); margin: 0 0 10px; }
.d3-raw p, .d3-raw li { color: rgba(255,255,255,.86); line-height: 1.65; }
.d3-raw .page-desc, .d3-raw .desc { font-size: 17px; }
.d3-raw .page-nav { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mut); margin: 18px 0 22px; }
.d3-raw .page-back { width: 36px; height: 36px; border-radius: 50%; background: var(--card2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M10 3L5 8l5 5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; flex: none; }
.d3-raw .breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.d3-raw .breadcrumbs span + span::before { content: '/'; opacity: .5; margin-right: 8px; }
.d3-raw .uppertitle { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); display: block; margin-bottom: 10px; }
.d3-raw .section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.d3-raw .section-title h2 { font: 500 13px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.d3-raw .btn, .d3-raw .test-btn, .d3-raw a.button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--card2); color: #fff; font-size: 15px; border: 0; margin-top: 8px; }
.d3-raw .btn.primary, .d3-raw .test-btn { background: #fff; color: #000; }
.d3-raw .btn-more { display: flex; justify-content: flex-end; margin-top: 16px; }
@media (hover: hover) { .d3-raw .btn:hover { background: #333; color: #fff; } .d3-raw .btn.primary:hover, .d3-raw .test-btn:hover { background: var(--acc); color: #000; } }
.d3-raw img { height: auto; }
/* картки */
.d3-raw .place-item, .d3-raw .card-item, .d3-raw .blog-item, .d3-raw .food-item, .d3-raw .food-item-list, .d3-raw .tour-item, .d3-raw .place-vr-item { position: relative; background: var(--card); border-radius: var(--r); padding: 8px; margin-bottom: var(--gap); }
.d3-raw .thmb { border-radius: 10px; overflow: hidden; position: relative; background: #111; }
.d3-raw .thmb img, .d3-raw .thmb-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d3-raw .place-item .thmb, .d3-raw .food-item .thmb, .d3-raw .food-item-list .thmb, .d3-raw .place-vr-item .thmb { aspect-ratio: 4/3; }
.d3-raw .entry-title { padding: 12px 8px 6px; }
.d3-raw .entry-title h3 { font-size: 19px; margin: 0 0 6px; }
.d3-raw .place-icon { color: var(--mut); font-size: 14px; display: block; }
.d3-raw .place-vr-icon { position: absolute; z-index: 3; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(0,0,0,.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 13px; }
.d3-raw .place-vr-icon::before { content: '360°'; font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--acc); color: #000; }
/* архітектура: великі блоки фото + текст */
.d3-raw .architec-item { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); background: var(--card); border-radius: var(--r); padding: 8px; align-items: center; }
.d3-raw .architec-item.reverse .thmb { order: 2; }
.d3-raw .architec-item .thmb { aspect-ratio: 16/10; }
.d3-raw .architec-item .info { padding: 20px 24px; }
.d3-raw .architec-item h3, .d3-raw .architec-item h3 a { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--head); }
@media (max-width: 767px) { .d3-raw .architec-item { grid-template-columns: 1fr; } .d3-raw .architec-item.reverse .thmb { order: 0; } .d3-raw .architec-item .info { padding: 8px 10px 14px; } }
/* стрічки зі старих каруселей */
.d3-raw .slick-carousel { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.d3-raw .slick-carousel::-webkit-scrollbar { display: none; }
.d3-raw .slick-carousel > * { flex: 0 0 min(320px, 78%); scroll-snap-align: start; }
.d3-raw .slick-carousel .food-item-list, .d3-raw .slick-carousel .card-item { margin-bottom: 0; height: 100%; }
/* блоки тексту */
.d3-raw .info-box, .d3-raw .vstup-wrap, .d3-raw .about-info .col-lg-8, .d3-raw .text-wrap { background: var(--card); border-radius: var(--r); padding: clamp(20px, 4vw, 40px); }
.d3-raw .img-in-text img, .d3-raw .img1 img { border-radius: 12px; }
.d3-raw .fact-wrap { background: var(--card); border-radius: var(--r); padding: 20px; margin-bottom: var(--gap); }
.d3-raw iframe { max-width: 100%; border: 0; border-radius: 12px; }
.d3-raw .youtube iframe, .d3-raw .api-embeded iframe { width: 100%; aspect-ratio: 16/9; height: auto; }
.d3-raw .list-sourse { font-size: 14px; color: var(--mut); }
.d3-raw a:not(.btn):not(.test-btn) { color: inherit; }
.d3-raw .info a:not(.btn), .d3-raw p a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.d3-raw .copyright { font-size: 12px; color: var(--mut); }
.d3-raw .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.d3-raw .food-tag-link, .d3-raw .tag { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--card); font-size: 14px; }
.d3-raw .food-tag-link.active, .d3-raw .tag.active { background: #fff; color: #000; }

/* тест: вікно в темному стилі */
.au-qz { background: rgba(0,0,0,.72) !important; }
.au-qz-card { background: #141414 !important; color: #fff !important; }
.au-qz-x { background: var(--card2) !important; color: #fff !important; }
.au-qz-step { color: var(--acc) !important; }
.au-qz-bar { background: #2a2a2a !important; }
.au-qz-bar i { background: var(--acc) !important; }
.au-qz-q { color: #fff !important; font-family: var(--head); font-weight: 400 !important; }
.au-qz-opt { background: var(--card) !important; border-color: #2c2c2c !important; color: #fff !important; }
.au-qz-opt b { background: var(--card2) !important; color: #fff !important; }
.au-qz-opt.ok { border-color: #2e9d5b !important; background: #10291a !important; }
.au-qz-opt.ok b { background: #2e9d5b !important; }
.au-qz-opt.bad { border-color: #d24b3e !important; background: #2d1210 !important; }
.au-qz-opt.bad b { background: #d24b3e !important; }
.au-qz-fb p.ok { color: #6fd796 !important; }
.au-qz-fb p.bad { color: #ff8a7a !important; }
.au-qz-fb p.bad b { color: #fff !important; }
.au-qz-btn { background: #fff !important; color: #000 !important; }
.au-qz-link { color: var(--mut) !important; }
.au-qz-score { color: #fff !important; }
.au-qz-score small { color: var(--mut) !important; }

/* ===== Спільне з дизайном 2: гра «Знайди страву», тест, захист фото, панорами ===== */
/* ===== Гра «Знайди страву» на столі «Смаків» (13.11.2026) ===== */
.page-31:has(.food-btn:hover) .next-section { opacity: 0; pointer-events: none; }
.au-fg-start { position: absolute; z-index: 16; right: 16px; bottom: 34px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 14px; border: 0; border-radius: 40px; background: #ffe4b5; color: #046bb5; font: 15px/1.1 'MuseoSansBold', Arial, sans-serif;
  box-shadow: 0 6px 18px rgba(0,0,0,.28); cursor: pointer; animation: au-fg-pulse 2.4s ease-in-out infinite; }
.au-fg-ico { font-size: 18px; }
@keyframes au-fg-pulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.05) } }
body.au-fg-on { overflow: hidden; }
body.au-fg-on .food-img-interactive { background: linear-gradient(#0b4a1d, #1f6e2c 45%, #f1ede4 78%); }
body.au-fg-on .au-fg-start, body.au-fg-on .next-section, body.au-fg-on #menu-toggle, body.au-fg-on .share-fixed, body.au-fg-on .powered-by, body.au-fg-on .logo-inner { opacity: 0 !important; pointer-events: none; }
body.au-fg-on .food-container .food-btn:not(.au-fg-dish) { display: none; }
body.au-fg-on .food-btn > div { display: none !important; }
body.au-fg-on .food-container .food-btn.au-fg-dish:after { background-color: rgba(255,255,255,.55); border-radius: 100px; transform: scale(.9); }
body.au-fg-on .food-btn:hover:before { transform: none; }
.top-food-img { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.food-btn.au-fg-ok:after { background-color: rgba(76,200,110,.95) !important; transform: scale(1.35) !important; }
.food-btn.au-fg-bad { animation: au-fg-shake .4s; }
.food-btn.au-fg-bad:after { background-color: rgba(230,60,60,.85) !important; transform: scale(1.2) !important; }
.food-btn.au-fg-show:after { background-color: rgba(255,228,181,1) !important; transform: scale(1.5) !important; animation: au-fg-blink .4s 3; }
@keyframes au-fg-shake { 0%,100% { translate: 0 } 25% { translate: -6px } 75% { translate: 6px } }
@keyframes au-fg-blink { 50% { opacity: .3 } }
.au-fg-hud { position: fixed; z-index: 3000; left: 10px; right: 10px; top: 10px; max-width: 520px; margin: 0 auto; padding: 10px 14px 12px;
  border-radius: 18px; background: rgba(4,107,181,.94); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transform: translateY(-140%); transition: transform .35s ease; }
.au-fg-hud.show { transform: none; }
.au-fg-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.au-fg-lives { color: #ffb3b3; letter-spacing: 2px; font-size: 15px; }
.au-fg-score { margin-left: auto; font-family: 'MuseoSansBold', Arial, sans-serif; }
.au-fg-x { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; line-height: 28px; padding: 0; }
.au-fg-ask { margin: 6px 0 8px; font-size: 21px; line-height: 1.2; color: #ffe4b5; font-family: 'MuseoSansBold', Arial, sans-serif; }
.au-fg-ask small { font-size: 14px; color: #fff; font-family: inherit; opacity: .85; }
.au-fg-ask.pop { animation: au-fg-pop .35s ease; }
@keyframes au-fg-pop { 0% { transform: scale(.9); opacity: .3 } 100% { transform: none; opacity: 1 } }
.au-fg-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); overflow: hidden; }
.au-fg-bar i { display: block; height: 100%; background: #ffe4b5; border-radius: 6px; transition: width .1s linear; }
.au-fg-bar i.low { background: #ff8a7a; }
.au-fg-toast { position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translate(-50%, -6px); opacity: 0; padding: 7px 16px; border-radius: 30px;
  background: #fff; color: #046bb5; font: 15px 'MuseoSansBold', Arial, sans-serif; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: all .2s; pointer-events: none; }
.au-fg-toast.show { opacity: 1; transform: translate(-50%, 0); }
.au-fg-toast.good { background: #4cc86e; color: #fff; }
.au-fg-toast.bad { background: #e65050; color: #fff; }
.au-fg-panel { position: fixed; inset: 0; z-index: 3001; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(2,40,80,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.au-fg-panel.show { opacity: 1; pointer-events: auto; }
.au-fg-card { width: 100%; max-width: 380px; max-height: 92vh; overflow: auto; padding: 22px 22px 16px; border-radius: 22px; background: #fff; color: #333; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.au-fg-card h3 { color: #046bb5; font-size: 22px; margin: 4px 0 8px; }
.au-fg-card p { font-size: 15px; line-height: 1.45; margin: 0 0 10px; }
.au-fg-big { font-size: 42px; line-height: 1; }
.au-fg-total { font: 44px/1 'MuseoSansBold', Arial, sans-serif !important; color: #046bb5; margin: 6px 0 !important; }
.au-fg-best { color: #c47a00; }
.au-fg-sub { font-size: 13px !important; color: #777; margin-top: 6px !important; }
.au-fg-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.au-fg-list a { padding: 5px 11px; border-radius: 20px; background: #eef5fb; color: #046bb5; font-size: 13px; text-decoration: none; }
.au-fg-card .au-fg-go { display: block; width: 100%; margin: 6px 0 4px; }
.au-fg-link { border: 0; background: none; color: #046bb5; font-size: 14px; padding: 8px; text-decoration: underline; }
@media (max-width: 680px) {
  .au-fg-start { right: 12px; bottom: 30px; padding: 10px 14px 10px 12px; font-size: 14px; }
  .page-31 .next-section { left: 22px; margin-left: 0; }
}

/* Тест після статті спадщини (au-quiz.js) */
html.au-qz-lock, html.au-qz-lock body { overflow: hidden }
.au-qz { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 61, 148, .55) }
.au-qz.show { display: flex }
.au-qz-card { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto; background: #fff8ea; border-radius: 28px; padding: 32px 32px 28px; color: #1d2b4f; box-shadow: 0 20px 60px rgba(0, 0, 0, .25) }
.au-qz-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ffe4b5; color: #103d94; font-size: 16px; cursor: pointer }
.au-qz-step { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #056ab2 }
.au-qz-bar { height: 6px; border-radius: 3px; background: #f2cfa4; overflow: hidden; margin: 0 48px 20px 0 }
.au-qz-bar i { display: block; height: 100%; background: #056ab2; transition: width .3s }
.au-qz-q { margin: 0 0 18px; font-size: 22px; line-height: 1.3; font-weight: 700; color: #103d94 }
.au-qz-opts { display: grid; gap: 10px }
.au-qz-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 2px solid #f2cfa4; border-radius: 16px; background: #fff; color: #1d2b4f; font: inherit; font-size: 16px; line-height: 1.35; cursor: pointer }
.au-qz-opt b { flex: 0 0 30px; height: 30px; border-radius: 50%; background: #ffe4b5; color: #103d94; display: flex; align-items: center; justify-content: center; font-size: 14px }
.au-qz-opt:disabled { cursor: default }
.au-qz-opt.ok { border-color: #2e9d5b; background: #e8f6ec }
.au-qz-opt.ok b { background: #2e9d5b; color: #fff }
.au-qz-opt.bad { border-color: #d24b3e; background: #fbeae7 }
.au-qz-opt.bad b { background: #d24b3e; color: #fff }
.au-qz-fb p { margin: 16px 0 0; font-size: 16px }
.au-qz-fb p.ok { color: #2e7d4c; font-weight: 700 }
.au-qz-fb p.bad { color: #b23a2f }
.au-qz-fb p.bad b { color: #1d2b4f }
.au-qz-btn { display: inline-block; margin-top: 18px; padding: 13px 28px; border: 0; border-radius: 30px; background: #056ab2; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer }
.au-qz-link { display: block; margin: 12px auto 0; border: 0; background: none; color: #056ab2; font: inherit; text-decoration: underline; cursor: pointer }
.au-qz-score { font-size: 72px; font-weight: 800; color: #103d94; line-height: 1; margin: 10px 0 }
.au-qz-score small { font-size: 32px; color: #8a7a60 }
.au-qz-g { font-size: 18px; margin: 0 }
.au-qz-body:has(.au-qz-score) { text-align: center }
@media (hover: hover) {
  .au-qz-opt:not(:disabled):hover { border-color: #056ab2 }
  .au-qz-btn:hover { background: #046bb5 }
}
@media (max-width: 680px) {
  .au-qz { padding: 0; align-items: flex-end }
  .au-qz-card { max-width: none; border-radius: 24px 24px 0 0; padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh }
  .au-qz-q { font-size: 19px }
  .au-qz-opt { font-size: 15px; padding: 11px 12px }
  .au-qz-btn { width: 100% }
}

/* Картини й предмети (13.11.2026): не зберегти правою кнопкою, не перетягнути, водяний знак на сторінці картини */
.exhibit-thmb img, figure.zoom img, .au-art-grid img, .au-ah img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.exhibit-thmb .exhibit-thmb-wrap { position: relative; }
figure.zoom { position: relative; -webkit-touch-callout: none; user-select: none; }
figure.zoom:after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4; opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Ctext x='150' y='105' fill='white' stroke='rgba(0,0,0,.35)' stroke-width='.6' font-family='Arial,sans-serif' font-size='20' font-weight='700' text-anchor='middle' transform='rotate(-28 150 100)'%3E© Автентична Україна%3C/text%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 300px 200px; }


/* Тур у дизайні 2: панорама в рамці сторінки, перелік панорам, карта (як у дизайні 1) */
.street-view .au-pano { width: 100%; height: 100vh; height: 100dvh; min-height: 420px; background: #0d2a4a; }
.street-view .au-pano .pnlm-load-box { background: rgba(5, 106, 178, .8); border-radius: 14px; }
.street-view .au-pano .pnlm-controls-container { top: auto; bottom: 72px; left: auto; right: 16px; }
.au-pano-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; pointer-events: none; padding: 10px 18px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 15px; white-space: nowrap; transition: opacity .4s; }
.au-pano-hint.off { opacity: 0; }
.au-pano .pnlm-hotspot-base.au-arrow { width: 84px; height: 64px; margin: -32px 0 0 -42px; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; perspective: 220px; }
.au-pano .pnlm-hotspot-base.au-arrow svg { width: 72px; height: 54px; display: block; flex: none; transform: rotateX(42deg); filter: drop-shadow(0 3px 3px rgba(0,0,0,.45)); transition: transform .15s; }
.au-pano .pnlm-hotspot-base.au-arrow span { display: none; }
@media (hover: hover) { .au-pano .pnlm-hotspot-base.au-arrow:hover svg { transform: rotateX(42deg) scale(1.15); } }
.au-tour-strip { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 84px 12px; overflow-x: auto; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0)); scrollbar-width: thin; }
.au-tour-tile { flex: none; width: 128px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: rgba(0,0,0,.4); color: #fff; cursor: pointer; overflow: hidden; text-align: left; }
.au-tour-tile img { display: block; width: 100%; height: 64px; object-fit: cover; }
.au-tour-tile span { display: block; padding: 4px 7px 5px; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-tour-tile:first-child { margin-left: auto; }
.au-tour-tile:last-child { margin-right: auto; }
.au-tour-tile.on { border-color: #ffc400; background: rgba(5,106,178,.9); }
.au-has-strip .au-pano-hint { bottom: 136px; }
.au-tour-map { position: absolute; z-index: 5; top: 84px; right: 16px; width: 250px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.au-tour-map-in { height: 180px; }
.au-tour-map.closed .au-tour-map-in { display: none; }
.au-tour-map-tog { display: none; width: 100%; padding: 8px 12px; border: 0; background: #fff; color: #056ab2; font-weight: 600; font-size: 14px; cursor: pointer; }
.au-tour-map .leaflet-control-attribution { font-size: 9px; }
.au-tour-full { position: absolute; z-index: 5; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(0,0,0,.55); cursor: pointer; display: flex; align-items: center; justify-content: center; bottom: 24px; }
.au-has-strip .au-tour-full { bottom: 140px; }
.au-tour-full svg { width: 22px; height: 22px; }
.au-has-strip .au-pano .pnlm-controls-container { bottom: 188px; }
.street-view:fullscreen, .street-view.au-fs { background: #000; }
.street-view:fullscreen .au-pano, .street-view.au-fs .au-pano { height: 100vh; height: 100dvh; }
.street-view.au-fs { position: fixed; inset: 0; z-index: 2000; }
.au2-pano .street-view:not(:fullscreen):not(.au-fs) { border-radius: 20px; }
.au2-pano .street-view { position: relative; overflow: hidden; background: #0d2a4a; }
.au2-pano .street-view .au-pano { height: 72vh; height: 72dvh; min-height: 420px; }
.au2-pano .au-tour-map { top: 16px; }
.vr-box iframe { width: 100%; min-height: 450px; border-radius: 20px; }
@media (max-width: 767px) {
  .au2-pano .street-view .au-pano { height: 64vh; height: 64dvh; min-height: 360px; }
  .au2-pano .au-tour-map { top: 12px; right: 12px; width: 110px; }
  .au2-pano .au-tour-map:not(.closed) { width: 220px; }
  .au2-pano .au-tour-map-in { height: 150px; }
  .au2-pano .au-tour-map-tog { display: block; }
  .au2-pano .au-tour-strip { padding-left: 12px; padding-right: 12px; }
  .au2-pano .au-tour-tile { width: 104px; }
  .au2-pano .au-tour-tile img { height: 52px; }
  .au2-pano .au-has-strip .au-tour-full { bottom: 120px; }
  .au2-pano .au-has-strip .au-pano-hint { bottom: 122px; white-space: normal; text-align: center; max-width: 80%; }
}
.d3-author-bio summary { cursor: pointer; color: #fff; font-size: 13px; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.d3-author-bio summary::-webkit-details-marker { display: none; }
.d3-author-bio summary::after { content: '+'; font-size: 16px; line-height: 1; }
.d3-author-bio[open] summary { margin-bottom: 10px; }
.d3-author-bio[open] summary::after { content: '−'; }
/* «Смаки»: інтерактивний стіл на компʼютері, картинка — на телефоні (як у дизайні 2) */
.d3-raw section.kitchen-page { padding: 0; }
.d3-raw .kitchen-bg { display: none; width: 100%; border-radius: var(--r); }
.d3-raw .food-img-interactive-container-wrap { position: relative; overflow: hidden; max-width: 1500px; height: 750px; margin: 0 auto; border-radius: var(--r); }
.d3-raw .food-btn .title { color: var(--acc); line-height: 1.2; }
.d3-raw .food-btn .desc { height: 78px !important; color: #333; }
.d3-raw .food-btn .btn { background: #000; color: #fff; height: 38px; font-size: 14px; }
@media (max-width: 991px) { .d3-raw .food-img-interactive-container { display: none; } .d3-raw .kitchen-bg { display: block; } }
.d3-raw .food-wrap .food-item { background-color: transparent; padding: 0; border-radius: 0; margin: 0; }
.d3-raw .section-title { flex-wrap: wrap; gap: 8px 16px; justify-content: flex-start; }
.d3-areas .d3-area { min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.d3-areas .d3-area .d3-upd-top > span:nth-child(2) { font: 400 22px/1.2 var(--head); }
.d3-fswitch { order: 5; }
