.tab-blogs .slick-dots {
  padding: 0;
}

.recent-carousel-wrapper {
  margin: 0 !important;
}

.recent-carousel-wrapper .recent-slide {
  display: flex;
  flex-direction: column-reverse;
  height: auto !important;
  flex: 1;
}

.recent-carousel-wrapper .recent-slide .text-card {
  background: white;
  padding: 20px 30px;
  box-shadow: 0px 1px 4px 0px #00000026;
  border-radius: 0 0 0.5rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recent-carousel-wrapper .recent-slide .text-card .article-title {
  font-size: 1.25rem;
  line-height: 1.8rem;
  font-family: "Nunito Sans", serif;
  font-weight: 700;
  padding-bottom: 1rem;
  color: black;
}

.recent-carousel-wrapper .recent-slide .text-card .text-card-footer {
  padding-top: 20px;
  justify-content: space-between;
  margin-top: auto;
}

.recent-carousel-wrapper .recent-slide .text-card .text-card-footer span {
  font-size: 0.75rem;
}

.recent-carousel-wrapper .recent-slide .text-card .text-card-footer span:first-child {
  margin-right: 1rem;
}

.recent-carousel-wrapper .recent-slide .text-card .text-card-footer div {
  width: 100% !important;
}

.recent-carousel-wrapper .recent-slide .article-image {
  width: 100%;
  right: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  height: 200px;
  object-fit: cover;
}

.recent-carousel-wrapper .recent-slide .content-text {
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-carousel-wrapper .slick-arrow {
  background-color: var(--color-purple);
  padding: 0.5rem 0.6rem 0.3rem 0.6rem;
  width: auto;
  height: auto;
  border-radius: 2rem;
  z-index: 5;
  top: 45%;
}

.recent-carousel-wrapper .slick-arrow:hover {
  background: var(--button-hover);
}

.recent-carousel-wrapper .slick-arrow:active {
  box-shadow: 0 -4px 5px 0 rgba(0, 0, 0, 0.25) inset;
}

.recent-carousel-wrapper .slick-prev {
  left: -1.5rem;
}

.recent-carousel-wrapper .slick-prev:before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" style="transform: rotate(90deg)" width="24" height="24" fill="%23ffffff" viewBox="0 0 24 24"><path d="M12 17.414 3.293 8.707l1.414-1.414L12 14.586l7.293-7.293 1.414 1.414L12 17.414z"/></svg>');
  opacity: 1;
  line-height: normal;
}

.recent-carousel-wrapper .slick-next {
  right: -1.5rem;
}

.recent-carousel-wrapper .slick-next:before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" style="transform: rotate(270deg)" width="24" height="24" fill="%23ffffff" viewBox="0 0 24 24"><path d="M12 17.414 3.293 8.707l1.414-1.414L12 14.586l7.293-7.293 1.414 1.414L12 17.414z"/></svg>');
  opacity: 1;
  line-height: normal;
}

.recent-carousel-wrapper .slick-slide {
  display: flex;
  height: auto;
}

.recent-carousel-wrapper .slick-list {
  height: 33rem;
  margin-top: 16px;
}

.tab-blogs .recent-carousel-wrapper .slick-list {
  height: 31rem;
}

.recent-carousel-wrapper .article-author {
  color: var(--color-purple);
}

.recent-carousel-wrapper .slick-track .slick-slide:nth-child(3n+2) {
  margin: 0 16px;
}

.recent-carousel-wrapper .slick-track .slick-slide:nth-child(3n+1) {
  margin-left: 1px;
}

.recent-carousel-wrapper .slick-track .slick-slide:nth-child(3n) {
  margin-right: 3px;
}

.text-center a {
  color: var(--color-purple);
}

@media screen and (max-width: 600px) {
  /* FEATURED */
  .recent-carousel-wrapper .recent-slide {
    flex-direction: column-reverse;
    height: auto !important;
  }

  .recent-carousel-wrapper .recent-slide .text-card .article-title {
    line-height: 1.8rem;
  }
  .recent-carousel-wrapper .recent-slide .article-image {
    width: 100%;
  }
  .slick-dotted.slick-slider {
    margin-bottom: 2rem;
    padding: 30px;
  }
  .slick-dots {
    bottom: 4rem;
    position: initial;
  }
}


@media only screen and (max-width: 1000px) {
  .md\:hidden {
    display: none !important;
  }

  .recent-carousel-wrapper .recent-slide .article-image {
    height: 120px;
  }

  .slick-dotted.slick-slider {
    padding: 0 30px 30px 30px;
  }

  .recent-carousel-wrapper .recent-slide .text-card .article-title {
    font-size: 18px;
  }

  .recent-carousel-wrapper .slick-list {
    height: 26rem;
  }

  /* Resource page changes. */
  .tab-blogs {
    margin: 11px;
  }

  .tabs-outer {
    padding: 0 50px;
  }

  .tabs-arrow--prev {
    left: 1px;
  }

  .tabs-arrow--next {
    right: 1px;
  }

  .tab-blogs .recent-carousel-wrapper .recent-slide {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0px;
    border-bottom: 1px solid var(--color-divider);
  }

  .tab-blogs .recent-carousel-wrapper .recent-slide .text-card {
    flex: 1;
    order: 2;
    padding: 0;
    box-shadow: none;
  }

  .tab-blogs .recent-carousel-wrapper .recent-slide .article-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    order: 1
  }

  .tab-blogs .recent-carousel-wrapper .recent-slide .text-card-footer {
    width: 100%;
    order: 3;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding-top: 8px;
  }

  .tab-blogs .recent-carousel-wrapper .recent-slide .text-card .article-title {
    font-size: 16px;
    line-height: 150%;
    padding-bottom: 0;
  }

  .tab-blogs .recent-carousel-wrapper .recent-slide .content-text {
    display: none;
  }
}

@media screen and (min-width: 600px) and (max-width: 920px) {
  .recent-carousel-wrapper .slick-list {
    height: 22rem;
  }
}
@media screen and (max-width: 500px) {
  .slick-dots {
    bottom: 1rem;
  }
}

.recent-carousel-wrapper .slick-track {
  display: flex;
}

@media screen and (max-width: 430px) {
  .text-card {
    width: 100%;
  }

  .recent-carousel-wrapper .slick-list {
    height: 430px;
  }
}
