.page-khuyen-mai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set body background to white */
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 60px;
    background-color: #f8f8f8; /* Light background for the hero section */
}

.page-khuyen-mai__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 40px;
}

.page-khuyen-mai__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
    color: #333333;
}

.page-khuyen-mai__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* H1 font size constraint */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #017439; /* Brand color for H1 */
    max-width: 600px;
}

.page-khuyen-mai__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Button responsive requirement */
    box-sizing: border-box; /* Button responsive requirement */
    white-space: normal; /* Button responsive requirement */
    word-wrap: break-word; /* Button responsive requirement */
}

.page-khuyen-mai__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-khuyen-mai__btn-primary:hover {
    background-color: #005f2c;
    border-color: #005f2c;
}

.page-khuyen-mai__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-khuyen-mai__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

.page-khuyen-mai__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-khuyen-mai__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* General Content Area Styles */
.page-khuyen-mai__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-khuyen-mai__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
}

.page-khuyen-mai__section-title--white {
    color: #ffffff;
}

.page-khuyen-mai__section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__section-description--white {
    color: #f0f0f0;
}

/* Intro Section (Module 1) */
.page-khuyen-mai__intro-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-khuyen-mai__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-khuyen-mai__feature-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__icon-box-media {
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0f2f1; /* Light background for the circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-khuyen-mai__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-khuyen-mai__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-khuyen-mai__feature-text {
    font-size: 1rem;
    color: #555555;
}

/* Promo List Section */
.page-khuyen-mai__promo-list-section {
    padding: 60px 0;
    background-color: #017439; /* Dark background for this section */
    color: #ffffff; /* White text for dark background */
}

.page-khuyen-mai__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-khuyen-mai__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    color: #333333; /* Dark text for card content */
}

.page-khuyen-mai__promo-image {
    width: 100%;
    height: 338px; /* Fixed height for consistent card image display */
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-khuyen-mai__promo-text {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-khuyen-mai__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-khuyen-mai__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #017439;
    cursor: pointer;
    list-style: none; /* Hide default marker for <summary> */
    user-select: none;
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-khuyen-mai__faq-qtext {
    flex-grow: 1;
}

.page-khuyen-mai__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #555555;
    transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-khuyen-mai__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
}

.page-khuyen-mai__faq-answer p {
    margin-bottom: 0;
}

.page-khuyen-mai__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

/* Global Image Responsive Styles (for content area) */
.page-khuyen-mai img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Media Queries for Responsive Design --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-khuyen-mai__hero-container {
        padding: 30px 15px;
        gap: 30px;
    }

    .page-khuyen-mai__hero-content {
        flex: 1 1 100%;
        text-align: center;
    }
}