.pca-btb-hero {
    --btb-hero-navy: var(--nectar-extra-color-2);
    --btb-hero-white: #fff;
    --btb-active-accent-contrast: var(--btb-hero-navy-deep);
    --btb-hero-radius: 25px;
    --btb-hero-transition: 850ms;
    --btb-hero-card-width: min(82vw, 760px);
    --btb-hero-card-gap: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 550px;
    height: 100%;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--btb-hero-radius);
    box-shadow: 0px 0px 70px #0e0b186e;
}

.btb-main-carousel .pca-btb-hero {
    margin-bottom: 25px !important;
}

.pca-btb-hero *, .pca-btb-hero *::before, .pca-btb-hero *::after {
    box-sizing: border-box;
}

.pca-btb-hero__viewport, .pca-btb-hero__track {
    position: relative;
    width: 100%;
    min-height: 0;
}

.pca-btb-hero__viewport {
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: var(--btb-hero-radius);
    background: var(--btb-hero-navy);
}

.pca-btb-hero__track {
    flex: 1 1 auto;
}

.pca-btb-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: var(--btb-hero-navy);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--btb-hero-transition) cubic-bezier(.22, 1, .36, 1), visibility 0s linear var(--btb-hero-transition);
}

.pca-btb-hero__slide.is-active, .pca-btb-hero__slide.is-leaving {
    visibility: visible;
    transition-delay: 0s;
}

.pca-btb-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.pca-btb-hero__slide.is-leaving {
    opacity: 0;
    z-index: 1;
}

/* Hard-cut a slide orphaned by an interrupted transition: no lingering fade. */
.pca-btb-hero__slide.is-instant, .pca-btb-hero__slide.is-instant * {
    transition: none !important;
}

.pca-btb-hero__media, .pca-btb-hero__shade {
    position: absolute;
    inset: 0;
}

.pca-btb-hero__media {
    background: var(--btb-hero-navy-deep);
}

.pca-btb-hero__picture {
    position: absolute;
    inset: 0;
    display: block;
}

.pca-btb-hero__image {
    display: block !important;
    width: 100%;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
    transition: transform 4s ease-out;
    margin: 0px !important;
}

.pca-btb-hero__slide.is-active .pca-btb-hero__image {
    transform: scale(1);
}

/*
 * Active-slide background video. The video sits over the static hero image
 * inside the same absolutely-positioned media layer, so showing or hiding
 * it never shifts the layout. JS adds .is-video-playing once the video is
 * genuinely rendering frames.
 */
.pca-btb-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

.pca-btb-hero__slide.is-video-playing .pca-btb-hero__video {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .pca-btb-hero__video {
        display: none;
    }
}

.pca-btb-hero__shade {
    z-index: 1;
    background: linear-gradient(22deg, rgba(13, 8, 27, .92) 0%, rgba(20, 12, 39, .76) 30%, rgba(20, 12, 39, .18) 50%, rgba(20, 12, 39, .08) 60%), linear-gradient(0deg, rgba(21, 16, 38, .2) 0%, rgba(21, 16, 38, .22) 20%, rgba(21, 16, 38, .02) 50%);
}

.pca-btb-hero__content {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    height: 80%;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 870px;
    padding: 0px 50px;
    color: var(--btb-hero-white);
    justify-content: flex-end;
}

.pca-btb-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.pca-btb-hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px 8.5px;
    border: 2px solid var(--btb-accent, var(--pca-pink-1));
    border-radius: 5px;
    font-size: calc(var(--btb-text-small) + 1px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: .015em;
    text-transform: uppercase;
    font-family: 'owners-narrow';
}

.pca-btb-hero__tag--issue {
    border-color: var(--btb-accent, var(--pca-pink-1));
    background: var(--btb-accent, var(--pca-pink-1));
    color: var(--nectar-extra-color-2);
}

.pca-btb-hero__headings {
    margin: 0;
}

.pca-btb-hero__title, .pca-btb-hero__punchy-title {
    margin: 0;
    text-wrap: balance;
}

body .pca-btb-hero__title {
    color: var(--btb-hero-white);
    font-size: clamp(45px, 3.2vw, 60px);
    font-weight: 800;
    line-height: .87;
    font-family: 'owners-narrow' !important;
    letter-spacing: -.015em !important;
    text-transform: uppercase;
}

body div#ajax-content-wrap .pca-btb-hero__punchy-title {
    margin-top: 0px;
    color: var(--btb-accent, var(--pca-pink-1));
    font-size: clamp(45px, 3.2vw, 60px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    font-family: 'owners-xnarrow';
}

.pca-btb-hero__line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0;
}

.pca-btb-hero__line {
    display: block;
    transform: translateY(112%);
    transition: transform var(--btb-hero-transition) cubic-bezier(.22, 1, .36, 1);
}

.pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__line {
    transform: translateY(0);
}

.pca-btb-hero__slide.is-entering-next .pca-btb-hero__line {
    transform: translateY(112%);
    transition: none;
}

.pca-btb-hero__slide.is-entering-prev .pca-btb-hero__line {
    transform: translateY(-112%);
    transition: none;
}

.pca-btb-hero__slide.is-leaving-next .pca-btb-hero__line {
    transform: translateY(-112%);
}

.pca-btb-hero__slide.is-leaving-prev .pca-btb-hero__line {
    transform: translateY(112%);
}

.pca-btb-hero__tags, .pca-btb-hero__excerpt, .pca-btb-hero__actions {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 440ms ease, transform 620ms cubic-bezier(.22, 1, .36, 1);
}

.pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__tags, .pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__excerpt, .pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__actions {
    opacity: 1;
    transform: translateY(0);
}

.pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__tags {
    transition-delay: 160ms;
}

.pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__excerpt {
    transition-delay: 240ms;
}

.pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__actions {
    transition-delay: 310ms;
}

.pca-btb-hero__excerpt {
    max-width: 530px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.6;
}

.pca-btb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

body div#ajax-content-wrap .pca-btb-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 16px 25px !important;
    border: 2px solid var(--btb-accent, var(--pca-pink-1));
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.01em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
    margin: 0px;
    opacity: 1 !important;
}

body div#ajax-content-wrap .pca-btb-hero__button:hover {
    color: var(--nectar-font-color) !important;
}

.pca-btb-hero__button:hover, .pca-btb-hero__button:focus-visible {
    transform: translateY(-2px);
}

.pca-btb-hero__button--primary {
    background: var(--btb-accent, var(--pca-pink-1));
    color: var(--nectar-extra-color-2);
}

.pca-btb-hero__button--secondary {
    background: rgba(32, 23, 57, .42);
    color: var(--btb-hero-white);
}

.pca-btb-hero__button--primary:hover, .pca-btb-hero__button--primary:focus-visible {
    color: var(--btb-accent-contrast, var(--btb-hero-navy-deep));
}

.pca-btb-hero__button--secondary:hover, .pca-btb-hero__button--secondary:focus-visible {
    background: var(--btb-accent, var(--pca-pink-1));
    color: var(--btb-accent-contrast, var(--btb-hero-navy-deep));
}

.pca-btb-hero__arrows {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 20;
    display: flex;
    gap: 10px;
}

html body .pca-btb-hero__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px !important;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: transform 200ms ease;
}

html body .pca-btb-hero__arrow::before {
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #111;
    border-right: 2px solid #111;
    content: '';
}

html body .pca-btb-hero__arrow--prev::before {
    transform: rotate(-135deg);
}

html body .pca-btb-hero__arrow--next::before {
    transform: rotate(45deg);
}

html body .pca-btb-hero__arrow:hover, html body .pca-btb-hero__arrow:focus-visible {
    transform: scale(1.04);
}

.pca-btb-hero__pagination {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 50px;
}

.pca-btb-hero__dot {
    position: relative;
    width: 42px;
    height: 4px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
    cursor: pointer;
}

.pca-btb-hero__dot-progress {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--btb-active-accent, var(--pca-pink-1));
    transform: scaleX(0);
    transform-origin: left center;
}

.pca-btb-hero__dot.is-active .pca-btb-hero__dot-progress {
    transform: scaleX(1);
}

.pca-btb-hero.is-autoplaying .pca-btb-hero__dot.is-active .pca-btb-hero__dot-progress {
    animation: pca-btb-hero-progress var(--btb-autoplay-duration, 7000ms) linear forwards;
}

.pca-btb-hero--single .pca-btb-hero__pagination, .pca-btb-hero--single .pca-btb-hero__arrows {
    display: none;
}

.pca-btb-hero-editor-notice {
    padding: 20px;
    border: 1px dashed #8c8f94;
    background: #fff;
    color: #1d2327;
}

@keyframes pca-btb-hero-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/*
 * WPBakery equal-height row helper.
 * Add the extra class "btb-equal-height-row" to the row containing the hero.
 *
 * Salient's column markup has several nested wrappers. Each wrapper needs to
 * participate in the flex layout so the hero can inherit the height created
 * by the tallest neighbouring column.
 */
@media (min-width: 1000px) {
    .btb-equal-height-row > .row_col_wrap_12 {
        display: flex !important;
        align-items: stretch !important;
    }

    .btb-equal-height-row > .row_col_wrap_12 > .wpb_column {
        display: flex !important;
        flex-direction: column;
        align-self: stretch;
        height: auto;
    }

    .btb-equal-height-row > .row_col_wrap_12 > .wpb_column > .vc_column-inner {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        width: 100%;
        min-height: 0;
    }

    .btb-equal-height-row > .row_col_wrap_12 > .wpb_column > .vc_column-inner > .wpb_wrapper {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        width: 100%;
        min-height: 0;
    }

    .btb-equal-height-row .pca-btb-hero {
        flex: 1 1 auto;
        height: auto;
        min-height: clamp(620px, 65vw, 820px);
    }

    .btb-equal-height-row .pca-btb-hero__viewport, .btb-equal-height-row .pca-btb-hero__track {
        flex: 1 1 auto;
        min-height: 0;
    }
}

@media (max-width: 1400px) {
    .pca-btb-hero__content {
        margin-bottom: 30px;
        padding: 0px 35px;
    }

    .pca-btb-hero__arrows {
        bottom: 30px;
        right: 30px;
    }

    .pca-btb-hero__pagination {
        padding: 40px;
    }
}

@media (max-width: 1300px) {
    .pca-btb-hero {
        min-height: 450px;
    }
}


@media (max-width: 690px) {
    .pca-btb-hero {
        --btb-hero-card-width: calc(100vw - 66px);
        --btb-hero-card-gap: 10px;
        --btb-hero-radius: 15px;
        display: block;
        height: auto;
        min-height: 0;
        padding-block: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0px;
    }

    .pca-btb-hero__viewport {
        display: block;
        overflow-x: auto;
        overflow-y: visible;
        border-radius: 0;
        background: transparent;
        scroll-padding-inline: 33px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        outline: none;
    }

    body .pca-btb-hero__title, body div#ajax-content-wrap .pca-btb-hero__punchy-title {
        font-size: clamp(35px, 7.5vw, 44px);
    }

    .pca-btb-hero__viewport::-webkit-scrollbar {
        display: none;
    }

    .pca-btb-hero__viewport.is-dragging {
        scroll-snap-type: none;
        cursor: grabbing;
    }

    /* Let a momentum fling glide freely; the closing snap settles it cleanly. */
    .pca-btb-hero__viewport.is-flinging {
        scroll-snap-type: none;
    }

    .pca-btb-hero__track {
        display: flex;
        align-items: stretch;
        gap: var(--btb-hero-card-gap);
        width: max-content;
        min-height: 0;
        padding-inline: 33px; }

    .pca-btb-hero__slide, .pca-btb-hero__slide.is-active, .pca-btb-hero__slide.is-leaving {
        position: relative;
        inset: auto;
        flex: 0 0 var(--btb-hero-card-width);
        display: flex;
        min-height: min(515px, calc(100svh - 42px));
        max-height: 950px;
        border-bottom: 5px solid rgba(255, 0, 230, .16);
        border-radius: var(--btb-hero-radius);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        scroll-snap-align: center;
        transform: scale(.965);
        transition: opacity 360ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1), border-color 360ms ease;
    }

    .pca-btb-hero__slide.is-active {
        z-index: 1;
        border-color: var(--btb-accent, var(--pca-pink-1));
        opacity: 1;
        transform: scale(1);
    }

    .pca-btb-hero__image, .pca-btb-hero__slide.is-active .pca-btb-hero__image {
        transform: none;
    }

    .pca-btb-hero__shade {
        background: linear-gradient(0deg, rgba(29, 21, 52, 1) 0%, rgba(29, 21, 52, .98) 10%, rgba(29, 21, 52, .56) 40%, rgba(29, 21, 52, .05) 60%), linear-gradient(0deg, rgba(29, 21, 52, 1) 0%, rgba(29, 21, 52, .98) 10%, rgba(29, 21, 52, .56) 40%, rgba(29, 21, 52, .05) 60%);
    }

    .pca-btb-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px;
        text-align: center;
        margin: 0px;
    }

    .pca-btb-hero__tags {
        justify-content: center;
        margin-top: auto;
        margin-bottom: 15px;
    }

    .pca-btb-hero__tag {
        padding: 6px 10px 5px;
    }

    .pca-btb-hero__title {
        font-size: clamp(42px, 14vw, 66px);
        line-height: .9;
    }

    .pca-btb-hero__punchy-title {
        margin-top: 8px;
        font-size: clamp(33px, 11vw, 52px);
        line-height: .98;
    }

    .pca-btb-hero__line, .pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__line, .pca-btb-hero__slide.is-entering-next .pca-btb-hero__line, .pca-btb-hero__slide.is-entering-prev .pca-btb-hero__line, .pca-btb-hero__slide.is-leaving-next .pca-btb-hero__line, .pca-btb-hero__slide.is-leaving-prev .pca-btb-hero__line {
        transform: none;
        transition: none;
    }

    .pca-btb-hero__tags, .pca-btb-hero__excerpt, .pca-btb-hero__actions, .pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__tags, .pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__excerpt, .pca-btb-hero__slide.is-active:not(.is-entering) .pca-btb-hero__actions {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pca-btb-hero__excerpt {
        display: -webkit-box;
        max-width: 630px;
        margin-top: 18px;
        overflow: hidden;
        font-size: 16px;
        line-height: 1.48;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .pca-btb-hero__actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
        margin-top: 15px;
    }

    body div#ajax-content-wrap .pca-btb-hero__button {
        min-width: unset;
        font-size: 14.5px !important;
        padding: 10px 15px !important;
        padding-bottom: 9px !important;
        white-space: nowrap;
        min-height: unset;
    }

    .pca-btb-hero__button {
        width: 100%;
        min-width: 0;
        min-height: 54px;
        padding-inline: 18px; font-size: 14px;
    }

    .pca-btb-hero__arrows {
        display: none;
    }

    .pca-btb-hero__pagination {
        position: relative;
        left: auto;
        bottom: auto;
        justify-content: center;
        margin-top: 30px;
        padding: 0;
        transform: none;
    }

    .pca-btb-hero__dot {
        width: 50px;
        background: rgba(255, 255, 255, .24);
    }

    .pca-btb-hero.is-autoplaying .pca-btb-hero__dot.is-active .pca-btb-hero__dot-progress {
        animation: none;
        transform: scaleX(1);
    }
}

@media (max-width: 479px) {
    body .pca-btb-hero__title {
        font-size: clamp(25px, 8.5vw, 32px);
    }

        .pca-btb-hero {
        --btb-hero-card-width: calc(100vw - 60px);
        min-width:300px;
        }
    body div#ajax-content-wrap .pca-btb-hero__punchy-title {
        font-size: clamp(23px, 5vw, 28px);
        margin-top: 5px;
    }
}

/*
 * Between the mobile rail (<=690px) and the full widescreen layout the
 * desktop presentation applies with slightly tightened spacing.
 */
@media (min-width: 691px) and (max-width: 999px) {
    .pca-btb-hero__content {
        max-width: none;
        margin-bottom: 30px;
    }

    .pca-btb-hero__pagination {
    }
}

@media (prefers-reduced-motion: reduce) {
    .pca-btb-hero *, .pca-btb-hero *::before, .pca-btb-hero *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
