/* style/the-thao.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-the-thao {
    background-color: var(--page-bg);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* HERO Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 60px;
    background-color: var(--deep-green-color);
    position: relative;
    overflow: hidden;
}

.page-the-thao__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    gap: 40px;
}

.page-the-thao__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-the-thao__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-the-thao__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-the-thao__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(34, 199, 104, 0.2);
}

.page-the-thao__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 199, 104, 0.4);
}

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

.page-the-thao__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* General Content Sections */
.page-the-thao__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-the-thao__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-the-thao__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Intro Section (Module 1 - Features) */
.page-the-thao__intro-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

.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 {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-the-thao__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 5px rgba(17, 168, 78, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.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.7rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__feature-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

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

.page-the-thao__category-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-the-thao__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao__category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-the-thao__category-card .page-the-thao__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-the-thao__category-card .page-the-thao__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-the-thao__btn-text {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: color 0.3s ease;
}

.page-the-thao__btn-text:hover {
    color: var(--primary-color);
}

/* Guide Section */
.page-the-thao__guide-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

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

.page-the-thao__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-the-thao__step-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: var(--deep-green-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-icon img {
    
    
    object-fit: contain;
    display: block;
}

.page-the-thao__step-title {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__step-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Promotions Section */
.page-the-thao__promotions-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

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

.page-the-thao__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-the-thao__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao__promo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-the-thao__promo-card .page-the-thao__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-the-thao__promo-card .page-the-thao__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-the-thao__center-cta {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-the-thao__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    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-qtext {
    flex-grow: 1;
}

.page-the-thao__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    content: '−';
}

.page-the-thao__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
    background-color: var(--card-bg);
}

.page-the-thao__faq-answer p {
    margin: 0;
}

/* News Section */
.page-the-thao__news-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

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

.page-the-thao__news-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-the-thao__news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao__news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-the-thao__news-card .page-the-thao__card-title {
    font-size: 1.5rem;
    margin: 20px 20px 5px;
    font-weight: bold;
}

.page-the-thao__news-card .page-the-thao__card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao__news-card .page-the-thao__card-title a:hover {
    color: var(--secondary-color);
}

.page-the-thao__news-card .page-the-thao__card-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 20px 10px;
}

.page-the-thao__news-card .page-the-thao__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 20px 20px;
    flex-grow: 1;
}

/* --- General Image Responsiveness --- */
.page-the-thao img:not(.page-the-thao__icon-box-media img) {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .page-the-thao__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .page-the-thao__hero-content,
    .page-the-thao__hero-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .page-the-thao__main-title,
    .page-the-thao__hero-description {
        text-align: center;
    }

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

    .page-the-thao__icon-box-media {
        width: 180px;
        height: 180px;
    }

    .page-the-thao__category-card img,
    .page-the-thao__promo-card img,
    .page-the-thao__news-card img {
        
    }
}

@media (max-width: 768px) {
    .page-the-thao {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-the-thao__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

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

    .page-the-thao__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        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;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        margin-bottom: 15px;
    }

    .page-the-thao__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Module 1: Features (three columns) */
    .page-the-thao__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-the-thao__icon-box-media {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .page-the-thao__icon-box-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-the-thao__feature-title {
        font-size: 1.5rem;
    }

    /* Sports Categories Grid */
    .page-the-thao__category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-the-thao__category-card img {
        
    }

    /* Guide Steps */
    .page-the-thao__guide-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-the-thao__step-icon {
        width: 100px;
        height: 100px;
    }

    .page-the-thao__step-icon img {
        
        
    }

    .page-the-thao__step-title {
        font-size: 1.4rem;
    }

    /* Promotions Grid */
    .page-the-thao__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-the-thao__promo-card img {
        
    }

    /* FAQ Section */
    .page-the-thao__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-the-thao__faq-toggle {
        font-size: 1.5rem;
    }

    .page-the-thao__faq-answer {
        padding: 15px;
        font-size: 0.95rem;
    }

    /* News Section */
    .page-the-thao__news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-the-thao__news-card img {
        
    }

    .page-the-thao__news-card .page-the-thao__card-title {
        font-size: 1.3rem;
    }

    .page-the-thao__news-card .page-the-thao__card-date,
    .page-the-thao__news-card .page-the-thao__card-text {
        font-size: 0.9rem;
    }

    /* General Image Responsiveness for content images */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__hero-image img {
        width: 100% !important;
        height: auto !important;
    }
    /* Exception for circular images to maintain aspect ratio */
    .page-the-thao__icon-box-media img {
        width: 100% !important;
        height: 100% !important; /* Keep height 100% to fill circular container */
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .page-the-thao__hero-container {
        padding: 20px 10px;
    }

    .page-the-thao__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .page-the-thao__hero-description {
        font-size: 0.9rem;
    }

    .page-the-thao__cta-buttons {
        gap: 10px;
        padding: 0 10px;
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .page-the-thao__container {
        padding: 20px 10px;
    }

    .page-the-thao__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .page-the-thao__section-description {
        font-size: 0.85rem;
    }

    .page-the-thao__feature-title,
    .page-the-thao__card-title,
    .page-the-thao__step-title {
        font-size: 1.3rem;
    }

    .page-the-thao__feature-text,
    .page-the-thao__card-text,
    .page-the-thao__step-text,
    .page-the-thao__btn-text,
    .page-the-thao__card-date {
        font-size: 0.85rem;
    }

    .page-the-thao__faq-question {
        font-size: 1rem;
    }

    .page-the-thao__faq-toggle {
        font-size: 1.3rem;
    }

    .page-the-thao__faq-answer {
        font-size: 0.85rem;
    }
}