/* style/cau-hoi-thuong-gap.css */
.page-cau-hoi-thuong-gap {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
}

.page-cau-hoi-thuong-gap__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: #FFFFFF;
}

.page-cau-hoi-thuong-gap__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 0;
}

.page-cau-hoi-thuong-gap__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-cau-hoi-thuong-gap__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for H1 font-size */
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-cau-hoi-thuong-gap__hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-cau-hoi-thuong-gap__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* CTA Buttons */
.page-cau-hoi-thuong-gap__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cau-hoi-thuong-gap__btn-primary,
.page-cau-hoi-thuong-gap__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cau-hoi-thuong-gap__btn-primary {
    background: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

.page-cau-hoi-thuong-gap__btn-secondary {
    background: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cau-hoi-thuong-gap__btn-secondary:hover {
    background: #e0f2f7;
    color: #26A9E0;
}

/* FAQ Section */
.page-cau-hoi-thuong-gap__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333;
}

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

.page-cau-hoi-thuong-gap__section-description {
    font-size: 1.05em;
    color: #555555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cau-hoi-thuong-gap__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cau-hoi-thuong-gap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-cau-hoi-thuong-gap__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-cau-hoi-thuong-gap__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    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);
}

.page-cau-hoi-thuong-gap__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #eee;
}

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

.page-cau-hoi-thuong-gap__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

.page-cau-hoi-thuong-gap__link-more {
    display: inline-block;
    margin-top: 10px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-cau-hoi-thuong-gap__link-more:hover {
    text-decoration: underline;
    color: #1e87b3;
}

/* CTA Bottom Section */
.page-cau-hoi-thuong-gap__cta-bottom-section {
    background-color: #26A9E0;
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-cau-hoi-thuong-gap__cta-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cau-hoi-thuong-gap__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-cau-hoi-thuong-gap {
        font-size: 15px;
        line-height: 1.5;
    }

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

    /* HERO Section */
    .page-cau-hoi-thuong-gap__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

    .page-cau-hoi-thuong-gap__hero-container {
        flex-direction: column;
        padding: 40px 0;
        gap: 30px;
    }

    .page-cau-hoi-thuong-gap__hero-content {
        text-align: center;
    }

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

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

    .page-cau-hoi-thuong-gap__hero-side-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* CTA Buttons */
    .page-cau-hoi-thuong-gap__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cau-hoi-thuong-gap__btn-primary,
    .page-cau-hoi-thuong-gap__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

    .page-cau-hoi-thuong-gap__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-cau-hoi-thuong-gap__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-cau-hoi-thuong-gap__faq-answer {
        padding: 0 20px 15px 20px;
    }

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

    /* CTA Bottom Section */
    .page-cau-hoi-thuong-gap__cta-bottom-section {
        padding: 60px 0;
    }

    .page-cau-hoi-thuong-gap__cta-title {
        font-size: 2em;
    }

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

    /* All content images */
    .page-cau-hoi-thuong-gap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* All containers */
    .page-cau-hoi-thuong-gap__section,
    .page-cau-hoi-thuong-gap__card,
    .page-cau-hoi-thuong-gap__container,
    .page-cau-hoi-thuong-gap__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}