/*
Theme Name: Solidi
Description: Solidi nekilnojamojo turto agentūros tema.
Version: 1.0.0
Text Domain: solidi
*/
/* =========================================================
   SOLIDI – stilius
   Spalvų paletė (iš struktūros dokumento):
     Šilta balta #F8F6F2 · Antracitas #30332F · Smėlio #EAE3D8
     Šalavijas #919B8B · Terakota #B8836C
   ========================================================= */

:root {
  --warm: #F8F6F2;
  --ink: #30332F;
  --sand: #EAE3D8;
  --sage: #919B8B;
  --terra: #B8836C;

  --terra-text: #8E5E48;   /* tamsesnė terakota tekstui (kontrastas) */
  --ink-soft: #5E625B;
  --line: #DED6C9;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1240px;
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(48, 51, 47, .04), 0 8px 24px rgba(48, 51, 47, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
#app:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding-top: 32px; }
.section--sand { background: var(--sand); }
.eyebrow {
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terra-text); margin-bottom: 16px;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-sub { color: var(--ink-soft); max-width: 46ch; margin: 12px 0 0; }
.muted { color: var(--ink-soft); }

svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 400 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-dark { background: var(--ink); color: var(--warm); }
.btn-dark:hover { background: #1f221e; }
.btn-light { background: var(--warm); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--warm); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 400; border-bottom: 1px solid var(--terra); padding-bottom: 4px;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 242, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.scrolled .site-header { border-color: var(--line); box-shadow: 0 4px 20px rgba(48,51,47,.05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 35px; stroke-width: 0; }
.logo-mark g { stroke-width: 2.4; stroke-linecap: butt; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 500 1.75rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.logo-sub { font: 400 .58rem/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; margin-top: 5px; color: var(--ink-soft); }
.logo--light { color: var(--warm); }
.logo--light .logo-sub { color: var(--sage); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  text-decoration: none; font-weight: 400; font-size: .98rem; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.chev { width: 12px; height: 12px; stroke-width: 0; transition: transform .2s; }
.nav-cta { margin-left: 12px; }

.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 200px; padding: 10px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.sub a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 400; }
.sub a:hover, .sub a.is-active { background: var(--sand); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chev { transform: rotate(180deg); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Variantas A: tekstas ant nuotraukos */
.hero--overlay { min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; }
.hero--overlay .hero-media { position: absolute; inset: 0; }
.hero--overlay .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,32,29,.05) 30%, rgba(30,32,29,.72) 100%),
              linear-gradient(90deg, rgba(30,32,29,.45) 0%, rgba(30,32,29,0) 60%);
}
.hero--overlay .hero-content { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero--overlay .eyebrow { color: var(--sand); }
.hero--overlay .lead { color: rgba(255,255,255,.88); }

/* Variantas B: tekstas šone */
.hero--side { display: grid; grid-template-columns: 1fr 1.15fr; min-height: min(80vh, 760px); }
.hero--side .hero-content { order: -1; display: flex; align-items: center; padding: 64px 48px 64px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); max-width: none; }
.hero--side .btn-ghost { border-color: var(--ink); color: var(--ink); }
.hero--side .btn-light { background: var(--ink); color: var(--warm); }

/* Variantas C: tekstas po nuotrauka */
.hero--below .hero-media { height: min(70vh, 680px); }
.hero--below .hero-content { padding-top: 56px; padding-bottom: 24px; }
.hero--below .hero-text { max-width: 980px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 56px; align-items: end; }
.hero--below .eyebrow { grid-column: 1 / -1; margin: 0; }
.hero--below .btn-ghost { border-color: var(--ink); color: var(--ink); }
.hero--below .btn-light { background: var(--ink); color: var(--warm); }

.hero-text { max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 500; }
.hero .lead { font-size: 1.15rem; max-width: 52ch; margin: 24px 0 36px; }
.hero--below .lead { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--below .hero-actions { grid-column: 1 / -1; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: end; }
.statement { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.22; font-weight: 400; }
.statement em { font-style: italic; color: var(--terra-text); }
.about-side { border-left: 1px solid var(--terra); padding-left: 32px; }
.about-side p { color: var(--ink-soft); }

/* ---------- services ---------- */
.services { background: var(--sand); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li {
  background: var(--warm); border-radius: var(--radius); padding: 40px 36px 36px;
  position: relative; transition: transform .25s, box-shadow .25s;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-no { font: italic 400 3.2rem/1 var(--serif); color: var(--terra); display: block; margin-bottom: 28px; }
.steps h3 { margin-bottom: 14px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 16px; left: 16px; background: rgba(248,246,242,.92); color: var(--ink);
  padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.badge--inline { position: static; display: inline-block; background: var(--sand); margin-bottom: 16px; }
.card-body { padding: 22px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.card-pricing { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.card-pricing .price { font-size: 1.6rem; font-style: normal; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.card-price-unit { font: 400 .75rem/1.5 var(--sans); color: var(--ink-soft); white-space: nowrap; }
.agent { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-soft); min-width: 0; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; object-fit: cover;
  display: inline-grid; place-items: center; background: var(--sage); color: var(--white);
  font-size: .75rem; font-weight: 500; letter-spacing: .04em;
}
.avatar--lg { width: 56px; height: 56px; font-size: 1rem; }
.price { font: italic 500 1.75rem/1 var(--serif); white-space: nowrap; }
.price--lg { font-size: 2.6rem; margin: 0; }
.card-title { font-size: .98rem; line-height: 1.5; margin: 0 0 18px; flex: 1; }
.specs {
  list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .86rem; color: var(--ink-soft);
}
.specs li { display: inline-flex; align-items: center; gap: 8px; }
.specs svg { color: var(--terra); width: 18px; height: 18px; }
.empty { padding: 48px; text-align: center; background: var(--white); border-radius: var(--radius); color: var(--ink-soft); }

/* ---------- category controls and breadcrumbs ---------- */
.page-head { padding: 56px 0 24px; }
.page-head--center { text-align: center; padding: 120px 0; }
.page-head--center .section-sub { margin: 16px auto 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--terra-text); }
.crumbs span:last-child { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none;
  font-size: .92rem; font-weight: 400; transition: .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--warm); border-color: var(--ink); }

/* ---------- property page ---------- */
.property { padding: 32px 0 96px; }
.gallery { position: relative; display: grid; gap: 10px; border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; }
.gallery--5 .g-item:first-child { grid-row: 1 / 3; }
.gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 260px 260px; }
.gallery--3 .g-item:first-child { grid-row: 1 / 3; }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 540px; }
.g-item { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.g-item:hover img { transform: scale(1.03); opacity: .92; }
.g-all { position: absolute; right: 18px; bottom: 18px; box-shadow: var(--shadow); }

.property-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.property-main h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.address { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); margin: 14px 0 32px; }
.address svg { color: var(--terra); }
.specs--lg { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; gap: 20px 40px; font-size: .85rem; background: var(--white); }
.specs--lg li { gap: 14px; }
.specs--lg svg { width: 28px; height: 28px; }
.specs--lg span { display: flex; flex-direction: column; line-height: 1.3; }
.specs--lg strong { font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.h-sm { font-size: 1.8rem; margin: 56px 0 20px; }
.h-xs { font: 500 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; margin: 28px 0 14px; color: var(--ink-soft); }
.prose p { color: var(--ink-soft); max-width: 68ch; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.info div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info dt { color: var(--ink-soft); }
.info dd { margin: 0; text-align: right; font-weight: 400; }
.features { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.features li { padding: 8px 16px; border-radius: 999px; background: var(--sand); font-size: .92rem; }
.features li::before { content: "✓"; color: var(--terra-text); margin-right: 8px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: auto; touch-action: auto; filter: grayscale(.4) sepia(.12); }

.property-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.price-card .muted { margin: 6px 0 0; font-size: .9rem; }
.agent-card { display: grid; grid-template-columns: minmax(0, 150px) max-content; align-items: center; gap: 16px; margin: 28px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); text-align: left; }
.agent-card div { display: flex; flex-direction: column; }
.agent-card strong { font-weight: 500; }
.agent-card span { font-size: .88rem; color: var(--ink-soft); }
.agent-card .agent-actions { margin-top: 6px; gap: 8px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form--compact { gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-contact { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-contact-hint { width: 100%; margin: 0 0 10px; padding: 0; font-size: .75rem; line-height: 1.5; color: var(--ink-soft); }
.form-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-contact-fields label, .form-contact-fields input { min-width: 0; }
.form-contact-error { margin: 10px 0 0; font-size: .75rem; line-height: 1.5; color: #9c3328; }
.form input[aria-invalid="true"] { border-color: #9c3328; }

.form label { display: grid; gap: 6px; font-size: .82rem; color: var(--ink-soft); }
.form input, .form textarea {
  font: 300 1rem var(--sans); color: var(--ink); width: 100%;
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--warm);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sage); background: var(--white); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form--compact .btn { justify-self: stretch; }
.form-ok { margin: 0; padding: 12px 16px; background: #E6EBE3; border-radius: var(--radius-sm); font-size: .92rem; }

/* ---------- contact ---------- */
.contact { background: var(--sage); color: #202a20; }
.contact .eyebrow { color: #34432e; }
.contact .section-sub { color: #293525; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list svg { color: var(--terra); width: 22px; height: 22px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card { background: var(--warm); color: var(--ink); border-radius: var(--radius); padding: 40px; }

/* ---------- footer ---------- */
.site-footer { background: #262925; color: #C9CCC4; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font: 500 .75rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin: 6px 0 18px; }
.footer-grid a, .footer-grid span { display: block; text-decoration: none; margin-bottom: 10px; }
.footer-grid .logo, .footer-grid .logo span { display: inline-flex; margin: 0; }
.footer-grid .logo-text { display: flex; }
.footer-grid .logo-sub { display: block; margin-top: 5px; }
.footer-grid a:hover { color: #fff; }
.footer-contact { margin: 0 0 18px; font-size: 13px; line-height: 1.7; }
.footer-contact strong { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.footer-grid .footer-contact a { display: inline; margin: 0; white-space: nowrap; }
.footer-note { margin-top: 20px; max-width: 32ch; color: #9EA299; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid #3A3E39; font-size: .85rem; color: #9EA299; }
.to-top { text-decoration: none; }
.to-top:hover { color: #fff; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(24,26,23,.95); display: grid; place-items: center; padding: 64px 80px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 3rem/1 var(--sans); padding: 12px 20px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #C9CCC4; font-size: .9rem; letter-spacing: .1em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .property-grid { grid-template-columns: 1fr; gap: 48px; }
  .property-aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  /* A backdrop filter would make the header the fixed menu’s containing block. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--warm); }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    z-index: 1; height: calc(100dvh - var(--header-h)); overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 32px;
    background: var(--warm); overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none; transform: none; transition: none;
  }
  .nav-open .site-header { position: fixed; inset: 0; z-index: 100; background: var(--warm); }
  .nav-open .nav { display: flex; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-link { font: 500 1.7rem var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--terra-text); }
  .chev { display: none; }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; background: none; padding: 6px 0 10px 16px; }
  .sub a { padding: 8px 0; }
  .nav-cta { margin: 24px 0 0; padding: 16px; }

  .hero--side { grid-template-columns: 1fr; }
  .hero--side .hero-media { height: 50vh; }
  .hero--side .hero-content { order: 0; padding: 48px 24px; }
  .hero--below .hero-text { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery--5, .gallery--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 160px; }
  .gallery--5 .g-item:first-child, .gallery--3 .g-item:first-child { grid-row: auto; grid-column: 1 / -1; }
  .gallery--5 .g-item:nth-child(n+4) { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .cards { grid-template-columns: 1fr; }
  .hero--overlay { min-height: 88vh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .about-side { padding-left: 20px; }
  .steps li { padding: 32px 24px; }
  .gallery { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .gallery--5, .gallery--3, .gallery--1 { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .gallery .g-item:not(:first-child) { display: none; }
  .info { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card, .price-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-body { padding: 20px; }
  .lightbox { padding: 56px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* V5: v4 composition with v1 typography and client refinements. */
:root { --serif: Georgia, 'Times New Roman', serif; --sans: Arial, Helvetica, sans-serif; }
body {font-weight:400;font-size:15px;line-height:1.7}
h1,h2,h3 {font-weight:400;letter-spacing:-.035em}
.nav-link{font-size:.86rem;padding-inline:11px}.logo-name{font-size:1.85rem}
.hero{margin:0 20px;isolation:isolate}.hero--overlay{min-height:690px;height:min(800px,calc(100svh - 104px));align-items:center}
.hero--overlay .hero-media::after {
  background: linear-gradient(90deg, rgba(20,32,24,.52), rgba(20,32,24,.40) 30%, transparent 78%),
              linear-gradient(0deg, rgba(20,32,24,.38), transparent 18%);
}
.hero--overlay .hero-text, .hero--overlay .hero-bottom {text-shadow:0 1px 3px rgba(20,32,24,.55)}
.hero--overlay .btn {text-shadow:none}
.hero--overlay .hero-content{padding-top:65px;padding-bottom:130px}.hero-text{max-width:780px}.hero h1{font-size:clamp(3rem,5.25vw,5rem);line-height:1.1}.hero h1 em{color:#e5ddca;font-weight:400}.hero .lead{font-size:1rem;line-height:1.85;margin:26px 0 30px}.hero .eyebrow{font-size:.63rem}
.hero-side{position:absolute;right:24px;top:38%;writing-mode:vertical-rl;font-size:9px;letter-spacing:3px}.hero-bottom{position:absolute;bottom:26px;left:max(32px,calc((100% - 1176px)/2));right:max(32px,calc((100% - 1176px)/2));display:flex;justify-content:space-between;gap:24px;border-top:1px solid #ffffff50;padding-top:18px;font-size:10px;color:#f1f1e8}.hero-bottom a{text-decoration:none}
.btn{font-size:.8rem;line-height:1.4}.statement{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.35}.eyebrow{font-size:.64rem}.steps p{font-size:.9rem}.step-no{font-size:2.6rem}.steps h3{font-size:1.5rem}.card-title{font-family:var(--serif);font-size:1.3rem;line-height:1.4}.agent{font-size:.73rem}.price{font-size:1.2rem}.home-categories{margin-bottom:32px}.chip{cursor:pointer;font-family:var(--sans)}.demo-note{font-size:11px;color:var(--ink-soft);margin:26px 0 0}.contact-people{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:30px}.contact-people strong,.contact-people a{display:block}.contact-people a{font-size:13px;text-underline-offset:4px}.form-notice,.form-privacy{font-size:11px;color:var(--ink-soft)}.form-privacy{margin-top:20px}
.cookie-settings{border:0;padding:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-decoration:underline;text-underline-offset:4px}
.skip-link{position:fixed;left:20px;top:-100px;padding:12px 18px;background:var(--warm);z-index:200}.skip-link:focus{top:10px}[hidden]{display:none!important}.privacy-copy{max-width:850px}.privacy-copy h1{margin-bottom:30px}.privacy-copy h2{font-size:1.65rem;margin:32px 0 16px}.draft-notice{background:var(--sand);padding:20px;border-left:3px solid var(--terra)}
.cookie-panel{position:fixed;bottom:20px;left:20px;right:20px;max-width:1200px;margin:auto;z-index:90;padding:25px 30px;background:var(--warm);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 80px #14201833;display:flex;align-items:center;gap:32px}.cookie-panel h2{font-size:1.45rem;letter-spacing:-.02em;margin-bottom:8px}.cookie-panel p{font-size:12px;max-width:65ch;margin-bottom:12px}.cookie-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:210px}.cookie-actions .btn{flex:1;white-space:nowrap;padding:10px 15px;font-size:11px}.cookie-options{display:flex;gap:20px}.cookie-options label{display:flex;align-items:center;gap:8px;font-size:12px}.cookie-options input{width:16px;height:16px;accent-color:#34432d}
@media(max-width:920px){.hero--overlay{height:auto;min-height:680px}.hero-side{right:15px}.hero-bottom{left:24px;right:24px}.nav-link{font-size:1.4rem}.cookie-panel{gap:20px}.cookie-actions{min-width:170px}}
@media(max-width:600px){.hero{margin:0 10px}.hero--overlay{min-height:650px}.hero h1{font-size:clamp(2.5rem,10vw,3.6rem)}.hero--overlay .hero-content{padding:65px 24px 145px}.hero-side{display:none}.hero-bottom{font-size:9px;align-items:flex-end}.hero-bottom>span{max-width:180px}.hero-bottom a{white-space:nowrap}.hero-actions .btn{flex:0 1 auto}.contact-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.contact-people strong{font-size:13px;overflow-wrap:anywhere}.contact-people .contact-method{gap:6px;font-size:12px}.contact-people .contact-method svg{width:16px;height:16px}.contact-people .contact-method span{min-width:0;overflow-wrap:anywhere}.cookie-panel{left:10px;right:10px;bottom:10px;padding:20px;flex-direction:column;align-items:stretch;gap:15px;max-height:80svh;overflow:auto}.cookie-actions{min-width:0}.form-row{min-width:0}}.agent{max-width:100%;overflow-wrap:anywhere}.contact-people strong{line-height:1.5;margin-bottom:8px}

/* Face-focused crops keep the original portrait files intact. */
.portrait {position:relative;overflow:hidden;isolation:isolate}
.portrait img {position:absolute;max-width:none;height:auto;object-fit:initial;display:block}
.portrait[data-broker="lina"] img {width:160%;left:-30%;top:-9%}
.portrait[data-broker="giedre"] img {width:160%;height:auto;left:-30%;top:-18%}
.agent-card .portrait,.contact-person .portrait {width:100%;height:auto;aspect-ratio:3/4;border-radius:14px}
.contact-person {min-width:0}
.contact-person .contact-portrait {display:block;max-width:150px;margin-bottom:16px}
.agent-card .portrait[data-broker="lina"] img,.contact-person .portrait[data-broker="lina"] img {width:100%;height:100%;left:0;top:0;object-fit:cover;object-position:50% 20%}
.agent-card div {gap:6px;min-width:0;overflow-wrap:anywhere}
.agent-card strong {font-size:15px;line-height:1.5;white-space:nowrap}

/* Keep the three property-card facts together without changing the detail page. */
.card {container-type:inline-size}
.card .specs {flex-wrap:nowrap;justify-content:space-between;column-gap:8px;font-size:13px}
.card .specs li {gap:5px;white-space:nowrap}
.card .specs svg {width:15px;height:15px}
@container (max-width:340px) {
  .card .specs {font-size:12px;column-gap:6px}
  .card .specs li {gap:4px}
}

/* The first slide stays visible until interactive rotation starts. */
.hero-slideshow {overflow:hidden;z-index:0;isolation:isolate}
.hero-slideshow .hero-slide {position:absolute;inset:0;opacity:0;transition:opacity 1s linear}
.hero-slideshow .hero-slide.is-active {opacity:1}
.hero--overlay .hero-slideshow::after {z-index:1}
@media (prefers-reduced-motion:reduce) {.hero-slideshow .hero-slide {transition:none}}

/* Keep the slideshow overlay behind all hero copy and actions. */
.hero--overlay .hero-content,.hero--overlay .hero-bottom,.hero--overlay .hero-side {z-index:2}

.contact-people .contact-method {display:flex;align-items:center;gap:12px;margin-top:12px;text-decoration:none}
.contact-method svg {width:19px;height:19px;color:#34432e;flex:none}
.contact-method:hover span {text-decoration:underline;text-underline-offset:4px}

/* Shared agency social accounts appear only in the footer. */
.footer-social {display:flex;gap:10px;margin-top:20px}
.footer-grid .footer-social a {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;border:1px solid #9ea29980;border-radius:50%;color:var(--warm);transition:background .2s,border-color .2s}
.footer-social svg {width:19px;height:19px;stroke-width:1.6}
.footer-grid .footer-social a:hover {background:#ffffff12;border-color:var(--warm)}

/* Agency social links shared beneath both brokers in the contact section. */
.contact-social {display:flex;gap:10px;margin-top:26px;padding-top:22px;border-top:1px solid #34432e40}
.contact-social a {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #34432e80;border-radius:50%;color:#202a20;text-decoration:none;transition:background .2s,border-color .2s}
.contact-social svg {width:19px;height:19px;stroke-width:1.6}
.contact-social a:hover {background:#ffffff26;border-color:#202a20}

a.address-link {width:fit-content;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
a.address-link:hover {color:var(--terra-text);text-decoration-color:currentColor}
#vieta {scroll-margin-top:calc(var(--header-h) + 24px)}
@media (prefers-reduced-motion:no-preference) {html:has(#vieta:target) {scroll-behavior:smooth}}

/* Photo gestures never scale or scroll the background document. */
html.gallery-open,html.gallery-open body {overflow:hidden;overscroll-behavior:none}
.lightbox {overflow:hidden;overscroll-behavior:none;touch-action:none}
.lb-stage {position:absolute;inset:64px 80px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}
.lb-stage.is-zoomed {cursor:grab}
.lb-stage.is-zoomed:active {cursor:grabbing}
.lightbox button,.lb-count {z-index:2}
@media(max-width:600px) {.lb-stage {inset:56px 8px}}

/* Compact broker contacts sit beside the portrait. */
.agent-contact {display:flex;align-items:center;gap:6px;text-decoration:none;white-space:nowrap}
.agent-contact svg {width:15px;height:15px;color:var(--terra-text)}
.agent-card .agent-contact span {font-size:12px;color:var(--ink)}
.agent-contact:hover span {text-decoration:underline;text-underline-offset:3px}
.price-card .h-xs {margin:20px 0 12px}
.form--compact {row-gap:10px}
.form--compact .form-privacy {margin:8px 0 0;line-height:1.5}

.map-actions {display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:12px;font-size:12px}
.map-actions a {color:var(--ink);text-underline-offset:4px}
.map-touch-hint {display:none;color:var(--ink-soft)}
@media(max-width:920px) {
  .map {aspect-ratio:auto;height:clamp(360px,60svh,520px)}
  .map-actions {justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
  .map-touch-hint {display:inline}
}

/* =========================================================
   PARDUOTA – sold properties on a Google map (js/sold-map.js)
   Accent colour follows the reference map; change --sold /
   --sold-dark (e.g. to var(--terra-text)) to match the site palette.
   ========================================================= */
.sold {--sold:#6c2539;--sold-dark:#522031;--sold-line:#e4e5e1;--sold-muted:#6b706e;background:var(--sand)}
.sold .section-head {align-items:flex-end}
.sold-dot {color:var(--sold)}
.sold-intro {margin:0;text-align:right;font-size:16px;line-height:1.75}
.sold-intro span {font-size:14px;color:var(--ink-soft)}
.sold-touch-only {display:none}
@media (hover:none) {.sold-hover-only {display:none}.sold-touch-only {display:inline}}

.sold-portfolio {background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.sold-toolbar {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:16px 23px;border-bottom:1px solid var(--sold-line)}
.sold-filters {display:flex;gap:8px;flex-wrap:wrap}
.sold-filter {border:1px solid transparent;background:transparent;color:var(--sold-muted);padding:10px 17px;border-radius:3px;font-size:14px;cursor:pointer;transition:background .18s,color .18s}
.sold-filter span {margin-left:8px;font-size:12px;opacity:.7}
.sold-filter:hover {background:#f4f2f1;color:var(--ink)}
.sold-filter.is-active {color:#fff;background:var(--sold);border-color:var(--sold)}
.sold-tag {font-size:12px;color:#747973;padding:7px 11px;border:1px solid #e6e6e1;border-radius:3px;white-space:nowrap}

.sold-explorer {display:grid;grid-template-columns:282px minmax(0,1fr);height:680px}
.sold-panel {display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--sold-line);overflow:hidden}
.sold-panel-head {flex-shrink:0;padding:23px 23px 18px;border-bottom:1px solid var(--sold-line)}
.sold-panel-head p {font-size:14px;margin:0 0 4px;color:var(--ink)}
.sold-panel-head span {font-size:12px;color:var(--sold-muted)}
.sold-list {display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c6b5bb #f6f4f3}
.sold-item {position:relative;flex-shrink:0;display:flex;align-items:center;gap:13px;width:100%;min-height:70px;padding:16px 21px;background:#fff;border:0;border-bottom:1px solid #eeeeea;text-align:left;cursor:pointer;transition:background .18s}
.sold-item:hover {background:#f6f4f3}
.sold-item.is-active {background:#f5f0f1}
.sold-item.is-active::before {content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--sold)}
.sold-thumb {width:48px;height:43px;border-radius:2px;object-fit:cover;flex:none}
.sold-item-text {min-width:0}
.sold-item-title {display:block;font-size:14px;line-height:1.35;margin-bottom:4px;color:var(--ink)}
.sold-item-meta {display:block;font-size:12px;line-height:1.4;color:var(--sold-muted)}
.sold-item-details {margin-top:5px;color:var(--sold)}
.sold-item-check {margin-left:auto;font-size:13px;color:var(--sold);opacity:.65}
.sold-empty {font-size:14px;line-height:1.7;color:var(--sold-muted);margin:22px}
.sold-panel-note {flex-shrink:0;display:flex;gap:8px;align-items:flex-start;padding:18px 20px;color:#777b76;border-top:1px solid var(--sold-line)}
.sold-panel-note svg {width:15px;height:15px;stroke-width:1.3;margin-top:2px}
.sold-panel-note p {font-size:12px;line-height:1.6;margin:0}

.sold-map-wrap {position:relative;isolation:isolate;min-width:0;background:#e8eae6}
.sold-map {position:absolute;inset:0;z-index:0}
.sold-map-label,.sold-hint,.sold-zoom,.sold-reset,.sold-map-error {position:absolute;z-index:2}
.sold-map-label {top:20px;left:20px;display:flex;align-items:center;gap:9px;padding:12px 16px;background:#fffffff2;border:1px solid #e3e5df;border-radius:3px;box-shadow:0 2px 12px #28372b0d;font-size:13px;pointer-events:none}
.sold-map-label span {width:6px;height:6px;border-radius:50%;background:var(--sold)}
.sold-zoom {top:20px;right:17px;display:flex;flex-direction:column;background:#fff;border:1px solid #dce0d6;border-radius:3px;box-shadow:0 2px 12px #28372b16;overflow:hidden}
.sold-zoom button {width:36px;height:36px;border:0;background:#fff;color:#4e564b;font:400 21px/1 var(--sans);cursor:pointer}
.sold-zoom button:first-child {border-bottom:1px solid #e4e5df}
.sold-zoom button:hover {background:#f4f4f1}
.sold-reset {right:17px;bottom:42px;display:flex;align-items:center;gap:8px;padding:11px 12px;background:#fff;border:1px solid #e0e3db;border-radius:3px;box-shadow:0 2px 10px #28372b10;color:#515650;font-size:12px;cursor:pointer}
.sold-reset:hover {color:var(--sold)}
.sold-reset svg {width:17px;height:17px}
.sold-hint {left:20px;bottom:34px;display:flex;align-items:center;gap:7px;max-width:calc(100% - 40px);padding:8px 12px;background:#fffffff2;border:1px solid #e3e5df;border-radius:3px;color:#5d635b;font-size:12px;pointer-events:none}
.sold-hint svg {width:16px;height:16px;stroke-width:1.3}
.sold-map-error {left:20px;right:20px;top:106px;margin:0;padding:15px;background:#fff;border:1px solid var(--sold-line);font-size:14px;line-height:1.5}

/* Pins and approximate-area circles (Google Maps overlay panes) */
.sold-area {position:absolute;transform:translate(-50%,-50%);border:1px dashed var(--sold);border-radius:50%;background:#6c25390f;pointer-events:none}
.sold-marker {position:absolute;width:32px;height:40px;margin:-38px 0 0 -16px;padding:0;border:0;background:none;cursor:pointer}
.sold-marker:hover,.sold-marker:focus-visible {z-index:3}
.sold-marker.is-selected {z-index:2}
.sold-marker:focus-visible {outline:3px solid #b68545;outline-offset:3px;border-radius:50%}
.sold-pin {position:relative;display:block;width:32px;height:32px;background:var(--sold,#6c2539);border:2px solid #fff;border-radius:50% 50% 50% 3px;transform:rotate(-45deg);box-shadow:0 2px 10px #3a223335;transition:background .15s,box-shadow .15s}
.sold-pin svg {position:absolute;top:6px;left:6px;width:16px;height:16px;transform:rotate(45deg);stroke:#fff;stroke-width:1.6}
.sold-marker:hover .sold-pin,.sold-marker:focus-visible .sold-pin,.sold-marker.is-selected .sold-pin {background:var(--sold-dark,#522031);box-shadow:0 0 0 7px #6c253919,0 3px 10px #3a223340}
.sold-pin-count {position:absolute;right:-7px;top:-6px;min-width:19px;height:19px;padding:0 3px;border:2px solid #fff;border-radius:50%;background:var(--sold-dark,#522031);color:#fff;font:11px/15px var(--sans);text-align:center;transform:rotate(45deg);box-shadow:0 1px 3px #3a223333}

/* Hover / tap card */
.sold-card {position:absolute;width:274px;transform:translate(-50%,calc(-100% - 47px));background:#fff;border-radius:5px;box-shadow:0 8px 35px #282c2840;color:var(--ink);font:400 14px/1.5 var(--sans);text-align:left;cursor:default}
.sold-card::after {content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;margin-left:-7px;background:#fff;transform:rotate(45deg);box-shadow:3px 3px 6px #282c2814}
.sold-card-inner {position:relative;z-index:1;background:#fff;border-radius:5px}
.sold-card-close {position:absolute;top:9px;right:9px;z-index:3;width:27px;height:27px;padding:0;border:0;border-radius:50%;background:#fffffff2;color:#333;font:20px/25px var(--sans);text-align:center;cursor:pointer}
.sold-card-photo {position:relative;height:171px;overflow:hidden;border-radius:5px 5px 0 0;background:#e7e5e0}
.sold-card-photo img {width:100%;height:100%;object-fit:cover}
.sold-badge {position:absolute;bottom:12px;left:15px;padding:5px 8px;background:var(--sold,#6c2539);color:#fff;font-size:11px;letter-spacing:.8px;text-transform:uppercase}
.sold-visual-label {position:absolute;top:12px;left:14px;max-width:205px;padding:5px 8px;background:#fffffff2;color:var(--sold-dark,#522031);font:11px/1.4 var(--sans);border-radius:2px}
.sold-card-body {padding:17px 18px 15px}
.sold-card-body h3 {margin:0 0 7px;font:400 23px/1.18 var(--serif);letter-spacing:-.4px;color:var(--ink)}
.sold-card-place {margin:0;color:#6a7167;font-size:13px}
.sold-card-place svg {width:12px;height:12px;margin-right:5px;vertical-align:-1px;stroke-width:1.6}
.sold-units {display:flex;gap:7px;margin:13px 0 0}
.sold-units button {padding:6px 11px;border:1px solid var(--sold-line,#e4e5e1);border-radius:3px;background:#fff;color:var(--sold-muted,#6b706e);font:14px var(--sans);cursor:pointer}
.sold-units button:hover {border-color:var(--sold,#6c2539)}
.sold-units button[aria-pressed="true"] {background:var(--sold,#6c2539);border-color:var(--sold,#6c2539);color:#fff}
.sold-card-details {margin:13px 0 0;font-size:14px;line-height:1.6}
.sold-card-note {margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--sold-muted,#6b706e)}
.sold-card-demo {margin:15px 0 0;padding-top:11px;border-top:1px solid #ecece7;font-size:11px;color:#898c85}

.sold-caption {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:47px;padding:12px 23px;border-top:1px solid var(--sold-line);font-size:12px;color:var(--sold-muted)}
.sold-caption > span {display:flex;align-items:center;gap:9px}
.sold-caption p {margin:0;font-size:12px}
.sold-legend-pin {width:7px;height:7px;border-radius:50%;background:var(--sold)}

@media (max-width:1080px) {
  .sold-explorer {grid-template-columns:240px minmax(0,1fr)}
  .sold-item {padding-inline:16px;gap:10px}
  .sold-item-title {font-size:13px}
  .sold-panel-head {padding-left:18px}
  .sold-map-label {font-size:12px;padding:10px 12px;left:15px}
  .sold-hint {left:15px}
  .sold-reset span {display:none}
  .sold-reset {bottom:60px;padding:10px}
  .sold-card {width:250px}
  .sold-card-photo {height:153px}
  .sold-card-body h3 {font-size:22px}
}
@media (max-width:720px) {
  .sold .section-head {display:block}
  .sold-intro {text-align:left;margin-top:18px;font-size:15px;line-height:1.6}
  .sold-intro span {font-size:13px}
  .sold-portfolio {border-radius:var(--radius-sm)}
  .sold-toolbar {padding:12px;min-height:auto}
  .sold-filters {gap:3px}
  .sold-filter {padding:9px 11px;font-size:13px}
  .sold-filter span {margin-left:5px;font-size:11px}
  .sold-tag {display:none}
  .sold-explorer {display:flex;flex-direction:column;height:auto}
  .sold-map-wrap {order:1;height:clamp(420px,70svh,485px)}
  .sold-panel {order:2;border-right:0;border-top:1px solid var(--sold-line)}
  .sold-panel-head {display:flex;align-items:center;justify-content:space-between;padding:16px}
  .sold-panel-head p {font-size:13px;margin:0}
  .sold-list {display:grid;grid-template-columns:1fr 1fr;max-height:340px}
  .sold-item {padding:12px 10px;gap:8px;min-height:65px}
  .sold-item:nth-child(odd) {border-right:1px solid var(--sold-line)}
  .sold-item:only-child {grid-column:1/-1}
  .sold-thumb {width:36px;height:36px}
  .sold-item-title {font-size:12px}
  .sold-item-meta {font-size:10px}
  .sold-item-check {display:none}
  .sold-empty {grid-column:1/-1}
  .sold-panel-note {padding:13px 16px;align-items:center}
  .sold-panel-note p {font-size:11px}
  .sold-map-label {top:14px;left:12px;font-size:11px;padding:9px 11px;gap:7px}
  .sold-zoom {top:14px;right:12px}
  .sold-map-error {left:12px;right:12px;top:92px;font-size:13px}
  .sold-zoom button {width:32px;height:32px}
  .sold-hint {left:12px;bottom:32px;font-size:11px;padding:7px 9px}
  .sold-reset {right:12px;bottom:45px;padding:9px}
  .sold-card {width:237px}
  .sold-card-photo {height:145px}
  .sold-card-body {padding:13px 15px 12px}
  .sold-card-body h3 {font-size:21px}
  .sold-card-place {font-size:12px}
  .sold-card-demo {font-size:10px;margin-top:10px;padding-top:9px}
  .sold-caption {flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;font-size:11px}
  .sold-caption p {font-size:10px}
}

/* One more top-level menu item: tighten the desktop nav before it collapses. */
@media (min-width:921px) and (max-width:1100px) {
  .nav {gap:2px}
  .nav-link {padding-inline:7px}
  .nav-cta {margin-left:6px}
}

/* WordPress menu lists retain the reference header and footer layouts. */
.site-header ul, .footer-menu, .footer-menu ul {list-style:none;margin:0;padding:0}
.sub-menu.sub {padding:10px}
.nav ul .has-sub > .sub {top:0;left:100%}
.nav .has-sub .sub .sub {visibility:hidden;opacity:0}
.nav .has-sub .has-sub:hover > .sub,.nav .has-sub .has-sub:focus-within > .sub {visibility:visible;opacity:1}
.footer-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;grid-column:span 2}
.footer-menu > li.menu-item-has-children > a {font:500 .75rem var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--sage);margin:6px 0 18px}
.footer-menu ul ul {padding-inline-start:1rem}
.identity-logo {width:auto;max-width:170px;height:44px;object-fit:contain}
.portrait img {width:100%;height:100%;object-fit:cover}
.card-cover-empty {display:grid;place-items:center;height:100%;background:var(--sand);color:var(--ink-soft);font-size:.875rem}
.chip {text-decoration:none}
.contact-method span,.agent-contact span,.footer-contact a {overflow-wrap:anywhere;white-space:normal}
.contact-person,.agent-details {min-width:0}
.footer-grid .footer-contact a {white-space:normal}
.admin-bar .site-header {top:var(--wp-admin--admin-bar--height,32px)}
.listing-pages {margin-top:24px}
@media(max-width:920px) {
  .nav .has-sub .sub .sub {visibility:inherit;opacity:1}
  .sub-menu.sub {padding:6px 0 10px 16px}
  .nav-link {display:flex}
  .footer-menu {grid-column:auto}
  .nav-open.admin-bar .nav {top:calc(var(--header-h) + var(--wp-admin--admin-bar--height,46px))}
}
@media(max-width:600px){.footer-menu {grid-template-columns:1fr}}
.submenu-toggle {display:none}
@media(min-width:921px) {
  #main-nav.has-disclosures .has-sub > .sub {opacity:0;visibility:hidden;transform:translateY(6px)}
  #main-nav.has-disclosures .submenu-open > .sub {opacity:1;visibility:visible;transform:none}
  .submenu-toggle {display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:32px;margin-left:-6px;padding:2px;border:0;background:transparent;color:inherit;cursor:pointer;vertical-align:middle}
  .sub .submenu-toggle {position:absolute;right:4px;top:3px}
  .sub .has-sub > a {padding-right:30px}
  .has-disclosures .has-sub > .nav-link {padding-right:5px}
  .submenu-toggle[aria-expanded=true] .chev {transform:rotate(180deg)}
}
