.page-the-thao {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #FFFFFF;
}

.page-the-thao__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 16px;
    box-sizing: border-box;
}

.page-the-thao__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-the-thao__section-description {
    font-size: 18px;
    text-align: center;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-the-thao__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-the-thao__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-the-thao__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-the-thao__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* HERO Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* ~10px top spacing */
    padding-bottom: 60px;
    background-color: #f9f9f9; /* Light background for contrast with text */
}

.page-the-thao__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
}

.page-the-thao__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: #333333;
}

.page-the-thao__hero-title {
    font-size: clamp(2.5rem, 4vw, 48px);
    font-weight: 700;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-the-thao__hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

.page-the-thao__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-the-thao__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-the-thao__hero-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Intro Section (Module 1) */
.page-the-thao__intro-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-the-thao__icon-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-the-thao__icon-box {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: #fcfcfc;
    transition: transform 0.3s ease;
}

.page-the-thao__icon-box:hover {
    transform: translateY(-5px);
}

.page-the-thao__icon-box-media {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #017439;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.page-the-thao__icon-box-title {
    font-size: 22px;
    font-weight: bold;
    color: #017439;
    margin-bottom: 10px;
}

.page-the-thao__icon-box-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
}

/* Sports Categories Section */
.page-the-thao__sports-categories-section {
    padding: 60px 0;
    background-color: #f0f8f0;
}

.page-the-thao__sport-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-the-thao__sport-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-the-thao__sport-card:hover {
    transform: translateY(-5px);
}

.page-the-thao__sport-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-the-thao__sport-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-the-thao__sport-card-text {
    font-size: 16px;
    color: #555555;
    padding: 0 15px 20px;
    line-height: 1.6;
}

.page-the-thao__sport-card .page-the-thao__btn-primary {
    margin-bottom: 20px;
    width: auto;
    display: inline-block;
}

/* Guide Section */
.page-the-thao__guide-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-the-thao__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.page-the-thao__guide-step {
    background-color: #fcfcfc;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-the-thao__guide-step-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-the-thao__guide-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-the-thao__guide-step-title {
    font-size: 22px;
    font-weight: bold;
    color: #017439;
    margin: 0 15px 10px;
}

.page-the-thao__guide-step-text {
    font-size: 16px;
    color: #555555;
    padding: 0 15px;
    line-height: 1.6;
}

/* Promo Section */
.page-the-thao__promo-section {
    padding: 60px 0;
    background-color: #f0f8f0;
}

.page-the-thao__promo-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-the-thao__promo-card {
    flex: 1 1 45%;
    max-width: 550px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-the-thao__promo-card:hover {
    transform: translateY(-5px);
}

.page-the-thao__promo-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-the-thao__promo-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #017439;
    margin: 0 20px 10px;
}

.page-the-thao__promo-card-text {
    font-size: 16px;
    color: #555555;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Trust Section */
.page-the-thao__trust-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-the-thao__trust-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-the-thao__trust-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-the-thao__trust-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

.page-the-thao__trust-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-the-thao__trust-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-the-thao__faq-section {
    padding: 60px 0;
    background-color: #f0f8f0;
}

.page-the-thao__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-the-thao__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

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

.page-the-thao__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    transform: rotate(45deg);
}

.page-the-thao__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

.page-the-thao__faq-answer p {
    margin-bottom: 10px;
}

/* CTA Section Bottom */
.page-the-thao__cta-section {
    padding: 60px 0;
    background-color: #017439;
    color: #FFFFFF;
    text-align: center;
}

.page-the-thao__cta-section .page-the-thao__section-title {
    color: #FFFFFF;
}

.page-the-thao__cta-section .page-the-thao__section-description {
    color: #f0f0f0;
}

.page-the-thao__cta-buttons-bottom {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao__cta-buttons-bottom .page-the-thao__btn-primary {
    background-color: #C30808; /* Custom color for register */
    border-color: #C30808;
    color: #FFFF00; /* Custom font color for register/login */
}

.page-the-thao__cta-buttons-bottom .page-the-thao__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-the-thao__cta-buttons-bottom .page-the-thao__btn-secondary {
    background-color: #C30808; /* Custom color for login */
    border-color: #C30808;
    color: #FFFF00; /* Custom font color for register/login */
}

.page-the-thao__cta-buttons-bottom .page-the-thao__btn-secondary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

/* Image responsiveness for all images */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .page-the-thao__container {
        padding: 15px;
    }

    .page-the-thao__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .page-the-thao__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-the-thao__hero-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }

    .page-the-thao__hero-content,
    .page-the-thao__hero-image {
        flex: 1 1 100%;
        min-width: unset;
    }

    .page-the-thao__hero-title {
        font-size: clamp(2rem, 8vw, 36px);
        text-align: center;
    }

    .page-the-thao__hero-description {
        text-align: center;
        font-size: 15px;
    }

    .page-the-thao__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 15px;
    }

    /* Intro Section (Module 1) */
    .page-the-thao__intro-section {
        padding: 40px 0;
    }

    .page-the-thao__icon-boxes {
        flex-direction: column;
        gap: 20px;
    }

    .page-the-thao__icon-box {
        max-width: 100%;
    }

    .page-the-thao__icon-box-media {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }

    /* Sports Categories Section */
    .page-the-thao__sports-categories-section {
        padding: 40px 0;
    }

    .page-the-thao__sport-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__sport-card-image {
        height: 180px;
    }

    /* Guide Section */
    .page-the-thao__guide-section {
        padding: 40px 0;
    }

    .page-the-thao__guide-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-the-thao__guide-step-media {
        height: 180px;
    }

    /* Promo Section */
    .page-the-thao__promo-section {
        padding: 40px 0;
    }

    .page-the-thao__promo-cards {
        flex-direction: column;
        gap: 20px;
    }
}