/* style/khuyen-mai.css */

/* General styles for the page-khuyen-mai scope */
.page-khuyen-mai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
}

/* Container for main content width */
.page-khuyen-mai__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background-color: #F5F7FA;
    text-align: center;
    padding-bottom: 40px;
}

.page-khuyen-mai__hero-image-wrapper {
    margin-bottom: 20px;
}

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

.page-khuyen-mai__hero-content {
    padding: 0 20px;
}

.page-khuyen-mai__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
    color: #E53935; /* Main color */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-khuyen-mai__hero-description {
    font-size: 1.1em;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

.page-khuyen-mai__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't exceed container */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-khuyen-mai__btn--primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-khuyen-mai__btn--primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-khuyen-mai__btn--secondary {
    background: #ffffff;
    color: #E53935; /* Main color */
    border: 2px solid #E53935; /* Border color */
}

.page-khuyen-mai__btn--secondary:hover {
    background: #E53935;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
}

/* General Section Styling */
.page-khuyen-mai__section {
    padding: 40px 0;
    background-color: #F5F7FA;
}

.page-khuyen-mai__section-title {
    font-size: 2.2em;
    color: #E53935;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-khuyen-mai__sub-title {
    font-size: 1.5em;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-khuyen-mai__paragraph {
    font-size: 1em;
    color: #333333;
    margin-bottom: 15px;
}

.page-khuyen-mai__figure {
    margin: 20px auto;
    text-align: center;
    max-width: 680px; /* Max width for blog images */
}

.page-khuyen-mai__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-khuyen-mai__figcaption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

.page-khuyen-mai__ordered-list,
.page-khuyen-mai__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-khuyen-mai__ordered-list .page-khuyen-mai__list-item {
    margin-bottom: 15px;
}

.page-khuyen-mai__unordered-list .page-khuyen-mai__list-item {
    margin-bottom: 10px;
}

.page-khuyen-mai__list-title {
    font-size: 1.2em;
    color: #E53935;
    font-weight: 600;
    margin-bottom: 5px;
}

/* CTA Bottom Section */
.page-khuyen-mai__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

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