.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Use body background color */
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px 16px;
}

.page-the-thao__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  z-index: 1;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Highlight with auxiliary color */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-the-thao__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-the-thao__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* For desktop, responsive */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-the-thao__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
  border-color: #F2C14E;
  transform: translateY(-2px);
}

.page-the-thao__hero-image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 250px;
  z-index: 1;
}

.page-the-thao__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: block;
}

/* General Section Styling */
.page-the-thao__intro-section,
.page-the-thao__betting-types-section,
.page-the-thao__guide-section,
.page-the-thao__promo-section,
.page-the-thao__faq-section,
.page-the-thao__news-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Consistent dark background */
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-the-thao__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Intro Section */
.page-the-thao__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__icon-box-media {
  width: 150px; /* Display size for intro, but generation is 400x400 */
  height: 150px; /* Maintain square aspect ratio */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure image itself is circular */
}

.page-the-thao__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF6D6;
}

/* Betting Types Section */
.page-the-thao__type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__type-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-the-thao__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__type-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-the-thao__type-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
}

/* Guide Section */
.page-the-thao__guide-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-the-thao__guide-content {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-the-thao__guide-image {
  flex: 1 1 35%;
  min-width: 250px;
  text-align: center;
}

.page-the-thao__guide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: block;
}

.page-the-thao__guide-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__guide-list li {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__guide-list li:last-child {
  margin-bottom: 0;
}

.page-the-thao__guide-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFD36B;
  margin-bottom: 8px;
}

.page-the-thao__guide-step-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF6D6;
}

.page-the-thao__btn-full-width {
  width: 100%;
  margin-top: 20px;
}

/* Promo Section */
.page-the-thao__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-content {
  padding: 20px;
}

.page-the-thao__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__promo-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

.page-the-thao__promo-card .page-the-thao__btn-primary,
.page-the-thao__promo-card .page-the-thao__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-the-thao__full-width-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
}

.page-the-thao__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2C14E;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> */
}

.page-the-thao__faq-item[open] > .page-the-thao__faq-question {
  background-color: #222222;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-question:hover {
  background-color: #222222;
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
}

/* News Section */
.page-the-thao__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__news-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__news-card img {
  width: 100%;
  height: 200px; /* Fixed height for news images */
  object-fit: cover;
  display: block;
}

.page-the-thao__news-content {
  padding: 20px;
}

.page-the-thao__news-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-the-thao__news-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__news-title a:hover {
  color: #FFD36B;
}

.page-the-thao__news-meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 15px;
}

.page-the-thao__news-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-the-thao__read-more {
  display: inline-block;
  color: #FFD36B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-the-thao__read-more:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* --- Responsive Design --- */
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-the-thao__hero-content {
    order: 2;
    flex: 1 1 100%;
  }

  .page-the-thao__hero-image {
    order: 1;
    flex: 1 1 100%;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-the-thao__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__main-title {
    font-size: 2rem;
    text-align: center;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 25px;
  }

  /* Buttons */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Sections */
  .page-the-thao__intro-section,
  .page-the-thao__betting-types-section,
  .page-the-thao__guide-section,
  .page-the-thao__promo-section,
  .page-the-thao__faq-section,
  .page-the-thao__news-section {
    padding: 40px 0;
  }

  .page-the-thao__section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-the-thao__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-the-thao__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Intro Section - Feature Grid */
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__icon-box-media {
    width: 120px;
    height: 120px;
    border-width: 2px;
  }
  .page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-the-thao__feature-title {
    font-size: 1.3rem;
  }

  /* Betting Types Section - Type Grid */
  .page-the-thao__type-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__type-title {
    font-size: 1.4rem;
  }

  /* Guide Section */
  .page-the-thao__guide-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__guide-content {
    order: 2;
    flex: 1 1 100%;
  }

  .page-the-thao__guide-image {
    order: 1;
    flex: 1 1 100%;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-the-thao__guide-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__guide-list li {
    padding: 15px 20px;
  }

  .page-the-thao__guide-step-title {
    font-size: 1.15rem;
  }

  /* Promo Section */
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__promo-card img,
  .page-the-thao__news-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}