.page-khuynmi {
    background-color: #0D0E12;
    color: #FFF3E6;
}

.page-khuynmi__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-khuynmi__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height on desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-khuynmi__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-khuynmi__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF3E6;
    background: linear-gradient(90deg, #FFB04D 0%, #FFA53A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-khuynmi__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #FFF3E6;
}

.page-khuynmi__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-khuynmi__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    color: #FFF3E6;
    border: none;
}

.page-khuynmi__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-khuynmi__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-khuynmi__btn--secondary {
    background-color: transparent;
    border: 2px solid #A84F0C;
}

.page-khuynmi__btn--secondary:hover {
    background-color: rgba(255, 140, 26, 0.1);
    border-color: #FFA53A;
}

.page-khuynmi__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #FFF3E6;
    background: linear-gradient(90deg, #FFB04D 0%, #FFA53A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding: 0 20px;
}

.page-khuynmi__promotions-grid-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-khuynmi__promotion-card {
    background-color: #17191F;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #A84F0C;
}

.page-khuynmi__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.3);
}

.page-khuynmi__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-khuynmi__card-content {
    padding: 25px;
}

.page-khuynmi__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFF3E6;
    line-height: 1.3;
}

.page-khuynmi__card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-khuynmi__btn--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-khuynmi__cta-section {
    background-color: #17191F;
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #A84F0C;
    border-bottom: 1px solid #A84F0C;
}

.page-khuynmi__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFF3E6;
    background: linear-gradient(90deg, #FFB04D 0%, #FFA53A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-khuynmi__cta-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #FFF3E6;
}

.page-khuynmi__btn--large {
    padding: 15px 35px;
    font-size: 1.1rem;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-khuynmi__faq-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-khuynmi__faq-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-khuynmi__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFF3E6;
    transition: background-color 0.3s ease;
}

.page-khuynmi__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.05);
}

.page-khuynmi__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-khuynmi__faq-item.active .page-khuynmi__faq-question::after {
    transform: rotate(45deg);
}

.page-khuynmi__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #FFF3E6;
}

.page-khuynmi__faq-item.active .page-khuynmi__faq-answer {
    max-height: 200px; /* Adjust based on content */
    padding: 15px 25px 20px 25px;
}

.page-khuynmi__faq-answer p {
    line-height: 1.6;
    font-size: 1rem;
}

/* Ensure all content images are at least 200px wide/high */
.page-khuynmi img:not(.page-khuynmi__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-khuynmi__hero-section {
        padding-bottom: 40px;
    }
    .page-khuynmi__hero-image-wrapper {
        max-height: 400px;
    }
    .page-khuynmi__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuynmi__hero-section {
        padding-bottom: 30px;
    }
    .page-khuynmi__hero-image-wrapper {
        max-height: 300px;
    }
    .page-khuynmi__hero-content {
        margin-top: 30px;
    }
    .page-khuynmi__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-khuynmi__hero-description {
        font-size: 1rem;
    }
    .page-khuynmi__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-khuynmi__btn {
        width: 100%;
        max-width: 300px;
    }
    .page-khuynmi__section-title,
    .page-khuynmi__cta-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-khuynmi__promotions-grid-section,
    .page-khuynmi__cta-section,
    .page-khuynmi__faq-section {
        padding: 40px 15px;
    }
    .page-khuynmi__promotion-card {
        max-width: 400px; /* Constrain card width on smaller screens */
        margin-left: auto;
        margin-right: auto;
    }
    .page-khuynmi__card-title {
        font-size: 1.3rem;
    }
    .page-khuynmi__card-description {
        font-size: 0.9rem;
    }
    .page-khuynmi__btn--large {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-khuynmi__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-khuynmi__faq-answer {
        padding: 0 20px;
    }
    .page-khuynmi__faq-item.active .page-khuynmi__faq-answer {
        padding: 10px 20px 15px 20px;
    }

    /* Mobile content images: prevent overflow */
    .page-khuynmi img {
        max-width: 100%;
        height: auto;
    }
    .page-khuynmi__hero-image {
        min-width: auto; /* Allow hero image to scale down */
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-khuynmi__hero-image-wrapper {
        max-height: 250px;
    }
    .page-khuynmi__hero-content {
        margin-top: 20px;
    }
    .page-khuynmi__hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-khuynmi__hero-description {
        font-size: 0.9rem;
    }
    .page-khuynmi__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-khuynmi__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-khuynmi__card-image {
        height: 200px;
    }
    .page-khuynmi__card-title {
        font-size: 1.2rem;
    }
    .page-khuynmi__faq-question {
        font-size: 1rem;
    }
}