.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-khuyen-mai__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding if body handles header offset */
    background-color: #7A0E0E; /* Deep Red for hero background */
    padding-bottom: 40px;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    overflow: hidden;
}

.page-khuyen-mai__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 492px; /* For the specified hero image size */
}

.page-khuyen-mai__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 15px;
}

.page-khuyen-mai__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Adjusted to avoid huge font on desktop, responsive */
    font-weight: 700;
    color: #FFD86A; /* Gold-like for title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

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

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

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box; /* Include padding/border in width */
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red text for contrast on gold */
    border: none;
}

.page-khuyen-mai__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai__btn-secondary {
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-khuyen-mai__btn-secondary:hover {
    background: #B71C1C; /* Background color */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-khuyen-mai__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: #FFD86A; /* Gold for titles */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.page-khuyen-mai__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
    text-align: justify;
}

.page-khuyen-mai__highlight {
    color: #FFCC66; /* Glow */
    font-weight: bold;
}

.page-khuyen-mai a {
    color: #F4D34D; /* Gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyen-mai a:hover {
    color: #FFD86A; /* Lighter gold on hover */
    text-decoration: underline;
}

.page-khuyen-mai__overview-section,
.page-khuyen-mai__promo-categories,
.page-khuyen-mai__how-to-claim,
.page-khuyen-mai__terms-conditions,
.page-khuyen-mai__faq-section,
.page-khuyen-mai__conclusion-section {
    padding: 40px 0;
    background-color: #D32F2F; /* Card B G for alternating sections */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__promo-categories {
    background-color: #7A0E0E; /* Deep Red for promo categories */
}

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

.page-khuyen-mai__promo-card {
    background-color: #D32F2F; /* Card B G */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #F2B544; /* Border */
}

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

.page-khuyen-mai__promo-card .page-khuyen-mai__card-title {
    font-size: 1.4em;
    color: #FFD86A; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

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

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

.page-khuyen-mai__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-khuyen-mai__guide-item {
    background-color: #7A0E0E; /* Deep Red */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-khuyen-mai__guide-step-title {
    font-size: 1.3em;
    color: #FFD86A; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-khuyen-mai__guide-item p {
    font-size: 1em;
    color: #FFF5E1; /* Text Main */
}

.page-khuyen-mai__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-khuyen-mai__cta-wrapper--final {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-khuyen-mai__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-khuyen-mai__terms-item {
    background-color: #7A0E0E; /* Deep Red */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #F2B544; /* Border */
}

.page-khuyen-mai__terms-heading {
    font-size: 1.2em;
    color: #FFD86A; /* Gold */
    margin-bottom: 8px;
    font-weight: 600;
}

.page-khuyen-mai__terms-item p {
    font-size: 0.95em;
    color: #FFF5E1; /* Text Main */
}

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

.page-khuyen-mai__faq-item {
    background-color: #7A0E0E; /* Deep Red */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #F2B544; /* Border */
}

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #FFD86A; /* Gold */
    cursor: pointer;
    list-style: none; /* Hide default marker for details summary */
}

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

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

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
    transform: rotate(45deg); /* Change + to X or rotate it */
}

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

/* Responsive styles */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
    }

    .page-khuyen-mai__main-title {
        font-size: 2em;
    }

    .page-khuyen-mai__hero-description {
        font-size: 1em;
    }

    .page-khuyen-mai__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-khuyen-mai__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-khuyen-mai__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .page-khuyen-mai__paragraph {
        font-size: 0.95em;
    }

    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

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

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

    .page-khuyen-mai__guide-item,
    .page-khuyen-mai__terms-item,
    .page-khuyen-mai__faq-item {
        padding: 15px;
        border-radius: 6px;
    }

    .page-khuyen-mai__guide-step-title,
    .page-khuyen-mai__terms-heading {
        font-size: 1.1em;
    }

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

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

    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-khuyen-mai__overview-section,
    .page-khuyen-mai__promo-categories,
    .page-khuyen-mai__how-to-claim,
    .page-khuyen-mai__terms-conditions,
    .page-khuyen-mai__faq-section,
    .page-khuyen-mai__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 15px;
    }

    .page-khuyen-mai__cta-wrapper--final {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
}