.hero { overflow:clip; }

/* Show the subject of each opening photograph in its selector. */
.hero .hero-dots { display:flex; gap:9px; align-items:center; }
.hero .hero-dots button {
  position:relative; isolation:isolate; display:flex; align-items:flex-end; justify-content:flex-start;
  padding:5px 8px 7px; width:86px; height:54px; border-radius:3px; overflow:hidden;
  color:#fff; border:1px solid #d2d9e781; background:#19376e; text-align:left;
}
.hero .hero-dots img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; }
.hero .hero-dots button::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(transparent 12%,#0c244edd 100%); }
.hero .hero-dots .shot-name { font-size:.8125rem; line-height:1; font-family:var(--body,inherit); letter-spacing:0; font-weight:600; }
.hero .hero-dots button:is(:hover,:focus-visible) { border-color:#fff8d2; }
.hero .hero-dots button.is-active { border-color:#ffdc55; box-shadow:0 0 0 1px #ffdc55; }
.hero .hero-dots i { position:absolute; left:0; right:0; bottom:0; width:auto; height:2px; background:transparent; }
@media(max-width:1350px) { .hero #hero-photo-caption { display:none; } }
@media(max-width:760px) {
  .hero .hero-photo-nav, .hero .hero-dots { min-width:0; width:100%; }
  .hero .hero-dots { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; max-width:320px; }
  .hero .hero-dots button { width:100%; height:48px; padding-inline:5px; }
  .hero .hero-bottom { column-gap:12px; }
  .hero .hero-controls .motion-button { width:44px; height:44px; }
}

#sluzby > .section-banner { min-height:0; padding-bottom:clamp(40px,6vw,92px); }
.work-layout {
  --split:50%; display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);
  align-items:center; gap:clamp(32px,5vw,86px); padding-top:clamp(32px,4.6vw,80px);
}
#sluzby .work-copy { display:block; min-width:0; margin:0; padding:0; text-align:left; }
#sluzby .work-copy h2 { text-align:left; margin:0; font-size:clamp(44px,4.4vw,82px); line-height:1.04; overflow-wrap:break-word; }
#sluzby .work-copy p { margin:22px 0 0; max-width:39ch; font-size:1.05rem; line-height:1.65; color:#e5e9f1; }
.work-choices { display:flex; flex-wrap:wrap; gap:6px; margin-top:26px; }
.work-choices button {
  min-height:44px; padding:10px 15px; border:1px solid #788db688; border-radius:4px;
  font-size:.9375rem; font-weight:600; background:#1a3878; color:#eceff5;
}
.work-choices button[aria-pressed=true] { border-color:#b0bedc; color:#fff; background:#3b62ae; box-shadow:inset 0 -2px #bcc8e1; }
.work-choices button:hover { border-color:#d7dfef; }
.work-choices button:focus-visible { outline:2px solid #ffdf66; outline-offset:3px; }
.work-figure { margin:0; min-width:0; }
.work-pair {
  display:flex; position:relative; isolation:isolate; width:100%; aspect-ratio:1.52;
  overflow:hidden; background:#1b3878; border-radius:2px;
}
.work-pair img { width:50%; height:100%; object-fit:cover; }
.work-pair .work-frame { order:-1; }
.work-layout.is-interactive .work-pair img { position:absolute; inset:0; width:100%; }
.work-layout.is-interactive .work-frame { clip-path:inset(0 calc(100% - var(--split)) 0 0); }
.work-seam,.work-handle { display:none; }
.is-interactive .work-seam,.is-interactive .work-handle { display:block; position:absolute; pointer-events:none; }
.work-seam { inset-block:0; left:var(--split); width:2px; background:#fff4ac; transform:translateX(-50%); box-shadow:0 0 5px #152d5d77; }
.work-handle {
  top:50%; left:clamp(24px,var(--split),calc(100% - 24px)); transform:translate(-50%,-50%);
  width:46px; height:46px; padding:9px; border-radius:50%;
  background:#f8cf39; color:#15336d; box-shadow:0 2px 13px #0f285766;
}
.work-handle svg { width:100%; height:100%; display:block; }
#work-divider {
  appearance:none; -webkit-appearance:none; position:absolute; z-index:1; inset-block:0; left:-22px;
  width:calc(100% + 44px); height:100%; padding:0; margin:0; border:0; opacity:0;
  touch-action:pan-y; cursor:ew-resize;
}
#work-divider::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:44px; height:44px; }
#work-divider::-moz-range-thumb { width:44px; height:44px; border:0; }
#work-divider:focus-visible ~ .work-handle { outline:3px solid #13316a; outline-offset:2px; box-shadow:0 0 0 7px #fff; }
.work-figure figcaption {
  display:grid; grid-template-columns:1fr auto 1fr; align-items:baseline; gap:10px;
  margin-top:12px; font-size:.875rem; line-height:1.5; color:#eaedf4;
}
.work-figure figcaption > span { font-weight:600; }
.work-figure figcaption > span:last-child { margin-left:auto; }
#work-hint { color:#d4dbe8; font-size:.8125rem; }
.work-layout [hidden] { display:none !important; }
@media(max-width:900px){
  .work-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  #sluzby .work-copy h2 { font-size:clamp(40px,7vw,62px); }
  #sluzby .work-copy p { max-width:52ch; }
  .work-choices { margin-top:18px; }
  .work-pair { aspect-ratio:1.78; }
}
@media(max-width:560px){
  .work-pair { aspect-ratio:1.25; }
  .work-figure figcaption { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
  .work-figure figcaption > span:last-child { grid-row:1; grid-column:2; text-align:right; }
  #work-hint { grid-row:2; grid-column:1/-1; text-align:center; }
}
