.c-information-schedule {
  padding: var(--space-6xl);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.c-information-schedule__heading {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
  text-align: left;
}

.c-schedule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.c-schedule-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-slow) var(--easing-emphasized);
}

.c-schedule-card:hover {
  box-shadow: var(--shadow-md);
}

.c-schedule-card:focus-visible {
  box-shadow: var(--shadow-focus-primary);
}

a.c-schedule-card {
  cursor: pointer;
}

.c-schedule-card.is-disabled {
  cursor: default;
}

.c-schedule-card__media {
  position: absolute;
  inset: 0;
  z-index: var(--z-index-base);
  pointer-events: none;
}

.c-schedule-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  pointer-events: none;
}

.c-schedule-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--easing-emphasized);
}

.c-schedule-card:hover .c-schedule-card__img,
.c-schedule-card:focus-visible .c-schedule-card__img {
  transform: scale(1.04);
}

.c-schedule-card__img--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    var(--color-primary-dark) 0%,
    var(--color-border) 100%
  );
}

.c-schedule-card__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-index-raised);
  background-color: var(--color-primary-dark);
  opacity: 0.58;
  pointer-events: none;
  transition:
    background-color var(--duration-slow) var(--easing-emphasized),
    opacity var(--duration-slow) var(--easing-emphasized);
}

.c-schedule-card:hover .c-schedule-card__overlay,
.c-schedule-card:focus-visible .c-schedule-card__overlay {
  opacity: 1;
}

.c-schedule-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  max-width: 100%;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-white);
  text-align: center;
  text-shadow: var(--shadow-text-primary-dark);
}

@supports (color: color-mix(in srgb, red 50%, white 50%)) {
  .c-schedule-card__img--placeholder {
    background: none;
    background-color: color-mix(in srgb, var(--color-primary-dark) 35%, var(--color-border));
  }

  .c-schedule-card__overlay {
    background-color: color-mix(in srgb, var(--color-primary-dark) 58%, transparent);
    opacity: 1;
  }

  .c-schedule-card:hover .c-schedule-card__overlay,
  .c-schedule-card:focus-visible .c-schedule-card__overlay {
    background-color: color-mix(in srgb, var(--color-primary-dark) 100%, transparent);
  }
}

.c-schedule-card__label-icon {
  display: block;
  flex-shrink: 0;
  width: 5px;
  height: 9px;
}

@media (max-width: 767px) {
  .c-information-schedule {
    padding: var(--space-lg) var(--layout-padding-inline-mobile);
    background-color: var(--color-bg-alt);
    box-shadow: none;
    border-radius: 0;
  }

  .c-information-schedule__heading {
    padding: 0 var(--space-md);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
  }

  .c-schedule-list {
    padding: var(--space-md);
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .c-schedule-card {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
  }

  .c-schedule-card__label {
    font-size: var(--font-size-md);
  }
}
