/* =========================================================================
   RE/MAX כחול לבן נתניה — estate.css
   Everything to do with a property: the card, the catalog, the filters.

   Split out of home.css so the catalog does not have to download the homepage.
   The card is shared — parts/estate-card.php renders the same object on the
   front page and in the catalog — so its styles cannot live in either page's
   stylesheet. Loaded on the front page and on every estate template; see the
   enqueue in functions.php.

   Brand-language rules for these elements (the slash-cut photograph, the banded
   status tag, the hairline that draws across a card on hover) live in brand.css
   and apply here unchanged.
   ========================================================================= */

/* ══════════════════════════════════════════════════ 07 · PROPERTIES
   The dense pole. Lead property gets a double frame so it never reads as a
   generic listing wall. */
.props { padding-block: var(--sec); }
/* An even three-up grid. Cards are identical so the eye compares properties
   rather than sizes, and every image gets the same generous 4:3 frame. */
.props-grid {
  display: grid; gap: clamp(1.25rem, 2.2vw, 2.25rem) clamp(1rem, 2vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .props-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .props-grid { grid-template-columns: repeat(3, 1fr); } }
.prop {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-soft), 0 2px 4px -2px rgba(0,17,34,.06);
  transition: box-shadow .45s var(--e-out), transform .45s var(--e-out);
}
.prop:hover {
  box-shadow: 0 0 0 1px rgba(0,83,161,.18), 0 30px 64px -32px rgba(0,17,34,.3);
  transform: translateY(-5px);
}
/* a hairline of RE/MAX blue draws across the top on hover — the brand colour
   as an accent of the interaction, not as a block of paint */
.prop::before {
  content: ''; position: absolute; z-index: 4;
  inset-block-start: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: linear-gradient(to left, var(--blue), var(--blue-lit));
  transition: width .7s var(--e-out);
}
.prop:hover::before { width: 100%; }
/* :not() matters — the agent bar is also a direct <a> child, and it must stay
   a horizontal row rather than inheriting the card's column direction */
.prop > a:not(.prop-agent) { display: flex; flex-direction: column; flex: 1; }
.prop-shot { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
/* a permanent whisper of a scrim so the status pill always has something to
   sit on, whatever the photograph happens to be */
.prop-shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,17,34,.3), transparent 38%);
}
.prop-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
.prop:hover .prop-shot img { transform: scale(1.045); }
.prop-sticker {
  position: absolute; z-index: 3;
  inset-block-start: clamp(.75rem, 1.4vw, 1rem); inset-inline-start: clamp(.75rem, 1.4vw, 1rem);
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--t-label); font-variation-settings: 'wght' 500;
  letter-spacing: .16em; text-transform: uppercase; padding: .45rem .8rem;
  border-radius: 100px; color: #fff;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
/* a live dot on anything still available — costs nothing, reads as current */
.prop-sticker.is-sale::before,
.prop-sticker.is-talks::before {
  content: ''; width: 5px; height: 5px; border-radius: 100px; background: currentColor;
  animation: rmx-pulse 2.4s var(--e-inout) infinite;
}
@keyframes rmx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.prop-sticker.is-sale  { background: rgba(0,83,161,.82); }
.prop-sticker.is-talks { background: rgba(11,15,20,.72); }
.prop-sticker.is-sold  { background: rgba(224,28,47,.86); }

.prop-body {
  padding: clamp(1.125rem, 2vw, 1.5rem);
  flex: 1; display: flex; flex-direction: column;
}
.prop-hood { color: var(--blue); margin-block-end: .55rem; }
.prop-body h3 {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); font-variation-settings: 'wght' 500;
  letter-spacing: -.022em; line-height: 1.3;
}
.prop-addr { font-size: var(--t-meta); color: var(--muted-2); margin-block-start: .3rem; }

.prop-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-block: 1.125rem .25rem; padding-block: .875rem;
  border-block: 1px solid var(--line-soft);
}
/* <dt> must precede <dd> to stay valid, but the figure should lead the eye —
   so reverse the visual order and leave the markup alone */
.prop-meta > div {
  display: flex; flex-direction: column-reverse; align-items: flex-start;
  padding-inline: 0 .5rem; border-inline-start: 1px solid var(--line-soft);
}
.prop-meta > div:first-child { border-inline-start: 0; }
.prop-meta > div:not(:first-child) { padding-inline-start: .875rem; }
.prop-meta dd { font-size: 1.125rem; font-variation-settings: 'wght' 500; letter-spacing: -.02em; line-height: 1.2; }
.prop-meta dt { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

.prop-price {
  margin-block-start: auto; padding-block-start: .875rem;
  font-size: clamp(1.5rem, 1.9vw, 1.75rem);
  font-variation-settings: 'wght' 700; letter-spacing: -.038em; color: var(--ink);
}

/* ── the agent IS the call to action ──────────────────────────────────────
   One bar: face and name on the reading edge, the WhatsApp mark on the other,
   and the whole strip is the link. On hover it takes WhatsApp's green and the
   label slides out, so the affordance is unmistakable without a second orphan
   button competing with the price. */
.prop-agent {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .8rem clamp(1.125rem, 2vw, 1.5rem);
  border-block-start: 1px solid var(--line-soft);
  background: var(--paper-2);
  transition: background .35s var(--e-out), color .35s var(--e-out);
}
.prop-agent.is-live:hover { background: #1FA855; color: #fff; }
.prop-agent-who { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.prop-agent-who img {
  width: 40px; height: 40px; border-radius: 100px; object-fit: cover;
  box-shadow: 0 0 0 2px var(--paper); transition: box-shadow .35s var(--e-out);
}
.prop-agent.is-live:hover .prop-agent-who img { box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.prop-agent-mono {
  width: 40px; height: 40px; border-radius: 100px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--navy-2); color: #fff;
  font-size: 1.0625rem; font-variation-settings: 'wght' 500;
}
.prop-agent-name { min-width: 0; }
.prop-agent-name b {
  display: block; font-size: .9375rem; font-variation-settings: 'wght' 500;
  letter-spacing: -.018em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prop-agent-name > span { display: block; font-size: .75rem; color: var(--muted-2); transition: color .35s; }
.prop-agent.is-live:hover .prop-agent-name > span { color: rgba(255,255,255,.8); }

.prop-agent-go { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.prop-agent-label {
  font-size: var(--t-meta); font-variation-settings: 'wght' 500; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .5s var(--e-out), opacity .4s var(--e-out);
}
.prop-agent.is-live:hover .prop-agent-label { max-width: 7rem; opacity: 1; }
.prop-agent-icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 100px; background: #1FA855; color: #fff;
  transition: background .35s var(--e-out), color .35s var(--e-out), transform .35s var(--e-out);
}
.prop-agent.is-live:hover .prop-agent-icon { background: #fff; color: #1FA855; transform: scale(1.06); }


/* ══════════════════════════════════════════════════ THE CATALOG
   The dense pole of the design. Everything above breathes; this page is a
   working tool and is allowed to be tight. */
.cat { padding-block: calc(var(--hdr-h) + clamp(2rem, 4vw, 3.5rem)) var(--sec); }
.cat .sec-head h1 {
  font-size: var(--t-lg); font-variation-settings: 'wght' 700;
  letter-spacing: -.032em; line-height: 1;
}
.cat-count { font-size: var(--t-lead); color: var(--muted); }
.cat-count b { font-size: 1.5rem; font-variation-settings: 'wght' 700; letter-spacing: -.03em; color: var(--ink); }
.cat-count-all { color: var(--muted-2); font-size: var(--t-meta); }

/* ── the filter bar ──────────────────────────────────────────────────────
   The most-used control on the site, and it was reading as a plain form. Three
   things changed: it follows you down the page, every cell reacts, and a cell
   that is actually narrowing the list says so on its own. */
.filters {
  position: sticky; z-index: 640;
  inset-block-start: calc(var(--hdr-h) - 12px);
  /* Flex, not grid. The bar carries four filters on /properties/, three on
     /commercial/ and two on /projects/, and a fixed track list cannot serve all
     three — while repeat(auto-fit, minmax(0,1fr)) collapses to a single column,
     because 1fr has no intrinsic minimum for auto-fit to measure. */
  display: flex; flex-wrap: wrap; gap: 1px; margin-block-end: 1.25rem;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -32px rgba(0,17,34,.45);
  transition: box-shadow .4s var(--e-out);
}
.filters:focus-within { box-shadow: 0 0 0 1px rgba(0,83,161,.3), 0 22px 46px -30px rgba(0,17,34,.5); }

.filters-q {
  flex: 1 1 190px; min-width: 0;
  position: relative; display: flex; flex-direction: column; gap: .25rem;
  padding: .75rem 1.1rem .8rem; background: var(--paper);
  transition: background .3s var(--e-out);
}
.filters-q:hover { background: var(--paper-2); }
.filters-q .label { color: var(--muted-2); transition: color .3s var(--e-out); }
/* the native control and the listbox trigger that replaces it are the same line
   of type — only one of the two is ever on screen. See theme.css. */
.filters-q select,
.filters-q .sel-btn {
  border: 0; background-color: transparent; width: 100%;
  font-size: 1rem; font-variation-settings: 'wght' 500; letter-spacing: -.018em;
  color: var(--ink);
}
.filters-q select {
  padding: 0; padding-inline-end: 1.6rem;
  background-position: left .1rem center;
}
.filters-q select:focus { outline: none; }
.filters-q:hover .sel-arrow { color: var(--red); }

/* the cell knows when it is holding a value — see app.js */
.filters-q::after {
  content: ''; position: absolute; z-index: 1;
  inset-block-end: 0; inset-inline: 0; height: 3px;
  background: var(--band);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .45s var(--e-out);
}
.filters-q.is-set::after { transform: scaleX(1); }
.filters-q.is-set .label { color: var(--blue); }
.filters-q:focus-within { background: var(--paper-2); }
.filters-q:focus-within::after { transform: scaleX(1); }

.filters-go {
  flex: 0 0 auto;
  background: var(--red); color: #fff; padding: 1rem 1.6rem;
  font-size: .9375rem; font-variation-settings: 'wght' 500;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-inline-end: calc(1.6rem + 14px);
  transition: background .3s var(--e-out), gap .35s var(--e-out);
}
.filters-go:hover { background: var(--red-deep); gap: .95rem; }

/* on a phone the bar is four stacked rows — sticking it would eat the screen */
@media (max-width: 659px) { .filters { position: static; } }

/* ── what is currently on, each one removable ───────────────────────────── */
.chips { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-block-end: clamp(1.5rem, 3vw, 2.25rem); }
.chips > .label { color: var(--muted-2); }
.chips ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem; border-radius: 2px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-soft);
  font-size: var(--t-meta); font-variation-settings: 'wght' 500;
  transition: background .3s, color .3s, box-shadow .3s;
}
.chips a span[aria-hidden] { color: var(--muted-2); font-size: 1rem; line-height: 1; }
.chips a:hover { background: var(--red); color: #fff; box-shadow: none; }
.chips a:hover span[aria-hidden] { color: #fff; }
.chips-clear { background: transparent !important; box-shadow: none !important; color: var(--muted); text-decoration: underline; }

/* ── never a dead end ───────────────────────────────────────────────────
   Not an apology and a search box. It says what did not match, then shows
   real properties and names what was widened to find them. */
.cat-none {
  padding: clamp(2rem, 4vw, 3.25rem); margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper-2); border-inline-start: var(--band-h) solid transparent;
  border-image: var(--band-v) 1;
}
.cat-none-mark { width: 34px; height: 34px; margin-block-end: .9rem; }
.cat-none h2 {
  font-size: var(--t-md); font-variation-settings: 'wght' 700;
  letter-spacing: -.028em; line-height: 1.1;
}
.cat-none p { margin-block: .75rem 1.5rem; color: var(--muted); max-width: 58ch; }
.cat-none b { color: var(--ink); font-variation-settings: 'wght' 500; }

/* a listing with no photograph yet still has to occupy its frame */
.prop-noshot { display: block; width: 100%; height: 100%; background: var(--paper-3); }

/* ── paging ─────────────────────────────────────────────────────────────── */
.pagination { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: .75rem;
  font-size: .9375rem; font-variation-settings: 'wght' 500;
  box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s;
}
.pagination .page-numbers:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pagination .page-numbers.current { background: var(--navy); color: #fff; box-shadow: none; }
.pagination .page-numbers.dots { box-shadow: none; }

/* ══════════════════════════════════════════════════ 03 · THE PROPERTY PAGE */
.estate { padding-block: calc(var(--hdr-h) + clamp(1.5rem, 3vw, 2.5rem)) var(--sec); }

.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--t-meta); color: var(--muted-2); margin-block-end: clamp(1rem, 2vw, 1.5rem); }
.crumbs a { color: var(--muted); transition: color .3s; }
.crumbs a:hover { color: var(--red); }

.estate-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; padding-block-end: clamp(1.25rem, 2.4vw, 1.75rem);
  border-block-end: 1px solid var(--line);
}
.estate-head-main { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
/* the sticker is positioned inside a photograph on a card; here it is in flow */
.estate-head .prop-sticker { position: static; }
.estate-head h1 { font-size: var(--t-lg); line-height: 1; letter-spacing: -.034em; }
.estate-addr { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: baseline; color: var(--muted); }
.estate-cat { font-size: var(--t-meta); color: var(--muted-2); }
.estate-price {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-variation-settings: 'wght' 700;
  letter-spacing: -.042em; line-height: 1; white-space: nowrap;
}

.estate-cols { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); padding-block-start: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 1040px) { .estate-cols { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.estate-main { min-width: 0; display: flex; flex-direction: column; gap: clamp(1.75rem, 3.5vw, 2.75rem); }

/* ── gallery · one large plus four ─────────────────────────────────────── */
.gal { display: grid; gap: .6rem; grid-template-columns: 1fr; }
.gal-main { position: relative; margin: 0; aspect-ratio: 3/2; overflow: hidden; background: var(--paper-3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--rise-sm)), 0 100%); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-zoom {
  position: absolute; z-index: 2; inset-block-end: calc(var(--rise-sm) + .9rem); inset-inline-end: .9rem;
  padding: .5rem .9rem; border-radius: 2px; font-size: var(--t-meta); font-variation-settings: 'wght' 500;
  background: rgba(11,15,20,.72); color: #fff; backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); transition: background .3s;
}
.gal-zoom:hover { background: var(--red); }

/* Paging on the photograph itself. The thumbnails are for jumping to a picture
   you have already seen; someone meeting the property for the first time just
   wants "next" without moving the mouse off the image. */
.gal-arrow {
  position: absolute; z-index: 3; inset-block-start: 50%;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 100px;
  background: rgba(255,255,255,.92); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -14px rgba(0,17,34,.5);
  transform: translateY(-50%);
  transition: opacity .3s var(--e-out), background .3s, color .3s;
}
.gal-arrow:hover { background: var(--red); color: #fff; }
/* RTL: previous on the reading edge (right), next on the far edge (left) */
.gal-prev { inset-inline-start: .8rem; }
.gal-next { inset-inline-end: .8rem; }
/* On a pointer device they stay out of the photograph until it is hovered. On
   touch there is no hover, so they are simply always there. */
@media (hover: hover) {
  .gal-arrow { opacity: 0; }
  .gal-main:hover .gal-arrow,
  .gal-arrow:focus-visible { opacity: 1; }
}
.gal-arrow svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .gal-arrow { width: 40px; height: 40px; } .gal-arrow svg { width: 19px; height: 19px; } }

.gal-n {
  position: absolute; z-index: 3;
  inset-block-end: calc(var(--rise-sm) + .9rem); inset-inline-start: .9rem;
  padding: .38rem .7rem; border-radius: 2px;
  background: rgba(11,15,20,.62); color: #fff;
  font-size: var(--t-meta); font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gal-n b { font-variation-settings: 'wght' 700; }
/* Flex, not a five-column grid: most listings arrive with two or three photos,
   and a fixed five-track grid leaves them sitting in the first slots with two
   empty columns beside them, which reads as images that failed to load. Sharing
   the row equally means the strip is always full whatever the count. */
.gal-thumbs { display: flex; gap: .6rem; }
.gal-thumbs li { flex: 1 1 0; min-width: 0; }
/* On a phone five thumbnails across are 60px each — too small to tell one room
   from another. Below 640 the strip scrolls and snaps instead. */
@media (max-width: 640px) {
  .gal-thumbs {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-block-end: .3rem;
    scrollbar-width: thin;
  }
  .gal-thumbs li { flex: 0 0 33%; scroll-snap-align: start; }
}
.gal-t { position: relative; display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.gal-t img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e-out), opacity .3s; opacity: .72; }
.gal-t:hover img, .gal-t.is-on img { opacity: 1; }
.gal-t.is-on { box-shadow: inset 0 0 0 3px var(--red); }
.gal-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(11,15,20,.62); color: #fff; font-variation-settings: 'wght' 700;
}

/* ── מפרט טכני ──────────────────────────────────────────────────────────── */
.spec > .label { display: block; color: var(--muted-2); margin-block-end: .9rem; }
.spec dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.spec dl > div { display: flex; flex-direction: column-reverse; gap: .25rem; padding: .9rem 1.1rem; background: var(--paper); }
.spec dt { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.spec dd { font-size: 1.1875rem; font-variation-settings: 'wght' 500; letter-spacing: -.022em; line-height: 1.2; }

/* ── description, clamped until asked ──────────────────────────────────── */
.estate-desc > .label { display: block; color: var(--muted-2); margin-block-end: .75rem; }
.estate-desc-body { color: var(--muted); font-size: var(--t-lead); line-height: 1.75; max-width: 62ch; }
.estate-desc-body p + p { margin-block-start: .9rem; }
.estate-desc[data-more]:not(.is-open) .estate-desc-body {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.estate-more { margin-block-start: .9rem; }
.estate-desc.is-open .estate-more span { transform: rotate(90deg); display: inline-block; }

.estate-video iframe, .estate-video video { width: 100%; aspect-ratio: 16/9; height: auto; }

/* ── the agent, always on screen ───────────────────────────────────────── */
.estate-side { min-width: 0; }
@media (min-width: 1040px) { .estate-side { position: sticky; inset-block-start: calc(var(--hdr-h) + 1rem); } }

.acard { position: relative; background: var(--paper-2); padding: clamp(1.25rem, 2.2vw, 1.6rem); overflow: hidden; }
.acard-band { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--band-h); background: var(--band-v); --band-mid: #fff; }
.acard-who { display: flex; align-items: center; gap: .9rem; padding-block-end: 1.1rem; border-block-end: 1px solid var(--line-soft); }
.acard-who img { width: 62px; height: 62px; border-radius: 100px; object-fit: cover; flex: 0 0 auto; }
.acard-mono { width: 62px; height: 62px; border-radius: 100px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--navy-2); color: #fff; font-size: 1.5rem; font-variation-settings: 'wght' 500; }
.acard-who .label { display: block; color: var(--muted-2); margin-block-end: .3rem; }
.acard-who b { display: block; font-size: 1.125rem; font-variation-settings: 'wght' 700; letter-spacing: -.024em; }
.acard-role { font-size: var(--t-meta); color: var(--muted-2); }
.acard-go { display: flex; flex-direction: column; gap: .55rem; padding-block: 1.1rem; }
.acard-go .btn { width: 100%; }
.acard-note { font-size: var(--t-meta); color: var(--muted-2); line-height: 1.6; }

/* a listing worked by a team: every agent the same row (17.11.2026) */
.acard-team-h { display: block; color: var(--muted-2); }
.acard-team { list-style: none; margin: 0 0 1.1rem; padding: .9rem 0 1.1rem; display: grid; gap: .85rem;
  border-block-end: 1px solid var(--line-soft); }
.acard-team li { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.acard-team img, .acard-team .acard-mono { width: 48px; height: 48px; border-radius: 100px; object-fit: cover; flex: 0 0 auto; font-size: 1.1rem; }
@media (min-width: 1040px) { .acard-go.is-bar-only { display: none; } }
.acard-team-who { flex: 1; min-width: 0; }
.acard-team-who b { display: block; font-size: .975rem; font-variation-settings: 'wght' 650; letter-spacing: -.016em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard-team-who .acard-role { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 100px; display: grid; place-items: center;
  transition: transform .28s var(--e-out), background .28s; }
.acard-ic.is-wa { background: #1FA855; color: #fff; }
.acard-ic.is-wa:hover { background: #17853F; transform: translateY(-2px); }
.acard-ic.is-tel { background: #fff; color: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
.acard-ic.is-tel:hover { transform: translateY(-2px); }

/*
 * On a phone the sticky rail does not exist, and the site-wide call bar carries
 * the OFFICE number — which is the wrong number on this page. So below 1040 the
 * card's two actions become the bottom bar and the generic one steps aside:
 * the spec wants the handling agent reachable while scrolling, not the switchboard.
 */
@media (max-width: 1039px) {
  .single-estate .callbar { display: none; }
  .single-estate .ftr { padding-block-end: 5.5rem; }
  .acard-go {
    position: fixed; z-index: 730; inset-block-end: 0; inset-inline: 0;
    flex-direction: row; gap: .5rem; padding: .6rem clamp(.75rem, 3vw, 1.25rem);
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 26px -18px rgba(0,17,34,.5);
    padding-block-end: calc(.6rem + env(safe-area-inset-bottom, 0px));
  }
  /*
   * In the bar the two buttons share one row. The card's `width: 100%` must not
   * follow them here: on the phone call button it made the row twice the screen
   * wide and pushed the number off the left edge (reported 17.11.2026).
   */
  .acard-go .btn { width: auto; min-width: 0; padding-inline: 1rem; }
  .acard-go .acard-wa { flex: 1 1 auto; overflow: hidden; }
  .acard-go .acard-tel { flex: 0 0 auto; }
  .acard-wa svg { flex: 0 0 auto; }
  .acard-wa-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

.estate-more-props { margin-block-start: clamp(3rem, 6vw, 5rem); }

/* ── lightbox ───────────────────────────────────────────────────────────
   Built by estate.js on first open, so it costs nothing on a page nobody
   enlarges. Only the <img> is in flow; everything else is pinned. */
.lb {
  position: fixed; inset: 0; z-index: 900; display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem); background: rgba(11,15,20,.95);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--e-out), visibility .3s;
}
.lb.is-on { opacity: 1; visibility: visible; }
.lb img { max-width: 100%; max-height: 86vh; width: auto; object-fit: contain; }
.lb-x, .lb-nav { position: absolute; color: #fff; opacity: .72; transition: opacity .25s, transform .25s var(--e-out); }
.lb-x:hover, .lb-nav:hover { opacity: 1; }
.lb-x { inset-block-start: 1rem; inset-inline-end: 1.15rem; width: 44px; height: 44px; font-size: 2.1rem; line-height: 1; }
.lb-nav { inset-block-start: 50%; transform: translateY(-50%); width: 54px; height: 54px; display: grid; place-items: center; }
.lb-nav svg { width: 32px; height: 32px; }
.lb-nav:hover { transform: translateY(-50%) scale(1.12); }
/* RTL: reading starts on the right, so "previous" is inline-START (= right)
   and "next" is inline-END (= left). The glyphs point the same way. */
.lb-prev { inset-inline-start: .35rem; }
.lb-next { inset-inline-end: .35rem; }
@media (max-width: 600px) { .lb-nav { width: 44px; } .lb-nav svg { width: 26px; height: 26px; } }
