/* Base styles for the-thao page */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main color on dark background */
  background-color: #0D0E12; /* Background color */
  line-height: 1.6;
}

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

.page-the-thao__section {
  padding: 60px 0;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__text-block a {
  color: #FFA53A;
  text-decoration: underline;
}

.page-the-thao__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-the-thao__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 17px;
}

.page-the-thao__list-item::before {
  content: '•';
  color: #FFA53A;
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
}

.page-the-thao__ordered-list {
  list-style: none;
  padding: 0;
  counter-reset: my-counter;
  margin-bottom: 20px;
}

.page-the-thao__ordered-list .page-the-thao__list-item {
  counter-increment: my-counter;
  padding-left: 35px;
}

.page-the-thao__ordered-list .page-the-thao__list-item::before {
  content: counter(my-counter) '.';
  color: #FFA53A;
  font-weight: bold;
  left: 0;
  font-size: 18px;
  line-height: 1;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding */
  position: relative;
  background-color: #0D0E12;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px 60px;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 52px);
  color: #FFF3E6;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255,165,58,0.5);
}

.page-the-thao__description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: #E0E0E0;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
}

.page-the-thao__btn-secondary {
  background: #17191F;
  color: #FFA53A;
  border: 2px solid #A84F0C;
}

.page-the-thao__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  border-color: #FFA53A;
  transform: translateY(-3px);
}

/* General Image Styles */
.page-the-thao__image-container {
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-the-thao__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* FAQ Section */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: #17191F;
}
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: rgba(255, 165, 58, 0.1);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 20px;
  background: #0D0E12;
  border-radius: 0 0 8px 8px;
  color: #E0E0E0;
  font-size: 16px;
}

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

/* Call to Action Bottom */
.page-the-thao__cta-bottom {
  background: linear-gradient(135deg, #0D0E12 0%, #17191F 100%);
  text-align: center;
  padding: 80px 0;
}

.page-the-thao__cta-bottom-content {
  max-width: 800px;
}

.page-the-thao__cta-bottom .page-the-thao__section-title {
  margin-bottom: 25px;
  color: #FFF3E6;
}

.page-the-thao__cta-bottom .page-the-thao__text-block {
  font-size: 18px;
  margin-bottom: 40px;
  color: #E0E0E0;
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

  .page-the-thao__section {
    padding: 50px 0;
  }

  .page-the-thao__hero-content {
    padding-bottom: 40px;
  }

  .page-the-thao__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-the-thao__description {
    font-size: 18px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-the-thao__faq-qtext {
    font-size: 17px;
  }

  .page-the-thao__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  .page-the-thao__faq-answer {
    font-size: 15px;
  }

  .page-the-thao__cta-bottom .page-the-thao__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }

  .page-the-thao__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* 1. Top-text / Hero section top padding */
  .page-the-thao__hero-section {
    padding-top: 10px;
    min-height: auto;
  }

  .page-the-thao__section {
    padding: 40px 0;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }

  .page-the-thao__text-block,
  .page-the-thao__list-item {
    font-size: 16px;
  }

  .page-the-thao__main-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* 2. Landing page two-column modules - not applicable as this page is single column */

  /* 3. General images and containers */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 4. Buttons */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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;
  }

  .page-the-thao__btn-large {
    padding: 16px 30px;
    font-size: 18px;
  }

  .page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px 20px;
  }

  .page-the-thao__faq-qtext {
    font-size: 16px;
  }

  .page-the-thao__faq-toggle {
    font-size: 22px;
    width: 22px;
  }

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

  .page-the-thao__cta-bottom {
    padding: 60px 0;
  }

  .page-the-thao__cta-bottom .page-the-thao__text-block {
    font-size: 16px;
  }
}