/* style/choi-co-trach-nhiem.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --border-color: #E0E0E0;
    --gradient-button: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

.page-choi-co-trach-nhiem {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-choi-co-trach-nhiem__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--card-bg-color);
}

.page-choi-co-trach-nhiem__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-choi-co-trach-nhiem__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-choi-co-trach-nhiem__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--card-bg-color);
    position: relative;
    z-index: 1;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.page-choi-co-trach-nhiem__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-choi-co-trach-nhiem__description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-choi-co-trach-nhiem__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-choi-co-trach-nhiem__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.page-choi-co-trach-nhiem__btn--primary {
    background: var(--gradient-button);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-choi-co-trach-nhiem__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-choi-co-trach-nhiem__btn--secondary {
    background-color: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-choi-co-trach-nhiem__btn--secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-choi-co-trach-nhiem__section {
    padding: 60px 20px;
    text-align: center;
}

.page-choi-co-trach-nhiem__container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-choi-co-trach-nhiem__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.page-choi-co-trach-nhiem__text-block {
    font-size: 1.05em;
    color: var(--text-main-color);
    margin-bottom: 25px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-choi-co-trach-nhiem__text-block strong {
    color: var(--primary-color);
}

.page-choi-co-trach-nhiem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-choi-co-trach-nhiem__card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border-color);
}

.page-choi-co-trach-nhiem__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.page-choi-co-trach-nhiem__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-choi-co-trach-nhiem__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-choi-co-trach-nhiem__card-text {
    font-size: 1em;
    color: var(--text-main-color);
    line-height: 1.6;
}

.page-choi-co-trach-nhiem__content-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-choi-co-trach-nhiem__dark-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__section-title {
    color: #ffffff;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__text-block {
    color: #f0f0f0;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__btn--secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.page-choi-co-trach-nhiem__dark-section .page-choi-co-trach-nhiem__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
}

.page-choi-co-trach-nhiem__support-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-choi-co-trach-nhiem__support-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on red background */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-choi-co-trach-nhiem__support-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-choi-co-trach-nhiem__support-description {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-choi-co-trach-nhiem__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-choi-co-trach-nhiem__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: left;
}

.page-choi-co-trach-nhiem__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-choi-co-trach-nhiem__faq-question::-webkit-details-marker {
    display: none;
}

.page-choi-co-trach-nhiem__faq-item[open] .page-choi-co-trach-nhiem__faq-question {
    background-color: var(--primary-color);
    color: #ffffff;
    border-bottom-color: var(--primary-color);
}

.page-choi-co-trach-nhiem__faq-item[open] .page-choi-co-trach-nhiem__faq-qtext {
    color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-item[open] .page-choi-co-trach-nhiem__faq-toggle {
    color: #ffffff;
}

.page-choi-co-trach-nhiem__faq-question:hover {
    background-color: #e0e0e0;
}

.page-choi-co-trach-nhiem__faq-item[open] .page-choi-co-trach-nhiem__faq-question:hover {
    background-color: var(--secondary-color);
}

.page-choi-co-trach-nhiem__faq-qtext {
    flex-grow: 1;
    transition: color 0.3s ease;
}

.page-choi-co-trach-nhiem__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.page-choi-co-trach-nhiem__faq-item[open] .page-choi-co-trach-nhiem__faq-toggle {
    transform: rotate(45deg);
}

.page-choi-co-trach-nhiem__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-main-color);
    line-height: 1.7;
    background-color: var(--card-bg-color);
}

.page-choi-co-trach-nhiem__conclusion {
    padding-bottom: 80px;
}

/* --- Responsive Styles --- */

/* General image responsiveness */
.page-choi-co-trach-nhiem img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-choi-co-trach-nhiem__section,
.page-choi-co-trach-nhiem__card,
.page-choi-co-trach-nhiem__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* @media (max-width: 768px) */
@media (max-width: 768px) {
    .page-choi-co-trach-nhiem {
        font-size: 16px;
        line-height: 1.6;
        padding-bottom: 30px;
    }

    /* Hero Section */
    .page-choi-co-trach-nhiem__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
    }

    .page-choi-co-trach-nhiem__hero-image-wrapper {
        max-height: none;
    }

    .page-choi-co-trach-nhiem__hero-image {
        object-fit: contain !important; /* Contain, not cover */
        width: 100% !important;
        height: auto !important;
        aspect-ratio: unset !important; /* Remove aspect ratio if set */
    }

    .page-choi-co-trach-nhiem__hero-content {
        padding: 30px 15px;
    }

    .page-choi-co-trach-nhiem__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-choi-co-trach-nhiem__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* CTA Buttons */
    .page-choi-co-trach-nhiem__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-choi-co-trach-nhiem__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: 1em;
    }

    /* Sections and Containers */
    .page-choi-co-trach-nhiem__section {
        padding: 40px 15px;
    }

    .page-choi-co-trach-nhiem__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-choi-co-trach-nhiem__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-choi-co-trach-nhiem__text-block {
        font-size: 0.95em;
    }

    /* Grid and Cards */
    .page-choi-co-trach-nhiem__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-choi-co-trach-nhiem__card {
        padding: 25px;
    }

    .page-choi-co-trach-nhiem__card-image {
        height: auto;
        min-height: 200px; /* Ensure minimum size */
        object-fit: cover;
    }

    .page-choi-co-trach-nhiem__card-title {
        font-size: 1.3em;
    }

    /* Content Images */
    .page-choi-co-trach-nhiem__content-image {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Support Organizations */
    .page-choi-co-trach-nhiem__support-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-choi-co-trach-nhiem__support-item {
        padding: 20px;
    }

    .page-choi-co-trach-nhiem__support-title {
        font-size: 1.2em;
    }

    /* FAQ */
    .page-choi-co-trach-nhiem__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

    .page-choi-co-trach-nhiem__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
}

/* Ensure all images and their containers are responsive and prevent overflow */
.page-choi-co-trach-nhiem img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-choi-co-trach-nhiem__section,
.page-choi-co-trach-nhiem__card,
.page-choi-co-trach-nhiem__container,
.page-choi-co-trach-nhiem__cta-buttons,
.page-choi-co-trach-nhiem__btn {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page-choi-co-trach-nhiem img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-choi-co-trach-nhiem__section,
    .page-choi-co-trach-nhiem__card,
    .page-choi-co-trach-nhiem__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-choi-co-trach-nhiem__cta-button,
    .page-choi-co-trach-nhiem__btn--primary,
    .page-choi-co-trach-nhiem__btn--secondary,
    .page-choi-co-trach-nhiem a[class*="button"],
    .page-choi-co-trach-nhiem a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-choi-co-trach-nhiem__cta-buttons,
    .page-choi-co-trach-nhiem__button-group,
    .page-choi-co-trach-nhiem__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }
}