/* Hero */
.page-the-thao__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 0;
  box-sizing: border-box;
}
.page-the-thao__hero-image {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}
.page-the-thao__hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.page-the-thao__hero-content {
  width: 100%;
  max-width: 800px;
  margin: 16px 0 0;
  text-align: center;
}
.page-the-thao__hero-title {
  color: #0073b6; /* darker for contrast */
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.page-the-thao__hero-description {
  color: #333333;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 16px;
}
.page-the-thao__hero-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #EA7C07;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.page-the-thao__hero-cta:hover {
  opacity: 0.9;
}

/* Logo grid */
.page-the-thao__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 16px auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.page-the-thao__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
}
.page-the-thao__logo-item img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}
.page-the-thao__logo-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: #0477db;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.page-the-thao__logo-cta:hover {
  opacity: 0.9;
}
.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 {
  background: #ffffff;
}
.page-the-thao__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  box-sizing: border-box;
}
.page-the-thao__guide-title {
  text-align: center;
  color: #0073b6;
  margin: 0 0 24px;
}
.page-the-thao__guide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.page-the-thao__guide-figure {
  width: 100%;
  max-width: 800px;
  margin: 0;
}
.page-the-thao__guide-figure img {
  width: 100%;
  height: auto;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.page-the-thao__guide-text {
  width: 100%;
}
.page-the-thao__guide-subtitle {
  color: #0073b6;
  margin: 12px 0 8px;
}
.page-the-thao__guide-paragraph {
  color: #333333;
  line-height: 1.7;
  margin: 0 0 12px;
}
.page-the-thao__guide-important {
  color: #333333;
  padding-left: 20px;
  margin: 0;
  line-height: 1.7;
}
.page-the-thao__guide-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-the-thao__logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .page-the-thao__guide-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero {
    padding: 8px 12px 0;
  }
  .page-the-thao__hero-image img {
    aspect-ratio: 2 / 1;
  }
  .page-the-thao__hero-description {
    font-size: 0.95rem;
  }
  .page-the-thao__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-the-thao__logo-item:nth-child(5),
  .page-the-thao__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-the-thao__guide-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__guide-title {
    font-size: 1.5rem;
  }
  .page-the-thao__hero-title {
    font-size: 1.6rem;
  }
  .page-the-thao__hero-cta,
  .page-the-thao__logo-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }
  .page-the-thao__hero-content,
  .page-the-thao__logo-grid,
  .page-the-thao__guide-inner {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-the-thao {
    overflow-x: hidden;
    max-width: 100%;
  }
}