/* C92 – LISTE NA TABLETU (768–991 uspravno, 992–1180 položeno). Link ima media="(min-width:768px) and (max-width:1180.98px)" – telefon i računar ne preuzimaju ovaj fajl.
   Novi elementi dolaze u markupu sa atributom `hidden` (bez kutije na telefonu i računaru); ovdje se uključuju samo u svom opsegu.
   Brend: Plus Jakarta Sans, bronza #996a37 (sitan tekst, dugmad) / #ad7c46 (linije, ikonice), #faf6f1, šampanj #f8efe3→#e9d4b8, linije #ece4d8; bez tamnoplave i tirkizne. */
.mdh-n--list .c92-lt { --c92-ink: #161e2d; --c92-sub: #5a6170; --c92-line: #ece4d8; --c92-bt: #996a37; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--c92-ink); box-sizing: border-box; }
/* Bootstrap postavlja [hidden]{display:none!important} – zato se ovdje prikaz uključuje sa !important, samo u opsegu ovog fajla */

/* ---- „Brzi filteri“ + tri brojke (samo uspravno, < 992) ---- */
@media (max-width: 991.98px) {
    .mdh-n--list .c92-lt--top { display: block !important; margin: 14px 0 16px; padding: 14px 16px 6px; border: 1px solid var(--c92-line); border-radius: 18px; background: #fff; }
    /* C99: „Brzi izbor po cilju“ – kartica u toplom tonu, čipovi bijeli; ispod broj rezultata, red povjerenja i „Mapa“ (tri brojke i „Brzi filteri“ ukinuti) */
    .mdh-n--list .c92-lt--top.c99-goal { padding: 14px 16px 12px; background: linear-gradient(180deg, #faf6f1, #fff 85%); }
    .mdh-n--list .c92-lt__chips { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .mdh-n--list .c92-lt__ey { font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c92-bt); }
    .mdh-n--list .c92-lt__ql { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; }
    .mdh-n--list .c92-lt__ql > li { margin: 0; padding: 0; }
    .mdh-n--list .c92-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid #ad7c46; border-radius: 999px; background: #fff; color: var(--c92-bt); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
    .mdh-n--list .c92-chip:hover { background: #faf6f1; border-color: #996a37; }
    .mdh-n--list .c92-chip:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }
    .mdh-n--list .c92-chip__n { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #f8efe3; color: #85592c; font-size: 12px; line-height: 1.3; font-weight: 800; text-align: center; }
    .mdh-n--list .c92-chip.is-on { background: var(--c92-bt); border-color: var(--c92-bt); color: #fff; }
    .mdh-n--list .c92-chip.is-on .c92-chip__n { background: rgba(255, 255, 255, .22); color: #fff; }
    .mdh-n--list .c92-chip__x { font-size: 17px; line-height: 1; }
    .mdh-n--list .c92-lt__map { margin-left: auto; }
    .mdh-n--list .c92-lt__map:empty { display: none; }
    /* „Mapa“ u traci (iz plutajućeg položaja): isto dugme i ista radnja, samo bez preklapanja kartica */
    .mdh-n--list .mdh-mapfab.c92-in-strip, .mdh-n--list .mdh-mapfab.c92-in-strip.is-hidden {
        position: static; left: auto; bottom: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; z-index: auto; height: 44px; padding: 0 18px;
        border: 1.5px solid var(--c92-bt); border-radius: 999px; background: #fff; color: var(--c92-bt); box-shadow: none; margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 'Plus Jakarta Sans', system-ui, sans-serif;
    }
    .mdh-n--list .mdh-mapfab.c92-in-strip[hidden] { display: none; }
    .mdh-n--list .mdh-mapfab.c92-in-strip:hover { background: #faf6f1; }
    .mdh-n--list .c92-lt__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px -16px 0; padding: 0; border-top: 1px solid var(--c92-line); }
    .mdh-n--list .c92-lt__stats > div { padding: 12px 16px 12px; text-align: left; }
    .mdh-n--list .c92-lt__stats > div + div { border-left: 1px solid var(--c92-line); }
    .mdh-n--list .c92-lt__stats dd { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--c92-ink); }
    .mdh-n--list .c92-lt__stats dt { margin: 3px 0 0; font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--c92-sub); }
    .mdh-n--list .c92-lt__stats { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); }
}

/* ---- red u mreži: Savjet agenta + Sačuvajte pretragu (768–1180) ---- */
.mdh-n--list .mdh-nl > .c92-lt--row { display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; grid-column: 1 / -1; order: 1; align-items: stretch; }
.mdh-n--list .mdh-nl > .c92-lt--row.is-solo { grid-template-columns: minmax(0, 1fr); }
.mdh-n--list .mdh-nl > .mdh-nl__item:nth-child(n+5 of .mdh-nl__item) { order: 2; }
.mdh-n--list .mdh-nl > .lrp-exp { order: 3; }
.mdh-n--list .mdh-nl > .mdh-nl-ask { order: 4; }
.mdh-n--list .c92-tip, .mdh-n--list .c92-save { margin: 0; padding: 18px 18px 16px; border: 1px solid var(--c92-line); border-radius: 18px; background: #fff; }
.mdh-n--list .c92-tip { background: linear-gradient(180deg, #faf6f1, #fff 60%); }
.mdh-n--list .c92-tip__top { display: flex; align-items: center; gap: 12px; }
.mdh-n--list .c92-tip__av { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #f8efe3; }
.mdh-n--list .c92-tip__av.is-init { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #85592c; border: 1px solid var(--c92-line); }
.mdh-n--list .c92-tip__h, .mdh-n--list .c92-save__h { margin: 0; font-size: 12px; line-height: 1.2; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c92-bt); }
.mdh-n--list .c92-tip__n { margin: 4px 0 0; font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--c92-ink); }
.mdh-n--list .c92-tip__n a { color: inherit; text-decoration: underline; text-decoration-color: #e9d4b8; text-underline-offset: 3px; }
.mdh-n--list .c92-tip__q { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--c92-ink); }
.mdh-n--list .c92-tip__q::before { content: "„"; }
.mdh-n--list .c92-tip__q::after { content: "“"; }
.mdh-n--list .c92-tip__ch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.mdh-n--list .c92-tip__ch li { margin: 0; }
.mdh-n--list .c92-tip__ch a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 2px; border: 1px solid #ad7c46; border-radius: 12px; background: #fff; color: var(--c92-bt); font-size: 12px; font-weight: 700; text-decoration: none; text-align: center; }
.mdh-n--list .c92-tip__ch li:first-child a { background: var(--c92-bt); border-color: var(--c92-bt); color: #fff; }
.mdh-n--list .c92-tip__ch a:hover { border-color: #85592c; }
.mdh-n--list .c92-tip__ch a:focus-visible, .mdh-n--list .c92-save__b:focus-visible, .mdh-n--list .c92-tip__n a:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }
.mdh-n--list .c92-tip__s { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--c92-sub); }
.mdh-n--list .c92-save { display: flex; flex-direction: column; background: linear-gradient(135deg, #f8efe3, #e9d4b8); border-color: #e9d4b8; }
.mdh-n--list .c92-save__p { margin: 8px 0 14px; font-size: 15px; line-height: 1.5; color: var(--c92-ink); }
.mdh-n--list .c92-save__b { margin-top: auto; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--c92-bt); color: #fff; font: 800 15px/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }
.mdh-n--list .c92-save__b:hover { background: #85592c; }
/* kad „Proširite pretragu“ već nudi „Obavijesti me“, ne ponavljamo je */
.mdh-n--list .mdh-nl:has(> .lrp-exp) .c92-save { display: none; }
.mdh-n--list .mdh-nl:has(> .lrp-exp) > .c92-lt--row.is-solo { display: none !important; }
.mdh-n--list .mdh-nl:has(> .lrp-exp) > .c92-lt--row { grid-template-columns: minmax(0, 1fr); }

/* ---- orfan u mreži: kartica „Niste našli pravu? – Recite nam šta tražite“ popunjava prazno mjesto (neparan broj kartica) ---- */
.mdh-n--list .mdh-nl > .mdh-nl__item:last-of-type:nth-of-type(odd) ~ .mdh-nl-ask { display: flex !important; flex-direction: column; justify-content: center; order: 2; grid-column: auto; margin: 0; }
.mdh-n--list .mdh-nl > .mdh-nl__item:last-of-type:nth-of-type(odd) ~ .mdh-nl-ask .mdh-nl-ask__find { align-self: flex-start; }
.mdh-n--list .mdh-nl:not(:has(> .mdh-nl__item:nth-child(4))) > .mdh-nl__item:last-of-type:nth-of-type(odd) ~ .mdh-nl-ask { order: 0 !important; }
.mdh-n--list .mdh-nl > .mdh-nl__item:last-of-type:nth-of-type(odd) ~ .mdh-nl-ask .mdh-nl-ask__ntf { display: none; }

/* ---- položeno (992–1180): mapa kraća, ispod nje „Cijene po naselju“ (ljepljivo, da desna kolona nije prazna) ---- */
@media (min-width: 992px) {
    .mdh-n--list { --c92-mh: clamp(340px, 46vh, 460px); }
    .mdh-n--list #map.top-map { height: var(--c92-mh) !important; min-height: 0 !important; }
    .mdh-n--list .c92-lt--side { display: block !important; position: sticky; top: calc(var(--mdh-hh, 57px) + 14px + var(--c92-mh) + 14px); margin-top: 14px; padding: 16px 18px 14px; border: 1px solid var(--c92-line); border-radius: 18px; background: #fff; }
    .mdh-n--list .c92-lt--side .c92-lt__h { margin: 0 0 6px; font-size: 12px; line-height: 1.2; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c92-bt); }
    .mdh-n--list .c92-nas { margin: 0; padding: 0; list-style: none; }
    .mdh-n--list .c92-nas li { margin: 0; border-top: 1px solid var(--c92-line); }
    .mdh-n--list .c92-nas li:first-child { border-top: 0; }
    .mdh-n--list .c92-nas a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; min-height: 44px; padding: 8px 0; color: var(--c92-ink); text-decoration: none; }
    .mdh-n--list .c92-nas a:hover .c92-nas__l { color: var(--c92-bt); text-decoration: underline; }
    .mdh-n--list .c92-nas a:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }
    .mdh-n--list .c92-nas__l { font-size: 15px; font-weight: 700; }
    .mdh-n--list .c92-nas__p { grid-column: 2; grid-row: 1; font-size: 15px; font-weight: 800; color: var(--c92-ink); }
    .mdh-n--list .c92-nas__n { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--c92-sub); }
    .mdh-n--list .c92-lt__foot { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--c92-sub); }
}

/* ---- placevi: pločice namjene (ikona) i kartica „Šta provjeriti“ (768–1180) ---- */
.mdh-n--list .c92-chip__i { flex: 0 0 auto; color: #ad7c46; }
.mdh-n--list .c92-chip.is-on .c92-chip__i { color: #fff; }
.mdh-n--list .c92-chk { margin: 0; padding: 18px 20px 16px; border: 1px solid var(--c92-line); border-radius: 18px; background: #faf6f1; }
.mdh-n--list .c92-chk__h { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 800; color: var(--c92-ink); }
.mdh-n--list .c92-chk__lead { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--c92-sub); }
.mdh-n--list .c92-chk__l { margin: 0 0 10px; padding: 0 0 0 20px; font-size: 14px; line-height: 1.5; color: var(--c92-ink); }
.mdh-n--list .c92-chk__l li { margin: 0 0 4px; }
.mdh-n--list .c92-chk__n { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--c92-sub); }
.mdh-n--list .c92-chk__cta { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--c92-ink); }
.mdh-n--list .c92-chk .c92-tip__ch { max-width: 520px; }

/* ---- C99 – „Brzi izbor po cilju“: meta red (broj rezultata · povjerenje · Mapa), samo uspravno (< 992) ---- */
@media (max-width: 991.98px) {
    .mdh-n--list .c99-goal .c92-lt__chips { display: block; }
    .mdh-n--list .c99-goal .c92-lt__ey { display: block; margin: 0 0 10px; }
    .mdh-n--list .c99-goal .c92-lt__ql { gap: 8px 10px; }
    .mdh-n--list .c99-goal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px -16px 0; padding: 12px 16px 0; border-top: 1px solid var(--c92-line); }
    .mdh-n--list .c99-goal__n { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 800; color: var(--c92-ink); }
    .mdh-n--list .c99-goal__trust { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; line-height: 1.35; font-weight: 500; color: var(--c92-sub); }
    .mdh-n--list .c99-goal__trust svg { flex: 0 0 auto; color: #ad7c46; }
    .mdh-n--list .c99-goal .c92-lt__map { margin-left: auto; }
}

/* C99 – red sa sortiranjem: „Obavijesti me“ popunjava prazninu desno od „Preporučeno · Najnovije · sortiranje“ (768–991; direktor 30. 11. 2026, 13:39) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify { justify-self: stretch; width: auto; margin-left: 4px; justify-content: center; }
}

/* TABLET uspravno 768–991 (direktor 4. 12. 2026, 11:33): jedan red kao na računaru – broj nekretnina · Preporučeno/Najnovije · sortiranje · zvono · mapa.
   Zvono i mapa su samo ikone (isto kao telefon); metalik nije na ovim malim elementima (izabrano = ravna bronza / šampanj). */
@media (min-width: 768px) and (max-width: 991.98px) {
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-tn { display: block !important; order: 0; flex: 1 1 auto; min-width: 0; margin: 0 8px 0 2px; font-size: 15px; line-height: 1.3; font-weight: 800; color: #161e2d; white-space: nowrap; }
    html body .mdh-n.lrp-on .lrp-mseg { order: 1; flex: 0 0 248px; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-sortbtn { order: 2; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify { order: 3; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; gap: 0; justify-self: auto; margin-left: 0; justify-content: center; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify > span { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-tmap { display: inline-flex !important; order: 4; margin: 0; }
    html body .mdh-n.lrp-on .mdh-nl-tmap:empty { display: none !important; }
    html body .mdh-n--list .mdh-mapfab.c92-in-strip, html body .mdh-n--list .mdh-mapfab.c92-in-strip.is-hidden { width: 44px; height: 44px; padding: 0; justify-content: center; gap: 0; border-color: #e9d4b8; background: #fff; }
    html body .mdh-n--list .mdh-mapfab.c92-in-strip > span { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify > .mdh-nl-notify__l,
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify > .mdh-nl-notify__s,
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-sortbtn > span {
        position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-sortbtn { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; justify-content: center; gap: 0; }
}

/* TABLET 768–991 (direktor 4. 12. 2026, 12:38): bez „20 nekretnina“ (broj je već u uvodu stranice); „Obavijesti me o novim“ ostaje puna pilula jer ima mjesta.
   Redoslijed: Preporučeno | Najnovije · sortiranje · Obavijesti me o novim ······ mapa/lista (desno). */
@media (min-width: 768px) and (max-width: 991.98px) {
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-tn { display: none !important; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify { flex: 0 0 auto; width: auto; height: 44px; padding: 0 18px; gap: 8px; justify-content: center; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify > .mdh-nl-notify__l { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; clip: auto !important; white-space: nowrap !important; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify > .mdh-nl-notify__s { display: none !important; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-notify.is-on > .mdh-nl-notify__l { display: inline !important; }
    html body .mdh-n.lrp-on .mdh-nl-acts.has-seg > .mdh-nl-tmap { margin-left: auto; }
}
