/* Base styles for the page */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background: var(--color-deep-navy); /* From shared.css, dark background */
}

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

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for --header-offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Deep Navy blend */
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default for desktop, can be contain on mobile */
}

.page-the-thao__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.15rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-small {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1); /* Light gold overlay */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 5px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  display: inline-block;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
  border: none;
}
.page-the-thao__btn-small:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-1px);
}

/* General Section Styling */
.page-the-thao__section {
  padding: 60px 0;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-the-thao__section:last-of-type {
  border-bottom: none;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: justify;
}

.page-the-thao__text-block p {
  margin-bottom: 15px;
}

.page-the-thao__text-block strong {
  color: #F3F8FF; /* Text Main */
}

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

/* Lists */
.page-the-thao__sport-list,
.page-the-thao__betting-type-list,
.page-the-thao__guide-list,
.page-the-thao__strategy-list,
.page-the-thao__promo-list,
.page-the-thao__why-choose-list {
  list-style-type: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 900px;
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__sport-list li,
.page-the-thao__betting-type-list li,
.page-the-thao__strategy-list li,
.page-the-thao__promo-list li,
.page-the-thao__why-choose-list li {
  background: #10233F; /* Card BG */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 45px;
}

.page-the-thao__sport-list li::before,
.page-the-thao__betting-type-list li::before,
.page-the-thao__strategy-list li::before,
.page-the-thao__promo-list li::before,
.page-the-thao__why-choose-list li::before {
  content: '✓';
  color: #F2C14E; /* Gold */
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 18px;
  font-size: 1.2rem;
}

.page-the-thao__guide-list li {
  background: #10233F; /* Card BG */
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__guide-list li strong {
  display: block;
  font-size: 1.2rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-the-thao__guide-list li a.page-the-thao__btn-small {
  margin-top: 15px;
  display: inline-block;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 5px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding-bottom: 60px;
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* 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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
}
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: #1B3357; /* Slightly lighter than divider */
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
}
.page-the-thao__faq-answer p {
  margin-bottom: 10px;
}
.page-the-thao__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-the-thao__faq-answer a.page-the-thao__btn-small {
  margin-top: 15px;
  display: inline-block;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 5px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    padding: 30px 15px 40px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }
}