/* ===== FLATSOME-LIKE STYLES: HERO BANNER, LOGO GRID, GUIDE SECTION ===== */
/* Main scope: .page-the-thao inside <main class="page-content"> */
.page-the-thao {
  color: #ffffff;
  background-color: #0A0A0A;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===================== 1. HERO SECTION ===================== */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 0;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

.page-the-thao__hero-image-wrap {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

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

.page-the-thao__hero-content {
  text-align: center;
  padding: 20px 16px 20px;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

.page-the-thao__hero-title {
  color: #FFD36B;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.page-the-thao__hero-desc {
  color: #FFF6D6;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-the-thao__hero-btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 1px solid #3A2A12;
  box-shadow: 0 4px 14px rgba(255, 211, 107, 0.3);
}

.page-the-thao__hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.5);
}

.page-the-thao__hero-btn--secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.2);
}

.page-the-thao__hero-btn--secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
}

/* ===================== 2. LOGO / PROVIDER GRID SECTION ===================== */
.page-the-thao__logo-section {
  padding: 40px 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-the-thao__logo-title {
  color: #FFD36B;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  margin: 0 0 8px 0;
}

.page-the-thao__logo-subtitle {
  color: #FFF6D6;
  font-size: 0.95rem;
  margin: 0 0 30px 0;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  width: 100%;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 16px 12px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-the-thao__logo-item:hover {
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.15);
  transform: translateY(-2px);
}

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

.page-the-thao__logo-name {
  color: #FFF6D6;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.page-the-thao__logo-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__logo-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 211, 107, 0.4);
}

/* Fix 4+2 layout: items 5 and 6 span columns 2 and 3 */
.page-the-thao__logo-item:nth-child(5) {
  grid-column: 2;
}

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

/* ===================== 3. GUIDE SECTION ===================== */
.page-the-thao__guide-section {
  background: #0A0A0A;
  padding: 30px 0 60px;
}

.page-the-thao__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-the-thao__guide-title {
  text-align: center;
  color: #FFD36B;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  margin: 0 0 30px 0;
}

.page-the-thao__guide-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-the-thao__guide-figure {
  margin: 0;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

.page-the-thao__guide-figure:hover {
  box-shadow: 0 4px 16px rgba(255, 211, 107, 0.1);
}

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

.page-the-thao__guide-caption {
  color: #FFF6D6;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 6px 4px 2px;
  text-align: center;
}

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

.page-the-thao__guide-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 211, 107, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__guide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.5);
}

/* ===================== RESPONSIVE ===================== */

/* Tablet */
@media (max-width: 1024px) {
  .page-the-thao__logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .page-the-thao__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-the-thao__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 8px;
  }

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

  .page-the-thao__hero-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  }

  .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-title {
    font-size: 1.3rem;
  }

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

  /* Mobile image safety net */
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .page-the-thao__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-the-thao__logo-grid {
    grid-template-columns: 1fr;
  }

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