.page-the-thao {
    font-family: Arial, sans-serif;
    color: #1F2D3D;
    background-color: #F4F7FB;
    line-height: 1.6;
}

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

.page-the-thao__hero-section {
    padding-top: 10px; /* Aligned with fixed header spacing rule */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    color: #ffffff;
    background-color: #2F6BFF; /* Fallback for image loading */
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-the-thao__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
}

.page-the-thao__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-the-thao__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-secondary:hover {
    background: #e0f0ff;
    color: #1a4a99;
    border-color: #1a4a99;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-the-thao__btn-tertiary {
    background: none;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-the-thao__btn-tertiary:hover {
    background: #2F6BFF;
    color: #ffffff;
}

.page-the-thao__btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
}

.page-the-thao__btn-small:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-the-thao__content-section {
    padding: 60px 0;
}

.page-the-thao__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
}

.page-the-thao__text-block {
    font-size: 1.05rem;
    color: #1F2D3D;
    margin-bottom: 20px;
    text-align: justify;
}

.page-the-thao__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 800px;
}

.page-the-thao__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

.page-the-thao__figcaption {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 10px;
}

.page-the-thao__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-the-thao__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #1F2D3D;
}

.page-the-thao__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-the-thao__list--columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-the-thao__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-the-thao__card {
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.page-the-thao__card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-the-thao__card-text {
    font-size: 1rem;
    color: #1F2D3D;
}

.page-the-thao__action-box {
    background: #6FA3FF;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    color: #ffffff;
}

.page-the-thao__action-box-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-the-thao__action-box-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-the-thao__guide-list {
    list-style: none;
    padding-left: 0;
    margin-top: 40px;
}

.page-the-thao__guide-item {
    background: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__guide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-the-thao__guide-text {
    font-size: 1rem;
    color: #1F2D3D;
    margin-bottom: 15px;
}

.page-the-thao__guide-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-the-thao__guide-link:hover {
    text-decoration: underline;
}

.page-the-thao__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-the-thao__promo-card {
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.page-the-thao__promo-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-the-thao__promo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 10px;
}

.page-the-thao__promo-text {
    font-size: 0.95rem;
    color: #1F2D3D;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-the-thao__faq-list {
    margin-top: 40px;
}

.page-the-thao__faq-item {
    background: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1F2D3D;
    list-style: none; /* For <summary> */
}

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

.page-the-thao__faq-qtext {
    flex-grow: 1;
}

.page-the-thao__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2F6BFF;
    margin-left: 15px;
    width: 25px;
    text-align: center;
}

.page-the-thao__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #1F2D3D;
    line-height: 1.6;
}

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

.page-the-thao__cta-final {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-the-thao {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-the-thao__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        min-height: 400px;
    }

    .page-the-thao__hero-content {
        padding: 30px 15px;
    }

    .page-the-thao__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-the-thao__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao__btn-tertiary,
    .page-the-thao__btn-small,
    .page-the-thao a[class*="button"],
    .page-the-thao a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__content-section {
        padding: 40px 0;
    }

    .page-the-thao__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-the-thao__text-block {
        font-size: 0.95rem;
    }

    .page-the-thao__figure {
        margin: 20px auto;
    }

    .page-the-thao__image,
    .page-the-thao__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-the-thao__list-item {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding-left: 25px;
    }

    .page-the-thao__list-item::before {
        top: 2px;
    }

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

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

    .page-the-thao__card {
        padding: 25px;
        min-height: auto;
    }

    .page-the-thao__card-title {
        font-size: 1.2rem;
    }

    .page-the-thao__action-box {
        padding: 30px;
    }

    .page-the-thao__action-box-title {
        font-size: 1.5rem;
    }

    .page-the-thao__action-box-text {
        font-size: 1rem;
    }

    .page-the-thao__guide-item {
        padding: 20px;
        margin-bottom: 15px;
    }

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

    .page-the-thao__guide-text {
        font-size: 0.95rem;
    }

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

    .page-the-thao__promo-card {
        min-height: auto;
        padding: 20px;
    }

    .page-the-thao__promo-title {
        font-size: 1.2rem;
    }

    .page-the-thao__promo-text {
        font-size: 0.9rem;
    }

    .page-the-thao__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-the-thao__faq-toggle {
        font-size: 1.2rem;
    }

    .page-the-thao__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    .page-the-thao__cta-final {
        flex-direction: column;
        gap: 10px;
    }
    /* Ensure all image containers are handled */
    .page-the-thao__hero-image-wrapper,
    .page-the-thao__figure,
    .page-the-thao__promo-card {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
}