/*
 * Hotel Balkan Beograd — osnovni CSS (zajednički za sve strane).
 *
 * Redosled kao na prethodnom sajtu (kaskada): osnova -> raspored -> widgeti -> kit promenljive ->
 * navigacija, naslov, galerija -> komponente koje su ranije radile preko JS biblioteka
 * (karuseli, galerije, lightbox, mobilni meni). Posle ovog fajla se učitavaju:
 *   kit.css   — podrazumevani stilovi widgeta (generisano)
 *   parts.css — zaglavlje, podnožje, mobilni meni, kartica sobe (generisano)
 *   pages/<šablon>.css — stilovi konkretne strane (generisano)
 *
 * Breakpointi: widescreen >=2400, laptop <=1366, tablet_extra <=1200, tablet <=1024,
 * mobile_extra <=880, mobile <=767; html 91.2% na <=921px.
 *
 * Klase rasporeda: .sec (sekcija), .sec-in (unutrašnja sekcija), .row (kontejner), .col + .c33/.c50/.c100
 * (kolona), .wrap (omotač widgeta), .w (widget), .wc (unutrašnji kontejner widgeta, samo kad ga stil koristi),
 * .x-<id> (stilovi konkretnog elementa), .hide-* (sakriveno na breakpointu).
 */

/* ==========================================================================
   1. Osnova (reset — samo pravila koja nešto menjaju na ovom sajtu)
   ========================================================================== */
:root {
    --base-color-0: #046bd2;
    --base-color-1: #045cb4;
    --base-color-2: #1e293b;
    --base-color-3: #334155;
    --base-color-5: #FFFFFF;
    --base-color-6: #e2e8f0;
    --border-color: var(--base-color-6);
    --input-bg: #F9FAFB;
}
html, body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, blockquote, figure, fieldset, legend,
address, pre, iframe, hr, textarea {
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    font-size: 100%;
}
*, :before, :after { box-sizing: inherit; }
body {
    margin: 0;
    position: relative;
    overflow-x: hidden;
    background-color: #fff;
    color: var(--base-color-3);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: var(--body-line-height, 1.65em);
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 921px) {
    html { font-size: 91.2%; }
}
a {
    color: var(--base-color-0);
    background-color: transparent;
    text-decoration: none;
    transition: all .2s linear;
}
a:hover, a:focus { color: var(--base-color-1); }
a:active { outline: 0; }
a:focus { outline: none; }
a:focus-visible { outline: thin dotted; }
img { border: 0; height: auto; max-width: 100%; vertical-align: middle; }
iframe { max-width: 100%; }
p { margin: 0 0 1.75em; }
strong { font-weight: 700; }
i { font-style: italic; }
ul, ol { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul { margin-bottom: 0; margin-left: 1.5em; }
h1, h2, h3 { clear: both; font-weight: 600; color: var(--base-color-2); }
h1 { font-size: 2.5rem; line-height: 1.4em; }
h2 { font-size: 2rem; line-height: 1.3em; }
h3 { font-size: 1.625rem; line-height: 1.3em; }
@media (max-width: 921px) {
    h1 { font-size: 30px; }
    h2 { font-size: 25px; }
    h3 { font-size: 20px; }
}
::selection { background-color: var(--base-color-0); color: #fff; }
input, select, button, textarea {
    color: inherit;
    font-family: inherit;
    font-weight: 400;
    font-size: 1rem;
    line-height: var(--body-line-height, 1.65em);
    margin: 0;
    vertical-align: baseline;
}
input, select { line-height: 1; }
input { outline: none; }
button {
    -webkit-appearance: button;
    cursor: pointer;
    text-transform: none;
}
input::-moz-focus-inner, button::-moz-focus-inner { border: 0; padding: 0; }
input[type=text], input[type=email], input[type=number], input[type=tel], select, textarea {
    color: #666;
    padding: .75em;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    background: var(--input-bg);
    box-shadow: none;
    transition: all .2s linear;
    -webkit-appearance: none;
}
input[type=text]:focus, input[type=email]:focus, input[type=number]:focus, input[type=tel]:focus, select:focus, textarea:focus {
    color: #111;
    background-color: #fff;
    box-shadow: none;
    border-style: dotted;
    border-color: inherit;
    border-width: thin;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
textarea { overflow: auto; width: 100%; padding-left: 3px; }

/* Pomoćne */
.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    word-wrap: normal !important;
    top: 0 !important;
}
.skip-link:focus {
    clip: auto !important;
    height: auto;
    width: auto;
    left: 5px;
    top: 5px;
    z-index: 100000;
    padding: 15px 23px 14px;
    background-color: #f1f1f1;
    border-radius: 2px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    color: #21759b;
    font-size: .875rem;
    line-height: normal;
}
#page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;   /* original ima horizontalni overflow (apsolutne slike, karuseli) */
}
#page > main { flex-grow: 1; }
/* jednostavan kontejner (strana Politika privatnosti) */
.plain-ctr { margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 922px) { .plain-ctr { max-width: 1240px; } }

/* ==========================================================================
   2. Kit (globalne boje i tipografija)
   ========================================================================== */
:root {
    --c-primary: #FFFFFF;
    --c-secondary: #212121;
    --c-text: #212121;
    --c-accent: #D3D3D3;
    --c-b3aa0b5: #434D48;
    --c-3ac1adb: #5E0620;
    --c-0b905ab: #F1E5AC;
    --t-primary-font-family: "Playfair Display";
    --t-primary-font-size: 55px;
    --t-primary-font-weight: 600;
    --t-secondary-font-family: "Satoshi";
    --t-secondary-font-size: 18px;
    --t-secondary-font-weight: 400;
    --t-text-font-family: "Satoshi";
    --t-text-font-size: 18px;
    --t-text-font-weight: 400;
    --t-accent-font-family: "Satoshi";
    --t-accent-font-size: 18px;
    --t-accent-font-weight: 500;
}

/* ==========================================================================
   3. Raspored (sekcija -> kontejner -> kolona -> omotač -> widget)
   ========================================================================== */
.el *, .el :before, .el :after { box-sizing: border-box; }
.el a { box-shadow: none; text-decoration: none; }
.el img { border: none; border-radius: 0; box-shadow: none; height: auto; max-width: 100%; }
.el video, .el iframe { border: none; line-height: 1; margin: 0; max-width: 100%; width: 100%; }
.el .ov { inset: 0; position: absolute; }
.el .bgv { direction: ltr; inset: 0; overflow: hidden; position: absolute; z-index: 0; pointer-events: none; }
.el .bgv-v {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.sec { position: relative; }
.sec .row { display: flex; margin-inline: auto; position: relative; }
.sec.boxed > .row { max-width: 1140px; }
.sec.it-top > .row { align-items: flex-start; }
.sec.it-mid > .row { align-items: center; }
.sec.ct-mid > .row > .col > .wrap { align-content: center; align-items: center; }
.col { display: flex; min-height: 1px; position: relative; }
.wrap { display: flex; position: relative; width: 100%; flex-wrap: wrap; align-content: flex-start; }
.wrap > * { width: 100%; }
.gap-def > .col > .wrap { padding: 10px; }
.sec-in .gap-no .wrap { padding: 0; }
.w { position: relative; }
.w:not(:last-child) { margin-block-end: 20px; }
.w:not(:last-child).w-auto { margin-block-end: 0; }
.wrap .w-auto { max-width: 100%; width: auto; }
@media (min-width: 768px) {
    .col.c33 { width: 33.333%; }
    .col.c50 { width: 50%; }
    .col.c100 { width: 100%; }
}
@media (max-width: 1024px) {
    .sec .row { flex-wrap: wrap; }
    .sec.boxed > .row { max-width: 1024px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .rev-t > .row > :first-child { order: 10; }
    .rev-t > .row > :nth-child(2) { order: 9; }
}
@media (min-width: 768px) and (max-width: 880px) {
    .rev-t > .row > :first-child, .rev-t > .row > :nth-child(2) { order: 0; }
    .rev-mx > .row > :first-child { order: 10; }
    .rev-mx > .row > :nth-child(2) { order: 9; }
}
@media (max-width: 767px) {
    .sec.boxed > .row { max-width: 767px; }
    .rev-m > .row > :first-child { order: 10; }
    .rev-m > .row > :nth-child(2) { order: 9; }
    .col { width: 100%; }
}
/* sakrivanje po breakpointu */
@media (min-width: 2400px) { .el .hide-ws { display: none; } }
@media (min-width: 1367px) and (max-width: 2399px) { .el .hide-d { display: none; } }
@media (min-width: 1201px) and (max-width: 1366px) { .el .hide-l { display: none; } }
@media (min-width: 1025px) and (max-width: 1200px) { .el .hide-tx { display: none; } }
@media (min-width: 881px) and (max-width: 1024px) { .el .hide-t { display: none; } }
@media (min-width: 768px) and (max-width: 880px) { .el .hide-mx { display: none; } }
@media (max-width: 767px) { .el .hide-m { display: none; } }

/* poravnanja */
.al-left { text-align: left; }
.al-right { text-align: right; }
.al-right .btn { width: auto; }
.al-just .btn { width: 100%; }
@media (max-width: 880px) { .al-mx-center { text-align: center; } }
@media (max-width: 767px) {
    .al-m-center { text-align: center; }
    .al-m-center .btn { width: auto; }
}

/* ==========================================================================
   4. Widgeti
   ========================================================================== */
/* naslov */
.ttl { line-height: 1; margin: 0; padding: 0; }
.w-head h2.ttl { line-height: 1.3em; }
.w-head h3.ttl { line-height: 1.3em; }
.ttl > a { color: inherit; font-size: inherit; line-height: inherit; }

/* naslov u dve boje */
.dh h1, .dh h2, .dh h3 { margin: 0; }

.dh-sd .dh-s { display: block; }
@media (max-width: 976px) { .dh-st .dh-s { display: block; } }

/* tekst */
.w-text p:last-child { margin-bottom: 0; }

/* dugme */
.btn {
    display: inline-block;
    background-color: #69727d;
    border-radius: 3px;
    color: #fff;
    fill: #fff;
    font-size: 15px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
}
.btn:hover, .btn:focus, .btn:visited { color: #fff; }
.btn-c { display: flex; flex-direction: row; gap: 5px; justify-content: center; }
.btn-t { display: inline-block; }
.btn span { text-decoration: inherit; }
.btn-i { align-items: center; display: flex; }
.btn-i svg { height: auto; width: 1em; }
.is-room .w-btn .btn { text-decoration: none; }

/* ikona */
.ico {
    display: inline-block;
    color: #69727d;
    font-size: 50px;
    line-height: 1;
    text-align: center;
    transition: all .3s;
}
.ico:hover { color: #69727d; }
.ico svg { display: block; height: 1em; position: relative; width: 1em; }

/* slika */
.w-img { text-align: center; }
.w-img a { display: inline-block; }
.w-img img { display: inline-block; vertical-align: middle; }

/* razdelnik */
.w-div {
    --divider-border-style: none;
    --divider-border-width: 1px;
    --divider-color: #0c0d0e;
}
.w-div .dv { display: flex; }
.w-div .dv-s {
    direction: ltr;
    display: flex;
    margin: 0;
    border-block-start: var(--divider-border-width) var(--divider-border-style) var(--divider-color);
}

/* lista sa ikonama / info o sobi */
.w .il, .el ul.il { list-style-type: none; margin: 0; padding: 0; }
.w .il-i { margin: 0; padding: 0; position: relative; }
.w .il-i:after { inset-block-end: 0; inset-inline-end: 0; position: absolute; width: 100%; }
.w .il-i, .w .il-i a { align-items: var(--icon-vertical-align, center); display: flex; font-size: inherit; }
.w .il-ic { display: flex; position: relative; inset-block-start: var(--icon-vertical-offset, initial); }
.w .il-ic svg { height: var(--e-icon-list-icon-size, 1em); width: var(--e-icon-list-icon-size, 1em); }
.w .il-ic + .il-t { align-self: center; padding-inline-start: 5px; }
.w.w-list .il-ic { text-align: var(--e-icon-list-icon-align); }
.w.w-list .il-ic svg { margin: var(--e-icon-list-icon-margin, 0 calc(var(--e-icon-list-icon-size, 1em) * .25) 0 0); }
.w.al-end .il-i, .w.al-end .il-i a { justify-content: end; text-align: end; }
.w.al-end .il { justify-content: end; }
.w.il-inl { overflow: hidden; }
.w .il.inl { display: flex; flex-wrap: wrap; margin-inline: -8px; }
.w .il.inl .il-i { margin-inline: 8px; }
.w .il.inl .inl-i { word-break: break-word; }
.w .il.inl .il-i:after {
    border-width: 0;
    border-inline-start-width: 1px;
    border-style: solid;
    height: 100%;
    inset-inline-end: -8px;
    inset-inline-start: auto;
    position: relative;
    width: auto;
}
.il .il-i .il-t { display: inline-block; }
@media (max-width: 880px) {
    .w.al-mx-center .il-i, .w.al-mx-center .il-i a { justify-content: center; }
    .w.al-mx-center .inl { justify-content: center; }
}

/* društvene mreže */
.grid { display: grid; grid-column-gap: var(--grid-column-gap); grid-row-gap: var(--grid-row-gap); }
.grid .soc-i { min-width: 0; }
.w-soc.grid-0 { font-size: 0; line-height: 1; }
.w-soc .grid {
    grid-column-gap: var(--grid-column-gap, 5px);
    grid-row-gap: var(--grid-row-gap, 5px);
    grid-template-columns: var(--grid-template-columns);
    justify-content: var(--justify-content, center);
    justify-items: var(--justify-content, center);
}
.grid-0 .grid {
    display: inline-block;
    margin-block-end: calc(-1 * var(--grid-row-gap));
    width: 100%;
    word-spacing: var(--grid-column-gap);
}
.grid-0 .grid .soc-i { display: inline-block; margin-block-end: var(--grid-row-gap); word-break: break-word; }
.soc-a {
    --e-social-icon-icon-color: #fff;
    align-items: center;
    background-color: #69727d;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    text-align: center;
}
.ico.soc-a {
    font-size: var(--icon-size, 25px);
    height: calc(var(--icon-size, 25px) + 2 * var(--icon-padding, .5em));
    line-height: var(--icon-size, 25px);
    width: calc(var(--icon-size, 25px) + 2 * var(--icon-padding, .5em));
}
.soc-a svg { fill: var(--e-social-icon-icon-color); }
.soc-a:last-child { margin: 0; }
.soc-a:hover { color: #fff; opacity: .9; }

/* razmak */
.col .spc { height: var(--spacer-size); }

/* mapa */
.w-map { overflow: hidden; }
.w-map .embed { line-height: 0; }
.w-map iframe { height: 300px; }

/* animacija "grow" na dugmetu */
.grow { transition-duration: .3s; transition-property: transform; }
.grow:hover, .grow:focus, .grow:active { transform: scale(1.1); }

/* ==========================================================================
   5. Forme
   ========================================================================== */
.frm-fs { display: flex; flex-wrap: wrap; }
.fg { align-items: center; flex-wrap: wrap; }
.fg.ft-sub { align-items: flex-end; }
.ft-sub, .f-btns { justify-content: flex-start; }
.f-btns { display: flex; flex-wrap: wrap; }
.fl { cursor: pointer; }
.mark-req .fl:after { color: red; content: "*"; padding-inline-start: .2em; }
.fld-t {
    border-radius: 3px;
    font-size: 15px;
    line-height: 1.4;
    min-height: 40px;
    padding: 5px 14px;
}
.fg .fld-t {
    background-color: transparent;
    border: 1px solid #69727d;
    color: #1f2124;
    flex-grow: 1;
    max-width: 100%;
    vertical-align: middle;
    width: 100%;
}
.fg .fld-t:focus { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); outline: 0; }
.fg .fld-t::placeholder { color: inherit; font-family: inherit; opacity: .6; }
.lbl-above .fg > input, .lbl-above .fg > .sel-w, .lbl-above .fg > textarea { flex-basis: 100%; max-width: 100%; }
.fg .sel-w { display: flex; position: relative; width: 100%; }
.fg .sel-w select {
    -webkit-appearance: none;
    appearance: none;
    color: inherit;
    flex-basis: 100%;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    padding-inline-end: 20px;
    text-transform: inherit;
}
.sel-w .caret {
    font-size: 11px;
    inset-inline-end: 10px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.sel-w .caret svg { display: block; width: .571em; height: 2em; font-size: 19px; fill: currentColor; }
.ft-sub .btn { flex-basis: auto; }
.frm .btn { border: none; padding-block-start: 0; padding-block-end: 0; min-height: 40px; }
.frm .btn .btn-c { align-items: center; gap: 5px; }
.frm .btn .btn-t { white-space: normal; flex-grow: unset; order: unset; }
.frm .upl { padding: 0; border: 0; background: none; min-height: 0; line-height: 1.65em; }
.frm__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.frm__msg { width: 100%; margin-top: 10px; font-size: 15px; line-height: 1.4; }
/* Google reCAPTCHA v2 (checkbox 304×78): mesto je rezervisano, pa se sadržaj ne pomera kad se widget učita */
.frm .ft-captcha { min-height: 78px; overflow: hidden; }
/* forme sa oznakama iznad polja (Karijera, Kontakt): widget nema oznaku, pa bi bio pribijen uz liniju polja iznad */
.frm .lbl-above .ft-captcha { margin-top: 20px; }
.frm__captcha { width: 304px; min-height: 78px; transform-origin: 0 0; }   /* u užoj formi JS ga smanjuje (scale) */
.frm__captcha.is-invalid iframe { box-shadow: 0 0 0 1px #d9534f; border-radius: 3px; }
.frm__msg:empty { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); }   /* ostaje živa oblast za čitače ekrana */
.frm__msg--ok { color: #6a9e3f; }
.frm__msg--err { color: #d9534f; }
.frm__err { display: block; width: 100%; color: #d9534f; font-size: 13px; line-height: 1.4; margin-top: 4px; }
.fld-t.is-invalid { border-color: #d9534f !important; }

/* ==========================================================================
   6. Navigacija i izbor jezika
   ========================================================================== */
.w-nav, div.nav, .nav-lh, .nav-lh .nav, .nav a.nav-a, .nav a.sub-a { display: flex; }
.w-nav, div.nav { flex-direction: column; }
ul.nav, .nav ul, .nav li { list-style: none !important; margin: 0; padding: 0; }
.nav li.mi { position: relative; }
.nav .sub li.mi { position: relative; background: inherit; }
.nav:before, .nav:after { content: ''; display: table; clear: both; }
.nav-lh { font-size: 0; }
.nav-lh li.mi { font-size: medium; }
.nav-lh .nav { flex-wrap: wrap; }
.nav-ar .nav { margin-left: auto; justify-content: flex-end; }
.nav a.nav-a, .nav a.sub-a {
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    align-items: center;
    justify-content: space-between;
}
.nav a.nav-a:hover, .nav a.sub-a:hover { text-decoration: none; }
.nav li.mi-btn { align-self: center; }
.el .nav .mi-btn a { text-decoration: none; }
/* podmeni (na hover / fokus) */
.nav .sub { min-width: 220px; margin: 0; z-index: 9999; }
.nav-lh .nav .sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 16;
    visibility: hidden;
    opacity: 0;
    text-align: left;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
    transition: all .1s;
}
.nav-lh .nav .mi-hc:hover > .sub,
.nav-lh .nav .mi-hc:focus-within > .sub,
.nav-lh .nav .mi-hc.is-open > .sub { visibility: visible; opacity: 1; }
.nav .sub-arr {
    display: flex;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    margin-top: -10px;
    margin-bottom: -10px;
}
.nav-lh .nav .sub-arr { margin-left: 10px; }
.nav .sub-arr .ic-angle { display: block; width: .625em; height: 1em; fill: currentColor; }
@media (max-width: 1024px) {
    .nav-bp-m .nav-lh .nav .mi-hc:hover > .sub { visibility: hidden; opacity: 0; transition: none; }
    .nav .sub { min-width: auto; }
}
/* vertikalni meni (mobilni meni) */
.nav-v .nav-lv .nav { flex-direction: column; }

/* izbor jezika */
.lng-h { border: 1px solid transparent; padding: 7px; clear: both; }
.lng-h > ul { padding: 0; margin: 0 !important; list-style-type: none; }
.lng-h .lng-i { padding: 0; margin: 0; list-style-type: none; display: inline-block; position: relative; }
.lng-h a { display: block; text-decoration: none; padding: 5px 10px 6px; line-height: 1; }
.lng-h a span { vertical-align: middle; }
.lng a { color: #B27285; }
.lng li:not(.lng-cur) .lng-a { color: #a1a1a1; }
.lng .lng-cur > a { color: #fff; }
.lng .lng-cur:hover > a, .lng .lng-cur > a:focus { color: #a1a1a1; }
.lng-n:hover { color: #fff; }

/* ==========================================================================
   7. Dugme "nazad na vrh"
   ========================================================================== */
.to-top {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 2.1em;
    height: 2.1em;
    padding: 0;
    border: 0;
    line-height: 2.1;
    text-align: center;
    cursor: pointer;
    color: #fff;
    background-color: #5f021f;
    font-size: 15px;
    border-radius: 150px;
}
.to-top:hover, .to-top:focus { color: #fff; background-color: #840930; }
.to-top.is-visible { display: block; }
.to-top svg {
    position: relative;
    width: 1.6em;
    height: .6em;          /* strelica se crta 14×8 px, kao na prethodnom sajtu */
    vertical-align: middle;
    fill: currentColor;
    transform: translate(0, -20%) rotate(180deg);
}
@media (max-width: 921px) {
    .to-top svg { width: 1em; height: .85em; }
}

/* ==========================================================================
   8. Karusel slika u nizu (neprekidno kretanje, centrirano)
   ========================================================================== */
.jc { position: relative; }
.jc__view { overflow: hidden; overflow: clip; position: relative; }
.jc__track { display: flex; width: max-content; will-change: transform; }
.jc__i {
    flex: none;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-right: var(--jc-gap);
    cursor: zoom-in;
}
.jc__i img {
    display: block;
    width: auto;
    max-width: none;
    height: var(--jc-h);
    object-fit: cover;
}
.jc__dots { height: calc(1rem * 1.65); }
@media (max-width: 1024px) { .jc__i img { height: var(--jc-h-t); } }
@media (max-width: 767px) { .jc__i img { height: var(--jc-h-m); } }

/* ==========================================================================
   9. Slajdšou sa sličicama (prelaz "fade")
   ========================================================================== */
.mc { --per: 4; --mc-gap: 15px; }
.mc__main { position: relative; height: 436px; margin-bottom: var(--mc-gap); }
.mc__s {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    overflow: hidden;
    border-radius: 15px;
    transition: opacity .8s ease;
}
.mc__s.is-active { opacity: 1; z-index: 1; }
.mc__img { display: block; height: 100%; background: no-repeat 50%; background-size: cover; }
.mc__thumbs { overflow: hidden; overflow: clip; }
.mc__track { display: flex; gap: var(--mc-gap); transition: transform .8s ease; }
.mc__t {
    flex: 0 0 calc((100% - (var(--per) - 1) * var(--mc-gap)) / var(--per));
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 15px;
    background: none;
    cursor: pointer;
}
.mc__t:not(.is-active):after { content: ""; position: absolute; inset: 0; background-color: rgba(0, 0, 0, .3); }
@media (max-width: 1366px) { .mc { --mc-gap: 10px; } }
@media (max-width: 1200px) { .mc { --per: 3; } }
@media (max-width: 767px) { .mc { --per: 2; } }

/* ==========================================================================
   10. Galerija (masonry i grid)
   ========================================================================== */
.eg {
    --hgap: 30px;
    --vgap: 30px;
    --columns: 3;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 1px;
}
.eg-i {
    display: block;
    position: relative;
    overflow: hidden;
    flex-grow: 0;
    flex-shrink: 0;
    border-radius: var(--image-border-radius);
    text-decoration: none;
}
.eg-img {
    display: block;
    width: 100%;
    background-position: center center;
    background-size: cover;
    transform-origin: center top;
    transition-property: filter, transform;
    transition-duration: var(--image-transition-duration);
}
.eg-ov {
    position: absolute;
    inset: 0;
    transition-property: mix-blend-mode, transform, opacity, background-color;
    transition-duration: var(--overlay-transition-duration);
}
/* grid */
.eg-g { display: grid; grid-gap: var(--vgap) var(--hgap); grid-template-columns: repeat(var(--columns), 1fr); }
.eg-g .eg-img { padding-bottom: 75%; }   /* 4:3 */
/* masonry: raspored (kolona, red, visina) računa main.js kao E-Gallery; bez JS-a — obična mreža */
.eg-m { display: grid; grid-gap: var(--vgap) var(--hgap); grid-template-columns: repeat(var(--columns), 1fr); align-items: start; }
.eg-m .eg-img { padding-bottom: var(--ih); }
.eg-m.is-laid {
    display: flex;
    height: 0;
    padding-bottom: var(--pb);
    margin-bottom: calc(var(--gaps) * var(--vgap));
}
.eg-m.is-laid .eg-i {
    --iw: calc(100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns)));
    position: absolute;
    width: var(--iw);
    top: calc(var(--top) + var(--row) * var(--vgap));
    left: calc(var(--iw) * var(--col) + var(--hgap) * var(--col));
}
@media (max-width: 1366px) { .eg { --hgap: 20px; --vgap: 20px; } }
@media (max-width: 1200px) { .eg { --columns: 2; } }
@media (max-width: 767px) { .eg { --hgap: 30px; --vgap: 30px; --columns: 1; } }

/* ==========================================================================
   11. Galerija sa filterom (masonry)
   ========================================================================== */
.ug-w { margin: 0 -10px; position: relative; }
.ug-w:after { content: ""; display: table; clear: both; }
.ug-i { float: left; width: 16.66%; }
.ug-w.is-laid .ug-i { float: none; position: absolute; }
.ug-c { position: relative; }
.ug-a { display: block; }
.ug-th { display: block; overflow: hidden; position: relative; }
.ug-th img { display: block; width: 100%; margin-bottom: 0; transition: all .3s linear; vertical-align: middle; }
.ug-ov {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: background-color 150ms linear;
}
.ug-ic {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 135ms linear;
}
.ug-ic svg { display: inline-block; width: 25px; height: 25px; fill: var(--c-0b905ab); }
@media (max-width: 1024px) { .ug-t3 .ug-i { width: 33.33%; } }
@media (max-width: 767px) { .ug-m2 .ug-i { width: 50%; } }

/* ==========================================================================
   12. Karusel soba
   ========================================================================== */
.lc { --per: 4; --gap: 30px; overflow: hidden; overflow: clip; }
.lc__track { display: flex; gap: var(--gap); will-change: transform; }
.lc__track > .card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; }
@media (min-width: 2400px) { .lc { --per: 3; } }
@media (max-width: 1366px) { .lc { --per: 2; } }
@media (max-width: 767px) { .lc { --per: 1; } }
/* oblačić sa punim nazivom sobe */
.tip {
    position: absolute;
    left: 50%;
    bottom: 100%;
    z-index: 999;
    width: 350px;
    max-width: 90vw;
    margin-bottom: 5px;
    padding: 5px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: var(--c-3ac1adb);
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
}
.has-tip:hover > .tip, .has-tip:focus-within > .tip { opacity: 1; visibility: visible; }

/* ==========================================================================
   13. Lightbox (dva izgleda: "el" za galerije i slajdšou, "fb" za karusel slika i galeriju sa filterom)
   ========================================================================== */
.lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    color: hsla(0, 0%, 93%, .9);
    user-select: none;
    -webkit-user-select: none;
}
.lb[hidden] { display: none; }
.lb__stage { position: absolute; inset: 0; overflow: hidden; }
.lb__track { display: flex; height: 100%; transition: transform .5s ease; }
.lb__slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb.is-zoomed .lb__slide[aria-hidden="false"] { overflow: auto; align-items: flex-start; justify-content: flex-start; }
.lb.is-zoomed .lb__slide[aria-hidden="false"] img { max-width: none; max-height: none; margin: auto; cursor: zoom-out; }
.lb__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    line-height: 1;
    cursor: pointer;
}
.lb__btn svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.lb__btn:hover, .lb__btn:focus { background: none; color: #fff; }
.lb.is-single .lb__prev, .lb.is-single .lb__next, .lb.is-single .lb__fbprev, .lb.is-single .lb__fbnext { display: none; }

/* izgled "el" */
/* Ulaz kao na originalu: pozadina (i dugme za zatvaranje) se pojavljuje postepeno (fade 400 ms),
   a zoom (.3s) ima samo sadržaj — slika, strelice i traka sa alatima. Svi se skaliraju oko centra ekrana,
   pa izgledaju kao jedna celina (na prethodnom sajtu su u zajedničkom omotaču). */
.lb--el { background: rgba(0, 0, 0, .8); animation: lbFade .4s cubic-bezier(.36, 0, .64, 1); }
.lb--el .lb__stage, .lb--el .lb__head, .lb--el .lb__prev, .lb--el .lb__next { animation: lbZoomIn .3s; }
.lb--el .lb__head { transform-origin: 50% 50vh; }
.lb--el .lb__prev { transform-origin: 50vw 50%; }
.lb--el .lb__next { transform-origin: calc(100% - 50vw) 50%; }
.lb--el .lb__counter, .lb--el .lb__bar, .lb--el .lb__fbprev, .lb--el .lb__fbnext, .lb--el .lb__thumbs { display: none !important; }
.lb--el .lb__slide { padding: 70px; }
.lb--el .lb__slide img {
    border-radius: 20px;   /* kao na prethodnom sajtu (inače 2px) */
    box-shadow: 0 0 30px rgba(0, 0, 0, .3), 0 0 8px -5px rgba(0, 0, 0, .3);
}
.lb--el .lb__head {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 2.6em 15px 1em;
    font-size: 20px;
    pointer-events: none;
}
.lb--el .lb__head .lb__btn { margin: 0 .35em; padding: .25em; box-sizing: content-box; width: 1em; height: 1em; pointer-events: auto; }
.lb--el > .lb__x {
    position: absolute;
    z-index: 11;
    right: .75em;
    top: 0;
    margin-top: 13px;
    padding: .25em;
    font-size: 20px;
}
.lb--el .lb__prev, .lb--el .lb__next {
    position: absolute;
    top: 0;
    z-index: 2;
    height: 100%;
    width: 15%;
    font-size: 25px;
}
.lb--el .lb__prev { left: 0; }
.lb--el .lb__next { right: 0; }
.lb--el.is-zoomed .lb__prev, .lb--el.is-zoomed .lb__next { opacity: 0; pointer-events: none; }
.lb--el.is-zoomed .lb__head { background-color: rgba(0, 0, 0, .5); }
@media (max-width: 767px) {
    .lb--el .lb__slide { padding: 70px 0; }
    .lb--el .lb__prev, .lb--el .lb__next { width: 20%; }
    .lb--el .lb__prev { justify-content: flex-start; }
    .lb--el .lb__next { justify-content: flex-end; }
    .lb--el .lb__prev svg, .lb--el .lb__next svg { box-sizing: content-box; padding: 10px; background-color: rgba(0, 0, 0, .5); }
}

/* izgled "fb" */
.lb--fb { background: rgba(30, 30, 30, .9); color: #ccc; animation: lbFade .366s; }
.lb--fb .lb__head, .lb--fb > .lb__x, .lb--fb .lb__prev, .lb--fb .lb__next { display: none !important; }
.lb--fb .lb__slide { padding: 44px; }
.lb--fb .lb__slide img { border-radius: 20px; }
.lb--fb .lb__counter {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    height: 44px;
    min-width: 44px;
    padding: 0 10px;
    color: #ccc;
    font-size: 13px;
    line-height: 44px;
    -webkit-font-smoothing: subpixel-antialiased;
    mix-blend-mode: difference;
    pointer-events: none;
}
.lb--fb .lb__bar { position: absolute; top: 0; right: 0; z-index: 3; display: flex; }
.lb--fb .lb__bar .lb__btn, .lb--fb .lb__fbprev, .lb--fb .lb__fbnext {
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(30, 30, 30, .6);
    color: #ccc;
    transition: color .2s;
}
.lb--fb .lb__bar .lb__btn:hover, .lb--fb .lb__bar .lb__btn:focus { color: #fff; background: rgba(30, 30, 30, .6); }
.lb--fb .lb__bar svg { width: 100%; height: 100%; }
.lb__play svg + svg, .lb.is-playing .lb__play svg:first-child { display: none; }
.lb.is-playing .lb__play svg + svg { display: block; }
.lb--fb .lb__fbprev, .lb--fb .lb__fbnext {
    position: absolute;
    top: calc(50% - 50px);
    z-index: 3;
    width: 70px;
    height: 100px;
    background-clip: content-box;
}
.lb--fb .lb__fbprev { left: 0; padding: 31px 26px 31px 6px; }
.lb--fb .lb__fbnext { right: 0; padding: 31px 6px 31px 26px; }
.lb--fb .lb__fbprev span, .lb--fb .lb__fbnext span { display: block; width: 100%; height: 100%; padding: 7px; }
.lb--fb .lb__fbprev svg, .lb--fb .lb__fbnext svg { width: 100%; height: 100%; }
.lb--fb .lb__fbprev:hover, .lb--fb .lb__fbnext:hover, .lb--fb .lb__fbprev:focus, .lb--fb .lb__fbnext:focus { color: #fff; background: rgba(30, 30, 30, .6); background-clip: content-box; }
.lb__thumbs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    width: 212px;
    overflow-y: auto;
    padding: 2px 2px 4px;
    background: #ddd;
}
.lb__thumbs button {
    float: left;
    width: 100px;
    max-width: calc(50% - 4px);
    height: 75px;
    margin: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, .1);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.lb__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumbs button.is-active:after {
    content: "";
    position: absolute;
    inset: 0;
    border: 6px solid #ff5268;
}
.lb.show-thumbs .lb__stage { right: 212px; }
.lb.show-thumbs .lb__bar, .lb.show-thumbs .lb__fbnext { right: 212px; }
@media (max-width: 576px) {
    .lb__thumbs { width: 110px; }
    .lb__thumbs button { max-width: calc(100% - 10px); }
    .lb.show-thumbs .lb__stage, .lb.show-thumbs .lb__bar, .lb.show-thumbs .lb__fbnext { right: 110px; }
}
@media (max-width: 767px) {
    .lb--fb .lb__slide { padding: 44px 6px; }
}
@keyframes lbZoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .lb, .lb--el .lb__stage, .lb--el .lb__head, .lb--el .lb__prev, .lb--el .lb__next, .mnav__panel { animation: none !important; }
    .lb__track, .mc__track, .mc__s, .lc__track, .jc__track { transition: none !important; }
}

/* ==========================================================================
   14. Mobilni meni (preko celog ekrana)
   ========================================================================== */
.mnav { position: fixed; inset: 0; z-index: 9999; display: flex; justify-content: center; align-items: center; }
.mnav[hidden] { display: none; }
.mnav:not(.js):target { display: flex; }   /* bez JavaScript-a: link #mnav u zaglavlju (JS dodaje .js) */
.mnav__panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: auto;
    background-color: var(--c-3ac1adb);
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
    line-height: 1.5;   /* kao na prethodnom sajtu */
    animation: mnavIn .5s both;
}
.mnav.is-closing .mnav__panel { animation: mnavOut .5s both; }
.mnav__close {
    position: absolute;
    top: 3%;
    right: 20px;
    z-index: 2;
    display: flex;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
}
.mnav__close:hover { color: #D5D5D5; }
.mnav__close:hover, .mnav__close:focus { background: none; }
.mnav__close svg { width: 1em; height: 1em; fill: currentColor; }
html.mnav-open, html.mnav-open body { overflow: hidden; }
@keyframes mnavIn { from { transform: translate3d(100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes mnavOut { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, 0, 0); } }

/* ==========================================================================
   15. Štampa
   ========================================================================== */
@media print {
    .to-top, .mnav, .lb, .bgv, .hdr .w-nav, .hdr .w-icon { display: none !important; }
}
