/* ===== Thể Thao Page Styles (u888bet) ===== */
.page-the-thao {
  color: #333333;
  background-color: #F5F7FA;
  max-width: 100%;
  overflow-x: hidden;
}

/* --- Hero --- */
.page-the-thao__hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
  padding: 10px 16px 0 16px;
}

.page-the-thao__hero-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 8px;
}

.page-the-thao__hero-image {
  width: 100%;
}

.page-the-thao__hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.page-the-thao__hero-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #E53935;
  margin: 0 0 8px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.page-the-thao__hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 16px auto;
  font-weight: 400;
}

.page-the-thao__hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.page-the-thao__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.3);
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
}

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

/* --- Logo Grid --- */
.page-the-thao__logo-section {
  padding: 24px 16px;
  background-color: #FFFFFF;
}

.page-the-thao__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-the-thao__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.page-the-thao__logo-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 8px;
  background-color: #fff;
  box-sizing: border-box;
}

.page-the-thao__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__logo-cta:hover {
  transform: scale(1.02);
}

.page-the-thao__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-the-thao__logo-item:nth-child(6) {
  grid-column: 3;
}

/* --- Guide --- */
.page-the-thao__guide-section {
  padding: 16px 16px 48px 16px;
  background-color: #F5F7FA;
}

.page-the-thao__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-the-thao__guide-title {
  text-align: center;
  color: #E53935;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.page-the-thao__guide-figure {
  margin: 0 0 24px 0;
  text-align: center;
}

.page-the-thao__guide-figure img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-the-thao__guide-figure figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}

.page-the-thao__guide-section details {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 12px;
}

.page-the-thao__guide-section summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
  color: #E53935;
  list-style: none;
}

.page-the-thao__guide-section summary::-webkit-details-marker {
  display: none;
}

.page-the-thao__guide-toggle {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #FF5A4F;
  margin-left: 12px;
}

.page-the-thao__guide-section details[open] .page-the-thao__guide-toggle {
  color: #E53935;
}

.page-the-thao__guide-section details p {
  padding-top: 8px;
  border-top: 1px solid #F0F0F0;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-the-thao__guide-cta {
  text-align: center;
  margin-top: 24px;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
  .page-the-thao__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-the-thao__logo-item:nth-child(5) {
    grid-column: 2;
  }

  .page-the-thao__logo-item:nth-child(6) {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding: 8px 12px 0 12px;
  }

  .page-the-thao__hero-img {
    aspect-ratio: 2 / 1;
    border-radius: 8px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .page-the-thao__hero-desc {
    font-size: 0.95rem;
  }

  .page-the-thao__hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .page-the-thao__btn {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-the-thao__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .page-the-thao__logo-item:nth-child(5),
  .page-the-thao__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-the-thao__logo-image {
    width: 100%;
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
  }

  .page-the-thao__logo-cta {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-the-thao__guide-title {
    font-size: 1.2rem;
  }

  .page-the-thao__guide-figure img {
    max-width: 100%;
  }

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

@media (max-width: 480px) {
  .page-the-thao__hero-cta {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-the-thao__hero-cta .page-the-thao__btn {
    width: 100%;
  }

  .page-the-thao__guide-section details p {
    padding-left: 4px;
    padding-right: 4px;
  }
}