.page-khuynmi {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color for the page, assuming dark background */
    background-color: var(--bg-color-main, #08160F); /* Main background color */
}

/* Base styles for sections and containers */
.page-khuynmi__section {
    padding: 60px 0;
    position: relative;
}

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

/* Hero Section */
.page-khuynmi__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small padding top, body handles header offset */
    background-color: var(--bg-color-main, #08160F);
}

.page-khuynmi__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-khuynmi__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the image to make text readable */
}

.page-khuynmi__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    color: var(--text-main, #F2FFF6);
}

.page-khuynmi__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-khuynmi__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-khuynmi__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-khuynmi__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-khuynmi__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-khuynmi__btn-secondary {
    background-color: transparent;
    color: #F2FFF6;
    border: 2px solid var(--border-color, #2E7A4E);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__btn-secondary:hover {
    background-color: var(--deep-green, #0A4B2C);
    border-color: #2AD16F;
    transform: translateY(-2px);
}

.page-khuynmi__btn-tertiary {
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
    border: 1px solid var(--divider, #1E3A2A);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-khuynmi__btn-tertiary:hover {
    background-color: var(--primary-color, #11A84E);
    color: #F2FFF6;
}

.page-khuynmi__btn-center {
    margin: 30px auto 0 auto;
    display: block;
    width: fit-content;
}

/* Section Titles */
.page-khuynmi__section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-khuynmi__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2AD16F, #13994A);
    border-radius: 2px;
}

/* Text Blocks */
.page-khuynmi__text-block {
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    text-align: justify;
}

.page-khuynmi__text-block.page-khuynmi__text-secondary {
    color: var(--text-secondary, #A7D9B8);
}

/* Image content */
.page-khuynmi__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-khuynmi__image-content--center {
    margin-left: auto;
    margin-right: auto;
}

/* Promotion Card Grid */
.page-khuynmi__promo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuynmi__promo-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border: 1px solid var(--divider, #1E3A2A);
}

.page-khuynmi__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
}

.page-khuynmi__card-description {
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* How-to-claim steps */
.page-khuynmi__step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuynmi__step-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--divider, #1E3A2A);
}

.page-khuynmi__step-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
}

.page-khuynmi__step-description {
    color: var(--text-secondary, #A7D9B8);
}

/* Benefits Section */
.page-khuynmi__benefits-section {
    background-color: var(--deep-green, #0A4B2C); /* Dark background for contrast */
    color: #F2FFF6;
    padding: 80px 0;
}

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

.page-khuynmi__benefit-item {
    background-color: rgba(17, 39, 27, 0.6); /* Slightly lighter card bg on deep green */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-khuynmi__benefit-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
}

.page-khuynmi__benefit-description {
    color: var(--text-secondary, #A7D9B8);
}

/* FAQ Section */
.page-khuynmi__faq-section {
    padding-bottom: 80px;
}

.page-khuynmi__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuynmi__faq-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--divider, #1E3A2A);
}

.page-khuynmi__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-khuynmi__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-khuynmi__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color, #11A84E);
}

.page-khuynmi__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1rem;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.page-khuynmi__faq-item[open] .page-khuynmi__faq-answer {
    max-height: 500px; /* Adjust as needed */
    opacity: 1;
}

/* Conclusion Section */
.page-khuynmi__conclusion-section {
    background-color: var(--deep-green, #0A4B2C);
    color: #F2FFF6;
    text-align: center;
    padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-khuynmi__hero-content {
        padding: 30px 15px;
    }
    .page-khuynmi__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-khuynmi__hero-description {
        font-size: 1.1rem;
    }
    .page-khuynmi__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-khuynmi__section {
        padding: 40px 0;
    }
    .page-khuynmi__hero-section {
        min-height: 400px;
    }
    .page-khuynmi__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-khuynmi__hero-description {
        font-size: 1rem;
    }
    .page-khuynmi__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-khuynmi__btn-primary,
    .page-khuynmi__btn-secondary,
    .page-khuynmi__btn-tertiary {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-khuynmi__promo-card-grid,
    .page-khuynmi__step-list,
    .page-khuynmi__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuynmi__section-title {
        font-size: 1.8rem;
    }
    .page-khuynmi__text-block {
        font-size: 1rem;
    }
    .page-khuynmi__card-title,
    .page-khuynmi__step-title,
    .page-khuynmi__benefit-title {
        font-size: 1.3rem;
    }
    .page-khuynmi__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-khuynmi__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-khuynmi img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-khuynmi__section,
    .page-khuynmi__card,
    .page-khuynmi__container,
    .page-khuynmi__promo-card,
    .page-khuynmi__step-item,
    .page-khuynmi__benefit-item,
    .page-khuynmi__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuynmi__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-khuynmi__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile video responsiveness (if any) */
    .page-khuynmi video,
    .page-khuynmi__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-khuynmi__video-section,
    .page-khuynmi__video-container,
    .page-khuynmi__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-khuynmi__video-section {
        padding-top: 10px !important;
    }
    .page-khuynmi__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Color Contrast based on body background (var(--bg-color))
   Assuming var(--bg-color) is dark, so default text is light.
   Sections with custom dark backgrounds will explicitly set light text.
   This page mostly uses dark backgrounds. */
.page-khuynmi {
    color: var(--text-main, #F2FFF6); /* Main text color */
    background-color: var(--bg-color-main, #08160F); /* Main background */
}

/* Card and container elements */
.page-khuynmi__promo-card,
.page-khuynmi__step-item,
.page-khuynmi__faq-item {
    background-color: var(--card-bg, #11271B);
    color: var(--text-secondary, #A7D9B8);
}
.page-khuynmi__card-title,
.page-khuynmi__step-title,
.page-khuynmi__faq-question {
    color: var(--text-main, #F2FFF6);
}

/* Darker sections should still use light text */
.page-khuynmi__dark-bg {
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
}

.page-khuynmi__dark-bg .page-khuynmi__section-title {
    color: var(--text-main, #F2FFF6);
}

.page-khuynmi__dark-bg .page-khuynmi__text-block {
    color: var(--text-secondary, #A7D9B8);
}

/* Ensure link colors are visible */
.page-khuynmi a {
    color: var(--primary-color, #11A84E);
    text-decoration: none;
}
.page-khuynmi a:hover {
    color: #2AD16F;
    text-decoration: underline;
}

/* Specific colors from palette */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --bg-color-main: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}