/* 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;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 1;
}

.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, .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, .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: 500;
  font-size: 73px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--dark-green);
  text-transform: uppercase;
  margin: 0;
}

.profile-content-section .profile-summary {
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--dark-green);
  padding: 1rem 0 2rem;
}

.profile-content-section .profile-summary strong {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.profile-content-section .profile-content-body p {
  font: inherit;
  letter-spacing: inherit;
  color: var(--dark-green);
}

.profile-content-section-quote {
  padding: 2rem 1rem 0rem 1rem;
}

.profile-content-section-quote p.quote-title {
  font-size: 24px;
  color: #1b361b;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.sub-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #1b361b;

  padding: 2rem 0 1rem 0;
}

.carousel-inner p {
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
}

p.quote-author {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  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: #1b361b;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  padding: 2rem 0 20px 0;
}

.content-representative ul {
  font-size: 24px;
  color: #1b361b;
  font-weight: 300;
  letter-spacing: 2px;
}

.content-representative ul li {
  padding: 0.5rem 0;
}

/* News Section */
.content-section-new.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);
}

.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: #1b361b;
  font-weight: 300;
  letter-spacing: 2px;
  padding: 10px 0;
  margin: 0;
}

.media-content h3 span {
  font-size: 24px;
  color: #1b361b;
  font-weight: 800;
  letter-spacing: 2px;
  margin-left: 10px;
  text-align: center;
}

.media-content p {
  font-size: 24px;
  color: #1b361b;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: justify;
  line-height: 1.2;
}

.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: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  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: 700;
  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: 400;
  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: 700;
  /* Bold */
  font-size: 37px;
  /* Hình 1 */
  color: #1b361b;
  /* Green swatch */
  letter-spacing: 0.01em;
  /* ~1% */
  text-align: center;
  font-style: normal;
}

/* Á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: 300;
  /* Light */
  font-style: italic;
  /* Italic */
  font-size: 40px;
  /* Hình 2 (desktop) */
  line-height: 1.2;
  letter-spacing: 0.01em;
  /* ~1% */
  color: #000000;
  text-align: center;
}


/* ===== Reusable highlight box for profile side panel ===== */
.content-highlight {
  background: #ECF3EC;
  /* 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: "AlumniSans-Bold", sans-serif;
  font-size: 40px;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-transform: uppercase;
  color: #1B361B;
  /* Green swatch */
  margin: 0 0 8px 0;
  text-align: center;
  position: relative;
  align-self: stretch;
}

/* Danh sách: Alumni Sans Medium Italic 37, Green, bullet chấm tròn */
.content-highlight .highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-highlight .highlight-list li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  /* Medium */
  font-style: italic;
  /* Italic */
  font-size: 27px;
  letter-spacing: 0.01em;
  /* 1% */
  line-height: 1.25;
  color: #1B361B;
  /* Green */
}

.content-highlight .highlight-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(0);
  /* canh bullet */
  font-size: 24px;
  /* kích thước chấm */
  color: #1B361B;
  line-height: 1.2;
}



/* ==== 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: 55px;
  }

  .profile-content-section-quote {
    margin-top: 0rem;
    padding: 0rem 10px 2rem 10px;
  }

  .profile-content-section-quote p.quote-title {
    font-size: 20px;
    color: #1b361b;
    font-weight: 700;
    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: 400;
    letter-spacing: 0.01em;
    text-align: center;
    color: #333333;
    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: 400;
    letter-spacing: 0.01em;
    text-align: center;
    margin: 0;
    color: #333333;
  }

  .content-representative h4 {
    font-size: 22px;
    color: #1b361b;
    font-weight: 700;
    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: #333333;
    font-weight: 400;
    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: #1b361b;
    font-size: 20px;
    font-weight: 700;
  }

  .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-list li {
    font-size: 24px;
    /* tương đương bố cục hình cuối */
    margin: 8px 0;
    padding-left: 18px;
  }

  .content-highlight .highlight-list 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) */
  }
}

/* ≤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-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: left;
    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) */
}