.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Ensure explicit white background for page content */
}

.page-khuyen-mai__section {
    padding: 40px 20px;
    margin-bottom: 20px;
}

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

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, relying on shared.css for body padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #f0f8ff; /* Light background for hero section */
}

.page-khuyen-mai__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
}

.page-khuyen-mai__hero-content {
    position: relative; /* Ensure content is above any background effects */
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white overlay */
    border-radius: 10px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-khuyen-mai__description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-tertiary,
.page-khuyen-mai__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    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;
}

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

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

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

.page-khuyen-mai__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c2;
    border-color: #1e87c2;
}