/* Lake George Land — listing feature magazine layout
   Luxury lake-estate editorial (Coldwell / Compass caliber).
   Loaded only on /listings/* pages. Tokens from site.css. */

/* ——— Shell: wider editorial canvas ——— */
.listing-feature {
  padding-bottom: calc(var(--space-7) + 4.25rem);
}

.listing-feature .listing-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--space-4) 0 var(--space-5);
}

.listing-feature .prose {
  max-width: none;
}

/* ——— Breadcrumb: quiet ——— */
.listing-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 var(--space-4);
  letter-spacing: 0.02em;
}

.listing-breadcrumb a {
  color: var(--lake);
  text-decoration: none;
  font-weight: 550;
}

.listing-breadcrumb a:hover {
  color: var(--lake-deep);
  text-decoration: underline;
}

.listing-breadcrumb .crumb-sep {
  color: var(--line);
  user-select: none;
}

.listing-breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Magazine mast: address + ask ——— */
.listing-mast {
  position: relative;
  margin: 0 0 var(--space-5);
  padding: 0 0 var(--space-5);
  border-bottom: 1px solid var(--line);
}

.listing-mast::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(12rem, 40%);
  height: 2px;
  background: linear-gradient(90deg, var(--lake-deep), var(--lake), transparent);
}

.listing-mast-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 var(--space-3);
}

.listing-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.listing-chip--active {
  border-color: rgba(26, 106, 120, 0.4);
  color: var(--lake-deep);
  background: rgba(26, 106, 120, 0.08);
}

.listing-chip--editorial {
  border-color: rgba(139, 94, 60, 0.35);
  color: var(--wood);
  background: rgba(196, 168, 130, 0.15);
}

.listing-mast-title {
  min-width: 0;
}

.listing-mast-row {
  display: grid;
  gap: var(--space-4);
  align-items: end;
}

@media (min-width: 768px) {
  .listing-mast-row {
    grid-template-columns: 1fr auto;
    gap: var(--space-5);
  }
}

.listing-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lake);
  margin: 0 0 var(--space-2);
}

.listing-mast h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 var(--space-2);
  max-width: 16ch;
  color: var(--ink);
}

.listing-location {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 var(--space-2);
  line-height: 1.45;
}

.listing-location strong {
  color: var(--ink);
  font-weight: 600;
}

.listing-location .loc-community {
  display: inline-block;
  margin-left: 0.45rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lake-deep);
}

.listing-mast .byline {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin: var(--space-3) 0 0;
  max-width: 36rem;
  line-height: 1.5;
}

/* Ask price block — magazine price plate */
.listing-mast-price {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  background:
    linear-gradient(165deg, rgba(220, 232, 234, 0.5) 0%, var(--card) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  min-width: min(100%, 14rem);
}

@media (min-width: 768px) {
  .listing-mast-price {
    text-align: right;
  }
}

.mast-price-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.mast-price {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lake-deep);
  margin: 0;
  line-height: 1.15;
}

.mast-price-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
  letter-spacing: 0.02em;
}

/* ——— Gallery shell: large photo-forward hero (placeholders only) ——— */
.listing-gallery {
  margin: 0 0 var(--space-5);
}

.gallery-hero {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 720px) {
  .gallery-hero {
    grid-template-columns: 1fr 0.32fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.55rem;
    min-height: clamp(18rem, 42vw, 28rem);
  }

  .gallery-hero-stage {
    grid-row: 1 / -1;
  }
}

.gallery-hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 69, 80, 0.12);
  min-height: 16rem;
  box-shadow: var(--shadow-lift);
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 68% 28%, rgba(126, 184, 196, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 50% 45% at 18% 70%, rgba(196, 168, 130, 0.4) 0%, transparent 52%),
    radial-gradient(ellipse 40% 30% at 85% 80%, rgba(255, 252, 247, 0.35) 0%, transparent 50%),
    linear-gradient(168deg, #8fb8c4 0%, #b7d0d8 28%, #d4e2e6 55%, #e6e0d4 100%);
}

.gallery-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 36, 31, 0.08) 0%, transparent 35%, rgba(15, 69, 80, 0.35) 100%);
  pointer-events: none;
}

.gallery-placeholder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath fill='%230f4550' fill-opacity='0.28' d='M0 48 Q200 20 400 44 T800 40 T1200 48 V80 H0Z'/%3E%3Cpath fill='%231a6a78' fill-opacity='0.22' d='M0 58 Q250 38 500 56 T1000 52 T1200 60 V80 H0Z'/%3E%3C/svg%3E")
    bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem 1.4rem 1.55rem;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 69, 80, 0.55) 100%);
}

.gallery-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: #fffcf7;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(15, 69, 80, 0.35);
  max-width: 22rem;
}

.gallery-count {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.88);
  margin: 0;
}

.gallery-hero-overlay .btn {
  margin: 0;
  background: var(--card);
  color: var(--lake-deep);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(15, 69, 80, 0.25);
}

.gallery-hero-overlay .btn:hover {
  background: #fff;
  color: var(--ink);
}

.gallery-rail {
  display: none;
}

@media (min-width: 720px) {
  .gallery-rail {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.55rem;
  }
}

.gallery-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 69, 80, 0.1);
  min-height: 5rem;
}

.gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
}

.gallery-thumb--a::before {
  background:
    radial-gradient(circle at 40% 40%, rgba(126, 184, 196, 0.5), transparent 60%),
    linear-gradient(145deg, #a8c5ce, #d8e4e0);
}

.gallery-thumb--b::before {
  background:
    radial-gradient(circle at 60% 30%, rgba(196, 168, 130, 0.45), transparent 55%),
    linear-gradient(200deg, #c9d8dc, #e8e2d6);
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 69, 80, 0.2));
}

.gallery-caption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  line-height: 1.5;
  max-width: 42rem;
}

/* ——— Premium facts strip: intentional, not box dump ——— */
.listing-facts-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.facts-strip-item {
  flex: 1 1 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 1.05rem 1.15rem;
  font-family: var(--font-sans);
  border-right: 1px solid var(--line);
  min-width: 5.5rem;
}

.facts-strip-item:last-child {
  border-right: none;
}

.facts-strip-item--ask {
  background: linear-gradient(180deg, rgba(220, 232, 234, 0.45) 0%, transparent 100%);
  flex: 1.15 1 7.5rem;
}

.fsi-label {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts-strip-item--ask .fsi-label {
  color: var(--wood);
}

.fsi-value {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.facts-strip-item--ask .fsi-value {
  font-size: 1.2rem;
  color: var(--lake-deep);
}

@media (max-width: 639px) {
  .listing-facts-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .facts-strip-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .facts-strip-item--ask {
    grid-column: 1 / -1;
    border-right: none;
  }
}

/* Hide legacy .facts boxes inside listing pages */
.listing-feature .facts {
  display: none !important;
}

/* ——— Two-column body + rail (desktop) ——— */
.listing-layout {
  display: grid;
  gap: var(--space-5);
  margin: 0 0 var(--space-5);
}

@media (min-width: 900px) {
  .listing-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 18.5rem);
    gap: var(--space-6);
    align-items: start;
  }

  .listing-rail {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.listing-main > p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.15rem;
  max-width: 40.5rem;
}

.listing-main > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--ink);
}

.listing-main .callout {
  max-width: 40.5rem;
}

/* ——— Waterfront: calm lake-life callout ——— */
.listing-waterfront {
  margin: 0 0 var(--space-5);
  padding: 1.35rem 1.4rem 1.25rem;
  background:
    linear-gradient(125deg, rgba(220, 232, 234, 0.7) 0%, rgba(255, 252, 247, 0.95) 70%);
  border: 1px solid rgba(26, 106, 120, 0.18);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.listing-waterfront::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lake-deep), var(--lake), var(--shore));
  border-radius: 4px 0 0 4px;
}

.listing-waterfront h2 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lake);
  margin: 0 0 0.85rem;
}

.wf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wf-chips li {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  position: relative;
  letter-spacing: -0.01em;
}

.wf-chips li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.7rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--shore);
  transform: translateY(-50%);
}

.wf-note {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
  line-height: 1.5;
  max-width: 38rem;
}

/* ——— Extended facts: refined table feel ——— */
.listing-facts-ext {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 0 var(--space-5);
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
}

.listing-facts-ext .fact-section-label {
  grid-column: 1 / -1;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lake);
  margin: 0;
  padding: 0.95rem 1.2rem 0.55rem;
  border: none;
  background: rgba(220, 232, 234, 0.35);
}

.listing-facts-ext .fact {
  box-shadow: none;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(212, 221, 216, 0.75);
  padding: 0.85rem 1.2rem;
  margin: 0;
}

.listing-facts-ext .fact:nth-last-child(-n+2) {
  border-bottom: none;
}

.listing-facts-ext .fact b {
  font-size: 0.65rem;
  margin-bottom: 0.2rem;
}

.listing-facts-ext .fact .empty {
  color: var(--muted);
  opacity: 0.55;
  font-weight: 500;
}

@media (max-width: 479px) {
  .listing-facts-ext {
    grid-template-columns: 1fr;
  }

  .listing-facts-ext .fact:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(212, 221, 216, 0.75);
  }

  .listing-facts-ext .fact:last-child {
    border-bottom: none;
  }
}

/* ——— Broker card: clean luxury ——— */
.listing-broker {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 var(--space-4);
  padding: 1.35rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.listing-broker h2 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.listing-broker .broker-who {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.listing-broker .broker-who strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.listing-broker .broker-firm {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 500;
}

.listing-broker .disclaimer {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.listing-broker .broker-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.listing-broker .broker-actions .btn {
  text-align: center;
  width: 100%;
}

@media (max-width: 899px) {
  .listing-broker .broker-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .listing-broker .broker-actions .btn {
    width: auto;
    flex: 1 1 auto;
  }
}

/* ——— Map: framed editorial ——— */
.listing-map {
  margin: 0 0 var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.listing-map h2 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding: 1rem 1.2rem 0.65rem;
}

.listing-map .map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--lake-mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.listing-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

.listing-map .map-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  padding: 0.85rem 1.2rem 1.05rem;
  line-height: 1.5;
  font-style: italic;
}

.listing-map--empty .map-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(220, 232, 234, 0.8), transparent 70%),
    var(--card);
}

/* ——— Community ——— */
.listing-community {
  margin: 0 0 var(--space-5);
  padding: 1.25rem 1.3rem;
  background: rgba(220, 232, 234, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.listing-community h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
}

.listing-community dl {
  display: grid;
  grid-template-columns: minmax(6.5rem, 28%) 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.listing-community dt {
  color: var(--muted);
  font-weight: 550;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.listing-community dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
}

.listing-community .empty {
  color: var(--muted);
  opacity: 0.65;
}

.listing-community .comm-note {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
  line-height: 1.45;
}

@media (max-width: 479px) {
  .listing-community dl {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .listing-community dt {
    padding-top: 0.55rem;
  }

  .listing-community dt:first-child {
    padding-top: 0;
  }
}

/* ——— Inquire form ——— */
.listing-inquire {
  margin: 0 0 var(--space-5);
  max-width: none;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(220, 232, 234, 0.4) 0%, var(--card) 45%);
  box-shadow: var(--shadow-soft);
}

.listing-inquire h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.listing-inquire .listing-ref {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 var(--space-3);
  line-height: 1.45;
}

/* ——— Sources ——— */
.listing-feature .sources {
  margin: 0 0 var(--space-5);
  padding: 1.2rem 1.25rem;
  background: rgba(220, 232, 234, 0.28);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.listing-feature .sources h2 {
  font-size: 0.95rem;
  margin: 0 0 0.55rem;
}

/* ——— Related listings ——— */
.listing-related {
  margin: var(--space-5) 0 var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.listing-related > h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.listing-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-related-grid .card {
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.listing-related-grid .card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.listing-related-grid .card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.listing-related-grid .card .price {
  font-size: 1.1rem;
  color: var(--lake-deep);
  font-weight: 700;
}

.listing-related-grid .card p {
  font-size: 0.86rem;
}

.listing-related-guides {
  margin: 1.15rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--muted);
}

.listing-back {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
}

.listing-back a {
  text-decoration: none;
  font-weight: 550;
}

.listing-back a:hover {
  text-decoration: underline;
}

/* ——— Sticky CTA: polished, calm ——— */
.listing-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(15, 69, 80, 0.07);
  padding: 0.7rem 0;
}

.listing-sticky .sticky-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.listing-sticky .sticky-ask {
  font-family: var(--font-sans);
  min-width: 0;
}

.listing-sticky .sticky-ask b {
  display: block;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-sticky .sticky-ask span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lake-deep);
  letter-spacing: -0.025em;
}

.listing-sticky .sticky-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.listing-sticky .btn {
  padding: 0.6rem 1.05rem;
  font-size: 0.85rem;
}

@media (max-width: 479px) {
  .listing-sticky .sticky-ask span {
    font-size: 1.05rem;
  }

  .listing-sticky .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-sticky {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--card);
  }

  .listing-related-grid .card:hover {
    transform: none;
  }
}

/* Neutralize older article-header mast styles on listing pages */
.listing-feature .article-header {
  display: none;
}

.listing-feature .listing-hero-visual {
  display: none;
}

/* ——— Hosted gallery imagery (2026-09-23d) ———
   Original abstract shoreline assets under /assets/imagery/.
   Not brokerage photos; caption still points to source listing for real galleries. */

.gallery-hero-stage {
  background: var(--lake-mist);
}

.gallery-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Keep gradient placeholder as fallback when no img */
.gallery-placeholder:has(+ .gallery-photo),
.gallery-hero-stage:has(> .gallery-photo) > .gallery-placeholder {
  display: none;
}

.gallery-thumb {
  background: var(--lake-mist);
}

.gallery-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:has(> img)::before,
.gallery-thumb:has(> img)::after {
  display: none;
}

.gallery-caption .hosted-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
}

/* Type lock reinforcement on listing pages */
.listing-mast h1 {
  font-size: var(--type-display, clamp(2rem, 5.2vw, 3.15rem));
  letter-spacing: var(--type-display-tight, -0.03em);
}

.listing-kicker {
  font-size: var(--type-kicker, 0.72rem);
  letter-spacing: 0.14em;
}
