/* Base styles for the Thể Thao page */
.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: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-the-thao__section {
  padding: 40px 0;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-the-thao__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD86A; /* Gold-like from button gradient */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-the-thao__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold */
}

.page-the-thao__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__text-block a {
  color: #FFCC66; /* Glow */
  text-decoration: underline;
}

.page-the-thao__highlight-text {
  color: #FFCC66;
  font-weight: bold;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-the-thao__hero-description {
  font-size: 20px;
  color: #FFCC66; /* Glow */
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__card-button {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  width: fit-content;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
}

.page-the-thao__card-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

/* Intro Section */
.page-the-thao__intro-section {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 40px 20px;
}

.page-the-thao__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
  background: #B71C1C; /* Background */
}

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

.page-the-thao__card {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #FFF5E1;
  border: 1px solid #F2B544;
}

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

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: bold;
  padding: 15px;
  color: #FFD86A;
}

.page-the-thao__card-text {
  font-size: 16px;
  padding: 0 15px 15px;
  flex-grow: 1;
  text-align: justify;
}

/* Betting Guide Section */
.page-the-thao__betting-guide-section {
  background: #D32F2F; /* Card BG */
  padding: 40px 20px;
}

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

.page-the-thao__text-column {
  flex: 1;
}

.page-the-thao__image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-the-thao__list li {
  margin-bottom: 8px;
}

.page-the-thao__list li strong {
  color: #F4D34D; /* Gold */
}

/* Live Betting Section */
.page-the-thao__live-betting-section {
  background: #B71C1C; /* Background */
}

/* Promo Section */
.page-the-thao__promo-section {
  background: #D32F2F; /* Card BG */
  padding: 40px 20px;
}

.page-the-thao__promo-card {
  display: flex;
  background: #7A0E0E; /* Deep Red */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
  border: 2px solid #F2B544;
}

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

.page-the-thao__promo-content {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFF5E1;
}

.page-the-thao__promo-title {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
}

.page-the-thao__promo-text {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Connection Section */
.page-the-thao__connection-section {
  background: #B71C1C; /* Background */
}

/* Responsible Betting Section */
.page-the-thao__responsible-betting-section {
  background: #D32F2F; /* Card BG */
  padding: 40px 20px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  background: #B71C1C; /* Background */
}

.page-the-thao__faq-list {
  margin-top: 30px;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF5E1; /* Text Main */
}
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: #7A0E0E; /* Deep Red */
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold-like */
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF5E1; /* Text Main */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
}

.page-the-thao__faq-answer p {
  margin: 0;
  padding-top: 10px;
  font-size: 16px;
}

/* CTA Section */
.page-the-thao__cta-section {
  background: linear-gradient(135deg, #C91F17 0%, #E53935 100%);
  padding: 60px 0;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-the-thao__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-the-thao__cta-title {
  font-size: 42px;
  font-weight: bold;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.page-the-thao__cta-description {
  font-size: 20px;
  color: #FFCC66; /* Glow */
  max-width: 800px;
  margin-bottom: 30px;
}

.page-the-thao__cta-description a {
  color: #FFD86A;
  text-decoration: underline;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-the-thao__main-title {
    font-size: 42px;
  }
  .page-the-thao__hero-description {
    font-size: 18px;
  }
  .page-the-thao__section-title {
    font-size: 30px;
  }
  .page-the-thao__promo-card {
    flex-direction: column;
  }
  .page-the-thao__promo-image,
  .page-the-thao__promo-content {
    width: 100%;
  }
  .page-the-thao__content-row {
    flex-direction: column;
  }
  .page-the-thao__image-column {
    margin-top: 30px;
  }
  .page-the-thao__cta-title {
    font-size: 36px;
  }
  .page-the-thao__cta-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-the-thao__hero-image img {
    object-fit: contain !important; /* 强制 contain */
    aspect-ratio: unset !important; /* 取消固定比例 */
  }
  .page-the-thao__main-title {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-the-thao__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 通用图片与容器 */
  .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,
  .page-the-thao__promo-card,
  .page-the-thao__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (Grid Cards) */
  .page-the-thao__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }
  .page-the-thao__card-image {
    height: 180px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 28px);
    margin-bottom: 20px;
  }
  .page-the-thao__sub-title {
    font-size: 20px;
  }
  .page-the-thao__text-block {
    font-size: 16px;
    text-align: left;
  }
  .page-the-thao__article-body {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__card-button,
  .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: 12px 20px;
    font-size: 16px;
  }
  .page-the-thao__hero-buttons,
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ */
  details.page-the-thao__faq-item summary.page-the-thao__faq-question { padding: 15px; }
  .page-the-thao__faq-qtext { font-size: 16px; }
  .page-the-thao__faq-toggle { font-size: 22px; }
  details.page-the-thao__faq-item .page-the-thao__faq-answer { padding: 0 15px 15px; }

  /* Promo Card */
  .page-the-thao__promo-card {
    flex-direction: column;
  }
  .page-the-thao__promo-image,
  .page-the-thao__promo-content {
    width: 100%;
    padding: 20px;
  }
  .page-the-thao__promo-title {
    font-size: 24px;
  }
  .page-the-thao__promo-text {
    font-size: 16px;
  }

  /* CTA Section */
  .page-the-thao__cta-title {
    font-size: clamp(28px, 8vw, 34px);
  }
  .page-the-thao__cta-description {
    font-size: 16px;
  }
}