/**
 * FAQ Widget Styles
 */

.faq-widget-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 30px 0 rgba(43, 27, 18, 0.12);
}

.faq-item {
    border-bottom: 1px solid #E5E5E5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 44px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    transition: color 0.3s ease;
}

.faq-item-header:hover {
    color: #E97B2C;
}

.faq-item.active .faq-item-header {
    color: #E97B2C;
}

.faq-item-question {
    flex: 1;
    padding-right: 15px;
    color: #D97122;
    leading-trim: both;
    text-edge: cap;
    font-family: Mulish;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    padding: 0;
    margin: 0;
}
.faq-item.active .faq-item-question {
    color: #D97122;
}
.faq-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 14.569px;
    height: 26.666px;
}

.faq-item-icon svg {
    color: #000000 !important;
    transition: transform 0.3s ease, color 0.3s ease;
    width: 14.559px !important;
    height: 26.647px !important;
}

.faq-item.active .faq-item-icon svg {
    color: #E97B2C !important;
    transform: rotate(180deg);
}

.faq-item-body {
    display: none;
    padding-bottom: 20px;
    overflow: hidden;
}

.faq-item.active .faq-item-body {
    display: block;
}

.faq-item-content {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.faq-item-content p {
    margin: 0 0 10px 0;
}

.faq-item-content p:last-child {
    margin-bottom: 0;
}

.faq-item-link {
    margin-top: 15px;
}

.faq-item-link a {
    color: #D97122;
    leading-trim: both;
    text-edge: cap;
    font-family: Mulish;
    font-size: 17.567px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.faq-item-link a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-widget-container {
        padding: 20px;
    }

    .faq-item-header {
        padding: 15px 0 !important;
        font-size: 15px;
    }

    .faq-item-content {
        font-size: 13px;
    }
}

/* Animation for smooth accordion */
.faq-item-body {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
