.shfb {
    --sh-w: 50%;
    --sh-gap: 4rem;
    --sh-top: 6rem;
    --sh-sh: 70vh;
    --sh-step: 80vh;
    --sh-r: 12px;
    --sh-dim: 0.3;
    --sh-dur: 500ms;
    --sh-ov: rgba(0, 0, 0, 0.4);
    --sh-ink: #fff;
    --sh-mk: rgba(255, 255, 255, 0.7);
    --sh-mka: #fff;
    --sh-card: transparent;
    position: relative;
    width: 100%;
}
.shfb *,
.shfb *::before,
.shfb *::after {
    box-sizing: border-box;
}
.shfb .sh-grid {
    display: grid;
    grid-template-columns: var(--sh-w) minmax(0, 1fr);
    column-gap: var(--sh-gap);
    align-items: start;
}
.shfb[data-sh-side='right'] .sh-grid {
    grid-template-columns: minmax(0, 1fr) var(--sh-w);
}
.shfb .sh-stage {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: var(--sh-top);
    height: var(--sh-sh);
    min-width: 0;
    z-index: 1;
}
.shfb .sh-track {
    grid-column: 2;
    grid-row: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.shfb[data-sh-side='right'] .sh-stage {
    grid-column: 2;
}
.shfb[data-sh-side='right'] .sh-track {
    grid-column: 1;
}
.shfb .sh-layers {
    position: absolute;
    inset: 0;
}
.shfb .sh-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--sh-dur) ease,
        transform var(--sh-dur) ease,
        visibility 0s linear var(--sh-dur);
}
.shfb[data-sh-fx='rise'] .sh-layer {
    transform: translateY(28px);
}
.shfb[data-sh-fx='zoom'] .sh-layer {
    transform: scale(1.05);
}
.shfb[data-sh-fx='none'] .sh-layer {
    transition: none;
}
.shfb .sh-layer.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
        opacity var(--sh-dur) ease,
        transform var(--sh-dur) ease,
        visibility 0s;
}
.shfb .sh-layer.is-copy {
    display: flex;
    align-items: center;
}
.shfb .sh-fig {
    margin: 0;
    width: 100%;
    height: 100%;
}
.shfb .sh-fig img,
.shfb .sh-fig video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--sh-r);
}
.shfb[data-sh-fit='contain'] .sh-fig img,
.shfb[data-sh-fit='contain'] .sh-fig video {
    object-fit: contain;
}
.shfb .sh-ph {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #eeeeec;
    color: #6b6b6b;
    border-radius: var(--sh-r);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
}
.shfb .sh-step {
    min-height: var(--sh-step);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 2rem 0;
    transition: opacity 0.35s ease;
}
.shfb[data-sh-dim='1'] .sh-step:not(.is-cur) {
    opacity: var(--sh-dim);
}
.shfb .sh-copy {
    max-width: 36rem;
    width: 100%;
}
.shfb .sh-title {
    margin: 0 0 0.5em;
    font-size: 1.5rem;
    line-height: 1.2;
}
.shfb .sh-text > :first-child {
    margin-top: 0;
}
.shfb .sh-text > :last-child {
    margin-bottom: 0;
}
.shfb[data-sh-mode='media'] .sh-step .sh-fig,
.shfb[data-sh-mode='bg'] .sh-step .sh-fig {
    display: none;
}
.shfb[data-sh-mode='text'] .sh-step .sh-copy {
    display: none;
}
.shfb[data-sh-mode='text'] .sh-step .sh-fig {
    height: var(--sh-sh);
}
.shfb[data-sh-mode='bg'] {
    width: var(--sh-bleed-w, 100vw);
    max-width: none;
    margin-left: var(--sh-bleed-ml, calc(50% - 50vw));
    margin-right: 0;
}
.shfb[data-sh-mode='bg'].is-static {
    width: 100%;
    margin-left: 0;
}
.shfb[data-sh-mode='bg'] .sh-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}
.shfb[data-sh-mode='bg'] .sh-stage {
    order: -1;
}
.shfb[data-sh-mode='bg'] .sh-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
}
.shfb[data-sh-mode='bg'] .sh-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sh-ov);
    z-index: 2;
    pointer-events: none;
}
.shfb[data-sh-mode='bg'] .sh-fig img,
.shfb[data-sh-mode='bg'] .sh-fig video {
    border-radius: 0;
}
.shfb[data-sh-mode='bg'] .sh-track {
    position: relative;
    z-index: 3;
    margin-top: -100vh;
    color: var(--sh-ink);
    pointer-events: none;
}
.shfb[data-sh-mode='bg'] .sh-step {
    justify-content: center;
    padding: 2rem 1.25rem;
}
.shfb[data-sh-mode='bg'] .sh-copy {
    background: var(--sh-card);
    padding: 1.5rem;
    border-radius: var(--sh-r);
    max-width: 34rem;
    margin-inline: auto;
    text-align: center;
    pointer-events: auto;
}
.shfb[data-sh-mode='bg'] .sh-title {
    color: inherit;
}
.shfb .sh-marks {
    position: absolute;
    z-index: 4;
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.shfb[data-sh-mpos='bottom'] .sh-marks {
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    flex-direction: row;
}
.shfb[data-sh-mpos='side'] .sh-marks {
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
}
.shfb[data-sh-mode='bg'][data-sh-mpos='side'] .sh-marks {
    right: 1.25rem;
}
.shfb .sh-mk {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    margin: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--sh-mk);
}
.shfb .sh-mk i {
    display: block;
    font-style: normal;
    background: var(--sh-mk);
    transition:
        background 0.25s,
        transform 0.25s,
        width 0.25s,
        height 0.25s,
        color 0.25s;
}
.shfb[data-sh-marks='dots'] .sh-mk i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.shfb[data-sh-marks='dots'] .sh-mk[aria-current='step'] i {
    background: var(--sh-mka);
    transform: scale(1.35);
}
.shfb[data-sh-marks='lines'] .sh-mk {
    min-width: 28px;
}
.shfb[data-sh-marks='lines'] .sh-mk i {
    width: 22px;
    height: 3px;
    border-radius: 0;
}
.shfb[data-sh-marks='lines'][data-sh-mpos='side'] .sh-mk {
    min-width: 24px;
    height: 28px;
}
.shfb[data-sh-marks='lines'][data-sh-mpos='side'] .sh-mk i {
    width: 3px;
    height: 22px;
}
.shfb[data-sh-marks='lines'] .sh-mk[aria-current='step'] i {
    background: var(--sh-mka);
}
.shfb[data-sh-marks='lines'][data-sh-mpos='bottom']
    .sh-mk[aria-current='step']
    i {
    width: 34px;
}
.shfb[data-sh-marks='lines'][data-sh-mpos='side']
    .sh-mk[aria-current='step']
    i {
    height: 34px;
}
.shfb[data-sh-marks='numbers'] .sh-mk {
    min-width: 28px;
    height: 28px;
}
.shfb[data-sh-marks='numbers'] .sh-mk i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: none;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    color: var(--sh-mk);
}
.shfb[data-sh-marks='numbers'] .sh-mk[aria-current='step'] i {
    background: var(--sh-mka);
    color: #111;
}
.shfb .sh-mk:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 1px;
    border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
    .shfb .sh-layer,
    .shfb .sh-step,
    .shfb .sh-mk i {
        transition: none !important;
    }
    .shfb .sh-layer {
        transform: none !important;
    }
}
/* stacked layout */
.shfb.is-static .sh-stage {
    display: none;
}
.shfb.is-static .sh-grid {
    display: block;
}
.shfb.is-static .sh-track {
    margin-top: 0;
    color: inherit;
    pointer-events: auto;
}
.shfb.is-static .sh-step {
    min-height: 0;
    display: block;
    padding: 1.5rem 0;
    opacity: 1 !important;
}
.shfb.is-static .sh-step .sh-fig,
.shfb.is-static .sh-step .sh-copy {
    display: block !important;
}
.shfb.is-static .sh-step .sh-fig {
    height: auto !important;
    margin: 0 0 1rem;
}
.shfb.is-static .sh-step .sh-fig:empty {
    display: none !important;
}
.shfb.is-static .sh-step .sh-fig img,
.shfb.is-static .sh-step .sh-fig video {
    height: auto;
    aspect-ratio: var(--sh-ar, 16/10);
    border-radius: var(--sh-r);
}
.shfb.is-static .sh-step .sh-copy {
    margin-inline: 0;
    max-width: none;
    background: none;
    padding: 0;
    text-align: left;
    color: inherit;
}
@media (max-width: 991px) {
    .shfb[data-sh-stk='lg'] .sh-stage {
        display: none;
    }
    .shfb[data-sh-stk='lg'] .sh-grid {
        display: block;
    }
    .shfb[data-sh-stk='lg'] .sh-track {
        margin-top: 0;
        color: inherit;
        pointer-events: auto;
    }
    .shfb[data-sh-stk='lg'] .sh-step {
        min-height: 0;
        display: block;
        padding: 1.5rem 0;
        opacity: 1 !important;
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-fig,
    .shfb[data-sh-stk='lg'] .sh-step .sh-copy {
        display: block !important;
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-fig {
        height: auto !important;
        margin: 0 0 1rem;
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-fig:empty {
        display: none !important;
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-fig img,
    .shfb[data-sh-stk='lg'] .sh-step .sh-fig video {
        height: auto;
        aspect-ratio: var(--sh-ar, 16/10);
        border-radius: var(--sh-r);
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-copy {
        margin-inline: 0;
        max-width: none;
        background: none;
        padding: 0;
        text-align: left;
        color: inherit;
    }
}
@media (max-width: 767px) {
    .shfb[data-sh-stk='md'] .sh-stage {
        display: none;
    }
    .shfb[data-sh-stk='md'] .sh-grid {
        display: block;
    }
    .shfb[data-sh-stk='md'] .sh-track {
        margin-top: 0;
        color: inherit;
        pointer-events: auto;
    }
    .shfb[data-sh-stk='md'] .sh-step {
        min-height: 0;
        display: block;
        padding: 1.5rem 0;
        opacity: 1 !important;
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-fig,
    .shfb[data-sh-stk='md'] .sh-step .sh-copy {
        display: block;
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-fig {
        height: auto;
        margin: 0 0 1rem;
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-fig:empty {
        display: none !important;
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-fig img,
    .shfb[data-sh-stk='md'] .sh-step .sh-fig video {
        height: auto;
        aspect-ratio: var(--sh-ar, 16/10);
        border-radius: var(--sh-r);
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-copy {
        margin-inline: 0;
        max-width: none;
        background: none;
        padding: 0;
        text-align: left;
        color: inherit;
    }
}
@media (max-width: 478px) {
    .shfb[data-sh-stk='sm'] .sh-stage {
        display: none;
    }
    .shfb[data-sh-stk='sm'] .sh-grid {
        display: block;
    }
    .shfb[data-sh-stk='sm'] .sh-track {
        margin-top: 0;
        color: inherit;
        pointer-events: auto;
    }
    .shfb[data-sh-stk='sm'] .sh-step {
        min-height: 0;
        display: block;
        padding: 1.5rem 0;
        opacity: 1 !important;
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-fig,
    .shfb[data-sh-stk='sm'] .sh-step .sh-copy {
        display: block !important;
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-fig {
        height: auto !important;
        margin: 0 0 1rem;
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-fig:empty {
        display: none !important;
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-fig img,
    .shfb[data-sh-stk='sm'] .sh-step .sh-fig video {
        height: auto;
        aspect-ratio: var(--sh-ar, 16/10);
        border-radius: var(--sh-r);
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-copy {
        margin-inline: 0;
        max-width: none;
        background: none;
        padding: 0;
        text-align: left;
        color: inherit;
    }
}

.shfb.is-pending .sh-stage {
    display: none;
}
.shfb.is-pending .sh-grid {
    display: block;
}
.shfb.is-pending .sh-track {
    margin-top: 0;
    color: inherit;
    pointer-events: auto;
}
.shfb.is-pending .sh-step {
    min-height: 0;
    display: block;
    padding: 1.5rem 0;
    opacity: 1 !important;
}
.shfb.is-pending .sh-step .sh-fig,
.shfb.is-pending .sh-step .sh-copy {
    display: block !important;
}
.shfb.is-pending .sh-step .sh-fig {
    height: auto !important;
    margin: 0 0 1rem;
}
.shfb.is-pending .sh-step .sh-fig:empty {
    display: none !important;
}
.shfb.is-pending .sh-step .sh-fig img,
.shfb.is-pending .sh-step .sh-fig video {
    height: auto;
    aspect-ratio: var(--sh-ar, 16/10);
    border-radius: var(--sh-r);
}
.shfb.is-pending .sh-step .sh-copy {
    margin-inline: 0;
    max-width: none;
    background: none;
    padding: 0;
    text-align: left;
    color: inherit;
}

.shfb .sh-fig {
    position: relative;
}
.shfb .sh-card {
    position: absolute;
    z-index: 3;
    bottom: var(--sh-card-inset, 20px);
    left: var(--sh-card-inset, 20px);
    max-width: calc(100% - 2 * var(--sh-card-inset, 20px));
    padding: 1rem;
    background: #fff;
    color: #1f1f1f;
    border-radius: 0;
    transform: translate(var(--sh-card-x, 0px), var(--sh-card-y, 0px));
}
.shfb .sh-card[data-position='bottom'],
.shfb .sh-card[data-position='top'] {
    left: 50%;
    transform: translate(
        calc(-50% + var(--sh-card-x, 0px)),
        var(--sh-card-y, 0px)
    );
}
.shfb .sh-card[data-position^='top'] {
    top: var(--sh-card-inset, 20px);
    bottom: auto;
}
.shfb .sh-card[data-position$='right'] {
    right: var(--sh-card-inset, 20px);
    left: auto;
}
.shfb .sh-card[data-position='center'] {
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(
        calc(-50% + var(--sh-card-x, 0px)),
        calc(-50% + var(--sh-card-y, 0px))
    );
}
.shfb .sh-card[data-full='1'] {
    width: calc(100% - 2 * var(--sh-card-inset, 20px));
}
.shfb.is-static .sh-card,
.shfb.is-pending .sh-card {
    position: static;
    transform: none;
    max-width: 100%;
}
.shfb .sh-video-toggle {
    position: absolute;
    right: 1rem;
    bottom: 3rem;
    z-index: 5;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid currentColor;
    border-radius: 0;
    background: #fff;
    color: #1f1f1f;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}
.shfb .sh-mk {
    min-width: 44px;
    min-height: 44px;
}
.shfb .sh-copy:focus-within {
    opacity: 1;
}
.shfb .sh-layer[inert] {
    pointer-events: none;
}
.shfb[data-sh-mode='text'] .sh-step:focus-within {
    opacity: 1;
}
.shfb[data-sh-mode='bg'] .sh-stage::after {
    background-image: var(--sh-gradient, none);
}

.shfb {
    --sh-gap: clamp(1.5rem, 4vw, 3rem);
    --sh-dim: 0.5;
    --sh-top: 5rem;
    --sh-sh: 65vh;
    --sh-step: 70vh;
    --sh-r: 12px;
}
.shfb .sh-track {
    overflow: visible;
}
.shfb .sh-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.shfb .sh-copy > h2,
.shfb .sh-copy > h3,
.shfb .sh-copy > p {
    margin: 0;
}
.shfb .sh-copy > p,
.shfb .sh-text {
    max-width: 34rem;
}
.shfb .sh-card {
    max-width: min(26rem, calc(100% - 2 * var(--sh-card-inset, 20px)));
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.18);
}
.shfb .sh-card > p,
.shfb .sh-card > .brxe-text-basic {
    margin: 0;
}
.shfb .sh-marks {
    gap: 0.15rem;
    padding: 0.15rem;
}
.shfb .sh-layer .sh-fig {
    overflow: hidden;
    border-radius: var(--sh-r);
}
.shfb[data-sh-mode='bg'] .sh-layer .sh-fig {
    border-radius: 0;
}
.shfb .sh-fig:empty {
    background: #f5f5f7;
    min-height: 8rem;
}
.shfb .sh-step .sh-fig img {
    aspect-ratio: var(--sh-ar, 4/3);
}
.shfb[data-sh-mode='bg'] .sh-stage::after {
    background: var(--sh-ov, rgba(0, 0, 0, 0.5));
    background-image: var(--sh-gradient, none);
}
.shfb[data-sh-mode='bg'] .sh-copy {
    color: var(--sh-ink, #fff);
    text-align: left;
    background: var(--sh-card, transparent);
    max-width: 38rem;
}
.shfb[data-sh-mode='bg'] .sh-copy h2,
.shfb[data-sh-mode='bg'] .sh-copy h3 {
    color: inherit;
}
@media (max-width: 767px) {
    .shfb[data-sh-stk='md'] .sh-copy {
        gap: 0.65rem;
    }
    .shfb[data-sh-stk='md'] .sh-step {
        padding: 0 0 2rem;
    }
    .shfb[data-sh-stk='md'] .sh-card {
        max-width: calc(100% - 2 * var(--sh-card-inset, 20px));
        font-size: 0.85rem;
    }
    .shfb[data-sh-stk='md'] .sh-copy h2,
    .shfb[data-sh-stk='md'] .sh-copy h3 {
        color: var(--pg-text, inherit);
    }
}
@media (prefers-reduced-motion: reduce) {
    .shfb .sh-copy {
        animation: none !important;
    }
    .shfb .sh-layer {
        transition: none !important;
    }
}

.shfb.is-stacked .sh-stage {
    display: none;
}
.shfb.is-stacked .sh-grid {
    display: block;
}
.shfb.is-stacked .sh-track {
    margin-top: 0;
    color: inherit;
    pointer-events: auto;
}
.shfb.is-stacked .sh-step {
    min-height: 0;
    display: block;
    padding: 1.5rem 0;
    opacity: 1 !important;
}
.shfb.is-stacked .sh-step .sh-fig,
.shfb.is-stacked .sh-step .sh-copy {
    display: block !important;
}
.shfb.is-stacked .sh-step .sh-fig {
    height: auto !important;
    margin: 0 0 1rem;
}
.shfb.is-stacked .sh-step .sh-fig:empty {
    display: none !important;
}
.shfb.is-stacked .sh-step .sh-fig img,
.shfb.is-stacked .sh-step .sh-fig video {
    height: auto;
    aspect-ratio: var(--sh-ar, 16/10);
    border-radius: var(--sh-r);
}
.shfb.is-stacked .sh-step .sh-copy {
    margin-inline: 0;
    max-width: none;
    background: none;
    padding: 0;
    text-align: left;
    color: inherit;
}
.shfb.is-stacked .sh-step .sh-copy {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
}
.shfb.is-stacked .sh-step .sh-copy > * {
    margin-block: 0;
}
.shfb.is-stacked .sh-text {
    line-height: 1.6;
}
.shfb.is-stacked .sh-step .sh-fig {
    margin-bottom: 1.25rem;
}
.shfb.is-stacked .sh-card {
    --sh-card-inset: 12px;
    padding: 0.55rem 0.8rem;
    font-size: 0.8125rem;
}

/* Stacked layout: keep the number, title and text close, and the media card small. */
@media (max-width: 991px) {
    .shfb[data-sh-stk='lg'] .sh-step .sh-copy {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-copy > * {
        margin-block: 0;
    }
    .shfb[data-sh-stk='lg'] .sh-text {
        line-height: 1.6;
    }
    .shfb[data-sh-stk='lg'] .sh-step .sh-fig {
        margin-bottom: 1.25rem;
    }
    .shfb[data-sh-stk='lg'] .sh-card {
        --sh-card-inset: 12px;
        padding: 0.55rem 0.8rem;
        font-size: 0.8125rem;
    }
}
@media (max-width: 767px) {
    .shfb[data-sh-stk='md'] .sh-step .sh-copy {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-copy > * {
        margin-block: 0;
    }
    .shfb[data-sh-stk='md'] .sh-text {
        line-height: 1.6;
    }
    .shfb[data-sh-stk='md'] .sh-step .sh-fig {
        margin-bottom: 1.25rem;
    }
    .shfb[data-sh-stk='md'] .sh-card {
        --sh-card-inset: 12px;
        padding: 0.55rem 0.8rem;
        font-size: 0.8125rem;
    }
}
@media (max-width: 478px) {
    .shfb[data-sh-stk='sm'] .sh-step .sh-copy {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-copy > * {
        margin-block: 0;
    }
    .shfb[data-sh-stk='sm'] .sh-text {
        line-height: 1.6;
    }
    .shfb[data-sh-stk='sm'] .sh-step .sh-fig {
        margin-bottom: 1.25rem;
    }
    .shfb[data-sh-stk='sm'] .sh-card {
        --sh-card-inset: 12px;
        padding: 0.55rem 0.8rem;
        font-size: 0.8125rem;
    }
}
