.blog-featured {
  position: relative;
  padding: 5.94rem 0 3.37rem 0;
}
.blog-featured__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.blog-featured__image-decor {
  position: absolute;
  top: 11.38rem;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.blog-featured__image-decor img {
  width: auto;
  height: 29.76606rem;
}

.blog-featured__image-decor-2 {
  position: absolute;
  top: 6.56rem;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.blog-featured__image-decor-2 img {
  width: auto;
  height: 26.2035rem;
}

.blog-featured-container {
  position: relative;
  max-width: 82.5rem;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.blog-featured-inner {
  position: relative;
  border-radius: 1.5rem;
  background: var(--Main-Colors-Brown-6, #99835e);
  display: flex;
  overflow: hidden;
}
.blog-featured__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.blog-featured__background--mobile {
  display: none;
}
.blog-featured__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured__swiper-thumbnail,
.blog-featured__swiper-content {
  flex-basis: 50%;
  flex-shrink: 0;
  max-width: 50%;
  align-self: stretch;
}
.blog-featured__swiper-thumbnail {
  height: 31.25rem;
  border-radius: inherit;
  overflow: hidden;
}
.blog-featured__swiper-thumbnail-wrapper,
.blog-featured__swiper-thumbnail-slide,
.blog-featured__thumbnail,
.blog-featured__thumbnail img {
  width: 100%;
  height: 100%;
}
.blog-featured__swiper-thumbnail-wrapper {
  position: relative;
  z-index: 0;
}
.blog-featured__swiper-thumbnail-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 10.0625rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
}
.blog-featured__thumbnail img {
  object-fit: cover;
}
.blog-featured__swiper-thumbnail-pagination-container {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 1.5rem;
  z-index: 2;
}
.blog-featured__swiper-thumbnail-pagination {
  width: 34.875rem !important;
  height: 0.24713rem !important;
  margin-left: auto;
  margin-right: auto;
  position: static;
  border-radius: 0.25rem;
  background: rgba(204, 204, 204, 0.44);
}
.blog-featured__swiper-thumbnail-pagination
  .swiper-pagination-progressbar-fill {
  background: #fff;
}
.blog-featured__swiper-content {
  padding: 2.625rem 4rem 2.625rem 2.5rem;
}
.blog-featured__swiper-content-wrapper,
.blog-featured__swiper-content-slide,
.blog-featured__content {
  width: 100%;
  height: 100%;
}
.blog-featured__swiper-content-slide {
  position: relative;
}
.blog-featured__swiper-content-slide__category {
  display: flex;
  height: 1.625rem;
  padding: 0rem 0.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: #fff;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.blog-featured__swiper-content-slide__category-text {
  color: #295d2f;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  /*line-height: 120%;*/
  text-transform: uppercase;
}

.blog-featured__swiper-content-slide__title {
  color: var(--main-colors-black-white-white, #fff);
  text-shadow: 0 2.951px 8.04px rgba(9, 9, 9, 0.07);
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.0375rem;
  margin-bottom: 0.875rem;
}
.blog-featured__swiper-content-slide__excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.02rem;
}
.blog-featured__swiper-content-slide__title,
.blog-featured__swiper-content-slide__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.blog-featured__btn-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  padding: 0 0.375rem 0 1.5rem;
  border-radius: 0.75rem;
  background: #2d6635;
  width: 11.5625rem;
  flex-shrink: 0;
  /*box-shadow: 0 4px 35.2px 0 rgba(178, 249, 215, 0.39);*/
}
.blog-featured__btn-detail-text--mb {
  display: none;
}
.blog-featured__btn-detail-text {
  color: #fff;
  font-family: SVN-Optima;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 1.2rem */
  letter-spacing: -0.03rem;
  text-transform: uppercase;
}
.blog-featured__btn-detail-icon {
  margin-left: 0.75rem;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
  will-change: transform, background;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: #f0fbf2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured__btn-detail-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  /* màu khi hover */
  background: #b98951;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.blog-featured__btn-detail {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured__btn-detail:hover {
  box-shadow: 0 4px 35.2px 0 rgba(232, 203, 130, 0.39);
}
.blog-featured__btn-detail:hover span::before {
  width: 4rem;
  height: 4rem;
  background: #7fc828;
  opacity: 1;
}

.blog-featured__btn-detail:active span {
  transform: scale(0.95);
  transition-duration: 0.1s;
}

/* Icon styling */
.blog-featured__btn-detail span img {
  position: relative;
  z-index: 1;
  width: 50%;
  height: 50%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Change icon color to white on hover */
.blog-featured__btn-detail:hover span img {
  filter: brightness(0) invert(1);
}

.blog-featured__btn-detail span img {
  width: 45%;
  height: 45%;
  object-fit: contain;
  transform: translateX(0.094rem);
}

.blog-featured__swiper-cta {
  position: absolute;
  bottom: 2.625rem;
  left: 0;
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.blog-featured__swiper-nav {
  display: flex;
  align-items: center;
}
.blog-featured__swiper-nav-btn {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 0.0625rem solid var(--Stroke-Stroke-2, #ededed);
  background: var(--Background-White, #fff);
  cursor: pointer;
}
.blog-featured__swiper-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.blog-featured__swiper-nav-btn img {
  width: auto;
  height: 1.5rem;
}
.blog-featured__swiper-nav-btn--prev {
  margin-right: 0.75rem;
}
.blog-featured__swiper-nav-btn--prev img {
  rotate: 180deg;
}
/* @media screen and (min-width: 1024px) {
  .blog-featured__btn-detail:hover .blog-featured__btn-detail-icon::before {
    transform: translate(-50%, -50%) scale(1);
    background: var(--Main-Colors-Secondary-500, #7fc828);
  }
  .blog-featured__btn-detail:hover .blog-featured__btn-detail-icon img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(45%)
      hue-rotate(302deg) brightness(118%) contrast(101%);
  }
} */
@media screen and (max-width: 639.98px) {
  .blog-featured {
    padding: 1.5rem 1rem;
    padding-top: calc(1.5rem + 3.75rem);
  }
  .blog-featured__image-decor,
  .blog-featured__image-decor-2,
  .blog-featured__background--pc {
    display: none;
  }
  .blog-featured-inner {
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
  }
  .blog-featured__background--mobile {
    display: block;
  }
  .blog-featured__swiper-thumbnail,
  .blog-featured__swiper-content {
    flex-basis: auto;
    flex-shrink: 0;
    max-width: 100%;
    align-self: stretch;
  }
  .blog-featured__swiper-thumbnail-wrapper::after {
    height: 7.25rem;
  }
  .blog-featured__swiper-thumbnail {
    height: 15.4375rem;
  }

  .blog-featured__swiper-thumbnail-pagination-container {
    bottom: 1rem;
  }
  .blog-featured__swiper-thumbnail-pagination {
    width: 17.875rem !important;
    height: 0.125rem !important;
  }
  .blog-featured__swiper-content {
    height: 19.3125rem;
    padding: 1.25rem 0.75rem 1rem;
  }
  .blog-featured__swiper-content-slide__category {
    height: 1.375rem;
    padding: 0rem 0.625rem;
    border-radius: 0.375rem;
    margin-bottom: 0.625rem;
  }
  .blog-featured__swiper-content-slide__category-text {
    font-size: 0.625rem;
  }
  .blog-featured__swiper-content-slide__title {
    font-size: 1.125rem;
    line-height: 140%;
    letter-spacing: -0.0225rem;
    margin-bottom: 0.75rem;
  }
  .blog-featured__swiper-content-slide__excerpt {
    font-size: 0.875rem;
    letter-spacing: 0.00219rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
  .blog-featured__btn-detail {
    justify-content: flex-end;
    height: 2.25rem;
    padding: 0rem;
    border-radius: 0rem;
    background: transparent;
    box-shadow: none;
  }
  .blog-featured__btn-detail-text--mb {
    display: block;
    color: #fff;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
  .blog-featured__btn-detail-text,
  .blog-featured__btn-detail-icon {
    display: none;
  }
  .blog-featured__swiper-cta {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    bottom: 1rem;
  }
  .blog-featured__swiper-nav-btn {
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    border-radius: 0.375rem;
    border-width: 0.046875rem;
  }
  .blog-featured__swiper-nav-btn img {
    width: 1rem;
    height: auto;
  }
  .blog-featured__swiper-nav-btn--prev {
    margin-right: 0.5rem;
  }
}
