.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.language-picker select {
  appearance: none;
  background: rgba(7, 29, 30, 0.46);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font: inherit;
}
.language-picker option {
  color: #132a2b;
}
.location {
  background: #102e30;
  color: #fff;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 6vw;
  align-items: center;
}
.location h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}
.location-copy > p:not(.eyebrow) {
  max-width: 650px;
}
.location-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 2rem 0;
}
.location-facts div {
  background: #102e30;
  padding: 1.25rem;
}
.location-facts strong {
  display: block;
  font: 600 2rem "Manrope";
}
.location-facts span {
  font-size: 0.82rem;
  color: #b7d8d9;
}
.map-note {
  font-size: 0.78rem;
  opacity: 0.7;
}
.map-view-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 0.75rem;
}
.map-view-buttons button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 700 0.82rem "DM Sans";
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.map-view-buttons button:hover,
.map-view-buttons button:focus-visible,
.map-view-buttons button.active {
  background: #fff;
  color: #132a2b;
  outline: 2px solid #e7aa60;
  outline-offset: -2px;
}
.map-wrap {
  position: relative;
  isolation: isolate;
  z-index: 0;
}
.map-key {
  position: absolute;
  z-index: 500;
  left: 1rem;
  bottom: 1rem;
  background: #fff;
  color: #132a2b;
  padding: 0.8rem 1rem;
  border-radius: 0.65rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.map-key b,
.map-key span {
  display: block;
}
.map-key span {
  font-size: 0.72rem;
}
.map-route-card {
  position: absolute;
  z-index: 600;
  right: 1rem;
  top: 1rem;
  width: min(310px, calc(100% - 2rem));
  background: #fff;
  color: #132a2b;
  padding: 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}
.map-route-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: #102e30;
  color: #fff;
  font: 700 1.35rem/1 "DM Sans";
  cursor: pointer;
}
.map-route-close:hover,
.map-route-close:focus-visible {
  background: #e7aa60;
  color: #132a2b;
  outline: 2px solid #132a2b;
  outline-offset: 2px;
}
.map-route-card > span,
.map-route-card > strong {
  padding-right: 2.15rem;
}
.map-route-card span,
.map-route-card strong {
  display: block;
}
.map-route-card span {
  font-size: 0.78rem;
  color: #526769;
}
.map-route-card strong {
  margin: 0.2rem 0 0.75rem;
  font-size: 1rem;
}
.map-route-card a {
  display: block;
  border-radius: 999px;
  background: #e7aa60;
  color: #132a2b;
  padding: 0.65rem 0.9rem;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
}
.map-route-card a + a {
  margin-top: 0.45rem;
}
.map-route-card a.map-info-link {
  background: #fff;
  border: 1px solid rgba(13, 81, 88, 0.35);
  color: #0d5158;
}
.map-route-card a:hover,
.map-route-card a:focus-visible {
  background: #f1bf7d;
  outline: 2px solid #132a2b;
  outline-offset: 2px;
}
.map-route-card a.map-info-link:hover,
.map-route-card a.map-info-link:focus-visible {
  background: #edf5f4;
}
.map-view-switch {
  position: absolute;
  z-index: 500;
  right: 1rem;
  top: 1rem;
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.map-view-switch button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: #132a2b;
  font: 600 0.76rem "DM Sans";
  cursor: pointer;
}
.map-view-switch button.active {
  background: #102e30;
  color: #fff;
}
#islandMap {
  height: 620px;
  border-radius: 1.5rem;
  overflow: hidden;
}
.madora-marker {
  background: #e7aa60;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(231, 170, 96, 0.35);
}
.madora-overview-marker {
  background: transparent;
  border: 0;
  color: #d89236;
  filter: drop-shadow(0 1px 1px rgba(16, 46, 48, 0.9));
  font-size: 24px;
  line-height: 24px;
  text-align: center;
}
.madora-overview-tooltip {
  background: #102e30;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: 700 0.72rem "DM Sans";
  letter-spacing: 0.06em;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.madora-overview-tooltip::before {
  border-top-color: #102e30;
}
.destination-preview-tooltip {
  width: 260px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.8rem;
  background: #fff;
  color: #132a2b;
  box-shadow: 0 12px 34px rgba(8, 35, 37, 0.28);
}
.destination-preview-tooltip::before {
  border-top-color: #fff;
}
.destination-preview-popup .leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
}
.destination-preview-popup .leaflet-popup-content {
  width: auto !important;
  margin: 0;
}
.destination-preview {
  background: #fff;
  color: #132a2b;
}
.destination-preview img,
.destination-preview-placeholder {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: cover;
}
.destination-preview-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d9ece9, #e7aa60);
  color: #fff;
}
.destination-preview-placeholder span {
  font-size: 2rem;
}
.destination-preview-copy {
  padding: 0.8rem 0.9rem 0.9rem;
}
.destination-preview-copy strong,
.destination-preview-copy span,
.destination-preview-copy small {
  display: block;
}
.destination-preview-copy strong {
  font: 750 0.95rem/1.2 "Manrope";
}
.destination-preview-route {
  margin-top: 0.18rem;
  color: #b36e1f;
  font-size: 0.74rem;
  font-weight: 800;
}
.destination-preview-copy p {
  margin: 0.45rem 0;
  font-size: 0.76rem;
  line-height: 1.4;
}
.destination-preview-copy small {
  color: #607274;
  font-size: 0.65rem;
}
.destination-preview.compact img,
.destination-preview.compact .destination-preview-placeholder {
  height: 98px;
}
.destination-preview.compact .destination-preview-copy {
  padding: 0.65rem 0.75rem 0.7rem;
}
.destination-preview.compact .destination-preview-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.leaflet-popup-content-wrapper {
  border-radius: 0.7rem;
}
@media (max-width: 1150px) {
  .site-header {
    gap: 1rem;
  }
  .site-header nav {
    gap: 0.8rem;
  }
  .site-header nav a {
    font-size: 0.82rem;
  }
}
@media (max-width: 900px) {
  .location {
    grid-template-columns: 1fr;
  }
  .language-picker {
    margin-left: auto;
  }
  .site-header .menu {
    margin-left: 0;
  }
  #islandMap {
    height: 500px;
  }
}
@media (max-width: 560px) {
  .location-facts {
    grid-template-columns: 1fr 1fr;
  }
  #islandMap {
    height: 500px;
  }
  .map-key {
    left: 0.7rem;
    bottom: 0.7rem;
    max-width: 62%;
  }
  .map-route-card {
    right: 0.7rem;
    top: 0.7rem;
    width: calc(100% - 1.4rem);
  }
  .map-view-switch {
    right: 0.7rem;
    top: 0.7rem;
    flex-direction: column;
    border-radius: 0.8rem;
  }
  .map-view-switch button {
    border-radius: 0.55rem;
  }
}
.map-area {
  min-width: 0;
}
.map-tools {
  margin-bottom: 0.9rem;
}
.map-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.map-action-buttons button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: transparent;
  color: #fff;
  font: 600 0.82rem "DM Sans";
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.map-action-buttons button:hover,
.map-action-buttons button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: 2px solid #e7aa60;
  outline-offset: -2px;
}
.map-action-buttons button.active {
  background: #fff;
  color: #132a2b;
}
.map-destination-form {
  margin-top: 0.7rem;
  padding: 1rem;
  background: #fff;
  color: #132a2b;
  border-radius: 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}
.map-destination-form label {
  margin: 0 0 0.45rem;
  font-weight: 600;
}
.map-destination-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}
.map-destination-form input {
  margin: 0;
  background: #f6f4ee;
  color: #132a2b;
  border: 1px solid rgba(19, 42, 43, 0.2);
}
.map-destination-form button {
  border: 0;
  border-radius: 0.55rem;
  padding: 0.75rem 1.1rem;
  background: #e7aa60;
  color: #132a2b;
  font: 700 0.88rem "DM Sans";
  cursor: pointer;
}
@media (max-width: 560px) {
  .map-action-buttons {
    grid-template-columns: 1fr;
    border-radius: 1rem;
  }
  .map-action-buttons button {
    border-radius: 0.7rem;
  }
  .map-destination-form > div {
    grid-template-columns: 1fr;
  }
  .map-destination-form button {
    width: 100%;
  }
}
