/* style/khuyen-mai.css */
/* Base styles for .page-khuyen-mai */
.page-khuyen-mai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherits from shared, explicitly white */
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #f8f8f8; /* Light background for the hero section */
}

.page-khuyen-mai__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 16px;
    gap: 24px;
}

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

.page-khuyen-mai__hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #26A9E0; /* Brand color for main title */
}

.page-khuyen-mai__hero-description {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-khuyen-mai__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-khuyen-mai__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #26A9E0;
}

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

.page-khuyen-mai__hero-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-khuyen-mai__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
}

.page-khuyen-mai__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
}

.page-khuyen-mai__section-description {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555555;
}

/* Promo Grid Section */
.page-khuyen-mai__promo-grid-section {
    padding-bottom: 60px;
}

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

.page-khuyen-mai__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.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-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #26A9E0;
    min-height: 3em; /* Ensure consistent height for titles */
}

.page-khuyen-mai__promo-card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-khuyen-mai__promo-card-title a:hover {
    text-decoration: underline;
}

.page-khuyen-mai__promo-card-text {
    font-size: 1rem;
    color: #555555;
    padding: 0 20px;
    flex-grow: 1; /* Make text take up available space */
}

.page-khuyen-mai__btn-link {
    color: #26A9E0;
    text-decoration: none;
    padding: 15px 20px 20px;
    display: block;
    text-align: right;
}

.page-khuyen-mai__btn-link:hover {
    text-decoration: underline;
}

/* Why Choose Section */
.page-khuyen-mai__why-choose-section {
    background-color: #26A9E0; /* Brand color for dark section */
    color: #FFFFFF; /* White text for dark background */
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-khuyen-mai__why-choose-section .page-khuyen-mai__section-title,
.page-khuyen-mai__why-choose-section .page-khuyen-mai__section-description {
    color: #FFFFFF; /* Ensure titles and descriptions are white */
}

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

.page-khuyen-mai__feature-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__feature-image {
    width: 100px; /* Smaller images for features */
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%; /* If images are meant to be circular */
}

.page-khuyen-mai__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-khuyen-mai__feature-text {
    font-size: 1rem;
    color: #f0f0f0;
}

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

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

.page-khuyen-mai__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #26A9E0;
    position: relative;
    outline: none;
}

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