/* Plain property template. Appearance is shared across every home listing. */
.home-listing-header {
  padding-block: 32px 28px;
  border-bottom: 1px solid var(--line);
}
.home-listing-label {
  margin-bottom: 12px !important;
  color: var(--muted);
  font-size: 14px;
}
.home-listing-header h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.18;
  margin-bottom: 16px;
}
.home-listing-summary {
  color: var(--muted);
  margin-bottom: 0 !important;
}
.home-listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 64px;
  padding-block: 36px 64px;
}
.home-listing-layout h2 {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.home-listing-details > h2:not(:first-child) {
  margin-top: 36px;
}
.home-listing-facts {
  margin: 0;
}
.home-listing-facts table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.home-listing-facts td {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.home-listing-facts td:first-child {
  width: 48%;
  font-weight: 650;
  padding-right: 20px;
}
.home-listing-facts td:last-child {
  color: var(--muted);
}
.home-listing-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  background: var(--paper);
  color: var(--muted);
  border: 1px solid var(--line);
}
.home-listing-photos p {
  margin: 0;
}
.home-listing-contact {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.home-listing-contact p {
  color: var(--muted);
}
.home-listing-contact .home-listing-disclaimer {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .home-listing-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 28px 40px;
  }
  .home-listing-header {
    padding-block: 24px;
  }
}

/* A property brochure built from native editable blocks. */
.home-listing-header { border: 0; padding-block: 40px 32px; }
.home-listing-header .home-location { color: var(--brand); margin-bottom: 12px; }
.home-listing-header h1 { font-size: clamp(36px, 5vw, 60px); max-width: 800px; }
.home-listing-summary { max-width: 700px; font-size: 18px; }
.property-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 0; }
.property-photo { display: flex; align-items: center; justify-content: center; min-height: 320px; background: #edf5f7; border-radius: 12px; color: var(--muted); padding: 28px; text-align: center; }
.property-photo p { margin: 0; max-width: 240px; }
.property-photo-secondary { background: #f2f4f0; }
.home-listing-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; padding-block: 48px 72px; }
.home-listing-contact { position: sticky; top: 24px; background: var(--paper); border: 0; border-top: 4px solid var(--aqua); border-radius: 0 0 12px 12px; }
.property-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.property-facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.property-facts dt { font-size: 14px; color: var(--muted); }
.property-facts dd { margin: 8px 0 0; font-size: 20px; font-weight: 650; overflow-wrap: anywhere; }
.home-listing-details > .wp-block-group { padding-block: 32px; border-bottom: 1px solid var(--line); }
.home-listing-details > .wp-block-group h2 { margin-top: 0; }
.home-listing-details > .wp-block-group p:last-child { margin-bottom: 0; }
.property-links { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-block: 24px 0; }
@media (max-width: 800px) {
 .property-gallery { grid-template-columns: 1fr; gap: 12px; }
 .property-photo { min-height: 220px; }
 .property-photo-secondary { min-height: 110px; }
 .home-listing-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 48px; }
 .home-listing-contact { position: static; }
 .property-facts { gap: 0 20px; }
 .property-facts dd { font-size: 18px; }
}
.nearby-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 28px; margin-block: 28px; }
.nearby-place { display: flex; flex-direction: column; padding-top: 24px; border-top: 2px solid var(--aqua); }
/* The final native paragraph holds the destination link. */
.nearby-place > p:last-child { margin-top: auto; padding-top: 12px; }
.nearby-place h3 { font-size: 20px; margin-bottom: 12px; }
.nearby-place .nearby-travel-time { color: var(--brand); font-weight: 650; margin-bottom: 16px; }
.nearby-travel-note { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .nearby-places { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 24px; } }
/* Clip decorative overflow without creating a scroll container around the sidebar. */
.single-fpc_home .page-content { overflow: clip; }
@media (min-width: 801px) { .home-listing-contact { top: 112px; } }
.property-facts dt { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.nearby-place h3 { display: flex; align-items: flex-start; gap: 10px; }
.nearby-place h3 .fpc-icon { width: 24px; height: 24px; flex-basis: 24px; margin-top: 2px; }
