/* Events — Tier 2 full-experience styles */

/* ===== Shared ===== */

.events-page-body {
  background-color: #fdf8ed;
}

.events-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.events-container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Homepage teaser ===== */

.events-teaser {
  padding: 5rem 0 5rem;
  background-color: #fdf8ed;
  text-align: center;
}

.events-teaser h2 {
  margin-bottom: 0.75rem;
}

.events-teaser-intro {
  max-width: 560px;
  margin: 0 auto 3rem;
}

.teaser-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto 2.5rem;
}

.teaser-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  box-shadow: 0 4px 18px rgba(40, 60, 40, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(40, 60, 40, 0.1);
}

.teaser-card .teaser-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a7a3f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.teaser-card .teaser-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.teaser-card .teaser-meta {
  font-size: 0.82rem;
  color: #888;
}

.events-teaser .see-all {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: #3e5a29;
  font-size: 1rem;
  border-bottom: 2px solid #e8f0d8;
  padding-bottom: 2px;
}

.events-teaser .see-all:hover {
  border-bottom-color: #3e5a29;
}

/* ===== Events hub page ===== */

.events-hero {
  padding: 7rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #fdf8ed 0%, #f6ecd8 100%);
}

.events-hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5a7a3f;
  margin-bottom: 1rem;
}

.events-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 auto 1.5rem;
  max-width: 780px;
  color: #3e5a29;
}

.events-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #4a4a4a;
}

.events-section {
  padding: 4rem 0;
}

.events-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee3cc;
}

.events-section-header h2 {
  margin: 0;
  font-size: 1.75rem;
  color: #3e5a29;
}

.events-section-header .count {
  font-size: 0.95rem;
  color: #8a8a8a;
}

/* Rich event cards on hub page */
.event-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.hub-event-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(40, 60, 40, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(40, 60, 40, 0.12);
}

.hub-event-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hub-event-image.img-records {
  background: linear-gradient(135deg, #c9b48a 0%, #8a6a3f 100%);
}

.hub-event-image.img-emotions {
  background: linear-gradient(135deg, #e8b8a0 0%, #c06a5a 100%);
}

.hub-event-image.img-kindness {
  background: linear-gradient(135deg, #a8c8e0 0%, #6a8aa8 100%);
}

.hub-event-image.img-past {
  background: linear-gradient(135deg, #9ab880 0%, #5a7a3f 100%);
  filter: saturate(0.8);
}

.hub-event-image .price-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #ffffff;
  color: #3e5a29;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hub-event-body {
  padding: 1.5rem 1.6rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.hub-event-date {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a7a3f;
  margin-bottom: 0.6rem;
}

.hub-event-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.hub-event-summary {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.hub-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8a8a8a;
}

.hub-event-footer .spots-left {
  color: #c06a5a;
  font-weight: 600;
}

/* ===== Past events strip ===== */

.past-events-strip {
  padding: 4rem 0 5rem;
  background-color: #f6ecd8;
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.past-event-thumb {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #9ab880, #5a7a3f);
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(40, 60, 40, 0.15);
}

.past-event-thumb:nth-child(2) {
  background: linear-gradient(135deg, #e8b8a0, #c06a5a);
}

.past-event-thumb:nth-child(3) {
  background: linear-gradient(135deg, #a8c8e0, #6a8aa8);
}

.past-event-thumb:nth-child(4) {
  background: linear-gradient(135deg, #d4b888, #8a6a3f);
}

/* ===== Email signup ===== */

.email-signup {
  padding: 5rem 0;
  background: linear-gradient(180deg, #e8f0d8 0%, #d4e4b8 100%);
  text-align: center;
}

.email-signup h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #3e5a29;
}

.email-signup p {
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: #4a4a4a;
}

.email-signup-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.email-signup-form input[type="email"] {
  flex-grow: 1;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background-color: #ffffff;
  font-size: 1rem;
  min-width: 240px;
}

.email-signup-form button {
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: none;
  background-color: #3e5a29;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

/* ===== Event detail page ===== */

.event-detail-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(180deg, #fdf8ed 0%, #f6ecd8 100%);
}

.event-detail-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.event-detail-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem;
  color: #3e5a29;
}

.event-detail-hero .event-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5a7a3f;
}

.event-detail-hero .lead-p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
}

.event-hero-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #c9b48a 0%, #8a6a3f 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(40, 60, 40, 0.15);
}

.quick-facts {
  background-color: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(40, 60, 40, 0.1);
}

.quick-fact {
  border-right: 1px solid #eee3cc;
  padding-right: 1.25rem;
}

.quick-fact:last-child {
  border-right: none;
}

.quick-fact .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 0.3rem;
}

.quick-fact .value {
  font-size: 1rem;
  font-weight: 600;
  color: #3e5a29;
  line-height: 1.35;
}

.event-body {
  padding: 5rem 0 4rem;
}

.event-body h2 {
  font-size: 1.75rem;
  color: #3e5a29;
  margin-bottom: 1rem;
}

.event-body p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4a4a4a;
  margin-bottom: 1.2rem;
}

.event-body .list-grid-t2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.event-body .list-grid-t2 li {
  background-color: #ffffff;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  list-style: none;
  font-size: 0.98rem;
  line-height: 1.5;
  border: 1px solid #eee3cc;
}

.event-body .list-grid-t2 li strong {
  display: block;
  font-size: 1.05rem;
  color: #3e5a29;
  margin-bottom: 0.35rem;
}

.social-proof {
  background-color: #f6ecd8;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  text-align: center;
  margin: 2rem 0 2.5rem;
  font-size: 1.02rem;
  color: #3e5a29;
}

.social-proof strong {
  font-weight: 700;
}

.instructor-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  align-items: center;
  background-color: #ffffff;
  padding: 1.75rem 2rem;
  border-radius: 18px;
  margin: 2rem 0 3rem;
  border: 1px solid #eee3cc;
}

.instructor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8b8a0, #c06a5a);
}

.instructor-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: #3e5a29;
}

.instructor-cred {
  font-size: 0.9rem;
  color: #5a7a3f;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.instructor-bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

/* Testimonials */
.testimonials {
  background-color: #f6ecd8;
  padding: 5rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #9ab880;
}

.testimonial .attribution {
  font-size: 0.88rem;
  color: #888;
}

.testimonial .attribution strong {
  color: #3e5a29;
  font-weight: 600;
}

/* FAQ */
.faq-section {
  padding: 5rem 0;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 0.9rem;
  border: 1px solid #eee3cc;
}

.faq-q {
  font-weight: 700;
  font-size: 1.05rem;
  color: #3e5a29;
  margin: 0 0 0.6rem;
}

.faq-a {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Sticky reservation bar */
.reserve-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #e8f0d8 0%, #d4e4b8 100%);
  text-align: center;
}

.reserve-section .big-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3e5a29;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.reserve-section .per {
  font-size: 0.95rem;
  color: #5a7a3f;
  margin-bottom: 2rem;
}

.reserve-section .opt-in {
  max-width: 460px;
  margin: 2rem auto 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  font-size: 0.92rem;
  color: #3e5a29;
  background-color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
}

.reserve-section .big-btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background-color: #3e5a29;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(62, 90, 41, 0.3);
  transition: transform 0.2s ease;
}

.reserve-section .big-btn:hover {
  transform: translateY(-2px);
}

.reserve-footnote {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #6a6a6a;
}

/* Related events */
.related-events {
  padding: 5rem 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ===== Thank-you page ===== */

.thanks-hero {
  padding: 8rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, #e8f0d8 0%, #d4e4b8 100%);
}

.thanks-hero .checkmark {
  width: 96px;
  height: 96px;
  margin: 0 auto 2rem;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(62, 90, 41, 0.2);
  font-size: 3rem;
  color: #3e5a29;
}

.thanks-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: #3e5a29;
  margin: 0 auto 1.25rem;
  max-width: 620px;
}

.thanks-hero p {
  font-size: 1.15rem;
  color: #4a4a4a;
  max-width: 540px;
  margin: 0 auto 0.5rem;
}

.thanks-details {
  padding: 4rem 0;
  background-color: #fdf8ed;
}

.thanks-details h2 {
  font-size: 1.5rem;
  color: #3e5a29;
  margin-bottom: 1.5rem;
}

.thanks-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 18px;
  border: 1px solid #eee3cc;
}

.thanks-next {
  padding: 4rem 0 5rem;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.next-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #eee3cc;
}

.next-steps li:last-child {
  border-bottom: none;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e8f0d8;
  color: #3e5a29;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.next-steps .step-title {
  font-weight: 700;
  color: #3e5a29;
  margin-bottom: 0.2rem;
}

.next-steps .step-desc {
  color: #555;
  font-size: 0.97rem;
  line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .event-hub-grid,
  .teaser-row,
  .event-body .list-grid-t2,
  .related-grid,
  .testimonial-grid,
  .past-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-fact {
    border-right: none;
  }
  .event-detail-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .event-hub-grid,
  .teaser-row,
  .event-body .list-grid-t2,
  .related-grid,
  .testimonial-grid,
  .past-events-grid {
    grid-template-columns: 1fr;
  }
  .quick-facts {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .thanks-details-grid {
    grid-template-columns: 1fr;
  }
  .instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .instructor-photo {
    margin: 0 auto;
  }
}

/* ─── Dual-CTA additions for Eventbrite checkout pattern ──────────────── */
/* Added when we moved checkout off Stripe Payment Links onto Eventbrite. */
/* Each event card now has two CTAs side-by-side: Details (internal       */
/* per-event detail page) and Get tickets (external Eventbrite URL).      */

/* Outlined variant of .button — used for the lower-priority Details CTA. */
.button.button-secondary {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px #eb8e6d;
  color: #eb8e6d;
}
.button.button-secondary:hover {
  background-color: #eb8e6d;
  color: #fffaf0;
}

/* Homepage event card — two buttons side-by-side at the bottom (or stacked
   when the card is too narrow to fit them on one row). */
.event-cta-row {
  display: flex;
  flex-wrap: wrap;
  /* Explicit row-gap because the shorthand `gap` was visually rendering as
   * 0 on wrapped rows in some viewports. Belt + suspenders. */
  column-gap: 0.75rem;
  row-gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}
.event-cta-row .button {
  /* Override .button's default negative margin-left and any auto margins
   * picked up from .align-center, which break the flex row layout. */
  margin: 0;
  flex: 1 1 auto;
  min-width: 8rem;
  white-space: nowrap;
  /* Tone down the inherited base .button sizing — the base is sized for the
   * standalone homepage hero CTA, which is too chunky for paired buttons
   * inside a small card. */
  font-size: 0.95rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  box-shadow: 4px 4px 0 0 #f9f6f1;
}
@media (max-width: 480px) {
  .event-cta-row {
    flex-direction: column;
  }
  .event-cta-row .button {
    width: 100%;
  }
}

/* Hub card — restructured so the link wraps the upper content (image +    */
/* body) and the action row sits below as siblings, not nested in <a>.     */
.hub-event-card--dual {
  display: flex;
  flex-direction: column;
}
/* Apply to ALL .hub-event-card-link wrappers (upcoming AND past), not just
   --dual — otherwise past cards inherit the default <a> underline on the
   date / title / summary / footer text inside the link wrapper. */
.hub-event-card-link,
.hub-event-card-link:hover,
.hub-event-card-link:focus {
  display: block;
  color: inherit;
  text-decoration: none;
}
.hub-event-card-link * {
  text-decoration: none;
}
.hub-event-actions {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
  margin-top: auto;
}
.hub-event-actions .button {
  margin: 0;
  flex: 1 1 0;
  font-size: 1.7vmin;
  padding: 1.4vmin 1.6vmin;
  /* Keep the trailing arrow glyph on the same line as the label. */
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hub-event-actions {
    flex-direction: column;
  }
  .hub-event-actions .button {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* ─── Past-event states (archive section + per-event past pages) ──────── */

/* Top-of-page banner on past event pages: clear + scannable, links forward. */
.past-banner {
  background: #f4eee0;
  color: #3e5a29;
  padding: 0.9rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  font-family: new-spirit, sans-serif;
}
.past-banner a {
  color: #eb8e6d;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.4rem;
}
.past-banner-pill {
  display: inline-block;
  background: #29563f;
  color: #fbda57;
  padding: 0.15rem 0.55rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.7rem;
  vertical-align: middle;
}

/* Past variant of the per-event hero — same structure, slightly muted. */
.event-detail-hero--past .event-hero-image {
  filter: saturate(0.8);
}

/* Past hub card — faded, no Get tickets button, "View recap" instead. */
.hub-event-card--past {
  opacity: 0.85;
  transition: opacity 200ms ease;
}
.hub-event-card--past:hover {
  opacity: 1;
}
.hub-event-card--past .hub-event-image {
  filter: saturate(0.7);
}
.price-pill--past {
  background: #29563f !important;
  color: #fbda57 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Archive section gets visual separation from upcoming. */
.events-section--past {
  background: #fbf6ec;
  margin-top: 3rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
  border-top: 1px solid #e8dec6;
}
.events-section--past .events-section-header h2 {
  color: #3e5a29;
}

/* Reserve section variant for past pages — no purchase, just "what's next". */
.reserve-section--past {
  background: #f4eee0;
}
.reserve-section--past .reserve-footnote a {
  color: #eb8e6d;
  text-decoration: underline;
}

/* "See all events →" tertiary text link under the homepage events row.
   Restored from the pre-inline-pivot styles (commit 1206826^), brand-tightened
   by switching to the new-spirit family for visual consistency with the
   primary/secondary buttons that sit on the cards above. */
.events-see-all {
  text-align: center;
  margin: 0 auto 1.5rem;
}
.events-see-all a {
  text-decoration: none;
  font-family: new-spirit, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #3e5a29;
  border-bottom: 2px solid #e8f0d8;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.events-see-all a:hover {
  color: #29563f;
  border-bottom-color: #29563f;
}

/* Dual-CTA homepage cards: pin the meta block + CTA row to the bottom of
   each card so different title lengths don't leave a ragged baseline. The
   parent .event-card is already display:flex / flex-direction:column. */
.event-card--dual-cta .event-meta {
  margin-top: auto;
}

/* Hero image at the top of each homepage event card, with the date badge
   overlaid in the upper-left corner. Uses negative margins to extend the
   image edge-to-edge inside the card's existing padding (no need to refactor
   .event-card padding). The card needs overflow:hidden so the image's top
   edge respects the card's rounded corners. */
.event-card--dual-cta {
  overflow: hidden;
}
.event-card--dual-cta .event-card-image {
  position: relative;
  margin: -2rem -1.75rem 1.25rem;  /* counter .event-card padding */
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #f6ecd8;        /* fallback while image loads */
}
.event-card--dual-cta .event-card-image .event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(40, 60, 40, 0.18);
  backdrop-filter: blur(2px);
}

/* Above-the-fold CTA inside the event detail hero. Uses the base .button
   pill but with margin/sizing tuned for the hero context. */
.event-hero-cta {
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}
.event-hero-cta .button {
  display: inline-block;
  margin: 0;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 4px 4px 0 0 #f9f6f1;
  text-decoration: none;
}

/* ─── Spots-left + sold-out states (real-time availability) ──────────── */

/* Sold-out variant of .button — visually disabled, not clickable. */
.button.button-disabled,
.button.button-disabled:hover {
  background-color: #d4d4d4;
  color: #6a6a6a;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 4px 4px 0 0 #f9f6f1;
}

/* "Only N spots left" text under CTA rows. Empty content collapses to no
   visible space because there's no padding/min-height. */
.event-spots-left,
.hub-event-spots,
.event-hero-spots {
  font-family: new-spirit, sans-serif;
  font-size: 0.85rem;
  color: #c06a5a;
  font-weight: 600;
  text-align: center;
  margin: 0.6rem 0 0;
}
.event-hero-spots {
  text-align: left;
  margin-top: 0.5rem;
}
.event-spots-left:empty,
.hub-event-spots:empty,
.event-hero-spots:empty {
  display: none;
}
.hub-event-spots {
  padding: 0 1.25rem 1.25rem;
}

/* ─── Structured-content modules (the rich Overview body from EB) ────── */

.event-description .eb-image {
  margin: 1.5rem 0;
}
.event-description .eb-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.event-description .eb-image figcaption {
  font-size: 0.85rem;
  color: #8a8a8a;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}
.event-description .eb-divider {
  border: none;
  border-top: 1px solid #e8dec6;
  margin: 2rem 0;
}
.event-description .eb-video {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9f6f1;
  border-radius: 8px;
}


/* ─── Event-detail map block (under quick-facts) ─────────────────────── */
.event-map {
  margin-top: 1.5rem;
}
.event-map iframe {
  display: block;
}
.event-map-link {
  margin: 0.6rem 0 0;
  font-family: new-spirit, sans-serif;
  font-size: 0.9rem;
  text-align: center;
}
.event-map-link a {
  color: #29563f;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #e8f0d8;
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.event-map-link a:hover {
  border-bottom-color: #29563f;
}

/* ─── Add to Calendar (third quick-fact card, sits with When/Where) ──── */
/* Inherits .quick-fact .value typography (1rem, weight 600, dark green) for
   visual consistency with the date/venue values. Links stack vertically and
   pick up the brand apricot for affordance. */
.quick-fact-calendar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.quick-fact-calendar a {
  color: #eb8e6d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  width: fit-content;
}
.quick-fact-calendar a:hover {
  border-bottom-color: #eb8e6d;
}

/* ─── Eventbrite inline checkout iframe (detail page Reserve section) ── */
/* The iframe is injected by /js/eventbrite-checkout.js. Until it loads,
   the container has no visible chrome — keeps the page from looking
   broken if the script is slow. */
.eb-iframe-container {
  margin: 1.25rem 0 1rem;
  min-height: 425px;
  background-color: #f9f6f1;
  border-radius: 12px;
  overflow: hidden;
}
.eb-iframe-container iframe {
  display: block;
  width: 100%;
  border: 0;
}


/* When .events-section-header is used inside the description body, drop the
   bottom-border divider and the bottom padding (the body content provides
   plenty of separation on its own). Keeps the styling for the Related
   "You might also like" header untouched. */
.event-description .events-section-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1rem;
  display: block;
  text-align: left;
}
.event-description .events-section-header h2 {
  text-align: left;
  margin: 0;
}

/* Body description container is now wide (events-container, max ~1120px)
   so the Overview heading lines up with the map / quick-facts left edge.
   Cap the actual reading text inside to a comfortable measure. */
.event-description-body {
  max-width: 780px;
}
