/* Places */
.discovery [hidden] { display: none; }

.discovery-head {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.rail-controls { display: flex; gap: .35rem; }
.rail-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color .18s, border-color .18s;
}
.rail-controls button:disabled { color: var(--muted); opacity: .38; cursor: default; }
.rail-controls button:enabled:hover { border-color: var(--ink); background: #e7ebea; }
.rail-arrow { position: relative; width: 15px; height: 2px; background: currentColor; }
.rail-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.rail-arrow.previous { transform: rotate(180deg); }

.desktop-arrows { display: none; }
@media (min-width: 800px) and (hover: hover) and (pointer: fine) {
  .desktop-arrows:not([hidden]) { display: flex; }
  #map-category { margin-left: auto; }
}

#explore .discovery-head { align-items: center; flex-wrap: nowrap; }
#explore-category { max-width: 60%; margin-left: auto; }

.place-rail {
  --gap: clamp(1rem, 1.8vw, 1.65rem);
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 0 0 .9rem;
}

.place-card {
  flex: 0 0 42%;
  min-width: 0;
  scroll-snap-align: start;
}
.place-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.place-card[data-place="beach"] img { object-fit: contain; }
.place-card[data-place="town"] img { object-position: 50% 53%; }
.place-type {
  margin: .85rem 0 .3rem;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: .04em;
}
.place-card h3, .practical h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 670;
  letter-spacing: -.034em;
  line-height: 1.1;
}
.place-card h3 { font-size: clamp(1.45rem, 2.25vw, 2.45rem); }
.place-description, .practical p:not(.place-type):not(.calendar-link) {
  color: var(--muted);
  line-height: 1.5;
}
.place-description { max-width: 44ch; margin: .5rem 0 .65rem; font-size: .97rem; }
.place-links { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 1.4rem; }
.place-links a, .calendar-link .arrow-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: .86rem;
  font-weight: 700;
}
.guide-direction { color: var(--muted); text-decoration: underline; text-underline-offset: .24em; }
@media (min-width: 800px) {
  .place-rail.single-place .place-card {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
    align-content: center;
    align-items: start;
    column-gap: clamp(2.3rem, 5vw, 7rem);
    flex-basis: 100%;
  }
  .single-place .place-card img { grid-row: 1 / 5; }
  .single-place .place-type { align-self: end; }
  .single-place .place-card h3 { font-size: clamp(2rem, 4vw, 4rem); }
  .single-place .place-card { grid-template-rows: 1fr auto auto 1fr; }
}

/* Stories */
.video-playlist { max-width: 360px; }
.video-playlist #video-picker { width: 100%; margin-bottom: .75rem; }
.story-player {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  background: var(--ink);
}
.video-feature .arrow-link { display: inline-block; margin-top: .75rem; }
/* Calendar and stays */
.practical h2 {
  font-size: clamp(1.85rem, 3.7vw, 3.65rem);
  margin-bottom: clamp(1.1rem, 2.6vw, 2.5rem);
}
.practical h3 { font-size: clamp(1.12rem, 1.55vw, 1.55rem); letter-spacing: -.025em; }
.practical h3 a { text-decoration: none; }
.practical h3 a:hover { text-decoration: underline; text-underline-offset: .16em; }
.practical h3 .external::after { width: .6em; height: .6em; }
.practical p:not(.place-type):not(.calendar-link) { margin: .36rem 0 0; font-size: .92rem; }
.event-list { margin: 0; padding: 0; list-style: none; }
.event-list li {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.event-list time {
  display: grid;
  justify-items: center;
  justify-self: start;
  min-width: 2.7rem;
  padding: .35rem .24rem;
  background: var(--orange);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.event-list time span { font-size: .69rem; line-height: 1.15; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.event-list time b { font-size: 1.82rem; line-height: 1.05; font-weight: 650; letter-spacing: -.075em; }
.events-intro { padding-bottom: 1rem; }
#calendar-picker { width: min(100%, 320px); margin-bottom: 1rem; }
.event-list .event-ongoing { grid-template-columns: minmax(0, 1fr); }
.event-ongoing h3 { margin-top: .3rem; }
.practical .event-meta { font-weight: 700; }
.event-list h3, .event-list p { overflow-wrap: anywhere; }
main h1, main h2, .event-list h3, .nav-menu-links a { text-transform: uppercase; }
main h2 { color: var(--ink); }
.stay-grid {
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.stay-grid article { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; padding-bottom: 1rem; }
.stay-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: .9rem; }
.stay-controls { display: flex; justify-content: flex-end; gap: .35rem; margin-bottom: .65rem; }
.stay-controls button { background: transparent; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; }
.stay-controls button:disabled { opacity: .4; cursor: default; }
.stay-grid .place-type { margin: 0 0 .32rem; }

@media (max-width: 760px) {
  .discovery-head { align-items: center; flex-direction: row; }
  .place-card { flex-basis: 73%; }
}
@media (max-width: 580px) {
  .discovery-head { margin-bottom: .45rem; gap: .45rem; }
  .discovery-head h2 { margin-right: auto; font-size: clamp(1.42rem, 7.35vw, 2.4rem); letter-spacing: -.044em; }
  .place-card { flex-basis: 85%; }
  .place-rail.single-place .place-card { flex-basis: 100%; }
  .place-type { margin-top: .7rem; }
  .place-description { margin-top: .42rem; font-size: .92rem; }
  .stories { padding-bottom: 2.1rem; }
  .practical { padding-top: 2.6rem; }
}

.shop-photo { position: relative; display: grid; isolation: isolate; aspect-ratio: 4 / 3; overflow: hidden; }
.shop-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 48%, #142f39e8); pointer-events: none; }
.shop-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-photo h3 { z-index: 1; align-self: end; color: #fff; padding: 1rem; }
.explore-map-card .place-type { color: var(--ink); font-weight: 750; }

.explore-map-card > a { min-height: 44px; }

.discovery { padding-block-end: clamp(.8rem, 1.4vw, 1.5rem); }

.explore-photo-caption { display: block; margin-top: .3rem; color: var(--muted); font-size: .75rem; }

.instagram-wall { max-width: 34rem; container-type: inline-size; }
.instagram-wall iframe {
  display: block;
  width: 100%;
  height: 34rem;
  height: calc(13rem + 67cqw);
  border: 0;
  background: #fff;
}
.instagram-wall .arrow-link { margin-top: .75rem; }

.idea-rail {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.idea-rail::-webkit-scrollbar { display: none; }
.idea-slide {
  display: grid;
  flex: 0 0 100%;
  isolation: isolate;
  min-height: clamp(17rem, 36vw, 28rem);
  align-items: end;
  position: relative;
  scroll-snap-align: start;
  background: #142d35;
}
.idea-slide img, .idea-slide::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.idea-slide img { object-fit: cover; z-index: -2; }
.idea-slide::before {
  content: "";
  background: linear-gradient(180deg, transparent 22%, rgba(9, 24, 30, .95));
  z-index: -1;
}
.idea-overlay { color: white; max-width: 38rem; padding: clamp(1.3rem, 4vw, 2.75rem); }
.idea-overlay h3 { font-size: clamp(1.75rem, 4.2vw, 3.4rem); line-height: 1.04; margin: 0 0 .45rem; }
.idea-overlay p { margin: 0; line-height: 1.45; }
.idea-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.idea-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1.25rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.idea-list[hidden], .idea-list li[hidden] { display: none; }
.idea-list h4, .idea-list p { margin: 0; }
.idea-list h4 { font-size: 1.05rem; }
.idea-list .idea-meta { color: var(--muted); font-size: .9rem; }
.idea-list .arrow-link { flex: none; }


#ideas .rail-controls button:enabled {
  background: var(--orange);
  border-color: var(--orange);
}
.idea-overlay h3::before {
  content: "";
  display: block;
  width: 2rem;
  height: .2rem;
  margin-bottom: .62rem;
  background: var(--orange);
}
.idea-list {
  padding-inline: clamp(.8rem, 2vw, 1.5rem);
  background: var(--lake-tint);
}
.idea-list li:last-child { border-bottom: 0; }

@media (min-width: 800px) {
  .stories > .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
  .stories .video-playlist { justify-self: center; width: 100%; }
}


.lake-section {
  --muted: color-mix(in srgb, var(--paper) 78%, var(--ink));
  --line: color-mix(in srgb, var(--paper) 32%, var(--ink));
  --lake-panel: color-mix(in srgb, var(--ink) 88%, var(--paper));
  background: var(--ink);
  color: var(--paper);
}
.lake-section h2, .lake-section .practical h3,
.lake-section .rail-controls button, .lake-section .stay-controls button {
  color: var(--paper);
}
#ideas .rail-controls button:enabled {
  color: var(--ink);
}
#ideas .rail-controls button:enabled:hover { border-color: var(--paper); }
.lake-section .idea-list { background: var(--lake-panel); }
.lake-section .map-canvas, .lake-section .shore-caption,
.lake-section .map-stops button { color: var(--paper); }
.lake-section .shore-caption div > span { color: var(--muted); }
.lake-section .shore-selection, .lake-section .map-stops,
.lake-section .map-stops li { border-color: var(--line); }
.lake-section .map-stops button:hover,
.lake-section .map-stops button[aria-pressed="true"] { background: var(--lake-panel); }
.lake-section .rail-controls button:enabled:hover { background: var(--lake-panel); border-color: var(--paper); }
#ideas .rail-controls button:enabled:hover { background: var(--orange); }
.lake-section #map-category { border-color: var(--line); }
.lake-section :is(button, select, a, [tabindex]):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (min-width: 800px) {
  .stay-grid article { flex-basis: 42%; }
  #events .event-list, #events .events-intro { max-width: 48rem; }
}

.event-list li[hidden], #calendar-more[hidden] { display: none; }
#calendar-more {
  margin-top: .75rem;
  padding: .6rem 1rem;
  min-height: 44px;
  border: 1px solid var(--orange);
  border-radius: 2rem;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
#calendar-more:hover { border-color: var(--ink); }

#side-map-credit { display: block; margin-top: .45rem; font-size: .75rem; }
#side-map-credit[hidden] { display: none; }
