/* Shared by the front end and editor canvas. All rules are Event Hero scoped. */
.event-hero.event-hero--field-event {
  background-image: url('/wp-content/uploads/2026/09/event-field-background-scaled.webp') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: 70% 50% !important;
}
.event-hero--field-event .event-hero-info {
  background-color: var(--wp--preset--color--primary-black, #1c1918) !important;
}
.event-hero--without-booking .event-hero-booking,
.event-hero .event-editor-hidden {
  display: none !important;
}
.event-hero--without-booking .event-hero-info {
  flex-basis: 100% !important;
  flex-grow: 1 !important;
  width: 100%;
  max-width: none;
}
.event-hero--without-booking .event-hero-columns {
  gap: 0 !important;
}
.event-hero--without-booking .event-hero-content {
  --wp--style--global--content-size: 100%;
  --wp--style--global--wide-size: 100%;
  max-width: none !important;
}
.event-hero--without-booking
  .event-hero-content
  > :not(.alignleft):not(.alignright) {
  max-width: none !important;
}
.event-hero .wp-block-post-excerpt__more-text {
  display: none;
}
.event-hero .event-hero-booking {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1240px) {
  .event-hero.event-hero--field-event {
    background-image: url('/wp-content/uploads/2026/09/event-field-mobile-background.webp') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: bottom !important;
  }
}
@media (width <= 480px) {
  .event-hero.event-hero--field-event {
    background-image: url('/wp-content/uploads/2026/09/event-field-mobile-background.webp') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 100% !important;
  }
}
