/* style/the-thao.css */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-the-thao__section-title,
.page-the-thao__sub-title,
.page-the-thao__feature-title,
.page-the-thao__promo-title,
.page-the-thao__cta-title {
  color: #FFF5E1; /* Text Main */
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-the-thao__section-description,
.page-the-thao__feature-text,
.page-the-thao__promo-text,
.page-the-thao__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-the-thao p {
  color: #FFF5E1;
  margin-bottom: 1em;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-the-thao__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 24px;
  box-sizing: border-box;
}

.page-the-thao__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #FFF5E1;
}

.page-the-thao__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-align: left;
}

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

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

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 14px 28px;
  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;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #333333; /* Dark text for light button */
  border: 2px solid #F2B544; /* Border */
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
}

.page-the-thao__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

/* Intro Section */
.page-the-thao__intro-section {
  background-color: #B71C1C; /* Background */
  padding: 60px 0;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao__feature-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  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: 3px solid #F2B544; /* Border */
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #FFF5E1;
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 60px 0;
}

.page-the-thao__image-text-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-the-thao__image-text-content {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-the-thao__image-text-media {
  flex: 1 1 35%;
  min-width: 250px;
  text-align: center;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

.page-the-thao__sub-title {
  font-size: 1.8em;
  text-align: left;
  color: #FFF5E1;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__image-text-content p {
  text-align: left;
  font-size: 1.05em;
  color: #FFF5E1;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  background-color: #B71C1C; /* Background */
  padding: 60px 0;
}

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

.page-the-thao__promo-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-the-thao__promo-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-the-thao__promo-text {
  font-size: 1em;
  color: #FFF5E1;
  flex-grow: 1;
}

/* Strategy Section */
.page-the-thao__strategy-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 60px 0;
}

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

.page-the-thao__strategy-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-the-thao__strategy-item h3 {
  text-align: center;
  color: #FFF5E1;
}

.page-the-thao__strategy-item p {
  text-align: left;
  color: #FFF5E1;
}

.page-the-thao__strategy-image {
  text-align: center;
}

/* CTA Section */
.page-the-thao__cta-section {
  background-color: #B71C1C; /* Background */
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-title {
  font-size: 2.5em;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-the-thao__cta-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2em;
  color: #FFF5E1;
}

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: 2.5em;
  }
  .page-the-thao__hero-description {
    font-size: 1.1em;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-the-thao__hero-content,
  .page-the-thao__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-the-thao__hero-title,
  .page-the-thao__hero-description {
    text-align: center;
  }

  .page-the-thao__hero-cta-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    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__section-title {
    font-size: 1.8em;
  }

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

  /* Module 1 three-column intro */
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 2px; /* Smaller border on mobile */
  }

  /* Sports Types Section */
  .page-the-thao__image-text-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__image-text-content,
  .page-the-thao__image-text-media {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-the-thao__sub-title {
    text-align: center;
    font-size: 1.5em;
  }

  .page-the-thao__image-text-content p {
    text-align: center;
  }

  /* Promotions Section */
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Strategy Section */
  .page-the-thao__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__strategy-item h3,
  .page-the-thao__strategy-item p {
    text-align: center;
  }

  /* CTA Section */
  .page-the-thao__cta-title {
    font-size: 1.8em;
  }

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

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

  /* General content area and image responsiveness */
  .page-the-thao__container,
  .page-the-thao__section,
  .page-the-thao__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__icon-box-media img {
    height: 100% !important; /* Maintain square aspect for feature images */
    object-fit: cover !important;
  }
}