/* ===== THE THAO PAGE – BLACK GOLD ===== */
/* Container / Base */
.page-the-thao {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-the-thao a {
  color: #FFD36B;
}

/* Buttons */
.page-the-thao__btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid #3A2A12;
  text-align: center;
  box-sizing: border-box;
  transition: all .2s ease;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  border: none;
  box-shadow: 0 0 10px rgba(255, 211, 107, .2);
  margin-right: 10px;
}

.page-the-thao__btn--primary:hover {
  transform: scale(1.02);
  box-shadow: 0 0 18px #FFD36B;
}

.page-the-thao__btn--secondary {
  background: transparent;
  color: #FFD36B;
}

.page-the-thao__btn--secondary:hover {
  background: #111;
}

/* HERO – image on top, content below (above text cannot overlap) */
.page-the-thao__hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 10px; /* small top spacing */
  padding-bottom: 20px;
  background: #0A0A0A;
}

.page-the-thao__hero-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

.page-the-thao__hero-content {
  margin-top: 20px;
  padding: 0 16px;
  max-height: none;
}

.page-the-thao__hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #FFD36B;
  max-width: 900px;
  text-align: left;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.1);
  margin: 0 0 10px;
}

.page-the-thao__hero-description {
  font-size: 17px;
  max-width: 800px;
  color: #C9C9C9;
}

.page-the-thao__hero-actions {
  margin-top: 20px;
}

/* Logo/Partner Section – 4 + 2 layout on desktop, 2 columns on mobile */
.page-the-thao__partners {
  padding: 24px 16px;
}

.page-the-thao__partners-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__partners-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 22px;
}

.page-the-thao__partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
}

.page-the-thao__partners-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 280px;
  margin: 0;
  transition: box-shadow .2s;
}

.page-the-thao__partners-item:hover {
  box-shadow: 0 0 12px #FFD36B55;
}

.page-the-thao__partners-item img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}

.page-the-thao__partners-cta {
  margin-top: 10px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #FFD36B;
  color: #FFD36B;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}

.page-the-thao__partners-cta:hover {
  background: #FFD36B;
  color: #0A0A0A;
}

/* Guide Section – full width figure */
.page-the-thao__guide {
  padding: 0 16px 48px;
}

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

.page-the-thao__guide-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #FFD36B;
  margin: 10px 0 20px;
}

.page-the-thao__guide-figure {
  margin: 0 0 30px;
  background: #111111;
  border-radius: 8px;
  padding: 8px;
}

.page-the-thao__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.page-the-thao__guide-figure figcaption {
  text-align: center;
  color: #AAA;
  font-size: 14px;
  padding: 8px 4px 2px;
}

.page-the-thao__guide-step {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
}

.page-the-thao__guide-step h3 {
  color: #FFD36B;
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}

.page-the-thao__guide-step p {
  margin: 0;
  color: #DDD;
}

/* ===== TABLET / MOBILE ===== */
@media (max-width: 1024px) {
  .page-the-thao__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    max-width: 100%;
  }

  .page-the-thao__hero {
    padding-top: 8px;
  }

  .page-the-thao__hero-image {
    aspect-ratio: 16 / 9;
  }

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

  .page-the-thao__hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

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

  .page-the-thao__hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .page-the-thao__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin-right: 0;
    padding: 12px 16px;
  }

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

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

  .page-the-thao__partners-item {
    max-width: 220px;
    padding: 6px;
  }

  .page-the-thao__partners-cta {
    font-size: 12px;
    padding: 6px 12px;
  }

  .page-the-thao__guide-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .page-the-thao__guide-figure {
    width: 100%;
    box-sizing: border-box;
  }

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

  /* Force any content image to shrink with viewport */
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Padding fix for paragraphs and steps */
  .page-the-thao__guide-step {
    padding: 16px;
  }

  .page-the-thao__guide-step h3 {
    font-size: 16px;
  }
}