/* AP Properties · pravac C (tamno, fotografije u boji).
   Tokeni odgovaraju Figma promenljivima „AP Boje" (mod „Škriljac i pesak") i stilovima teksta.
   Širok verzal (wdth 125) samo za hero, H1, naslov oglasa, navigaciju i oznake. */

:root {
	--ap-bg: #1e252b;
	--ap-card: #262f34;
	--ap-raise: #2d373d;
	--ap-light: #eeefeb;
	--ap-line: #36414a;
	--ap-line-l: #5e6b73;
	--ap-fg: #eeefeb;
	--ap-muted: #9aa5aa;
	--ap-on-light: #1e252b;
	--ap-accent: #cdb892;
	--ap-accent-hover: #dac9a8;
	--ap-on-accent: #1e252b;
	--ap-logo-a: #c9b996;
	--ap-logo-b: #dcddde;
	--ap-ok: #8fc4a0;
	/* Figma: ekspozicija .02, kontrast .08, zasićenje -.15, temperatura .12 */
	--ap-photo-filter: saturate(.85) contrast(1.08) brightness(1.02) sepia(.08);
	--ap-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--ap-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--ap-display: "Saira", "Archivo", "Helvetica Neue", Arial, sans-serif;
	--ap-gutter: 48px;
	--ap-section: 112px;
	--ap-max: 1440px;
	--ap-label-gap: 16px;
	color-scheme: dark;
}

/* ---------- Osnova ---------- */
body.ap-site { background: var(--ap-bg); color: var(--ap-fg); font-family: var(--ap-font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.ap-site .site, body.ap-site .site-content, body.ap-site #page { background: var(--ap-bg); }
body.ap-site h1, body.ap-site h2, body.ap-site h3, body.ap-site h4 { color: var(--ap-fg); font-family: var(--ap-font); text-wrap: balance; }
.ap-site a { color: inherit; }
.ap-site :focus-visible { outline: 2px solid var(--ap-accent); outline-offset: 3px; }
.ap-listing-view .site-content > .ast-container { max-width: none; padding: 0; display: block; }
.ap-listing-view #primary, .ap-listing-view .content-area { margin: 0; padding: 0; width: 100%; }
.ap-main { color: var(--ap-fg); }
.ap-main img { display: block; max-width: 100%; height: auto; }

/* ---------- Tipografija ---------- */
.ap-x, .ap-h1, .ap-hero-title, .ap-nav__list a, .ap-tabs a, .ap-logo__name {
	font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase;
}
.ap-h2, .ap-h3, .ap-h4, .ap-btn, .ap-link, .ap-card__title { font-stretch: 100%; font-variation-settings: "wdth" 100; text-transform: none; }
.ap-hero-title { font-size: clamp(30px, 5.84vw, 84px); line-height: .94; font-weight: 500; letter-spacing: .02em; margin: 0; }
.ap-h1 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1; font-weight: 500; letter-spacing: .01em; margin: 0; }
.ap-h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; font-weight: 350; letter-spacing: -.02em; margin: 0; }
.ap-h3 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.005em; margin: 0; }
.ap-h4 { font-size: 20px; line-height: 1.25; font-weight: 600; margin: 0; }
/* Logo i naslovi: Saira Light, malo proširen (Figma: Naslov/Hero, H1, Oglas, H2, Logo/Naziv). */
body.ap-site :is(.ap-hero-title, .ap-h1, .ap-h2, .ap-logo__name) { font-family: var(--ap-display); font-weight: 300; font-stretch: 112%; font-variation-settings: "wdth" 112; }
/* Logo po Figmi (AP, čvor 36:59): Saira ExtraLight 16 px, normalna širina, bez razmaka slova; „AP" i levi deo znaka zlatni. */
body.ap-site .ap-logo__name { font-weight: 200; font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: 16px; line-height: 1.2; letter-spacing: 0; }
body.ap-site .ap-logo__name b { font-weight: 200; }
/* Navigacija, tabovi, oznake na fotografijama i mobilni meni: Saira normalne širine, kao logo
   (u Figmi su bili Archivo Expanded, Goran 4.11.2026: pogrešan font). Sajt sada ima tri fonta:
   Saira (logo, naslovi, navigacija, oznake), Archivo (tekst, dugmad, linkovi), IBM Plex Mono (male oznake). */
body.ap-site :is(.ap-x, .ap-nav__list a, .ap-tabs a, .ap-chip, .ap-tag, .ap-mobile-menu__list a) { font-family: var(--ap-display); font-stretch: 100%; font-variation-settings: "wdth" 100; }
.ap-label { font-family: var(--ap-mono); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-muted); margin: 0; }
body.ap-site .ap-label { font-family: var(--ap-mono); font-weight: 500; }
.ap-label--accent, .ap-accent { color: var(--ap-accent); }
.ap-lead { font-size: 18px; line-height: 1.55; color: var(--ap-muted); margin: 0; }
.ap-small { font-size: 13.5px; line-height: 1.5; color: var(--ap-muted); }
.ap-note { font-size: 13.5px; color: var(--ap-muted); }
.ap-link { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--ap-fg); cursor: pointer; font: 600 15px/1.2 var(--ap-font); text-decoration: none; }
.ap-link[hidden], .ap-btn[hidden] { display: none; }
.ap-link .ap-icon { transition: transform .2s; }
.ap-link:hover .ap-icon { transform: translateX(3px); }
.ap-ok { color: var(--ap-ok); }
.ap-hide-m { }
.ap-show-m { display: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Ikonice uz tekst dugmeta ili linka: deblji potez (3 u 24 polju). */
.ap-btn .ap-icon, .ap-link .ap-icon, .ap-header__tel .ap-icon { stroke-width: 3; }

/* Filter fotografija (kartice, galerija, pregled). Osnove stana ostaju bez filtera. */
.ap-photo, .ap-card__img img, .ap-gallery img, .ap-lightbox__fig img { filter: var(--ap-photo-filter); }

/* ---------- Dugmad ---------- */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; font-family: var(--ap-font); font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: 0; text-decoration: none; border: 1px solid var(--ap-fg); border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ap-site .ap-btn--light { background: var(--ap-accent); color: var(--ap-on-accent); border-color: var(--ap-accent); }
.ap-site .ap-btn--light:is(:hover, :focus) { background: var(--ap-accent-hover); color: var(--ap-on-accent); border-color: var(--ap-accent-hover); }
.ap-site .ap-btn--outline { background: transparent; color: var(--ap-fg); }
.ap-site .ap-btn--outline:is(:hover, :focus) { background: var(--ap-fg); color: var(--ap-on-light); border-color: var(--ap-fg); }
.ap-btn--block { width: 100%; }
/* Astra boji button:hover/focus svojom bojom; naša dugmad zadržavaju svoj izgled. */
.ap-site .ap-burger:is(:hover, :focus), .ap-site .ap-link:is(:hover, :focus) { background: none; color: var(--ap-fg); }
.ap-site .ap-chip:is(:hover, :focus) { background: rgba(30, 37, 43, .86); color: var(--ap-fg); }
.ap-site .ap-pill:is(:hover, :focus) { background: transparent; color: var(--ap-fg); border-color: var(--ap-line-l); }
.ap-site .ap-lightbox button:is(:hover, :focus), .ap-site .ap-gallery__main:is(:hover, :focus), .ap-site .ap-gallery__side button:is(:hover, :focus) { background: var(--ap-raise); color: var(--ap-fg); }
.ap-site .ap-lightbox button:is(:hover, :focus) { background: none; }
/* Hover linkova: boja akcenta umesto podvlačenja. */
.ap-site :is(.ap-nav__list a, .ap-footer__list a, .ap-mobile-menu__list a, .ap-header__tel, .ap-lang a, .ap-crumbs a, .ap-link) { transition: color .2s; }
.ap-site :is(.ap-nav__list a, .ap-footer__list a, .ap-mobile-menu__list a, .ap-header__tel, .ap-lang a, .ap-crumbs a, .ap-link):is(:hover, :focus-visible) { color: var(--ap-accent); text-decoration: none; }
.ap-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-chip { display: inline-flex; align-items: center; padding: 10px 14px; background: rgba(30, 37, 43, .86); color: var(--ap-fg); border: 0; font: 500 13px/1.2 var(--ap-font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.ap-tag { display: inline-block; padding: 6px 9px; background: var(--ap-bg); color: var(--ap-fg); font: 500 12px/1.2 var(--ap-font); letter-spacing: .1em; text-transform: uppercase; }
.ap-tag--raised { background: var(--ap-raise); }
.ap-taglist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* ---------- Zaglavlje ---------- */
/* Zaglavlje prati skrolovanje: na unutrašnjim stranama lepljivo, na Početnoj fiksno preko hero fotografije.
   Posle 8 px skrola (ap.js dodaje .is-scrolled) postaje niže i tamnije staklo. */
.ap-header { position: sticky; top: 0; z-index: 50; background: var(--ap-bg); border-bottom: 1px solid var(--ap-line); transition: background-color .25s, border-color .25s; }
.ap-header--overlay { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
.admin-bar .ap-header { top: 32px; }
.ap-header.is-scrolled { background: rgba(30, 37, 43, .86); -webkit-backdrop-filter: blur(8px) saturate(1.3); backdrop-filter: blur(8px) saturate(1.3); border-bottom: 1px solid rgba(238, 239, 235, .12); }
.ap-header.is-scrolled .ap-header__in { padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 782px) { .admin-bar .ap-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ap-header { top: 0; } }
/* Preko hero fotografije: zamućeno staklo, da se navigacija čita na svakoj fotografiji. Blur 8 px (Goran 13.11.2026: manji, bilo 18). */
.ap-header--overlay:not(.is-scrolled) { background: rgba(30, 37, 43, .42); -webkit-backdrop-filter: blur(8px) saturate(1.3); backdrop-filter: blur(8px) saturate(1.3); border-bottom: 1px solid rgba(238, 239, 235, .14); }
.ap-header--overlay .ap-nav__list a { font-weight: 500; }
.ap-header--overlay .ap-lang, .ap-header--overlay .ap-lang a { color: rgba(238, 239, 235, .72); }
.ap-header--overlay .ap-lang [aria-current] { color: var(--ap-fg); }
.ap-header__in { max-width: var(--ap-max); margin: 0 auto; padding: 24px var(--ap-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ap-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ap-logo-b); }
.ap-logo__mark { height: auto; }
.ap-logo__a { fill: var(--ap-logo-a); }
.ap-logo__b { fill: var(--ap-logo-b); }
.ap-logo__name { font-size: 14px; letter-spacing: .14em; font-weight: 400; white-space: nowrap; }
.ap-logo__name b { font-weight: 400; color: var(--ap-logo-a); }
.ap-nav__list { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.ap-nav__list a { font-size: 13px; font-weight: 400; letter-spacing: .12em; text-decoration: none; padding: 4px 0; }
.ap-nav__list .current-menu-item > a, .ap-nav__list a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.ap-header__right { display: flex; align-items: center; gap: 24px; }
.ap-header__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13.5px; }
.ap-lang { font-family: var(--ap-mono); font-size: 12px; letter-spacing: .08em; color: var(--ap-muted); white-space: nowrap; }
.ap-lang a { text-decoration: none; color: var(--ap-muted); }
.ap-lang [aria-current] { color: var(--ap-fg); }
.ap-burger { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; flex-direction: column; align-items: flex-end; gap: 6px; }
.ap-burger i { display: block; width: 22px; height: 1.5px; background: var(--ap-fg); }
.ap-burger i:nth-child(3) { width: 16px; }
.ap-mobile-menu { background: var(--ap-bg); border-top: 1px solid var(--ap-line); padding: 8px 16px 24px; }
.ap-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.ap-mobile-menu__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--ap-line); text-decoration: none; font: 400 17px/1.2 var(--ap-font); letter-spacing: .08em; text-transform: uppercase; }
.ap-mobile-menu__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }

/* ---------- Hero (klasa „ap-hero" na Elementor sekciji) ---------- */
.ap-hero { position: relative; background-position: center top !important; }
.ap-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(30, 37, 43, .55) 0%, rgba(30, 37, 43, .15) 35%, rgba(30, 37, 43, .92) 100%); }
.ap-hero > * { position: relative; z-index: 1; }
/* Oznaka iznad hero naslova: svetla i sa blagom senkom, da se čita i preko svetle fasade (Goran 9.11.2026: svetlije). */
.ap-hero .ap-label:not(.ap-label--accent) { color: var(--ap-fg); text-shadow: 0 1px 14px rgba(20, 25, 29, .6); }
/* Goran 13.11.2026: manji razmak naslov / tekst, veći tekst / pretraga (telefon ima svoje vrednosti dole).
   Naslov ima inline margin-bottom 22 px u Elementoru (strane 533 i 617), pa !important; razmak među widgetima u hero sekciji je 0, sve drže margine ispod. */
body.ap-site .ap-hero .ap-hero-title { margin-bottom: 16px !important; }
body.ap-site .ap-hero .elementor-widget:not(:last-child) { margin-bottom: 0; margin-block-end: 0; }
body.ap-site .ap-hero .ap-lead { margin-bottom: 40px; }

/* ---------- Futer ---------- */
.ap-footer { background: var(--ap-card); color: var(--ap-fg); }
.ap-footer__in { max-width: var(--ap-max); margin: 0 auto; padding: 96px var(--ap-gutter) 28px; box-sizing: border-box; display: grid; gap: 64px; }
/* Telefoni ispod naslova, u jednom redu, levo. */
.ap-footer__call { display: grid; gap: 32px; }
.ap-footer__claim { max-width: 720px; }
.ap-footer__tels { display: flex; flex-wrap: wrap; gap: 20px 64px; }
.ap-footer__tels a { display: grid; gap: 6px; text-decoration: none; }
.ap-footer__tel { font-size: 32px; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; }
.ap-footer__mail { overflow-wrap: anywhere; }
.ap-footer__tels a:hover .ap-footer__tel { color: var(--ap-accent); }
.ap-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 1fr; grid-template-areas: "logo site legal social" "about site legal social"; column-gap: 48px; row-gap: 18px; }
.ap-footer__logo { grid-area: logo; }
.ap-footer__about { grid-area: about; }
.ap-footer__about p { color: var(--ap-muted); font-size: 15px; line-height: 1.6; max-width: 300px; margin: 0; }
.ap-footer__col--site { grid-area: site; }
.ap-footer__col--legal { grid-area: legal; }
.ap-footer__col--social { grid-area: social; }
.ap-footer__col { display: flex; flex-direction: column; gap: 12px; }
.ap-footer__col h2, .ap-footer__about h2 { margin: 0; }
.ap-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ap-footer__list a { font: 400 15px/1.6 var(--ap-font); text-transform: none; letter-spacing: 0; font-stretch: 100%; font-variation-settings: normal; text-decoration: none; }
.ap-footer__bottom { padding-top: 20px; border-top: 1px solid var(--ap-line); display: flex; justify-content: space-between; gap: 16px; font-family: var(--ap-mono); font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-muted); }

/* ---------- Lista: zaglavlje i filteri ---------- */
.ap-page-head, .ap-filterbar, .ap-results, .ap-crumbbar, .ap-single__body, .ap-similar { max-width: var(--ap-max); margin: 0 auto; padding-left: var(--ap-gutter); padding-right: var(--ap-gutter); box-sizing: border-box; }
.ap-page-head { padding-top: 56px; padding-bottom: 40px; display: grid; gap: 16px; }
.ap-page-head__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ap-crumbs a { text-decoration: none; }
.ap-crumbs span { padding: 0 6px; }
.ap-tabs { display: flex; gap: 36px; border-bottom: 1px solid var(--ap-line); overflow-x: auto; scrollbar-width: none; }
.ap-tabs a { padding: 0 0 16px; font-size: 14px; letter-spacing: .12em; color: var(--ap-muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ap-tabs a[aria-current] { color: var(--ap-fg); border-bottom-color: var(--ap-accent); }
.ap-filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ap-line); flex-wrap: wrap; }
.ap-filters__fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ap-pill { position: relative; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ap-line-l); background: transparent; color: var(--ap-fg); font: 400 13.5px/1.2 var(--ap-font); padding: 0; }
.ap-select select, .ap-sort select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa5aa' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ap-fg); border: 0; padding: 11px 36px 11px 16px; font: inherit; cursor: pointer; border-radius: 0; min-height: 0; height: auto; box-shadow: none; }
.ap-select select option, .ap-sort select option { background: var(--ap-card); color: var(--ap-fg); }
.ap-sort { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--ap-muted); }
.ap-sort select { padding: 6px 28px 6px 4px; background-position: right 6px center; }
.ap-more summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 16px; cursor: pointer; }
.ap-more summary::-webkit-details-marker { display: none; }
.ap-more[data-active], .ap-select:has(option:checked:not([value=""])) { border-color: var(--ap-fg); background: var(--ap-raise); }
.ap-more__panel { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--ap-card); border: 1px solid var(--ap-line-l); padding: 14px 16px; display: grid; gap: 10px; }
.ap-more__panel label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.ap-more__panel input { accent-color: var(--ap-accent); }
.ap-filters__reset { font-size: 13px; color: var(--ap-muted); padding: 0 6px; }
.ap-filters__toggle { display: none; padding: 10px 14px; cursor: pointer; }

/* ---------- Mreža i kartice (varijanta D: bez pozadine, linija ispod) ---------- */
.ap-results { padding-top: 40px; padding-bottom: 96px; }
.ap-grid { display: grid; column-gap: 24px; row-gap: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-grid--1 { grid-template-columns: minmax(0, 1fr); }
.ap-card { min-width: 0; border-bottom: 1px solid var(--ap-line); }
.ap-card__link { display: flex; flex-direction: column; gap: 18px; height: 100%; padding-bottom: 22px; box-sizing: border-box; text-decoration: none; color: var(--ap-fg); }
.ap-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ap-raise); }
.ap-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ap-card__link:hover .ap-card__img img { transform: scale(1.03); }
.ap-card__img .ap-tag { position: absolute; top: 16px; left: 16px; }
.ap-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; }
.ap-card__body { padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ap-card__title { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; margin: 0; }
.ap-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.5; }
.ap-facts li { display: inline-flex; align-items: center; gap: 6px; }
.ap-facts .ap-icon { color: var(--ap-muted); }
.ap-card__price { margin-top: auto; padding-top: 2px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ap-price { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--ap-accent); font-variant-numeric: tabular-nums; }
.ap-price--big { font-size: 28px; }
.ap-results__foot { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ap-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ap-results__foot ul.page-numbers { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ap-results__foot .page-numbers a, .ap-results__foot .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--ap-line-l); text-decoration: none; font-size: 13.5px; }
.ap-results__foot .page-numbers .current { border-color: var(--ap-fg); background: var(--ap-raise); }
.ap-empty { padding: 64px 0; display: grid; gap: 16px; justify-items: start; max-width: 560px; }
.ap-empty p { color: var(--ap-muted); margin: 0; }

/* ---------- Traka za vlasnike (lista) ---------- */
.ap-strip { background: var(--ap-card); padding: 48px max(var(--ap-gutter), calc((100% - var(--ap-max)) / 2 + var(--ap-gutter))); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ap-strip p { color: var(--ap-muted); margin: 10px 0 0; }

/* ---------- Oglas ---------- */
.ap-crumbbar { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.ap-back { text-decoration: none; }
.ap-gallery { position: relative; max-width: var(--ap-max); margin: 0 auto; padding: 0 var(--ap-gutter); box-sizing: border-box; display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.ap-gallery--single { grid-template-columns: 1fr; }
.ap-gallery__main, .ap-gallery__side button { padding: 0; border: 0; background: var(--ap-raise); cursor: zoom-in; display: block; width: 100%; }
.ap-gallery__main { aspect-ratio: 880 / 560; overflow: hidden; }
.ap-gallery__side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ap-gallery__side button { position: relative; overflow: hidden; }
.ap-gallery__side img { position: absolute; inset: 0; }
.ap-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ap-gallery__btns { position: absolute; left: calc(var(--ap-gutter) + 20px); bottom: 20px; display: flex; gap: 8px; }
.ap-gallery__main img, .ap-gallery__side img { transition: transform .5s ease; }
.ap-gallery__main:hover img, .ap-gallery__side button:hover img { transform: scale(1.03); }
.ap-gallery__more { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(20, 25, 29, .62); transition: background .3s; }
.ap-gallery__side button:hover .ap-gallery__more { background: rgba(20, 25, 29, .5); }
.ap-gallery__more strong { font: 200 56px/1 var(--ap-display); font-variation-settings: "wdth" 112; color: var(--ap-fg); }
.ap-gallery__more span { font: 500 12px/1 var(--ap-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ap-fg); }
.ap-gallery__all { gap: 10px; }
.ap-gallery__all b { font: 500 12px/1 var(--ap-mono); letter-spacing: .04em; color: var(--ap-accent); }
.ap-gallery__strip, .ap-gallery__count, .ap-gallery__dots { display: none; }
.ap-gallery__count b { color: var(--ap-accent); font-weight: 500; }
/* Pregled preko celog ekrana: traka sa brojem, fotografija, sličice. */
html:has(.ap-lightbox[open]) { overflow: hidden; }
.ap-lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #14191d; color: var(--ap-fg); overflow: hidden; }
.ap-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.ap-lightbox::backdrop { background: #14191d; }
.ap-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--ap-line); }
.ap-lightbox__info { display: flex; align-items: baseline; gap: 18px; min-width: 0; margin: 0; }
.ap-lightbox__n { font: 500 15px/1 var(--ap-mono); letter-spacing: .06em; white-space: nowrap; }
.ap-lightbox__n b { color: var(--ap-accent); font-weight: 500; }
.ap-lightbox__t { font: 500 14px/1.3 var(--ap-font); color: var(--ap-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-lightbox__stage { position: relative; min-height: 0; }
.ap-lightbox__stage img { position: absolute; top: 24px; left: 104px; width: calc(100% - 208px); height: calc(100% - 48px); object-fit: contain; }
.ap-site .ap-lightbox .ap-lightbox__sq { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; background: none; border: 1px solid var(--ap-line-l); color: var(--ap-fg); cursor: pointer; flex: none; }
.ap-site .ap-lightbox .ap-lightbox__sq:is(:hover, :focus-visible) { border-color: var(--ap-accent); color: var(--ap-accent); background: none; }
.ap-lightbox__prev, .ap-lightbox__next { position: absolute; top: 50%; translate: 0 -50%; }
.ap-site .ap-lightbox .ap-lightbox__prev, .ap-site .ap-lightbox .ap-lightbox__next { width: 56px; height: 56px; }
.ap-lightbox__prev { left: 24px; }
.ap-lightbox__next { right: 24px; }
.ap-lightbox__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 14px 24px 18px; border-top: 1px solid var(--ap-line); justify-content: safe center; }
.ap-site .ap-lightbox .ap-lightbox__thumbs button { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--ap-raise); cursor: pointer; position: relative; opacity: .5; transition: opacity .2s; }
.ap-site .ap-lightbox .ap-lightbox__thumbs button:is(:hover, :focus-visible) { opacity: .85; background: var(--ap-raise); }
.ap-site .ap-lightbox .ap-lightbox__thumbs button.is-on { opacity: 1; }
.ap-lightbox__thumbs button.is-on::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--ap-accent); }
body.ap-site .ap-lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; max-width: none; display: block; }
.ap-single__body { display: grid; grid-template-columns: minmax(0, 1fr) 416px; gap: 64px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
.ap-single__main { display: grid; gap: 48px; min-width: 0; }
.ap-single__head { display: grid; gap: 18px; }
.ap-single__title { font-size: clamp(28px, 3.2vw, 44px); }
.ap-single__loc { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ap-muted); font-size: 18px; }
.ap-single__price { display: flex; align-items: baseline; gap: 20px; margin: 8px 0 0; }
.ap-keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); list-style: none; margin: 0; padding: 0; border: 1px solid var(--ap-line); }
.ap-keyfacts li { display: grid; gap: 8px; padding: 18px 12px 18px 18px; border-right: 1px solid var(--ap-line); }
.ap-keyfacts li:last-child { border-right: 0; }
.ap-keyfacts .ap-icon { color: var(--ap-muted); }
.ap-keyfacts strong { font-size: 20px; line-height: 1.25; font-weight: 600; }
.ap-block { display: grid; gap: 16px; }
.ap-desc__text { font-size: 18px; line-height: 1.6; color: rgba(238, 239, 235, .88); }
.ap-desc__text p { margin: 0 0 1em; }
.ap-specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; }
.ap-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ap-line); font-size: 15px; }
.ap-specs dt { color: var(--ap-muted); }
.ap-specs dd { margin: 0; text-align: right; }
.ap-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ap-plans figure { margin: 0; display: grid; gap: 10px; }
.ap-plans img { background: #ededeb; width: 100%; aspect-ratio: 424 / 460; object-fit: contain; }
.ap-map { aspect-ratio: 864 / 300; background: var(--ap-raise); }
.ap-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.ap-contactbox { position: sticky; top: 88px; background: var(--ap-card); border: 1px solid var(--ap-line); padding: 28px; display: grid; gap: 16px; }
.admin-bar .ap-contactbox { top: 120px; }
.ap-contactbox p { margin: 0; color: var(--ap-muted); }
.ap-contactbox__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.ap-contactbox__sep { padding-top: 12px; border-top: 1px solid var(--ap-line); }
.ap-similar { padding-top: 96px; padding-bottom: 112px; border-top: 1px solid var(--ap-line); display: grid; gap: 32px; }
.ap-stickybar { display: none; }

/* ---------- Kratki kodovi: zajedničko ---------- */
.ap-featured, .ap-types, .ap-owners, .ap-about { max-width: var(--ap-max); margin: 0 auto; padding: var(--ap-section) var(--ap-gutter); box-sizing: border-box; }
/* Oznaka iznad naslova: isti vidljivi razmak svuda (H1, H2, hero). Veliki naslov ima manje vazduha iznad slova, pa mu treba 3 px manje. */
.ap-head { display: grid; gap: var(--ap-label-gap); }
.ap-label + .ap-hero-title { margin-top: calc(var(--ap-label-gap) - 3px); }
.ap-head > .ap-label + .ap-hero-title { margin-top: -3px; }
.ap-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }

/* Pretraga u heru */
.ap-search { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; background: var(--ap-bg); border: 1px solid var(--ap-fg); }
.ap-search__field { display: grid; gap: 3px; padding: 14px 22px; border-right: 1px solid var(--ap-fg); position: relative; }
.ap-search__field select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa5aa' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; border: 0; color: var(--ap-fg); font: 400 15px/1.6 var(--ap-font); padding: 0 24px 0 0; cursor: pointer; height: auto; min-height: 0; box-shadow: none; }
.ap-search__field select option { background: var(--ap-card); }
.ap-search__go { border: 0; padding: 0 36px; }

/* Padajući meniji. Na računaru ap.js pravi našu listu (.ap-dd), na telefonu ostaje sistemski izbor. */
.ap-search__field:focus-within, .ap-search__field.is-open { background: var(--ap-raise); }
.ap-search__field select:focus, .ap-select select:focus { outline: none; box-shadow: none; border: 0; border-radius: 0; }
.ap-search__field :focus-visible, .ap-select :focus-visible { outline: none; }
.ap-select:has(:focus-visible) { outline: 2px solid var(--ap-accent); outline-offset: 2px; }
.ap-sort { position: relative; }
.ap-dd { position: relative; }
.ap-dd select { display: none; }
.ap-dd .ap-dd__btn, .ap-dd .ap-dd__btn:hover, .ap-dd .ap-dd__btn:focus { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; color: var(--ap-fg); font: inherit; white-space: nowrap; cursor: pointer; }
.ap-dd .ap-dd__btn::after { content: ""; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa5aa' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .15s; }
.ap-dd .ap-dd__btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.ap-search__field .ap-dd__btn { font: 400 15px/1.6 var(--ap-font); }
.ap-search__field .ap-dd__btn::after { width: 16px; height: 16px; }
.ap-select .ap-dd__btn { padding: 11px 14px 11px 16px; }
.ap-sort .ap-dd__btn { padding: 6px 4px; gap: 8px; }
.ap-dd__list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 360px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ap-line-l) transparent; margin: 0; padding: 6px 0; list-style: none; background: var(--ap-card); border: 1px solid var(--ap-line-l); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); box-sizing: border-box; outline: none; }
.ap-dd__list[hidden] { display: none; }
.ap-search__field .ap-dd__list { top: calc(100% + 7px); left: -1px; right: -1px; border-color: var(--ap-fg); }
.ap-sort .ap-dd__list { left: auto; right: 0; min-width: 200px; }
.ap-dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 10px 16px; font: 400 14px/1.4 var(--ap-font); color: var(--ap-fg); white-space: nowrap; cursor: pointer; }
.ap-search__field .ap-dd__opt { padding: 11px 22px; font-size: 15px; }
.ap-dd__opt.is-active { background: var(--ap-raise); }
.ap-dd__opt[aria-selected="true"] { color: var(--ap-accent); }
.ap-dd__opt[aria-selected="true"]::after { content: ""; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cdb892' stroke-width='1.8'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Šta tražite? */
.ap-types { padding-top: 0; display: flex; gap: 64px; align-items: flex-end; }
.ap-types__left { flex: 0 0 min(480px, 40%); display: flex; flex-direction: column; align-items: flex-start; gap: 56px; }
.ap-types__list { list-style: none; margin: 0; padding: 0; width: 100%; }
.ap-types__item a { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--ap-line); text-decoration: none; color: var(--ap-muted); }
.ap-types__text { flex: 1; min-width: 0; display: grid; gap: 8px; }
.ap-types__name { color: var(--ap-muted); transition: color .2s; }
.ap-types__desc { display: none; font-size: 15px; line-height: 1.6; color: var(--ap-muted); }
.ap-types__thumb { display: none; }
.ap-types__item .ap-icon { flex: none; stroke-width: 2; transition: transform .2s, color .2s; }
.ap-types__item.is-active a { border-top-color: var(--ap-accent); }
.ap-types__item.is-active .ap-types__name { color: var(--ap-fg); }
.ap-types__item.is-active .ap-types__desc { display: block; }
.ap-types__item.is-active .ap-icon { color: var(--ap-accent); }
.ap-types__item a:hover .ap-icon { transform: translateX(4px); }
.ap-types__photo { position: relative; flex: 1; min-width: 0; height: 640px; background: var(--ap-raise); overflow: hidden; }
.ap-types__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }

/* Prodajete nekretninu? (početna) */
.ap-owners { display: grid; gap: 48px; }
.ap-owners__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ap-owners__row .ap-lead { max-width: 560px; }
.ap-owners__photo { aspect-ratio: 1344 / 520; overflow: hidden; background: var(--ap-raise); }
.ap-owners__photo img { width: 100%; height: 100%; object-fit: cover; }

/* O agenciji */
.ap-about { display: grid; gap: 48px; }
.ap-about__title { max-width: 1100px; }
.ap-facts-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ap-facts-big li { display: grid; gap: 10px; align-content: start; padding-top: 24px; border-top: 1px solid var(--ap-accent); }
.ap-about__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ap-about__foot .ap-lead { max-width: 620px; }

/* Kontakt podaci */
.ap-contact { margin: 0; display: grid; }
.ap-contact div { padding: 22px 0; border-top: 1px solid var(--ap-line); display: grid; gap: 8px; }
.ap-contact dd { margin: 0; font-size: 18px; }
.ap-contact__big { font-size: 28px !important; font-weight: 600; }
.ap-contact a { text-decoration: none; }
.ap-contact + .ap-btn-row { padding-top: 24px; }


/* ---------- Unutrašnje strane (O nama, Ponudite nekretninu, Kontakt, pravne) ----------
   Elementor: sekcija Full Width, gap No, padding 0, jedan HTML ili Shortcode widget sa ovim klasama. */
.ap-pg { max-width: var(--ap-max); margin: 0 auto; padding: 0 var(--ap-gutter) var(--ap-section); box-sizing: border-box; }
.ap-pg--top { padding-top: var(--ap-section); }
.ap-band { background: var(--ap-card); }
.ap-band + .ap-band { border-top: 1px solid var(--ap-line); }
.ap-pg-head { max-width: var(--ap-max); margin: 0 auto; padding: 56px var(--ap-gutter); box-sizing: border-box; display: grid; gap: var(--ap-label-gap); }
.ap-pg-head .ap-lead { max-width: 640px; }
.ap-pg-photo { display: block; width: 100%; aspect-ratio: 1344 / 520; object-fit: cover; background: var(--ap-raise); }
.ap-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.ap-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.ap-stack { display: grid; gap: 24px; align-content: start; }
.ap-text { max-width: 720px; display: grid; gap: 20px; }
.ap-text p { margin: 0; font-size: 18px; line-height: 1.6; }
.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--ap-line); }
.ap-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 16px; padding: 24px 0; border-top: 1px solid var(--ap-line); }
.ap-steps .ap-label { grid-row: span 2; padding-top: 5px; }
.ap-steps h3, .ap-cols h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; }
.ap-steps p, .ap-cols p { margin: 0; color: var(--ap-muted); }
.ap-steps--row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; border-bottom: 0; }
.ap-steps--row li { grid-template-columns: 1fr; align-content: start; }
.ap-steps--row .ap-label { grid-row: auto; padding-top: 0; }
.ap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ap-cols li { display: grid; gap: 10px; align-content: start; padding-top: 24px; border-top: 1px solid var(--ap-accent); }
.ap-rows .ap-contact div { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 0; }
.ap-rows .ap-contact dd { text-align: right; font-size: 15px; }
.ap-cta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ap-cta-row .ap-h2 { max-width: 640px; }
.ap-box { background: var(--ap-card); border: 1px solid var(--ap-line); padding: 32px; display: grid; gap: 20px; }
.ap-pg-map { aspect-ratio: 1344 / 420; background: var(--ap-raise); }
.ap-pg-map--tall { aspect-ratio: 4 / 5; }
.ap-pg-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.ap-prose { max-width: 760px; }
.ap-prose h2 { margin: 40px 0 12px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.ap-prose h2:first-child { margin-top: 0; }
.ap-prose p, .ap-prose li { color: var(--ap-muted); }
.ap-prose p { margin: 0 0 12px; }
.ap-prose ul { margin: 0 0 12px; padding-left: 20px; }
/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.ap-nav, .ap-header__right { display: none; }
	.ap-burger { display: inline-flex; }
	.ap-single__body { grid-template-columns: 1fr; }
	.ap-contactbox { position: static; }
	.ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-search { grid-template-columns: 1fr 1fr; }
	.ap-search__field { border-bottom: 1px solid var(--ap-fg); }
	.ap-search__field:nth-child(2n) { border-right: 0; }
	.ap-search__go { grid-column: 1 / -1; padding: 16px; }
	.ap-types { gap: 40px; }
	.ap-types__photo { height: 520px; }
	.ap-steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
	.ap-two { gap: 40px; }
	.ap-footer__cols { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-template-areas: "logo logo" "about about" "site legal" "social ."; row-gap: 32px; }
}

/* ---------- Mobilni ---------- */
@media (max-width: 760px) {
	:root { --ap-gutter: 16px; --ap-section: 72px; }
	.ap-header__in { padding-top: 18px; padding-bottom: 18px; }
	.ap-hero-title { font-size: 30px; line-height: 1; letter-spacing: .01em; }
	/* Na telefonu je hero naslov iste veličine kao H2, pa mu ne treba umanjenje razmaka. */
	.ap-label + .ap-hero-title { margin-top: var(--ap-label-gap); }
	.ap-head > .ap-label + .ap-hero-title { margin-top: 0; }
	.ap-h2 { font-size: 30px; line-height: 1.08; letter-spacing: -.015em; }
	.ap-lead { font-size: 15px; line-height: 1.6; }
	.ap-page-head { padding-top: 32px; padding-bottom: 24px; }
	.ap-tabs { gap: 18px; }
	.ap-tabs a { font-size: 12.5px; letter-spacing: .1em; padding-bottom: 14px; }
	/* Kad tabovi ne staju (EN), desna ivica se utapa, da se vidi da ima još (ap.js dodaje .is-more). */
	.ap-tabs.is-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
	/* iOS uvećava stranu kad se dodirne polje sa slovima manjim od 16 px. */
	.ap-search__field select, .ap-select select, .ap-sort select, .ap-filters .ap-pill, .ap-more__panel label { font-size: 16px; }
	/* Na telefonu je H2 viši od H1 i hero naslova, pa mu 1 px manje drži vidljivi razmak na 24 do 25 px. */
	.ap-label + .ap-h2 { margin-top: -1px; }
	/* Oznaka iznad hero naslova se čita i preko svetle fotografije. */
	.ap-hero::before { background: linear-gradient(180deg, rgba(30, 37, 43, .55) 0%, rgba(30, 37, 43, .3) 22%, rgba(30, 37, 43, .62) 38%, rgba(30, 37, 43, .92) 62%); }
	/* Hero na telefonu je tačno jedan ekran, a pretraga stoji uz dno (Goran 13.11.2026). Zaglavlje je fiksno preko hero sekcije, pa se računa ceo ekran.
	   Elementor (strane 533 i 617) daje 120/32 padding i min. visinu 608, ovo ih menja samo do 760 px. */
	body.ap-site .elementor-section.elementor-element.ap-hero { --ap-hero-top: 96px; --ap-hero-bottom: 24px; padding-top: var(--ap-hero-top); padding-bottom: var(--ap-hero-bottom); }
	body.ap-site .elementor-section.elementor-element.ap-hero > .elementor-container { min-height: calc(100vh - var(--ap-hero-top) - var(--ap-hero-bottom)); min-height: calc(100svh - var(--ap-hero-top) - var(--ap-hero-bottom)); align-items: stretch; }
	body.ap-site .ap-hero .ap-hero-title { margin-bottom: 12px !important; }
	body.ap-site .ap-hero .ap-lead { margin-bottom: 32px; }
	.ap-filters { padding: 14px 0; }
	.ap-filters__toggle { display: inline-flex; }
	.ap-filters__fields { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; }
	.ap-filters.is-open .ap-filters__fields { display: flex; }
	.ap-filters__fields .ap-pill, .ap-select select { width: 100%; }
	.ap-more { flex-direction: column; align-items: stretch; }
	.ap-more__panel { position: static; min-width: 0; border: 0; padding: 0 16px 14px; }
	.ap-sort > span { display: none; }
	.ap-grid, .ap-grid--2 { grid-template-columns: 1fr; row-gap: 32px; }
	.ap-results { padding-top: 20px; padding-bottom: 48px; }
	.ap-strip { padding: 40px 16px; flex-direction: column; align-items: stretch; }
	.ap-strip .ap-btn { width: 100%; }
	.ap-crumbbar .ap-back { display: none; }
	.ap-gallery { grid-template-columns: 1fr; padding: 0; }
	.ap-gallery__side { display: none; }
	.ap-gallery__main { aspect-ratio: 390 / 300; }
	.ap-gallery:has(.ap-gallery__strip) .ap-gallery__main { display: none; }
	.ap-gallery__strip { display: flex; aspect-ratio: 390 / 300; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
	.ap-gallery__strip::-webkit-scrollbar { display: none; }
	.ap-gallery__strip button { flex: none; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ap-raise); scroll-snap-align: start; cursor: zoom-in; }
	.ap-gallery__btns { left: 16px; bottom: 34px; }
	.ap-gallery__btns .ap-chip:first-child { display: none; }
	.ap-gallery__count { display: inline-flex; position: absolute; right: 16px; bottom: 34px; font: 500 12px/1.2 var(--ap-mono); letter-spacing: .06em; padding: 8px 10px; }
	.ap-gallery__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
	.ap-gallery__dots i { width: 6px; height: 6px; background: var(--ap-line-l); transition: width .2s, background .2s; }
	.ap-gallery__dots i.is-on { width: 18px; background: var(--ap-accent); }
	.ap-single__body { padding-top: 24px; padding-bottom: 48px; gap: 36px; }
	.ap-single__main { gap: 36px; }
	.ap-keyfacts { grid-template-columns: repeat(3, 1fr); }
	.ap-keyfacts li { border-bottom: 1px solid var(--ap-line); padding: 14px 8px 14px 14px; }
	.ap-keyfacts li:nth-child(3n) { border-right: 0; }
	.ap-keyfacts strong { font-size: 16px; }
	.ap-desc__text { font-size: 15px; }
	[data-ap-clamp].is-clamped .ap-desc__text { max-height: 13.5em; overflow: hidden; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
	.ap-specs { grid-template-columns: 1fr; }
	.ap-specs div { font-size: 13.5px; padding: 10px 0; }
	.ap-plans { grid-template-columns: 1fr; }
	.ap-map { aspect-ratio: 358 / 220; }
	.ap-contactbox { padding: 24px 20px; }
	.ap-similar { padding-top: 48px; padding-bottom: 72px; }
	.ap-stickybar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(30, 37, 43, .96); border-top: 1px solid var(--ap-line); }
	.ap-stickybar .ap-btn { flex: 1; }
	/* Traka Pozovite / Viber ne sme da prekrije dno futera. */
	body.single-nekretnina .ap-footer__in { padding-bottom: 104px; }
	.ap-search { grid-template-columns: 1fr; }
	.ap-search__field { padding: 12px 16px; border-right: 0; }
	.ap-hide-m { display: none; }
	.ap-show-m { display: block; }
	.ap-section-head { margin-bottom: 24px; }
	.ap-section-head .ap-link { display: none; }

	.ap-types { display: block; padding-top: 0; }
	.ap-types__left { gap: 28px; }
	.ap-types__list { border-bottom: 1px solid var(--ap-line); }
	.ap-types__item a, .ap-types__item.is-active a { padding: 16px 0; border-top-color: var(--ap-line); }
	.ap-types__thumb { display: block; flex: none; width: 96px; height: 72px; object-fit: cover; }
	.ap-types__text { gap: 4px; }
	.ap-types__name, .ap-types__item.is-active .ap-types__name { color: var(--ap-fg); }
	.ap-types__desc, .ap-types__item.is-active .ap-types__desc { display: block; font-size: 13.5px; line-height: 1.5; }
	.ap-types__item .ap-icon { width: 22px; height: 22px; color: var(--ap-accent); }
	.ap-types__photo { display: none; }

	.ap-owners { gap: 24px; }
	.ap-owners__row { flex-direction: column; align-items: stretch; gap: 24px; }
	.ap-owners .ap-btn-row { flex-direction: column; gap: 10px; }
	.ap-owners__photo { aspect-ratio: 358 / 240; }

	.ap-about { gap: 32px; }
	.ap-facts-big { grid-template-columns: 1fr; }
	.ap-about__foot { flex-direction: column; align-items: flex-start; gap: 24px; }

	.ap-pg-head { padding-top: 32px; padding-bottom: 32px; }
	.ap-pg-photo { aspect-ratio: 358 / 240; }
	.ap-split, .ap-two, .ap-cols, .ap-steps--row { grid-template-columns: 1fr; gap: 24px; }
	.ap-steps--row { gap: 0; border-bottom: 1px solid var(--ap-line); }
	.ap-steps li { grid-template-columns: 1fr; padding: 18px 0; }
	.ap-steps .ap-label { grid-row: auto; padding-top: 0; }
	.ap-text p { font-size: 15px; }
	.ap-rows .ap-contact dd { font-size: 13.5px; }
	.ap-cta-row { flex-direction: column; align-items: stretch; gap: 24px; }
	.ap-cta-row .ap-btn-row { flex-direction: column; gap: 10px; }
	.ap-box { padding: 24px 20px; }
	.ap-pg-map { aspect-ratio: 358 / 260; }
	.ap-footer__in { padding-top: 64px; gap: 48px; }
	.ap-footer__call { gap: 24px; }
	.ap-footer__tels { flex-direction: column; gap: 16px; }
	.ap-footer__tel { font-size: 24px; }
	.ap-footer__cols { grid-template-areas: "site legal" "social about" "logo logo"; column-gap: 24px; row-gap: 40px; }
	.ap-footer__about { display: flex; flex-direction: column; gap: 12px; }
	.ap-footer__about p { font-size: 13.5px; line-height: 1.5; }
	.ap-footer__bottom { align-items: flex-start; }
	.ap-lightbox__bar { padding: 10px 12px 10px 16px; }
	.ap-lightbox__t, .ap-lightbox__prev, .ap-lightbox__next { display: none; }
	.ap-site .ap-lightbox .ap-lightbox__prev, .ap-site .ap-lightbox .ap-lightbox__next { display: none; }
	.ap-lightbox__stage img { top: 0; left: 0; width: 100%; height: 100%; }
	.ap-lightbox__thumbs { padding: 10px 12px 14px; gap: 6px; justify-content: flex-start; }
	.ap-site .ap-lightbox .ap-lightbox__thumbs button { width: 64px; }
}
/* Astra do 544 px dodaje 0.54em sa strane (#content .ast-container), pa su lista i oglas bili uvučeni 8 px, a galerija nije išla od ivice do ivice. */
@media (max-width: 544px) {
	.ap-listing-view #content > .ast-container { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ap-card__img img, .ap-link .ap-icon, .ap-types__item .ap-icon, .ap-types__photo img { transition: none; }
}

/* Elementor ima ".elementor img { height: auto }" koje se učitava posle teme i pobeđuje.
   Fotografije koje treba da popune okvir zato ponavljamo sa jačim selektorom. */
body.ap-site .ap-card__img img, body.ap-site .ap-gallery img, body.ap-site .ap-types__photo img, body.ap-site .ap-owners__photo img { height: 100%; max-width: none; }
body.ap-site .ap-types__thumb { height: 72px; max-width: none; }

/* Poruka „Broj je kopiran“ (računar, klik na telefon ili mejl). */
.ap-toast { position: fixed; left: 50%; bottom: 32px; z-index: 100; translate: -50% 12px; max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--ap-card); color: var(--ap-fg); border: 1px solid var(--ap-accent); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); font: 500 14px/1.4 var(--ap-font); opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.ap-toast.is-on { opacity: 1; translate: -50% 0; }
