/* TERČ.sk 368: samostatná, reverzibilná kompozícia prípadovej štúdie. */
body.story-page main.story-content {background:#fff!important}
body.story-page main.story-content .stats {background:#fff!important}
/* Široká čierna úvodná fotografia – bez vnoreného tmavého panelu */
body.story-page main.story-content .feature-banner {
 display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important;
 align-items:center!important;gap:clamp(20px,4vw,70px)!important;
 width:100%!important;max-width:none!important;min-height:510px!important;
 margin:0!important;padding:clamp(45px,6vw,90px) max(5vw,calc((100vw - 1320px)/2))!important;
 box-sizing:border-box!important;background:#171717!important;color:#fff!important;
 box-shadow:none!important;border:0!important;overflow:hidden!important;
}
body.story-page main.story-content .feature-banner .feature-visual {
 background:transparent!important;min-height:0!important;padding:0!important;
 display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;
}
body.story-page main.story-content .feature-banner .feature-visual img {
 display:block!important;width:100%!important;height:auto!important;
 max-height:530px!important;min-height:0!important;object-fit:contain!important;
 background:transparent!important;filter:none!important;transform:none!important;
}
body.story-page main.story-content .feature-banner .feature-copy {padding:25px 0!important;color:#fff!important}
body.story-page main.story-content .feature-banner .feature-copy h2,
body.story-page main.story-content .feature-banner .feature-copy p{color:#fff!important}
/* Jednoznačné striedanie svetlo / tma v plnej šírke */
body.story-page main.story-content section.content{padding:clamp(70px,8vw,112px) 0!important;overflow:hidden!important}
body.story-page main.story-content section#william-schiffer,
body.story-page main.story-content section#fotografie,
body.story-page main.story-content section#detail {background:#fff!important;color:#171717!important}
body.story-page main.story-content section#pribeh,
body.story-page main.story-content section#hrany,
body.story-page main.story-content section#kniha {background:#171717!important;color:#f8f8f8!important}
body.story-page main.story-content section#pribeh .sectionhead h2,
body.story-page main.story-content section#hrany .sectionhead h2,
body.story-page main.story-content section#kniha .sectionhead h2,
body.story-page main.story-content section#pribeh .copy h3,
body.story-page main.story-content section#hrany .copy h3,
body.story-page main.story-content section#kniha .copy h3 {color:#fff!important}
body.story-page main.story-content section#pribeh .sectionhead p,
body.story-page main.story-content section#hrany .sectionhead p,
body.story-page main.story-content section#kniha .sectionhead p,
body.story-page main.story-content section#pribeh .copy p,
body.story-page main.story-content section#hrany .copy p,
body.story-page main.story-content section#kniha .copy p {color:#d3d3d3!important}
body.story-page main.story-content section#pribeh a,
body.story-page main.story-content section#hrany a,
body.story-page main.story-content section#kniha a{color:#fff!important;text-decoration:underline;text-decoration-color:#e3242b}
body.story-page main.story-content .content .container{max-width:1320px!important}
body.story-page main.story-content .content .split{gap:clamp(34px,5vw,84px)!important;align-items:center!important}
body.story-page main.story-content .content .split>*{min-width:0!important}
/* Všetky obrazové plochy bez šedého podkladu, rámov a štvorcových tieňov */
body.story-page main.story-content .photo,
body.story-page main.story-content .story-cover-detail,
body.story-page main.story-content #fotografie .gallery figure {
 background:transparent!important;border:0!important;padding:0!important;
 box-shadow:none!important;transform:none!important;overflow:visible!important;
}
body.story-page main.story-content .photo img,
body.story-page main.story-content .story-cover-detail img,
body.story-page main.story-content #fotografie .gallery img {
 display:block!important;width:100%!important;height:auto!important;
 object-fit:contain!important;aspect-ratio:auto!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
body.story-page main.story-content .photo figcaption,
body.story-page main.story-content .story-cover-detail figcaption,
body.story-page main.story-content #fotografie .gallery figcaption{
 background:transparent!important;padding:12px 0 0!important;border:0!important;
 color:#777!important;font-size:12px!important;line-height:1.5!important;
}
body.story-page main.story-content section#pribeh .photo figcaption,
body.story-page main.story-content section#hrany .photo figcaption,
body.story-page main.story-content section#kniha .photo figcaption{color:#aaa!important}
body.story-page main.story-content .story-cover-detail{
 max-width:1030px!important;width:100%!important;margin:clamp(40px,5vw,70px) auto 0!important;
}
body.story-page main.story-content .story-cover-detail img{max-height:460px!important}
body.story-page main.story-content #pribeh .photo img{max-height:510px!important}
body.story-page main.story-content #fotografie .gallery{
 display:block!important;max-width:1080px!important;margin:clamp(36px,5vw,65px) auto 0!important;
}
body.story-page main.story-content #fotografie .gallery img{max-height:560px!important}
body.story-page main.story-content #hrany .photo img{max-height:540px!important}
body.story-page main.story-content #detail .photo img{max-height:460px!important}
body.story-page main.story-content #kniha .photo img{max-height:390px!important}
body.story-page main.story-content .photo img.magnify{cursor:zoom-in}
@media(max-width:900px){
 body.story-page main.story-content .feature-banner{
  grid-template-columns:1fr!important;padding:40px 6vw 55px!important;gap:15px!important;
 }
 body.story-page main.story-content .feature-banner .feature-visual img{max-height:360px!important}
 body.story-page main.story-content .feature-banner .feature-copy{padding:15px 0!important}
 body.story-page main.story-content section.content{padding:60px 0!important}
 body.story-page main.story-content .content .split{grid-template-columns:1fr!important}
 body.story-page main.story-content .photo img{max-height:420px!important}
 body.story-page main.story-content #fotografie .gallery img{max-height:410px!important}
}

/* 369: väčšie fotografie 01, 03, 05, 06, 07, bez textov pod obrázkami. */
body.story-page main.story-content .feature-banner {grid-template-columns:minmax(0,1.32fr) minmax(300px,.68fr)!important;}
body.story-page main.story-content .feature-banner .feature-visual img {max-height:636px!important;}
body.story-page main.story-content #pribeh .split,
body.story-page main.story-content #hrany .split,
body.story-page main.story-content #detail .split,
body.story-page main.story-content #kniha .split {grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)!important;}
body.story-page main.story-content #detail .split {grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;}
body.story-page main.story-content #pribeh .photo img {max-height:612px!important;}
body.story-page main.story-content #hrany .photo img {max-height:648px!important;}
body.story-page main.story-content #detail .photo img {max-height:552px!important;background:transparent!important;aspect-ratio:auto!important;object-fit:contain!important;}
body.story-page main.story-content #detail .photo {background:transparent!important;}
body.story-page main.story-content #kniha .photo img {max-height:468px!important;}
@media(max-width:900px){
 body.story-page main.story-content .feature-banner {grid-template-columns:1fr!important;}
 body.story-page main.story-content .feature-banner .feature-visual img {max-height:432px!important;}
 body.story-page main.story-content #pribeh .split,
 body.story-page main.story-content #hrany .split,
 body.story-page main.story-content #detail .split,
 body.story-page main.story-content #kniha .split {grid-template-columns:1fr!important;}
 body.story-page main.story-content #pribeh .photo img,
 body.story-page main.story-content #hrany .photo img,
 body.story-page main.story-content #detail .photo img,
 body.story-page main.story-content #kniha .photo img {max-height:480px!important;}
}

/* 370: kompaktnejší úvod, dominantnejšia fotografia 01 a zväčšenie 06/07. */
body.story-page main.story-content .feature-banner {
 grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr)!important;
 min-height:0!important;padding:clamp(18px,2.6vw,40px) max(4vw,calc((100vw - 1450px)/2))!important;
 gap:clamp(18px,3vw,55px)!important;
}
body.story-page main.story-content .feature-banner .feature-visual img {max-height:795px!important;}
body.story-page main.story-content .feature-banner .feature-copy h2 em {color:#e3242b!important;font-style:normal!important;}
/* Fotografia 06: zväčšenie kontajnera aj limitu výšky. */
body.story-page main.story-content #detail .split {grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr)!important;}
body.story-page main.story-content #detail .photo img {max-height:663px!important;}
/* Fotografia 07. */
body.story-page main.story-content #kniha .split {grid-template-columns:minmax(0,.85fr) minmax(0,1.55fr)!important;}
body.story-page main.story-content #kniha .photo img {max-height:562px!important;}
@media(max-width:900px){
 body.story-page main.story-content .feature-banner {grid-template-columns:1fr!important;padding:24px 6vw 32px!important;gap:12px!important;}
 body.story-page main.story-content .feature-banner .feature-visual img {max-height:540px!important;}
 body.story-page main.story-content #detail .split,body.story-page main.story-content #kniha .split {grid-template-columns:1fr!important;}
 body.story-page main.story-content #detail .photo img,body.story-page main.story-content #kniha .photo img {max-height:540px!important;}
}

/* 371: fotografia knihy vystupuje z tmavého pásu do bielej sekcie. */
@media(min-width:901px){
 body.story-page main.story-content .feature-banner{position:relative!important;z-index:2!important;overflow:visible!important;}
 body.story-page main.story-content .feature-banner .feature-visual{position:relative!important;z-index:3!important;transform:translateY(clamp(68px,7vw,125px))!important;}
 body.story-page main.story-content #william-schiffer{position:relative!important;z-index:1!important;}
}
@media(max-width:900px){
 body.story-page main.story-content .feature-banner{overflow:visible!important;}
 body.story-page main.story-content .feature-banner .feature-visual{transform:none!important;}
}

/* 372: úzky tmavý pás; kniha prečnieva nad i pod pás, bez zásahu do fotografie. */
@media (min-width:901px) {
 body.story-page main.story-content .feature-banner {
  position:relative!important; min-height:0!important;
  height:clamp(335px,25vw,405px)!important;
  padding:24px max(4vw,calc((100vw - 1450px)/2))!important;
  overflow:visible!important; align-items:center!important;
  grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr)!important;
 }
 body.story-page main.story-content .feature-banner .feature-visual {
  position:absolute!important;z-index:3!important;
  top:50%!important;left:max(4vw,calc((100vw - 1450px)/2))!important;
  width:min(54vw,820px)!important;height:auto!important;
  transform:translateY(-50%)!important;
 }
 body.story-page main.story-content .feature-banner .feature-visual img {
  width:100%!important;height:auto!important;max-height:570px!important;
  object-fit:contain!important;
 }
 body.story-page main.story-content .feature-banner .feature-copy {
  position:relative!important;z-index:4!important;grid-column:2!important;
 }
}

/* 373: korektná fotografia technickej výzvy a výrazný presah knihy nad/pod pás. */
@media(min-width:901px){
 body.story-page main.story-content .feature-banner{
  height:clamp(310px,22vw,365px)!important;min-height:0!important;
  padding-block:0!important;overflow:visible!important;z-index:5!important;
 }
 body.story-page main.story-content .feature-banner .feature-visual{
  top:50%!important;left:max(4vw,calc((100vw - 1450px)/2))!important;
  width:min(58vw,900px)!important;height:clamp(530px,42vw,670px)!important;
  min-height:0!important;overflow:visible!important;
  transform:translateY(-50%)!important;background:transparent!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
 }
 body.story-page main.story-content .feature-banner .feature-visual img{
  width:100%!important;max-width:100%!important;height:100%!important;
  max-height:none!important;object-fit:contain!important;transform:none!important;
  filter:none!important;
 }
 body.story-page main.story-content .feature-banner .feature-copy{
  grid-column:2!important;position:relative!important;z-index:6!important;
 }
 body.story-page main.story-content .stats{position:relative!important;z-index:1!important;}
 body.story-page main.story-content #william-schiffer{position:relative!important;z-index:1!important;}
}

/* 374: Responzívne obmedzenie úvodnej knihy, bezpečný odstup od susedných textov. */
@media (min-width:901px) {
 body.story-page main.story-content .feature-banner .feature-visual {
  height:clamp(345px, 31vw, 520px)!important;
  width:min(48vw, 720px)!important;
  top:50%!important; transform:translateY(-50%)!important;
  padding-top:10px!important; box-sizing:border-box!important;
 }
 body.story-page main.story-content .feature-banner .feature-visual img {
  max-height:100%!important; height:100%!important; width:100%!important;
  object-fit:contain!important;
 }
}
@media (min-width:901px) and (max-width:1150px) {
 body.story-page main.story-content .feature-banner .feature-visual {width:46vw!important;height:clamp(325px,34vw,430px)!important;}
}
