/* Facilities links, Home landmark cards, and the feedback dated 22 November. */
[data-pmh-residence-filter][aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}

.pmh-r6-site .pmh-residence-hero .pmh-hero-info[data-pmh-landmark] .pmh-info-detail {
  white-space: normal;
  text-wrap: pretty;
}

.pmh-r6-site .elementor-element-8aa317a img {
  filter: brightness(1.18);
}

.pmh-r6-site .pmh-cpd-venue .elementor-heading-title > a,
.pmh-facility-dialog .pmh-facility-venue-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.pmh-facility-dialog .pmh-facility-venue-link:focus-visible,
.pmh-r6-site .pmh-cpd-venue a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.pmh-r6-site .pmh-cpd-visit-site .elementor-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 9px 22px;
  min-height: 42px;
  border: 1px solid #213c39;
  border-radius: 100px;
  color: #213c39;
  background: transparent;
  font: 500 14px/1.15 "Helvetica Neue", Arial, sans-serif;
}

.pmh-r6-site .pmh-cpd-visit-site .elementor-button:hover,
.pmh-r6-site .pmh-cpd-visit-site .elementor-button:focus-visible {
  color: #e9e6d4;
  background: #213c39;
}

.pmh-r6-site .elementor-element.pmh-cpd-school {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 76px);
  width: 100%;
  padding: clamp(20px, 3.5vw, 66px);
  margin: 0 auto;
  background-color: #e4e9df;
}

.pmh-r6-site .elementor-element.pmh-cpd-school .pmh-cpd-school-placeholder {
  display: grid;
  min-height: clamp(200px, 22vw, 375px);
  place-items: center;
  background-color: #d2dbd1;
  color: #213c39;
}

.pmh-r6-site .pmh-cpd-school-placeholder .elementor-heading-title {
  font: 400 16px/1.4 "Helvetica Neue", Arial, sans-serif;
}

.pmh-r6-site .pmh-cpd-school-copy {
  gap: 12px;
}

/* Keep the left edge of bedroom 03 at the start of the second residence column. */
html body.pmh-r6-site:is(.page-id-199,.page-id-2411,.page-id-205,.page-id-2509) .elementor.elementor[data-elementor-type] .pmh-cpd-booking.elementor-widget-form[data-widget_type] form.elementor-form .elementor-field-group.elementor-field-type-radio:is(
  [class*="elementor-field-group-field_5091124"],
  [class*="elementor-field-group-field_769fe26"],
  [class*="elementor-field-group-field_34e7a7d"]
) .elementor-field-subgroup {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  column-gap: 0 !important;
  justify-content: stretch !important;
}

html body.pmh-r6-site:is(.page-id-199,.page-id-2411,.page-id-205,.page-id-2509) .elementor.elementor[data-elementor-type] .pmh-cpd-booking.elementor-widget-form[data-widget_type] form.elementor-form .elementor-field-group.elementor-field-type-radio[class*="elementor-field-group-field_34e7a7d"] .elementor-field-subgroup {
  grid-template-columns: 25% 25% 20% 30% !important;
}

html body.pmh-r6-site:is(.page-id-199,.page-id-2411,.page-id-205,.page-id-2509) .elementor.elementor[data-elementor-type] .pmh-cpd-booking.elementor-widget-form[data-widget_type] form.elementor-form .elementor-field-group.elementor-field-type-radio:is(
  [class*="elementor-field-group-field_5091124"],
  [class*="elementor-field-group-field_769fe26"],
  [class*="elementor-field-group-field_34e7a7d"]
) .elementor-field-subgroup > .elementor-field-option {
  width: auto !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  justify-content: flex-start !important;
  text-align: start !important;
}

@media (max-width: 767px) {
  html body.pmh-r6-site.pmh-nov-home .pmh-hero-scene .pmh-hero-hotspot[data-pmh-landmark]:has([aria-controls="pmh-info-0"]) {
    left: 8.90585% !important;
    top: 35% !important;
  }

  html body.pmh-r6-site.pmh-nov-home .pmh-hero-scene .pmh-hero-hotspot[data-pmh-landmark]:has([aria-controls="pmh-info-1"]) {
    left: 41.98473% !important;
    top: 24.61538% !important;
  }

  html body.pmh-r6-site.pmh-nov-home .pmh-hero-scene .pmh-hero-pin[aria-controls="pmh-info-0"] {
    background-image: url('../assets/pmh-home-mobile/pin-mobile-active.svg') !important;
  }

  html body.pmh-r6-site.pmh-nov-home .pmh-hero-scene .pmh-hero-pin[aria-controls="pmh-info-0"] span {
    width: 23.18px !important;
    height: 24.6px !important;
    left: 5.44px !important;
    top: 4.86px !important;
    background: url('../assets/pmh-home-mobile/mall-mark-mobile.svg') center / contain no-repeat;
  }

  .pmh-r6-site .elementor-element.pmh-cpd-school {
    grid-template-columns: minmax(0, 1fr);
  }

  html body.pmh-r6-site .elementor .pmh-cpd-booking .elementor-field-option label {
    white-space: normal !important;
  }
}

/* Gaps marked in slide 15, scoped to the affected desktop page sections. */
@media (min-width: 768px) {
  html body.pmh-r6-site.pmh-nov-home .elementor[data-elementor-type] .elementor-element-8a55d41,
  html body.pmh-r6-site.pmh-nov-home .elementor[data-elementor-type] .elementor-element-0d5022e,
  html body.pmh-r6-site.pmh-nov-home .elementor[data-elementor-type] .elementor-element-d083c3d,
  html body.pmh-r6-site.pmh-nov-home .elementor[data-elementor-type] .elementor-element-6e2a2ce {
    padding-bottom: clamp(36px, 4vw, 80px) !important;
  }

  html body.pmh-r6-site.pmh-nov-home .elementor[data-elementor-type] :is(
    .elementor-element-0d5022e, .elementor-element-d083c3d,
    .elementor-element-6e2a2ce, .elementor-element-7da9159
  ) {
    padding-top: clamp(40px, 5vw, 100px) !important;
  }

  html body.pmh-r6-site.pmh-nov-home .elementor[data-elementor-type] .elementor-element-1769648 {
    margin-top: clamp(44px, 6vw, 125px) !important;
  }

  html body.pmh-r6-site:is(.page-id-199, .page-id-2411) .elementor[data-elementor-type] .elementor-element-04dc6c1 {
    padding-top: clamp(52px, 6vw, 115px) !important;
  }

  html body.pmh-r6-site:is(.page-id-201, .page-id-2442) .elementor[data-elementor-type] .elementor-element-5f9f6fb {
    margin-bottom: 0 !important;
    padding-bottom: clamp(32px, 3vw, 60px) !important;
  }

  html body.pmh-r6-site:is(.page-id-203, .page-id-2502) .elementor[data-elementor-type] .elementor-element-d2b8965 {
    margin-top: clamp(36px, 4vw, 80px) !important;
  }

  html body.pmh-r6-site.pmh-r6-site.pmh-r7-inner:is(.page-id-203, .page-id-2502) .elementor[data-elementor-type] :is(
    .elementor-element-0812bed, .elementor-element-16f8096, .elementor-element-796f7d8
  ) {
    padding-bottom: clamp(36px, 4vw, 80px) !important;
  }

  html body.pmh-r6-site:is(.page-id-205, .page-id-2509) .elementor[data-elementor-type] .elementor-element-9ea536e {
    padding-bottom: clamp(40px, 4vw, 80px) !important;
  }

  html body.pmh-r6-site:is(.page-id-205, .page-id-2509) .elementor[data-elementor-type] .elementor-element-9c010cd {
    padding-top: clamp(44px, 5vw, 90px) !important;
  }
}

/* Elementor renders each floating action according to its own display setting. */
@media (max-width: 767px) {
  html body.pmh-r6-site .elementor-location-footer .elementor-element.cta-container {
    display: flex !important;
    visibility: visible !important;
    position: fixed !important;
    inset: auto 12px max(12px, env(safe-area-inset-bottom)) auto !important;
    transform: none !important;
    width: auto !important;
    max-width: calc(100vw - 24px);
    flex-direction: row !important;
    gap: 6px;
    padding: 0 !important;
    pointer-events: none;
  }

  html body.pmh-r6-site .elementor-location-footer .cta-container .cta-button {
    flex: 0 1 auto;
    width: auto;
    pointer-events: auto;
  }

  html body.pmh-r6-site .elementor-location-footer .cta-container .elementor-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px !important;
  }
}

body.pmh-r6-site .pmh-cpd-school .pmh-cpd-school-copy .elementor-heading-title a {
  color: #213c39;
}
