/* style/the-thao.css */
:root {
    --primary-color: #1A237E;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark: #0f154c;
    --accent-color-hover: #e6c200;
    --border-color: #e0e0e0;
}

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

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

.page-the-thao-h1, .page-the-thao-h2, .page-the-thao-h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-the-thao-h1 {
    font-size: 2.8em;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao-h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

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

.page-the-thao-h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-the-thao p {
    margin-bottom: 15px;
    font-size: 1.1em;
    text-align: justify;
}

.page-the-thao ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-the-thao ol {
    list-style: decimal;
    margin-bottom: 15px;
    padding-left: 40px;
}

.page-the-thao li {
    margin-bottom: 8px;
}

/* Hero Section */
.page-the-thao .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-dark);
    color: var(--text-light);
}

.page-the-thao .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-the-thao .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-the-thao .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-the-thao .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-the-thao-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao-cta-button:hover {
    background: var(--accent-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-the-thao section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-the-thao section:nth-of-type(even) {
    background-color: #ffffff;
}

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

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

.page-the-thao-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao-feature-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

.page-the-thao-feature-img {
    width: 100%; /* Ensure images are not small icons */
    max-width: 400px; /* Example max width, adjust as needed */
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Sport Card Grid */
.page-the-thao-sport-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao-sport-card {
    background: #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-the-thao-sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao-sport-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    text-align: left;
}

.page-the-thao-sport-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao-sport-card h3 a:hover {
    color: var(--secondary-color);
}

.page-the-thao-sport-card p {
    font-size: 1em;
    padding: 0 20px;
    text-align: left;
    margin-bottom: 15px;
}

.page-the-thao-sport-card ul {
    list-style: disc;
    padding: 0 20px 15px 40px;
    font-size: 0.95em;
    color: #555;
}

/* Guide List */
.page-the-thao-guide-list {
    counter-reset: guide-step;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-the-thao-guide-list li {
    background: #ffffff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.page-the-thao-guide-list li:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.page-the-thao-guide-list li::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-the-thao-guide-list li h3 {
    margin: 0 0 5px 0;
    font-size: 1.3em;
    color: var(--primary-color);
    text-align: left;
}

.page-the-thao-guide-list li h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao-guide-list li h3 a:hover {
    color: var(--secondary-color);
}

.page-the-thao-guide-list li p {
    margin: 0;
    font-size: 1em;
    text-align: left;
}

/* Promo Grid */
.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-the-thao-promo-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    text-align: center;
}

.page-the-thao-promo-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao-promo-card h3 a:hover {
    color: var(--secondary-color);
}

.page-the-thao-promo-card p {
    font-size: 1em;
    padding: 0 20px 20px;
    text-align: center;
}

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

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

.page-the-thao-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-the-thao-info-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-the-thao-info-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

.page-the-thao-info-img {
    width: 100%; /* Ensure images are not small icons */
    max-width: 250px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
}

.page-the-thao-info-item p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-the-thao-info-item p a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* FAQ Section */
.page-the-thao .faq-list {
    margin-top: 40px;
}

.page-the-thao .faq-item {
    margin-bottom: 15px;
}

.page-the-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-the-thao .faq-question:hover {
    background: #f5f5f5;
    border-color: var(--primary-color);
}

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

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

.page-the-thao .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-the-thao .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    border: 1px solid var(--border-color);
    border-top: none;
}

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

.page-the-thao .faq-answer p {
    margin: 0;
    font-size: 1em;
    color: var(--text-dark);
    text-align: left;
}

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

.page-the-thao-blog-card {
    background: #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-the-thao-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao-blog-card h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    text-align: left;
}

.page-the-thao-blog-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao-blog-card h3 a:hover {
    color: var(--secondary-color);
}

.page-the-thao-blog-card p {
    font-size: 1em;
    padding: 0 20px;
    text-align: left;
    margin-bottom: 15px;
}

.page-the-thao-blog-date {
    display: block;
    font-size: 0.9em;
    color: #777;
    padding: 0 20px 15px;
    text-align: left;
}

/* Buttons */
.page-the-thao-button-primary {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao-button-primary:hover {
    background: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao-button-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 15px;
    margin-left: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.page-the-thao-button-secondary:hover {
    background: var(--accent-color-hover);
    transform: translateY(-2px);
}

.page-the-thao-button-text {
    display: inline-block;
    padding: 8px 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-the-thao-button-text:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-the-thao-h1 {
        font-size: 2.5em;
    }
    .page-the-thao-h2 {
        font-size: 2em;
    }
    .page-the-thao-h3 {
        font-size: 1.4em;
    }
    .page-the-thao p {
        font-size: 1em;
    }
    .page-the-thao-cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-the-thao .hero-section {
        padding: 40px 15px;
    }
    .page-the-thao .hero-image img {
        border-radius: 4px;
    }
    .page-the-thao .hero-content p {
        font-size: 1.1em;
    }
    .page-the-thao-h1 {
        font-size: 2em;
    }
    .page-the-thao-h2 {
        font-size: 1.8em;
    }
    .page-the-thao-h3 {
        font-size: 1.3em;
    }
    .page-the-thao section {
        padding: 40px 0;
    }
    .page-the-thao-guide-list li {
        padding-left: 20px;
        padding-top: 60px;
        min-height: auto;
    }
    .page-the-thao-guide-list li::before {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    .page-the-thao-guide-list li h3, .page-the-thao-guide-list li p {
        text-align: center;
    }
    .page-the-thao .faq-question {
        padding: 12px 15px;
    }
    .page-the-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-the-thao .faq-toggle {
        font-size: 20px;
    }
    .page-the-thao .faq-answer {
        padding: 10px 15px;
    }
    .page-the-thao-button-secondary, .page-the-thao-button-text {
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    .page-the-thao-h1 {
        font-size: 1.8em;
    }
    .page-the-thao-h2 {
        font-size: 1.6em;
    }
    .page-the-thao-cta-button {
        font-size: 1em;
        padding: 10px 25px;
    }
    .page-the-thao-feature-item, .page-the-thao-sport-card, .page-the-thao-promo-card, .page-the-thao-info-item, .page-the-thao-blog-card {
        padding: 20px 15px;
    }
    .page-the-thao-guide-list li {
        padding: 20px 15px;
        padding-top: 60px;
    }
    .page-the-thao-guide-list li h3 {
        font-size: 1.2em;
    }
    .page-the-thao-button-primary {
        width: 90%;
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-the-thao-button-secondary, .page-the-thao-button-text {
        display: block;
        margin: 10px auto;
        width: fit-content;
    }
}