.wp-block-otto-f-net-seo-pro-faq,
.wp-block-otto-f-net-seo-pro-faq * {
    box-sizing: border-box;
}

.wp-block-otto-f-net-seo-pro-faq {
    width: 100%;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-width-content:not(.alignwide):not(.alignfull) {
    max-width: var(--wp--style--global--content-size, 1120px);
    margin-left: auto;
    margin-right: auto;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-width-wide:not(.alignfull),
.wp-block-otto-f-net-seo-pro-faq.alignwide {
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin-left: auto;
    margin-right: auto;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-width-full,
.wp-block-otto-f-net-seo-pro-faq.alignfull {
    max-width: none;
    width: 100%;
}

.wp-block-otto-f-net-seo-pro-faq .ofnsp-faq-title {
    margin-top: 0;
}

.wp-block-otto-f-net-seo-pro-faq .ofnsp-faq-items {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-accordion .ofnsp-faq-item,
.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-list .ofnsp-faq-item {
    border-top: 1px solid;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-accordion .ofnsp-faq-item:last-child,
.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-list .ofnsp-faq-item:last-child {
    border-bottom: 1px solid;
}

.wp-block-otto-f-net-seo-pro-faq summary.ofnsp-faq-question {
    cursor: pointer;
    font-weight: 600;
}

.wp-block-otto-f-net-seo-pro-faq .ofnsp-faq-question {
    margin-top: 0;
    margin-bottom: 0.35em;
    font-size: inherit;
    font-weight: 600;
}

.wp-block-otto-f-net-seo-pro-faq .ofnsp-faq-answer {
    margin-top: 0.6em;
}

.wp-block-otto-f-net-seo-pro-faq .ofnsp-faq-answer > *:first-child {
    margin-top: 0;
}

.wp-block-otto-f-net-seo-pro-faq .ofnsp-faq-answer > *:last-child {
    margin-bottom: 0;
}

/* Bubbles: 2-Spalten CSS-Columns — stabile Breite beim Aufklappen */
.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-items {
    columns: 2;
    column-gap: 1em;
    display: block;
}

@media (max-width: 600px) {
    .wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-items {
        columns: 1;
    }
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-item {
    break-inside: avoid;
    display: block;
    margin-bottom: 1em;
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 1.1em;
    background-color: var(--bg-3);
    overflow: hidden;
    box-shadow: 0 2px 8px color-mix(in srgb, currentColor 6%, transparent);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-item:hover {
    box-shadow: 0 4px 18px color-mix(in srgb, currentColor 12%, transparent);
    border-color: color-mix(in srgb, currentColor 22%, transparent);
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-item[open] {
    border-color: color-mix(in srgb, currentColor 20%, transparent);
    box-shadow: 0 4px 20px color-mix(in srgb, currentColor 10%, transparent);
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles summary.ofnsp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    width: 100%;
    cursor: pointer;
    list-style: none;
    padding: 1em 1.2em;
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.4;
    user-select: none;
    border-radius: 1em;
    transition: background-color 0.2s ease;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles summary.ofnsp-faq-question:hover {
    background-color: color-mix(in srgb, currentColor 5%, transparent);
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles summary.ofnsp-faq-question::-webkit-details-marker {
    display: none;
}

/* Chevron-Icon via SVG-Data-URI — rotiert beim Öffnen */
.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles summary.ofnsp-faq-question::after {
    content: "";
    flex-shrink: 0;
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.1em;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles summary.ofnsp-faq-question:hover::after {
    opacity: 1;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles details[open] > summary.ofnsp-faq-question::after {
    transform: rotate(180deg);
    opacity: 1;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles details[open] > summary.ofnsp-faq-question {
    background-color: color-mix(in srgb, currentColor 5%, transparent);
    border-radius: 1em 1em 0 0;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-answer {
    margin-top: 0;
    padding: 0.75em 1.2em 1.2em;
    font-size: 0.92em;
    line-height: 1.65;
    opacity: 0.8;
    border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-answer > *:first-child {
    margin-top: 0;
}

.wp-block-otto-f-net-seo-pro-faq.ofnsp-faq-layout-bubbles .ofnsp-faq-answer > *:last-child {
    margin-bottom: 0;
}
