.page-khuyen-mai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main color */
    background: #F4F7FB; /* Background color */
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: #F4F7FB; /* Consistent background */
}

.page-khuyen-mai__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    padding: 40px 16px;
    gap: 40px;
}

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

.page-khuyen-mai__main-title {
    font-size: 3.2em; /* Adjusted for larger desktop display */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000000; /* Custom Color_1776249996415 for H1 */
    max-width: 100%; /* Ensure it doesn't overflow */
}

.page-khuyen-mai__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons adapt to container width */
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-khuyen-mai__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-khuyen-mai__btn-secondary {
    background-color: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__btn-secondary:hover {
    background-color: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.page-khuyen-mai__hero-side-image {
    max-width: 600px; /* Recommended size for display */
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-khuyen-mai__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-khuyen-mai__section-description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main color */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Promo Grid Section */
.page-khuyen-mai__promo-grid-section {
    padding-bottom: 60px;
    background-color: #ffffff; /* Card BG for this section */
}

.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;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

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

.page-khuyen-mai__promo-card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-khuyen-mai__promo-card-text {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main color */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-khuyen-mai__promo-card-button {
    margin-top: auto; /* Push button to the bottom */
    width: 100%; /* Full width for card buttons */
    text-align: center;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #F4F7FB;
}

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

.page-khuyen-mai__faq-item {
    background-color: #ffffff;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* For details tag */
}

.page-khuyen-mai__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    transition: background-color 0.3s ease;
}

.page-khuyen-mai__faq-item summary:hover {
    background-color: #f9fbfd;
}

.page-khuyen-mai__faq-item[open] summary {
    background-color: #f0f5ff; /* Lighter background when open */
    color: #2F6BFF; /* Brand color when open */
}

.page-khuyen-mai__faq-item summary::-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.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2F6BFF;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
    color: #2F6BFF;
}

.page-khuyen-mai__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main color */
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-khuyen-mai__hero-container,
    .page-khuyen-mai__content-area {
        padding-left: 25px;
        padding-right: 25px;
    }
    .page-khuyen-mai__main-title {
        font-size: 2.8em;
    }
    .page-khuyen-mai__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-khuyen-mai__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body for header offset */
        padding-bottom: 40px;
    }
    .page-khuyen-mai__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 25px;
    }
    .page-khuyen-mai__hero-content {
        flex: 1 1 100%;
        text-align: center;
    }
    .page-khuyen-mai__main-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Clamp for H1 */
        margin-bottom: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__intro-text {
        font-size: 1em;
        margin-bottom: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    .page-khuyen-mai__hero-image {
        flex: 1 1 100%;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* General Content Area and Sections */
    .page-khuyen-mai__content-area,
    .page-khuyen-mai__promo-grid-section,
    .page-khuyen-mai__faq-section {
        padding: 20px 0; /* Adjust section padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden; /* Prevent horizontal scroll */
    }
    .page-khuyen-mai__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__section-description {
        font-size: 1em;
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Promo Grid */
    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-khuyen-mai__promo-card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        object-fit: cover;
    }
    .page-khuyen-mai__promo-card-content {
        padding: 15px;
    }
    .page-khuyen-mai__promo-card-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    .page-khuyen-mai__promo-card-text {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    /* FAQ Section */
    .page-khuyen-mai__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-khuyen-mai__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* Generic Image Rule for all images within .page-khuyen-mai */
    .page-khuyen-mai img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    /* Ensure containers for images/content also respect max-width */
    .page-khuyen-mai__section,
    .page-khuyen-mai__container,
    .page-khuyen-mai__promo-grid-section,
    .page-khuyen-mai__faq-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden;
    }
}