.faq-card {
    display: flex;
    flex-direction: column;
    background-color: #232323;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s ease;
}

.faq-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row; /* Flex layout as per description */
}

.faq-card__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    margin: 0;
    color: #e6e6e6;
    flex: 1; /* Title takes available space */
}

.faq-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.faq-card.active .faq-card__icon {
    transform: rotate(180deg);
}

.faq-card__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, margin-top 0.2s ease;
    font-size: 16px;
    color: #a4a4a4;
    line-height: 19px;
    margin-top: 0;
}

.faq-card.active .faq-card__answer {
    max-height: 1000px; /* Large enough for content */
    margin-top: 16px;
}

/* RTL Support as the website building page is Arabic */
[dir="rtl"] .faq-card__header {
    flex-direction: row-reverse;
}
