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

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

.page-khuyen-mai__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: #FFFFFF; /* Card BG */
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-khuyen-mai__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-khuyen-mai__hero-content {
    padding: 40px 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyen-mai__main-title {
    font-size: clamp(32px, 5vw, 48px); /* Using clamp for H1 font size */
    font-weight: bold;
    color: #2F6BFF; /* Main color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-khuyen-mai__description {
    font-size: 18px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

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

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Gradient */
    color: #ffffff;
    border: none;
}

.page-khuyen-mai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-khuyen-mai__btn-primary--center {
    display: block;
    margin: 40px auto 0 auto;
}

.page-khuyen-mai__btn-secondary {
    background-color: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color */
}

.page-khuyen-mai__btn-secondary:hover {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
    transform: translateY(-2px);
}

.page-khuyen-mai__btn-secondary--center {
    display: block;
    margin: 40px auto 0 auto;
}

/* General Section Styling */
.page-khuyen-mai__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
}

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

.page-khuyen-mai__text-block {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__text-block--light {
    color: #f0f0f0;
}

.page-khuyen-mai__highlight-text {
    color: #2F6BFF; /* Main color */
    font-weight: bold;
}

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

/* Promo Grid */
.page-khuyen-mai__promo-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: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-khuyen-mai__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

.page-khuyen-mai__card-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Gradient */
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-khuyen-mai__card-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Special Promo List */
.page-khuyen-mai__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__promo-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark section */
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 17px;
    display: flex;
    align-items: center;
}

.page-khuyen-mai__promo-item::before {
    content: '✅';
    margin-right: 15px;
    font-size: 20px;
}

/* Terms Section */
.page-khuyen-mai__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Limit max width for content images */
}

.page-khuyen-mai__terms-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #1F2D3D; /* Text Main */
}

.page-khuyen-mai__terms-item {
    margin-bottom: 10px;
    font-size: 16px;
}

/* How To Claim Section */
.page-khuyen-mai__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__step-card {
    background-color: #ffffff; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-khuyen-mai__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #6FA3FF; /* Accent color */
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-khuyen-mai__step-title {
    font-size: 22px;
    font-weight: bold;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-khuyen-mai__step-description {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

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

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}

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

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

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-question {
    background-color: #e0e7ff; /* Lighter main color */
    color: #2F6BFF;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
    transform: rotate(45deg);
}

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

.page-khuyen-mai__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF; /* Main color */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

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

/* Global image and button responsiveness for mobile */
.page-khuyen-mai img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-khuyen-mai__cta-buttons,
.page-khuyen-mai__button-group,
.page-khuyen-mai__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-khuyen-mai__section-padding {
        padding: 40px 0;
    }

    .page-khuyen-mai__hero-section {
        padding-top: 10px; /* Consistent small top padding */
    }

    .page-khuyen-mai__hero-content {
        padding: 30px 15px;
    }

    .page-khuyen-mai__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-khuyen-mai__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-khuyen-mai__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary,
    .page-khuyen-mai a[class*="button"],
    .page-khuyen-mai a[class*="btn"] {
        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;
    }

    .page-khuyen-mai__btn-primary--center,
    .page-khuyen-mai__btn-secondary--center {
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-khuyen-mai__cta-buttons,
    .page-khuyen-mai__button-group,
    .page-khuyen-mai__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-khuyen-mai__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-khuyen-mai__text-block {
        font-size: 15px;
        padding: 0 15px;
    }

    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-khuyen-mai__promo-card {
        padding: 20px;
    }

    .page-khuyen-mai__card-image {
        height: 180px;
    }

    .page-khuyen-mai__card-title {
        font-size: 20px;
    }

    .page-khuyen-mai__promo-item {
        font-size: 15px;
        padding: 12px 15px;
    }

    .page-khuyen-mai__content-image {
        margin: 20px auto;
        border-radius: 8px;
    }

    .page-khuyen-mai__terms-list,
    .page-khuyen-mai__steps-grid,
    .page-khuyen-mai__faq-list {
        padding: 0 15px;
        margin-top: 30px;
    }

    .page-khuyen-mai__step-card {
        padding: 25px;
    }

    .page-khuyen-mai__step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .page-khuyen-mai__step-title {
        font-size: 20px;
    }

    .page-khuyen-mai__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }

    .page-khuyen-mai__faq-toggle {
        font-size: 20px;
    }

    .page-khuyen-mai__faq-answer {
        padding: 10px 20px 15px;
        font-size: 15px;
    }

    /* Universal image and container styles for mobile */
    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-khuyen-mai__section,
    .page-khuyen-mai__card,
    .page-khuyen-mai__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}