/* FSP galerija: krupne fotografije, čitljiv opis, dostupno na telefonu. */
.fspzr-photo-grid .fspzr-photo { min-width:0; }
.fspzr-photo-open { display:block; position:relative; overflow:hidden; color:inherit; }
.fspzr-photo-open img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.fspzr-photo-open:focus-visible { outline:3px solid #bd3142; outline-offset:-3px; }
.fspzr-zoom-indicator { position:absolute;right:10px;bottom:10px; background:#152f49ed;color:#fff;padding:8px 10px;border-radius:5px;font-size:13px;line-height:1.2;font-weight:700; }
.fspzr-photo-grid figcaption strong {display:block;color:#172f49;font-size:16px;line-height:1.35}
.fspzr-photo-excerpt {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#536579;font-size:13px;line-height:1.55;margin-top:5px}
.fsp-gallery-dialog:not([open]) {display:none}
.fsp-gallery-dialog {position:fixed; margin:auto; padding:0; border:1px solid #d1dce7; border-radius:12px; box-shadow:0 20px 90px #07152370; width:min(1120px,calc(100vw - 24px)); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); color:#182d43; background:#fff; overflow:auto; overscroll-behavior:contain}
.fsp-gallery-dialog::backdrop {background:rgba(7,18,32,.88)}
.fsp-gallery-modal {position:relative; display:flex;flex-direction:column;min-width:0}
.fsp-gallery-close {position:absolute;z-index:3;top:12px;right:12px;width:46px;height:46px;border-radius:50%;border:1px solid #ffffff80;background:#172e45;color:#fff;font-size:19px;font-weight:700;cursor:pointer}
.fsp-gallery-image-area {display:flex;position:relative;align-items:center;justify-content:center;min-height:180px;background:#101c2a;padding:15px 57px}
.fspzr-gallery-root .fsp-gallery-dialog img.fsp-gallery-full {display:block;max-width:100%;width:auto;max-height:min(68dvh,800px);height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:2px;background:transparent}
.fsp-gallery-arrow {position:absolute;top:50%;transform:translateY(-50%);width:46px;height:54px;border:1px solid #ffffff72;background:#152f49;color:#fff;font-size:35px;line-height:1;cursor:pointer;border-radius:7px}
.fsp-gallery-arrow[hidden] {display:none}
.fsp-gallery-prev {left:6px}.fsp-gallery-next {right:6px}
.fsp-gallery-content {padding:18px 24px 24px;overflow-wrap:anywhere}
.fsp-gallery-info {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.fsp-gallery-info h2 {color:#16314b;font-size:clamp(20px,2.5vw,27px);line-height:1.3;margin:0}
.fsp-gallery-position {font-size:13px;color:#536679;margin:3px 0 0;white-space:nowrap}
.fsp-gallery-description {font-size:16px;line-height:1.7;color:#263a4d;margin-top:12px;max-height:22dvh;overflow:auto}
.fsp-gallery-description[hidden] {display:none}
.fsp-gallery-description p {margin:0 0 9px}
.fsp-gallery-dialog button:focus-visible {outline:3px solid #f6b94c;outline-offset:3px}
@media (max-width:600px) {
  .fsp-gallery-dialog {width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:7px}
  .fsp-gallery-image-area {padding:62px 34px 10px;min-height:140px}
  .fspzr-gallery-root .fsp-gallery-dialog img.fsp-gallery-full {max-height:57dvh;aspect-ratio:auto;width:auto;height:auto;object-fit:contain}
  .fsp-gallery-arrow {width:33px;height:48px;font-size:30px}
  .fsp-gallery-prev {left:1px}.fsp-gallery-next {right:1px}
  .fsp-gallery-close {top:9px;right:9px;width:43px;height:43px}
  .fsp-gallery-content {padding:15px 16px 18px}
  .fsp-gallery-description {font-size:15px;max-height:24dvh}
  .fspzr-zoom-indicator {padding:6px 8px;font-size:12px}
}
@media (prefers-reduced-motion:reduce) {.fsp-gallery-dialog * {scroll-behavior:auto!important}}
