/* style/th-thao.css */
:root {
    --primary-color: #FFD700; /* Vàng */
    --secondary-color: #1A1A1A; /* Đen xám */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #F8F8F8;
    --background-dark: #2C2C2C;
    --border-color: #E0E0E0;
    --accent-color: #FF4500; /* Màu cam để tạo điểm nhấn cho CTA */
}

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

.page-th-thao .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-th-thao h1, .page-th-thao h2, .page-th-thao h3 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.page-th-thao h1 {
    font-size: 3.2em;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-th-thao h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-th-thao h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-th-thao h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-th-thao p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-th-thao .highlight {
    color: var(--accent-color);
    font-weight: bold;
}

.page-th-thao .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, var(--primary-color), gold);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-th-thao .cta-button:hover {
    background: linear-gradient(90deg, gold, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
}

.page-th-thao .cta-button.small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-th-thao .cta-button.large {
    padding: 18px 40px;
    font-size: 1.2em;
    width: fit-content;
    margin: 30px auto;
    display: block;
}

/* Hero Section */
.page-th-thao .th-thao-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    background-color: var(--secondary-color);
}

.page-th-thao .th-thao-hero-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-th-thao .th-thao-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.5);
}

.page-th-thao .th-thao-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 20px;
    max-width: 900px;
}

.page-th-thao .th-thao-hero-content h1 {
    color: var(--primary-color);
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-th-thao .th-thao-hero-content p {
    font-size: 1.4em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Section Intro */
.page-th-thao .section-intro {
    padding: 60px 0;
    background-color: var(--background-light);
}

/* Sports Types Grid */
.page-th-thao .section-sports-types {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-th-thao .section-sports-types h2, .page-th-thao .section-sports-types h3 {
    color: var(--primary-color);
}

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

.page-th-thao .sport-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-th-thao .sport-card .sport-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-th-thao .sport-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin: 0 15px 10px;
}

.page-th-thao .sport-card p {
    color: var(--text-light);
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-th-thao .sport-card .card-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-th-thao .sport-card .card-link:hover {
    background-color: gold;
    color: var(--text-dark);
}

/* Guide Section */
.page-th-thao .section-guide {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.page-th-thao .step-item {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-th-thao .step-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-th-thao .step-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Promotions Section */
.page-th-thao .section-promotions {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-th-thao .section-promotions h2 {
    color: var(--primary-color);
}

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

.page-th-thao .promo-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-th-thao .promo-card .promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-th-thao .promo-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin: 0 15px 10px;
}

.page-th-thao .promo-card p {
    color: var(--text-light);
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-th-thao .promo-call-to-action {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 50px;
}

/* Why Choose Section */
.page-th-thao .section-why-choose {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.page-th-thao .feature-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-th-thao .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-th-thao .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-th-thao .feature-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-th-thao .section-faq {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-th-thao .section-faq h2 {
    color: var(--primary-color);
}

.page-th-thao .faq-list {
    margin-top: 40px;
}

.page-th-thao .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-th-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-th-thao .faq-question:hover {
    background-color: #2A2A2A;
}

.page-th-thao .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-th-thao .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-th-thao .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-th-thao .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #3a3a3a;
    color: var(--text-light);
    padding: 0 25px;
    border-radius: 0 0 8px 8px;
}

.page-th-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-th-thao .faq-answer p {
    margin: 0;
    font-size: 1em;
}

.page-th-thao .faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Blog Section */
.page-th-thao .section-blog {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.page-th-thao .blog-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-th-thao .blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-th-thao .blog-card h3 {
    font-size: 1.4em;
    margin: 15px;
    color: var(--secondary-color);
}

.page-th-thao .blog-card p {
    font-size: 0.95em;
    padding: 0 15px;
    color: var(--text-dark);
    min-height: 70px; /* Ensure consistent card height */
}

.page-th-thao .blog-card .card-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 15px;
    transition: background-color 0.3s ease;
}

.page-th-thao .blog-card .card-link:hover {
    background-color: gold;
    color: var(--text-dark);
}

.page-th-thao .blog-card .article-date {
    display: block;
    font-size: 0.85em;
    color: #888;
    margin: -10px 15px 15px;
}

.page-th-thao .view-all-button {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-th-thao h1 {
        font-size: 3em;
    }
    .page-th-thao .th-thao-hero-content h1 {
        font-size: 3.2em;
    }
    .page-th-thao .th-thao-hero-content p {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-th-thao .container {
        padding: 15px;
    }

    .page-th-thao h1 {
        font-size: 2.5em;
    }

    .page-th-thao h2 {
        font-size: 2em;
    }

    .page-th-thao h3 {
        font-size: 1.5em;
    }

    .page-th-thao .th-thao-hero {
        min-height: 400px;
    }

    .page-th-thao .th-thao-hero-content h1 {
        font-size: 2.5em;
    }

    .page-th-thao .th-thao-hero-content p {
        font-size: 1em;
    }

    .page-th-thao .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-th-thao .cta-button.large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-th-thao .sports-grid, .page-th-thao .guide-steps, .page-th-thao .promo-grid, .page-th-thao .feature-grid, .page-th-thao .blog-articles-grid {
        grid-template-columns: 1fr;
    }

    .page-th-thao .sport-card .sport-image, .page-th-thao .promo-card .promo-image, .page-th-thao .blog-card .blog-image {
        height: 200px;
    }

    .page-th-thao .faq-question {
        padding: 15px 20px;
    }

    .page-th-thao .faq-question h3 {
        font-size: 1.1em;
    }

    .page-th-thao .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-th-thao h1 {
        font-size: 2em;
    }
    .page-th-thao .th-thao-hero-content h1 {
        font-size: 2em;
    }
    .page-th-thao .th-thao-hero-content p {
        font-size: 0.9em;
    }
    .page-th-thao .th-thao-hero {
        min-height: 300px;
    }
    .page-th-thao .cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-th-thao .faq-toggle {
        font-size: 20px;
    }
    .page-th-thao .sport-card .sport-image, .page-th-thao .promo-card .promo-image, .page-th-thao .blog-card .blog-image {
        height: 180px;
    }
}