/* style/ban-ca-bi-quyet-san-thuong.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-login-register: #FFFF00;
    --background-color-default: #FFFFFF;
}

.page-ban-ca-bi-quyet-san-thuong {
    font-family: Arial, sans-serif;
    color: var(--text-color-dark); /* Default text color for light background */
    line-height: 1.6;
    background-color: var(--background-color-default);
}

.page-ban-ca-bi-quyet-san-thuong__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-ban-ca-bi-quyet-san-thuong__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, darken(var(--primary-color), 10%) 100%);
    color: var(--text-color-light);
    text-align: center;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ban-ca-bi-quyet-san-thuong__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-ban-ca-bi-quyet-san-thuong__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-ban-ca-bi-quyet-san-thuong__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.page-ban-ca-bi-quyet-san-thuong__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

.page-ban-ca-bi-quyet-san-thuong__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-ban-ca-bi-quyet-san-thuong__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-ban-ca-bi-quyet-san-thuong__btn--primary {
    background-color: var(--button-register);
    color: var(--font-login-register);
    border: 2px solid var(--button-register);
}

.page-ban-ca-bi-quyet-san-thuong__btn--primary:hover {
    background-color: darken(var(--button-register), 10%);
    transform: translateY(-2px);
}

.page-ban-ca-bi-quyet-san-thuong__btn--secondary {
    background-color: transparent;
    color: var(--font-login-register);
    border: 2px solid var(--font-login-register);
}

.page-ban-ca-bi-quyet-san-thuong__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-ban-ca-bi-quyet-san-thuong__section {
    padding: 60px 0;
}

.page-ban-ca-bi-quyet-san-thuong__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-ban-ca-bi-quyet-san-thuong__advantages-section {
    background-color: #f9f9f9;
}

.page-ban-ca-bi-quyet-san-thuong__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

.page-ban-ca-bi-quyet-san-thuong__list li {
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.page-ban-ca-bi-quyet-san-thuong__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-ban-ca-bi-quyet-san-thuong__strategy-guide .page-ban-ca-bi-quyet-san-thuong__section-title,
.page-ban-ca-bi-quyet-san-thuong__common-mistakes .page-ban-ca-bi-quyet-san-thuong__section-title,
.page-ban-ca-bi-quyet-san-thuong__faq-section .page-ban-ca-bi-quyet-san-thuong__section-title,
.page-ban-ca-bi-quyet-san-thuong__conclusion-section .page-ban-ca-bi-quyet-san-thuong__section-title {
    color: var(--primary-color);
}

.page-ban-ca-bi-quyet-san-thuong__article-item {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.page-ban-ca-bi-quyet-san-thuong__article-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-ban-ca-bi-quyet-san-thuong__article-subtitle {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-ban-ca-bi-quyet-san-thuong__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 680px;
}

.page-ban-ca-bi-quyet-san-thuong__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-ban-ca-bi-quyet-san-thuong__figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.page-ban-ca-bi-quyet-san-thuong__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-ban-ca-bi-quyet-san-thuong__faq-question {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-ban-ca-bi-quyet-san-thuong__faq-answer {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 0;
}

.page-ban-ca-bi-quyet-san-thuong__conclusion-section {
    background-color: #f9f9f9;
    text-align: center;
}

.page-ban-ca-bi-quyet-san-thuong__conclusion-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-ban-ca-bi-quyet-san-thuong__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-ban-ca-bi-quyet-san-thuong__section {
        padding: 40px 0;
    }
    .page-ban-ca-bi-quyet-san-thuong__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-ban-ca-bi-quyet-san-thuong__article-subtitle {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-ban-ca-bi-quyet-san-thuong {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Top Section / Hero Section */
    .page-ban-ca-bi-quyet-san-thuong__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }
    .page-ban-ca-bi-quyet-san-thuong__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 15px;
    }
    .page-ban-ca-bi-quyet-san-thuong__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-ban-ca-bi-quyet-san-thuong__hero-image {
        margin-bottom: 15px;
        border-radius: 5px;
    }
    .page-ban-ca-bi-quyet-san-thuong__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
        padding: 0 15px;
    }
    .page-ban-ca-bi-quyet-san-thuong__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    /* Single Column Long Text Container */
    .page-ban-ca-bi-quyet-san-thuong__container,
    .page-ban-ca-bi-quyet-san-thuong__article-wrap {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-ban-ca-bi-quyet-san-thuong__section {
        padding: 30px 0;
    }
    .page-ban-ca-bi-quyet-san-thuong__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-ban-ca-bi-quyet-san-thuong__article-subtitle {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    .page-ban-ca-bi-quyet-san-thuong__list {
        margin-left: 20px;
    }

    /* General Images and Figure */
    .page-ban-ca-bi-quyet-san-thuong img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        border-radius: 5px;
    }
    .page-ban-ca-bi-quyet-san-thuong__figure {
        margin: 20px auto;
    }
    .page-ban-ca-bi-quyet-san-thuong__figcaption {
        font-size: 0.85em;
    }

    /* Buttons and Button Containers (already covered by .page-ban-ca-bi-quyet-san-thuong__btn and __cta-buttons) */
    .page-ban-ca-bi-quyet-san-thuong__cta-center {
        margin-top: 30px;
    }
    .page-ban-ca-bi-quyet-san-thuong__cta-center .page-ban-ca-bi-quyet-san-thuong__btn {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Block (static h3/p) */
    .page-ban-ca-bi-quyet-san-thuong__faq-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    .page-ban-ca-bi-quyet-san-thuong__faq-question {
        font-size: 1.2em;
        margin-bottom: 5px;
    }
    .page-ban-ca-bi-quyet-san-thuong__faq-answer {
        font-size: 0.95em;
    }

    /* Conclusion Section */
    .page-ban-ca-bi-quyet-san-thuong__conclusion-section p {
        font-size: 1em;
        margin-bottom: 20px;
    }
}