/* ===== Khuyến mãi page styles ===== */
.page-khuyen-mai {
    --primary-color: #26A9E0;
    --text-color: #333333;
    --bg-white: #FFFFFF;
    --bg-light: #F5F9FC;
    --btn-color: #EA7C07;
    color: var(--text-color);
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding-top: 10px;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-khuyen-mai__hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 32px;
    text-align: center;
}

.page-khuyen-mai__main-title {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 12px;
}

.page-khuyen-mai__hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 24px;
}

.page-khuyen-mai__hero-button {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--btn-color);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: opacity 0.3s;
    box-shadow: 0 4px 10px rgba(234, 124, 7, 0.3);
}

.page-khuyen-mai__hero-button:hover {
    opacity: 0.9;
}

/* Promo Section */
.page-khuyen-mai__promo-section {
    background-color: var(--bg-light);
    padding: 48px 16px;
}

.page-khuyen-mai__section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.page-khuyen-mai__promo-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-khuyen-mai__promo-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__promo-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.page-khuyen-mai__promo-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555555;
    margin-bottom: 20px;
    flex: 1;
}

.page-khuyen-mai__promo-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

.page-khuyen-mai__promo-link:hover {
    background-color: #1E8FC0;
}

/* Policy Section */
.page-khuyen-mai__policy-section {
    padding: 48px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-khuyen-mai__policy-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.page-khuyen-mai__policy-block {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
}

.page-khuyen-mai__policy-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.page-khuyen-mai__policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-khuyen-mai__policy-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444444;
}

.page-khuyen-mai__policy-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* News Section */
.page-khuyen-mai__news-section {
    background-color: var(--bg-light);
    padding: 48px 16px;
}

.page-khuyen-mai__news-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.page-khuyen-mai__news-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__news-body {
    padding: 20px;
}

.page-khuyen-mai__news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-khuyen-mai__news-meta {
    font-size: 0.875rem;
    color: #777777;
    margin-bottom: 12px;
}

.page-khuyen-mai__news-desc {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 16px;
}

.page-khuyen-mai__news-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

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

/* CTA Section */
.page-khuyen-mai__cta-section {
    background-color: var(--primary-color);
    padding: 56px 16px;
    text-align: center;
}

.page-khuyen-mai__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-khuyen-mai__cta-title {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-khuyen-mai__cta-desc {
    color: #F0F9FF;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-khuyen-mai__cta-button {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.page-khuyen-mai__cta-button--primary {
    background-color: var(--btn-color);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai__cta-button--secondary {
    background-color: #FFFFFF;
    color: var(--primary-color);
}

.page-khuyen-mai__cta-button:hover {
    opacity: 0.9;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .page-khuyen-mai__promo-list,
    .page-khuyen-mai__policy-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-section {
        padding-top: 8px;
    }

    .page-khuyen-mai__hero-image img {
        aspect-ratio: 2 / 1;
    }

    .page-khuyen-mai__main-title {
        font-size: 1.3rem;
    }

    .page-khuyen-mai__hero-description {
        font-size: 0.95rem;
    }

    .page-khuyen-mai__hero-button {
        padding: 12px 28px;
        font-size: 1rem;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-khuyen-mai__promo-list {
        grid-template-columns: 1fr;
    }

    .page-khuyen-mai__promo-image {
        height: 200px;
    }

    .page-khuyen-mai__policy-content {
        grid-template-columns: 1fr;
    }

    .page-khuyen-mai__news-list {
        grid-template-columns: 1fr;
    }

    .page-khuyen-mai__news-image {
        height: 180px;
    }

    .page-khuyen-mai__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-khuyen-mai__cta-button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-khuyen-mai img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-khuyen-mai {
        max-width: 100%;
        overflow-x: hidden;
    }
}