.standard-property {
  color: #10223a;
  overflow-wrap: anywhere;
}

.standard-property-hero {
  background: #10223a;
  color: white;
  border-top: 1px solid #3a4c63;
  padding-block: clamp(22px, 4vw, 48px);
}

.standard-property-hero-grid { display: grid; gap: 18px; align-items: center; }
.standard-property-back { display: inline-block; color: #f1d7af; text-decoration: underline; text-underline-offset: 3px; }
.standard-property h1 { font-size: clamp(34px, 4.6vw, 58px); margin-block: 12px 9px; }
.standard-property-hero p { margin: 0 0 6px; color: #e2e9f0; }
.standard-property-tags { list-style: none; padding: 0; margin: 12px 0 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.standard-property-tags li { border: 1px solid #8495aa; border-radius: 4px; padding: 3px 8px; font-size: 13px; }
.standard-property-tags li:first-child { color: #10223a; border-color: #c9a365; background: #c9a365; font-weight: 700; }
.standard-property-hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.standard-property-body { padding-block: 8px 32px; }
.standard-property-body section { padding-block: 18px; border-bottom: 1px solid #dce3eb; }
.standard-property-body h2 { margin: 0 0 10px; }
.standard-property-body p { max-width: 76ch; margin: 0 0 10px; }
.standard-property-note { margin-top: 10px !important; font-weight: 700; }
.standard-property-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.standard-property-specs div { padding: 9px 10px; border: 1px solid #dce3eb; border-radius: 4px; background: #f6f8fa; }
.standard-property-specs dt { color: #4b5d70; font-size: 13px; }
.standard-property-specs dd { margin: 0; font-weight: 700; }
.standard-property-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.standard-property-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.standard-property figure { margin: 0; min-width: 0; }
.standard-property figcaption { padding-block: 5px; color: #4b5d70; font-size: 14px; }
.standard-property-rich img { display: block; max-width: 100%; height: auto; }
.standard-property-link { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.standard-property-body .standard-property-contact {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 10px 20px; padding: 16px; margin-top: 12px; border: 1px solid #ded3bc; background: #f5f1e9; border-radius: 5px;
}
.standard-property .btn { min-height: 44px; }
.standard-property :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.standard-property-hero .btn:focus-visible { outline-color: #fff; }
.standard-property-person { margin-block: 8px; }
.standard-property-person a { margin-inline-end: 10px; }

.property-marketing .standard-property-hero img { aspect-ratio: 16 / 10; }
.property-marketing .standard-property-hero figcaption { color: #e2e9f0; }
.marketing-hero-copy .btn { margin-top: 8px; }
.property-marketing .marketing-section { padding-block: clamp(20px, 4vw, 42px); }
.marketing-section img { max-width: 100%; }
.marketing-section-copy > div { max-width: 78ch; }
.marketing-figures { display: grid; gap: 10px; margin-top: 14px; }
.marketing-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.marketing-section .standard-property-gallery { margin-top: 12px; }
.marketing-gallery-photo { position: relative; }
.marketing-gallery-photo button {
  min-height: 44px; border: 0; border-radius: 4px; padding: 6px 11px;
  margin-top: 5px; background: #10223a; color: white; cursor: pointer;
}
.marketing-downloads a, .marketing-all-listings a { text-decoration: underline; text-underline-offset: 3px; }
.marketing-all-listings { margin-top: 15px !important; }
.marketing-lightbox {
  width: min(1000px, calc(100% - 20px)); max-height: calc(100% - 20px);
  padding: 12px; color: #fff; background: #10223a; border: 1px solid #c9a365; border-radius: 6px;
}
.marketing-lightbox:not([open]) { display: none; }
.marketing-lightbox::backdrop { background: rgb(10 22 38 / .84); }
.marketing-lightbox > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.marketing-lightbox h3 { margin: 0; }
.marketing-lightbox img { display: block; width: 100%; height: min(60vh, 650px); object-fit: contain; margin-block: 8px; }
.marketing-lightbox button { min-height: 44px; padding: 6px 11px; border: 1px solid #c9a365; border-radius: 4px; cursor: pointer; }
.marketing-lightbox button:focus-visible { outline-color: #f5f1e9; }

@media (min-width: 700px) {
  .standard-property-hero-grid.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .standard-property-specs, .standard-property-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marketing-hero-image-left .marketing-figure, .marketing-image-left .marketing-figures { grid-row: 1; grid-column: 1; }
  .marketing-hero-image-left .marketing-hero-copy, .marketing-image-left .marketing-section-copy { grid-row: 1; grid-column: 2; }
  .marketing-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
  .marketing-split .marketing-figures { margin-top: 0; }
  .marketing-wide .marketing-figures { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
  .marketing-wide .standard-property-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.standard-property-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.standard-property-actions .btn { justify-content: center; text-align: center; }
.standard-property-actions .btn.standard-property-action-secondary {
  background: transparent;
  border: 1px solid #c9a365;
  color: #f1d7af;
}
.standard-property-actions .btn.standard-property-action-secondary:hover {
  background: #c9a365;
  color: #10223a;
}
@media (max-width: 440px) {
  .standard-property-actions .btn { flex: 1 1 100%; }
}

.standard-listing .standard-property-hero { padding-block: clamp(22px, 3vw, 38px); }
.standard-listing .standard-property-tags { margin-block: 18px 10px; }
.standard-listing h1 { margin-block: 4px 10px; line-height: 1.08; }
.standard-listing .standard-property-actions { margin-top: 20px; }
.standard-listing .standard-property-actions > .btn:first-child {
  background: #e0ba78;
  color: #10223a;
  border-color: #e0ba78;
}
.standard-listing .standard-property-actions > .btn:first-child:hover { background: #f1d7af; }
.standard-listing-hero-image { position: relative; display: block; }
.standard-listing-hero-image span {
  position: absolute; bottom: 12px; right: 12px; padding: 6px 12px;
  border-radius: 4px; color: white; background: #10223a;
}
.standard-listing-metrics { background: #f5f1e9; border-bottom: 1px solid #e1d8ca; }
.standard-listing-metrics dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 0; }
.standard-listing-metrics dl > div { display: flex; flex-direction: column-reverse; padding: 12px; border-bottom: 1px solid #e1d8ca; }
.standard-listing-metrics dt { font-size: .87rem; color: #41536a; }
.standard-listing-metrics dd { margin: 0; font-weight: 750; color: #10223a; font-size: clamp(1.2rem, 2.4vw, 1.75rem); }
.standard-listing-body { padding-bottom: 36px; }
.standard-listing-body > section { padding-block: clamp(20px, 3vw, 32px); border-bottom: 1px solid #dce3eb; }
.standard-listing-body h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.standard-listing-overview, .standard-listing-location-panel { display: grid; gap: 20px; }
.standard-listing-intro { font-size: 1.06rem; }
.standard-listing-highlights { padding-inline-start: 1.2rem; }
.standard-listing-highlights li { margin-block: 5px; }
.standard-listing-highlights li::marker { color: #9a6524; }
.standard-listing-facts { border: 1px solid #ded3bc; overflow: hidden; border-radius: 6px; align-self: start; }
.standard-listing-facts table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.standard-listing-facts caption { background: #10223a; color: white; text-align: left; padding: 10px 14px; font-weight: 700; }
.standard-listing-facts th, .standard-listing-facts td { padding: 8px 14px; text-align: left; vertical-align: top; }
.standard-listing-facts th { width: 42%; }
.standard-listing-facts tr:nth-child(odd) { background: #f7f3ec; }
.standard-listing-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.standard-listing-photos figure:first-child { grid-column: 1 / -1; }
.standard-listing-photos a { display: block; }
.standard-listing-photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; display: block; }
.standard-listing-location-panel address { font-style: normal; font-weight: 700; }
.standard-listing-location-panel iframe { width: 100%; min-height: 220px; border: 1px solid #dce3eb; border-radius: 6px; }
.standard-listing-lightbox {
  color: white; background: #071421; border: 0; margin: auto; padding: 12px;
  width: min(100%, 1360px); max-width: 100%; max-height: 100dvh;
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
}
.standard-listing-lightbox[open] { display: grid; }
.standard-listing-lightbox::backdrop { background: rgb(7 20 33 / .96); }
.standard-listing-lightbox figure { text-align: center; }
.standard-listing-lightbox img { width: 100%; height: min(72dvh, 780px); object-fit: contain; }
.standard-listing-lightbox figcaption { color: #f1d7af; }
.standard-listing-lightbox button {
  background: #10223a; color: white; border: 1px solid #c9a365;
  border-radius: 4px; min-width: 44px; min-height: 44px; padding: 4px 10px; font: inherit; cursor: pointer;
}
.standard-listing-lightbox-close { grid-column: 1 / -1; justify-self: end; }
.standard-listing-lightbox [data-gallery-count] { grid-column: 1 / -1; text-align: center; margin: 0; }
@media (min-width: 700px) {
  .standard-listing-metrics dl { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .standard-listing-metrics dl > div { padding: 14px 18px; border: 0; }
  .standard-listing-metrics dl > div + div { border-inline-start: 1px solid #e1d8ca; }
  .standard-listing-overview { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .standard-listing-location-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .standard-listing-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  .standard-listing-photos figure:first-child { grid-column: span 2; grid-row: span 2; }
}

.standard-listing-layout { display: grid; gap: 16px; padding-bottom: 26px; }
.standard-listing-layout .standard-listing-body { min-width: 0; padding-bottom: 0; }
.standard-listing-agent {
  align-self: start;
  width: 100%;
  max-width: 300px;
  padding: 14px 14px 9px;
  border: 1px solid #dce5ed;
  border-radius: 8px;
  background: #dbe9f5;
  color: var(--navy);
  box-shadow: 0 3px 12px rgb(16 34 58 / 6%);
  scroll-margin-top: 96px;
}
.standard-agent-heading { display: flex; align-items: center; gap: 10px; }
.standard-agent-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #c9dff0;
  color: #416989;
}
.standard-agent-icon {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.standard-listing-agent h2 {
  margin: 0 0 2px;
  color: #49647d;
  font: 700 .6875rem/1.3 Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.standard-agent-name { margin: 0; font: 600 1.375rem/1.15 Georgia, serif; }
.standard-agent-links { margin-top: 10px; padding-top: 3px; border-top: 1px solid #e4ebf1; }
.standard-agent-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 6px;
  border-radius: 5px;
  color: inherit;
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.standard-agent-link .standard-agent-icon { color: #416989; }
.standard-agent-link:hover,
.standard-agent-link:focus-visible { background: #cfe2f1; }
.standard-agent-link:focus-visible { outline: 2px solid #416989; outline-offset: -2px; }
@media (min-width: 1060px) {
  .standard-listing-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
  .standard-listing-agent { position: sticky; top: 88px; margin-top: 20px; }
}
