/* Loaded only for WordPress sessions or server-verified test invitations. */
#date-overview.hm-discovery-grid { align-items: stretch; }
#date-overview .hm-discovery-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
#date-overview .hm-discovery-card .date-card-top { justify-content: flex-start; gap: 20px; }
#date-overview .hm-discovery-card .distance { flex: none; text-transform: uppercase; }
#date-overview .hm-discovery-card .event-date { text-align: left; }
#date-overview .hm-discovery-card--advent { position: relative; overflow: visible; }
#date-overview .hm-discovery-santa-hat { position: absolute; top: -28px; right: -12px; z-index: 1; width: 78px; height: 71px; transform: rotate(12deg); transform-origin: center; filter: drop-shadow(0 3px 3px rgb(0 0 0 / 12%)); pointer-events: none; }
#date-overview .hm-discovery-season-label { display: inline-flex; max-width: 100%; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: #f9e9e6; color: #8b2634; font-size: 11.5px; font-weight: 500; line-height: 1.4; }
#date-overview .hm-discovery-card .date-card-content { display: flex; flex: 1; flex-direction: column; gap: 20px; }
#date-overview .hm-discovery-card .date-card-loc .info { margin-top: 6px; line-height: 1.5; }
#date-overview .hm-discovery-card .features { margin: 0; padding-block: 18px; border-color: #d7e5e7; }
#date-overview .hm-discovery-card .features ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
#date-overview .hm-discovery-card .features li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; line-height: 1.45; }
#date-overview .hm-discovery-card .features li::before { content: none; }
#date-overview .hm-discovery-check { flex: none; width: 21px; height: 21px; margin-top: 1px; color: #00b2db; }
#date-overview .hm-discovery-card .cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: auto 0 0; }
#date-overview .hm-discovery-card .cost strong { color: #094148; font-size: 22px; font-weight: 500; }
#date-overview .hm-discovery-card .btn { align-self: flex-start; background: #094148; color: #fff; }
#date-overview .hm-discovery-card .btn:hover,
#date-overview .hm-discovery-card .btn:focus-visible { background: #00b2db; border-color: #00b2db; color: #fff; text-decoration: none !important; }
#date-overview .hm-discovery-empty { grid-column: 1 / -1; padding: 24px; border-radius: 16px; background: #fff; }
/* Consistent insets and full content height; no nested scrolling. */
#heldenmarsch-header .main-navigation .hm-protected-event-menu > .sub-menu { min-width: 340px; max-height: none; overflow: visible; padding: 0; border: 16px solid transparent; gap: 0; align-items: stretch; }
#heldenmarsch-header .main-navigation .hm-protected-event-menu > .sub-menu > li { flex: 0 0 auto; margin: 0; padding: 0; }
#heldenmarsch-header .main-navigation .hm-protected-event-menu > .sub-menu > li:last-child { border-bottom: 0; }
#heldenmarsch-header .main-navigation .hm-protected-event-menu > .sub-menu > li > a { display: block; box-sizing: border-box; width: 100%; min-height: 44px; padding: 12px; }
#heldenmarsch-header .hm-protected-route-link > a { white-space: normal; line-height: 1.5; }
/* Share the actual content-driven row heights across each desktop/tablet row.
   Long descriptions grow the shared description track instead of shifting lists. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 769px) {
    #date-overview .hm-discovery-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
    #date-overview .hm-discovery-card .date-card-content { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 20px; }
    #date-overview .hm-discovery-card .cost { margin: 0; }
    #date-overview .hm-discovery-card .btn { justify-self: start; align-self: start; }
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  #date-overview .hm-discovery-santa-hat { top: -48px; right: -8px; width: 60px; height: 55px; }
}
@media (max-width: 767px) {
  #date-overview .hm-discovery-santa-hat { top: -48px; right: -8px; width: 60px; height: 55px; }
  #date-overview .hm-discovery-card .event-date { font-size: clamp(24px, 7.2vw, 40px); line-height: 1.3; white-space: nowrap; }
  #heldenmarsch-header .main-navigation--mobile .hm-protected-event-menu > .sub-menu { width: 100%; max-width: 100%; }
  #heldenmarsch-header .main-navigation--mobile .hm-protected-route-link > a { color: #094148; font-size: 14px; padding-block: 10px; }
}
