/* Tonight's Grand Lodge event; original flyer supplies the seasonal color. */
.halloween-feature {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 104px;
}
#home-halloween-2026[hidden] { display: none !important; }
.halloween-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.halloween-copy { min-width: 0; }
.halloween-status {
  display: inline-block;
  padding-bottom: .55rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--gold);
  color: var(--navy-800);
  font-size: .95rem;
  font-weight: 600;
}
.halloween-feature h2 { font-size: clamp(2.3rem, 4.1vw, 3.6rem); line-height: 1.12; }
.halloween-feature h2 span { color: #9b3e0e; }
.halloween-date { margin-top: 1.7rem; color: var(--ink); font-weight: 600; }
.halloween-date span { display: block; font-size: 1.3rem; }
.halloween-address { margin-top: 1rem; }
.halloween-details { margin-top: 1.5rem; padding-left: 1.2rem; list-style: disc; }
.halloween-details li { padding-left: .2rem; }
.halloween-details li::marker { color: var(--gold-deep); }
.halloween-costumes { margin-top: .8rem; }
.halloween-contact { margin-top: 1.5rem; font-size: .95rem; }
.halloween-contact a { display: inline-block; min-height: 44px; padding-block: .4rem; color: var(--navy-800); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.halloween-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 1.3rem; }
.halloween-flyer-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--navy-800); font-weight: 600; font-size: .93rem; text-decoration: underline; text-underline-offset: 4px; }
.halloween-contact a:hover, .halloween-flyer-link:hover { color: var(--gold-deep); }
.halloween-poster { margin: 0; min-width: 0; }
.halloween-poster > a { display: block; box-shadow: 0 18px 42px rgba(26, 15, 36, .18); }
.halloween-poster img { width: 100%; height: auto; }
.halloween-poster figcaption { margin-top: .8rem; color: var(--muted); font-size: .8rem; text-align: center; }
.halloween-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* High-contrast, time-limited announcement for tonight's party. */
.event-promo[data-event-promo-mode="halloween"] {
  position: relative;
  isolation: isolate;
  background: #24120c;
  color: #fff8ed;
  border-bottom: 3px solid #ed9b3b;
}
.event-promo[data-event-promo-mode="halloween"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #ed9b3b;
  opacity: 0;
  animation: event-banner-flash 2.2s ease-in-out 2;
}
.event-promo[data-event-promo-mode="halloween"]:is(:hover, :focus-within)::before { animation-play-state: paused; }
.event-promo[data-event-promo-mode="halloween"] .event-promo__inner { max-width: 1180px; }
.event-promo[data-event-promo-mode="halloween"] .event-promo__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  flex: 0 1 auto;
  width: 100%;
  min-height: 78px;
  padding: .85rem var(--gutter);
  gap: 1.3rem;
  color: #fff8ed;
  text-align: left;
}
.event-promo[data-event-promo-mode="halloween"] .event-promo__link:hover { background: #321b11; text-decoration: none; }
.event-promo[data-event-promo-mode="halloween"] .event-promo__link:focus-visible { outline: 3px solid #fff8ed; outline-offset: -5px; }
.event-promo__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .4rem .7rem;
  background: #ed9b3b;
  color: #24120c;
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}
.event-promo__status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}
.event-promo__copy { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.event-promo[data-event-promo-mode="halloween"] .event-promo__title { font-size: 1.1rem; line-height: 1.35; }
.event-promo[data-event-promo-mode="halloween"] .event-promo__date { color: #f3d3a6; font-size: .85rem; line-height: 1.4; }
.event-promo__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .6rem .9rem;
  border: 1px solid #ed9b3b;
  color: #ffd497;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.event-promo__action svg { display: block; width: 18px; height: 18px; flex: none; }
.event-promo__link:hover .event-promo__action { background: #ed9b3b; color: #24120c; }
@keyframes event-banner-flash { 0%, 100% { opacity: 0; } 50% { opacity: .32; } }
@media (max-width: 760px) {
  .event-promo[data-event-promo-mode="halloween"] .event-promo__link {
    grid-template-columns: 1fr auto;
    flex: 0 0 auto;
    gap: .6rem 1rem;
    padding-block: .8rem;
  }
  .event-promo__status { justify-self: start; font-size: .7rem; }
  .event-promo__action { grid-column: 2; grid-row: 1; padding: .4rem .55rem; font-size: .76rem; gap: .35rem; }
  .event-promo__copy { grid-column: 1 / -1; grid-row: 2; gap: .2rem; }
  .event-promo[data-event-promo-mode="halloween"] .event-promo__title { font-size: 1rem; }
  .event-promo[data-event-promo-mode="halloween"] .event-promo__date { font-size: .8rem; }
  .halloween-feature { scroll-margin-top: 92px; }
  .halloween-layout { grid-template-columns: 1fr; gap: 2rem; }
  .halloween-poster { max-width: 31rem; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.halloween-feature) { scroll-behavior: auto; }
  .halloween-actions .btn { transition: none; }
  .event-promo[data-event-promo-mode="halloween"]::before { animation: none; }
}
