/* ==========================================================================
   Hero photo carousel
   ========================================================================== */

.hero-carousel {
  margin: 0 0 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.hero-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-carousel__track::-webkit-scrollbar {
  display: none;
}

.hero-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 2 / 1;
  position: relative;
}

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

.hero-carousel__btn {
  align-items: center;
  background: rgba(15, 31, 54, .45);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.4rem;
  height: 2.5rem;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color .2s ease;
  width: 2.5rem;
}

.hero-carousel__btn:hover,
.hero-carousel__btn:focus {
  background: rgba(15, 31, 54, .75);
}

.hero-carousel__btn--prev {
  left: .75rem;
}

.hero-carousel__btn--next {
  right: .75rem;
}

.hero-carousel__dots {
  bottom: .85rem;
  display: flex;
  gap: .5rem;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-carousel__dot {
  background: rgba(255, 255, 255, .5);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: .6rem;
  padding: 0;
  width: .6rem;
}

.hero-carousel__dot.is-active {
  background: #fff;
}

@media (max-width: 600px) {
  .hero-carousel__slide-label {
    font-size: 1.05rem;
    padding: 0 2.75rem;
  }

  .hero-carousel__btn {
    font-size: 1.1rem;
    height: 2rem;
    width: 2rem;
  }
}

.news-hero-cta {
  margin: 1.1rem 0 0;
}

/* ==========================================================================
   Sponsors bar
   ========================================================================== */

.sponsors-bar {
  background: linear-gradient(135deg, #1f3553, #13233b);
  border-radius: 1rem;
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
}

.sponsors-bar__logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin: 0 0 1.1rem;
}

.sponsors-bar__logo-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.sponsors-bar__logo {
  display: block;
  height: auto;
  margin: 0;
  max-height: 2.75rem;
  transition: opacity .2s ease;
  width: auto;
}

.sponsors-bar__logo--sm {
  max-height: 1.9rem;
}

.sponsors-bar__logo-link:hover .sponsors-bar__logo,
.sponsors-bar__logo-link:focus .sponsors-bar__logo {
  opacity: .8;
}

.sponsors-bar__caption {
  color: #cfe0f5;
  font-size: .95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 42rem;
}

@media (max-width: 600px) {
  .sponsors-bar {
    padding: 1.25rem;
  }

  .sponsors-bar__logos {
    gap: 1.5rem;
  }
}

/* ==========================================================================
   "As seen in the media" block
   ========================================================================== */

.media-block {
  margin: 0 0 2rem;
}

.media-block__title {
  margin: 0 0 .25rem;
}

.media-block__subtitle {
  color: #8a94a6;
  font-size: .95rem;
  margin: 0 0 1.25rem;
}

.media-block__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-card {
  background: #fff;
  border: 1px solid #e4edf6;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.25rem;
  position: relative;
}

.media-card__outlet {
  align-items: center;
  display: flex;
  gap: .6rem;
}

.media-card__logo {
  align-items: center;
  background: linear-gradient(135deg, #3dc3ff, #009e02);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-family: 'Exo 2', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  height: 2.5rem;
  justify-content: center;
  margin: 0;
  width: 2.5rem;
}

.media-card__logo--sm {
  font-size: .68rem;
}

.media-card__outlet-name {
  color: #1f3553;
  font-size: .95rem;
  font-weight: 700;
}

.media-card__date {
  color: #8a94a6;
  font-size: .8rem;
}

.media-card__headline {
  color: #0f1f36;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.media-card__excerpt {
  color: #4a5b78;
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
}

.media-card__link {
  color: #009e02;
  font-size: .9rem;
  font-weight: 700;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: .15rem;
}
