/* style/the-thao.css */

:root {
  --page-the-thao-primary: #E53935;
  --page-the-thao-secondary: #FF5A4F;
  --page-the-thao-text-main: #333333;
  --page-the-thao-card-bg: #FFFFFF;
  --page-the-thao-border: #E0E0E0;
  --page-the-thao-bg-light: #F5F7FA;
}

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

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

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

.page-the-thao__section-title--white {
  color: #ffffff;
}

.page-the-thao__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__paragraph--white {
  color: #f0f0f0;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: var(--page-the-thao-card-bg);
  color: var(--page-the-thao-primary);
  border: 2px solid var(--page-the-thao-primary);
}

.page-the-thao__btn-secondary:hover {
  background: var(--page-the-thao-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-the-thao__btn-text {
  display: inline-block;
  color: var(--page-the-thao-primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-the-thao__btn-text:hover {
  color: var(--page-the-thao-secondary);
}

.page-the-thao__center-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: var(--page-the-thao-bg-light);
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--page-the-thao-text-main);
}

.page-the-thao__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--page-the-thao-primary);
}

.page-the-thao__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--page-the-thao-text-main);
  text-align: left;
}

.page-the-thao__cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-the-thao__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* About Section */
.page-the-thao__about-section {
  padding: 60px 0;
  background-color: var(--page-the-thao-bg-light);
}

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

.page-the-thao__card {
  background: var(--page-the-thao-card-bg);
  border: 1px solid var(--page-the-thao-border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-the-thao__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-the-thao-primary);
  margin-bottom: 10px;
}

.page-the-thao__card-description {
  font-size: 16px;
  color: var(--page-the-thao-text-main);
  flex-grow: 1;
  text-align: center;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: var(--page-the-thao-primary);
  color: #ffffff;
}

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

.page-the-thao__step-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

.page-the-thao__step-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  color: var(--page-the-thao-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.page-the-thao__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-the-thao__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--page-the-thao-bg-light);
}

.page-the-thao__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-the-thao__faq-item {
  background: var(--page-the-thao-card-bg);
  border: 1px solid var(--page-the-thao-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-the-thao-primary);
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-color 0.3s ease;
  list-style: none;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: #f0f0f0;
  border-color: var(--page-the-thao-border);
}

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

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

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

.page-the-thao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  user-select: none;
}

.page-the-thao__faq-answer {
  padding: 15px 25px 25px;
  font-size: 16px;
  color: var(--page-the-thao-text-main);
  line-height: 1.6;
}

/* Contact Section */
.page-the-thao__contact-section {
  padding: 60px 0;
  background-color: var(--page-the-thao-primary);
  color: #ffffff;
  text-align: center;
}

/* Universal image and container responsiveness */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__section,
.page-the-thao__card,
.page-the-thao__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

  .page-the-thao__intro-text {
    text-align: center;
  }

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

  .page-the-thao__content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  /* Fixed header spacing - small top padding on hero, body padding from shared.css */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

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

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

  .page-the-thao__intro-text {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }

  .page-the-thao__cta-group {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
  }

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

  .page-the-thao__paragraph {
    font-size: 16px !important;
    padding: 0 10px;
  }

  /* About Section */
  .page-the-thao__about-section {
    padding: 40px 0 !important;
  }

  .page-the-thao__content-grid {
    gap: 20px !important;
    padding: 0 15px;
  }

  .page-the-thao__card {
    padding: 20px !important;
  }

  .page-the-thao__card-title {
    font-size: 20px !important;
  }

  .page-the-thao__card-description {
    font-size: 15px !important;
  }

  /* Guide Section */
  .page-the-thao__guide-section {
    padding: 40px 0 !important;
  }

  .page-the-thao__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 15px;
  }

  .page-the-thao__step-item {
    padding: 25px !important;
  }

  .page-the-thao__step-title {
    font-size: 20px !important;
  }

  .page-the-thao__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  /* FAQ Section */
  .page-the-thao__faq-section {
    padding: 40px 0 !important;
  }

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

  .page-the-thao__faq-question {
    padding: 15px 20px !important;
    font-size: 16px !important;
  }

  .page-the-thao__faq-toggle {
    font-size: 20px !important;
  }

  .page-the-thao__faq-answer {
    padding: 10px 20px 20px !important;
    font-size: 15px !important;
  }

  /* Contact Section */
  .page-the-thao__contact-section {
    padding: 40px 0 !important;
  }

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

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

  .page-the-thao__container.page-the-thao__hero-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-the-thao__hero-content {
    padding: 0 15px;
  }

  .page-the-thao__center-cta {
    padding: 0 15px;
  }

  .page-the-thao__hero-side-image {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}