/* BeeOps rotating statement v3.10.17
 * Desktop/tablet: one horizontal line.
 * Mobile: title, vertical arrow, then visible rotating copy.
 */
.rotating-line,
.wb-rotating-preview {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: max-content clamp(90px, 14vw, 190px) minmax(0, 1fr) !important;
    grid-template-rows: minmax(3.2em, auto) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0 clamp(12px, 2vw, 28px) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.wb-rotating-preview {
    font-size: clamp(18px, 2vw, 26px) !important;
}
.rotating-line > strong,
.wb-rotating-preview > strong {
    grid-area: 1/1 !important;
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
.rotating-line > i,
.wb-rotating-preview > i {
    grid-area: 1/2 !important;
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 18px !important;
    margin: 0 !important;
    border: 0 !important;
    color: #17202a !important;
    font-size: 0 !important;
}
.rotating-line > i::before,
.wb-rotating-preview > i::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    right: 13px !important;
    top: 8px !important;
    height: 0 !important;
    border: 0 !important;
    border-top: 2px dashed currentColor !important;
    background: transparent !important;
}
.rotating-line > i::after,
.wb-rotating-preview > i::after {
    content: '' !important;
    position: absolute !important;
    right: 1px !important;
    top: 3px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    border-left: 10px solid currentColor !important;
    border-right: 0 !important;
    background: transparent !important;
}
.rotating-line > .rotating-items,
.wb-rotating-preview > .rotating-items {
    grid-area: 1/3 !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 3.2em !important;
    min-height: 3.2em !important;
    margin: 0 !important;
    overflow: hidden !important;
}
.rotating-items > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: inherit;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    overflow: hidden !important;
    opacity: 0.075 !important;
    transform: translateY(1.2em) !important;
    transition:
        opacity 0.5s,
        transform 0.5s !important;
}
.rotating-items > span:nth-child(3n + 1) {
    transform: translateY(-1.2em) !important;
}
.rotating-items > span.active {
    z-index: 2 !important;
    opacity: 1 !important;
    transform: none !important;
}
.rotating-line > strong,
.wb-rotating-preview > strong {
    color: var(--rotate-color, #e34848) !important;
}
.rotating-line > .rotating-items > span,
.wb-rotating-preview > .rotating-items > span,
.rotating-line > .rotating-items > span.active,
.wb-rotating-preview > .rotating-items > span.active {
    color: #000 !important;
}
.rotating-items > span.leave {
    opacity: 0.075 !important;
    transform: translateY(-1.2em) !important;
}
.nested-columns > .nested-column:has(.rotating-line),
.nested-column:has(.rotating-line) > .nested-element-box,
.wb-element:has(.wb-rotating-preview),
.nested-element-box:has(.wb-rotating-preview) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-column: 1/-1 !important;
}

/* Real mobile page. */
@media (max-width: 699px) {
    .nested-section:has(.rotating-line:not(.wb-rotating-preview)) {
        min-height: 360px !important;
        height: auto !important;
        overflow: visible !important;
    }
    .nested-section:has(.rotating-line:not(.wb-rotating-preview)) > .nested-columns,
    .nested-section:has(.rotating-line:not(.wb-rotating-preview)) .nested-column,
    .nested-section:has(.rotating-line:not(.wb-rotating-preview)) .nested-element-box {
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }
    .rotating-line:not(.wb-rotating-preview) {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto 72px minmax(110px, auto) !important;
        justify-items: center !important;
        align-items: center !important;
        gap: 12px 0 !important;
        min-height: 330px !important;
        padding: 48px 20px 28px !important;
        font-size: clamp(18px, 6vw, 25px) !important;
    }
    .rotating-line:not(.wb-rotating-preview) > strong {
        grid-area: 1/1 !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }
    .rotating-line:not(.wb-rotating-preview) > i {
        grid-area: 2/1 !important;
        width: 2px !important;
        min-width: 2px !important;
        height: 68px !important;
        border-left: 2px dashed currentColor !important;
    }
    .rotating-line:not(.wb-rotating-preview) > i::before {
        left: -5px !important;
        right: auto !important;
        top: 0 !important;
        width: 8px !important;
        height: 8px !important;
        border: 2px solid currentColor !important;
        border-radius: 50% !important;
        background: #fff !important;
    }
    .rotating-line:not(.wb-rotating-preview) > i::after {
        left: -7px !important;
        right: auto !important;
        top: auto !important;
        bottom: -1px !important;
        border-top: 10px solid currentColor !important;
        border-right: 6px solid transparent !important;
        border-left: 6px solid transparent !important;
        border-bottom: 0 !important;
    }
    .rotating-line:not(.wb-rotating-preview) > .rotating-items {
        grid-area: 3/1 !important;
        width: min(100%, 340px) !important;
        height: 110px !important;
        min-height: 110px !important;
        text-align: center !important;
    }
    .rotating-line:not(.wb-rotating-preview) > .rotating-items > span {
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

/* Builder device simulation: use the canvas mode, not the browser width. */
.wb-canvas-frame.mobile .wb-rotating-preview {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 72px minmax(110px, auto) !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 12px 0 !important;
    min-height: 330px !important;
    padding: 48px 20px 28px !important;
    font-size: clamp(18px, 6vw, 25px) !important;
}
.wb-canvas-frame.mobile .nested-section:has(.wb-rotating-preview) {
    min-height: 360px !important;
    height: auto !important;
    overflow: visible !important;
}
.wb-canvas-frame.mobile .nested-section:has(.wb-rotating-preview) > .nested-columns,
.wb-canvas-frame.mobile .nested-section:has(.wb-rotating-preview) .nested-column,
.wb-canvas-frame.mobile .nested-section:has(.wb-rotating-preview) .nested-element-box {
    height: auto !important;
    overflow: visible !important;
}
.wb-canvas-frame.mobile .wb-rotating-preview > strong {
    grid-area: 1/1 !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
}
.wb-canvas-frame.mobile .wb-rotating-preview > i {
    grid-area: 2/1 !important;
    width: 2px !important;
    min-width: 2px !important;
    height: 68px !important;
    border-left: 2px dashed currentColor !important;
}
.wb-canvas-frame.mobile .wb-rotating-preview > i::before {
    left: -5px !important;
    right: auto !important;
    top: 0 !important;
    width: 8px !important;
    height: 8px !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    background: #fff !important;
}
.wb-canvas-frame.mobile .wb-rotating-preview > i::after {
    left: -7px !important;
    right: auto !important;
    top: auto !important;
    bottom: -1px !important;
    border-top: 10px solid currentColor !important;
    border-right: 6px solid transparent !important;
    border-left: 6px solid transparent !important;
    border-bottom: 0 !important;
}
.wb-canvas-frame.mobile .wb-rotating-preview > .rotating-items {
    grid-area: 3/1 !important;
    width: min(100%, 340px) !important;
    height: 110px !important;
    min-height: 110px !important;
    text-align: center !important;
}
.wb-canvas-frame.mobile .wb-rotating-preview > .rotating-items > span {
    inset: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.wb-canvas-frame.tablet .wb-rotating-preview,
.wb-canvas-frame.desktop .wb-rotating-preview {
    grid-template-columns: max-content clamp(70px, 12vw, 150px) minmax(0, 1fr) !important;
    grid-template-rows: minmax(3.2em, auto) !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* v3.10.13 — one source of truth for the runtime and builder preview. */
.rotating-line.is-row-rotating,
.wb-rotating-preview.is-row-rotating {
    grid-template-columns: max-content clamp(90px, 14vw, 190px) minmax(0, 1fr) !important;
    grid-template-rows: minmax(3.2em, auto) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0 clamp(12px, 2vw, 28px) !important;
    min-height: 0 !important;
    padding: 0 !important;
}
.rotating-line.is-row-rotating > strong,
.wb-rotating-preview.is-row-rotating > strong {
    grid-area: 1/1 !important;
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    text-align: left !important;
}
.rotating-line.is-row-rotating > i,
.wb-rotating-preview.is-row-rotating > i {
    grid-area: 1/2 !important;
}
.rotating-line.is-row-rotating > .rotating-items,
.wb-rotating-preview.is-row-rotating > .rotating-items {
    grid-area: 1/3 !important;
    width: 100% !important;
    height: 3.2em !important;
    min-height: 3.2em !important;
}
.wb-canvas-frame.desktop .nested-column:has(.wb-rotating-preview),
.wb-canvas-frame.tablet .nested-column:has(.wb-rotating-preview),
.wb-canvas-frame.desktop .wb-element:has(.wb-rotating-preview),
.wb-canvas-frame.tablet .wb-element:has(.wb-rotating-preview) {
    grid-column: 1/-1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.rotating-line.is-mobile-rotating,
.wb-rotating-preview.is-mobile-rotating {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 72px 110px !important;
    justify-items: center !important;
    align-items: start !important;
    gap: 12px 0 !important;
    width: 100% !important;
    min-height: 330px !important;
    padding: 48px 18px 28px !important;
    overflow: visible !important;
    font-size: clamp(18px, 6vw, 25px) !important;
}
.rotating-line.is-mobile-rotating > strong,
.wb-rotating-preview.is-mobile-rotating > strong {
    grid-area: 1/1 !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.28 !important;
}
.rotating-line.is-mobile-rotating > i,
.wb-rotating-preview.is-mobile-rotating > i {
    grid-area: 2/1 !important;
    align-self: start !important;
    width: 2px !important;
    min-width: 2px !important;
    height: 68px !important;
    border-left: 2px dashed currentColor !important;
}
.rotating-line.is-mobile-rotating > i::before,
.wb-rotating-preview.is-mobile-rotating > i::before {
    left: -5px !important;
    right: auto !important;
    top: 0 !important;
    width: 8px !important;
    height: 8px !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    background: #fff !important;
}
.rotating-line.is-mobile-rotating > i::after,
.wb-rotating-preview.is-mobile-rotating > i::after {
    left: -7px !important;
    right: auto !important;
    top: auto !important;
    bottom: -1px !important;
    border-top: 10px solid currentColor !important;
    border-right: 6px solid transparent !important;
    border-left: 6px solid transparent !important;
    border-bottom: 0 !important;
}
.rotating-line.is-mobile-rotating > .rotating-items,
.wb-rotating-preview.is-mobile-rotating > .rotating-items {
    grid-area: 3/1 !important;
    display: block !important;
    width: min(100%, 340px) !important;
    height: 110px !important;
    min-height: 110px !important;
    overflow: hidden !important;
    text-align: center !important;
}
.rotating-line.is-mobile-rotating > .rotating-items > span,
.wb-rotating-preview.is-mobile-rotating > .rotating-items > span {
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
}
.rotating-line.is-mobile-rotating > .rotating-items > span.active,
.wb-rotating-preview.is-mobile-rotating > .rotating-items > span.active {
    z-index: 3 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
@media (max-width: 699px) {
    .nested-section:has(.rotating-line.is-mobile-rotating) {
        min-height: 360px !important;
        height: auto !important;
        overflow: visible !important;
    }
}
.wb-canvas-frame.mobile .nested-section:has(.wb-rotating-preview.is-mobile-rotating) {
    min-height: 360px !important;
    height: auto !important;
    overflow: visible !important;
}

/* Builder parity: the preview occupies the same full-width composition as public. */
.wb-canvas-frame.mobile .wb-element:has(> .wb-rotating-preview),
.wb-canvas-frame.mobile .nested-column:has(.wb-rotating-preview),
.wb-canvas-frame.mobile .nested-element-box:has(.wb-rotating-preview) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-column: 1/-1 !important;
    overflow: visible !important;
}

/* v3.10.17 — axis-safe arrows and a desktop/tablet row that cannot collapse. */
.rotating-line.is-row-rotating,
.wb-rotating-preview.is-row-rotating {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: clamp(12px, 2vw, 28px) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}
.rotating-line.is-row-rotating > strong,
.wb-rotating-preview.is-row-rotating > strong {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
}
.rotating-line.is-row-rotating > i,
.wb-rotating-preview.is-row-rotating > i {
    position: relative !important;
    flex: 0 1 clamp(90px, 14vw, 190px) !important;
    width: clamp(90px, 14vw, 190px) !important;
    min-width: 70px !important;
    height: 18px !important;
    border: 0 !important;
    border-top: 2px dashed currentColor !important;
    align-self: center !important;
    transform: translateY(8px) !important;
}
.rotating-line.is-row-rotating > i::before,
.wb-rotating-preview.is-row-rotating > i::before {
    content: '' !important;
    position: absolute !important;
    left: -5px !important;
    right: auto !important;
    top: -7px !important;
    width: 8px !important;
    height: 8px !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    background: #fff !important;
}
.rotating-line.is-row-rotating > i::after,
.wb-rotating-preview.is-row-rotating > i::after {
    content: '' !important;
    position: absolute !important;
    right: -1px !important;
    left: auto !important;
    top: -6px !important;
    bottom: auto !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    border-left: 10px solid currentColor !important;
    border-right: 0 !important;
}
.rotating-line.is-row-rotating > .rotating-items,
.wb-rotating-preview.is-row-rotating > .rotating-items {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 3.2em !important;
}

.rotating-line.is-mobile-rotating > i,
.wb-rotating-preview.is-mobile-rotating > i {
    justify-self: center !important;
    align-self: center !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 2px !important;
    min-width: 2px !important;
    height: 68px !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-left: 2px dashed currentColor !important;
    transform: none !important;
}
.rotating-line.is-mobile-rotating > i::before,
.wb-rotating-preview.is-mobile-rotating > i::before {
    content: '' !important;
    position: absolute !important;
    left: -7px !important;
    right: auto !important;
    top: -1px !important;
    width: 8px !important;
    height: 8px !important;
    box-sizing: content-box !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    background: #fff !important;
}
.rotating-line.is-mobile-rotating > i::after,
.wb-rotating-preview.is-mobile-rotating > i::after {
    content: '' !important;
    position: absolute !important;
    left: -6px !important;
    right: auto !important;
    top: auto !important;
    bottom: -1px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 10px solid currentColor !important;
    border-right: 6px solid transparent !important;
    border-left: 6px solid transparent !important;
    border-bottom: 0 !important;
}

/* The column containing this component spans every configured section column. */
.nested-columns > .nested-column:has(.rotating-line),
.wb-canvas .nested-columns > .nested-column:has(.wb-rotating-preview) {
    grid-column: 1/-1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}
