/* style/blog-cap-nhat-khuyen-mai-moi-nhat-hello88.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --background-light: #F5F7FA;
    --border-color: #E0E0E0;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--background-light);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    z-index: 10;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__intro-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__btn--primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__btn--primary:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__btn--secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__btn--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__article-wrap {
    max-width: 1150px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__article {
    padding: 30px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__sub-title {
    font-size: 1.6rem;
    color: var(--text-main-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88 p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__ordered-list {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__list-item {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__figure {
    margin: 25px 0;
    text-align: center;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__figcaption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__info-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin: 25px 0;
    border-radius: 5px;
    color: #856404;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__info-box-title {
    font-weight: bold;
    color: #856404;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__text-center {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__text-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__faq-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__faq-question {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__faq-answer {
    margin-bottom: 15px;
    padding-left: 10px;
    color: var(--text-main-color);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__cta-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__intro-text {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__article {
        padding: 25px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__section-title {
        font-size: 2rem;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__sub-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Top section and CTA */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 20px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__hero-content {
        width: 95%;
        padding: 0 15px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__main-title {
        font-size: 2.2rem !important;
        margin-bottom: 10px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__intro-text {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Article content area */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__article-wrap {
        margin: 20px auto;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__article {
        padding: 20px 10px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__section-title {
        font-size: 1.8rem !important;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__sub-title {
        font-size: 1.3rem !important;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88 p,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__list-item {
        font-size: 16px;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__list,
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__ordered-list {
        margin-left: 20px;
    }

    /* General images and figure */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__figure {
        margin: 20px 0;
    }

    /* Buttons and button containers (footer CTA) */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__cta-footer {
        flex-direction: column;
        gap: 10px;
        padding: 20px 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ section */
    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__faq-section {
        padding: 10px 0;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__faq-question {
        font-size: 1.2rem !important;
        padding: 8px 0;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__faq-answer {
        font-size: 15px;
        padding-left: 0;
    }

    .page-blog-cap-nhat-khuyen-mai-moi-nhat-hello88__info-box {
        margin: 20px 0;
        padding: 10px;
    }
}