.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

.page-the-thao__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Background */
}

.page-the-thao__hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

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

.page-the-thao__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-the-thao__hero-content {
    flex: 1;
    min-width: 300px;
}

.page-the-thao__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for h1 font-size */
    font-weight: bold;
    color: #F2C14E; /* Main Brand Color */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-the-thao__intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for light gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4); /* Glow */
}

.page-the-thao__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-the-thao__btn-secondary {
    background-color: #111111; /* Card BG */
    color: #F2C14E; /* Main Brand Color */
    border: 2px solid #F2C14E; /* Main Brand Color */
}

.page-the-thao__btn-secondary:hover {
    background-color: #F2C14E; /* Main Brand Color */
    color: #111111; /* Card BG */
    transform: translateY(-2px);
}

.page-the-thao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Main Brand Color */
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
    font-weight: bold;
}

/* Why Choose Section */
.page-the-thao__why-choose-section,
.page-the-thao__sports-types-section,
.page-the-thao__guide-section,
.page-the-thao__promotions-section,
.page-the-thao__faq-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-the-thao__feature-item,
.page-the-thao__sport-card,
.page-the-thao__promo-card,
.page-the-thao__guide-item,
.page-the-thao__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-the-thao__feature-item:hover,
.page-the-thao__sport-card:hover,
.page-the-thao__promo-card:hover {
    transform: translateY(-5px);
}

.page-the-thao__feature-icon {
    margin-bottom: 20px;
}

.page-the-thao__feature-icon img,
.page-the-thao__sport-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto 15px;
}

.page-the-thao__feature-title,
.page-the-thao__sport-title,
.page-the-thao__guide-step-title,
.page-the-thao__promo-title {
    font-size: 1.5rem;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__feature-description,
.page-the-thao__sport-description,
.page-the-thao__promo-description {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
}

/* Guide Section */
.page-the-thao__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-the-thao__guide-item {
    text-align: left;
}

.page-the-thao__btn-text-link {
    color: #F2C14E; /* Main Brand Color */
    text-decoration: underline;
    font-size: 0.95rem;
    margin-top: 15px;
    display: inline-block;
}

.page-the-thao__btn-text-link:hover {
    color: #FFD36B; /* Glow */
}

.page-the-thao__cta-bottom {
    text-align: center;
}

/* FAQ Section */
.page-the-thao__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-the-thao__faq-item {
    text-align: left;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
}

.page-the-thao__faq-item details > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2C14E; /* Main Brand Color */
    padding: 5px 0;
}

.page-the-thao__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-the-thao__faq-qtext {
    flex-grow: 1;
    color: #FFF6D6; /* Text Main */
}

.page-the-thao__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Main Brand Color */
}

.page-the-thao__faq-answer {
    padding-top: 15px;
    font-size: 0.95rem;
    color: #FFF6D6; /* Text Main */
}

/* Global image responsiveness */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box; /* Ensure padding/border is included in width */
}

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

    .page-the-thao__hero-content {
        order: 2; /* Content below image */
    }

    .page-the-thao__hero-image {
        order: 1; /* Image above content */
    }
    
    .page-the-thao__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
        padding-bottom: 40px;
    }

    .page-the-thao__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }

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

    .page-the-thao__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }
    
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important; /* Adjust padding for smaller screens */
        font-size: 0.95rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-the-thao__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 20px;
    }

    .page-the-thao__why-choose-section,
    .page-the-thao__sports-types-section,
    .page-the-thao__guide-section,
    .page-the-thao__promotions-section,
    .page-the-thao__faq-section {
        padding: 40px 0;
    }

    .page-the-thao__features-grid,
    .page-the-thao__sports-grid,
    .page-the-thao__promo-grid,
    .page-the-thao__guide-steps {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        padding: 0 15px; /* Add padding to grids */
    }
    
    .page-the-thao__feature-item,
    .page-the-thao__sport-card,
    .page-the-thao__promo-card,
    .page-the-thao__guide-item,
    .page-the-thao__faq-item {
        padding: 20px;
    }

    .page-the-thao__feature-title,
    .page-the-thao__sport-title,
    .page-the-thao__guide-step-title,
    .page-the-thao__promo-title {
        font-size: 1.3rem;
    }

    .page-the-thao__feature-description,
    .page-the-thao__sport-description,
    .page-the-thao__promo-description,
    .page-the-thao__faq-answer p {
        font-size: 0.9rem;
    }

    .page-the-thao__faq-item details > summary {
        font-size: 1rem;
    }

    /* Universal image responsiveness for mobile */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure containers do not overflow */
    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__why-choose-section .page-the-thao__container,
    .page-the-thao__sports-types-section .page-the-thao__container,
    .page-the-thao__guide-section .page-the-thao__container,
    .page-the-thao__promotions-section .page-the-thao__container,
    .page-the-thao__faq-section .page-the-thao__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}