/* Base styles for the-thao page */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  line-height: 1.6;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  background: rgba(20, 12, 12, 0.7); /* Semi-transparent background for readability */
  margin-top: -100px; /* Overlap slightly for visual effect */
  padding-top: 120px;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F3C54D; /* Gold */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF1E8;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #FFB04A; /* Gold text */
  border: 2px solid #FFB04A;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.2);
}

.page-the-thao__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C;
  transform: translateY(-2px);
}

.page-the-thao__btn-tertiary {
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8; /* Text Main */
  border: none;
  font-size: 0.95em;
  padding: 10px 20px;
  border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
  background: #C61F1F;
  transform: translateY(-1px);
}

/* General Section Styles */
.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold */
  position: relative;
  padding-bottom: 15px;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #D86A14, #FFB04A, #D86A14);
  border-radius: 2px;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #FFF1E8;
}

/* About Section */
.page-the-thao__about-section {
  padding: 60px 0;
  background-color: #1C1212; /* Slightly lighter dark for contrast */
}

.page-the-thao__image-text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao__image-text-item {
  text-align: center;
  background: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-the-thao__image-text-item img {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__image-text-item h3 {
  font-size: 1.6em;
  color: #FFB04A;
  margin-bottom: 15px;
}

.page-the-thao__image-text-item p {
  color: #FFF1E8;
  font-size: 1em;
}

/* Advantages Section */
.page-the-thao__advantages-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-the-thao__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao__advantage-item {
  text-align: center;
  background: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-the-thao__advantage-item img {
  
  
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 176, 74, 0.5));
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__advantage-item h3 {
  font-size: 1.5em;
  color: #FFB04A;
  margin-bottom: 10px;
}

.page-the-thao__advantage-item p {
  color: #FFF1E8;
  font-size: 0.95em;
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
  padding: 60px 0;
  background-color: #1C1212;
}

.page-the-thao__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao__category-card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-the-thao__category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__category-card h3 {
  font-size: 1.5em;
  color: #FFB04A;
  padding: 20px 20px 10px;
}

.page-the-thao__category-card p {
  color: #FFF1E8;
  font-size: 0.95em;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__category-card .page-the-thao__btn-tertiary {
  margin: 0 20px 20px;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao__step-item {
  background: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-the-thao__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: #140C0C;
  margin: 0 auto 20px;
  border: 3px solid #F3C54D;
}

.page-the-thao__step-item h3 {
  font-size: 1.5em;
  color: #FFB04A;
  margin-bottom: 15px;
}

.page-the-thao__step-item p {
  color: #FFF1E8;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-the-thao__step-item .page-the-thao__btn-primary,
.page-the-thao__step-item .page-the-thao__btn-secondary {
  font-size: 0.9em;
  padding: 10px 20px;
  margin-top: auto;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #1C1212;
}

.page-the-thao__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-the-thao__promo-card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__promo-card h3 {
  font-size: 1.5em;
  color: #FFB04A;
  padding: 20px 20px 10px;
}

.page-the-thao__promo-card p {
  color: #FFF1E8;
  font-size: 0.95em;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__promo-card .page-the-thao__btn-tertiary {
  margin: 0 20px 20px;
}

.page-the-thao__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-the-thao__faq-list {
  margin-top: 50px;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFB04A;
}

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

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #3a1a1a;
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04A;
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #1C1212;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer p {
  margin-bottom: 0;
}

/* SEO Content Section */
.page-the-thao__seo-content {
  padding: 60px 0;
  background-color: #1C1212;
}

.page-the-thao__article-body {
  max-width: 900px;
  margin: 0 auto;
  color: #FFF1E8;
}

.page-the-thao__article-body h3 {
  font-size: 2em;
  color: #FFB04A;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-the-thao__article-body p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-the-thao__article-figure {
  margin: 40px 0;
  text-align: center;
}

.page-the-thao__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__article-figure figcaption {
  color: #F3C54D;
  font-size: 0.9em;
  margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }
  .page-the-thao__hero-description {
    font-size: 1.1em;
  }
  .page-the-thao__section-title {
    font-size: 2.2em;
  }
  .page-the-thao__image-text-grid,
  .page-the-thao__advantages-grid,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-cards {
    gap: 25px;
  }
  .page-the-thao__container {
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* Ensure small top padding */
  }
  .page-the-thao__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    height: auto !important;
    max-height: 300px !important; /* Limit height for mobile */
  }
  .page-the-thao__hero-content {
    padding: 30px 15px;
    padding-top: 80px; /* Adjust for smaller overlap */
    margin-top: -60px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Responsive font size */
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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__btn-tertiary {
    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;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.8em, 6vw, 2em);
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__image-text-grid,
  .page-the-thao__advantages-grid,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-cards {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }
  .page-the-thao__image-text-item,
  .page-the-thao__advantage-item,
  .page-the-thao__category-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-card {
    padding: 20px;
    margin: 0 15px;
  }
  .page-the-thao__image-text-item img,
  .page-the-thao__advantage-item img,
  .page-the-thao__category-card img,
  .page-the-thao__promo-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-the-thao__container {
    padding: 0;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }
  .page-the-thao__faq-qtext {
    font-size: 1em;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 15px 15px;
  }

  .page-the-thao__article-body {
    padding: 0 15px;
  }
  .page-the-thao__article-body h3 {
    font-size: 1.5em;
  }
  .page-the-thao__article-body p {
    font-size: 0.9em;
  }
  .page-the-thao__article-figure {
    margin: 30px 15px;
  }
  .page-the-thao__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all content containers are responsive */
  .page-the-thao__about-section,
  .page-the-thao__advantages-section,
  .page-the-thao__sports-categories,
  .page-the-thao__guide-section,
  .page-the-thao__promotions-section,
  .page-the-thao__faq-section,
  .page-the-thao__seo-content {
    padding: 40px 0;
  }
  .page-the-thao__about-section .page-the-thao__container,
  .page-the-thao__advantages-section .page-the-thao__container,
  .page-the-thao__sports-categories .page-the-thao__container,
  .page-the-thao__guide-section .page-the-thao__container,
  .page-the-thao__promotions-section .page-the-thao__container,
  .page-the-thao__faq-section .page-the-thao__container,
  .page-the-thao__seo-content .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-the-thao__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-the-thao__section-title {
    font-size: clamp(1.5em, 7vw, 1.8em);
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-the-thao__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-the-thao__image-text-item h3,
  .page-the-thao__advantage-item h3,
  .page-the-thao__category-card h3,
  .page-the-thao__step-item h3,
  .page-the-thao__promo-card h3 {
    font-size: 1.3em;
  }
}