/* style/the-thao-huong-dan-dat-cuoc.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --btn-register: #C30808;
    --btn-login: #C30808;
    --btn-text-yellow: #FFFF00;
}

.page-the-thao-huong-dan-dat-cuoc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color); /* Assuming body background is light */
}

.page-the-thao-huong-dan-dat-cuoc__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--secondary-color);
    color: var(--text-dark);
    text-align: center;
}

.page-the-thao-huong-dan-dat-cuoc__hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-the-thao-huong-dan-dat-cuoc__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao-huong-dan-dat-cuoc__hero-text-container {
    max-width: 800px;
    text-align: center;
}

.page-the-thao-huong-dan-dat-cuoc__main-title {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
    max-width: 100%;
}

.page-the-thao-huong-dan-dat-cuoc__subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.page-the-thao-huong-dan-dat-cuoc__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary,
.page-the-thao-huong-dan-dat-cuoc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary {
    background-color: var(--btn-register);
    color: var(--text-light);
    border: 2px solid var(--btn-register);
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary:hover {
    background-color: darken(var(--btn-register), 10%);
    border-color: darken(var(--btn-register), 10%);
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary--yellow-text {
    color: var(--btn-text-yellow);
}

.page-the-thao-huong-dan-dat-cuoc__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-the-thao-huong-dan-dat-cuoc__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-the-thao-huong-dan-dat-cuoc__btn-secondary--white-border {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-the-thao-huong-dan-dat-cuoc__article-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-the-thao-huong-dan-dat-cuoc__section {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.page-the-thao-huong-dan-dat-cuoc__section:last-of-type {
    border-bottom: none;
}

.page-the-thao-huong-dan-dat-cuoc__section-title {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-the-thao-huong-dan-dat-cuoc__section-title--white {
    color: var(--text-light);
}

.page-the-thao-huong-dan-dat-cuoc p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-the-thao-huong-dan-dat-cuoc__text-white {
    color: var(--text-light);
}

.page-the-thao-huong-dan-dat-cuoc__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-the-thao-huong-dan-dat-cuoc__list li {
    margin-bottom: 10px;
}

.page-the-thao-huong-dan-dat-cuoc__figure {
    margin: 30px 0;
    text-align: center;
}

.page-the-thao-huong-dan-dat-cuoc__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-the-thao-huong-dan-dat-cuoc__figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.page-the-thao-huong-dan-dat-cuoc__button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-the-thao-huong-dan-dat-cuoc__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.page-the-thao-huong-dan-dat-cuoc__faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.page-the-thao-huong-dan-dat-cuoc__faq-question {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-the-thao-huong-dan-dat-cuoc__faq-answer {
    font-size: 1em;
    color: var(--text-dark);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-the-thao-huong-dan-dat-cuoc__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-the-thao-huong-dan-dat-cuoc__hero-content-wrapper {
        padding: 15px;
        gap: 20px;
    }

    .page-the-thao-huong-dan-dat-cuoc__main-title {
        font-size: 1.8em;
    }

    .page-the-thao-huong-dan-dat-cuoc__subtitle {
        font-size: 1em;
    }

    .page-the-thao-huong-dan-dat-cuoc__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-the-thao-huong-dan-dat-cuoc__btn-primary,
    .page-the-thao-huong-dan-dat-cuoc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
    }

    .page-the-thao-huong-dan-dat-cuoc__article-wrap {
        margin: 20px auto;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao-huong-dan-dat-cuoc__section {
        padding: 20px 0;
    }

    .page-the-thao-huong-dan-dat-cuoc__section-title {
        font-size: 1.5em;
    }

    .page-the-thao-huong-dan-dat-cuoc img,
    .page-the-thao-huong-dan-dat-cuoc__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
    }
    
    .page-the-thao-huong-dan-dat-cuoc__figure {
        margin: 20px 0;
    }

    .page-the-thao-huong-dan-dat-cuoc__button-group {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao-huong-dan-dat-cuoc__dark-section {
        padding: 30px 15px;
    }

    .page-the-thao-huong-dan-dat-cuoc__faq-item {
        padding: 10px;
    }

    .page-the-thao-huong-dan-dat-cuoc__faq-question {
        font-size: 1.1em;
    }

    .page-the-thao-huong-dan-dat-cuoc p,
    .page-the-thao-huong-dan-dat-cuoc li {
        font-size: 0.95em;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .page-the-thao-huong-dan-dat-cuoc__article-wrap {
        max-width: 800px;
        padding: 0 25px;
    }
    .page-the-thao-huong-dan-dat-cuoc__hero-content-wrapper {
        padding: 20px 30px;
    }
    .page-the-thao-huong-dan-dat-cuoc__main-title {
        font-size: 2.5em;
    }
    .page-the-thao-huong-dan-dat-cuoc__section-title {
        font-size: 1.8em;
    }
}