/* ===== Block: page-the-thao ===== */
.page-the-thao {
  --color-primary: #2F6BFF;
  --color-secondary: #6FA3FF;
  --color-bg: #F4F7FB;
  --color-card: #FFFFFF;
  --color-text: #1F2D3D;
  --color-border: #D6E2FF;
  --color-glow: #A5C4FF;
  --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  padding: 0 16px 48px;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  box-sizing: border-box;
}

.page-the-thao *,
.page-the-thao *::before,
.page-the-thao *::after {
  box-sizing: border-box;
}

/* ===== Hero Section ===== */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(47, 107, 255, 0.15);
}

.page-the-thao__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}

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

.page-the-thao__hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.page-the-thao__hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto 20px;
}

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

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

.page-the-thao__btn--primary {
  background: var(--btn-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn--secondary {
  background: var(--color-card);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-the-thao__btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* ===== Logo Grid Section ===== */
.page-the-thao__logo-section {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 24px 16px;
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.page-the-thao__section-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}

.page-the-thao__section-subtitle {
  text-align: center;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

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

.page-the-thao__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 16px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
  transition: box-shadow 0.3s ease;
}

.page-the-thao__logo-item:hover {
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
}

.page-the-thao__logo-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
}

.page-the-thao__logo-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

.page-the-thao__logo-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease;
  width: 100%;
  text-align: center;
  max-width: 180px;
}

.page-the-thao__logo-cta:hover {
  background: var(--color-secondary);
}

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

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

/* ===== Guide Section ===== */
.page-the-thao__guide-section {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 16px;
}

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

.page-the-thao__guide-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.page-the-thao__guide-intro {
  text-align: center;
  color: var(--color-text);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.page-the-thao__guide-article {
  margin: 0 0 40px;
  padding: 24px;
  background: var(--color-card);
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

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

.page-the-thao__guide-image {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.page-the-thao__guide-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
}

.page-the-thao__guide-article p {
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-the-thao__guide-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--btn-gradient);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__guide-link:hover {
  opacity: 0.9;
}

/* ===== Responsive: Tablet & Mobile ===== */
@media (max-width: 1024px) {
  .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;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    padding: 0 12px 32px;
  }

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

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

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

  .page-the-thao__logo-item {
    max-width: 100%;
    padding: 12px;
  }

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

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

  .page-the-thao__logo-cta,
  .page-the-thao__btn,
  .page-the-thao__guide-link {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    text-align: center;
  }

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

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

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

  .page-the-thao {
    max-width: 100%;
    overflow-x: hidden;
  }
}