:root {
    --page-primary-color: #26A9E0;
    --page-secondary-color: #FFFFFF;
    --page-text-color-dark: #333333;
    --page-text-color-light: #ffffff;
    --page-background-light: #f9f9f9;
    --page-button-login: #EA7C07;
}

.page-blog-khuyen-mai-88xeng {
    font-family: 'Arial', sans-serif;
    color: var(--page-text-color-dark); /* Default text color for light body background */
    line-height: 1.6;
    background-color: var(--page-secondary-color); /* Default white background */
}

.page-blog-khuyen-mai-88xeng__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-khuyen-mai-88xeng__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content block */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background-color: var(--page-primary-color);
    overflow: hidden;
}

.page-blog-khuyen-mai-88xeng__hero-image {
    width: 100%;
    max-height: 600px; /* Limit height for desktop hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-blog-khuyen-mai-88xeng__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    object-position: center;
    max-height: 600px; /* Ensure image doesn't stretch too tall */
    border-radius: 8px;
}

.page-blog-khuyen-mai-88xeng__hero-content {
    position: relative;
    z-index: 1;
    color: var(--page-text-color-light);
    max-width: 900px;
    padding: 0 20px;
}

.page-blog-khuyen-mai-88xeng__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-text-color-light);
}

.page-blog-khuyen-mai-88xeng__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--page-text-color-light);
}

.page-blog-khuyen-mai-88xeng__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-khuyen-mai-88xeng__btn-primary,
.page-blog-khuyen-mai-88xeng__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    text-align: center;
}

.page-blog-khuyen-mai-88xeng__btn-primary {
    background: var(--page-button-login); /* Custom color for login/CTA */
    color: var(--page-text-color-light);
    border: 2px solid var(--page-button-login);
}

.page-blog-khuyen-mai-88xeng__btn-primary:hover {
    background: #e06c00;
    border-color: #e06c00;
    transform: translateY(-2px);
}

.page-blog-khuyen-mai-88xeng__btn-secondary {
    background: var(--page-secondary-color);
    color: var(--page-primary-color);
    border: 2px solid var(--page-primary-color);
}

.page-blog-khuyen-mai-88xeng__btn-secondary:hover {
    background: var(--page-primary-color);
    color: var(--page-text-color-light);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-blog-khuyen-mai-88xeng__section {
    padding: 60px 0;
    text-align: center;
}

.page-blog-khuyen-mai-88xeng__section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--page-primary-color);
}

.page-blog-khuyen-mai-88xeng__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--page-primary-color);
}

.page-blog-khuyen-mai-88xeng__article-body {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1rem;
    color: var(--page-text-color-dark);
}

.page-blog-khuyen-mai-88xeng__article-body p {
    margin-bottom: 1em;
}

.page-blog-khuyen-mai-88xeng__article-body strong {
    color: var(--page-primary-color);
}

.page-blog-khuyen-mai-88xeng__article-figure {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Promotion Cards */
.page-blog-khuyen-mai-88xeng__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.page-blog-khuyen-mai-88xeng__card {
    background: var(--page-secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--page-text-color-dark);
}

.page-blog-khuyen-mai-88xeng__card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card image display */
    object-fit: cover;
    display: block;
}

.page-blog-khuyen-mai-88xeng__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 20px 20px 10px;
    color: var(--page-primary-color);
}

.page-blog-khuyen-mai-88xeng__card p {
    font-size: 1rem;
    padding: 0 20px 20px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.page-blog-khuyen-mai-88xeng__card .page-blog-khuyen-mai-88xeng__btn-primary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* List Styles */
.page-blog-khuyen-mai-88xeng__list {
    list-style: disc inside;
    margin: 20px auto;
    max-width: 900px;
    text-align: left;
    padding-left: 20px;
}

.page-blog-khuyen-mai-88xeng__list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--page-text-color-dark);
}

.page-blog-khuyen-mai-88xeng__list li strong {
    color: var(--page-primary-color);
}

/* Dark Section Specifics */
.page-blog-khuyen-mai-88xeng__dark-section {
    background: var(--page-primary-color);
    color: var(--page-text-color-light);
}

.page-blog-khuyen-mai-88xeng__dark-section .page-blog-khuyen-mai-88xeng__section-title,
.page-blog-khuyen-mai-88xeng__dark-section .page-blog-khuyen-mai-88xeng__sub-title,
.page-blog-khuyen-mai-88xeng__dark-section .page-blog-khuyen-mai-88xeng__article-body p,
.page-blog-khuyen-mai-88xeng__dark-section .page-blog-khuyen-mai-88xeng__list li {
    color: var(--page-text-color-light);
}

.page-blog-khuyen-mai-88xeng__dark-section .page-blog-khuyen-mai-88xeng__article-body strong {
    color: var(--page-secondary-color);
}

/* Light Background Section Specifics */
.page-blog-khuyen-mai-88xeng__light-bg {
    background-color: var(--page-background-light);
    color: var(--page-text-color-dark);
}

/* FAQ Section */
.page-blog-khuyen-mai-88xeng__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

details.page-blog-khuyen-mai-88xeng__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: var(--page-secondary-color);
    color: var(--page-text-color-dark);
}
details.page-blog-khuyen-mai-88xeng__faq-item summary.page-blog-khuyen-mai-88xeng__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-blog-khuyen-mai-88xeng__faq-item summary.page-blog-khuyen-mai-88xeng__faq-question::-webkit-details-marker {
    display: none;
}
details.page-blog-khuyen-mai-88xeng__faq-item summary.page-blog-khuyen-mai-88xeng__faq-question:hover {
    background: #f5f5f5;
}
.page-blog-khuyen-mai-88xeng__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--page-text-color-dark);
}
.page-blog-khuyen-mai-88xeng__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--page-primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-blog-khuyen-mai-88xeng__faq-item .page-blog-khuyen-mai-88xeng__faq-answer {
    padding: 0 20px 20px;
    background: var(--page-background-light);
    border-radius: 0 0 5px 5px;
    font-size: 1rem;
    color: var(--page-text-color-dark);
}
details.page-blog-khuyen-mai-88xeng__faq-item .page-blog-khuyen-mai-88xeng__faq-answer p {
    margin-bottom: 0;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-blog-khuyen-mai-88xeng__hero-image img {
        max-height: 500px;
    }
    .page-blog-khuyen-mai-88xeng__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-blog-khuyen-mai-88xeng__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }
    .page-blog-khuyen-mai-88xeng__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .page-blog-khuyen-mai-88xeng {
        font-size: 15px; /* Mobile base font size */
        line-height: 1.5;
    }

    /* HERO Section */
    .page-blog-khuyen-mai-88xeng__hero-section {
        padding-top: 10px; /* Still small top padding */
        padding-bottom: 30px;
    }
    .page-blog-khuyen-mai-88xeng__hero-image {
        max-height: 300px; /* Smaller max height for mobile hero */
    }
    .page-blog-khuyen-mai-88xeng__hero-image img {
        object-fit: contain !important; /* Force contain for mobile hero image */
        aspect-ratio: unset !important; /* Remove aspect ratio if set, let height auto */
        max-height: 300px; /* Ensure image doesn't stretch too tall */
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-blog-khuyen-mai-88xeng__hero-content {
        padding: 0 15px;
    }
    .page-blog-khuyen-mai-88xeng__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-blog-khuyen-mai-88xeng__hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 25px;
    }
    .page-blog-khuyen-mai-88xeng__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-blog-khuyen-mai-88xeng__btn-primary,
    .page-blog-khuyen-mai-88xeng__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* General Sections */
    .page-blog-khuyen-mai-88xeng__section {
        padding: 40px 0;
    }
    .page-blog-khuyen-mai-88xeng__container {
        padding: 0 15px; /* Add horizontal padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-khuyen-mai-88xeng__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-blog-khuyen-mai-88xeng__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-blog-khuyen-mai-88xeng__article-body {
        font-size: 1rem;
        padding: 0 10px; /* Inner padding for article body */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-khuyen-mai-88xeng__article-body p {
        margin-bottom: 0.8em;
    }

    /* Images in Content Area */
    .page-blog-khuyen-mai-88xeng__article-figure {
        margin: 20px auto;
        padding: 0;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Promo Cards */
    .page-blog-khuyen-mai-88xeng__promo-cards {
        grid-template-columns: 1fr; /* Stack cards vertically on mobile */
        gap: 20px;
        margin-top: 20px;
        padding: 0 10px;
    }
    .page-blog-khuyen-mai-88xeng__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-khuyen-mai-88xeng__card img {
         /* Slightly smaller image height for mobile cards */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-khuyen-mai-88xeng__card-title {
        font-size: 1.2rem;
        padding: 15px 15px 8px;
    }
    .page-blog-khuyen-mai-88xeng__card p {
        font-size: 0.95rem;
        padding: 0 15px 15px;
    }
}