/* style/the-thao.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --site-bg-color: #F5F7FA;
    --border-color: #E0E0E0;
    --white-text: #ffffff;
}

/* Base styles for the page-the-thao scope */
.page-the-thao {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for light body background */
    background-color: var(--site-bg-color);
}

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

.page-the-thao__section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-the-thao__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

/* HERO Section */
.page-the-thao__hero-section {
    background-color: var(--site-bg-color);
    padding-top: 10px; /* Specific top padding for non-shared body padding-top */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-the-thao__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
}

.page-the-thao__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: var(--text-main-color);
}

.page-the-thao__hero-title {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-the-thao__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

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

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

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white-text);
    border: none;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-the-thao__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white-text);
    transform: translateY(-2px);
}

.page-the-thao__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Content Sections */
.page-the-thao__content-section {
    padding: 60px 0;
}

.page-the-thao__dark-section {
    background-color: var(--primary-color);
    color: var(--white-text);
}

.page-the-thao__dark-section .page-the-thao__section-title,
.page-the-thao__dark-section .page-the-thao__sub-title {
    color: var(--white-text);
}

.page-the-thao__dark-section .page-the-thao__text-block p,
.page-the-thao__dark-section .page-the-thao__benefit-list li,
.page-the-thao__dark-section .page-the-thao__guide-step p {
    color: var(--white-text);
}

.page-the-thao__dark-section .page-the-thao__guide-step a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.page-the-thao__content-wrapper.page-the-thao__reverse-layout {
    flex-direction: row-reverse;
}

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

.page-the-thao__image-block {
    flex: 1 1 35%;
    min-width: 250px;
    text-align: center;
}

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

/* Guide Section */
.page-the-thao__guide-section .page-the-thao__guide-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-the-thao__guide-steps {
    flex: 1 1 55%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-the-thao__guide-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-the-thao__step-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    background-color: var(--white-text);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-the-thao__step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white-text);
    margin-top: 0;
    margin-bottom: 5px;
}

/* Benefit List */
.page-the-thao__benefit-list {
    list-style: none;
    padding-left: 0;
}

.page-the-thao__benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--white-text);
}

.page-the-thao__benefit-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
}

/* FAQ Section */
.page-the-thao__faq-section {
    background-color: var(--site-bg-color);
}

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

.page-the-thao__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    list-style: none; /* Remove default marker for details summary */
}

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

.page-the-thao__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    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: 16px;
    color: var(--text-main-color);
    line-height: 1.6;
}

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

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

    .page-the-thao__sub-title {
        font-size: 20px;
    }

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

    .page-the-thao__hero-container {
        flex-direction: column;
        gap: 20px;
        padding-top: 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(28px, 7vw, 36px);
        text-align: center;
    }

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

    .page-the-thao__hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Content Sections Mobile */
    .page-the-thao__content-section {
        padding: 30px 0;
    }

    .page-the-thao__content-wrapper,
    .page-the-thao__content-wrapper.page-the-thao__reverse-layout {
        flex-direction: column;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}