.faq-layout {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.faq-sidebar {
    border-right: 1px solid #eee;
    padding-right: 1.5rem;
    margin-bottom: 2rem;
}

.faq-search,
.faq-sidebar-item {
    box-sizing: border-box;
}
.faq-sidebar .material-symbols-outlined.faq-section-icon {
    font-size: 20px !important;
}
.faq-sidebar-inner {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

.faq-sidebar-title {
    color: #090909;
    font-size: 18px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 1rem;
}

.faq-search {
    width: 100%;
    padding: 8px;
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #9E9E9D;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.faq-search-icon {
    font-size: 18px;
    color: #090909;
    flex-shrink: 0;
}

.faq-search-input {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    width: 100%;
    color: #484847;
    font-size: 12px;
    font-family: "Nunito Sans", sans-serif;
    font-style: italic;
    font-weight: 400;
    line-height: 16px;
    padding: 0;
}

.faq-search-input::placeholder {
    color: #484847;
    font-size: 12px;
    font-family: "Nunito Sans", sans-serif;
    font-style: italic;
}

.faq-search-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.input-group .segittur-btn {
    border: 1px solid #9E9E9D !important;
}

.input-group .segittur-btn i {
    color: #090909;
    font-size: 14px;
}

.faq-sidebar-section {
    margin-bottom: 0.75rem;
}

.faq-section-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 6px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-section-title {
    color: #090909;
    font-size: 14px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
}

.faq-section-icon {
    font-size: 18px;
    color: #090909;
    transition: transform 0.2s ease;
	transform: rotate(-180deg);
}

.faq-sidebar-section.is-collapsed .faq-section-icon {
    transform: rotate(0deg);
}

.faq-sidebar-section.is-collapsed .faq-sidebar-list {
    display: none;
}

.faq-sidebar-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.faq-sidebar-list-item {
    margin-bottom: 4px;
}

.faq-sidebar-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    border-radius: 0;
    color: #484847;
    font-size: 12px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: 16px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.faq-sidebar-item-icon {
    font-size: 16px;
    line-height: 16px;
    color: #9E9E9D;
    flex-shrink: 0;
}

.faq-sidebar-item-text {
    display: block;
}

.faq-sidebar-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    bottom: -1px;
    width: 3px;
    border-radius: 2px;
    background-color: transparent;
}

.faq-sidebar-item.is-active {
    background: #FFF3F8;
    color: #CE0E71;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(206, 14, 113, 0.12);
}

.faq-sidebar-item.is-active::before {
    background-color: #CE0E71;
}

.faq-sidebar-item.is-active .faq-sidebar-item-icon {
    color: #CE0E71;
}

@media (hover: hover) {
    .faq-sidebar-item:hover {
        background: #f5f5f5;
    }
}

.faq-content-wrapper {
    padding-left: 1.5rem;
}

.faq-content {
    max-width: 820px;
}

.faq-content-section-title {
    color: #000000;
    font-size: 24px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 1.7rem;
}

.faq-content-question {
    color: #000000;
    font-size: 18px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0.5rem;
}

.faq-content-answer {
    color: #000000;
    font-size: 14px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.faq-content-answer p {
    margin-bottom: 0.75rem;
}

.faq-content-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E1E1E0;
}

@media (min-width: 768px) {
    .faq-content-item {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 767.98px) {
    .faq-content-item {
        scroll-margin-top: 80px;
    }
}

.faq-content-item--highlight {
    animation: faqHighlight 1s ease-out;
}

@keyframes faqHighlight {
    0% {
        background-color: #FFF3F8;
    }
    100% {
        background-color: transparent;
    }
}

@media (max-width: 991.98px) {
    .faq-sidebar {
        padding-right: 1rem;
        margin-bottom: 1.5rem;
    }

    .faq-content-wrapper {
        padding-left: 1rem;
    }

    .faq-sidebar-inner {
        top: 80px;
        max-height: calc(100vh - 100px);
    }

    .faq-sidebar-title {
        font-size: 16px;
        line-height: 22px;
    }

    .faq-content-section-title {
        font-size: 22px;
        line-height: 30px;
    }

    .faq-content-question {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (max-width: 767.98px) {
    .faq-sidebar {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .faq-sidebar-inner {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .faq-content-wrapper {
        padding-left: 0;
    }

    .faq-layout {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .faq-sidebar-title {
        font-size: 16px;
        line-height: 22px;
    }

    .faq-section-title {
        font-size: 13px;
        line-height: 18px;
    }

    .faq-sidebar-item {
        padding: 6px 8px 6px 12px;
        font-size: 12px;
        line-height: 16px;
    }

    .faq-content-section-title {
        font-size: 20px;
        line-height: 28px;
    }

    .faq-content-question {
        font-size: 16px;
        line-height: 22px;
    }

    .faq-content-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}
