/* style/blog-huong-dan-ca-cuoc-the-thao-mk88.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-bg: #C30808;
    --login-button-bg: #C30808;
    --register-login-text: #FFFF00;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --border-color-light: #e0e0e0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark); /* Body background is light (white), so use dark text */
    line-height: 1.6;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero Title Section */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__hero-title-section {
    background-color: var(--secondary-color);
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__main-title {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 20px auto 15px;
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__intro-text {
    font-size: 1.1em;
    color: var(--text-color-dark);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__main-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Content Area */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__content-area {
    background-color: var(--secondary-color);
    padding: 40px 0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__section-title {
    color: var(--primary-color);
    font-size: 2.2em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__content-area p {
    margin-bottom: 1em;
    font-size: 1em;
    color: var(--text-color-dark);
}

/* Guide Steps */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__step-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color-light);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__step-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__step-title {
    color: var(--primary-color);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Tips Section */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-list {
    flex: 1 1 55%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-list li {
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--text-color-dark);
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__tip-highlight {
    color: var(--primary-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-image {
    flex: 1 1 40%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-list {
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f5f5f5;
    border-bottom: 1px solid var(--border-color-light);
    list-style: none; /* For details/summary */
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-qtext {
    flex-grow: 1;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-item[open] .page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-color-dark);
    border-top: 1px solid transparent; /* To prevent double border */
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-answer p {
    margin-bottom: 0;
}

/* CTA Banner Section */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-banner-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--text-color-light);
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-title {
    color: var(--text-color-light);
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

/* Buttons */
.page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 300px; /* Limit individual button width */
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__btn-primary {
    background-color: var(--register-button-bg);
    color: var(--register-login-text);
    border: 2px solid var(--register-button-bg);
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-mk88__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__main-title {
        font-size: clamp(1.8em, 4.5vw, 2.8em);
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__section-title {
        font-size: 2em;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-section {
        flex-direction: column;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-list, 
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-image {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-image {
        order: -1; /* Image above text on smaller screens */
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-title {
        font-size: 2.2em;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88 {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__hero-title-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em) !important;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__intro-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__content-area {
        padding: 30px 0;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__step-card {
        padding: 20px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__step-title {
        font-size: 1.3em;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-section {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-list li {
        padding: 12px 15px;
        font-size: 0.95em;
        margin-bottom: 10px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-list {
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-banner-section {
        padding: 40px 0;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    /* Universal image responsive styles */
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__container,
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__step-card,
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__tips-list li,
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Adjustments for elements that might have their own padding */
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__hero-title-section .page-blog-huong-dan-ca-cuoc-the-thao-mk88__container,
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__content-area .page-blog-huong-dan-ca-cuoc-the-thao-mk88__container,
    .page-blog-huong-dan-ca-cuoc-the-thao-mk88__cta-banner-section .page-blog-huong-dan-ca-cuoc-the-thao-mk88__container {
        padding-left: 0;
        padding-right: 0;
    }
}