.page-cau-hoi-thuong-gap {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--background-color, #FFFFFF); /* Fallback to white if var not defined */
}

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #E0F2F7 0%, #FFFFFF 100%); /* Light blue to white gradient */
}

.page-cau-hoi-thuong-gap__hero-content {
    max-width: 800px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.page-cau-hoi-thuong-gap__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-cau-hoi-thuong-gap__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-cau-hoi-thuong-gap__hero-image {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cau-hoi-thuong-gap__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    object-fit: cover; /* Default cover for desktop */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    width: 100%; /* Ensure it fills its container */
}

/* General Container */
.page-cau-hoi-thuong-gap__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Intro Section */
.page-cau-hoi-thuong-gap__intro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-cau-hoi-thuong-gap__section-title {
    font-size: 2.2rem;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cau-hoi-thuong-gap__section-title--light {
    color: #ffffff;
}

.page-cau-hoi-thuong-gap__text-block {
    font-size: 1.05rem;
    color: #555555;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto 20px;
}

.page-cau-hoi-thuong-gap__text-block--light {
    color: #f0f0f0;
}

.page-cau-hoi-thuong-gap__highlight {
    font-weight: 700;
    color: #26A9E0;
}

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

.page-cau-hoi-thuong-gap__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-cau-hoi-thuong-gap__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-cau-hoi-thuong-gap__faq-item summary.page-cau-hoi-thuong-gap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: #333333;
    font-size: 1.1rem;
}
details.page-cau-hoi-thuong-gap__faq-item summary.page-cau-hoi-thuong-gap__faq-question::-webkit-details-marker {
    display: none;
}
details.page-cau-hoi-thuong-gap__faq-item summary.page-cau-hoi-thuong-gap__faq-question:hover {
    background: #f5f5f5;
}
.page-cau-hoi-thuong-gap__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-cau-hoi-thuong-gap__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #26A9E0;
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
}
details.page-cau-hoi-thuong-gap__faq-item .page-cau-hoi-thuong-gap__faq-answer {
    padding: 0 25px 25px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: #555555;
    font-size: 1rem;
}
details.page-cau-hoi-thuong-gap__faq-item .page-cau-hoi-thuong-gap__faq-answer p {
    margin-bottom: 10px;
}
details.page-cau-hoi-thuong-gap__faq-item .page-cau-hoi-thuong-gap__faq-answer p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.page-cau-hoi-thuong-gap__cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, #26A9E0, #3B82F6); /* Gradient for CTA section */
}

.page-cau-hoi-thuong-gap__cta-section .page-cau-hoi-thuong-gap__container {
    padding: 40px;
    border-radius: 12px;
    background: transparent; /* Background already set by section gradient */
    box-shadow: none;
    max-width: 900px;
}

.page-cau-hoi-thuong-gap__cta-section .page-cau-hoi-thuong-gap__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-cau-hoi-thuong-gap__cta-section .page-cau-hoi-thuong-gap__text-block {
    color: #f0f0f0;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Buttons */
.page-cau-hoi-thuong-gap__btn-primary,
.page-cau-hoi-thuong-gap__btn-secondary,
.page-cau-hoi-thuong-gap__btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cau-hoi-thuong-gap__btn-primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border-color: #EA7C07;
}

.page-cau-hoi-thuong-gap__btn-primary:hover {
    background: #d46b06;
    border-color: #d46b06;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-cau-hoi-thuong-gap__btn-secondary {
    background: #26A9E0; /* Main brand color for secondary action */
    color: #ffffff;
    border-color: #26A9E0;
}

.page-cau-hoi-thuong-gap__btn-secondary:hover {
    background: #1e87bb;
    border-color: #1e87bb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-cau-hoi-thuong-gap__btn-primary--light,
.page-cau-hoi-thuong-gap__btn-secondary--light {
    background: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}
.page-cau-hoi-thuong-gap__btn-primary--light:hover,
.page-cau-hoi-thuong-gap__btn-secondary--light:hover {
    background: #f0f0f0;
    color: #1e87bb;
    border-color: #f0f0f0;
}

.page-cau-hoi-thuong-gap__btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
    background: #26A9E0;
    color: #ffffff;
    border-color: #26A9E0;
}

.page-cau-hoi-thuong-gap__btn-small:hover {
    background: #1e87bb;
    border-color: #1e87bb;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-cau-hoi-thuong-gap__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
}

.page-cau-hoi-thuong-gap__link:hover {
    text-decoration: underline;
}

/* Ensure no filter is applied to images */
.page-cau-hoi-thuong-gap img {
    filter: none !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cau-hoi-thuong-gap__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cau-hoi-thuong-gap__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    details.page-cau-hoi-thuong-gap__faq-item summary.page-cau-hoi-thuong-gap__faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }
    .page-cau-hoi-thuong-gap__faq-qtext {
        font-size: 1rem;
    }
    .page-cau-hoi-thuong-gap__faq-toggle {
        font-size: 26px;
        margin-left: 15px;
    }
    details.page-cau-hoi-thuong-gap__faq-item .page-cau-hoi-thuong-gap__faq-answer {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    /* General container and image responsiveness */
    .page-cau-hoi-thuong-gap__container,
    .page-cau-hoi-thuong-gap__intro-section,
    .page-cau-hoi-thuong-gap__faq-section,
    .page-cau-hoi-thuong-gap__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cau-hoi-thuong-gap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* HERO 主图区域 */
    .page-cau-hoi-thuong-gap__hero-section {
        padding-top: 10px; /* Small top padding, not var(--header-offset) */
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cau-hoi-thuong-gap__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural height */
        max-height: 300px; /* Limit height for mobile */
    }
    .page-cau-hoi-thuong-gap__hero-content {
        margin-bottom: 20px;
        padding: 0;
    }
    .page-cau-hoi-thuong-gap__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-cau-hoi-thuong-gap__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cau-hoi-thuong-gap__hero-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%; /* Ensure button container fills width */
    }

    /* General Section Titles and Text */
    .page-cau-hoi-thuong-gap__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-cau-hoi-thuong-gap__text-block {
        font-size: 0.95rem;
        text-align: left; /* Align text left on mobile for better readability */
    }

    /* FAQ Section */
    details.page-cau-hoi-thuong-gap__faq-item summary.page-cau-hoi-thuong-gap__faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    .page-cau-hoi-thuong-gap__faq-qtext {
        font-size: 1rem;
    }
    .page-cau-hoi-thuong-gap__faq-toggle {
        font-size: 24px;
        margin-left: 10px;
        width: 24px;
    }
    details.page-cau-hoi-thuong-gap__faq-item .page-cau-hoi-thuong-gap__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9rem;
    }

    /* CTA Section */
    .page-cau-hoi-thuong-gap__cta-section {
        padding: 50px 0;
    }
    .page-cau-hoi-thuong-gap__cta-section .page-cau-hoi-thuong-gap__container {
        padding: 30px;
    }
    .page-cau-hoi-thuong-gap__cta-section .page-cau-hoi-thuong-gap__text-block {
        margin-bottom: 30px;
    }

    /* Buttons */
    .page-cau-hoi-thuong-gap__btn-primary,
    .page-cau-hoi-thuong-gap__btn-secondary,
    .page-cau-hoi-thuong-gap__btn-small {
        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.95rem;
    }
    .page-cau-hoi-thuong-gap__hero-buttons .page-cau-hoi-thuong-gap__btn-primary,
    .page-cau-hoi-thuong-gap__hero-buttons .page-cau-hoi-thuong-gap__btn-secondary {
        margin: 0 auto; /* Center buttons when stacked */
    }
}