/* Theme-compatible year-round events styles. */

.eventive-native-year-round .weekly-calendar-container {
  display: grid;
  grid-template-columns: minmax(2.75rem, auto) minmax(0, 1fr) minmax(2.75rem, auto);
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.eventive-native-year-round .week-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-block-size: var(--yr-day-button-height, 5.25rem);
  min-inline-size: 2.75rem;
  font: inherit;
  line-height: 1;
}

.eventive-native-year-round .week-nav-button.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.eventive-native-year-round .weekly-calendar-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.25rem, 1fr));
  min-width: 0;
  gap: 0.75rem;
}

.eventive-native-year-round .yr-day-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-block-size: var(--yr-day-button-height, 5.25rem);
  width: 100%;
  font: inherit;
}

.eventive-native-year-round .yr-day-btn-month,
.eventive-native-year-round .yr-day-btn-day,
.eventive-native-year-round .yr-day-btn-weekday {
  display: block;
}

.eventive-native-year-round .yr-day-btn-day {
  font-size: 1.75em;
  font-weight: 700;
  line-height: 1;
}

.eventive-native-year-round .yr-day-btn.is-active {
  border-color: var(--eventive-accent-color, currentColor);
  background: var(--eventive-accent-color, #111);
  color: var(--eventive-accent-contrast-color, #fff);
  box-shadow: inset 0 0 0 1px currentColor;
}

.eventive-native-year-round .yr-date-picker-control {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
}

.eventive-native-year-round .yr-date-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.75rem;
  padding: 0;
  font: inherit;
  line-height: 1;
}

.eventive-native-year-round .yr-date-picker-button svg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.eventive-native-year-round .yr-date-picker-control:focus-within .yr-date-picker-button {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.eventive-native-year-round .yr-date-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.eventive-native-year-round .events-container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.eventive-native-year-round .yr-card {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--eventive-border-color, rgba(0, 0, 0, 0.12));
  background: var(--eventive-surface, transparent);
}

.eventive-native-year-round .yr-card.is-virtual-event {
  border-color: rgba(14, 116, 144, 0.34);
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.72), rgba(245, 243, 255, 0.5)),
    var(--eventive-surface, transparent);
}

.eventive-native-year-round .yr-card__media img {
  display: block;
  width: 100%;
}

.eventive-native-year-round .yr-card__media-link {
  display: block;
}

.eventive-native-year-round[data-image-type="cover"] .yr-card__media img {
  height: 180px;
  object-fit: cover;
}

.eventive-native-year-round[data-image-type="still"] .yr-card__media img {
  object-fit: cover;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__media img {
  object-fit: contain;
}

.eventive-native-year-round .yr-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.eventive-native-year-round .yr-card__meta,
.eventive-native-year-round .yr-card__desc {
  margin: 0.25rem 0 0;
  opacity: 0.8;
}

.eventive-native-year-round .yr-card .eventive-event-kind {
  margin: 0.25rem 0 0;
}

.eventive-native-year-round .yr-card__links {
  margin-top: 0.5rem;
}

.eventive-native-year-round .yr-more {
  font-weight: inherit;
}

.eventive-native-year-round .yr-card__date {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.eventive-native-year-round .yr-card__cta .yr-card__venue {
  margin: -0.25rem 0 0.5rem;
}

.eventive-native-year-round .yr-card__cta .eventive-button {
  display: block;
  width: 100%;
}

.eventive-native-year-round .yr-card__showtimes.yr-showtimes-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.eventive-native-year-round .yr-showtime__btn {
  flex: 0 1 clamp(160px, 33%, 220px) !important;
}

.eventive-native-year-round .yr-showtime__btn.is-virtual-event {
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(14, 116, 144, 0.2);
}

.eventive-native-year-round .yr-showtime__btn .eventive__universal_ticket-button__container,
.eventive-native-year-round .yr-showtime__btn .eventive__ticket-button__container,
.eventive-native-year-round .yr-showtime__btn .eventive__universal_ticket-button__button,
.eventive-native-year-round .yr-showtime__btn .eventive__ticket-button__button,
.eventive-native-year-round .yr-showtime__btn .eventive-button,
.eventive-native-year-round .yr-showtime__btn .eventive__ticket-button__button button {
  width: 100% !important;
}

.eventive-native-year-round .yr-no-events,
.eventive-native-year-round .yr-loading {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
  border: 1px dashed var(--eventive-border-color, rgba(0, 0, 0, 0.18));
  background: rgba(0, 0, 0, 0.03);
}

.eventive-native-year-round .yr-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.eventive-native-year-round .yr-loading__label {
  font-weight: 500;
}

.eventive-pass-sales .pass-sales-section-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.eventive-pass-sales .pass-sales-section-wrapper:first-child {
  margin-top: 0;
}

.eventive-pass-sales .pass-sales-section-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.eventive-pass-sales .ps-section {
  grid-column: 1 / -1;
  min-width: 0;
}

.eventive-pass-sales .ps-section > :first-child,
.eventive-pass-sales .entry-card__body > :first-child {
  margin-top: 0;
}

.eventive-pass-sales .ps-section > :last-child,
.eventive-pass-sales .entry-card__body > :last-child {
  margin-bottom: 0;
}

.eventive-pass-sales .entry-card.entry-card--stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--eventive-border-color, rgba(0, 0, 0, 0.12));
  background: var(--eventive-surface, transparent);
}

.eventive-pass-sales .entry-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.eventive-pass-sales .entry-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.eventive-pass-sales .entry-card__desc {
  line-height: 1.6;
}

.eventive-pass-sales .entry__btn {
  flex: 0 0 auto !important;
  display: block;
  width: 100%;
  margin-top: auto;
}

.eventive-pass-sales a.entry__btn {
  padding: 0.75rem 1rem;
  background: var(--eventive-action-bg, var(--button-bg, #0056b3));
  color: var(--eventive-action-text, var(--button-text, #fff));
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.eventive-pass-sales a.entry__btn:hover,
.eventive-pass-sales a.entry__btn:focus-visible {
  background: var(--eventive-action-bg-hover, var(--primary-color, #004494));
  color: var(--eventive-action-text, var(--button-text, #fff));
}

.eventive-pass-sales .entry__btn .eventive-button,
.eventive-pass-sales .entry__btn .eventive-widget-container,
.eventive-pass-sales .entry__btn .eventive__pass-button__button,
.eventive-pass-sales .entry__btn .eventive__pass-button__button > button {
  width: 100% !important;
  max-width: none !important;
}

@media (min-width: 600px) {
  .eventive-native-year-round .yr-card {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  .eventive-native-year-round .yr-card {
    grid-column: span 4;
  }
}

.eventive-native-year-round[data-image-type="poster"] .yr-card {
  grid-column: span 6;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card.has-media {
  display: block;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card.has-media::after {
  content: "";
  display: block;
  clear: both;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__media {
  float: left;
  inline-size: min(10.25rem, 36vw);
  block-size: 15.6rem;
  margin: 0 1.125rem 0.5rem 0;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__body {
  min-width: 0;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__cta {
  min-width: 0;
  margin-top: 0.75rem;
}

.eventive-native-year-round[data-image-type="poster"] .yr-card__showtimes.yr-showtimes-flex {
  gap: 0.5rem !important;
}

.eventive-native-year-round[data-image-type="poster"] .yr-showtime__btn {
  flex: 0 1 clamp(104px, calc(25% - 0.5rem), 132px) !important;
}
