/* Project detail presentation; keep existing availability and feature rules. */
.pd-page .pd-anchor-nav {
  width: min(1380px, calc(100% - 64px));
  margin: clamp(24px, 3vw, 40px) auto clamp(26px, 4vw, 48px);
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
  padding: 0;
}
.pd-page .pd-summary + .pd-anchor-nav { margin-top: 0; }
.pd-page .pd-anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: #263e4b;
  border-radius: 14px;
}
.pd-page .pd-anchor-nav a:hover { color: white; }
.pd-page .pd-anchor-nav svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pd-anchor-nav a:focus-visible, .pd-unit-tile button:focus-visible { outline: 2px solid var(--pd-brand, #087668); outline-offset: 3px; }
.pd-page :is(.pd-section, .pd-current-package, .pd-map-section) { scroll-margin-top: 120px; }
.pd-page .pd-section > header div > span { font-size: clamp(13px, 1.3vw, 15px); line-height: 1.55; }
.pd-page .pd-section > header h2 { font-size: clamp(24px, 2.65vw, 38px); line-height: 1.28; font-weight: 800; }
[dir="rtl"] .pd-page .pd-section > header :is(span,h2) { letter-spacing: normal; }
.pd-page #overview > header { justify-content: center; text-align: center; width: 100%; }
.pd-page #overview > header > div { width: 100%; }
.pd-page #overview .pd-long-copy { max-width: none; text-align: start; font-size: clamp(15px, 1.45vw, 17px); overflow-wrap: anywhere; }
.pd-page #overview .pd-story-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.pd-page #overview .pd-story-grid article { min-width: 0; overflow-wrap: anywhere; }

.pd-page .pd-units { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 18px); align-items: stretch; }
.pd-page .pd-units > .pd-unit-tile { display: flex; flex-direction: column; min-width: 0; width: auto; border-radius: 16px; }
.pd-page .pd-unit-tile .pd-unit-title { padding: 14px 13px 10px; text-align: start; }
.pd-page .pd-unit-tile h3 { color: #1e3343; margin: 0; font-size: clamp(15px, 1.55vw, 21px); line-height: 1.35; overflow-wrap: anywhere; }
.pd-page .pd-unit-title > b { display: inline-block; padding: 2px 8px; margin-top: 6px; border-radius: 6px; background: #e9f3f1; color: #155c52; font-size: 12px; }
.pd-page .pd-units > .pd-unit-tile > img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.pd-page .pd-units > .pd-unit-tile > .pd-unit-info { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 12px 13px 14px; min-width: 0; }
.pd-page .pd-unit-price > span { display: block; color: #566675; font-size: 12px; font-weight: 700; }
.pd-page .pd-unit-price strong { display: inline-block; color: #174b45; font-size: clamp(15px, 1.55vw, 22px); line-height: 1.4; max-width: 100%; overflow-wrap: anywhere; }
.pd-page .pd-unit-info p { margin: 0; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.pd-page .pd-unit-facts { display: grid; gap: 6px; margin: 0; padding-top: 8px; border-top: 1px solid #e5ecef; }
.pd-page .pd-unit-facts > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 6px; }
.pd-page .pd-unit-facts dt { color: #566675; font-size: 12px; }
.pd-page .pd-unit-facts dd { margin: 0; color: #283f4e; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.pd-page .pd-unit-tile button { margin: auto 0 0; min-height: 44px; width: 100%; font-size: 13px; }

.pd-page .pd-amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.pd-page .pd-amenities article { min-width: 0; overflow: hidden; }
.pd-page .pd-amenities article b { overflow-wrap: anywhere; }
.pd-page .pd-amenities article.pd-amenity-photo { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.pd-page .pd-amenity-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pd-page .pd-amenity-photo b { padding: 10px 14px 12px; }

@media (max-width: 920px) {
  .pd-page .pd-units { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-page .pd-amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .pd-page .pd-anchor-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 24px); gap: 8px; }
  .pd-page .pd-anchor-nav a { min-width: 0; padding: 9px 8px; font-size: 14px; }
  .pd-page .pd-anchor-nav svg { width: 19px; height: 19px; flex-basis: 19px; }
  .pd-page :is(.pd-section, .pd-current-package, .pd-map-section) { scroll-margin-top: 89px; }
  .pd-page .pd-units, .pd-page .pd-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pd-page .pd-unit-tile .pd-unit-title { padding: 10px 9px 8px; }
  .pd-page .pd-units > .pd-unit-tile > .pd-unit-info { padding: 9px 9px 11px; gap: 8px; }
  .pd-page .pd-amenities article:not(.pd-amenity-photo) { flex-wrap: wrap; }
  .pd-page :is(input:not([type="hidden"]), select, textarea) { font-size: 16px; }
}
