.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-the-thao__section-spacing {
  padding: 60px 0;
}

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

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 2px;
}

.page-the-thao__section-title--light {
  color: #F2FFF6;
}

.page-the-thao__section-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
}

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-the-thao__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 122, 78, 0.2);
}

.page-the-thao__btn-small {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 6px;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  padding-top: 10px; /* Small top padding */
}

.page-the-thao__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  color: #F2FFF6;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.7);
  border-radius: 15px;
  margin-top: 60px;
}

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(17, 168, 78, 0.6);
}

.page-the-thao__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General Content Styles */
.page-the-thao__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-the-thao__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__image-center {
  margin: 40px auto 0 auto;
  display: block;
  max-width: 800px;
}

/* Sports Markets Section */
.page-the-thao__dark-section {
  background-color: #11271B; /* Card BG */
}

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

.page-the-thao__sport-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-the-thao__card-link {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__card-link:hover {
  color: #57E38D; /* Glow */
}

.page-the-thao__card-text {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px;
  margin-bottom: 25px;
}

/* Why Choose Section */
.page-the-thao__two-column-layout {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.page-the-thao__benefits-list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-the-thao__benefit-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__benefit-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-the-thao__benefit-text {
  font-size: 16px;
  color: #A7D9B8;
}

.page-the-thao__image-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Promotions Section */
.page-the-thao__promo-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row;
}

.page-the-thao__promo-text {
  flex: 1;
  color: #F2FFF6;
}

.page-the-thao__promo-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-the-thao__promo-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-the-thao__promo-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* How to Bet Section */
.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__step-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

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

.page-the-thao__step-text {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 20px;
}

/* FAQ Section */
details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: rgba(46, 122, 78, 0.2);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8;
  font-size: 16px;
}

.page-the-thao__faq-answer p {
  margin-bottom: 10px;
}

.page-the-thao__faq-answer a {
  color: #57E38D;
  text-decoration: underline;
}

/* General 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,
.page-the-thao__hero-section,
.page-the-thao__intro-section,
.page-the-thao__sports-markets-section,
.page-the-thao__why-choose-section,
.page-the-the-thao__promotions-section,
.page-the-thao__how-to-bet-section,
.page-the-thao__faq-section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-the-thao__section-spacing {
    padding: 40px 0;
  }

  .page-the-thao__section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
  }

  .page-the-thao__section-title::after {
    width: 60px;
    height: 3px;
  }

  .page-the-thao__section-description {
    font-size: 16px;
    margin: -15px auto 30px auto;
    padding: 0 15px;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    min-height: 400px;
    padding-top: 10px; /* 约 10px 顶距 */
  }

  .page-the-thao__hero-image {
    object-fit: contain !important; /* 确保两侧不裁切 */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__hero-content {
    padding: 20px 15px;
    margin-top: 40px;
  }

  .page-the-thao__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Intro Section */
  .page-the-thao__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

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

  /* Sản phẩm/dịch vụ/blog/tin tức/hình ảnh chung */
  .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;
  }

  /* Sản phẩm/Dịch vụ/Blog Card Grid */
  .page-the-thao__sport-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sport-card {
    padding-bottom: 20px;
  }

  .page-the-thao__card-image {
    height: 180px;
  }

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

  .page-the-thao__card-text {
    font-size: 14px;
    padding: 0 15px;
  }

  /* Why Choose Section */
  .page-the-thao__two-column-layout {
    flex-direction: column-reverse; /* Đổi thứ tự để ảnh lên trên */
    gap: 30px;
  }

  .page-the-thao__image-right {
    justify-content: center;
  }

  .page-the-thao__benefit-item {
    padding: 20px;
  }

  .page-the-thao__benefit-title {
    font-size: 18px;
  }

  .page-the-thao__benefit-text {
    font-size: 15px;
  }

  /* Promotions Section */
  .page-the-thao__promo-content {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .page-the-thao__promo-list {
    margin-left: 15px;
    font-size: 15px;
  }

  /* How to Bet Section */
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .page-the-thao__step-text {
    font-size: 15px;
  }

  /* FAQ Section */
  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px 20px;
  }

  .page-the-thao__faq-qtext {
    font-size: 16px;
  }

  .page-the-thao__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
}

/* Media Queries for Tablet (max-width: 1024px) - also apply to desktop if no specific rule */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-the-thao__hero-description {
    font-size: 18px;
  }

  .page-the-thao__sport-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-the-thao__two-column-layout {
    flex-direction: column;
    gap: 40px;
  }

  .page-the-thao__image-right {
    order: -1; /* Image appears above content on tablet */
    justify-content: center;
  }

  .page-the-thao__promo-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__promo-image-wrapper {
    order: -1; /* Image appears above text on tablet */
    justify-content: center;
  }

  .page-the-thao__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-the-thao__content-wrapper {
    flex-direction: column;
  }
}

/* Ensure content area images are not smaller than 200px where applicable */
.page-the-thao__content-image, .page-the-thao__card-image, .page-the-thao__promo-image-wrapper img, .page-the-thao__image-right img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-the-thao__content-image, .page-the-thao__card-image, .page-the-thao__promo-image-wrapper img, .page-the-thao__image-right img {
    min-width: unset;
    min-height: unset;
  }
}