/* Explore Seattle — scoped to this page; inherits wedding light/dark design tokens. */
.explore-page { overflow: clip; }
.explore-page [hidden] { display: none !important; }
.explore-section { padding-block: clamp(2.4rem, 5vw, 4rem); border-bottom: 1px solid var(--wedding-color-border); }
.explore-section:last-child { border-bottom: 0; }
.explore-section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.explore-section-heading h2 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); margin-bottom: .5rem; }
.explore-section-heading p:last-child { max-width: 700px; }
.explore-text-link { font-weight: 700; white-space: nowrap; }
.explore-stay {
  background: color-mix(in srgb, var(--wedding-color-surface-alt) 66%, transparent);
  padding: clamp(1.2rem, 3vw, 2rem); margin-top: 2.25rem;
  border: 1px solid var(--wedding-color-border); border-radius: var(--wedding-radius);
}
.explore-stay .explore-section-heading { margin-bottom: 1rem; }
.explore-stay-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; }
.explore-stay-item { text-align: left; padding: 1rem; border: 1px solid var(--wedding-color-border);
  border-radius: .9rem; background: var(--wedding-color-surface); color: var(--wedding-color-text); cursor: pointer; }
.explore-stay-item strong { display: block; margin-bottom: .25rem; }
.explore-stay-item span { display: block; font-size: .88rem; color: var(--wedding-color-muted); }
.explore-view-btn {
  padding: .55rem .9rem; border: 1px solid var(--wedding-color-border); border-radius: 999px;
  background: var(--wedding-color-surface); color: var(--wedding-color-text);
  white-space: nowrap; font-size: .92rem; font-weight: 650;
}
.explore-view-btn:hover, .explore-stay-item:hover, .explore-map-choice:hover {
  border-color: var(--wedding-color-primary);
}
.explore-view-btn.is-active {
  color: var(--wedding-color-background); background: var(--wedding-color-primary);
  border-color: var(--wedding-color-primary);
}
html[data-bs-theme="dark"] .explore-view-btn.is-active { color: #122c21; }
.explore-footnote { color: var(--wedding-color-muted); font-size: .86rem; line-height: 1.55; }
.explore-filters {
  background: var(--wedding-color-surface); border: 1px solid var(--wedding-color-border);
  border-radius: var(--wedding-radius); padding: clamp(1rem, 2.5vw, 1.4rem);
  display: grid; gap: .9rem; grid-template-columns: repeat(4, minmax(0,1fr));
}
.explore-field-search { grid-column: span 2; }
.explore-field label { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .85rem; }
.explore-field .form-control, .explore-field .form-select { width: 100%; min-height: 44px; }
.explore-toggle-filters { grid-column: 1 / -1; display: flex; gap: .7rem; flex-wrap: wrap; }
.explore-check {
  display: flex; align-items: center; gap: .5rem; border: 1px solid var(--wedding-color-border);
  border-radius: 999px; padding: .45rem .85rem; cursor: pointer; font-size: .88rem; font-weight: 650;
}
.explore-check .form-check-input { margin: 0; flex: 0 0 auto; }
.explore-results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .7rem; margin: 1.5rem 0 1.2rem; font-weight: 700; }
.explore-view-controls { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.explore-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.explore-card {
  display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--wedding-color-border);
  border-radius: var(--wedding-radius); background: var(--wedding-color-surface);
  overflow: hidden; box-shadow: 0 6px 20px rgba(9,21,14,.055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.explore-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(9,21,14,.11); }
.explore-card-art {
  position: relative; min-height: 132px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(130deg,
    color-mix(in srgb, var(--wedding-color-gold) 30%, var(--wedding-color-surface-alt)),
    color-mix(in srgb, var(--wedding-color-primary) 22%, var(--wedding-color-surface-alt)));
}
.explore-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explore-card-art::after {
  content: ""; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--wedding-color-text) 20%, transparent);
  border-radius: .7rem; pointer-events: none;
}
.explore-card-art[data-type="outdoors"] { background: linear-gradient(135deg,#466e57,#b5c5a7); }
.explore-card-art[data-type="food"] { background: linear-gradient(135deg,#975f3d,#dfb57e); }
.explore-card-art[data-type="museums"] { background: linear-gradient(135deg,#506d78,#a7bfbb); }
.explore-card-art[data-type="neighborhoods"] { background: linear-gradient(135deg,#79705b,#d5c29e); }
.explore-card-art[data-type="family"] { background: linear-gradient(135deg,#657e5e,#d9c29b); }
.explore-card-art[data-type="trips"] { background: linear-gradient(135deg,#3f7c80,#a3bfb2); }
.explore-card-icon { font-size: 3rem; line-height: 1; filter: drop-shadow(0 3px 2px rgba(0,0,0,.13)); }
.explore-card-body { display: flex; flex-direction: column; flex: 1; gap: .65rem; padding: 1.15rem; }
.explore-card-topline { display: flex; justify-content: space-between; align-items: start; gap: .55rem; }
.explore-card-category { font-size: .72rem; font-weight: 800; letter-spacing: .085em;
  text-transform: uppercase; color: var(--wedding-color-muted); }
.explore-card h3 { font-size: 1.4rem; margin: 0; line-height: 1.22; }
.explore-card-area { color: var(--wedding-color-muted); font-size: .85rem; }
.explore-card-desc { margin: 0; font-size: .94rem; line-height: 1.55; }
.explore-card-personal, .explore-detail-personal { margin: 0; font-weight: 750; color: var(--wedding-color-accent); }
.explore-detail-personal { margin-bottom: 1rem; }
.explore-card-tags, .explore-detail-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.explore-tag {
  display: inline-block; font-size: .73rem; font-weight: 700; padding: .24rem .54rem;
  border: 1px solid var(--wedding-color-border); border-radius: 999px;
  background: var(--wedding-color-background); color: var(--wedding-color-muted);
}
.explore-card-actions { display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-top: auto; padding-top: .35rem; }
.explore-favorite {
  border: 1px solid var(--wedding-color-border); background: var(--wedding-color-surface);
  color: var(--wedding-color-text); border-radius: 999px; min-width: 39px; min-height: 39px;
  display: inline-grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.explore-favorite[aria-pressed="true"] { color: var(--wedding-color-accent); border-color: var(--wedding-color-accent); }
.explore-card-open { border: none; background: transparent; color: var(--bs-link-color-rgb);
  color: var(--wedding-color-primary); font-weight: 750; text-decoration: underline; text-underline-offset: .16em; }
.explore-empty { grid-column: 1/-1; border: 1px dashed var(--wedding-color-border);
  background: var(--wedding-color-surface); border-radius: var(--wedding-radius);
  padding: 2.5rem 1rem; text-align: center; }
.explore-map-layout { display: grid; grid-template-columns: minmax(210px, 300px) minmax(0,1fr);
  gap: 1rem; border: 1px solid var(--wedding-color-border); border-radius: var(--wedding-radius);
  background: var(--wedding-color-surface); padding: 1rem; }
.explore-map-list { min-width: 0; }
.explore-map-choices { display: grid; gap: .45rem; max-height: 460px; overflow-y: auto; padding-right: .3rem; }
.explore-map-choice {
  width: 100%; border: 1px solid var(--wedding-color-border); border-radius: .7rem;
  background: var(--wedding-color-background); color: var(--wedding-color-text);
  padding: .65rem; text-align: left; font-weight: 700;
}
.explore-map-choice span { display: block; font-weight: 400; font-size: .8rem; color: var(--wedding-color-muted); }
.explore-map-choice.is-selected { border-color: var(--wedding-color-primary); box-shadow: inset 3px 0 var(--wedding-color-primary); }
.explore-map-panel { min-width: 0; }
.explore-map-panel iframe { display: block; width: 100%; height: min(54vh, 430px); min-height: 280px;
  border: 1px solid var(--wedding-color-border); border-radius: .8rem; background: var(--wedding-color-surface-alt); }
.explore-itineraries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.explore-itinerary {
  background: var(--wedding-color-surface); border: 1px solid var(--wedding-color-border);
  border-radius: var(--wedding-radius); padding: clamp(1rem, 2vw, 1.5rem);
  display: flex; flex-direction: column; gap: .65rem;
}
.explore-itinerary h3 { font-size: 1.4rem; margin: 0; }
.explore-itinerary-story {
  grid-column: 1 / -1;
  border-color: var(--wedding-color-gold);
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--wedding-color-surface-alt) 56%, var(--wedding-color-surface)),
    var(--wedding-color-surface) 68%);
}
.explore-itinerary-kicker {
  margin: 0;
  color: var(--wedding-color-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.explore-itinerary-story h3 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.explore-itinerary-story .explore-stops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: .85rem;
  padding-left: 1.5rem;
}
.explore-itinerary-story .explore-stops li { padding-inline-start: .15rem; font-weight: 700; }
.explore-story-stop-note {
  display: block;
  margin-top: .3rem;
  color: var(--wedding-color-muted);
  font-weight: 400;
  font-size: .91rem;
  line-height: 1.45;
}
.explore-story-directions {
  display: inline-block;
  margin-top: .3rem;
  color: var(--wedding-color-primary);
  font-size: .85rem;
  font-weight: 650;
}
.explore-story-route-note {
  padding-top: .7rem;
  margin-bottom: 0;
  border-top: 1px solid var(--wedding-color-border);
  color: var(--wedding-color-muted);
  font-size: .85rem;
}
.explore-itinerary-meta { color: var(--wedding-color-muted); font-size: .87rem; font-weight: 650; }
.explore-stops { margin: .5rem 0; padding-left: 1.2rem; }
.explore-stops li { padding: .2rem 0; font-size: .91rem; }
.explore-itinerary-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.explore-ending { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.explore-ending h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.explore-detail-dialog { background: var(--wedding-color-surface); }
.explore-detail-area { color: var(--wedding-color-muted); font-weight: 700; }
.explore-detail-tags { margin-block: 1rem; }
@media (max-width: 991.98px) {
  .explore-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .explore-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .explore-field-search { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .explore-itinerary-story .explore-stops { grid-template-columns: minmax(0, 1fr); }
  .explore-stay-cards, .explore-gallery, .explore-itineraries { grid-template-columns: minmax(0,1fr); }
  .explore-map-layout { grid-template-columns: minmax(0,1fr); }
  .explore-map-choices { display: flex; overflow-x: auto; max-height: none; padding-bottom: .4rem; }
  .explore-map-choice { min-width: 180px; max-width: 220px; flex: 0 0 auto; }
  .explore-filters { grid-template-columns: minmax(0,1fr); }
  .explore-field-search { grid-column: auto; }
  .explore-card-art { min-height: 105px; }
  .explore-results-bar { align-items: flex-start; }
  .explore-view-controls { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .explore-card { transition: none; } .explore-card:hover { transform: none; } }
