/* Trang Thể Thao F168 - CSS BEM naming, không dùng global selector, không filter ảnh */
.page-the-thao {
  color: #FFF6D6;
  background-color: #0A0A0A;
  overflow-x: hidden;
}
.page-the-thao h1,
.page-the-thao h2,
.page-the-thao h3,
.page-the-thao h4 {
  color: #F2C14E;
  font-weight: 700;
  line-height: 1.25;
}
.page-the-thao p,
.page-the-thao li,
.page-the-thao span {
  color: #FFF6D6;
}
.page-the-thao a {
  color: #FFD36B;
  text-decoration: none;
}
.page-the-thao img {
  display: block;
  max-width: 100%;
  height: auto;
}
.page-the-thao__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  cursor: pointer;
  border: 1px solid #3A2A12;
}
.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1A1206;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}
.page-the-thao__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242,193,78,0.35);
}
.page-the-thao__btn--outline {
  background-color: transparent;
  color: #FFD36B;
  border: 1px solid #F2C14E;
}
.page-the-thao__btn--outline:hover {
  background-color: rgba(242,193,78,0.12);
  transform: translateY(-2px);
}

/* HERO */
.page-the-thao__hero-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-the-thao__hero-image-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #3A2A12;
  background-color: #111111;
}
.page-the-thao__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.page-the-thao__hero-content {
  width: 100%;
  max-width: 100%;
  text-align: left;
}
.page-the-thao__main-title {
  margin: 0 0 12px 0;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.3px;
  max-width: 900px;
}
.page-the-thao__hero-intro {
  margin: 0 0 18px 0;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
  color: #FFF6D6;
}
.page-the-thao__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* BANNER THUMBS */
.page-the-thao__banner-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 24px 16px;
  box-sizing: border-box;
}
.page-the-thao__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}
.page-the-thao__banner-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  background-color: #111111;
}

/* INTRO */
.page-the-thao__intro-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
.page-the-thao__section-title {
  font-size: 1.6rem;
  margin: 0 0 18px 0;
  line-height: 1.3;
  position: relative;
  padding-bottom: 10px;
}
.page-the-thao__section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, #F2C14E, #FFD36B);
  border-radius: 2px;
}
.page-the-thao__text {
  margin: 0 0 14px 0;
  line-height: 1.75;
  font-size: 1rem;
  color: #FFF6D6;
}

/* POSTS */
.page-the-thao__posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
.page-the-thao__posts-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}
.page-the-thao__post-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 240px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.page-the-thao__post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.page-the-thao__post-title {
  font-size: 1.1rem;
  margin: 14px 16px 8px 16px;
  line-height: 1.3;
  color: #F2C14E;
}
.page-the-thao__post-excerpt {
  margin: 0 16px 14px 16px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #FFF6D6;
  flex: 1;
}
.page-the-thao__post-link {
  display: inline-block;
  margin: 0 16px 16px 16px;
  color: #FFD36B;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px dashed #F2C14E;
  padding-bottom: 2px;
  align-self: flex-start;
}
.page-the-thao__post-link:hover {
  color: #F2C14E;
}

/* PROMO */
.page-the-thao__promo-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
.page-the-thao__promo-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 14px;
  overflow: hidden;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}
.page-the-thao__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
  flex: 0 0 50%;
}
.page-the-thao__promo-content {
  padding: 24px;
  box-sizing: border-box;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-the-thao__promo-title {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  line-height: 1.3;
  color: #F2C14E;
}
.page-the-thao__promo-text {
  margin: 0 0 18px 0;
  line-height: 1.7;
  color: #FFF6D6;
  font-size: 0.98rem;
}

/* LIST */
.page-the-thao__list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
.page-the-thao__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 18px;
}
.page-the-thao__list-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.page-the-thao__list-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.page-the-thao__list-title {
  font-size: 1.1rem;
  margin: 14px 16px 8px 16px;
  color: #F2C14E;
  line-height: 1.3;
}
.page-the-thao__list-text {
  margin: 0 16px 14px 16px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #FFF6D6;
  flex: 1;
}
.page-the-thao__list-link {
  display: inline-block;
  margin: 0 16px 16px 16px;
  color: #FFD36B;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px dashed #F2C14E;
  padding-bottom: 2px;
  align-self: flex-start;
}
.page-the-thao__list-link:hover {
  color: #F2C14E;
}

/* FAQ */
.page-the-thao__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
.page-the-thao__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.page-the-thao__faq-item:hover {
  border-color: #F2C14E;
}
.page-the-thao__faq-question {
  font-size: 1.05rem;
  margin: 0;
  color: #F2C14E;
  line-height: 1.4;
  position: relative;
  padding-right: 28px;
}
.page-the-thao__faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #FFD36B;
  font-size: 1.3rem;
  font-weight: 700;
}
.page-the-thao__faq-answer {
  display: none;
  margin: 12px 0 0 0;
  line-height: 1.7;
  color: #FFF6D6;
  font-size: 0.95rem;
}
.page-the-thao__faq-item.is-open .page-the-thao__faq-answer {
  display: block;
}
.page-the-thao__faq-item.is-open .page-the-thao__faq-question::after {
  content: "−";
}

/* OVERLAY */
.page-the-thao__overlay-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px auto;
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFF6D6;
}
.page-the-thao__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-the-thao__overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.7);
  z-index: 1;
}
.page-the-thao__overlay-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  max-width: 720px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.page-the-thao__overlay-title {
  font-size: 1.6rem;
  margin: 0;
  color: #F2C14E;
  line-height: 1.3;
}
.page-the-thao__overlay-text {
  margin: 0;
  line-height: 1.7;
  color: #FFF6D6;
  font-size: 1rem;
}

/* CTA */
.page-the-thao__cta-section {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 30px 16px;
  box-sizing: border-box;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.page-the-thao__cta-title {
  font-size: 1.6rem;
  margin: 0;
  color: #F2C14E;
  line-height: 1.3;
}
.page-the-thao__cta-text {
  margin: 0;
  line-height: 1.7;
  color: #FFF6D6;
  font-size: 1rem;
  max-width: 860px;
}
.page-the-thao__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* MOBILE */
@media (max-width: 768px) {
  .page-the-thao {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__hero-section {
    padding: 8px 12px 18px 12px;
    gap: 14px;
  }
  .page-the-thao__hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .page-the-thao__hero-cta .page-the-thao__btn {
    width: 100%;
    max-width: 100%;
  }
  .page-the-thao__banner-section {
    padding: 0 12px 18px 12px;
  }
  .page-the-thao__banner-thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-the-thao__intro-section,
  .page-the-thao__posts-section,
  .page-the-thao__promo-section,
  .page-the-thao__list-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-the-thao__section-title {
    font-size: 1.35rem;
  }
  .page-the-thao__posts-track {
    gap: 12px;
  }
  .page-the-thao__post-card {
    flex-basis: 85%;
    min-width: 240px;
  }
  .page-the-thao__promo-card {
    flex-direction: column;
  }
  .page-the-thao__promo-image {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }
  .page-the-thao__promo-content {
    padding: 18px;
    flex-basis: auto;
  }
  .page-the-thao__promo-title {
    font-size: 1.25rem;
  }
  .page-the-thao__list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-the-thao__overlay-section {
    margin-left: 12px;
    margin-right: 12px;
    max-width: calc(100% - 24px);
    border-radius: 12px;
    min-height: 220px;
  }
  .page-the-thao__overlay-title {
    font-size: 1.3rem;
  }
  .page-the-thao__overlay-content {
    padding: 20px 16px;
  }
  .page-the-thao__cta-title {
    font-size: 1.3rem;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .page-the-thao__cta-buttons .page-the-thao__btn {
    width: 100%;
    max-width: 100%;
  }
  .page-the-thao__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
}