/* The additional FAQ link must never overlap Cape's language/contact actions.
   Its existing Menu retains every link when the full navigation cannot fit. */
@media (max-width: 1599px) {
  html[data-gpi-property="the-cape"] .hd .hnav { display: none; }
  html[data-gpi-property="the-cape"] .hd .hd-right .mbtn { display: inline-flex !important; }
}
@media (max-width: 1799px) {
  html[lang="es"][data-gpi-property="the-cape"] .hd .hnav { display: none; }
  html[lang="es"][data-gpi-property="the-cape"] .hd .hd-right .mbtn { display: inline-flex !important; }
}

/* Keep every header action reachable on the delivered Nottingham mobile page. */
@media (max-width: 600px) {
  html[data-gpi-property="nottingham-residences"] {
    --mtc-lift: 72px;
  }
  html[data-gpi-property="nottingham-residences"] .hd {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  html[data-gpi-property="nottingham-residences"] .hd-r {
    flex: 1 1 230px;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }
}

/* The Cape: Cookie preferences and Contact leasing sit in the Legal row with
   Privacy policy and Terms. Keep the buttons link-styled (footer links rely
   on underline, not color alone) and keyboard-visible. */
html[data-gpi-property="the-cape"] .ft-bottom nav button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
html[data-gpi-property="the-cape"] .ft-bottom nav button:focus-visible {
  outline: 3px solid #9a6b0c;
  outline-offset: 3px;
}

/* Keep the footer actions alongside Privacy, with no separate padded strip. */
.ft-bot { align-items: center; }
.gpi-legal-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 16px;
  vertical-align: middle;
  color: #fff;
}
.gpi-legal-actions a,
.gpi-legal-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.gpi-legal-actions a:hover,
.gpi-legal-actions button:hover { color: #f0ca78; }
.gpi-legal-actions :focus-visible { outline: 2px solid #f0ca78; outline-offset: 4px; }
@media (max-width: 760px) {
  /* Leave room above the fixed chat/specials buttons and tour bar so the
     final legal link stays fully visible and clickable at the page bottom. */
  html[data-gpi-property] footer:has([data-gpi-privacy-choices]) {
    padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  }
  html[data-gpi-property="the-cape"] .ft-bottom nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  html[data-gpi-property="the-cape"] .ft-bottom nav [data-gpi-privacy-choices] {
    flex-basis: 100%;
  }
}
.gpi-google-stage { width: 100%; height: 100%; }
.gpi-map-home {
  border: 2px solid #fff;
  border-radius: 24px;
  background: #17324a;
  color: #fff;
  padding: 8px 12px;
  font: 700 13px/1.3 system-ui, sans-serif;
  white-space: nowrap;
  box-shadow: 0 3px 12px #0003;
}
.gpi-map-fox { background: #32634d; }
.gpi-map-place {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #17324a;
  box-shadow: 0 2px 8px #0005;
}
