/* Hero */
.hero-home {
  position: relative;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-color: #001a61;
  min-height: clamp(480px, 55.65vw, 780px);
}

.hero-home > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero-home .row {
    flex-direction: column;
    padding-top: 120px;
    height: 100%;
  }

  .hero-home .row > div:last-child {
    height: 100%;
  }

  .hero-home .taxHeader__Content {
    justify-content: flex-start;
    height: 100%;
  }

  .hero-home .taxHeader__Content__Inner {
    height: 100%;
    width: 100%;
  }

  .hero-home__text-container {
    display: grid;
    grid-template-rows: max-content max-content 1fr;
    height: 100%;
  }

  .hero-home__button {
    height: fit-content;
    align-self: end;
    justify-self: center;
    margin-bottom: 80px;
  }
}

/* Hero Carousel */
.carousel-hero {
  position: relative;
  min-height: clamp(480px, 55.65vw, 780px);
}

.carousel-hero__container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(480px, 55.65vw, 780px);
}

.carousel-hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: clamp(480px, 55.65vw, 780px);
  background-size: cover;
  background-position: center center;
  opacity: 0;
  z-index: 0;
}

@media (max-width: 1024px) {
  .hero-home,  .carousel-hero__slide {
    background-image: none !important;
  }

  .hero-home__img-mobile-container {
    position: absolute;
    inset: 0;
    margin: auto;
  }

  .hero-home__img-mobile-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.carousel-hero__slide:first-child {
  opacity: 1;
  z-index: 1;
}

.carousel__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.carousel-hero__button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.carousel-hero__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
}

.hero-carousel__dot--active {
  background: rgba(255, 255, 255, 1);
}

.hero-home__heading {
  margin: 0 !important;
}
.hero-home__subheading {
  font-size: clamp(18px, 2.7vw, 27px);
}

.hero-home__button {
  margin-top: 20px;
}

/* New Categories  */
.home-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

@media (max-width: 1024px) {
  .home-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .home-categories__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* @media (max-width: 640px) {
  .home-categories__grid {
    grid-template-columns: 1fr;
  }
} */

.home-categories__card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  /* flex-direction: column;
  justify-content: space-between; */
  margin-bottom: clamp(20px, 6.3vw, 40px);
  min-height: clamp(140px, 22vw, 180px);
}

.home-categories__card .catBox__Inner {
  margin-bottom: 0 !important;
}

.home-categories__card {
  padding-top: 0 !important;
  background: linear-gradient(180deg, transparent 20%, #ffffff 20%);
}

.home-categories__card .catBox__Inner a {
  display: flex;
}

.home-categories__card .catBox__Inner img {
  width: 100%;
  margin-top: 0;
}

.home-categories__category-heading {
  margin-top: 20px !important;
  grid-row: 3;
  align-self: end;
}

.home-categories__category-heading a {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  font-size: clamp(14px, calc((16 * 100vw) / 1380), 16px);
  text-transform: none;
  font-weight: 700;
  line-height: 1.1;
  color: #001a61;
}

.home-categories__category-heading a::after {
  content: "\e900";
  font-family: "icomoon";
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  visibility: hidden;
  opacity: 0;
  transition: all ease 300ms;
}

.home-categories__card:hover .home-categories__category-heading a::after {
  visibility: visible;
  opacity: 1;
}

.home-categories__banner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background-color: #001a61;
  grid-column: span 2;
  margin-bottom: clamp(20px, 6.3vw, 40px);
}

@media (max-width: 767px) {
  .home-categories__banner {
    grid-column: revert;
  }
}

.home-categories__banner-text-container {
  padding: 20px;
}

.home-categories__banner-text {
  line-height: 1.2;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.home-categories__banner-img-container {
  display: flex;
  align-items: end;
}

@media (max-width: 640px) {
  .home-categories__banner {
    display: revert;
  }

  .home-categories__banner-img-container {
    display: none;
  }
}

/* News  */
.home-more-news {
  text-align: center;
}
