.page-khuyen-mai {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Main text color */
    background-color: #0A0A0A; /* Body background color */
}

.page-khuyen-mai__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-khuyen-mai__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Brand main color for titles */
}

.page-khuyen-mai__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #FFF6D6;
}

/* HERO Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 60px;
    background-color: #0A0A0A;
}

.page-khuyen-mai__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 16px;
    box-sizing: border-box;
}

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

.page-khuyen-mai__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Using clamp for responsive H1 font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Auxiliary color for H1 */
}

.page-khuyen-mai__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

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

.page-khuyen-mai__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Brand main color */
    border: 2px solid #F2C14E; /* Border color */
}

.page-khuyen-mai__btn-secondary:hover {
    background-color: #F2C14E;
    color: #111111;
}

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

.page-khuyen-mai__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Promo Highlight Section */
.page-khuyen-mai__promo-highlight-section {
    padding-bottom: 60px;
    background-color: #0A0A0A;
}

.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: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-5px);
}

.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;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2C14E; /* Brand main color */
}

.page-khuyen-mai__promo-card-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #FFF6D6;
    flex-grow: 1;
}

.page-khuyen-mai__btn-link {
    color: #FFD36B; /* Glow color for links */
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    padding: 8px 0;
    position: relative;
}

.page-khuyen-mai__btn-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #FFD36B;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.page-khuyen-mai__btn-link:hover::after {
    transform: scaleX(1);
}

/* How to Claim Section */
.page-khuyen-mai__how-to-claim-section {
    padding-bottom: 60px;
    background-color: #0A0A0A;
}

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

.page-khuyen-mai__step-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-khuyen-mai__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2C14E;
}

.page-khuyen-mai__step-text {
    font-size: 16px;
    line-height: 1.6;
    color: #FFF6D6;
}

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

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

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

.page-khuyen-mai__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6;
}

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: #111111;
    color: #F2C14E; /* Question text color */
    list-style: none; /* For <details> */
}

/* Hide default marker for <details> */
.page-khuyen-mai__faq-item summary::-webkit-details-marker,
.page-khuyen-mai__faq-item summary::marker {
    display: none;
    content: "";
}

.page-khuyen-mai__faq-toggle {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B;
}

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

.page-khuyen-mai__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #FFF6D6;
}

/* General image responsive */
.page-khuyen-mai img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-khuyen-mai__main-title {
        font-size: clamp(32px, 4vw, 54px);
    }
    .page-khuyen-mai__section-title {
        font-size: 32px;
    }
    .page-khuyen-mai__promo-card-title {
        font-size: 22px;
    }
    .page-khuyen-mai__step-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-khuyen-mai__hero-section {
        padding-top: 10px !important; /* Small top padding, important for mobile */
        padding-bottom: 40px !important;
    }
    .page-khuyen-mai__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-khuyen-mai__hero-content {
        order: 2; /* Content after image on mobile */
        width: 100%;
    }
    .page-khuyen-mai__hero-image {
        order: 1; /* Image first on mobile */
        width: 100%;
    }
    .page-khuyen-mai__main-title {
        font-size: 36px !important; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-khuyen-mai__hero-description {
        font-size: 16px !important;
        margin-bottom: 25px;
    }
    .page-khuyen-mai__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
    }

    /* Promo Highlight Section */
    .page-khuyen-mai__promo-highlight-section {
        padding-bottom: 40px !important;
    }
    .page-khuyen-mai__container {
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-khuyen-mai__section-title {
        font-size: 28px !important;
        margin-bottom: 15px;
    }
    .page-khuyen-mai__section-description {
        font-size: 15px !important;
        margin-bottom: 30px;
    }
    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }
    .page-khuyen-mai__promo-card-image {
        height: 180px !important; /* Adjust image height for mobile cards */
    }
    .page-khuyen-mai__promo-card-content {
        padding: 20px !important;
    }
    .page-khuyen-mai__promo-card-title {
        font-size: 20px !important;
    }
    .page-khuyen-mai__promo-card-text {
        font-size: 15px !important;
    }

    /* How to Claim Section */
    .page-khuyen-mai__how-to-claim-section {
        padding-bottom: 40px !important;
    }
    .page-khuyen-mai__steps-grid {
        grid-template-columns: 1fr; /* Single column for steps */
        gap: 20px;
    }
    .page-khuyen-mai__step-item {
        padding: 25px !important;
    }
    .page-khuyen-mai__step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    .page-khuyen-mai__step-title {
        font-size: 18px !important;
    }
    .page-khuyen-mai__step-text {
        font-size: 15px !important;
    }
    .page-khuyen-mai__cta-wrapper {
        margin-top: 30px !important;
    }

    /* FAQ Section */
    .page-khuyen-mai__faq-section {
        padding-bottom: 60px !important;
    }
    .page-khuyen-mai__faq-item {
        margin-bottom: 10px;
    }
    .page-khuyen-mai__faq-question {
        padding: 15px 20px !important;
        font-size: 16px !important;
    }
    .page-khuyen-mai__faq-toggle {
        font-size: 20px !important;
    }
    .page-khuyen-mai__faq-answer {
        padding: 0 20px 15px !important;
        font-size: 15px !important;
    }

    /* Universal image and container responsive */
    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-khuyen-mai__hero-side-image {
        max-width: 100% !important;
    }
    .page-khuyen-mai__promo-card-image {
        max-width: 100% !important;
        width: 100% !important;
    }
}