/* Structuur — visuele stijl via Elementor controls */

.so-ew-faq-advanced {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.so-ew-faq-advanced__layout {
    display: flex;
    align-items: flex-start;
}

.so-ew-faq-advanced--no-sidebar .so-ew-faq-advanced__layout {
    flex-direction: column;
}

.so-ew-faq-advanced__sidebar {
    min-width: 0;
}

.so-ew-faq-advanced__main {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.so-ew-faq-advanced__results {
    width: 100%;
}

.so-ew-faq-advanced__search-results[hidden],
.so-ew-faq-advanced__item[hidden],
.so-ew-faq-advanced__group[hidden],
.so-ew-faq-advanced__pagination[hidden],
.so-ew-faq-advanced__empty--filter[hidden] {
    display: none;
}

.so-ew-faq-advanced__item.is-hidden,
.so-ew-faq-advanced__group.is-hidden {
    display: none !important;
}

.so-ew-faq-advanced__item.is-locked .so-ew-faq-advanced__lock::before {
    content: "🔒";
}

.so-ew-faq-advanced__search-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.so-ew-faq-advanced__search-wrap--top {
    width: 100%;
}

.so-ew-faq-advanced__search-input {
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
}

.so-ew-faq-advanced__search-input:focus,
.so-ew-faq-advanced__search-input:focus-visible {
    outline: none;
    box-shadow: none;
}

.so-ew-faq-advanced__search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: var(--so-ew-faq-search-clear-size);
    height: var(--so-ew-faq-search-clear-size);
    cursor: pointer;
    background-color: var(--so-ew-faq-search-clear-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.89 4.89a1 1 0 1 0 1.41 1.41L12 13.41l4.89 4.89a1 1 0 0 0 1.41-1.41L13.41 12l4.89-4.89a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.89 4.89a1 1 0 1 0 1.41 1.41L12 13.41l4.89 4.89a1 1 0 0 0 1.41-1.41L13.41 12l4.89-4.89a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.so-ew-faq-advanced__nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    color: inherit;
    font: inherit;
    text-align: left;
}

.so-ew-faq-advanced__nav-toggle-label {
    flex: 1 1 auto;
    min-width: 0;
}

.so-ew-faq-advanced__nav-toggle-icon {
    flex: 0 0 auto;
    width: var(--so-ew-faq-nav-toggle-icon-size);
    height: var(--so-ew-faq-nav-toggle-icon-size);
    border-right: var(--so-ew-faq-nav-toggle-icon-border) solid currentColor;
    border-bottom: var(--so-ew-faq-nav-toggle-icon-border) solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.so-ew-faq-advanced__nav-toggle[aria-expanded="true"] .so-ew-faq-advanced__nav-toggle-icon {
    transform: rotate(-135deg);
}

.so-ew-faq-advanced__nav {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.so-ew-faq-advanced__nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
    box-sizing: border-box;
}

.so-ew-faq-advanced__nav-label {
    flex: 1 1 auto;
    min-width: 0;
}

.so-ew-faq-advanced__nav-count {
    flex: 0 0 auto;
}

.so-ew-faq-advanced--hide-counts .so-ew-faq-advanced__nav-count {
    display: none;
}

.so-ew-faq-advanced__nav-children {
    display: flex;
    flex-direction: column;
}

.so-ew-faq-advanced__group-title {
    margin: 0;
}

.so-ew-faq-advanced__item {
    overflow: hidden;
    box-sizing: border-box;
}

.so-ew-faq-advanced__heading {
    margin: 0;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.so-ew-faq-advanced__question {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    text-align: left;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}

.so-ew-faq-advanced__question-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
}

.so-ew-faq-advanced__icon {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: var(--so-ew-faq-icon-size);
    height: var(--so-ew-faq-icon-size);
    color: var(--so-ew-faq-icon-color);
}

.so-ew-faq-advanced__icon-closed,
.so-ew-faq-advanced__icon-open {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.so-ew-faq-advanced__icon-open {
    opacity: 0;
}

.so-ew-faq-advanced__item.is-open .so-ew-faq-advanced__icon-open {
    opacity: 1;
}

.so-ew-faq-advanced__item.is-open .so-ew-faq-advanced__icon-closed {
    opacity: 0;
}

.so-ew-faq-advanced__icon-svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.so-ew-faq-advanced__answer {
    margin: 0;
}

.so-ew-faq-advanced__answer-inner {
    box-sizing: border-box;
}

.so-ew-faq-advanced__answer-inner > :first-child {
    margin-top: 0;
}

.so-ew-faq-advanced__answer-inner > :last-child {
    margin-bottom: 0;
}

.so-ew-faq-advanced__answer-inner p,
.so-ew-faq-advanced__answer-inner li {
    font-weight: inherit;
}

.so-ew-faq-advanced__empty {
    margin: 0;
}

.so-ew-faq-advanced__editor-note {
    margin: 0;
}

.so-ew-faq-advanced__pagination {
    display: flex;
    flex-wrap: wrap;
}

.so-ew-faq-advanced__page-link {
    display: inline;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.so-ew-faq-advanced__page-ellipsis {
    display: inline;
    color: inherit;
    user-select: none;
}

@media (max-width: 1024px) {
    .so-ew-faq-advanced__layout {
        flex-direction: column;
    }

    .so-ew-faq-advanced__sidebar,
    .so-ew-faq-advanced__main,
    .so-ew-faq-advanced__search-wrap,
    .so-ew-faq-advanced__nav-toggle,
    .so-ew-faq-advanced__nav,
    .so-ew-faq-advanced__results {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-basis: auto;
    }

    .so-ew-faq-advanced__sidebar {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .so-ew-faq-advanced__nav-toggle {
        display: flex;
    }

    .so-ew-faq-advanced__nav {
        display: none;
    }

    .so-ew-faq-advanced__nav.is-open {
        display: flex;
    }
}

@media (min-width: 1025px) {
    .so-ew-faq-advanced__nav-toggle {
        display: none !important;
    }

    .so-ew-faq-advanced__nav {
        display: flex !important;
    }
}
