.harbour-heading {
  margin-bottom: clamp(22px, 4vw, 42px);
}

.harbour-page {
  --buoy-yellow: #ffdb47;
}

.harbour-heading h1 {
  font-size: clamp(2.9rem, 7vw, 6rem);
}

.harbour-heading p:last-child {
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.harbour-map-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
}

.harbour-map-frame {
  position: relative;
  height: clamp(320px, 46vw, 540px);
  overflow: hidden;
  background: #e7f0ec;
}

.buoy-plot,
.apple-harbour-map {
  position: absolute;
  inset: 0;
}

.buoy-plot {
  background:
    linear-gradient(#245b5714 1px, transparent 1px),
    linear-gradient(90deg, #245b5714 1px, transparent 1px),
    linear-gradient(145deg, #f2f7f0, #d9e9e6);
  background-size: 32px 32px, 32px 32px, auto;
}

.apple-harbour-map[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.buoy-plot-north {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 20px;
  background: #ffffffba;
  font-size: .82rem;
  font-weight: 700;
}

.buoy-plot button {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(28px, 4vw, 38px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #795c17;
  border-radius: 50%;
  background: var(--buoy-yellow);
  color: var(--ink);
  box-shadow: 0 2px 5px #102d3930;
  font: 700 .83rem var(--sans);
  cursor: pointer;
}

.buoy-plot button:hover,
.buoy-plot button[aria-pressed="true"] {
  z-index: 1;
  box-shadow: 0 0 0 2px var(--ink), 0 2px 5px #102d3930;
}

@media (max-width: 440px) {
  .buoy-plot button {
    width: 23px;
    font-size: .72rem;
  }
}

.harbour-map-bar,
.harbour-map-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 13px clamp(14px, 3vw, 24px);
}

.harbour-map-bar p {
  margin: 0;
}

.harbour-map-bar button {
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  background: var(--paper);
  color: var(--ink);
  font: 700 .9rem var(--sans);
  cursor: pointer;
}

.harbour-map-selection {
  border-top: 1px solid var(--border);
  background: #f3f7f5;
}

.harbour-map-selection[hidden] {
  display: none;
}

.harbour-map-selection strong {
  display: block;
}

.harbour-map-selection a {
  color: var(--red);
  font-weight: 700;
}

.harbour-map-note {
  margin: 15px 0 0;
  font-size: .9rem;
}

.buoy-directory {
  margin-top: clamp(30px, 6vw, 66px);
}

.buoy-directory h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.buoy-directory p {
  margin: 8px 0 16px;
}

#buoy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

#buoy-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1px 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

#buoy-list a:hover {
  background: #f0f5f1;
}

.buoy-open {
  grid-column: 2;
  color: var(--red);
}

