/* Single accommodation (apartment / hotel) + price-table drawer + gallery viewer. Mobile-first. */
.st-acc__top{padding-block:6px 0}
/* gallery: mobile scroll-snap strip, desktop 1 large + 4 tiles (reserved aspect ratio = no CLS) */
.st-gal{position:relative;margin-bottom:12px}
.st-gal__track{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-inline:var(--st-gutter)}
.st-gal__track::-webkit-scrollbar{display:none}
.st-gal__item{flex:0 0 86%;margin:0;scroll-snap-align:center;aspect-ratio:4/3;border-radius:var(--st-r);overflow:hidden;background:var(--st-primary-tint)}
.st-gal__item:only-child{flex-basis:100%}
.st-gal__a{display:block;width:100%;height:100%}
.st-gal__img,.st-gal__item img{display:block;width:100%;height:100%;object-fit:cover}
.st-gal__all{position:absolute;right:calc(var(--st-gutter) + 8px);bottom:8px;min-height:36px;padding:6px 12px;border:0;border-radius:999px;background:rgba(7,52,91,.82);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
@media (min-width:1024px){
  .st-gal{max-width:calc(var(--st-max-wide) + 2*var(--st-gutter));margin:0 auto 20px;padding-inline:var(--st-gutter)}
  .st-gal__track{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:200px 200px;gap:8px;overflow:visible;padding:0}
  .st-gal__item{aspect-ratio:auto;border-radius:0}
  .st-gal__item:first-child{grid-row:span 2;border-radius:var(--st-r) 0 0 var(--st-r)}
  .st-gal__item:nth-child(3){border-top-right-radius:var(--st-r)}
  .st-gal__item:nth-child(5){border-bottom-right-radius:var(--st-r)}
  .st-gal__item:nth-child(n+6){display:none}
  .st-gal__all{right:calc(var(--st-gutter) + 12px);bottom:12px}
}
/* head + facts + actions */
.st-acc__grid{display:grid;gap:20px;padding-bottom:12px}
.st-acc__main{min-width:0}
.st-acc__title{font-size:var(--st-h1);line-height:1.2;margin:0 0 6px;color:var(--st-primary-dark)}
.st-acc__stars{color:#f5a623;font-size:.7em;letter-spacing:1px;vertical-align:middle;white-space:nowrap}
.st-acc__loc{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:0 0 8px;font-size:14px;color:var(--st-text-muted)}
.st-acc__loc .st-icon{width:18px;height:18px;color:var(--st-primary);margin-right:4px}
.st-acc__loc a{color:var(--st-primary)}
.st-acc__excerpt{margin:0 0 12px;line-height:1.55}
.st-acc__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:0 0 14px;padding:0}
.st-acc__facts li{display:grid;grid-template-columns:22px 1fr;column-gap:8px;align-items:center;padding:10px;background:#fff;border:1px solid var(--st-border);border-radius:var(--st-r-sm);font-size:14px;line-height:1.3}
.st-acc__facts .st-icon{grid-row:span 2;width:22px;height:22px;color:var(--st-primary)}
.st-acc__fl{font-size:12px;color:var(--st-text-muted)}
.st-acc__actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.st-acc__actions .st-btn{flex:1 1 160px}
.st-acc__noprice{flex-basis:100%;margin:0;font-size:14px;color:var(--st-text-muted)}
.st-acc__sec{padding-top:20px}
.st-acc__sec h2{font-size:var(--st-h2);color:var(--st-primary-dark);margin:0 0 8px;line-height:1.25}
.st-acc__sec.st-prose p,.st-acc__sec.st-prose li{line-height:1.65}
.st-acc__sec img{max-width:100%;height:auto}
.st-acc__amen{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 12px;list-style:none;margin:0;padding:0;font-size:14px}
.st-acc__amen li{display:flex;align-items:center;gap:6px}
.st-acc__amen .st-icon{width:18px;height:18px;color:var(--st-success);flex:none}
.st-acc__info{padding:0}
.st-faq__item{border-bottom:1px solid var(--st-border)}
.st-faq__q{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding-block:10px;font-weight:700;color:var(--st-primary-dark);cursor:pointer;list-style:none}
.st-faq__q::-webkit-details-marker{display:none}
.st-faq__q .st-icon{flex:none;color:var(--st-primary);transition:transform .2s}
.st-faq__item[open] .st-faq__q .st-icon{transform:rotate(180deg)}
.st-faq__a{padding-bottom:14px;line-height:1.6;overflow-x:auto}
.st-acc__tablelink{margin:0;border-bottom:1px solid var(--st-border)}
.st-acc__tablelink a{display:flex;align-items:center;justify-content:space-between;min-height:52px;font-weight:700;color:var(--st-primary);text-decoration:none}
.st-acc__map{margin:16px 0 0}
.st-acc__map a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:700;color:var(--st-primary)}
.st-acc__aside{display:none}
.st-acc__box{display:flex;flex-direction:column;gap:10px;padding:16px;background:#fff;border:1px solid var(--st-border);border-radius:var(--st-r);box-shadow:var(--st-shadow-1)}
.st-acc__box>p{margin:0}
.st-acc__boxt{font-weight:700;font-size:17px;color:var(--st-primary-dark)}
.st-acc__boxl,.st-acc__boxn{font-size:14px;color:var(--st-text-muted)}
@media (min-width:1024px){
  .st-acc__grid{grid-template-columns:minmax(0,1fr) 340px;gap:48px}
  .st-acc__aside{display:block}
  .st-acc__box{position:sticky;top:calc(var(--st-header-h) + 16px)}
  .st-acc__facts{grid-template-columns:repeat(4,minmax(0,1fr))}
  .st-acc__actions .st-btn{flex:0 1 auto}
}
/* sticky mobile CTA: sits directly above the bottom nav, appears only after the action row scrolls away */
.st-acc__sticky{position:fixed;left:0;right:0;bottom:calc(var(--st-bnav-h) + var(--st-sab));z-index:49;display:flex;gap:8px;padding:8px var(--st-gutter);background:#fff;border-top:1px solid var(--st-border);box-shadow:0 -4px 12px rgba(7,52,91,.08)}
.st-acc__sticky[hidden]{display:none}
.st-acc__sticky .st-btn{flex:1;min-height:44px;padding-block:8px}
/* nav hidden (html.st-bnav-hidden): CTA slides down by the nav height to the bottom safe area; ::after fills the
   iOS safe-area strip under it (behind the nav while the nav is shown, z-index 49 < 50) */
.st-acc__sticky{transition:transform .2s ease-out}
.st-acc__sticky::after{content:"";position:absolute;left:0;right:0;top:100%;height:var(--st-sab);background:#fff}
html.st-bnav-hidden .st-acc__sticky{transform:translateY(var(--st-bnav-h));transition-timing-function:ease-in;transition-duration:.18s}
@media (prefers-reduced-motion:reduce){.st-acc__sticky{transition:none}}
/* room for nav + CTA (61px) + safe area, so the CTA never covers the end of the page (was 64px: footer covered) */
html.st-has-sticky .st-footer{padding-bottom:calc(var(--st-bnav-h) + 64px + var(--st-sab))} /* STAB #51: reserve inside the footer */
html.st-kbd .st-acc__sticky{display:none}
@media (min-width:1024px){.st-acc__sticky{display:none!important}html.st-has-sticky .st-footer{padding-bottom:0}}

/* KUX item 5: lightbox (native dialog; one image at a time) */
.st-lb[open]{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;border-radius:0;background:#0d1720;color:#fff;display:grid;grid-template-rows:auto 1fr auto auto;padding:0 0 env(safe-area-inset-bottom);animation:none}
.st-lb::backdrop{background:#0d1720}
.st-lb__bar{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 6px 16px}
.st-lb__count{margin:0;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.st-lb__close,.st-lb__nav{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.st-lb__close:hover,.st-lb__nav:hover{background:rgba(255,255,255,.24)}
.st-lb__close:focus-visible,.st-lb__nav:focus-visible,.st-lb__th:focus-visible{outline:3px solid var(--st-accent);outline-offset:2px}
.st-lb__close .st-icon,.st-lb__nav .st-icon{width:24px;height:24px}
.st-lb__stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom;overflow:hidden}
.st-lb__img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
.st-lb__nav{position:absolute;top:50%;transform:translateY(-50%)}
.st-lb__nav--prev{left:8px}.st-lb__nav--next{right:8px}
.st-lb__cap{margin:0;padding:6px 16px;min-height:1.5em;font-size:13px;color:#c9d4de;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.st-lb__thumbs{display:none}
@media (min-width:1024px){
  .st-lb__stage{padding:0 72px}
  .st-lb__nav--prev{left:16px}.st-lb__nav--next{right:16px}
  .st-lb__thumbs{display:flex;gap:6px;overflow-x:auto;padding:8px 16px 12px;justify-content:safe center;scrollbar-width:thin}
  .st-lb__th{flex:none;width:72px;height:54px;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;background:#22303c;cursor:pointer;opacity:.6}
  .st-lb__th img{display:block;width:100%;height:100%;object-fit:cover}
  .st-lb__th[aria-current=true]{border-color:#fff;opacity:1}
  .st-lb__th:hover{opacity:1}
}
@media (prefers-reduced-motion:no-preference){.st-lb__img{transition:opacity .15s}.st-lb__img.is-loading{opacity:.35}}
/* STAB #52: >=1360px the description and amenities sit side by side inside the main column (the 720px text left ~300px empty beside
   it; amenities below it made the page longer). Text column ~620-700px at 17px = 65-80 characters. All content stays visible in DOM
   order (description first). Without :has() support the previous stacked layout is kept. */
@media (min-width:1360px){
  .st-acc__main:has(> .st-acc__sec--desc + .st-acc__sec--amen){display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,20vw,290px);column-gap:40px;align-items:start}
  .st-acc__main:has(> .st-acc__sec--desc + .st-acc__sec--amen)>*{grid-column:1/-1}
  .st-acc__main:has(> .st-acc__sec--desc + .st-acc__sec--amen)>.st-acc__sec--desc{grid-column:1;max-width:640px}
  .st-acc__main>.st-acc__sec--desc+.st-acc__sec--amen{grid-column:2;margin-top:20px;padding:16px;background:#fff;border:1px solid var(--st-border);border-radius:var(--st-r)}
  .st-acc__sec--desc+.st-acc__sec--amen h2{font-size:var(--st-h3)}
  .st-acc__sec--desc+.st-acc__sec--amen .st-acc__amen{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
}
/* t156u prices_display_v1: inline price lists (static copy of the drawer output) */
.st-acc__psum{margin:0 0 12px;font-weight:700;color:var(--st-primary-dark)}
.st-acc__plist+.st-acc__plist{margin-top:24px}
.st-acc__plt{margin:0 0 8px;font-size:17px}
.st-acc__sec--prices .st-pt__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.st-acc__pact{margin:10px 0 0}
.st-acc__sec--prices .st-prices__note{margin-top:12px;font-size:13px;color:var(--st-text-muted)}

/* t496u/t498u: info split + gentle gaps between pieces of text (tables untouched) */
.st-acc .st-prose p,.st-acc .st-faq__a p{margin:0 0 .7em}
.st-acc .st-prose p:last-child,.st-acc .st-faq__a p:last-child{margin-bottom:0}
.st-psplit{margin:0;padding-left:1.1em}
.st-psplit li+li{margin-top:.35em}
.st-psplit--above{margin-bottom:.75em}
.st-psplit--below{margin-top:.75em}
.st-psplit-g+.st-psplit-g{margin-top:.8em}
.st-psplit-g h3{margin:0 0 .3em;font-size:1rem}
.st-faq__a .st-psplit li:not(:first-child):not([class])+li{margin-top:.35em}
/* t505u/t506u */
.st-acc__loc .st-acc__maplink{white-space:nowrap}

/* t510u: compact price box + readable text width */
.st-psplit-m{margin:0 0 .6em;font-weight:600}
.st-psplit--key{margin-top:.6em;font-size:.9375rem}
.st-psplit--key li+li{margin-top:.25em}
/* t513u mobile overflow guard: tables scroll inside their own wrapper, long words wrap, no flex/grid child wider than the screen */
.st-acc__main,.st-acc__aside,.st-acc__pla,.st-faq__item,.st-faq__a,.st-psplit,.st-psplit-m,.st-acc__sec{min-width:0;max-width:100%}
.st-pt,.st-pt__scroll{max-width:100%;min-width:0}
.st-pt__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.st-faq__a,.st-psplit,.st-psplit-m,.st-acc__excerpt,.st-acc__loc,.st-prose,.st-faq__q{overflow-wrap:break-word;word-wrap:break-word}
@supports (overflow-wrap:anywhere){.st-faq__a,.st-psplit,.st-psplit-m,.st-acc__loc,.st-prose{overflow-wrap:anywhere}}
.st-faq__a img,.st-faq__a iframe,.st-prose img,.st-prose iframe{max-width:100%;height:auto}
.st-faq__a table{display:block;max-width:100%;overflow-x:auto}
.st-pt__grp th{text-align:left;font-weight:600;padding-top:10px}
/* t527u: Kratki podaci heading (same as section h2) + organizer terms link */
.st-acc__factsh{font-size:var(--st-h2);color:var(--st-primary-dark);margin:20px 0 8px;line-height:1.25}
.st-acc__terms{margin-top:1em}
/* t1155: price tables scroll inside their own box; text above/below and the section stay within the viewport */
.st-pt__scroll:has(.st-pt__hs){overflow:visible}
.st-pt__hs,.st-pt__tw{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.st-pt__hs.is-more,.st-pt__tw.is-more{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
@media (hover:hover) and (pointer:fine){.st-pt__hs.is-scroll,.st-pt__tw.is-scroll{cursor:grab}.st-pt__hs.is-drag,.st-pt__tw.is-drag{cursor:grabbing;user-select:none}}
/* t1161: price table look lives only in components/price-drawer.css; page tables are display-only */
/* trm: hotel description clamp (~4 lines), only when JS added .is-clamped */
.st-acc__clamp.is-clamped{max-height:6.6em;overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.st-acc__clampbtn{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:8px 0;background:none;border:0;color:var(--st-primary-dark);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.st-acc__clampbtn:focus-visible{outline:2px solid var(--st-primary-dark);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:no-preference){.st-acc__clamp{transition:max-height .25s ease}}
.st-acc__clampbtn[hidden]{display:none}
