.yd-faqs-list {
    margin: 20px 0;
}

.yd-faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.yd-faq-question {
    cursor: pointer;
    font-weight: 400;
    color: var(--wp--preset--color--text);
    position: relative;
    padding-right: 10%;
}

@media (max-width: 768px) {
    .yd-faq-question {
        font-size: 18px;        
    }
}


.yd-faq-question::after {
    content: '\25BC'; /* Down arrow */
    position: absolute;
    right: 10px;
    transition: transform 0.3s ease;
    right: 10px;
    top: 10px;
}

.yd-faq-question.active::after {
    transform: rotate(180deg); /* Rotate arrow when active */
}

.yd-faq-answer {
    display: none; /* Initially hidden */
    margin-top: 32px;
    color: #333;
    padding-left: 16px;
    padding-right: 10%;
    border-left: 3px solid var(--wp--preset--color--accent);;
    font-size: 18px;
}
