/* REbuilder platform options for static-document sites.
   Loaded after a pinned theme's frozen stylesheets. It holds only the
   platform's own options and fixes, keyed by option classes, so a site that
   uses none of them renders exactly as its frozen theme does. */

/* Hero option "menu over photo" off: the header stays a solid bar. */
.template-palm-court:has(.pc-hero--menu-solid) .site-nav {
  position: sticky;
  top: 0;
  background: var(--pc-paper, #f4f1ec);
  border-bottom: 1px solid var(--pc-rule, rgba(27, 26, 27, 0.14));
  color: var(--pc-ink, #1b1a1b);
}
.template-palm-court:has(.pc-hero--menu-solid) .site-nav :is(.site-nav-name, .site-nav-phone, .site-nav-toggle, nav a) { color: var(--pc-ink, #1b1a1b); }
.template-palm-court:has(.pc-hero--menu-solid) .site-nav .site-nav-sub { color: var(--pc-muted, #5a5758); }

/* Google's attribution under an address box on a light band (the theme's
   colour is for a photograph and is near-invisible on paper). */
.pc-hero-google.pc-hero-google--on-light { color: #5a5758; }
.pc-hero-google.pc-hero-google--on-light b { color: #1b1a1b; }

/* Address suggestions from the platform's Places proxy. Themes that style
   Google's .pac-* classes style these too; the rest get a plain list. */
.pac-container[data-site-suggestions] { position: absolute; z-index: 9999; margin: 0; padding: 0; list-style: none; background: #fff; color: #1b1a1b; }
.pac-container[data-site-suggestions][hidden] { display: none; }
.pac-container[data-site-suggestions] .pac-item[aria-selected="true"] { background: #f0ece5; }
.pac-container[data-site-suggestions] .pac-logo { padding: 6px 16px; font-size: 11px; text-align: right; color: #5a5758; }

/* Newsletter signup band (library section newsletter-signup, Will 10-26): the
   words beside the form on a computer, above it on a phone, and the visitor's
   consent tick box, which the theme's form styles don't cover. Keyed by its own
   classes, so no other page changes. */
.pc-newsletter-grid { display: grid; gap: 28px; align-items: start; }
.pc-newsletter .pc-body { margin-top: 16px; }
@media (min-width: 960px) { .pc-newsletter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; } }
.tf-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: inherit; cursor: pointer; }
.tf-consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #1b1a1b; }
.tf-consent input[type="checkbox"]:focus-visible { outline: 2px solid #1b1a1b; outline-offset: 2px; }
.pc-ground-deep .tf-consent input[type="checkbox"] { accent-color: #f4f1ec; }

/* ------------------------------------------------------------------------
   Footer fixes (Will, 2026-10-29), loaded after the frozen themes so their
   files stay byte-for-byte as pinned. The same rules the platform's own
   footers carry (ManagedWebsiteCompliance, palm-court.css).
   ------------------------------------------------------------------------ */

/* The legal links on one line on a phone where they fit: tighter, scaled a
   little with the screen (about 10.5px on a 390px phone), spread across the
   row; narrower than about 360px they may wrap. Winslow (.footer-links) and
   the Palm Court ports (.pc-footer-legal-links, the copyright on its own line). */
@media (max-width: 520px) {
  .footer-links {
    column-gap: 4px;
    justify-content: space-between;
    row-gap: 12px;
  }

  .footer-links a {
    font-size: clamp(9.5px, calc((100vw - 60px) / 31.5), 11px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .template-palm-court .pc-footer-legal-links {
    column-gap: 4px;
    justify-content: space-between;
  }

  .template-palm-court .pc-footer-legal-links > a {
    font-size: clamp(9.5px, calc((100vw - 60px) / 31.5), 13px);
    letter-spacing: 0;
    white-space: nowrap;
  }
}

/* Phone numbers read as links (they are: tap to call). */
.footer-list a[href^="tel:"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* Winslow: the licence and fair-housing statement, between the Equal Housing
   mark and the legal links, centred. */
.footer-legal .marks + p {
  margin-inline: auto;
  max-width: 62ch;
  text-align: center;
}
