/* style/the-thao.css */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-the-thao__hero-section {
  position: relative;
  text-align: center;
  padding: 10px 0 40px; /* Small top padding, not --header-offset */
  background-color: #f0f0f0;
}

.page-the-thao__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-the-thao__hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-the-thao__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.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: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom color for register/login font */
  border: 2px solid #C30808;
}

.page-the-thao__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-the-thao__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-the-thao__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
  border-color: #017439;
}

.page-the-thao__why-choose-section,
.page-the-thao__tips-section,
.page-the-thao__support-section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-the-thao__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 40px;
  color: inherit;
}

.page-the-thao__why-choose-section .page-the-thao__section-title,
.page-the-thao__tips-section .page-the-thao__section-title,
.page-the-thao__support-section .page-the-thao__section-title {
  color: #017439;
}

.page-the-thao__features-grid,
.page-the-thao__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-the-thao__feature-card,
.page-the-thao__tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-the-thao__feature-image,
.page-the-thao__tip-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-the-thao__feature-title,
.page-the-thao__tip-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-the-thao__feature-text,
.page-the-thao__tip-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-the-thao__steps-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-the-thao__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-the-thao__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #C30808;
  margin-bottom: 15px;
  background-color: #f0f0f0;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page-the-thao__steps-section .page-the-thao__btn-primary {
  width: 100%;
}

.page-the-thao__esports-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-the-thao__esports-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 40px;
}

.page-the-thao__esports-text-block {
  flex: 1;
  min-width: 300px;
  text-align: left;
  color: #ffffff;
}

.page-the-thao__esports-subtitle {
  font-size: 1.6em;
  font-weight: 600;
  color: #FFFF00; /* Custom font color for register/login */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-the-thao__esports-paragraph {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-the-thao__esports-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-the-thao__esports-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__support-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 15px;
  text-align: left;
}

.page-the-thao__support-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.page-the-thao__support-subtitle {
  font-size: 1.4em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-the-thao__support-text {
  font-size: 0.95em;
  color: #555555;
}

.page-the-thao__support-cta {
  margin-top: 20px;
}

.page-the-thao__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__cta-final-section .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__cta-final-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.page-the-thao__cta-final-button {
  margin-top: 10px;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

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

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__tips-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-the-thao__feature-card,
  .page-the-thao__tip-card,
  .page-the-thao__step-card {
    padding: 20px;
  }

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

  .page-the-thao__esports-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-the-thao__esports-subtitle {
    font-size: 1.4em;
  }

  .page-the-thao__esports-image-wrapper {
    max-width: 100%;
  }

  .page-the-thao__support-content {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  /* General image responsiveness for all images in content area */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__hero-image-wrapper,
  .page-the-thao__esports-image-wrapper,
  .page-the-thao__feature-card,
  .page-the-thao__tip-card,
  .page-the-thao__step-card,
  .page-the-thao__esports-section,
  .page-the-thao__support-section,
  .page-the-thao__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific overrides for mobile-only items from '必写清单' */
  /* Not applicable for this page as it's not homepage with specific guide-box/blog-grid/home-content-box rules */
  /* Placeholder for home-content-box, if it were present */
  .page-the-thao__home-content-box {
    height: auto !important;
    overflow: visible !important;
  }

  .page-the-thao__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }
}