/* STANDBY V12 | Jemné typografické a obsahové úpravy, bez ďalších knižníc.
   Vrstvené až za V11, aby nezasahovali do administračného systému. */

/* 1. Stránky služieb: JEDEN titulok, priamo v hlavičke obsahu. */
body.standby-site .standby-page-intro--service {
  padding-top:clamp(24px,2.9vw,47px)!important;
  padding-bottom:0!important;
}
body.standby-site .standby-page-intro--service h2 {
  max-width:min(1160px,100%)!important;
  font-family:var(--luxe-serif,Georgia,serif)!important;
  font-size:clamp(44px,5.7vw,85px)!important;
  font-weight:400!important;
  line-height:1.09!important;
  letter-spacing:-.044em!important;
  text-wrap:balance;
}
body.standby-site .standby-page-intro--service h2 em {
  font-weight:400!important;
  color:#ad895d!important;
}

/* 2. Text a fotografia sa čítajú ako jeden celok. Žiadne prázdne bloky
      medzi poslednou vetou o dronoch a obsahom z CMS. */
body.standby-site .standby-service-intro--v12 {
  width:min(calc(100% - 48px),1160px)!important;
  margin:clamp(22px,3vw,43px) auto clamp(20px,3.1vw,44px)!important;
  grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr)!important;
  align-items:start!important;
  gap:clamp(30px,3.7vw,60px)!important;
}
body.standby-site .standby-service-intro--v12>img {
  display:block;
  width:100%!important;height:auto!important;
  aspect-ratio:3/2!important;object-fit:cover!important;
  object-position:center!important;
}
body.standby-site .standby-service-intro--v12 .standby-service-intro__copy {
  min-width:0;
}
body.standby-site .standby-service-intro--v12 .standby-service-intro__copy > p,
body.standby-site .standby-service-intro--v12 #textview,
body.standby-site .standby-service-intro--v12 #textview p,
body.standby-site .standby-service-intro--v12 #textview li,
body.standby-site .standby-service-intro--v12 #textview span,
body.standby-site .standby-service-intro--v12 #textview a {
  font-family:var(--v8-copy,system-ui,sans-serif)!important;
  font-size:clamp(18px,1.31vw,21px)!important;
  line-height:1.8!important;
  font-weight:400!important;
  letter-spacing:normal!important;
}
body.standby-site .standby-service-intro--v12 .standby-service-intro__copy > p,
body.standby-site .standby-service-intro--v12 #textview p {
  margin:0 0 16px!important;
  color:#536063!important;
  text-align:left!important;
}
body.standby-site .standby-service-intro--v12 .standby-v10-service-drone {
  margin-top:0!important;
}
body.standby-site .standby-service-intro--v12 #textview,
body.standby-site .standby-service-intro--v12 #textview .svadobne-video-blok {
  display:block!important;
  width:auto!important;max-width:100%!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
}
body.standby-site .standby-service-intro--v12 #textview p:last-child,
body.standby-site .standby-service-intro--v12 .standby-service-intro__copy >p:last-child {margin-bottom:0!important;}
body.standby-site .standby-service-intro--v12 strong {font-weight:600!important;color:#283639}
body.standby-site .standby-service-intro--v12 a {color:#886941;text-underline-offset:4px}
body.standby-site .standby-service-travel {
  margin:16px auto clamp(32px,4vw,60px)!important;
  font-family:var(--v8-copy,system-ui,sans-serif)!important;
  font-size:clamp(18px,1.31vw,21px)!important;
  line-height:1.75!important;
}
/* Rovnako veľký text v popise showreelu a v popise svadobných filmov. */
body.standby-site .standby-showreel-detail__intro>p,
body.standby-site .standby-film-collection .standby-section-top>p {
  font-family:var(--v8-copy,system-ui,sans-serif)!important;
  font-size:clamp(18px,1.31vw,21px)!important;
  line-height:1.75!important;
  font-weight:400!important;
  color:#555e60;
}
body.standby-site .standby-film-collection .standby-section-top {
  width:min(calc(100% - 48px),1160px)!important;
  max-width:1160px!important;
  margin-left:auto!important;margin-right:auto!important;
  display:flex!important;align-items:flex-start!important;
  justify-content:space-between!important;
  gap:clamp(22px,3vw,48px)!important;
}
body.standby-site .standby-film-collection .standby-section-top>div {min-width:0;flex:1 1 auto}
body.standby-site .standby-film-collection .standby-section-top>p {
  flex:0 1 420px;
  min-width:0;max-width:min(100%,420px)!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  text-align:right!important;
  margin:0!important;
}

/* Filmové príbehy na úvode: fotografia má ťažisko viac uprostred,
   o niečo výraznejší priestorový posun a mäkké stmavenie pod textom. */
body.standby-site .standby-film-teaser::before {
  inset:-8% -2% -8% 2%!important;
  background-position:center 50%!important;
  opacity:.52!important;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.90) 35%,rgba(0,0,0,.65) 62%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.90) 35%,rgba(0,0,0,.65) 62%,transparent 100%)!important;
  filter:saturate(1.12) contrast(1.06);
}
body.standby-site .standby-film-teaser::after {
  background:linear-gradient(90deg,rgba(17,25,26,.15),rgba(24,32,33,.32) 64%,#1d2526 100%)!important;
}

/* 3. Pozadie a ovládanie kontaktu. */
body.standby-site .standby-person__image--full {overflow:hidden!important;background:#d5cdc3!important}
body.standby-site .standby-person__photo-email {display:block;width:100%;height:100%;overflow:hidden;cursor:pointer}
body.standby-site .standby-person__image--full .standby-person__photo-email>img {
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;
  border-radius:0!important;transform:none!important;
}
body.standby-site .standby-person__photo-email:focus-visible {outline:3px solid #b28e5e;outline-offset:-4px}
/* Pôvodná štúdiová fotografia má v pravom spodnom rohu drobnú značku.
   Pri zobrazení v karte ju schováme tesnejším výrezom, originál sa nemení. */
body.standby-site .standby-person:first-child .standby-person__image img[src*="pavol-piroha.webp"] {
  transform:scale(1.13)!important;transform-origin:42% 50%!important;
}
body.standby-site .standby-person:first-child:hover .standby-person__image img[src*="pavol-piroha.webp"] {
  transform:scale(1.15)!important;
}

/* 4. Making Of – 5 stĺpcov × 2 rady na počítači, horizontálny posuv ostáva.
      Pri mobilnom zobrazení sú stále 2 rady, menej viditeľných stĺpcov. */
body.standby-site .standby-making-strip__track#makingOfGallery {
  --v12-gap:14px;
  display:grid!important;
  grid-auto-flow:column!important;
  grid-template-rows:repeat(2,minmax(0,180px))!important;
  grid-auto-columns:clamp(165px,calc((min(100vw - 48px,1160px) - 4 * var(--v12-gap))/5),220px)!important;
  gap:var(--v12-gap)!important;
  width:max-content!important;max-width:none!important;
  align-items:stretch!important;
}
body.standby-site .standby-making-strip__track#makingOfGallery .galeria2 {
  display:block!important;
  flex:none!important;min-width:0!important;
  width:100%!important;height:100%!important;
  margin:0!important;padding:0!important;
  scroll-snap-align:start!important;
}
body.standby-site .standby-making-strip__track#makingOfGallery .galeria2 a,
body.standby-site .standby-making-strip__track#makingOfGallery .galeria2 img {
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;overflow:hidden!important;
}
body.standby-site .standby-making-strip__track#makingOfGallery .galeria2 img {
  border-radius:14px!important;
}

/* 5. Viac priestoru pre krátke predstavenie tvorby na úvode. */
body.standby-site .standby-editorial__aside {
  font-family:var(--v8-copy,system-ui,sans-serif)!important;
  font-size:clamp(16px,1.45vw,22px)!important;
  line-height:1.55!important;
  font-weight:400!important;
  letter-spacing:.018em!important;
}
/* 6. Žiadny obrovský pohyblivý nápis pod footerom ani jeho medzera. */
body.standby-site .standby-v10-footer-vision {display:none!important}
/* 7. Kompaktnejšie linky v 3 stĺpcoch footeru (cca -30 % z rozstupu). */
body.standby-site .standby-footer__grid>div:not(:first-child)>a,
body.standby-site .standby-footer__grid>div:not(:first-child)>button,
body.standby-site .standby-footer__contact a:not(.standby-footer__logo) {
  min-height:32px!important;
  margin:0 0 5px!important;
  padding:0!important;
  line-height:1.38!important;
}
/* Telefónne odkazy majú text a piktogram vystredený v rovnakom riadku. */
body.standby-site .standby-footer__contact a {align-items:center!important}
/* 8. STANDBY na podstránkach: nadpisy neobmedzuje fixná šírka prvkov. */
@media(max-width:860px) {
  body.standby-site .standby-service-intro--v12 {grid-template-columns:minmax(0,1fr)!important;gap:25px!important}
  body.standby-site .standby-service-intro--v12 >img {max-height:480px;object-position:center 45%}
  body.standby-site .standby-film-collection .standby-section-top {flex-direction:column!important;align-items:stretch!important}
  body.standby-site .standby-film-collection .standby-section-top>p {align-self:flex-end;flex:0 1 auto;max-width:430px!important}
}
@media(max-width:530px) {
  body.standby-site .standby-page-intro--service{padding-top:26px!important}
  body.standby-site .standby-page-intro--service h2{font-size:clamp(36px,10vw,53px)!important}
  body.standby-site .standby-service-intro--v12{width:calc(100% - 32px)!important}
  body.standby-site .standby-film-collection .standby-section-top{width:calc(100% - 32px)!important}
  body.standby-site .standby-film-collection .standby-section-top>p{width:100%;max-width:100%!important;text-align:left!important;align-self:stretch}
  body.standby-site .standby-making-strip__track#makingOfGallery {grid-template-rows:repeat(2,160px)!important}
  body.standby-site .standby-footer__grid>div:not(:first-child)>h2{margin-bottom:10px!important}
}
@media(prefers-reduced-motion:reduce) {
  body.standby-site .standby-person:first-child .standby-person__image img[src*="pavol-piroha.webp"]{transition:none!important}
}
