:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

.page-the-thao {
  color: var(--text-main);
  background-color: var(--deep-navy);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-the-thao__container--reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-the-thao__container--centered {
  text-align: center;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Aligned with fixed header spacing rule */
  padding-bottom: 60px;
  background-color: var(--deep-navy);
}

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

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

.page-the-thao__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.15em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-the-thao__hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__hero-cta-buttons,
.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-the-thao__container--centered .page-the-thao__cta-buttons {
  justify-content: center;
}

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

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-the-thao__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.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: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

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

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  color: var(--text-secondary);
  font-size: 1em;
}

.page-the-thao__sports-categories {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

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

.page-the-thao__category-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-the-thao__category-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__card-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-the-thao__card-text {
  color: var(--text-secondary);
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__card-link {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.page-the-thao__card-link:hover {
  background: var(--gold-color);
  color: var(--deep-navy);
  border-color: var(--gold-color);
}

.page-the-thao__benefits-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-the-thao__content-block {
  flex: 1;
  min-width: 300px;
}

.page-the-thao__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-the-thao__benefits-item {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 5px solid var(--gold-color);
  font-size: 1.05em;
  display: flex;
  align-items: center;
}

.page-the-thao__benefits-item::before {
  content: '✓';
  color: var(--gold-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-the-thao__cta-section {
  padding: 80px 0;
}

.page-the-thao__dark-section {
  background-color: var(--primary-color);
  color: var(--text-main);
}

.page-the-thao__dark-section .page-the-thao__section-title {
  color: var(--gold-color);
}

.page-the-thao__dark-section .page-the-thao__section-description {
  color: var(--text-secondary);
}

.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-the-thao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '−';
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--text-main);
}

.page-the-thao__faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

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

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

  .page-the-thao__hero-content {
    order: 2;
  }

  .page-the-thao__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

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

  .page-the-thao__container--reverse {
    flex-direction: column;
  }

  .page-the-thao__content-block, .page-the-thao__image-block {
    min-width: unset;
  }

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

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

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

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

  .page-the-thao__hero-title {
    font-size: 2em;
  }

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

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__section-description {
    font-size: 0.95em;
    margin-left: 0;
    margin-right: 0;
  }

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

  .page-the-thao__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Module 1: Three-column round images */
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__icon-box-media {
    width: 180px;
    height: 180px;
    border-width: 3px;
  }

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

  /* Sports Categories Grid */
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__card-title {
    font-size: 1.2em;
  }

  .page-the-thao__card-text {
    font-size: 0.95em;
  }

  .page-the-thao__card-link {
    padding: 8px 15px;
    font-size: 0.9em;
  }

  /* Benefits Section */
  .page-the-thao__benefits-item {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  /* CTA Section */
  .page-the-thao__dark-section .page-the-thao__section-title {
    font-size: 2em;
  }

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

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

  .page-the-thao__faq-toggle {
    font-size: 1.3em;
  }

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

  /* General image and container responsiveness */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__container,
  .page-the-thao__hero-container,
  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__benefits-section,
  .page-the-thao__cta-section,
  .page-the-thao__faq-section,
  .page-the-thao__feature-item,
  .page-the-thao__category-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure padding is applied correctly to sections */
  .page-the-thao__intro-section, 
  .page-the-thao__sports-categories, 
  .page-the-thao__benefits-section, 
  .page-the-thao__cta-section, 
  .page-the-thao__faq-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-the-thao__intro-section > .page-the-thao__container,
  .page-the-thao__sports-categories > .page-the-thao__container,
  .page-the-thao__benefits-section > .page-the-thao__container,
  .page-the-thao__cta-section > .page-the-thao__container,
  .page-the-thao__faq-section > .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-the-thao__hero-image, .page-the-thao__image-block {
    padding-left: 15px;
    padding-right: 15px;
  }
}