/* KK Crushing - drceni.eu */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16171a;
  --ink-2: #26282d;
  --paper: #f2f0eb;
  --stone: #e3dfd6;
  --line: #cbc5b9;
  --muted: #5c5850;
  --accent: #ff6600;
  --white: #fff;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3 { margin: 0; line-height: 1; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2 {
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

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

/* tlačítka */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--accent); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: .85em 1.3em; border: 0; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: #ff7f26; }
.link { font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.link:hover { color: var(--muted); }

/* hlavička */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(242, 240, 235, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 2rem; height: 64px; }
.logo img { height: 30px; width: auto; }
.nav { display: none; gap: 1.75rem; margin-left: auto; font-weight: 500; font-size: .98rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.top-phone {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.top-phone svg { color: var(--accent); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .top-phone { margin-left: 0; }
  .logo img { height: 38px; }
}

/* úvod: fotka přes celou šířku, text přes ni */
.hero {
  position: relative; isolation: isolate; color: var(--paper);
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 82vh, 780px);
  padding: 120px 0 clamp(40px, 6vw, 72px);
}
.hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(14, 15, 18, .92) 0%, rgba(14, 15, 18, .7) 45%, rgba(14, 15, 18, .15) 100%);
}
.hero-in { width: 100%; }
.hero-text { max-width: 640px; }
.hero-logo { display: block; width: min(100%, 320px); height: auto; margin-bottom: 1.6rem; }
h1 { font-size: clamp(2.9rem, 7.5vw, 6rem); line-height: .9; }
.lead { margin-top: 1.3rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40ch; color: #e9e6df; }
.lead strong { font-weight: 700; color: var(--white); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.zpet {
  display: inline-flex; align-items: center; gap: .45em; margin-bottom: 1.4rem;
  color: var(--paper); font-weight: 600; text-decoration: none;
}
.zpet svg { transform: scaleX(-1); color: var(--accent); }
.zpet:hover { text-decoration: underline; text-underline-offset: .25em; }
.hero .link, .dark .link { color: var(--paper); }
.hero .link:hover, .dark .link:hover { color: var(--accent); }
.hero.sub { min-height: clamp(420px, 60vh, 600px); }
.hero.sub h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
@media (min-width: 900px) {
  .hero { align-items: center; padding-top: 72px; }
  .hero::after {
    background: linear-gradient(90deg, rgba(14, 15, 18, .9) 0%, rgba(14, 15, 18, .72) 38%, rgba(14, 15, 18, .1) 72%);
  }
  .hero-logo { width: 420px; }
}

/* obecná sekce: nadpis nad obsahem */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-line { border-top: 1px solid var(--line); }
.sec-stone { background: var(--stone); }
.dark { background: var(--ink); color: var(--paper); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { margin-top: 1rem; font-size: 1.2rem; max-width: 62ch; }
.dark .sec-head p { color: #c9c5bd; }
.prose { display: grid; gap: 1rem; max-width: 68ch; font-size: 1.12rem; }
.prose a { font-weight: 600; text-underline-offset: .2em; }
h3.h3 { font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.05; }
.body-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; font-size: 1.1rem; }
.body-list li { position: relative; padding-left: 1.4rem; break-inside: avoid; }
.body-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: var(--accent); }
.cols-2, .cols-3, .cols-4 { display: block; columns: 1; column-gap: 40px; }
.cols-2 li, .cols-3 li, .cols-4 li { margin-bottom: .7rem; }
@media (min-width: 640px) { .cols-2, .cols-3, .cols-4 { columns: 2; } }
@media (min-width: 900px) { .cols-3 { columns: 3; } .cols-4 { columns: 4; } }

/* služby: řádek fotka + text */
.svc-rows { display: grid; gap: clamp(40px, 6vw, 72px); }
.svc-row { display: grid; gap: 24px; align-items: center; }
.svc-row figure { margin: 0; }
.svc-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-row h3 {
  display: flex; align-items: center; gap: .5em;
  font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1;
}
.svc-row h3 svg { color: var(--accent); width: 1em; height: 1em; }
.svc-row p { margin-top: 1rem; font-size: 1.12rem; max-width: 52ch; color: #c9c5bd; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 6fr 5fr; gap: 56px; }
  .svc-row:nth-child(even) { grid-template-columns: 5fr 6fr; }
  .svc-row:nth-child(even) figure { order: 2; }
}
.svc-link {
  display: inline-flex; align-items: center; gap: .4em; margin-top: 1.2rem;
  color: var(--accent); font-weight: 600; text-decoration: none;
}
.svc-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.more-box { margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid #3a3d44; }
.more { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.4rem 40px; }
.more li { color: #c9c5bd; }
.more li > a, .more li > div {
  display: flex; gap: .8em; align-items: flex-start;
  margin: -12px -14px; padding: 12px 14px; border-radius: 4px;
}
.more li > a { color: inherit; text-decoration: none; transition: background-color .2s ease; }
.more li svg { color: var(--accent); margin-top: .2em; }
.more strong { display: block; color: var(--paper); font-weight: 600; font-size: 1.08rem; }
/* odkazy: podtržený název a šipka, ať je vidět, že se na ně dá kliknout */
.more a strong {
  text-decoration: underline; text-decoration-color: rgba(255, 102, 0, .55);
  text-decoration-thickness: 2px; text-underline-offset: .3em; transition: color .2s ease, text-decoration-color .2s ease;
}
.more .sipka { display: inline-block; width: 1em; height: 1em; margin: 0 0 -.12em .4em; transition: transform .2s ease; }
.more a:hover { background: rgba(255, 255, 255, .05); }
.more a:hover strong { color: var(--accent); text-decoration-color: var(--accent); }
.more a:hover .sipka { transform: translateX(4px); }
@media (min-width: 700px) { .more { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .more { grid-template-columns: 1fr 1fr 1fr; } }

/* videa */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vid { margin: 0; }
.vid-wide { grid-column: 1 / -1; }
/* na šířku 16:9 a dvě na výšku 9:16 vedle sebe stejně vysoké: šířky v poměru 256 : 81 : 81 */
@media (min-width: 900px) {
  .videos { grid-template-columns: 256fr 81fr 81fr; column-gap: 16px; }
  .vid-wide { grid-column: auto; }
}
.video-box { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; border-radius: 4px; }
.vid-tall .video-box { aspect-ratio: 9 / 16; }
.video-box video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }

/* vlastní přehrávač (main.js); bez JS zůstanou ovládací prvky prohlížeče */
.vp { container-type: inline-size; user-select: none; -webkit-tap-highlight-color: transparent; }
.vp video { cursor: pointer; }
.vp button {
  display: grid; place-items: center; padding: 0; border: 0; cursor: pointer;
  font: inherit; color: var(--white); background: none;
}
.vp-big {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent) !important; color: var(--ink) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35); transition: transform .2s ease, opacity .2s ease;
}
.vp-big svg { width: 30px; height: 30px; margin-left: 4px; }
.vp-big:hover { transform: scale(1.07); }
.vp.hraje .vp-big { opacity: 0; pointer-events: none; transform: scale(.85); }
.vp-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 4px; padding: 28px 8px 8px;
  background: linear-gradient(to top, rgba(10, 10, 12, .85), rgba(10, 10, 12, 0));
  transition: opacity .25s ease, transform .25s ease;
}
.vp:not(.spusteno) .vp-bar, .vp.hraje.klid .vp-bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.vp.hraje.klid video { cursor: none; }
.vp-bar button { width: 38px; height: 38px; border-radius: 50%; flex: none; transition: background-color .2s ease, color .2s ease; }
.vp-bar button:hover { background: rgba(255, 255, 255, .14); }
.vp-bar button svg { width: 20px; height: 20px; }
.vp-time { font-size: .85rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); white-space: nowrap; padding: 0 6px; }
.vp-seek {
  --p: 0%; flex: 1; min-width: 40px; height: 22px; margin: 0 4px; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.vp-seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--accent) var(--p), rgba(255, 255, 255, .3) var(--p));
}
.vp-seek::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.vp-seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.vp-seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%;
  background: var(--white); transform: scale(0); transition: transform .15s ease;
}
.vp-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .15s ease; }
.vp-bar:hover .vp-seek::-webkit-slider-thumb, .vp-seek:focus-visible::-webkit-slider-thumb { transform: scale(1); }
.vp-bar:hover .vp-seek::-moz-range-thumb, .vp-seek:focus-visible::-moz-range-thumb { transform: scale(1); }
.vp-seek:focus-visible { outline-offset: 0; }
/* úzká videa na výšku: bez času, menší tlačítka */
@container (max-width: 300px) {
  .vp-time { display: none; }
  .vp-bar { gap: 0; padding: 24px 4px 4px; }
  .vp-bar button { width: 34px; height: 34px; }
  .vp-bar button svg { width: 18px; height: 18px; }
  .vp-big { width: 64px; height: 64px; }
  .vp-big svg { width: 26px; height: 26px; }
}
.vp:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; }
.vp:-webkit-full-screen { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; }

/* galerie a fotky na podstránkách: všude stejná mřížka 4:3 */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.grid a, .grid > img { display: block; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.grid a:hover img { transform: scale(1.03); }
.grid:not(.all) .more-photo { display: none; }
.show-all {
  margin-top: 20px; font: inherit; font-weight: 600; color: var(--ink);
  background: none; border: 2px solid var(--ink); border-radius: 2px;
  padding: .7em 1.2em; cursor: pointer;
}
.show-all:hover { background: var(--ink); color: var(--paper); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* o nás a reference */
.about-in { display: grid; gap: 32px; align-items: center; }
.about-in .prose { font-size: 1.2rem; }
.about-foto { margin: 0; }
.about-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .about-in { grid-template-columns: 6fr 5fr; column-gap: 64px; } }
.ref-in { display: grid; gap: 40px; align-items: center; }
.ref-intro { margin-top: 1rem; font-size: 1.15rem; max-width: 52ch; }
.motto { margin: 2.2rem 0 0; padding: 0; }
.motto p {
  font-stretch: 72%; font-weight: 800; text-transform: uppercase; line-height: 1;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 16ch;
}
.ref-mapa { margin: 0; }
.mapa { display: block; width: 100%; height: auto; overflow: visible; }
.mapa-kraj { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.mapa-obec { fill: var(--accent); stroke: var(--ink); stroke-width: 1.5; }
.mapa-sidlo { fill: var(--ink); }
.mapa-mesto { fill: #9b9488; }
.mapa-cara { stroke: var(--ink); stroke-width: 1; }
.mapa text { font-family: "Archivo", system-ui, sans-serif; font-size: 13px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.mapa .mapa-sidlo-txt { font-weight: 800; }
.mapa .mapa-mesto-txt { font-weight: 400; font-size: 13px; fill: #7b746a; }
.ref-mapa figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin-top: .8rem; font-size: .9rem; color: var(--muted); }
.ref-mapa figcaption small { flex-basis: 100%; font-size: .8rem; }
.lg-obec, .lg-sidlo { display: inline-block; width: 11px; height: 11px; }
.lg-obec { border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); }
.lg-sidlo { background: var(--ink); }
.lg { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1rem; }
@media (min-width: 900px) { .ref-in { grid-template-columns: 5fr 6fr; column-gap: 64px; } }
@media (max-width: 600px) { .mapa text { font-size: 16px; stroke-width: 4px; } }

/* časté dotazy */
.faq-list { max-width: 880px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font-weight: 600; font-size: 1.15rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 1.2rem; max-width: 64ch; color: var(--muted); }

/* podstránky: text vedle videí, před a po */
.split { display: grid; gap: 32px; align-items: start; }
.split .prose h3 { margin-top: .8rem; }
.split .prose h3:first-child { margin-top: 0; }
.videos-dva { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .split { grid-template-columns: 6fr 5fr; column-gap: 56px; } }
.pred-po { display: grid; gap: 12px; }
.pred-po figure { margin: 0; }
.pred-po img { width: 100%; }
.pred-po figcaption { margin-top: .5rem; font-weight: 700; font-size: 1.1rem; }
/* 16:9 a 810:1020 vedle sebe stejně vysoké */
@media (min-width: 700px) { .pred-po { grid-template-columns: 1778fr 794fr; } }
.items { display: grid; gap: 1.4rem 40px; }
.items h3 { font-size: 1.2rem; font-weight: 700; }
.items p { margin-top: .3rem; color: var(--muted); }
@media (min-width: 700px) { .items { grid-template-columns: 1fr 1fr; } }

/* výzva na konci podstránky */
.cta-in { display: grid; gap: 1.5rem; align-items: center; }
.cta-in p { margin-top: .8rem; font-size: 1.2rem; color: #c9c5bd; max-width: 50ch; }
.cta-in .hero-cta { margin-top: 0; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; column-gap: 48px; } }

/* kontakt */
.contact { background: var(--stone); padding: clamp(56px, 8vw, 104px) 0; }
.contact-in { display: grid; gap: 48px; }
.person { margin-top: 1.4rem; font-weight: 700; font-size: 1.2rem; }
.person span { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
.big-phone {
  display: inline-block; margin-top: 1rem;
  font-stretch: 70%; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1;
  text-decoration: none;
}
.big-phone:hover { color: #c94f00; }
.mail, .addr { display: flex; gap: .6em; align-items: flex-start; margin-top: 1.1rem; }
.mail { font-weight: 600; font-size: 1.15rem; text-decoration: none; align-items: center; }
.mail:hover { text-decoration: underline; }
.mail svg, .addr svg { color: #c94f00; }
.addr svg { margin-top: .2em; }
@media (min-width: 900px) {
  .contact-in { grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: start; }
}

/* právní stránka */
.legal-in { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal .lead { color: var(--ink); max-width: none; margin-bottom: 1rem; }
.legal h2 { font-size: 1.6rem; font-stretch: 75%; margin: 2.2rem 0 .8rem; }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; margin: .8rem 0; }
.legal li { margin-top: .35rem; }

/* formulář */
.form { background: var(--paper); padding: clamp(20px, 3vw, 36px); display: grid; gap: 1rem; }
.form h3 { font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: 1.6rem; margin-bottom: .2rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  background: var(--white); border: 1px solid #a9a397; border-radius: 2px;
  padding: .7em .8em; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.form-row { display: grid; gap: 1rem; }
.form .btn { justify-self: start; margin-top: .3rem; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg { font-weight: 600; }
.form-msg.ok { color: #1f6b2f; }
.form-msg.err { color: #a32020; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .contact-in { grid-template-columns: 5fr 7fr; column-gap: 48px; align-items: start; }
}

/* patička */
.foot { background: var(--ink); color: #a29d93; padding: 48px 0; font-size: .92rem; }
.foot-in { display: grid; gap: 32px; }
.foot img { height: 26px; width: auto; opacity: .9; margin-bottom: 1rem; }
.foot a { color: #d8d4cc; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.foot-nav, .foot-kontakt { display: grid; gap: .45rem; align-content: start; }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: 6fr 3fr 3fr; column-gap: 40px; }
}

.foot-spodek {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid #2f3238; font-size: .85rem;
}
.foot-spodek div { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-spodek a { color: #a29d93; }

/* lightbox */
/* lightbox: přes celé okno bez posuvníku (stránka pod ním se nehýbe) */
html:has(.lb[open]) { overflow: hidden; }
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(12, 12, 14, .96);
}
.lb::backdrop { background: rgba(12, 12, 14, .96); }
.lb img { width: 100%; height: 100%; object-fit: contain; padding: 56px 8px; }
.lb button {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer;
}
.lb button:hover { background: var(--accent); color: var(--ink); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* posuvník stránky v barvách webu */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #8f897e var(--paper); }
}
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--paper); border-left: 1px solid var(--stone); }
::-webkit-scrollbar-thumb {
  background: #8f897e; border-radius: 7px;
  border: 4px solid transparent; background-clip: padding-box; min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--ink-2); }
::-webkit-scrollbar-thumb:active { background-color: var(--accent); }
::-webkit-scrollbar-corner { background: var(--paper); }

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