/* Common hero + intro styles (reusable across pages) */
/* Prevent horizontal overflow and make media sizing predictable */
html {
  box-sizing: border-box;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.about-tabs {
  overflow-x: auto;
  /* vẫn cho scroll ngang */
  -ms-overflow-style: none;
  /* IE, Edge cũ */
  scrollbar-width: none;
  /* Firefox */
}

/* Chrome / Edge / Safari / Opera */
.about-tabs::-webkit-scrollbar {
  display: none;
}

/* Hero banner */
.th-hero {
  position: relative;
  height: 20vh;
  background-size: 100% 100%;
  z-index: 0;
  padding: 150px 0px;
  overflow: hidden; /* clip any absolutely positioned deco that might extend past viewport */
}

.th-hero__overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.th-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  text-align: center;
  justify-items: center;
  color: #fff;
  margin-top: -20px;
  max-width: min(1280px, 92vw);
  margin-inline: auto;
}

@media (max-width: 1680px) {
  .th-hero {
    height: 40vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
  }

  .th-hero__content {
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .th-hero {
    height: 30vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
  }

  .th-hero__content {
    gap: 0px;
    margin-bottom: 20px;
  }
}

.th-hero__eyebrow {
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
}

.th-hero__title {
  font-weight: 500;
  font-style: Medium;
  font-size: 72px;
  line-height: 90px;
  letter-spacing: -2px;
  text-align: center;
  margin: 0px;
  text-transform: uppercase;
}

.th-hero__subtitle {
  opacity: 0.95;
  font-size: clamp(14px, 1.8vw, 18px);
  margin-top: 8px;
}

/* Intro section wrapper */
.intro-section {
  position: relative;
  margin-top: -80px;
  z-index: 3;
  background-color: #fff;
  border-radius: 24px 24px 0 0;
  padding-block: 3rem 6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden; /* ensure decorative images don't cause horizontal scroll */
}

/* Constrain intro content width */
.intro-inner {
  margin-inline: auto;
  max-width: min(1280px, 94vw);
  position: relative;
  z-index: 2;
  /* above decorative images */
}

/* Decorative images (left/right) */
.intro-deco {
  position: absolute;
  /* treat as section background */
  bottom: 0;
  right: 0;
  width: clamp(200px, 20vw, 500px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.intro-deco-left {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .intro-section {
    padding: 2rem 0;
  }

  .th-hero__eyebrow {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .th-hero__eyebrow {
    font-size: 20px;
  }

  .th-hero__title {
    font-size: 46px;
  }
}
