/*
 * N5 – šablon stranice projekta novogradnje, dorada (direktor 19. 11. 2026, 13:00–13:03: „uradi tako, isto za sve projekte“) – RAČUNAR ≥ 1280.
 * Učitava se sa media="(min-width: 1280px)" i sva pravila su u istom @media – telefon i tablet (< 1280) se NE mijenjaju.
 * 1 vrh: smjenjivanje do 4 rendera + red sličica + „Galerija (N)“ + 3 činjenice · 2 „Zašto“ 3 niske kartice · 3 traka alata izbora ·
 * 4 tabela (zaglavlje bronza verzal, naizmjenični redovi, status po rodu, red → jedinica) · 5 „Spisak“ garaža kao kartice po grupama ·
 * 6 lokacija u dvije kolone (lista lijevo, mapa / fotografija iz vazduha desno) · 7 vremenska linija faza · 8 kredit uz kalkulator ·
 * 9 investitor · 10 „Šta nudi“ kartice u 3 kolone + galerija kompleksa · 11 „Šta dobijate“ mreža ikonica + galerija enterijera.
 * Brend: #161e2d, #5a6170, #ece4d8, bronza #996a37 (hover #85592c), #ad7c46 linije/ikonice, šampanj #f8efe3 → #e9d4b8, topla #faf6f1,
 * maslinasta #5b6b4e/#e7ebdf samo male oznake. Bez tamnih površina, bez tamnoplave/tirkizne, bez emoji. Animacije samo opacity/transform.
 */
@media (min-width: 1280px) {

/* ================= redoslijed (nastavak N2/N4) ================= */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .n5-galsec { order: 80; margin-top: 72px; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .n5-cx,
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .n5-eq { display: block !important; margin-top: 72px; }
html body .n5-cx, html body .n5-eq, html body .n5-gal, html body .n5-inv, html body .n5-why, html body .n5-tools, html body .n5-exg { font-family: inherit; color: #161e2d; }
html body .n5-cx :focus-visible, html body .n5-eq :focus-visible, html body .n5-gal :focus-visible, html body .n5-inv :focus-visible, html body .n5-tools :focus-visible,
html body .n5-exg :focus-visible, html body .n5-hth :focus-visible, html body .n4-tb tr[data-n5-href]:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }

/* ================= 1. vrh – smjenjivanje rendera ================= */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .n5-hs { display: block !important; position: absolute; inset: 0; z-index: -2; overflow: hidden; }
html body .n5-hs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
html body .n5-hs__img.is-on { opacity: 1; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .nbe-hero__img,
html body .n5-hs__img { transform: scale(1); transition: opacity 1.6s ease, transform 9s ease-out; }
html body .nbe-hero.n5-anim .nbe-hero__img.is-on, html body .nbe-hero.n5-anim .n5-hs__img.is-on { transform: scale(1.045); }
/* kartica vrha malo uža – red sličica dolje desno se ne preklapa sa karticom (1176 px sadržaja) */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero:has(.n5-hth) .nbe-wrap.nbe-hero__body { max-width: 660px; }
/* oznaka „Vizualizacija“ gore desno (dolje desno je red sličica) */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .nbe-hero__vis { top: 24px; bottom: auto; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .n5-hth {
    display: flex !important; position: absolute; z-index: 2; right: max(32px, calc((100% - 1176px) / 2)); bottom: 40px; align-items: center; gap: 6px; padding: 6px;
    border-radius: 16px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 16px 40px -24px rgba(22, 30, 45, .55);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .n5-hth { background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
html body .n5-hth__b { display: block; width: 58px; height: 40px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #e9e2d6; cursor: pointer; opacity: .82; transition: opacity .15s ease, border-color .15s ease; }
html body .n5-hth__b img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .n5-hth__b:hover { opacity: 1; }
html body .n5-hth__b[aria-pressed="true"] { opacity: 1; border-color: #996a37; }
html body .n5-hth__p { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ece4d8; border-radius: 50%; background: #fff; color: #85592c; cursor: pointer; }
html body .n5-hth__p .is-play, html body .n5-hth__p[aria-pressed="true"] .is-pause { display: none; }
html body .n5-hth__p[aria-pressed="true"] .is-play { display: block; }
html body .n5-hth__g {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: #161e2d;
    font: inherit; font-size: 14px; font-weight: 700; cursor: zoom-in; transition: box-shadow .2s ease, color .15s ease;
}
html body .n5-hth__g svg { color: #ad7c46; }
html body .n5-hth__g:hover { color: #85592c; box-shadow: 0 10px 22px -12px rgba(153, 106, 55, .6); }
/* 3 činjenice ispod podnaslova */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .nbe-hero__body > .n5-facts { order: 2; display: flex !important; flex-wrap: wrap; gap: 8px 22px; margin: 2px 0 2px; padding: 0; list-style: none; }
html body .n5-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #161e2d; }
html body .n5-facts li svg { flex: none; color: #ad7c46; }
html body .n5-facts li + li { position: relative; }
html body .n5-facts li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #d9c4a6; }

/* ================= 2. „Zašto baš ovaj projekat“ – 3 niske kartice ================= */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .n4-why.n5-why:not(.is-line) { display: block !important; padding: 0; border: 0; border-radius: 0; background: none; margin-top: 28px; }
html body .n5-why:not(.is-line) .n4-why__h { max-width: none; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; color: #85592c; }
html body .n5-why:not(.is-line) .n4-why__h::before { content: ""; width: 26px; height: 1.5px; background: #ad7c46; }
html body .n5-why__list { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
html body .n5-why__c { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #ece4d8; box-shadow: 0 10px 30px -26px rgba(22, 30, 45, .5); }
html body .n5-why__c:not(.has-img) { background: linear-gradient(135deg, #faf6f1, #f8efe3); }
html body .n5-why__img { position: relative; display: block; height: 112px; background: #e9e2d6; }
html body .n5-why__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .n5-why__img .nbe-vis { position: absolute; top: 8px; right: 8px; }
html body .n5-why__tx { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; align-items: start; padding: 14px 18px 16px; }
html body .n5-why__ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f8efe3; color: #ad7c46; font-style: normal; }
html body .n5-why__tx b { font-size: 15.5px; line-height: 1.3; font-weight: 700; }
html body .n5-why__tx small { font-size: 13.5px; line-height: 1.45; color: #4f5664; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .n5-why + #izaberite-stan { margin-top: 28px; }

/* ================= 3. traka alata izbora (jedna linija) ================= */
html body .n5-tools { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; min-height: 44px; }
html body .n5-seg { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: #faf6f1; border: 1px solid #ece4d8; }
html body .n5-seg__b {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #5a6170;
    font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
html body .n5-seg__b:hover { color: #161e2d; }
html body .n5-seg__b[aria-pressed="true"] { background: #996a37; color: #fff; box-shadow: 0 6px 14px -8px rgba(153, 106, 55, .7); }
html body .n5-seg--sm .n5-seg__b { min-height: 30px; padding: 0 13px; font-size: 13px; }
html body .n5-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin: 0; }
html body .n5-chips[hidden] { display: none; }
html body .n5-chip {
    display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; border: 1px solid #ece4d8; border-radius: 999px; background: #fff; color: #161e2d;
    font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
html body .n5-chip small { font-size: 12.5px; font-weight: 600; color: #5a6170; }
html body .n5-chip i { position: relative; flex: none; width: 16px; height: 16px; border: 1.5px solid #ad7c46; border-radius: 4px; background: #fff; }
html body .n5-chip:hover { border-color: #ad7c46; }
html body .n5-chip[aria-pressed="true"] { background: #f8efe3; border-color: #ad7c46; }
html body .n5-chip[aria-pressed="true"] i { background: #996a37; border-color: #996a37; }
html body .n5-chip[aria-pressed="true"] i::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html body .nbn-zg .n5-tools { margin: 0 0 14px; }
html body .nbn-zg__img { position: relative; }
html body .n5-vonly { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 600; color: #3d4452; }

/* ================= 4. tabela jedinica (zatvorena) ================= */
html body .n4-tb .nbn-tb__t { font-size: 14px; }
html body .n4-tb .nbn-tb__t thead th { background: #fff; border-bottom: 2px solid #ece4d8; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #85592c; padding: 12px 12px; }
html body .n4-tb .nbn-tb__t td, html body .n4-tb .nbn-tb__t tbody th { padding: 12px 12px; border-bottom: 1px solid #f1ebe2; }
html body .n4-tb .nbn-tb__t tbody tr:nth-child(even) { background: #faf6f1; }
html body .n4-tb .nbn-tb__t tbody tr[data-n5-href] { cursor: pointer; transition: background-color .12s ease; }
html body .n4-tb .nbn-tb__t tbody tr[data-n5-href]:hover { background: #f8efe3; }
html body .n4-tb .nbn-tb__t tbody th a { color: #161e2d; font-weight: 800; }
html body .n4-tb .nbn-tb__t tbody tr[data-n5-href]:hover th a { color: #85592c; }
html body .n4-tb .nbn-tb__t td.is-n b { font-size: 15.5px; font-weight: 800; color: #161e2d; font-variant-numeric: tabular-nums; }
html body .n4-tb .nbn-tb__t tr.is-sold td.is-n b { color: #5a6170; font-weight: 600; }
html body .n4-tb .nbn-st--reserved, html body .n5-exg .nbn-st--reserved { background: #fff; border: 1px solid #ad7c46; color: #85592c; }
html body .n4-tb .nbn-st--sold, html body .n5-exg .nbn-st--sold { background: #f1ede7; color: #5a6170; }
html body .n4-tb .nbn-st--available, html body .n5-exg .nbn-st--available { background: #e7ebdf; color: #4a5840; }

/* ================= 5. dodatni parking / garaže – „Spisak“ kao kartice po grupama ================= */
/* „Spisak“ se otvara ispod kartice preko cijele širine (sadržaj <details> ima svoj okvir – display: contents ga ne razbija) */
html body .nbn.n4-ex { position: relative; }
html body .nbn.n4-ex:not(:has(.n4-ex__d[open])) { row-gap: 0; }
html body .n4-ex .n4-ex__d { display: block; flex: 1 0 100%; width: 100%; min-width: 0; }
html body .n4-ex .n4-ex__d > summary { position: absolute; top: 16px; right: 20px; }
html body .n4-ex .n4-ex__in { padding-right: 150px; }
html body .n5-exg { flex: 1 0 100%; width: 100%; display: flex; flex-direction: column; gap: 20px; margin: 4px 0 0; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid #ece4d8; }
html body .n5-exg__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #ece4d8; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #85592c; }
html body .n5-exg__h small { font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 600; color: #5a6170; }
html body .n5-exg__l { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
html body .n5-exc__a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l s" "t t" "p p"; gap: 2px 8px; align-items: center; height: 100%; padding: 12px 14px;
    border: 1px solid #ece4d8; border-radius: 12px; background: #faf6f1; color: #161e2d; text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease;
}
html body a.n5-exc__a:hover { border-color: #996a37; box-shadow: 0 10px 22px -16px rgba(153, 106, 55, .6); }
html body .n5-exc__a b { grid-area: l; font-size: 15px; font-weight: 800; }
html body .n5-exc__a .nbn-st { grid-area: s; min-height: 22px; font-size: 11.5px; padding: 0 8px; }
html body .n5-exc__t { grid-area: t; font-size: 12.5px; color: #5a6170; }
html body .n5-exc__p { grid-area: p; margin-top: 4px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
html body .n5-exc.is-sold .n5-exc__a { background: #fff; color: #5a6170; }
html body .n5-exc.is-sold .n5-exc__p { font-weight: 600; }

/* ================= 6. lokacija – dvije kolone ================= */
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-loc { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-loc > div { width: auto; min-width: 0; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-loc > div:first-child { order: 2; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-loc > div:only-child { grid-column: 1 / -1; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-loc > div:first-child:empty { display: none; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-loc:has(> div:first-child:empty) { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-lmap { height: 440px; border-radius: 20px; overflow: hidden; }
html body .n5-near__h { display: block !important; margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #85592c; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 { display: flex !important; flex-direction: column; gap: 0; margin: 0; padding: 0; overflow: visible; grid-template-columns: none !important; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 > li { width: auto !important; min-width: 0; margin: 0; border-bottom: 1px solid #ece4d8; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 > li > button,
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 > li > span {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; max-width: none; min-width: 0; min-height: 60px; padding: 10px 4px;
    border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; font: inherit; color: #161e2d;
}
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 > li > button { cursor: pointer; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 > li > button:hover b { color: #85592c; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3__ic { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: #f8efe3; color: #ad7c46; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 b { font-size: 15px; font-weight: 700; }
html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] #lokacija .nbe-near3 b + span { font-size: 14px; font-weight: 600; color: #5a6170; white-space: nowrap; text-align: right; }
html body .n5-loc__air { display: block !important; position: relative; margin: 0; }
html body .n5-loc__air img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 20px; }
html body .n5-loc__air .nbe-vis { position: absolute; top: 12px; right: 12px; }
html body .n5-loc__air figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: #5a6170; }
html body .n5-loc__air figcaption svg { flex: none; color: #ad7c46; }

/* ================= 7. gradnja – vremenska linija faza ================= */
html body .n4-ph { background: #fff; border: 1px solid #ece4d8; box-shadow: 0 18px 40px -36px rgba(22, 30, 45, .5); }
html body .n4-ph__tl { margin-top: 18px; }
html body .n4-ph__tl::before, html body .n4-ph__tl::after { top: 12px; height: 3px; border-radius: 3px; }
html body .n4-ph__tl::before { background: #ece4d8; }
html body .n4-ph__tl::after { background: linear-gradient(90deg, #5b6b4e, #ad7c46); }
html body .n4-ph__tl li > i { width: 27px; height: 27px; }
html body .n4-ph__tl li.is-now > i { box-shadow: 0 0 0 6px rgba(173, 124, 70, .22); }
html body .n4-ph__tl li.is-now b { color: #85592c; }
html body .n4-ph__tl li.is-now { padding: 0 10px 10px 0; }
html body .n4-ph__m > * { width: 56px; height: 40px; border-radius: 8px; }

/* ================= 8. plaćanje – kredit uz kalkulator (i „Uskoro“) ================= */
/* kredit je jednom – u kartici uz kalkulator; stara kartica „Kreditno plaćanje“ se na računaru ne ponavlja (i kad nema gotovinskog plana) */
html body #placanje:has(.n4-pay__cr) .nbe-paym__c--cr { display: none !important; }
html body #placanje:has(.n4-pay__cr) .nbe-paym:not(:has(> .nbe-paym__c:not(.nbe-paym__c--cr))) { display: none !important; }
html body #placanje .n4-pay__crh .nbe-badge { font-size: 12px; padding: 4px 10px; }
html body #placanje .n4-pay__crh .nbe-badge--moguc { background: #e7ebdf; color: #4a5840; }
html body #placanje .n4-pay__crh .nbe-badge--uskoro { background: #fff; border: 1px solid #ad7c46; color: #85592c; }

/* ================= 9. investitor ================= */
html body #ko-gradi > .nbe-wrap > .nbe-ey, html body #ko-gradi .nbn-h2x, html body #ko-gradi .nbe-2c { display: none !important; }
html body .n5-inv { display: grid !important; grid-template-columns: 340px minmax(0, 1fr); gap: 24px 56px; align-items: start; }
html body .n5-inv__id { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
html body .n5-inv__logo { display: grid; place-items: center; width: 104px; height: 104px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid #ece4d8; box-shadow: 0 14px 30px -24px rgba(22, 30, 45, .5); }
html body .n5-inv__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
html body .n5-inv__mono { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 20px; background: linear-gradient(135deg, #f8efe3, #e9d4b8); color: #85592c; font-size: 44px; font-weight: 300; border: 1px solid #ecdcc4; }
html body .n5-inv__h { font-weight: 700; letter-spacing: -.02em; }
html body .n5-inv__role { margin: 8px 0 0; font-size: 14.5px; color: #5a6170; }
html body .n5-inv__body { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; min-width: 0; }
html body .n5-inv__tx p { margin: 0 0 8px; font-size: 16px; line-height: 1.7; color: #3d4452; max-width: 70ch; }
html body .n5-inv__nums { display: inline-grid; justify-self: start; align-self: flex-start; grid-template-columns: repeat(var(--n, 3), minmax(150px, 220px)); margin: 0; border: 1px solid #ece4d8; border-radius: 16px; background: #faf6f1; overflow: hidden; }
html body .n5-inv__nums > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 16px 20px; border-left: 1px solid #ece4d8; }
html body .n5-inv__nums > div:first-child { border-left: 0; }
html body .n5-inv__nums dd { margin: 0; font-size: 34px; line-height: 1; font-weight: 300; letter-spacing: -.02em; color: #85592c; font-variant-numeric: tabular-nums; }
html body .n5-inv__nums dt { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #5a6170; }
html body .n5-inv__nums dt svg { flex: none; color: #ad7c46; }
html body .n5-inv__rows { margin: 0; border-top: 1px solid #ece4d8; }
html body .n5-inv__rows > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #f1ebe2; }
html body .n5-inv__rows dt { font-size: 14px; color: #5a6170; }
html body .n5-inv__rows dd { margin: 0; font-size: 14.5px; font-weight: 700; }
html body .n5-inv__done { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
html body .n5-inv__done figure { margin: 0; }
html body .n5-inv__done figure > span { display: block; height: 150px; border-radius: 14px; overflow: hidden; background: #e9e2d6; }
html body .n5-inv__done img { width: 100%; height: 100%; object-fit: cover; }
html body .n5-inv__done figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
html body .n5-inv__done figcaption b { font-size: 14.5px; }
html body .n5-inv__done figcaption small { font-size: 12.5px; color: #5a6170; }
html body .n5-inv__more { margin: 0; font-size: 14px; color: #5a6170; }
html body .n5-inv__more a { color: #85592c; font-weight: 700; text-decoration: none; }
html body .n5-inv__more a:hover { text-decoration: underline; }

/* ================= 10. „Šta nudi kompleks / zgrada“ – kartice u 3 kolone ================= */
html body .n5-cx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
html body .n5-cx__c { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #ece4d8; box-shadow: 0 14px 34px -30px rgba(22, 30, 45, .5); }
html body .n5-cx__img { position: relative; display: block; height: 190px; background: #e9e2d6; }
html body .n5-cx__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .n5-cx__img .nbe-vis { position: absolute; top: 10px; right: 10px; }
html body .n5-cx__tx { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
html body .n5-cx__tx h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; }
html body .n5-cx__tx h3 i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #f8efe3; color: #ad7c46; font-style: normal; }
html body .n5-cx__ico { display: grid; place-items: center; height: 190px; background: linear-gradient(135deg, #f8efe3, #efe0cb); color: #ad7c46; border-bottom: 1px solid #ecdcc4; }
html body .n5-cx__ico svg { width: 56px; height: 56px; }
html body .n5-cx__tx p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3d4452; }
html body .n5-cx__tx .nbe-more summary { font-size: 13.5px; font-weight: 700; color: #85592c; cursor: pointer; }

/* ================= 10./11. galerija (jedna po cjelini) ================= */
html body .n5-gal { display: block; margin-top: 40px; }
html body .n5-galsec .n5-gal { margin-top: 0; }
html body .n5-gal__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
html body .n5-gal__h { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
html body .n5-gal__h small { font-size: 15px; font-weight: 600; color: #5a6170; }
html body .n5-gal__grid { list-style: none; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 180px; gap: 10px; margin: 0; padding: 0; }
html body .n5-gal__grid li { min-width: 0; }
html body .n5-gal__grid li[hidden] { display: none; }
html body .n5-gal__grid li.is-first { grid-row: span 2; }
html body .n5-gal__grid button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #faf6f1; cursor: zoom-in; }
html body .n5-gal__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
html body .n5-gal__grid button:hover img { transform: scale(1.03); }
html body .n5-gal__grid .nbe-vis { position: absolute; left: 10px; bottom: 10px; }
html body .n5-gal__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(22, 30, 45, .45); color: #fff; font-size: 22px; font-weight: 800; }
html body .n5-gal__more[hidden] { display: none; }
/* manje od 5 fotografija – mreža bez praznih polja */
html body .n5-gal__grid:has(> li:nth-child(1):last-child) { grid-template-columns: 1fr; grid-auto-rows: 360px; }
html body .n5-gal__grid:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
html body .n5-gal__grid:has(> li:nth-child(2):last-child) li.is-first { grid-row: auto; }
html body .n5-gal__grid:has(> li:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
html body .n5-gal__grid:has(> li:nth-child(4):last-child) { grid-template-columns: 2fr 1fr 1fr; }
html body .n5-gal__grid:has(> li:nth-child(4):last-child) li:last-child { grid-column: span 2; }

/* ================= 11. „Šta dobijate“ – mreža ikonica ================= */
html body .n5-eq__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; border-top: 1px solid #ece4d8; }
html body .n5-eq__i { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 20px 0; border-bottom: 1px solid #ece4d8; }
html body .n5-eq__i dt { display: contents; font-size: 16px; font-weight: 700; }
html body .n5-eq__i dt i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f8efe3; color: #ad7c46; font-style: normal; }
html body .n5-eq__i dd { grid-column: 2; margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; color: #4f5664; }

/* ================= stranica jedinice: kalkulator kredita samo jednom (R7-09) ================= */
html body .nbn-u-wrap:has(a.nbn-btn[href="#kredit"]) ~ .ms-sec .ms-unit-page__calc#kredit:not(:target):not(.n5-open) { display: none; }

}
@media (min-width: 1280px) and (prefers-reduced-motion: reduce) {
    html body .n5-hs__img, html body .nbp.nbe.nbe[data-nbr-p][data-nbr-p] > .nbe-hero .nbe-hero__img, html body .n5-gal__grid img, html body .n5-seg__b, html body .n5-chip { transition: none; transform: none !important; }
    html body .n5-hth__p { display: none !important; }
}
