/* Article card visuals shared by the Blog grid and product related articles. */
.blog > .inner > .section2 > .item,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border-radius: 6px;
}

.blog > .inner > .section2 > .item > .img,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.blog > .inner > .section2 > .item > .img > img,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.blog > .inner > .section2 > .item > .img:hover > img,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .img:hover > img {
  transform: scale(1.05);
}

.blog > .inner > .section2 > .item > .content,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 10px 30px;
  border-radius: 0 0 6px 6px;
  background: #141517;
}

.blog > .inner > .section2 > .item > .content > .top,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog > .inner > .section2 > .item > .content > .top > .category > p,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .top > .category > p {
  margin: 0;
  color: #96d100;
  font-family: "Urbanist", "OPPOSans", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.125rem;
  text-transform: capitalize;
}

.blog > .inner > .section2 > .item > .content > .top > .date > p,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .top > .date > p {
  margin: 0;
  color: #666;
  font-family: "Urbanist", "OPPOSans", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
  text-transform: uppercase;
}

.blog > .inner > .section2 > .item > .content > .title,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .title {
  margin-top: 10px;
}

.blog > .inner > .section2 > .item > .content > .title > p,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .title > p {
  display: -webkit-box;
  max-height: 72px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: "Urbanist", "OPPOSans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  text-transform: capitalize;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  transition: color 0.5s ease;
}

.blog > .inner > .section2 > .item:hover > .content > .title > p,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide:hover > .content > .title > p {
  color: #96d100;
}

.blog > .inner > .section2 > .item > .content > .desc,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .desc {
  margin-top: 10px;
}

.blog > .inner > .section2 > .item > .content > .desc > p,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .desc > p {
  display: -webkit-box;
  max-height: 85px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: "Urbanist", "OPPOSans", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.0625rem;
  text-overflow: ellipsis;
  text-transform: capitalize;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.blog > .inner > .section2 > .item > .content > .more,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .more {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.blog > .inner > .section2 > .item > .content > .more > svg,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .more > svg {
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 14px;
}

.blog > .inner > .section2 > .item > .content > .more > p,
.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .more > p {
  margin: 0;
  color: #666;
  font-family: "Urbanist", "OPPOSans", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.875rem;
  text-transform: capitalize;
}

.relatedArticles > .inner > .section2 {
  margin-top: 40px;
}

.relatedArticles > .inner > .section2 > .swiper {
  overflow: hidden;
}

.relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper {
  align-items: stretch;
}

/* Shared responsive sizing for article cards in the carousel. */
#app .relatedArticles .content > .title > p {
  font-size: clamp(1rem, calc(.75rem + .7vw), 1.25rem);
  line-height: 1.25;
}

#app .relatedArticles .content > .desc > p {
  font-size: clamp(.8125rem, calc(.75rem + .16vw), .875rem);
  line-height: 1.4;
}

@media (max-width: 1280px) {
  #app .relatedArticles .content {
    padding-right: clamp(1rem, 2vw, 1.375rem);
    padding-left: clamp(1rem, 2vw, 1.375rem);
  }
}

@media (max-width: 1024px) {
  #app .relatedArticles .content {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 640px) {
  #app .relatedArticles .content {
    padding: .75rem .875rem 1rem;
  }
}

/* Card type and spacing scale continuously between the grid breakpoints. */
@media (max-width: 1280px) {
  .blog > .inner > .section2 > .item > .content,
  .relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content {
    padding-right: clamp(1.25rem, 2.1vw, 1.875rem);
    padding-left: clamp(1.25rem, 2.1vw, 1.875rem);
  }

  .blog > .inner > .section2 > .item > .content > .title > p,
  .relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .title > p {
    font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .blog > .inner > .section2 > .item > .content > .top > .category > p,
  .relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .top > .category > p {
    font-size: 0.8125rem;
  }

  .blog > .inner > .section2 > .item > .content > .desc > p,
  .relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .desc > p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  .blog > .inner > .section2 > .item > .content,
  .relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content {
    padding-right: 1.125rem;
    padding-left: 1.125rem;
  }

  .blog > .inner > .section2 > .item > .content > .title > p,
  .relatedArticles > .inner > .section2 > .swiper > .swiper-wrapper > .swiper-slide > .content > .title > p {
    font-size: 1.125rem;
    line-height: 1.4;
  }
}
