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

.page-khuyen-mai__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding if body already has header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #2F6BFF; /* Main color as background for hero */
    color: #ffffff;
    padding-bottom: 40px;
}

.page-khuyen-mai__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the area */
    display: block;
}

.page-khuyen-mai__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-khuyen-mai__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-khuyen-mai__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-khuyen-mai__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-khuyen-mai__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-khuyen-mai__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-khuyen-mai__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4A8BFF, #2F6BFF);
    border-radius: 2px;
}

.page-khuyen-mai__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-khuyen-mai__image-wrapper {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-khuyen-mai__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-khuyen-mai__image-caption {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Promo Card Grid */
.page-khuyen-mai__promo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__promo-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

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

.page-khuyen-mai__card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__image-wrapper {
    margin: 0 0 20px 0;
    max-height: 250px;
    overflow: hidden;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__card-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-khuyen-mai__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Dark Section Styling */
.page-khuyen-mai__dark-section {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
}

.page-khuyen-mai__dark-section .page-khuyen-mai__section-title,
.page-khuyen-mai__dark-section .page-khuyen-mai__text-block,
.page-khuyen-mai__dark-section .page-khuyen-mai__image-caption {
    color: #ffffff;
}

.page-khuyen-mai__dark-section .page-khuyen-mai__section-title::after {
    background: linear-gradient(90deg, #A5C4FF, #6FA3FF); /* Glow color */
}

.page-khuyen-mai__cta-buttons--center {
    justify-content: center;
    margin-top: 30px;
}

/* Guide List */
.page-khuyen-mai__guide-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-khuyen-mai__guide-list .page-khuyen-mai__list-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
}

.page-khuyen-mai__guide-list .page-khuyen-mai__list-item strong {
    color: #2F6BFF; /* Main color */
    margin-right: 10px;
    flex-shrink: 0;
}

/* Benefit List */
.page-khuyen-mai__benefit-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-khuyen-mai__benefit-list .page-khuyen-mai__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-khuyen-mai__benefit-list .page-khuyen-mai__list-item strong {
    color: #A5C4FF; /* Glow color */
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
    margin-top: 30px;
}

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

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #2F6BFF; /* Main color */
    cursor: pointer;
    list-style: none; /* Hide default marker for details summary */
    -webkit-touch-callout: none; /* Disable text selection */
    -webkit-user-select: none; /* Disable text selection */
    -khtml-user-select: none; /* Disable text selection */
    -moz-user-select: none; /* Disable text selection */
    -ms-user-select: none; /* Disable text selection */
    user-select: none; /* Disable text selection */
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-question {
    background-color: #F4F7FB; /* Background */
    border-bottom: 1px solid #D6E2FF; /* Border */
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle::before {
    content: '-';
}

.page-khuyen-mai__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-khuyen-mai__faq-toggle::before {
    content: '+';
}

/* Hide default details marker */
.page-khuyen-mai__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-khuyen-mai__faq-item summary::marker {
    display: none;
}

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

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

/* Conclusion Section */
.page-khuyen-mai__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-khuyen-mai__section-title {
        font-size: 2.2em;
    }
    .page-khuyen-mai__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-khuyen-mai__promo-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-khuyen-mai__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section (Hero) & CTA */
    .page-khuyen-mai__hero-section {
        padding-top: 10px !important; /* Fixed top padding */
        padding-bottom: 30px;
    }
    .page-khuyen-mai__hero-image-wrapper {
        max-height: 300px; /* Adjust height for mobile */
    }
    .page-khuyen-mai__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em) !important; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }
    .page-khuyen-mai__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-khuyen-mai__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-khuyen-mai__btn,
    .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-left: 15px;
        padding-right: 15px;
    }

    /* 2. Single Column Long Text (General Sections) */
    .page-khuyen-mai__section {
        padding: 40px 0;
    }
    .page-khuyen-mai__container {
        padding: 0 15px !important; /* Smaller padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }
    .page-khuyen-mai__text-block {
        font-size: 1em;
    }
    .page-khuyen-mai__promo-card-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }
    .page-khuyen-mai__promo-card {
        padding: 20px;
    }
    .page-khuyen-mai__card-title {
        font-size: 1.3em;
    }
    .page-khuyen-mai__card-description {
        font-size: 0.9em;
    }
    .page-khuyen-mai__btn-small {
        padding: 8px 15px;
        font-size: 0.85em;
    }

    /* 3. General Images and Figure */
    .page-khuyen-mai__image-wrapper {
        margin: 20px auto;
        border-radius: 8px;
    }
    .page-khuyen-mai__content-image,
    .page-khuyen-mai__promo-card .page-khuyen-mai__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
    }
    .page-khuyen-mai__image-caption {
        font-size: 0.8em;
        padding: 8px;
    }

    /* 4. Buttons and Button Containers - covered by general .page-khuyen-mai__btn and .page-khuyen-mai__cta-buttons */

    /* 5. Registration Tutorial and FAQ Blocks */
    .page-khuyen-mai__guide-list .page-khuyen-mai__list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-khuyen-mai__guide-list .page-khuyen-mai__list-item strong {
        margin-bottom: 5px;
        margin-right: 0;
    }
    .page-khuyen-mai__benefit-list .page-khuyen-mai__list-item {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-khuyen-mai__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-khuyen-mai__faq-toggle {
        font-size: 1.2em;
    }
    .page-khuyen-mai__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
    .page-khuyen-mai__conclusion-section {
        padding-bottom: 50px;
    }
}