/* Flatsome: hero banner + logo 4+2 grid + guide blog figures */
.page-the-thao {
  max-width: 100%;
  overflow-x: hidden;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

/* HERO */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 16px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, #1a1a1a 0%, #0A0A0A 100%);
}

.page-the-thao__hero-image {
  width: 100%;
  max-width: 1020px;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.page-the-thao__hero-content {
  width: 100%;
  max-width: 1020px;
  text-align: center;
  padding: 20px 0 24px;
}

.page-the-thao__main-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #FFD36B;
  background: linear-gradient(90deg, #F2C14E 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px;
}

.page-the-thao__hero-description {
  margin: 0 auto 16px;
  max-width: 640px;
  color: #FFF6D6;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.page-the-thao__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
  border: 1px solid #3A2A12;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn:hover {
  opacity: 0.85;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 0 18px rgba(255, 211, 107, 0.4);
}

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

/* PARTNER GRID */
.page-the-thao__partner-section {
  padding: 24px 16px;
  background-color: #0A0A0A;
}

.page-the-thao__section-title {
  text-align: center;
  color: #F2C14E;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 24px;
  letter-spacing: 0.02em;
}

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

.page-the-thao__partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
}

.page-the-thao__partner-item img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  color: #FFF6D6;
}

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

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

.page-the-thao__guide-article {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.page-the-thao__guide-title {
  color: #FFD36B;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.page-the-thao__guide-article p {
  color: #FFF6D6;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 15px;
}

.page-the-thao__guide-figure {
  margin: 0 0 16px;
}

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

.page-the-thao__read-more {
  display: inline-block;
  color: #F2C14E;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.page-the-thao__read-more:hover {
  border-bottom-color: #F2C14E;
}

/* Responsive: Tablet & Mobile */
@media (max-width: 1024px) {
  .page-the-thao__partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .page-the-thao__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-the-thao__main-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
  }

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

  .page-the-thao__btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    font-size: 15px;
    padding: 14px 16px;
  }

  .page-the-thao__hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

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

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

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

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

  .page-the-thao__guide-article {
    padding: 16px;
  }

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

  .page-the-thao__guide-figure {
    margin-bottom: 12px;
  }

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

  /* Ensure all content images fit mobile viewport */
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }
}