/* style/the-thao.css */
.page-the-thao {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

.page-the-thao__container--hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
}

.page-the-thao__hero-title-section {
    background-color: #f8f9fa; /* Light background for the hero section */
    padding-bottom: 40px;
}

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

.page-the-thao__main-title {
    font-size: 2.8em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for main title */
}

.page-the-thao__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555555;
}

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

.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;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

.page-the-thao__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

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

.page-the-thao__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-the-thao__btn-center {
    display: block;
    margin: 30px auto 0;
    max-width: 250px;
}

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

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

.page-the-thao__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.page-the-thao__paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444444;
}

.page-the-thao__highlight {
    color: #EA7C07;
    font-weight: bold;
}

.page-the-thao__inline-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

.page-the-thao__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.page-the-thao__grid-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.page-the-thao__features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.page-the-thao__list-item {
    background-color: #f0f8ff;
    padding: 15px 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.05em;
    color: #333333;
}

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

.page-the-thao__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    list-style: none;
    user-select: none; /* Prevent text selection on click */
}

.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: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-the-thao__main-title {
        font-size: 2.5em;
    }
    .page-the-thao__section-title {
        font-size: 2em;
    }
    .page-the-thao__container--hero {
        padding: 30px 16px;
    }
    .page-the-thao__image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO/Title Section */
    .page-the-thao__hero-title-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }
    .page-the-thao__container--hero {
        flex-direction: column; /* Stack vertically */
        padding: 20px 15px;
        gap: 20px;
    }
    .page-the-thao__text-content,
    .page-the-thao__image-wrapper {
        flex: 1 1 100%; /* Full width on mobile */
        min-width: unset;
    }
    .page-the-thao__main-title {
        font-size: 2em; /* Smaller font size for mobile */
        text-align: center;
    }
    .page-the-thao__description {
        font-size: 1em;
        text-align: center;
    }
    .page-the-thao__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        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;
    }

    /* Content Sections (General) */
    .page-the-thao__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-the-thao__paragraph,
    .page-the-thao__list-item,
    .page-the-thao__faq-answer p {
        font-size: 0.95em;
    }

    /* Images */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__image-grid {
        grid-template-columns: 1fr; /* Single column for image grid */
    }
    
    /* FAQ Section */
    .page-the-thao__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-the-thao__faq-answer {
        padding: 0 15px 12px;
    }
}