/* Base Styles for Thể Thao Page */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-the-thao__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Adjusted for shared header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #F4F7FB 0%, #D6E2FF 100%);
  padding-bottom: 40px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-the-thao__description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border: none;
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background: #F4F7FB;
}

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-the-thao__section-intro {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  font-size: 1.05em;
  color: #1F2D3D;
}

.page-the-thao__features-grid,
.page-the-thao__bet-type-grid,
.page-the-thao__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__feature-card,
.page-the-thao__bet-type-card,
.page-the-thao__news-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-card:hover,
.page-the-thao__bet-type-card:hover,
.page-the-thao__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-the-thao__card-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__feature-card p,
.page-the-thao__bet-type-card p {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-the-thao__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  min-height: 200px; /* Minimum image size */
}

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

.page-the-thao__step-item {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border-top: 5px solid #2F6BFF;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__step-item p {
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-the-thao__promotions {
  background: #2F6BFF; /* Main Color */
  color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-the-thao__promotions .page-the-thao__section-title {
  color: #FFFFFF;
}

.page-the-thao__promotions .page-the-thao__description {
  color: #FFFFFF;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-the-thao__promo-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.05em;
  color: #FFFFFF;
}

.page-the-thao__promo-list li::before {
  content: '✔';
  color: #A5C4FF; /* Glow */
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-the-thao__news-card {
  text-align: left;
  padding: 20px;
}

.page-the-thao__news-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px; /* Minimum image size */
}

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

.page-the-thao__news-title a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-the-thao__news-title a:hover {
  text-decoration: underline;
}

.page-the-thao__news-date {
  font-size: 0.9em;
  color: #6FA3FF; /* Auxiliary Color */
  margin-bottom: 10px;
}

.page-the-thao__news-excerpt {
  font-size: 0.95em;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-the-thao__read-more {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: auto;
}

.page-the-thao__read-more:hover {
  text-decoration: underline;
}

.page-the-thao__view-all-news {
  margin-top: 30px;
}

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

.page-the-thao__faq-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF; /* Border Color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2F6BFF;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.7;
}

.page-the-thao__download-app {
  background: #2F6BFF; /* Main Color */
  color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-the-thao__download-app .page-the-thao__section-title,
.page-the-thao__download-app .page-the-thao__description {
  color: #FFFFFF;
}

/* Ensure all images have responsive styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-the-thao__section {
    padding: 25px 15px;
  }

  .page-the-thao__hero-section {
    padding-top: 10px; /* Still 10px for mobile */
    padding-bottom: 25px;
  }

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

  .page-the-thao__main-title {
    font-size: 2em; /* Smaller on mobile */
    margin-bottom: 15px;
  }

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

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

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

  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__bet-type-grid,
  .page-the-thao__news-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-the-thao__feature-card,
  .page-the-thao__bet-type-card,
  .page-the-thao__news-card {
    padding: 20px;
  }

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

  .page-the-thao__steps-container {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

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

  .page-the-thao__promotions,
  .page-the-thao__download-app {
    padding: 30px 15px;
  }

  .page-the-thao__promo-list {
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-the-thao__promo-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-the-thao__news-image {
    min-height: 180px; /* Adjusted min-height for mobile news cards */
  }

  .page-the-thao__news-title {
    font-size: 1.1em;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* Universal image responsive styles for mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Enforce minimum size even on mobile */
  }

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

  .page-the-thao__view-all-news {
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
  }

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