html.public-location-detail-page body { margin: 0; background: #f5f7f7; }

.public-location-detail,
.public-location-detail * { box-sizing: border-box; }

.public-location-detail {
  --pd-ink: #17252b;
  --pd-muted: #66787e;
  --pd-brand: #3c727e;
  --pd-brand-dark: #285762;
  --pd-line: #dce5e7;
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2.5rem);
  color: var(--pd-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(60, 114, 126, .1), transparent 26rem),
    var(--location-page-bg, #f5f7f7);
  font-family: var(--location-font, system-ui), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-location-detail.is-modal-view { min-height: 0; padding: clamp(1rem, 2.5vw, 2rem); background: #f7f9f9; }
.public-location-detail__shell { width: min(1160px, 100%); margin: 0 auto; }

.public-location-detail__back {
  display: flex;
  min-height: 34px;
  gap: .55rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  color: #839096;
  font-size: .74rem;
}
.public-location-detail__back a { display: inline-flex; gap: .4rem; align-items: center; color: var(--pd-brand); font-weight: 800; text-decoration: none; }

.public-location-detail__header { margin-bottom: 1.25rem; }
.public-location-detail__eyebrow,
.public-location-facts__eyebrow {
  margin-bottom: .55rem;
  color: var(--pd-brand);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.public-location-detail__title-row { display: flex; align-items: flex-end; gap: 1.5rem; }
.public-location-detail__title-row h1 {
  margin: 0;
  color: var(--pd-ink);
  font-size: clamp(2.25rem, 6vw, 4.7rem);
  font-weight: 690;
  letter-spacing: -.06em;
  line-height: .98;
}
.public-location-detail__title-row p { display: flex; gap: .4rem; margin: .7rem 0 0; align-items: center; color: var(--pd-muted); font-size: .9rem; }

.public-location-detail__badges { display: flex; gap: .45rem; margin-top: 1rem; flex-wrap: wrap; }
.public-location-detail__badges span {
  display: inline-flex;
  gap: .35rem;
  padding: .34rem .58rem;
  align-items: center;
  border: 1px solid #d5e1e3;
  border-radius: 999px;
  color: #536f77;
  background: rgba(255, 255, 255, .75);
  font-size: .68rem;
  font-weight: 750;
}
.public-location-detail__badges .is-seasonal { color: #806022; border-color: #eddeae; background: #fff9e9; }

.public-location-detail__gallery { margin: clamp(1.5rem, 4vw, 2.75rem) 0; }
.public-location-detail__gallery-track {
  width: 100%;
  overflow: hidden;
}
.public-location-detail__gallery-track.flickity-enabled { position: relative; }
.public-location-detail__gallery-track .flickity-viewport {
  position: relative;
  height: clamp(260px, 38vw, 430px) !important;
  overflow: hidden;
}
.public-location-detail__gallery-track .flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}
.public-location-detail__gallery-track:not(.flickity-enabled) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 500px);
  gap: .8rem;
  overflow-x: auto;
  padding: .15rem .15rem .7rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(60, 114, 126, .45) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline mandatory;
}
.public-location-detail__gallery .carousel-cell {
  width: min(76vw, 500px);
  height: 100%;
  margin: 0 .8rem 0 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #e4ecee;
  box-shadow: 0 14px 38px rgba(26, 52, 60, .12);
  scroll-snap-align: start;
}
.public-location-detail__gallery-track:not(.flickity-enabled) .carousel-cell {
  width: auto;
  height: clamp(260px, 38vw, 430px);
  margin-right: 0;
}
.public-location-detail__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.public-location-detail__gallery .carousel-cell:hover img { transform: scale(1.025); }
.public-location-detail__gallery > p { display: flex; gap: .45rem; margin: .25rem 0 0; align-items: center; color: var(--pd-muted); font-size: .72rem; }

.public-location-detail__content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 330px); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.public-location-detail__main { display: grid; gap: 1.25rem; min-width: 0; }

.public-location-panel,
.public-location-facts {
  border: 1px solid rgba(42, 75, 84, .12);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(27, 55, 63, .07);
}
.public-location-panel { padding: clamp(1.1rem, 3vw, 1.6rem); }
.public-location-panel__heading { display: flex; gap: .8rem; margin-bottom: 1.15rem; align-items: center; }
.public-location-panel__heading > span { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; place-items: center; border-radius: .75rem; color: var(--pd-brand); background: #eaf3f4; }
.public-location-panel__heading h2 { margin: 0; color: var(--pd-ink); font-size: 1.1rem; font-weight: 780; letter-spacing: -.02em; }
.public-location-panel__heading p { margin: .12rem 0 0; color: var(--pd-muted); font-size: .76rem; }

.public-location-detail__rich-text,
.public-location-detail__empty-copy { color: #475b62; font-size: .9rem; line-height: 1.75; }
.public-location-detail__rich-text > :last-child { margin-bottom: 0; }

.public-location-detail__address-row { display: flex; gap: 1rem; margin-bottom: .85rem; padding: .85rem 1rem; align-items: center; justify-content: space-between; border: 1px solid #dee7e9; border-radius: .8rem; background: #f7f9f9; }
.public-location-detail__address-row div { display: flex; min-width: 0; flex-direction: column; }
.public-location-detail__address-row small { color: #829095; font-size: .6rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.public-location-detail__address-row strong { overflow: hidden; color: #3d5259; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.public-location-detail__address-row a { display: inline-flex; flex: 0 0 auto; gap: .4rem; color: var(--pd-brand); font-size: .72rem; font-weight: 800; text-decoration: none; }
.public-location-detail__map { width: 100%; height: clamp(280px, 38vw, 410px); overflow: hidden; border-radius: .9rem; background: #e6edef; }

.public-location-facts { position: sticky; top: 1.25rem; padding: 1.35rem; }
.public-location-facts h2 { margin: .45rem 0 1.1rem; font-size: 1.22rem; font-weight: 780; letter-spacing: -.025em; }
.public-location-facts dl { display: grid; gap: 0; margin: 0; }
.public-location-facts dl > div { padding: .9rem 0; border-top: 1px solid var(--pd-line); }
.public-location-facts dt { display: flex; gap: .4rem; margin-bottom: .45rem; align-items: center; color: #718288; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.public-location-facts dd { display: flex; margin: 0; flex-direction: column; }
.public-location-facts dd strong { color: #354c53; font-size: .86rem; }
.public-location-facts dd > span { margin-top: .2rem; color: #77868b; font-size: .72rem; line-height: 1.45; }
.public-location-facts__sessions { display: flex; gap: .35rem; flex-wrap: wrap; }
.public-location-facts__sessions span { padding: .28rem .48rem; border-radius: .42rem; color: #3f6972; background: #eaf3f4; font-size: .68rem; font-weight: 750; }
.public-location-facts__booking-link { display: flex; min-height: 44px; margin-top: 1rem; padding: .65rem .8rem; align-items: center; justify-content: center; gap: .45rem; border-radius: .72rem; color: #fff; background: var(--pd-brand); font-size: .78rem; font-weight: 800; text-decoration: none; }
.public-location-facts__booking-link:hover { color: #fff; background: var(--pd-brand-dark); }

.public-location-detail__bottom-nav { display: flex; margin-top: 1.5rem; justify-content: center; }
.public-location-detail__bottom-nav a { display: inline-flex; min-height: 44px; padding: .65rem 1rem; align-items: center; gap: .45rem; border: 1px solid #cadadd; border-radius: .72rem; color: var(--pd-brand); background: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.public-location-detail__bottom-nav a:hover { border-color: var(--pd-brand); color: var(--pd-brand-dark); }

@media (max-width: 800px) {
  .public-location-detail__content-grid { grid-template-columns: 1fr; }
  .public-location-facts { position: static; order: -1; }
}

@media (max-width: 576px) {
  .public-location-detail { padding: 1rem; }
  .public-location-detail__gallery .carousel-cell { width: 86vw; border-radius: .9rem; }
  .public-location-detail__gallery-track:not(.flickity-enabled) { grid-auto-columns: 86vw; }
  .public-location-detail__gallery-track:not(.flickity-enabled) .carousel-cell,
  .public-location-detail__gallery-track .flickity-viewport { height: 270px !important; }
  .public-location-detail__address-row { align-items: flex-start; flex-direction: column; }
  .public-location-detail__address-row strong { white-space: normal; }
  .public-location-detail__address-row a { min-height: 38px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .public-location-detail * { transition: none !important; }
}
