/*==================== The Thao page styles ====================*/
.page-the-thao__container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/*---------------------- 1. Hero Section ----------------------*/
.page-the-thao__hero-section {
    background: #F5F7FA;
    padding: 10px 0 30px;
}

.page-the-thao__hero-image-wrapper {
    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: 8px;
}

.page-the-thao__hero-content {
    text-align: center;
    max-width: 800px;
    margin: 24px auto 0;
    padding: 0 15px;
}

.page-the-thao__main-title {
    color: #333333;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 16px;
}

.page-the-thao__hero-description {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px;
}

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

/*---------------------- Buttons ----------------------*/
.page-the-thao__btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

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

.page-the-thao__btn--primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
}

.page-the-thao__btn--secondary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
}

/*---------------------- 2. Logo Section ----------------------*/
.page-the-thao__logo-section {
    background: #FFFFFF;
    padding: 48px 0;
    border-top: 1px solid #E0E0E0;
}

.page-the-thao__section-title {
    text-align: center;
    color: #E53935;
    font-weight: 800;
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.4;
}

.page-the-thao__section-subtitle {
    text-align: center;
    color: #333333;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 40px;
}

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

.page-the-thao__logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 220px;
    width: 100%;
}

.page-the-thao__logo-image {
    display: block;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 2/1;
    object-fit: contain;
    background-color: #FFFFFF;
}

.page-the-thao__logo-cta {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: opacity 0.3s ease;
}

.page-the-thao__logo-cta:hover {
    opacity: 0.87;
}

.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: #F5F7FA;
    padding-bottom: 60px;
}

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

.page-the-thao__guide-title {
    text-align: center;
    color: #E53935;
    font-weight: 800;
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.4;
}

.page-the-thao__guide-intro {
    text-align: center;
    color: #333333;
    font-size: 16px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 48px;
}

.page-the-thao__guide-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.page-the-thao__guide-text {
    flex: 1;
}

.page-the-thao__guide-heading {
    color: #333333;
    font-weight: 700;
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.4;
}

.page-the-thao__guide-text p {
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.page-the-thao__guide-text a {
    color: #E53935;
    text-decoration: underline;
    word-break: break-word;
}

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

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

/*---------------------- FAQ ----------------------*/
.page-the-thao__guide-faq {
    margin-top: 32px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 24px;
}

.page-the-thao__faq-title {
    color: #333333;
    font-weight: 700;
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.4;
}

.page-the-thao__faq-item {
    border-bottom: 1px solid #E0E0E0;
    padding: 12px 0;
}

.page-the-thao__faq-item:last-child {
    border-bottom: none;
}

.page-the-thao__faq-question {
    color: #333333;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.page-the-thao__faq-question::-webkit-details-marker {
    display: none;
}

.page-the-thao__faq-question::after {
    content: '+ / -';
    color: #666666;
    font-weight: 300;
    font-size: 14px;
}

.page-the-thao__faq-answer {
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
    padding-top: 8px;
    padding-right: 20px;
}

/*---------------------- Guide CTA ----------------------*/
.page-the-thao__guide-cta {
    text-align: center;
    margin-top: 40px;
}

.page-the-thao__guide-cta p {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}


/*==================== Responsive - <= 768px ====================*/
@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px;
    }

    .page-the-thao__hero-image {
        aspect-ratio: 16/9;
        height: auto;
    }

    .page-the-thao__hero-content {
        text-align: left;
        margin-top: 16px;
    }

    .page-the-thao__hero-actions {
        justify-content: flex-start;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

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

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

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

    .page-the-thao__logo-item {
        max-width: 140px;
    }

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

    .page-the-thao__logo-cta {
        font-size: 0;
        width: 100%;
        height: 0;
        padding: 0;
        overflow: hidden;
        display: block;
    }

    .page-the-thao__logo-image {
        max-width: 100%;
        height: auto;
    }

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

    .page-the-thao__guide-intro {
        font-size: 15px;
        margin-bottom: 32px;
    }

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

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

    .page-the-thao__guide-text p {
        font-size: 14px;
    }

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

    /* Global image constraint for this page in mobile */
    .page-the-thao img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/*==================== Responsive - <= 480px ====================*/
@media (max-width: 480px) {
    .page-the-thao__logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-the-thao__logo-item {
        max-width: 120px;
    }
}