:root {
  --content-max-width: 1320px;
  --swiper-navigation-sides-offset: 36px;
  --swiper-navigation-size: none;
}

#main > header {
  display: flex;
  flex-direction: column;
  padding-block: 64px;
  padding-inline: 16px;
  gap: 64px;
}
#main .btn {
  display: inline-flex;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-transform: initial;
  gap: 8px;
}
#main > header .header__content {
  max-width: 360px;
}
#main > header .small-title {
  color: var(--Primary-500, #284CEB);
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.8px;
  text-transform: capitalize;
}
#main > header .title {
  color: var(--Neutral-900, #151518);
  margin-block-start: 12px;
  margin-block-end: 24px;
  font-size: 34px;
  font-weight: 500;
  line-height: 42px;
}
#main > header .subtitle {
  color: var(--Neutral-700, #52545E);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  margin-block-end: 40px;
}
#main .featured-news__slide {
  padding: 64px 16px;
  border-radius: 4px;
  height: auto;
}
#main .featured-news__slide:nth-child(2n+1) {
  background: #E3E8FF;
}
#main .featured-news__slide:nth-child(2n+2) {
  background: #E3F5FF;
}
#main .featured-news__slide .slide__cta {
  margin-block-end: 72px;
}
#main .featured-news__slide .slide__img-container {
  padding-inline: 18px;
}

#main .featured-news__slide .slide__title {
  color: var(--Neutral-900, #151518);
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
}
#main .featured-news__slide .slide__description {
  color: var(--Neutral-700, #52545E);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.4px;
}
#main .swiper .swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  bottom: 24px;
}
#main .swiper .swiper-pagination .pagination-bullet {
  display: inline-block;
  width: 73px;
  height: 4px;
  background: var(--Primary-100, #D4DBFB);
}
#main .swiper .swiper-pagination .pagination-bullet.active {
  background: var(--Neutral-900, #151518);
}
#main .featured-news .swiper .swiper-button-prev, #main .featured-news .swiper .swiper-button-next {
  display: flex;
  padding: 16px;
  box-sizing: content-box;
  border-radius: 34px;
  background: var(--Neutral-50, #FBFBFB);
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.10);
}
#main .featured-news .swiper .swiper-button-prev:after, #main .featured-news .swiper .swiper-button-next:after {
  content: none;
}
#main .featured-news .swiper .swiper-button-prev.swiper-button-disabled, #main .featured-news .swiper .swiper-button-next.swiper-button-disabled {
  display: none;
}
#main .all-news {
  padding: 64px 16px;
}
#main .all-news .all-news__title {
  color: var(--Neutral-900, #151518);
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  margin-block-end: 16px;
}
#main .all-news .all-news__description {
  color: var(--Neutral-900, #151518);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-block-end: 64px;

  max-width: 630px;
  margin-inline: auto;
}
#main .all-news .category-list {
  display: flex;
  row-gap: 8px;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  scroll-padding-top: 120px;
  scroll-margin-top: 120px;
}
#main .all-news .category-list__item {
  flex-shrink: 0;
  display: inline-block;
  padding: 6px 32px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
#main .all-news .category-list__item.active {
  border-bottom: 3px solid var(--Primary-violet, #4967EE);
}
#main .all-news .category-list__item:not(.active):after {
  content: '';
  display:block;
  border-bottom: 3px solid var(--Primary-violet, #4967EE);
  transform: scaleX(0);
  transition-property: transform;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}
#main .all-news .category-list__item:not(.active):hover:after {
  transform: scaleX(1);
}
#main .all-news .category-list__item.active > a {
  color: var(--Primary-violet, #4967EE);
}
#main .all-news .new-feature-cards__wrapper {
  display: grid;
  justify-content: center;
  gap: 40px;
}
#main .all-news .new-feature-card {
  padding: 32px;
  border-radius: 4px;
  background: var(--Secondary-50, #F3F9FE);
  transition: box-shadow 500ms;
}
#main .all-news .new-feature-card:hover {
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.10);
}
#main .all-news .new-feature-card .new-feature-card__info {
  margin-bottom: 24px;
}
#main .all-news .new-feature-card .new-feature-card__label {
  color: var(--Neutral-900, #151518);
  font-size: 14px;
  line-height: 18px;

  display: inline-flex;
  padding: 2px 4px;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  background: var(--Secondary-100, #CFE8FD);
  margin-inline-end: 8px;
}
#main .all-news .new-feature-card .new-feature-card__date {
  color: var(--Neutral-900, #151518);
  font-size: 14px;
  line-height: 18px;
}
#main .all-news .new-feature-card .new-feature-card__title {
  color: var(--Gray-900, #101828);
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 16px;
}
#main .all-news .new-feature-card .new-feature-card__description {
  color: var(--Neutral-700, #52545E);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}
#main .all-news .new-feature-card .new-feature-card__category_list {
  color: var(--Neutral-700, #52545E);
  font-size: 16px;
  line-height: 24px;
  margin-block-end: 24px;
}
#main .all-news .new-feature-card .new-feature-card__cta {
  padding: 8px 16px;
  font-size: 16px;
  line-height: 24px;
  margin-block-end: 32px;
}
#main .request-a-feature {
  display: flex;
  flex-direction: column;
  padding: 64px 16px;
}
#main .request-a-feature .request-a-feature__icon {
  margin-block-end: 24px;
}
#main .request-a-feature .request-a-feature__title {
  color: var(--Neutral-900, #151518);
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.64px;
  margin-block-end: 16px;
}
#main .request-a-feature .request-a-feature__subtitle {
  color: var(--Neutral-700, #52545E);
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  margin-block-end: 32px;
}
#main .request-a-feature .request-a-feature__cta {
  margin-block-end: 64px;
}
#main .request-a-feature .request-a-feature__img {
  height: 512px;
  object-fit: cover;
}

#main .responsive-wrapper {
  max-width: var(--content-max-width, 1320px);
  margin-inline: auto;
  box-sizing: content-box;
}

@media screen and (min-width: 680px) {
  #main > header {
    flex-direction: row;
    padding: 96px calc(1/12 * 100%);
    justify-content: center;
    gap: 40px;
  }
  #main .featured-news {
    padding-block: 96px;
  }
  #main .featured-news .swiper {
    padding-inline: calc(1/12 * 100%);
  }
  #main .featured-news__slide {
    display: flex;
    padding: 96px;
    gap: 40px;
    margin-right: 40px; /* Improves styling before swiper script loads by separating the slides. The value for this margin-right should be the same as the space-between value in swiperjs script. */
  }
  #main .featured-news__slide .slide__img {
    width: 100%;
  }
  #main .featured-news__slide .slide__img-container {
    max-width: 447px;
    width: 50%;
    flex-grow: 0;
    flex-shrink: 0;
  }
  #main .all-news {
    padding: 96px calc(1/12 * 100%);
  }
  #main .all-news .category-list {
    justify-content: space-between;
    margin-block-end: 96px;
  }
  #main .all-news .new-feature-cards__wrapper {
    grid-template-columns: minmax(328px, 640px) minmax(328px, 640px);
  }
  #main .all-news .new-feature-card__img {
    width: 100%;
    padding-inline: 51.5px;
  }
  #main .request-a-feature {
    padding: 96px calc(1/12 * 100%);
    flex-direction: row;
    gap: 40px;
  }
  #main .request-a-feature .request-a-feature__content-wrapper,
   #main .request-a-feature  .request-a-feature__img-wrapper {
    flex-basis: 50%;
  }
  #main .request-a-feature .request-a-feature__img {
    height: auto;
  }
  @media screen and (min-width: 1920px) {
    #main .featured-news .swiper {
      padding-inline: calc((100% - var(--content-max-width, 1320px)) / 2);
    }
    #main .featured-news__slide {
      width: var(--content-max-width, 1320px);
    }
  }
}