/* Hero as <img>: giữ nguyên tỉ lệ, không crop, vẫn có viền vàng */
.hero-section {
  position: relative;
  border-radius: 12px;
  isolation: isolate;
  /* để viền pseudo không che nội dung */
  background: none !important;
  /* tắt nền cũ nếu có */
  height: auto !important;
  /* bỏ mọi chiều cao vh cũ */
  overflow: hidden;
  /* bo góc hình */
}

/* Giữ viền vàng gradient đang có ::before */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* độ dày viền */
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* Ảnh tự co theo bề ngang, giữ tỉ lệ gốc */
.hero-section .hero-media {
  display: block;
  width: 100%;
  height: auto;
  /* giữ tỉ lệ gốc */
  border-radius: inherit;
}

/* Đảm bảo text đè lên ảnh */
.profile-banner .hero-text-wrapper {
  z-index: 1;
}

.profile-banner .hero-text-wrapper {
  position: absolute;
  bottom: 30%;
  right: 10%;
  /* transform: translateY(-50%); */
  text-align: center;
  z-index: 1;
}

.profile-banner .hero-text-wrapper.longcontent {
  bottom: 20% !important;
  transition: bottom 0.3s ease;
}

.profile-banner .hero-category {
  font-size: 52px;
  text-transform: capitalize;
  color: var(--white);
  font-weight: var(--fw-light);
  letter-spacing: 0.01em;
  margin-bottom: 0;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.profile-banner .hero-title {
  font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 88px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background: linear-gradient(-45deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  margin-top: 0;
}

.profile-content-section {
  padding: 4rem 0;
}

.profile-banner {
  padding: 2rem 0;
}

.profile-header {
  padding: 0 0 1.5rem 0;
}

.profile-title {
  font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-extrabold);
  font-size: 78px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--dark-green);
  text-transform: uppercase;
  margin: 0;
}

.profile-content-section .profile-summary {
  font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-medium);
  font-size: 28px;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--dark-green);
  padding: 1rem 0 1rem;
  text-align: justify;
}

.profile-content-section .profile-summary strong {
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
}

.profile-content-section .profile-content-body p {
  font: inherit;
  letter-spacing: inherit;
  color: var(--dark-green);
  text-align: justify;
}

.profile-content-section .profile-content-body li {
  font: inherit;
  letter-spacing: inherit;
  color: var(--dark-green);
  text-align: justify;
}

.profile-content-section-quote {
  padding: 2rem 1rem 0rem 1rem;
}

/* .profile-content-section-quote p.quote-title {
  /* font-size: 24px;
  color: var(--dark-green);
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
   */
/* font-weight: var(--fw-medium);
font-size: 24px;
letter-spacing: 0.01em;
line-height: 1.1;
color: var(--dark-green);
text-transform: uppercase;
margin: 0;
text-align: center;
} */

.sub-title {
  font-size: 32px;
  font-weight: var(--fw-regular);
  margin-bottom: 10px;
  color: var(--dark-green);
  padding: 2rem 0 1rem 0;
}

.carousel-inner p {
  font-size: 34px;
  font-weight: var(--fw-light);
  letter-spacing: 1px;
  text-align: center;
}

p.quote-author {
  font-size: 24px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0px 0;
}

.quote-carousel-btn img {
  width: 20px;
}

.quote-carousel-btn {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.quote-carousel-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.content-representative h4 {
  font-size: 24px;
  color: var(--dark-green);
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  padding: 2rem 0 20px 0;
}

.content-representative ul {
  font-size: 24px;
  color: var(--dark-green);
  font-weight: var(--fw-light);
  letter-spacing: 0.01em;
}

.content-representative ul li {
  padding: 0.5rem 0;
}

/* News Section */
.section-content-heritage.art-culture .news-content {
  padding: 0rem 0 3em 0;
  border-bottom: 1px solid rgba(27, 54, 27, 0.5);
  border-top: 0px solid rgba(27, 54, 27, 0.5);
}
.section-content-heritage .article-bottom-carousel-wrapper {
  padding: 3rem 0 3em 0;
  border-bottom: 1px solid rgba(27, 54, 27, 0.5);
  border-top: 1px solid rgba(27, 54, 27, 0.5);
}

.news-content-disan {
  padding: 3rem 0 3rem 0;
}

.nhan-vat-di-san-detail .profile-content-section-quote p.quote-title {
  padding: 4rem 0 2rem 0;
}

.nhan-vat-di-san-detail .profile-content-section-quote {
  padding: 2rem 1rem 1rem 1rem;
}

.news-content {
  padding: 5rem 0 3em 0;
  border-bottom: 1px solid rgba(27, 54, 27, 0.5);
  border-top: 1px solid rgba(27, 54, 27, 0.5);
}

.media-content h3 {
  font-size: 24px;
  color: var(--dark-green);
  font-weight: var(--fw-light);
  letter-spacing: 0.01em;
  padding-top: 3px;
  margin: 0;
}

.media-content h3 span {
  font-weight: var(--fw-extrabold);
}

.media-content p.profile-title {
  font-style: italic;
  line-height: 1.5;
  font-weight: var(--fw-light);
}

.media-content p {
  font-size: 24px;
  color: var(--dark-green);
  font-weight: var(--fw-light);
  letter-spacing: 0.01em;
  text-align: justify;
  line-height: 1.2;
}

.media-img {
  border-radius: 8px;
  overflow: hidden;
}

.profile-img {
  position: relative;
  width: 100%;
  aspect-ratio: 896 / 472;
  overflow: hidden;
  border-radius: 12px;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.content-section-heritage {
  padding: 4rem 0 5rem 0;
}

.heritage-content {
  padding: 1rem 0 0 0;
}

.heritage-card {
  padding: 0;
  margin-top: -2rem;
}

.heritage-content p {
  padding: 1rem 0;
}

.heritage-content p:last-child {
  padding: 1rem 0 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.category-card {
  position: relative;
  height: 200px;
  background-size: cover;
  object-fit: contain;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: 0;
}

.category-card:hover {
  transform: scale(1.02);
}

.category-card-standard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(101, 67, 33, 0.65);
  z-index: 1;
}

.category-card-large::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(70, 90, 80, 0.35);
  z-index: 1;
}

.category-card-large {
  height: 200px;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  z-index: 2;
}

.category-label {
  color: var(--white);
  font-size: 34px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.category-text-large {
  color: var(--white);
  font-size: 2rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  font-family: "Alumni Sans", sans-serif;
  line-height: 1.3;
}

.category-text-small {
  color: var(--light-green);
  font-size: 0.85rem;
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-family: "Alumni Sans", sans-serif;
}

/* Art & Culture Carousel */
.art-culture-carousel-wrapper {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(27, 54, 27, 0.5);
  border-top: 1px solid rgba(27, 54, 27, 0.5);
  position: relative;
}

.art-culture-carousel-control {
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  padding: 0;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.art-culture-carousel-control img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.art-culture-carousel-control.carousel-control-prev {
  left: 10px;
}

.art-culture-carousel-control.carousel-control-next {
  right: 10px;
}

.art-culture-carousel-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.art-culture-carousel-control:not(:disabled):hover {
  opacity: 0.8;
}

#artCultureCarousel .carousel-item {
  padding: 0;
}

#artCultureCarousel .carousel-inner {
  position: relative;
}

/* ===== Quote block (match design) ===== */
.nhan-vat-di-san-detail .profile-content-section-quote p.quote-title {
  /* font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 37px;
  color: var(--dark-green);
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase; */
  font-weight: var(--fw-medium);
  font-size: 37px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--dark-green);
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

/* Áp cho <p> thứ 2 (không có class) trong khối quote */
.nhan-vat-di-san-detail .profile-content-section-quote > p:not(.quote-title) {
  font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-light);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--dark-green);
  text-align: justify;
}

/* ===== Reusable highlight box for profile side panel ===== */
.content-highlight {
  background: #ecf6ec;
  /* nền khối như mockup */
  border-radius: 6px;
  padding: 16px 18px 20px;
}

/* Tiêu đề: Alumni Sans Bold 40, Green, letter-spacing ~1%  */
.content-highlight .highlight-title {
  /* font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-bold);
  font-size: 37px;
  color: var(--dark-green);
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase; */
  font-weight: var(--fw-medium);
  font-size: 37px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--dark-green);
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.content-highlight .highlight-detail p {
  font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-light);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--dark-green);
  text-align: justify;
}

/* Danh sách: Alumni Sans Medium Italic 37, Green, bullet chấm tròn */
.content-highlight .highlight-detail {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-highlight .highlight-detail li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  font-family: "Alumni Sans", sans-serif;
  font-weight: var(--fw-medium);
  /* Medium */
  font-style: italic;
  /* Italic */
  font-size: 27px;
  letter-spacing: 0.01em;
  /* 1% */
  line-height: 1.25;
  color: var(--dark-green);
  /* Green */
}

.content-highlight .highlight-detail li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(0);
  /* canh bullet */
  font-size: 24px;
  /* kích thước chấm */
  color: var(--dark-green);
  line-height: 1.2;
}

. {
  padding: 3rem 0 4rem 0;
}

.article-bottom-carousel-wrapper {
  position: relative;
  padding: 0;
}

/* Multi-carousel container for news bottom section */
#articleBottomMultiCarousel,
#heritagePeopleMultiCarousel {
  cursor: grab;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

#articleBottomMultiCarousel.dragging,
#heritagePeopleMultiCarousel.dragging {
  cursor: grabbing;
}

#articleBottomCarouselInner,
#heritagePeopleCarouselInner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Desktop: 3 items per slide (33.33% each) */
#articleBottomMultiCarousel .multi-carousel-item,
#heritagePeopleMultiCarousel .multi-carousel-item,
#articleBottomMultiCarousel .clone,
#heritagePeopleMultiCarousel .clone {
  box-sizing: border-box;
  flex: 0 0 33.33333333333333%;
  padding: 0 15px;
  position: relative;
}

/* Carousel controls positioning - override art-culture-carousel-control */
.article-bottom-carousel-wrapper .multi-carousel-control-prev,
.article-bottom-carousel-wrapper .multi-carousel-control-next {
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  text-decoration: none;
  top: 30%;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  width: 40px;
  z-index: 10;
  opacity: 1;
  padding: 0;
}

.article-bottom-carousel-wrapper .multi-carousel-control-prev {
  left: -50px;
}

.article-bottom-carousel-wrapper .multi-carousel-control-next {
  right: -50px;
}

.article-bottom-carousel-wrapper .multi-carousel-control-prev:hover:not(.disabled),
.article-bottom-carousel-wrapper
  .multi-carousel-control-next:hover:not(.disabled) {
  opacity: 0.8;
}

.article-bottom-carousel-wrapper .art-culture-carousel-control img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.news-bottom-content {
  padding: 0;
}

.article-bottom-title {
  color: var(--dark-green);
  font-size: 24px;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-bottom-subtitle {
  color: var(--dark-green);
  font-weight: var(--fw-light);
  letter-spacing: 0.01em;
  line-height: 1.6;
  margin: 0;
}
/* Desktop carousel controls positioning */
@media (min-width: 768px) {
  .article-bottom-carousel-wrapper .multi-carousel-control-prev {
    left: -50px;
  }

  .article-bottom-carousel-wrapper .multi-carousel-control-next {
    right: -50px;
  }
}
/* ==== PC base (mặc định) = xxl ≥1400px ==== */
/* Viết style mặc định ở ngoài media (áp cho ≥1400px) */
/* === LỚP CHUNG (down): ghi đè dần từ lớn → nhỏ === */
/* ≤1399.98 = xl & down */
@media (max-width: 1399.98px) {
  /* override chung cho ≤xl */
  .profile-banner .hero-category {
    font-size: 35px;
  }

  .profile-banner .hero-title {
    font-size: 70px;
  }
}

/* ≤1199.98 = lg & down */
@media (max-width: 1199.98px) {
  /* override chung cho ≤lg */
  .hero-banner {
    height: 50vh;
  }

  .profile-banner .hero-category {
    font-size: 30px;
  }

  .profile-banner .hero-title {
    font-size: 60px;
  }
}

/* ≤991.98 = md & down (tablet & phone) */
@media (max-width: 991.98px) {
  /* override chung cho ≤md */
  .hero-banner {
    height: 36vh;
  }

  .profile-banner .hero-category {
    font-size: 25px;
  }

  .profile-banner .hero-title {
    font-size: 50px;
  }
}

/* ≤767.98 = sm & down (phone) */
@media (max-width: 767.98px) {
  /* override chung cho ≤sm */
  /* Hero Section Mobile */
  /* .profile-banner .hero-section {
    border-radius: 6px;
  } */
  .profile-banner .section-title {
    padding: 0rem 0 1rem 0;
  }

  .profile-banner .hero-text-wrapper {
    position: absolute;
    transform: none;
    width: auto;
    z-index: 10;
  }

  .profile-banner .hero-category {
    font-size: 20px;
  }

  .profile-banner .hero-title {
    font-size: 40px;
  }

  .profile-content-section .profile-summary {
    font-size: 24px;
  }

  .profile-content-section {
    padding: 2rem 0;
  }

  .profile-title {
    font-size: 65px;
  }

  .profile-content-section-quote {
    margin-top: 0rem;
    padding: 0rem 10px 2rem 10px;
  }

  .profile-content-section-quote p.quote-title {
    font-size: 20px;
    color: var(--dark-green);
    font-weight: var(--fw-bold);
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0rem 0 0rem 0;
  }

  .nhan-vat-di-san-detail .profile-content-section-quote p.quote-title {
    padding: 0rem 0 2rem 0;
  }

  .profile-content-section-quote .carousel-inner {
    padding: 0;
  }

  .profile-content-section-quote .carousel-inner p {
    font-size: 20px;
    font-weight: var(--fw-regular);
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.6;
    padding: 0 1rem;
  }

  .quote-carousel-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.5rem 0;
    margin-top: 1.5rem;
  }

  .quote-carousel-btn {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .quote-carousel-btn img {
    width: 14px;
    height: auto;
  }

  p.quote-author {
    font-size: 20px;
    font-weight: var(--fw-regular);
    letter-spacing: 0.01em;
    text-align: center;
    margin: 0;
    color: var(--dark-gray);
  }

  .content-representative h4 {
    font-size: 22px;
    color: var(--dark-green);
    font-weight: var(--fw-bold);
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 0 0 1.5rem 0;
    margin-bottom: 0;
  }

  .content-representative ul {
    font-size: 20px;
    color: var(--dark-gray);
    font-weight: var(--fw-regular);
    letter-spacing: 0.01em;
    padding-left: 0;
    list-style: none;
  }

  .content-representative ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding: 0rem 0rem 0rem 1.5rem;
    line-height: 1.5;
  }

  .content-representative ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dark-green);
    font-size: 20px;
    font-weight: var(--fw-bold);
  }

  .profile-content-section .row {
    margin: 0;
  }

  .profile-content-section .col-lg-9,
  .profile-content-section .col-lg-3 {
    padding: 0 15px;
    width: 100%;
  }

  .content-section-heritage {
    padding: 2rem 0 4rem 0;
  }

  .sub-title {
    padding: 0rem 0 0rem 0;
    font-size: 28px;
  }

  .art-culture-carousel-wrapper {
    padding: 3rem 2rem 2.5rem 2rem;
  }

  .art-culture .art-culture-carousel-wrapper {
    border-top: 0px solid rgba(27, 54, 27, 0.5);
  }

  .art-culture-carousel-control {
    width: 28px;
    height: 28px;
  }

  .art-culture-carousel-control.carousel-control-prev {
    left: -2.2rem;
  }

  .art-culture-carousel-control.carousel-control-next {
    right: -2.2rem;
  }

  .media-content h3 {
    font-size: 18px;
  }

  .media-content h3 span {
    font-size: 18px;
  }

  .media-content p {
    font-size: 16px;
  }

  #artCultureCarousel .media-card {
    margin-bottom: 0;
  }

  #artCultureCarousel .media-img-premium {
    width: 100%;
    height: auto;
  }

  .heritage-card {
    margin-top: 0;
  }

  .heritage-card .col-6 {
    margin-bottom: 1rem;
  }

  .category-card {
    height: 180px;
  }

  .category-card-large {
    height: 180px;
  }

  .category-label {
    font-size: 24px;
    letter-spacing: 1px;
    white-space: normal;
  }

  .content-highlight {
    padding: 12px 14px 14px;
  }

  .content-highlight .highlight-title {
    font-size: 28px;
    /* cân đối trên mobile */
  }

  .content-highlight .highlight-detail p {
    font-size: 24px;
    /* tương đương bố cục hình cuối */
    margin: 8px 0;
    padding-left: 18px;
    padding-right: 18px;
  }

  .content-highlight .highlight-detail li {
    font-size: 24px;
    /* tương đương bố cục hình cuối */
    margin: 8px 0;
    padding-left: 18px;
  }

  .content-highlight .highlight-detail li::before {
    font-size: 18px;
  }

  .nhan-vat-di-san-detail .profile-content-section-quote p.quote-title {
    font-size: 28px;
    /* cho đẹp ở mobile, nếu muốn giữ 37px thì bỏ dòng này */
  }

  .nhan-vat-di-san-detail .profile-content-section-quote > p:not(.quote-title) {
    font-size: 28px;
    /* Hình 3 (mobile) */
  }
  . {
    padding: 3rem 0 0rem 0;
  }

  /* Mobile: 1 item per slide (100%) articleBottomMultiCarousel*/
  #articleBottomMultiCarousel .multi-carousel-item,
  #heritagePeopleMultiCarousel .multi-carousel-item,
  #articleBottomMultiCarousel .clone,
  #heritagePeopleMultiCarousel .clone {
    flex: 0 0 100%;
    padding: 0 2rem;
  }

  .article-bottom-carousel-wrapper .multi-carousel-control-prev,
  .article-bottom-carousel-wrapper .multi-carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .article-bottom-carousel-wrapper .art-culture-carousel-control img {
    width: 25px;
    height: 25px;
  }

  .article-bottom-carousel-wrapper .multi-carousel-control-prev {
    left: -15px;
  }

  .article-bottom-carousel-wrapper .multi-carousel-control-next {
    right: -15px;
  }
}

/* ≤575.98 = xs (phone nhỏ) */
@media (max-width: 575.98px) {
  /* override chung cho ≤xs */
  .profile-banner .hero-category {
    font-size: 18px;
  }

  .profile-banner .hero-title {
    font-size: 30px;
  }

  /* Content Section Jazz Small Mobile */
  .profile-content-section {
    padding: 1.5rem 0;
  }

  .profile-banner .hero-text-wrapper.longcontent {
    bottom: 8% !important;
    transition: bottom 0.3s ease;
  }

  .profile-title {
    font-size: 45px;
  }

  .profile-content-section .profile-summary {
    font-size: 24px;
  }

  .quote-carousel-btn img {
    width: 14px;
  }

  /* Featured Works Small Mobile */
  .content-representative h4 {
    padding: 0 0 1rem 0;
  }

  .category-card {
    height: 150px;
  }

  .category-card-large {
    height: 150px;
  }

  .category-label {
    font-size: 20px;
    letter-spacing: 0.01em;
  }

  .heritage-card .g-3 {
    --bs-gutter-y: 1rem;
  }
}

/* === LỚP RIÊNG (range): chỉ áp cho đúng 1 band === */
/* xxl only: ≥1400 */
@media (min-width: 1400px) {
  /* override riêng cho xxl nếu cần */
}

/* xl only: 1200–1399.98 */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* override chỉ xl */
}

/* lg only: 992–1199.98 */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* override chỉ lg (laptop phổ biến) */
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .media-content h3,
  .media-content h3 span {
    font-size: 24px;
    /* margin-left: 4px; */
    letter-spacing: 1px;
  }

  .media-content p {
    font-size: 20px;
    letter-spacing: 1px;
    text-align: justify;
    line-height: 1.2;
  }

  .category-label {
    font-size: 30px;
    letter-spacing: 1px;
    text-align: center;
  }
}

/* md only: 768–991.98 */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* override chỉ md (tablet) */
}

/* sm only: 576–767.98 */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* override chỉ sm (phone lớn) */
}
