/* style/th-thao-betting-guide.css */

:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #8B0000; /* Đỏ sẫm */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #2a2a2a;
    --border-color: #e0e0e0;
}

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

.page-th-thao-betting-guide a {
    text-decoration: none;
    color: var(--secondary-color);
}

.page-th-thao-betting-guide a:hover {
    color: var(--primary-color);
}

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

.page-th-thao-betting-guide__hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Fallback */
}

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

.page-th-thao-betting-guide__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-th-thao-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
    background-color: rgba(0, 0, 0, 0.4); /* Overlay for readability */
    padding: 20px;
    border-radius: 8px;
}

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

.page-th-thao-betting-guide__hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-th-thao-betting-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    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 12px rgba(0, 0, 0, 0.2);
}

.page-th-thao-betting-guide__cta-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-th-thao-betting-guide__cta-button--large {
    font-size: 1.5em;
    padding: 18px 50px;
}

.page-th-thao-betting-guide__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-th-thao-betting-guide__section:last-of-type {
    border-bottom: none;
}

.page-th-thao-betting-guide__section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

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

.page-th-thao-betting-guide__section h3 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

.page-th-thao-betting-guide__section li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.page-th-thao-betting-guide__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-th-thao-betting-guide__introduction p strong,
.page-th-thao-betting-guide__getting-started p strong {
    color: var(--secondary-color);
}

.page-th-thao-betting-guide__button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-right: 15px;
}

.page-th-thao-betting-guide__button:hover {
    background: #A00000; /* Slightly darker red */
}

/* Layout for sections with image and text */
.page-th-thao-betting-guide__section .page-th-thao-betting-guide__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-th-thao-betting-guide__section .page-th-thao-betting-guide__image,
.page-th-thao-betting-guide__section .page-th-thao-betting-guide__text-content {
    flex: 1;
    min-width: 300px;
}

.page-th-thao-betting-guide__image--left {
    order: 0;
}

.page-th-thao-betting-guide__image--right {
    order: 1;
}

/* FAQ Styles */
.page-th-thao-betting-guide .faq-item {
    margin-bottom: 15px;
}

.page-th-thao-betting-guide .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-th-thao-betting-guide .faq-question:hover {
    background: var(--bg-light);
}

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

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

.page-th-thao-betting-guide .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    background: var(--bg-light);
    border-radius: 0 0 5px 5px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.page-th-thao-betting-guide .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px;
}

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

/* Other Products Grid */
.page-th-thao-betting-guide__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-th-thao-betting-guide__product-card {
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}

.page-th-thao-betting-guide__product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-th-thao-betting-guide__product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

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

.page-th-thao-betting-guide__product-card p {
    font-size: 1em;
    padding: 0 15px 20px;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-th-thao-betting-guide__hero h1 {
        font-size: 2.8em;
    }

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

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

    .page-th-thao-betting-guide__hero h1 {
        font-size: 2.2em;
    }

    .page-th-thao-betting-guide__hero p {
        font-size: 1em;
    }

    .page-th-thao-betting-guide__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-th-thao-betting-guide__cta-button--large {
        font-size: 1.2em;
        padding: 15px 40px;
    }

    .page-th-thao-betting-guide__section {
        padding: 40px 0;
    }

    .page-th-thao-betting-guide__section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .page-th-thao-betting-guide__section .page-th-thao-betting-guide__container {
        flex-direction: column;
        gap: 30px;
    }

    .page-th-thao-betting-guide__image--left,
    .page-th-thao-betting-guide__image--right {
        order: unset; /* Reset order for mobile */
    }

    .page-th-thao-betting-guide .faq-question {
        padding: 12px;
    }

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

    .page-th-thao-betting-guide__product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-th-thao-betting-guide__hero h1 {
        font-size: 1.8em;
    }

    .page-th-thao-betting-guide__section h2 {
        font-size: 1.5em;
    }

    .page-th-thao-betting-guide__section h3 {
        font-size: 1.3em;
    }

    .page-th-thao-betting-guide__cta-button--large {
        font-size: 1em;
        padding: 12px 30px;
    }
}