.hero-banner-container {
  margin-bottom: 1rem;
}

.hero-banner {
  background-color: #e9ecef;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: inherit;

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: inherit;
  }
}

.hero-text-box {
  max-width: 500px;
  padding: 1.5rem;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

::ng-deep .hero-title,
.hero-title {
  color: #666666;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  strong {
    font-weight: 800;
  }
}

::ng-deep .hero-title h1 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

::ng-deep .hero-description,
.hero-description {
  color: #666666;
  font-size: 1.1rem;
  line-height: 1.5;
  strong {
    font-weight: 700;
  }
}

.event-card-container {
  position: relative;
  margin-top: -40px;
  z-index: 10;
}

.event-card {
  width: 90%;
  max-width: 900px;
}

.event-title {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.event-details {
  font-size: 21px;
}

.event-icon {
  font-size: 1.3rem;
  color: #8a8a8a;
}

.event-info-text {
  color: #8a8a8a;
  font-weight: 400;
}

.event-schedule-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tenant-primary, #009d4f);
  font-size: 15px;
  font-weight: 700;

  &:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 0.25rem;
  }

  i {
    font-size: 0.7rem;
  }
}

.event-schedules {
  margin-top: 1.25rem;

  td {
    width: 50%;
    padding: 0.65rem 1rem;
    vertical-align: middle;
  }
}

.event-schedule-value {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #8a8a8a;
  font-size: 19px;
  font-weight: 400;

  i {
    width: 1rem;
    color: #c9ccce;
  }
}

@media (max-width: 767.98px) {
  .hero-banner-container {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .hero-banner {
    width: 100vw;
    min-height: 0;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 0 !important;
  }

  .hero-media {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(8.75rem, 44vw, 211px);
    background-position: center center;
    background-size: 140% auto;
    border-radius: 0;
  }

  .hero-media::after {
    top: auto;
    height: 48%;
    background: linear-gradient(
      to bottom,
      rgba(245, 245, 245, 0) 0%,
      rgba(245, 245, 245, 0.78) 55%,
      #f5f5f5 100%
    );
    border-radius: 0;
  }

  .hero-content {
    justify-content: center !important;
    height: auto !important;
    min-height: 8.25rem;
    margin-top: -1.7rem;
    padding: 0 1.25rem 1.75rem !important;
    align-items: flex-start !important;
  }

  .hero-text-box {
    width: 100%;
    max-width: 19rem;
    padding: 0;
    text-align: center;
    background: transparent;
    border-radius: 0;
  }

  ::ng-deep .hero-title,
  .hero-title {
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.2;
  }

  ::ng-deep .hero-title p,
  ::ng-deep .hero-description p {
    margin-bottom: 0;
  }

  ::ng-deep .hero-description,
  .hero-description {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .hero-action {
    margin-top: 1rem !important;
  }

  .hero-action ::ng-deep .btn {
    font-size: 11px;
  }

  .event-card-container {
    margin-top: 0;
    padding: 0 0 1.2rem;
  }

  .event-card {
    width: 100%;
    max-width: none;
    min-height: 11.4rem;
    padding: 2.5rem 1.5rem !important;
    border-radius: 0 !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04) !important;
  }

  .event-title {
    margin: 0 auto 0.85rem !important;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .event-details {
    gap: 0.45rem !important;
    font-size: 15px;
    line-height: 1.25;
  }

  .event-details > div {
    gap: 0.5rem !important;
  }

  .event-icon {
    width: 0.9rem;
    font-size: 0.85rem;
  }

  .event-schedule-toggle {
    margin-top: 1.9rem;
    font-size: 13px;
  }

  .event-schedule-toggle i {
    font-size: 0.65rem;
  }

  .event-schedules {
    margin-top: 1rem;

    td {
      padding: 0.55rem 0.4rem;
    }
  }

  .event-schedule-value {
    gap: 0.4rem;
    font-size: 14px;
  }
}
