/* Sovereign Stack - Webster Kitchen & Bath brand overrides for cookieconsent v3.
 * Extend the library's CSS variable system. Do NOT add inline styles.
 * Brand colors mirror the site's :root navy/gold palette.
 */
:root {
  --cc-bg: #ffffff;
  --cc-primary-color: #1A1D1F;
  --cc-secondary-color: #4A4D4F;
  --cc-btn-primary-bg: #0A193A;
  --cc-btn-primary-color: #F5F1EA;
  --cc-btn-primary-border-color: #0A193A;
  --cc-btn-primary-hover-bg: #06122A;
  --cc-btn-primary-hover-color: #F5F1EA;
  --cc-btn-primary-hover-border-color: #06122A;
  --cc-btn-secondary-bg: #EDE6DA;
  --cc-btn-secondary-color: #1A1D1F;
  --cc-btn-secondary-border-color: #D9D2C4;
  --cc-btn-secondary-hover-bg: #E4DBCF;
  --cc-btn-secondary-hover-color: #1A1D1F;
  --cc-btn-secondary-hover-border-color: #A88847;
  --cc-toggle-bg-on: #A88847;
  --cc-toggle-bg-off: #9ca3af;
  --cc-toggle-knob-bg: #ffffff;
  --cc-toggle-readonly-bg: #D9D2C4;
  --cc-toggle-readonly-knob-bg: #F5F1EA;
  --cc-link-color: #A88847;
  --cc-modal-border-radius: 0.5rem;
  --cc-btn-border-radius: 0.25rem;
  --cc-pm-section-border-radius: 0.375rem;
  --cc-overlay-bg: rgba(6, 18, 42, 0.65);
  --cc-z-index: 2147483645;
}

/* The footer "Cookie Preferences" trigger should read as a plain footer link
 * (matches .footer-meta on the main template and the simple <footer> on the
 * standalone guide page). data-cc="show-preferencesModal" only ever appears on
 * our footer trigger, so a generic selector is safe. */
[data-cc="show-preferencesModal"] {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

[data-cc="show-preferencesModal"]:hover {
  text-decoration: underline;
}

/* Reduce motion for users who prefer it. */
@media (prefers-reduced-motion: reduce) {
  #cc-main,
  #cc-main * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ---------------------------------------------------------------------------
 * Service-area map (consent-gated, click-to-load). Lives here because Webster
 * is inline-CSS with no shared external stylesheet, and this file is the one
 * stylesheet loaded on every page. Palette = site bone/charcoal/brass; rounded
 * corners match the existing cards.
 * ------------------------------------------------------------------------- */
.ss-map-section {
  padding: clamp(40px, 5vw, 72px) 1.25rem;
  text-align: center;
  background: #EDE6DA;
}
.ss-map-heading {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  color: #0A193A;
  margin: 0 0 0.5rem;
}
.ss-map-intro {
  color: #4A4D4F;
  max-width: 60ch;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}
.ss-map-card {
  background: #F5F1EA;
  border: 1px solid #D9D2C4;
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(6, 18, 42, 0.08);
}
.ss-map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #EDE6DA;
}
.ss-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ss-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  padding: 1.5rem;
}
.ss-map-placeholder p {
  margin: 0;
  max-width: 40ch;
  color: #4A4D4F;
  line-height: 1.55;
}
.ss-map-load-btn {
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.6rem 1.5rem;
  border-radius: 0.25rem;
  background: #0A193A;
  color: #F5F1EA;
  border: 1px solid #0A193A;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.ss-map-load-btn:hover {
  background: #A88847;
  border-color: #A88847;
  color: #0A193A;
}
