.page-the-thao {
  color: #FFF6D6; /* Text Main for dark background */
  background-color: #0A0A0A; /* Background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #F2C14E; /* Primary color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.15em;
  color: #FFF6D6;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: left;
}

.page-the-thao__hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  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);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Border color */
}

.page-the-thao__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text for hover */
}

.page-the-thao__btn-link {
  background-color: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 1px solid #3A2A12; /* Border color */
  padding: 10px 20px;
  font-size: 1em;
}

.page-the-thao__btn-link:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text for hover */
  border-color: #FFD36B;
}

/* Intro Section */
.page-the-thao__intro-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

.page-the-thao__intro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-the-thao__icon-box {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  box-sizing: border-box;
}

.page-the-thao__icon-box-media {
  width: 200px; /* Fixed width for square */
  height: 200px; /* Fixed height for square */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E; /* Primary color border */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the circle */
  border-radius: 50%;
  display: block;
}

.page-the-thao__icon-box-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__icon-box-text {
  color: #FFF6D6;
  font-size: 1em;
}

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

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

.page-the-thao__category-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  display: flex;
  flex-direction: column;
}

.page-the-thao__category-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__category-name {
  font-size: 1.4em;
  color: #FFD36B; /* Glow color for category names */
  padding: 15px 20px 5px;
  margin: 0;
}

.page-the-thao__category-text {
  color: #FFF6D6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

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

.page-the-thao__advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-the-thao__advantage-item {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #111111; /* Card BG */\  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  box-sizing: border-box;
}

.page-the-thao__advantage-icon {
  width: 100px; /* Fixed width for icon-like images */
  height: 100px; /* Fixed height for icon-like images */
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__advantage-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-the-thao__advantage-text {
  color: #FFF6D6;
  font-size: 1em;
}

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

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

.page-the-thao__guide-step {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  width: 50px;
  height: 50px;
  background-color: #F2C14E; /* Primary color */
  color: #111111;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-the-thao__step-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  color: #FFF6D6;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  cursor: pointer;
  background-color: #1A1A1A; /* Slightly darker for question */
  position: relative;
  list-style: none;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFD36B; /* Glow color */
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 15px 25px 20px;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid #3A2A12;
}

/* Bottom CTA Section */
.page-the-thao__cta-bottom-section {
  background-color: #0A0A0A;
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__cta-bottom-section .page-the-thao__section-title {
  margin-bottom: 15px;
}

.page-the-thao__cta-bottom-section .page-the-thao__section-description {
  margin-bottom: 30px;
}

/* General Image styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__hero-content {
    text-align: center;
  }

  .page-the-thao__hero-cta-group {
    justify-content: center;
  }

  .page-the-thao__intro-grid,
  .page-the-thao__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-the-thao__icon-box,
  .page-the-thao__advantage-item {
    flex: 1 1 45%;
  }

  .page-the-thao__category-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
    text-align: center;
  }

  .page-the-thao__hero-cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-link,
  .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;
    font-size: 1em;
  }

  .page-the-thao__hero-image {
    width: 100%;
  }

  .page-the-thao__icon-box-media {
    width: 180px; /* Still square */
    height: 180px; /* Still square */
  }

  .page-the-thao__intro-grid,
  .page-the-thao__advantages-grid,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__icon-box,
  .page-the-thao__advantage-item,
  .page-the-thao__category-card,
  .page-the-thao__guide-step {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-the-thao__container {
    padding: 20px 15px;
  }

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

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

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__category-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* Ensure all containers with images/buttons are constrained */
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__hero-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-the-thao__faq-answer {
    padding: 10px 20px 15px;
  }
}