/* ===== Module: Header/Footer ===== */
.page-the-thao { background: #0A0A0A; color: #FFF6D6; min-height: 60vh; }

/* ===== Module: Hero ===== */
.page-the-thao__hero-section {
    background: #0A0A0A;
    padding-top: 10px;
    border-bottom: 1px solid #3A2A12;
}
.page-the-thao__hero-image {
    max-width: 1100px;
    margin: 0 auto 12px;
    padding: 0 10px;
    box-sizing: border-box;
}
.page-the-thao__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1020 / 300;
    object-fit: cover;
    border-radius: 12px;
}
.page-the-thao__hero-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 18px 24px;
    text-align: center;
    color: #FFF6D6;
}
.page-the-thao__hero-title {
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    margin: 0 0 10px;
    color: #FFD36B;
}
.page-the-thao__hero-desc {
    max-width: 620px;
    margin: 0 auto 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #FFF6D6;
}
.page-the-thao__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}
.page-the-thao__btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}
.page-the-thao__btn:hover { transform: translateY(-2px); }
.page-the-thao__btn--register {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 14px rgba(255, 211, 107, 0.25);
}
.page-the-thao__btn--login {
    background: transparent;
    color: #FFF6D6;
    border: 2px solid #F2C14E;
}

/* ===== Module: Logo Grid ===== */
.page-the-thao__partners-section {
    padding: 40px 0 24px;
    background: #0A0A0A;
}
.page-the-thao__partners-title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 16px;
    padding: 0 10px;
    color: #FFD36B;
}
.page-the-thao__logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 16px;
    justify-items: center;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}
.page-the-thao__logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 220px;
    background: transparent;
    border-radius: 6px;
    padding: 12px 6px;
    box-sizing: border-box;
}
.page-the-thao__logo-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    display: block;
}
.page-the-thao__logo-name {
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #FFF6D6;
    transition: color 0.2s ease;
}
.page-the-thao__logo-name:hover { color: #F2C14E; }
.page-the-thao__logo-item:nth-child(5) { grid-column: 2; }
.page-the-thao__logo-item:nth-child(6) { grid-column: 3; }

/* ===== Module: Guide / FAQ ===== */
.page-the-thao__guide-section {
    background: #0A0A0A;
    padding: 30px 0 48px;
    border-top: 1px solid #3A2A12;
}
.page-the-thao__guide-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
.page-the-thao__guide-title {
    text-align: center;
    color: #FFD36B;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin: 0 0 26px;
}
.page-the-thao__guide-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
}
.page-the-thao__guide-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 8px;
}
.page-the-thao__guide-body h3 {
    color: #F2C14E;
    margin: 4px 0 8px;
    font-size: 1.3rem;
}
.page-the-thao__guide-body p {
    color: #FFF6D6;
    line-height: 1.6;
    margin: 0;
}
.page-the-thao__faq-item {
    margin-top: 14px;
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 8px 0;
    box-sizing: border-box;
}
.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.page-the-thao__faq-question::-webkit-details-marker { display: none; }
.page-the-thao__faq-toggle {
    color: #F2C14E;
    font-size: 1.6rem;
    line-height: 1;
}
.page-the-thao__faq-answer {
    padding: 0 16px 10px;
    color: #FFF6D6;
    border-top: 1px solid #3A2A12;
}
.page-the-thao__faq-answer p {
    margin: 10px 0 0;
}

/* ===== Mobile / Responsive ===== */
@media (max-width: 768px) {
    .page-the-thao__hero-section { padding-top: 8px; }
    .page-the-thao__hero-image img { aspect-ratio: 2 / 1; }
    .page-the-thao__hero-title { font-size: clamp(1.4rem, 6vw, 2rem); }
    .page-the-thao__logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .page-the-thao__logo-item:nth-child(5),
    .page-the-thao__logo-item:nth-child(6) {
        grid-column: auto;
    }
    .page-the-thao__btn { max-width: 100%; box-sizing: border-box; }
    .page-the-thao__btn--register, .page-the-thao__btn--login { width: 100%; max-width: 100%; }
    .page-the-thao__guide-item { padding: 10px; }
    .page-the-thao img { max-width: 100% !important; height: auto !important; }
    .page-the-thao__logo-grid,
    .page-the-thao__guide-inner { overflow: hidden; }
    .page-the-thao { max-width: 100%; overflow-x: hidden; }

    /* Nhóm nút: đưa về 1 cột để tránh tràn */
    .page-the-thao__hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

  @media (max-width: 1024px) and (min-width: 769px){
      .page-the-thao__logo-grid {
          grid-template-columns: repeat(3, 1fr) !important;
      }
      .page-the-thao__logo-item:nth-child(5),
      .page-the-thao__logo-item:nth-child(6) {
          grid-column: auto !important;
      }
  }