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

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

.page-khuyen-mai__section-title {
    font-size: 2.5em;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-khuyen-mai__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for fixed header */
    margin-bottom: 40px;
}

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

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

.page-khuyen-mai__hero-content {
    padding: 40px 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
}

.page-khuyen-mai__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 font size clamp */
    color: #FFA53A; /* Accent color */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-khuyen-mai__hero-description {
    font-size: 1.2em;
    color: #FFF3E6;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Buttons */
.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons adapt */
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Text Main */
    border: none;
}

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

.page-khuyen-mai__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FF8C1A; /* Main color */
    border: 2px solid #A84F0C; /* Border */
}

.page-khuyen-mai__btn-secondary:hover {
    background: #FF8C1A; /* Main color */
    color: #FFF3E6; /* Text Main */
    border-color: #FF8C1A;
}

/* Intro Section */
.page-khuyen-mai__intro-section {
    margin-bottom: 60px;
}

/* Promo Grid Section */
.page-khuyen-mai__types-section {
    margin-bottom: 60px;
}

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

.page-khuyen-mai__promo-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.2); /* Glow */
}

.page-khuyen-mai__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-khuyen-mai__card-title {
    font-size: 1.4em;
    color: #FFA53A; /* Accent color */
    margin: 10px 15px;
    font-weight: bold;
}

.page-khuyen-mai__card-text {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Guide Section */
.page-khuyen-mai__guide-section {
    margin-bottom: 60px;
}

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

.page-khuyen-mai__step-card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 140, 26, 0.15); /* Glow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-khuyen-mai__step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Text Main */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-khuyen-mai__step-title {
    font-size: 1.3em;
    color: #FFA53A; /* Accent color */
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Terms Section */
.page-khuyen-mai__terms-section {
    margin-bottom: 60px;
}

.page-khuyen-mai__terms-content {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(255, 140, 26, 0.1); /* Glow */
    margin-bottom: 30px;
}

.page-khuyen-mai__terms-content strong {
    color: #FFA53A; /* Accent color */
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
    margin-bottom: 60px;
}

.page-khuyen-mai__faq-list {
    margin-top: 30px;
}

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

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #FFA53A; /* Accent color */
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
    display: none;
}

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

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

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

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

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-khuyen-mai__container {
        padding: 20px;
    }

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

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

    .page-khuyen-mai__hero-title {
        font-size: clamp(1.8em, 4vw, 3em);
    }

    .page-khuyen-mai__hero-description {
        font-size: 1.1em;
        max-width: 700px;
    }

    .page-khuyen-mai__promo-grid,
    .page-khuyen-mai__guide-steps {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* General mobile adaptations */
    .page-khuyen-mai {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-khuyen-mai__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-khuyen-mai__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        margin-bottom: 30px;
    }
    .page-khuyen-mai__hero-content {
        padding: 20px 15px;
    }
    .page-khuyen-mai__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em) !important; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-khuyen-mai__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Images */
    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-khuyen-mai__card-image {
        height: 150px; /* Adjust height for mobile cards */
    }

    /* Buttons */
    .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: 10px 15px !important;
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }
    .page-khuyen-mai__hero-content a {
        display: block; /* Ensure hero button stacks */
    }

    /* Section Titles */
    .page-khuyen-mai__section-title {
        font-size: 1.8em !important;
        margin-bottom: 25px;
    }

    /* Promo Grid (similar to blog card grid) */
    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr; /* Single column for promo cards */
        gap: 25px;
    }
    .page-khuyen-mai__promo-card {
        padding-bottom: 15px;
    }
    .page-khuyen-mai__card-title {
        font-size: 1.2em;
    }
    .page-khuyen-mai__card-text {
        font-size: 0.95em;
    }

    /* Guide Steps */
    .page-khuyen-mai__guide-steps {
        grid-template-columns: 1fr; /* Single column for guide steps */
        gap: 25px;
    }
    .page-khuyen-mai__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-khuyen-mai__step-title {
        font-size: 1.2em;
    }
    .page-khuyen-mai__step-text {
        font-size: 0.95em;
    }

    /* Terms & FAQ */
    .page-khuyen-mai__terms-content,
    .page-khuyen-mai__faq-item {
        padding: 20px;
    }
    .page-khuyen-mai__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-khuyen-mai__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
}