/* Event-page styles for the V3 preview only. */
.event-main { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.event-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; padding-block: 64px 72px; align-items: center; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: 0.78rem; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.event-hero h1 { max-width: 12ch; font-size: clamp(3rem, 4.9vw, 4.7rem); }
.event-lede { max-width: 550px; margin-top: 24px; color: var(--muted); font-size: 0.94rem; line-height: 1.8; }
.event-alert { max-width: 550px; margin-top: 24px; padding: 15px 18px; border-left: 3px solid #c2761f; border-radius: 0 3px 3px 0; color: #7a4a12; background: #f7ead7; font-size: 0.86rem; font-weight: 600; line-height: 1.75; }
.event-alert strong { color: #5f380c; letter-spacing: 0.05em; text-transform: uppercase; }
.event-facts { display: grid; grid-template-columns: 1fr 1fr; margin-block: 26px 0; gap: 18px 24px; }
.event-facts > div { padding-top: 12px; border-top: 1px solid var(--line); }
.event-facts .event-location { grid-column: 1 / -1; }
.event-facts dt { margin-bottom: 6px; color: var(--olive-text); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.event-facts dd { margin: 0; font-size: 0.84rem; font-weight: 600; line-height: 1.6; }
.event-facts dd a { text-decoration: none; }
.event-facts dd a:hover { text-decoration: underline; }
.event-facts dd span { color: var(--muted); font-size: 0.76rem; font-weight: 400; }
.hero-note { margin-top: 18px; padding-top: 0; border: 0; font-size: 0.72rem; }
.event-flyer { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: 16px 16px 0 var(--paper-deep); }
.event-flyer img { width: 100%; border-radius: 2px; }
.event-flyer figcaption { padding: 14px 5px 3px; color: var(--muted); font-size: 0.66rem; text-align: center; }
.event-date-card { display: grid; min-height: 450px; padding: 32px; align-content: center; justify-items: center; border-radius: 4px; color: var(--paper); background: var(--olive); text-align: center; }
.event-date-card > span { color: var(--yellow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.event-date-card strong { font-family: var(--font-heading); font-size: 9rem; line-height: 1.2; }
.event-date-card p { font-weight: 600; }
.event-date-card small { margin-top: 18px; }
.event-section { padding-block: 72px; }
.workout-section { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 70px; padding: 52px; border-radius: 4px; color: var(--paper); background: var(--forest); }
.workout-number .eyebrow { color: var(--yellow); }
.workout-number strong { display: block; margin-block: 28px 12px; color: var(--yellow); font-family: var(--font-heading); font-size: 8rem; line-height: 1; }
.workout-number .workout-format { font-size: 5rem; }
.workout-number > span { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; }
.workout-copy h2 { font-size: 2.6rem; }
.workout-list { margin: 26px 0 0; padding: 0; list-style: none; }
.workout-list li { display: flex; padding: 15px 0; border-bottom: 1px solid #39473f; align-items: baseline; gap: 18px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; }
.workout-list li:first-child { border-top: 1px solid #39473f; }
.workout-list strong { min-width: 44px; color: var(--yellow); font-size: 1.6rem; }
.scale-note { margin-top: 24px; padding: 18px; border-left: 2px solid var(--yellow); color: #ccd1c4; background: var(--forest-soft); font-size: 0.79rem; line-height: 1.8; }
.scale-note strong { color: var(--paper); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.detail-grid article { padding-top: 22px; border-top: 1px solid var(--line); }
.detail-grid article > span { color: var(--olive-text); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
.detail-grid h3 { margin-top: 18px; font-size: 1.25rem; }
.detail-grid p { margin-top: 14px; color: var(--muted); font-size: 0.87rem; }
.rsvp-section { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; padding: 40px; border-radius: 4px; background: var(--paper-deep); }
.rsvp-heading { position: sticky; top: 120px; align-self: start; }
.rsvp-heading h2 { font-size: 2.6rem; }
.rsvp-heading > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 0.9rem; }
.booking-card { display: flex; min-height: 420px; padding: 42px; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.booking-card .eyebrow { color: var(--olive-text); }
.booking-card h3 { margin-top: 14px; font-size: clamp(2rem, 3vw, 2.8rem); }
.booking-time { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.booking-price { margin-top: 24px; color: var(--olive-text); font-family: var(--font-heading); font-size: 2.5rem; font-weight: 600; text-transform: uppercase; }
.booking-description { max-width: 38ch; margin-top: 12px; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.booking-card .button { margin-top: 28px; }
.booking-note { margin-top: 12px; color: var(--muted); font-size: 0.72rem; }
.event-faq { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 70px; }
.event-footer { display: grid; grid-template-columns: 1fr auto 1fr; margin-bottom: 30px; padding: 34px; align-items: center; gap: 24px; border-radius: 4px; }
.footer-brand img { width: 160px; }
.social-links { display: flex; align-items: center; gap: 16px; }
.social-links a { display: grid; width: 40px; height: 40px; place-items: center; }
.social-links svg { width: 23px; height: 23px; }
.footer-contact { display: grid; justify-items: end; justify-self: end; gap: 7px; }
.footer-email { font-size: 0.76rem; text-decoration: none; }
.footer-waiver { font-size: 0.76rem; text-decoration: none; }
.event-footer a:hover { color: var(--yellow); }

@media (max-width: 1100px) {
  .event-main { width: calc(100% - 64px); }
  .event-hero { gap: 40px; }
  .workout-section { gap: 40px; padding: 38px; }
  .rsvp-section { grid-template-columns: 0.65fr 1.35fr; gap: 28px; padding: 28px; }
}
@media (max-width: 850px) {
  .event-hero { grid-template-columns: 1fr; }
  .event-hero h1 { max-width: 700px; }
  .event-flyer { width: min(100%, 500px); margin-inline: auto; }
  .rsvp-section, .event-faq { grid-template-columns: 1fr; }
  .rsvp-heading { position: static; }
  .event-faq { gap: 32px; }
  .event-footer { grid-template-columns: 1fr auto; }
  .footer-contact { grid-column: 1 / -1; justify-items: start; justify-self: start; }
}
@media (max-height: 860px) {
  .rsvp-heading { position: static; }
}
@media (max-width: 760px) {
  .event-main { width: calc(100% - 40px); }
  .event-hero { padding-block: 32px 52px; }
  .event-hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .event-flyer { box-shadow: 8px 8px 0 var(--paper-deep); }
  .event-section { padding-block: 52px; }
  .workout-section { grid-template-columns: 1fr; padding: 28px 24px; gap: 30px; }
  .workout-number strong { display: inline-block; margin: 0 12px 0 0; font-size: 4.5rem; }
  .workout-number > span { font-size: 1.4rem; }
  .workout-number .eyebrow { margin-bottom: 14px; }
  .workout-copy h2 { font-size: 2rem; }
  .workout-list li { font-size: 1.06rem; gap: 12px; }
  .workout-list strong { min-width: 32px; }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .rsvp-section { padding: 24px 12px 12px; }
  .rsvp-heading { padding-inline: 12px; }
  .booking-card { min-height: 0; padding: 28px 24px; }
  .booking-card .button { width: 100%; }
  .event-footer { padding: 24px; }
  .footer-brand img { width: 135px; }
  .social-links { gap: 8px; }
}
