/* Base styles for the Thể Thao page */
.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default body background is white */
}

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

.page-the-thao__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* HERO Section */
.page-the-thao__hero-section {
    background-color: #f0f8ff; /* Light background for hero */
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    color: #000000;
}

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

.page-the-thao__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    padding-right: 20px;
}

.page-the-thao__main-title {
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 20px;
    /* No fixed font-size, rely on viewport/responsive scaling */
    font-size: clamp(2em, 4vw, 3.5em);
}

.page-the-thao__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-the-thao__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

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

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

.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;
}

/* Intro Section */
.page-the-thao__intro-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-the-thao__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__icon-box-media {
    width: 200px; /* Adjusted to 200px for square minimum */
    height: 200px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #26A9E0;
}

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

.page-the-thao__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
}

.page-the-thao__feature-text {
    font-size: 1em;
    color: #555555;
}

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

.page-the-thao__sports-categories .page-the-thao__section-title,
.page-the-thao__sports-categories .page-the-thao__section-description {
    color: #FFFFFF;
}

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

.page-the-thao__category-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
}

.page-the-thao__category-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-the-thao__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 15px 15px 10px;
    color: #FFFFFF;
}

.page-the-thao__card-text {
    font-size: 0.95em;
    margin: 0 15px 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-the-thao__btn-small {
    font-size: 0.9em;
    padding: 8px 15px;
    margin: 0 15px 15px;
    align-self: flex-start;
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 1px solid #FFFFFF;
}

.page-the-thao__btn-small:hover {
    background-color: #f0f0f0;
}

/* How to Bet Section */
.page-the-thao__how-to-bet {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-the-thao__step-item {
    text-align: center;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.page-the-thao__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-the-thao__step-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-the-thao__step-text {
    font-size: 0.95em;
    color: #555555;
}

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

/* Live Betting Section */
.page-the-thao__live-betting {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-the-thao__live-betting .page-the-thao__section-title,
.page-the-thao__live-betting .page-the-thao__section-description {
    color: #FFFFFF;
}

.page-the-thao__live-betting-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao__live-betting-text {
    flex: 1 1 50%;
    min-width: 300px;
    padding-right: 20px;
}

.page-the-thao__live-betting-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

.page-the-thao__list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #f0f0f0;
}

.page-the-thao__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFFFFF;
}

.page-the-thao__list-strong {
    color: #FFFFFF;
}

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

.page-the-thao__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Promotions Section */
.page-the-thao__promotions-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-the-thao__promo-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-the-thao__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

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

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

.page-the-thao__faq-question {
    display: block;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #000000;
    position: relative;
    list-style: none; /* Remove default marker */
}

.page-the-thao__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-the-thao__faq-question::marker {
    display: none; /* Hide default marker for Firefox */
}

.page-the-thao__faq-qtext {
    margin-right: 30px; /* Space for toggle icon */
}

.page-the-thao__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
}

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

/* Call to Action Bottom Section */
.page-the-thao__cta-bottom {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
}

.page-the-thao__cta-bottom .page-the-thao__section-title,
.page-the-thao__cta-bottom .page-the-thao__section-description {
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-the-thao__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao__hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .page-the-thao__live-betting-content {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao__live-betting-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .page-the-thao__list {
        text-align: left;
    }

    .page-the-thao__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important;
    }

    .page-the-thao__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-the-thao__section-title {
        font-size: 2em;
    }

    .page-the-thao__section-description {
        font-size: 1em;
    }

    /* Buttons and Button Containers */
    .page-the-thao__cta-buttons,
    .page-the-thao__button-group,
    .page-the-thao__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Force vertical stacking */
        gap: 10px !important;
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .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;
    }

    /* Intro Section (Module 1) */
    .page-the-thao__icon-box-media {
        width: 150px; /* Smaller square size for mobile */
        height: 150px;
        border-width: 2px;
    }

    /* All Images and Containers */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__container,
    .page-the-thao__feature-item,
    .page-the-thao__category-card,
    .page-the-thao__step-item,
    .page-the-thao__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content sections (general layout for text blocks) */
    .page-the-thao__content-area {
        padding: 20px 15px;
    }

    /* FAQ Section */
    .page-the-thao__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-the-thao__faq-toggle {
        right: 20px;
        font-size: 1.2em;
    }

    .page-the-thao__faq-answer {
        padding: 0 20px 15px;
    }

    /* Specific card image height adjustments for mobile if needed */
    .page-the-thao__category-image,
    .page-the-thao__promo-image {
        height: 180px; /* Slightly smaller fixed height for mobile cards */
    }

    /* Ensure lists in dark sections are readable */
    .page-the-thao__list li {
        font-size: 0.95em;
    }
}