.faq-section {
    font-family: 'Inter', sans-serif;
    width: 100%;
    margin: 10px auto;
    padding: 10px 0px;
    box-sizing: border-box;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.faq-title {
    margin: 0;
    font-size: 120%;
    font-weight: bold;
}

.faq-ask-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    border: 1px solid rgb(246 246 246);
    transition: all 0.2s ease;
}

.faq-ask-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}



.faq-ask-btn svg {
    margin-right: 6px;
}

.faq-accordion {
    font-size: 99%;
}

.faq-item {
    border-bottom: 1px solid rgb(246 246 246);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1em;
    /* Kế thừa 80% từ cha */
    font-weight: 500;
    cursor: pointer;
    color: inherit;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    /* Xóa hiệu ứng bóng khi click trên mobile */
}

.faq-trigger svg {
    width: 16px;
    height: 16px;
    color: #e4e4e4;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    /* Chống co giãn icon khi chữ dài */
    margin-left: 10px;
    /* Khoảng cách an toàn với chữ */
}

.faq-item[data-state='open'] .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.faq-item[data-state='open'] .faq-content {
    grid-template-rows: 1fr;
}

.faq-content-inner {
    min-height: 0;
}

.faq-item[data-state='open'] .faq-content-inner {
    padding-bottom: 16px;
}

.faq-content p {
    margin: 0;
    font-size: 1em;
    /* Kế thừa 80% từ cha */
    line-height: 1.6;
    color: #71717a;
}

.faq-content a {
    color: #4353ff;
    text-decoration: underline;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    /* Xóa hiệu ứng bóng khi click trên mobile */
}

.faq-content a:hover {
    color: #054fcb;
    /* Đậm hơn một chút khi hover */
}

.faq-content a:visited,
.faq-content a:active,
.faq-content a:focus {
    color: #4353ff;
}

@media (max-width: 640px) {
    .faq-title {
        font-size: 20px;
    }
}