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

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg-color: #D32F2F;
    --section-bg-color: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --text-light: #ffffff;
    --text-dark: #333333;
}

.page-choi-co-trach-nhiem {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default for light backgrounds */
}

.page-choi-co-trach-nhiem__dark-section {
    background: var(--section-bg-color);
    color: var(--text-light);
}

.page-choi-co-trach-nhiem__light-bg {
    background: #ffffff;
    color: var(--text-dark);
}

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

/* HERO Section */
.page-choi-co-trach-nhiem__hero-section {
    position: relative;
    padding-top: 10px; /* Fixed: small top padding, body handles header offset */
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-choi-co-trach-nhiem__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Adjust as needed for aspect ratio */
    overflow: hidden;
    position: relative;
}

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

.page-choi-co-trach-nhiem__hero-content {
    position: relative; /* Ensure content is below image in normal flow */
    max-width: 800px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-choi-co-trach-nhiem__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-choi-co-trach-nhiem__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-choi-co-trach-nhiem__intro-section, 
.page-choi-co-trach-nhiem__principles-section, 
.page-choi-co-trach-nhiem__tools-section, 
.page-choi-co-trach-nhiem__signs-help-section, 
.page-choi-co-trach-nhiem__commitment-section, 
.page-choi-co-trach-nhiem__tips-section, 
.page-choi-co-trach-nhiem__faq-section, 
.page-choi-co-trach-nhiem__final-cta-section {
    padding: 60px 0;
}

.page-choi-co-trach-nhiem__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-choi-co-trach-nhiem__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Grid for Principles */
.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: var(--card-bg-color);
    color: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-choi-co-trach-nhiem__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-choi-co-trach-nhiem__card-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* List Styling */
.page-choi-co-trach-nhiem__list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-choi-co-trach-nhiem__list-item {
    background: var(--card-bg-color);
    color: var(--text-light);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 40px;
}

.page-choi-co-trach-nhiem__list-item::before {
    content: '✓';
    color: var(--gold-color);
    font-weight: bold;
    position: absolute;
    left: 15px;
    top: 20px;
    font-size: 1.2rem;
}

.page-choi-co-trach-nhiem__list-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gold-color);
}

.page-choi-co-trach-nhiem__list-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Support Resources */
.page-choi-co-trach-nhiem__support-resources {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-choi-co-trach-nhiem__resource-card {
    background: var(--card-bg-color);
    color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-choi-co-trach-nhiem__resource-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-choi-co-trach-nhiem__resource-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Buttons */
.page-choi-co-trach-nhiem__btn-primary,
.page-choi-co-trach-nhiem__btn-secondary,
.page-choi-co-trach-nhiem__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.page-choi-co-trach-nhiem__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-choi-co-trach-nhiem__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-choi-co-trach-nhiem__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-red-color);
    transform: translateY(-2px);
}

.page-choi-co-trach-nhiem__btn-link {
    background: var(--deep-red-color);
    color: var(--text-light);
    padding: 8px 15px;
    font-size: 0.9rem;
    border: 1px solid var(--deep-red-color);
}

.page-choi-co-trach-nhiem__btn-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.page-choi-co-trach-nhiem__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-choi-co-trach-nhiem__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* FAQ Section */
.page-choi-co-trach-nhiem__faq-list {
    margin-top: 30px;
}

.page-choi-co-trach-nhiem__faq-item {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-choi-co-trach-nhiem__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.page-choi-co-trach-nhiem__faq-question::marker, /* Hide default marker for details */
.page-choi-co-trach-nhiem__faq-question::-webkit-details-marker {
    display: none;
}

.page-choi-co-trach-nhiem__faq-qtext {
    flex-grow: 1;
}

.page-choi-co-trach-nhiem__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--secondary-color);
}

.page-choi-co-trach-nhiem__faq-item[open] .page-choi-co-trach-nhiem__faq-toggle {
    content: '−';
}

.page-choi-co-trach-nhiem__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--text-dark);
    background: #f8f8f8;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-choi-co-trach-nhiem__container {
        padding: 0 15px;
    }

    .page-choi-co-trach-nhiem__main-title {
        font-size: 2.8rem;
    }

    .page-choi-co-trach-nhiem__subtitle {
        font-size: 1.1rem;
    }

    .page-choi-co-trach-nhiem__hero-image-wrapper {
        height: 500px;
    }

    .page-choi-co-trach-nhiem__resource-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-choi-co-trach-nhiem__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }

    .page-choi-co-trach-nhiem__hero-image-wrapper {
        height: 300px !important;
    }

    .page-choi-co-trach-nhiem__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-choi-co-trach-nhiem__hero-content {
        margin-top: 20px;
        padding: 15px;
    }

    .page-choi-co-trach-nhiem__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

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

    /* Intro Section */
    .page-choi-co-trach-nhiem__intro-section {
        padding: 30px 0;
    }

    .page-choi-co-trach-nhiem__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 25px;
    }

    .page-choi-co-trach-nhiem__text-block {
        font-size: 1rem;
    }

    /* Grid for Principles */
    .page-choi-co-trach-nhiem__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-choi-co-trach-nhiem__card-image {
        height: 200px;
    }

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

    /* List Styling */
    .page-choi-co-trach-nhiem__list-item {
        padding: 15px 20px 15px 35px;
        margin-bottom: 10px;
    }

    .page-choi-co-trach-nhiem__list-item::before {
        left: 10px;
        top: 15px;
        font-size: 1rem;
    }

    .page-choi-co-trach-nhiem__list-title {
        font-size: 1.2rem;
    }

    .page-choi-co-trach-nhiem__list-text {
        font-size: 0.95rem;
    }

    /* Support Resources */
    .page-choi-co-trach-nhiem__support-resources {
        flex-direction: column;
        align-items: center;
    }

    .page-choi-co-trach-nhiem__resource-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px;
    }

    /* Buttons and CTA */
    .page-choi-co-trach-nhiem__btn-primary,
    .page-choi-co-trach-nhiem__btn-secondary,
    .page-choi-co-trach-nhiem__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 10px 15px;
        font-size: 1rem;
    }

    .page-choi-co-trach-nhiem__cta-wrapper,
    .page-choi-co-trach-nhiem__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-choi-co-trach-nhiem__faq-toggle {
        font-size: 1.3rem;
    }

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

    /* General Images and Containers */
    .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;
    }
}

@media (max-width: 549px) {
    .page-choi-co-trach-nhiem__resource-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}