.page-cau-hoi-thuong-gap {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though shared might define body */
}

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has --header-offset */
    padding-bottom: 40px;
    background-color: #f5f5f5; /* Light background for the section */
    overflow: hidden;
}

.page-cau-hoi-thuong-gap__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Adjust as needed */
    overflow: hidden;
}

.page-cau-hoi-thuong-gap__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cau-hoi-thuong-gap__hero-content {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 0 20px;
    text-align: center;
}

.page-cau-hoi-thuong-gap__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #017439; /* Brand color for main title */
    margin-bottom: 15px;
}

.page-cau-hoi-thuong-gap__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555555;
}

/* FAQ Section */
.page-cau-hoi-thuong-gap__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-cau-hoi-thuong-gap__container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cau-hoi-thuong-gap__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
}

.page-cau-hoi-thuong-gap__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-cau-hoi-thuong-gap__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-cau-hoi-thuong-gap__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cau-hoi-thuong-gap__faq-item[open] {
    background-color: #e6f7ed; /* Lighter green background when open */
    border-color: #017439;
}

.page-cau-hoi-thuong-gap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #017439; /* Question text color */
    cursor: pointer;
    list-style: none; /* Hide default details marker */
}

.page-cau-hoi-thuong-gap__faq-question::-webkit-details-marker {
    display: none; /* Hide default details marker for webkit browsers */
}

.page-cau-hoi-thuong-gap__faq-qtext {
    flex-grow: 1;
}

.page-cau-hoi-thuong-gap__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-cau-hoi-thuong-gap__faq-item[open] .page-cau-hoi-thuong-gap__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-cau-hoi-thuong-gap__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    animation: fadein 0.3s ease-in-out;
}

.page-cau-hoi-thuong-gap__faq-answer p {
    margin-bottom: 15px;
}

.page-cau-hoi-thuong-gap__faq-link {
    color: #017439;
    text-decoration: underline;
    font-weight: 500;
}

.page-cau-hoi-thuong-gap__faq-link:hover {
    color: #005f2c;
}

/* Call to Action Section */
.page-cau-hoi-thuong-gap__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-cau-hoi-thuong-gap__dark-section {
    background-color: #017439; /* Primary brand color as background */
    color: #ffffff; /* White text for dark background */
}

.page-cau-hoi-thuong-gap__cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-cau-hoi-thuong-gap__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-cau-hoi-thuong-gap__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-cau-hoi-thuong-gap__btn-primary,
.page-cau-hoi-thuong-gap__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-cau-hoi-thuong-gap__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-cau-hoi-thuong-gap__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #fff;
}

.page-cau-hoi-thuong-gap__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand color for text */
    border: 2px solid #017439;
}

.page-cau-hoi-thuong-gap__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

/* General image responsive styles */
.page-cau-hoi-thuong-gap img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Animation for FAQ answer */
@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-cau-hoi-thuong-gap__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-cau-hoi-thuong-gap__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-cau-hoi-thuong-gap__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-cau-hoi-thuong-gap__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* FAQ Section */
    .page-cau-hoi-thuong-gap__faq-section {
        padding: 40px 0;
    }

    .page-cau-hoi-thuong-gap__container {
        padding: 0 15px;
    }

    .page-cau-hoi-thuong-gap__section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-cau-hoi-thuong-gap__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-cau-hoi-thuong-gap__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-cau-hoi-thuong-gap__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95rem;
    }

    /* Call to Action Section */
    .page-cau-hoi-thuong-gap__cta-section {
        padding: 50px 0;
    }

    .page-cau-hoi-thuong-gap__cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-cau-hoi-thuong-gap__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-cau-hoi-thuong-gap__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Add padding to the container */
    }

    /* 按钮与按钮容器 */
    .page-cau-hoi-thuong-gap__btn-primary,
    .page-cau-hoi-thuong-gap__btn-secondary,
    .page-cau-hoi-thuong-gap a[class*="button"],
    .page-cau-hoi-thuong-gap 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-cau-hoi-thuong-gap__cta-buttons,
    .page-cau-hoi-thuong-gap__button-group,
    .page-cau-hoi-thuong-gap__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Ensure wrapping if not column */
    }

    /* 通用图片与容器 */
    .page-cau-hoi-thuong-gap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cau-hoi-thuong-gap__section,
    .page-cau-hoi-thuong-gap__card,
    .page-cau-hoi-thuong-gap__container,
    .page-cau-hoi-thuong-gap__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}