.pixelle-faq {
    border-top: 0;
    max-width: 100%;
    min-width: 0;
}

.pixelle-faq > .pixelle-faq__title {
    margin: 0 0 0.55rem;
    padding: 0;
    font-size: var(--text-s);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.pixelle-faq__item {
    border-top: 1px solid currentColor;
    max-width: 100%;
    min-width: 0;
}

.pixelle-faq__item:last-child {
    border-bottom: 1px solid currentColor;
}

.pixelle-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 1.35rem 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
    cursor: pointer;
    transition: color 0.35s ease;
}

.pixelle-faq__q:hover,
.pixelle-faq__q:focus-visible {
    color: var(--light-green, #8ec581);
}

.pixelle-faq__q:focus-visible {
    outline: 2px solid var(--light-green, #8ec581);
    outline-offset: 4px;
}

.pixelle-faq__q-text {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
}

.pixelle-faq__icon {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    background-color: currentColor;
    -webkit-mask: url("../svg/arrow-ne.svg") no-repeat center / contain;
    mask: url("../svg/arrow-ne.svg") no-repeat center / contain;
    transform: rotate(135deg);
    transform-origin: 50% 50%;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.32, 1), color 0.35s ease;
    pointer-events: none;
}

.pixelle-faq__q:hover .pixelle-faq__icon,
.pixelle-faq__q:focus-visible .pixelle-faq__icon {
    transform: rotate(135deg) scale(1.12);
}

.pixelle-faq__item.is-open .pixelle-faq__icon,
.pixelle-faq__item.is-open .pixelle-faq__q:hover .pixelle-faq__icon,
.pixelle-faq__item.is-open .pixelle-faq__q:focus-visible .pixelle-faq__icon {
    transform: rotate(-45deg);
}

.pixelle-faq__item.is-open .pixelle-faq__q:hover .pixelle-faq__icon,
.pixelle-faq__item.is-open .pixelle-faq__q:focus-visible .pixelle-faq__icon {
    transform: rotate(-45deg) scale(1.12);
}

.pixelle-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.25, 0.46, 0.32, 1);
}

.pixelle-faq__item.is-open .pixelle-faq__a {
    grid-template-rows: 1fr;
}

.pixelle-faq__a-inner {
    overflow: hidden;
    min-height: 0;
}

.pixelle-faq__a-inner p {
    margin: 0 0 0.8em;
    max-width: min(65ch, 100%);
    font-size: var(--text-l);
    line-height: var(--line-height-text, 1.55);
    font-weight: 400;
}

.pixelle-faq__a-inner p:last-child {
    margin-bottom: 1.5rem;
}

@media (max-width: 781px) {
    .pixelle-faq__q {
        gap: 0.85rem;
        padding: 1.15rem 0;
        font-size: 1.2rem;
    }
}

/* Bricks-containers zijn 90vw, in een section mét gutters.
   Op mobile eet dat de rechtermarge op. FAQ blijft binnen de padding. */
.brxe-section:has(.pixelle-faq) {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.brxe-section:has(.pixelle-faq) > .brxe-container,
.brxe-section:has(.pixelle-faq) .brxe-shortcode {
    width: 100%;
    min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    .pixelle-faq__icon,
    .pixelle-faq__a,
    .pixelle-faq__q {
        transition: none;
    }
}
