/* v0.0.6 */
:root {
  --plaques-a: #4A90D9;
  --plaques-b: #2E5F94;
}

.plaques-panel-head .badge {
  background: linear-gradient(135deg, var(--plaques-a), var(--plaques-b));
}

/* Fixed at the very top of the viewport, replacing the separate blue
   top-banner entirely — this page's header IS the top of the page, the
   same way an expanded card's own panel-head sits at the top with
   nothing above it once opened. */
.plaques-panel-head--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--plaques-a) 12%, white);
  box-shadow: 0 1px 0 rgba(20, 23, 28, 0.06);
}

/* .panel-subhead is hidden on mobile by default everywhere else (cards'
   own subheads only reappear at the desktop breakpoint) — overridden
   here since the back link needs to stay visible on every screen size,
   not just desktop. */
.plaques-back-link {
  display: block !important;
  color: var(--muted);
  text-decoration: none;
}
.plaques-back-link:hover,
.plaques-back-link:focus-visible {
  text-decoration: underline;
}

.plaques-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 130px 20px 40px;
}

.plaques-intro p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.plaques-map-section {
  margin: 24px 0;
}
#plaques-map {
  height: 560px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

/* Permanent name label next to each marker, always visible (not just on
   hover/click) - a plain Leaflet div-based tooltip, styled to match the
   site rather than Leaflet's own default tooltip look. */
.plaque-label {
  background: rgba(255, 255, 255, 0.92);
  border: none;
  box-shadow: 0 1px 4px rgba(20, 23, 28, 0.25);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}
.plaque-label::before {
  display: none; /* remove Leaflet's default tooltip arrow, doesn't suit this style */
}

.plaque-popup h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 2px;
}
.plaque-popup .plaque-type {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}
.plaque-popup .plaque-address {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.plaque-popup p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.plaque-popup a.text-link {
  font-size: 13px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .plaques-page {
    padding-top: 90px;
  }
  #plaques-map {
    height: 640px;
  }
}
