/**
 * SectionYH – Swiper 3D Coverflow
 * Scope: #sectionYH only, không ảnh hưởng section khác.
 */
#sectionYH .yh-coverflow {
  position: relative;
  padding: 0 0 48px;
  overflow: hidden;
}

#sectionYH .yh-coverflow .swiper {
  overflow: visible;
}

#sectionYH .yh-coverflow .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

/* Card */
#sectionYH .yh-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#sectionYH .yh-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Ảnh chuẩn tỉ lệ – fix CLS */
#sectionYH .yh-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  overflow: hidden;
}

#sectionYH .yh-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

/* Nội dung */
#sectionYH .yh-card__body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#sectionYH .yh-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#sectionYH .yh-card__title a {
  color: inherit;
  text-decoration: none;
}

#sectionYH .yh-card__title a:hover {
  color: var(--hos-green, #017A48);
}

#sectionYH .yh-card__text {
  margin: 0;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#sectionYH .yh-card__btn {
  margin-top: auto;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Navigation & Pagination – scoped */
#sectionYH .yh-coverflow .swiper-button-prev,
#sectionYH .yh-coverflow .swiper-button-next {
  color: var(--hos-green, #017A48);
}

#sectionYH .yh-coverflow .swiper-pagination-bullet {
  background: rgba(1, 122, 72, 0.4);
}

#sectionYH .yh-coverflow .swiper-pagination-bullet-active {
  background: var(--hos-green, #0CAE74);
}


