/* Homepage-specific alignment with the MH-USA published storefront. */

.hero-carousel {
  height: clamp(340px, 32vw, 456px);
}

.hero-slide {
  background: #14283a;
}

.hero-slide-bg {
  left: 49%;
  background-position: center;
}

.hero-slide-bg:after {
  display: none;
}

.hero-slide-content {
  width: 49%;
  padding: 25px 3vw 25px 6vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-slide-content:before {
  color: #c7d7e8;
}

.hero-slide-content h1 {
  font-size: clamp(36px, 3.65vw, 52px);
  line-height: 1.06;
}

.hero-slide-content p {
  color: #d4deea;
  font-size: clamp(13px, 1.2vw, 16px);
  max-width: 550px;
}

.hero-cta {
  background: #fff;
  color: #0054c6 !important;
  border-radius: 3px;
  min-height: 52px;
  padding: 0 30px;
}

.hero-cta:hover {
  background: #eaf2ff;
  color: #003d9c !important;
}

.home-entry {
  padding: 28px clamp(20px, 6vw, 84px) 30px;
}

@media (min-width: 901px) {
  .home-entry-heading {
    margin-bottom: 32px;
  }

  .home-entry h2 {
    margin-top: 13px;
  }
}

.home-entry-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.home-entry-link {
  flex-direction: row;
  align-items: center;
  min-height: 66px;
  gap: 8px;
  padding: 4px;
  border: 0;
  background: #fff;
  overflow: visible;
}

.home-entry-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: #f7f9fc;
}

.home-entry-icon img {
  object-fit: cover;
  padding: 0;
}

.home-entry-icon svg {
  width: 34px;
  height: 34px;
}

.home-entry-name {
  padding: 0;
  min-width: 0;
  font-size: 11px;
}

.home-entry-arrow {
  padding: 0;
  margin-left: auto;
  font-size: 16px;
}

@media (max-width: 900px) {
  .home-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-carousel {
    height: 390px;
  }

  .hero-slide-bg {
    left: 0;
  }

  .hero-slide-bg:after {
    display: block;
    background: linear-gradient(90deg, rgba(14, 32, 51, .96), rgba(14, 32, 51, .56));
  }

  .hero-slide-content {
    width: 100%;
    padding: 35px 24px;
  }

  .hero-slide-content h1 {
    font-size: clamp(26px, 3vw, 36px);
  }

  .hero-slide-content p {
    font-size: 14px;
  }

  .home-entry {
    padding: 24px 14px;
  }

  .home-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-entry-link {
    min-height: 70px;
  }
}