/* style/blog-meo-choi-ca-cuoc-the-thao-77wim.css */

/* Base styles for the page content wrapper */
.page-blog-meo-choi-ca-cuoc-the-thao-77wim {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color, #FFFFFF); /* Ensure this matches body background from shared.css */
}

/* Article wrapper for content width */
.page-blog-meo-choi-ca-cuoc-the-thao-77wim__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-blog-meo-choi-ca-cuoc-the-thao-77wim__hero-section {
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
    background-color: #f8f8f8; /* Light background for hero section */
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Match image width */
    margin-bottom: 20px;
    overflow: hidden; /* Ensure image doesn't overflow */
    box-sizing: border-box;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__main-title {
    font-size: 2.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__intro-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__btn--primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__btn--primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__btn--secondary {
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF; /* Auxiliary color */
    border: 2px solid #017439;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__btn--secondary:hover {
    background-color: #005c2d;
    border-color: #005c2d;
}

/* Article sections */
.page-blog-meo-choi-ca-cuoc-the-thao-77wim__section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__section-title {
    font-size: 2em;
    color: #017439;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__subsection-title {
    font-size: 1.5em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim p {
    margin-bottom: 15px;
    color: #333333;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim strong {
    color: #017439;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__list {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: #333333;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__list-item {
    margin-bottom: 8px;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__figure {
    margin: 30px 0;
    text-align: center;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__figcaption {
    font-style: italic;
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

/* Promo Box */
.page-blog-meo-choi-ca-cuoc-the-thao-77wim__promo-box {
    background-color: #e6f7ed; /* Lighter green background */
    border: 2px solid #017439;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__promo-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__promo-text {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 25px;
}

.page-blog-meo-choi-ca-cuoc-the-thao-77wim__cta-buttons--promo {
    margin-top: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* 1. Top section title + dual CTA */
    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 20px;
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Use clamp for H1 font size */
        margin-bottom: 10px;
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__btn {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single column long text container */
    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__article-wrap {
        padding: 0 15px; /* Adjust padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__section {
        padding: 15px 0;
        margin-bottom: 30px;
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__section-title {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .page-blog-meo-choi-ca-cuoc-the-thao-77wim__subsection-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
}