/* style/the-thao.css */

/* General styles */
.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Explicitly set for light background */
}

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

.page-the-thao__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
}

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

.page-the-thao__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-the-thao__section-subtitle--light {
    color: #f0f0f0;
}

.page-the-thao__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
}

.page-the-thao__text-block--light {
    color: #f0f0f0;
}

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-the-thao__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    margin: 0 10px;
}

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

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

.page-the-thao__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

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

/* HERO Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    padding-bottom: 60px;
    background-color: #FFFFFF; /* Ensure light background for text contrast */
}

.page-the-thao__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    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: 3.2em;
    font-weight: 800;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
    line-height: 1.2;
}

.page-the-thao__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.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;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Intro Section */
.page-the-thao__intro-section {
    padding: 60px 0;
}

/* Features Section (Module 1) */
.page-the-thao__features-section {
    background-color: #26A9E0; /* Dark background */
    padding: 60px 0;
    color: #FFFFFF;
}

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

.page-the-thao__feature-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1; /* Ensures square shape */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensures image is also circular */
    display: block;
}

.page-the-thao__feature-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-the-thao__feature-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-the-thao__guide-step {
    margin-bottom: 40px;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__guide-step:nth-child(even) {
    background-color: #f9f9f9;
}

.page-the-thao__guide-step-title {
    font-size: 2em;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-the-thao__guide-step-description {
    font-size: 1.1em;
    margin-bottom: 20px;
}

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

/* Strategies Section */
.page-the-thao__strategies-section {
    background-color: #26A9E0;
    padding: 60px 0;
    color: #FFFFFF;
}

.page-the-thao__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.page-the-thao__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__strategy-item-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-the-thao__strategy-item-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

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

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

.page-the-thao__trust-item {
    text-align: center;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-the-thao__trust-icon {
    max-width: 100%; /* Ensure images are responsive within their container */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-the-thao__trust-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-the-thao__trust-description {
    font-size: 1em;
    color: #555555;
}

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

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

.page-the-thao__faq-item {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-the-thao__faq-question:hover {
    background-color: #e5e5e5;
}

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

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
    line-height: 1;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    content: "−"; /* Changed by JS */
}

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

/* Final CTA Section */
.page-the-thao__final-cta-section {
    background-color: #26A9E0;
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-the-thao__final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-the-thao__hero-title {
        font-size: 2.8em;
    }
    .page-the-thao__hero-description {
        font-size: 1.15em;
    }
    .page-the-thao__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-the-thao__strategy-list {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    .page-the-thao__trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


@media (max-width: 768px) {
    /* General */
    .page-the-thao {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-the-thao__container {
        padding: 30px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-the-thao__section-subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-the-thao__text-block {
        font-size: 1em;
    }

    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px !important;
    }
    .page-the-thao__hero-container {
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px !important;
    }
    .page-the-thao__hero-content,
    .page-the-thao__hero-image {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-the-thao__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-the-thao__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-the-thao__hero-cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 10px;
    }
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .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;
        margin: 0 !important; /* Remove horizontal margin */
        padding-left: 15px !important; /* Add padding to match container */
        padding-right: 15px !important;
    }
    .page-the-thao__hero-cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Module 1 (Features Section) */
    .page-the-thao__features-section {
        padding: 40px 0 !important;
    }
    .page-the-thao__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-the-thao__feature-item {
        padding: 20px;
    }
    .page-the-thao__icon-box-media {
        width: 150px; /* Adjust size for mobile */
        height: 150px;
        margin-bottom: 15px;
        border-width: 3px;
    }
    .page-the-thao__feature-title {
        font-size: 1.5em;
    }
    .page-the-thao__feature-description {
        font-size: 0.95em;
    }
}