.container-qa .mds {
    padding: 25px 10px 10px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

.container-qa .divider {
    width: 65px;
    height: 10px;
    margin: 0 auto 30px;
    background: #fcdb00;
}

.lawyer-container-qa {
    width: 100%;
    position: relative;
    background-color: #FFFFFF;
}

.background-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background-color: #FFF9FC;
    z-index: 0;
}

.container-qa {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
    z-index: 1;
}

h2.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #410226;
    margin-bottom: 40px;
    position: relative;
}

.content-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* Changed from 45% to 100% since grid handles the width */
    min-width: unset;
    /* Remove min-width as grid handles responsiveness */
    padding: 30px;
    /* padding-right: 20px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 1100px;
    position: relative;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.profile-top {
    display: flex;
    align-items: center;
    width: 100%;
}

.profile-icon {
    width: 80px;
    height: 80px;
    /* background-color: #ffd700; */
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    /* background-image: url('/tsuma-new/images/logo-lawyer.png'); */
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-info {
    text-align: left;
    line-height: 1.5;
}

.profile-info .name {
    font-weight: bold;
    font-size: 32px;
    margin: 0;
    color: #000000;
}

.profile-info .firm {
    color: #000000;
    font-size: 20px;
    margin: 5px 0;
}

.date {
    color: #000000;
    font-size: 20px;
    text-align: left;
    /* border-bottom: 1px solid #eee; */
    /* padding: 25px 0; */
    margin: 8px auto 0 auto;
}

.qa-sections-wrapper {
    width: 100%;
    max-height: 1040px;
    overflow-y: auto;
    flex-grow: 1;
    margin-bottom: 50px;
    padding-right: 15px;
    margin-right: -15px;
}

.qa-section {
    width: 100%;
    /* margin-bottom: 20px; */
    margin-bottom: 20px;
}

/* Webkit browsers (Chrome, Safari) */
.qa-sections-wrapper::-webkit-scrollbar {
    width: 1px;
    /* margin-left: 15px;s */
}

.qa-sections-wrapper::-webkit-scrollbar-track {
    background: rgb(243, 242, 242);
    border-radius: 2px;
}

.qa-sections-wrapper::-webkit-scrollbar-thumb {
    /* background: #EC008C; */
    border-radius: 2px;
}

/* Firefox */
.qa-sections-wrapper {
    scrollbar-width: thin;
}

.qa-item {
    /* border: 1px solid #ddd;
    border-radius: 8px; */
    margin-top: 16px;
    overflow: hidden;
    /* To hide the answer when it's collapsed */
}

.qa-item .question {
    /* background-color: #f9f9f9; */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: self-start;
    cursor: pointer;
    font-weight: bold;
    color: #000000;
    border: 1px solid #EDEDED;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.qa-item .question.active {
    background-color: #FAD9B0;
    border: none;
}

.qa-item .question.active p {
    color: #1C1C1C;
}

.qa-item .question p {
    margin: 0;
    flex-grow: 1;
    text-align: left;
    font-size: 20px;
    /* color: #EC008C; */
    font-weight: 700;
    line-height: 1.5;
}

.qa-item .arrow {
    font-size: 1.2em;
    font-weight: bold;
    color: #4CAF50;
    margin-left: 10px;
}

.qa-item .answer {
    /* padding: 15px 0; */
    text-align: left;
    color: #777;
    line-height: 1.6;
    background-color: #fff;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 500px;
    /* Arbitrary large value */
    opacity: 1;
    margin-top: 16px;
    display: block;
}

.qa-item .answer p {
    margin: 16px 0 0 0;
}

.qa-item .answer.hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    display: none;
}

.view-more {
    margin-top: auto;
    cursor: pointer;
    color: #EC008C;
    font-weight: bold;
    font-size: 1.1em;
    margin-left: auto;
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.footer-navigation_main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-navigation_main p {
    font-size: 32px;
    color: #FFFFFF;
    margin: 0;
}

.footer-navigation_main button {
    background-color: #410226;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.footer-navigation_main button:hover {
    background-color: #410226;
}

.answer p {
    font-size: 20px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 150%;
}

.lawyer-container-qa {
    width: 100%;
}

.view-more a {
    text-decoration: none;
    color: #00609E;
}

/* FAQ Section */
.faq-section {
    padding: 0 0 50px 0;
    background-color: #FAFAFA;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    /* background-color: #fff; */
    /* border: 1px solid #eee; */
    /* margin-bottom: 15px; */
    padding: 20px;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item:first-child {
    border-bottom: 1px solid #F4F4F4;
}

.faq-question {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.q-icon {
    background-color: #e91e63;
    /* Màu hồng */
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1em;
}

.faq-question p {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    color: #101828;
}

.faq-toggle {
    font-size: 1.8em;
    color: #e91e63;
    /* Màu hồng */
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.faq-answer {
    display: flex;
    align-items: center;
}

.a-icon {
    background-color: #410226;
    /* Màu tím */
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1em;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 1em;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        /* Stack cards vertically on smaller screens */
        max-width: 600px;
        /* Limit maximum width */
        margin: 0 auto 40px auto;
        /* Center the content */
    }

    .faq-question p {
        width: 330px;
    }

    .faq-answer p {
        width: 330px;
    }

    .faq-section {
        padding: 0;
    }

    h2.section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .card {
        max-width: none;
        /* Remove max-width constraint */
    }

    .container-qa {
        padding: 30px 15px;
    }

    h2.section-title {
        font-size: 24px;
        margin-bottom: 25px;
        line-height: 150%;
    }

    .card {
        padding: 20px;
        max-height: unset;
        position: relative;
    }

    .qa-sections-wrapper {
        /* max-height: 600px; */
        overflow-y: auto;
    }

    .card .qa-section .qa-item:nth-child(n+4) {
        display: none;
    }

    .profile-icon {
        width: 50px;
        height: 50px;
    }

    .profile-info .name {
        font-size: 1em;
    }

    .profile-info .firm,
    .profile-info .date {
        font-size: 0.8em;
    }

    .qa-item .question,
    .qa-item .answer {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .footer-navigation {
        /* flex-direction: column; */
        gap: 15px;
    }

    .youtube-button-link {
        padding: 30px 20px;
        min-width: auto;
    }
}


/* Expert Insights */

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pagination-link:hover {
    background-color: #f5f5f5;
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pagination-current-qa {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background-color: #EE8300 !important;
    color: white !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(238, 131, 0, 0.3);
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
}

.pagination-link svg {
    width: 16px;
    height: 20px;
}

.pagination-first,
.pagination-last {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination-first:hover,
.pagination-last:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

@media (max-width: 600px) {
    .pagination {
        gap: 4px;
    }

    .pagination-link,
    .pagination-current-qa,
    .pagination-ellipsis {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pagination-link svg {
        width: 22px;
        height: 22px;
    }
}

/* Expert Insights Detail */

