.ff-seo-expand {
    --ff-seo-primary: #f37021;
    --ff-seo-heading: #2c1f18;
    --ff-seo-text: rgba(51, 34, 27, 0.75);
    --ff-seo-muted: rgba(51, 34, 27, 0.5);
    --ff-seo-bg: #fff;
    --ff-seo-collapsed-height: 148px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    inline-size: 100%;
    margin-inline: auto;
    max-inline-size: 1620px;
}

.ff-seo-expand *,
.ff-seo-expand *::before,
.ff-seo-expand *::after {
    box-sizing: border-box;
}

.ff-seo-expand__title {
    color: var(--ff-seo-heading);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 18px;
}

.ff-seo-expand__content {
    color: var(--ff-seo-text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.48;
    max-block-size: var(--ff-seo-collapsed-height);
    min-inline-size: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: max-block-size 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-seo-expand__content::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 48%, var(--ff-seo-bg) 100%);
    block-size: 74px;
    content: "";
    inset-block-end: 0;
    inset-inline: 0;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    transition: opacity 180ms ease;
}

.ff-seo-expand.is-open .ff-seo-expand__content {
    max-block-size: none;
}

.ff-seo-expand.is-open .ff-seo-expand__content::after {
    opacity: 0;
}

.ff-seo-expand__intro,
.ff-seo-expand__extra {
    color: inherit;
    font: inherit;
}

.ff-seo-expand__panel {
    color: var(--ff-seo-muted);
}

.ff-seo-expand__intro > :first-child,
.ff-seo-expand__extra > :first-child {
    margin-block-start: 0;
}

.ff-seo-expand__intro > :last-child,
.ff-seo-expand__extra > :last-child {
    margin-block-end: 0;
}

.ff-seo-expand__intro p,
.ff-seo-expand__extra p {
    margin-block: 0;
}

.ff-seo-expand .ff-seo-expand__button,
.ff-seo-expand .ff-seo-expand__button:hover,
.ff-seo-expand .ff-seo-expand__button:focus,
.ff-seo-expand .ff-seo-expand__button:focus-visible,
.ff-seo-expand .ff-seo-expand__button:active {
    align-items: center;
    appearance: none;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
    color: var(--ff-seo-primary) !important;
    cursor: pointer;
    display: inline-flex;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    font-weight: 700;
    gap: 6px;
    inline-size: fit-content;
    justify-content: flex-start;
    letter-spacing: 0;
    line-height: 1;
    margin: 15px 0 0;
    padding: 0;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.ff-seo-expand .ff-seo-expand__button:hover,
.ff-seo-expand .ff-seo-expand__button:focus-visible {
    color: #ff7a2f !important;
}

.ff-seo-expand .ff-seo-expand__button:focus-visible {
    outline: 2px solid rgba(243, 112, 33, 0.55);
    outline-offset: 6px;
}

.ff-seo-expand__button-icon {
    align-items: center;
    color: currentColor;
    display: inline-flex;
    flex: 0 0 auto;
    block-size: 18px;
    inline-size: 18px;
    justify-content: center;
}

.ff-seo-expand__button-icon svg {
    block-size: 18px;
    inline-size: 18px;
    transition: transform 220ms ease;
}

.ff-seo-expand.is-open .ff-seo-expand__button-icon svg {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .ff-seo-expand {
        --ff-seo-collapsed-height: 214px;
        max-inline-size: 100%;
        padding-block: 72px 28px;
    }

    .ff-seo-expand__title {
        font-size: 24px;
        line-height: 1.25;
        margin-block-end: 22px;
    }

    .ff-seo-expand__content {
        font-size: 16px;
        line-height: 1.55;
        text-align: left;
    }

    .ff-seo-expand .ff-seo-expand__button,
    .ff-seo-expand .ff-seo-expand__button:hover,
    .ff-seo-expand .ff-seo-expand__button:focus,
    .ff-seo-expand .ff-seo-expand__button:focus-visible,
    .ff-seo-expand .ff-seo-expand__button:active {
        font-size: 18px;
        margin-block-start: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ff-seo-expand__content,
    .ff-seo-expand__content::after,
    .ff-seo-expand__button-icon svg {
        transition: none;
    }
}
