/* Give the full directory a visible entry above the nearby map results. */
.festival-map-intro-actions .festival-directory-link {
  min-height: 44px;
  justify-content: center;
  padding: 0 16px;
  border-color: var(--festival-yellow, #ffd400);
  background: var(--festival-yellow, #ffd400);
  color: var(--festival-ink, #15171c);
  font-size: 14px;
  font-weight: 750;
}
.festival-map-intro-actions .festival-directory-link .anticon { font-size: 13px; }
.festival-map-intro-actions .festival-directory-link:hover,
.festival-map-intro-actions .festival-directory-link:focus-visible {
  border-color: #e6bf00;
  background: #ffe45c;
  color: var(--festival-ink, #15171c);
}
@media (min-width: 1101px) {
  .festival-map-page .festival-detail-layout > .detail-filter-rail .festival-detail-filter > header .detail-filter-sidebar-toggle.ant-btn {
    position: static;
    inset: auto;
    transform: none;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dce0e5;
    border-radius: 8px;
  }
  .festival-map-page .festival-detail-filter > header .detail-filter-sidebar-toggle .anticon { color: #4b5563; font-size: 15px; }
  .festival-map-page .festival-detail-layout > .detail-filter-rail.collapsed-filter-toggle-rail {
    align-items: flex-start;
    padding-top: 12px;
  }
}
@media (max-width: 820px) {
  .festival-map-intro-actions .festival-directory-link { flex: 1 1 155px; }
}

/* Full festival list and expandable world map. */
.festival-map-scope { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.festival-map-scope button,
.festival-map-expand {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d8dde5;
  border-radius: 9px;
  background: #fff;
  color: #252a32;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.festival-map-scope button[aria-pressed=true] { background: #fff4c5; border-color: #e6bf00; color: #17191d; }
.festival-map-scope button:focus-visible,
.festival-map-expand:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.festival-detail-results .festival-map-workspace.festival-global-workspace {
  grid-template-columns: minmax(276px, 29fr) minmax(0, 71fr);
  height: clamp(580px, 76vh, 910px);
}
.festival-global-workspace .festival-map-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 550;
  box-shadow: 0 3px 15px rgba(20, 28, 40, .18);
}
.festival-global-workspace .festival-map-expand span { font-size: 17px; line-height: 1; }
html:has(.festival-map-panel.is-expanded) { scrollbar-gutter: auto; overflow: hidden; }
.festival-global-workspace .festival-map-panel.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 1200;
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  border: 0;
  border-radius: 0;
}
.festival-global-workspace .festival-map-panel.is-expanded .festival-map-canvas { border-radius: 0; }
.festival-global-workspace .festival-map-panel.is-expanded .festival-map-overlay-actions { top: max(16px, env(safe-area-inset-top)); }
.festival-global-workspace .festival-map-panel.is-expanded .festival-map-expand { top: max(16px, env(safe-area-inset-top)); }
.festival-card-placeholder { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 10px; background: #f1f3f5; color: #576477; }
.festival-global-workspace .festival-nearby-card > .festival-nearby-card-select { justify-self: stretch; text-decoration: none; }
@media (max-width: 820px) {
  .festival-detail-results .festival-map-workspace.festival-global-workspace { display: flex; flex-direction: column; gap: 12px; height: auto; }
  .festival-global-workspace .festival-map-panel { order: -1; height: clamp(330px, 58dvh, 620px); min-height: 0; }
  .festival-global-workspace .festival-nearby-list { display: flex; max-height: min(64dvh, 590px); border: 1px solid var(--festival-stroke); border-radius: 16px; }
  .festival-global-workspace .festival-map-expand { top: 58px; right: 12px; }
  .festival-global-workspace .festival-map-panel.is-expanded .festival-map-expand { top: max(58px, calc(env(safe-area-inset-top) + 44px)); }
}
