/* Property location and stay details. Canonical recipe for the live listing page. */
.detail-page .ec-property-context-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ec-space-6);
  margin-bottom: var(--ec-space-6);
}
.detail-page .ec-property-context-heading h2 {
  margin: 0;
}
.ec-property-context-heading .text-link {
  font-size: 13px;
  text-align: right;
}
.ec-property-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: var(--ec-space-8);
  align-items: start;
}
.ec-property-address-card {
  padding: var(--ec-space-6);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-card);
  background: var(--ec-cream);
}
.ec-property-address-heading {
  display: flex;
  align-items: center;
  gap: var(--ec-space-3);
}
.ec-property-context-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-pill);
  background: var(--ec-white);
  color: var(--ec-plum);
}
.ec-property-context-label {
  margin: 0 0 4px;
  font-size: 11px;
  color: var(--ec-muted);
}
.ec-property-address-heading h3 {
  font-size: 18px;
  line-height: 1.4;
}
.ec-property-address-heading h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ec-property-address {
  display: grid;
  gap: var(--ec-space-2);
  margin-top: var(--ec-space-6);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.ec-property-address > span:last-child {
  color: var(--ec-muted);
  font-size: 12px;
}
.ec-property-location-note {
  margin-top: var(--ec-space-4);
  color: var(--ec-muted);
  font-size: 12px;
  line-height: 1.7;
}
.ec-property-address-card .button {
  margin-top: var(--ec-space-6);
  min-height: 44px;
  font-size: 13px;
}
.ec-property-nearby {
  min-width: 0;
  padding-top: 4px;
}
.ec-property-nearby h3 {
  font-size: 18px;
  line-height: 1.4;
}
.ec-property-nearby-note {
  margin-top: var(--ec-space-2);
  font-size: 12px;
  color: var(--ec-muted);
}
.ec-property-nearby-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--ec-space-6);
  list-style: none;
  padding: 0;
  margin: var(--ec-space-4) 0 0;
}
.ec-property-nearby-list li {
  min-width: 0;
  border-bottom: 1px solid var(--ec-line);
}
.ec-property-nearby-list a {
  display: flex;
  align-items: center;
  gap: var(--ec-space-3);
  min-height: 80px;
  padding-block: var(--ec-space-4);
}
.ec-property-nearby-list a > svg {
  width: 18px;
  height: 18px;
  color: var(--ec-muted);
}
.ec-property-nearby-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
}
.ec-property-distance {
  font-size: 12px;
  color: var(--ec-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ec-property-nearby-list a:hover .ec-property-nearby-name {
  color: var(--ec-plum);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ec-property-area-empty {
  margin-top: var(--ec-space-4);
  max-width: 48ch;
  color: var(--ec-muted);
  font-size: 14px;
  line-height: 1.7;
}
.ec-property-area-empty .text-link {
  margin-top: var(--ec-space-4);
}
.ec-property-stay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ec-space-4);
}
.ec-property-stay-card {
  padding: var(--ec-space-6);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius-card);
}
.ec-property-stay-card h3 {
  display: flex;
  align-items: center;
  gap: var(--ec-space-3);
  margin-bottom: var(--ec-space-6);
  font-size: 16px;
  line-height: 1.5;
}
.ec-property-stay-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--ec-mauve);
}
.ec-property-stay-card p,
.ec-property-house-rules {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ec-muted);
}
.ec-property-stay-card p + p {
  margin-top: var(--ec-space-3);
}
.ec-property-stay-facts {
  display: grid;
  gap: var(--ec-space-4);
  margin: 0;
}
.ec-property-stay-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ec-space-4);
  font-size: 13px;
  line-height: 1.6;
}
.ec-property-stay-facts dt {
  color: var(--ec-muted);
}
.ec-property-stay-facts dd {
  margin: 0;
  text-align: right;
  color: var(--ec-plum);
  font-weight: 600;
}
.ec-property-house-rules {
  margin: 0;
  padding-left: var(--ec-space-4);
}
.ec-property-house-rules li + li {
  margin-top: var(--ec-space-2);
}
/* The operator's free-text rules under its stated ones (OA11). */
.ec-property-rules-heading {
  margin: var(--ec-space-6) 0 var(--ec-space-2);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ec-ink);
}
.ec-property-stay-card .text-link {
  margin-top: var(--ec-space-4);
  font-size: 12px;
  min-height: 44px;
}
.ec-property-availability {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--ec-space-4);
  color: var(--ec-muted);
  font-size: 12px;
  line-height: 1.7;
}
.ec-property-availability svg {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}
.ec-property-location :is(a, button):focus-visible,
.ec-property-stay a:focus-visible {
  outline: 2px solid var(--ec-plum);
  outline-offset: 4px;
}
@media (max-width: 1000px) {
  .ec-property-nearby-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ec-property-nearby-list a {
    min-height: 60px;
  }
  .ec-property-stay-card {
    padding: var(--ec-space-4);
  }
}
@media (max-width: 740px) {
  .detail-page .ec-property-context-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--ec-space-2);
  }
  .ec-property-context-heading .text-link {
    min-height: 44px;
    text-align: left;
  }
  .ec-property-location-grid,
  .ec-property-stay-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ec-property-location-grid {
    gap: var(--ec-space-6);
  }
  .ec-property-stay-card {
    padding: var(--ec-space-6);
  }
  .ec-property-stay-card h3 {
    margin-bottom: var(--ec-space-4);
  }
}
/* Listing questions (CL-671): the public FAQ card from home-components.css, which detail pages do not load. */
.ec-property-faq .ec-public-faq {
  border: 1px solid var(--ec-line);
  border-radius: 24px;
  background: var(--ec-white);
  overflow: hidden;
}
.ec-property-faq .ec-public-faq details + details {
  border-top: 1px solid var(--ec-line);
}
.ec-property-faq .ec-public-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 22px 24px;
  font: 700 14px/1.6 var(--ec-font-heading);
  color: var(--ec-plum);
  list-style: none;
  cursor: pointer;
}
.ec-property-faq .ec-public-faq summary::-webkit-details-marker {
  display: none;
}
.ec-property-faq .ec-public-faq summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--ec-duration);
}
.ec-property-faq .ec-public-faq details[open] summary svg {
  transform: rotate(180deg);
}
.ec-property-faq .ec-public-faq details p {
  max-width: 72ch;
  margin: 0;
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ec-muted);
}
.ec-property-faq .ec-public-faq summary:focus-visible {
  outline: 2px solid var(--ec-plum);
  outline-offset: -5px;
  box-shadow: none;
}
@media (max-width: 760px) {
  .ec-property-faq .ec-public-faq {
    border-radius: 20px;
  }
  .ec-property-faq .ec-public-faq summary {
    min-height: 68px;
    padding: 18px 20px;
  }
  .ec-property-faq .ec-public-faq details p {
    padding: 0 20px 22px;
    font-size: 13px;
  }
}

/* The tour link and floor plan under the photos (PRD 6.1 media kinds video and plan). */
.property-media-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.property-media-links a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--ec-touch-target); padding: 0 16px; border: 1px solid var(--ec-control-border); border-radius: var(--ec-radius-pill); background: var(--ec-white); color: var(--ec-plum); font-size: 14px; font-weight: 700; text-decoration: none; }
.property-media-links a:hover { background: var(--ec-hover); }
.property-media-links a:focus-visible { outline: none; box-shadow: var(--ec-focus); }
.property-media-links svg { width: 18px; height: 18px; }
