.type-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.snap-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh + 1px);
}

.wp-block-cover.snap-block .wp-block-cover__image-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-cover.snap-block .wp-block-cover__image-background {
    filter: blur(6px);
    transform: scale(1.05);
    /* oculta los bordes difuminados */
    transition: filter 1.2s ease, transform 1.4s ease;
    will-change: filter, transform;
}

.wp-block-cover.snap-block.is-visible .wp-block-cover__image-background {
    filter: blur(0);
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .wp-block-cover.snap-block .wp-block-cover__image-background {
        filter: none;
        transform: none;
        transition: none;
    }
}

.snap-block:where(:not(.is-light)):before {
    content: "";
    z-index: 1;
    opacity: 5.3;
    pointer-events: none;
    height: 100%;
    position: absolute;
    inset: auto 0% 0%;
}

.snap-block:where(.is-light):before {
    background-color: var(--color-background);
}

.snap-block-ghost {
    position: fixed;
    pointer-events: none;
    width: 100%;
    height: 100vh;
    z-index: 0;
    inset: 0;

    [data-overlay-blur] {
        display: block;
        position: absolute;
        inset-inline: 0;
        height: 100lvh;
        width: 100%;
        top: 0;
        will-change: backdrop-filter;
        --tw-backdrop-blur: blur(var(--snap-blur));
        -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
        backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )
    }
}

.snap-block.is-visible:where(:not(.is-light)) {
    z-index: 1;
}

.wp-block-cover:where(.snap-block-ghost) {
    position: fixed !important;
}

.snap-block:where(.snap-block-heading) {
    height: 90svh;
}

.wp-block-cover:where(.snap-block) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: 50%;
    box-sizing: border-box;
    min-height: 430px;
    overflow: clip;
    padding: 0px 0px;
    position: relative;
}

.wp-block-cover .wp-block-cover__image-background,
.wp-block-cover video.wp-block-cover__video-background,
.wp-block-cover-image .wp-block-cover__image-background,
.wp-block-cover-image video.wp-block-cover__video-background {
    border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    -o-object-fit: cover;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%
}

.wp-block-cover .wp-block-cover__embed-background,
.wp-block-cover-image .wp-block-cover__embed-background {
    border: none;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    outline: none;
    padding: 0;
    /*pointer-events: none;*/
    position: absolute;
    right: 0;
    top: 0;
    width: 100%
}

.snap-block {
    /*filter: blur(12px);
    opacity: 0.6;
    transition: filter 0.6s ease, opacity 0.6s ease;
    will-change: filter, opacity;*/

    .wp-block-group {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        margin: 0px 0px;
    }

    .wp-block-group:last-child {
        height: 100%;
    }

    .wp-block-group:last-child {
        height: auto;
        margin: 0px 0px 90px 0px;
    }

    .wp-block-cover__inner-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1;
        color: var(--color-dark-gray);
        margin: 0px 0px;
        height: 100%;
        width: 100%;
    }

    .wp-block-heading {
        display: inline-block;
        font-family: var(--font-headings);
        font-style: normal;
        font-weight: 300;
        font-size: 60px;
        line-height: 1.25;
        text-align: center;
        letter-spacing: 0.02em;
        color: var(--color-dark-gray);
        margin-top: 60px;
        margin-bottom: 20px;
        /*opacity: 0;*/
        visibility: hidden;
        transition: visibility 0.6s ease, opacity 0.6s ease;
        will-change: visibility, opacity;
    }

    h3:where(.wp-block-heading) {
        margin-top: 0px;
    }
}

.snap-block-heading {
    .wp-block-heading {
        visibility: hidden;
        font-size: 38px;
        line-height: 46px;
        margin-bottom: 20px;
    }

    .wp-block-heading:first-child {
        margin-top: 10svh;
    }

    .wp-block-paragraph {
        font-family: var(--global--font-secondary);
        font-style: normal;
        font-weight: 400;
        font-size: 13px;
        line-height: 22px;
        text-align: center;
        letter-spacing: 0.02em;
        color: var(--color-dark-gray);
        margin-bottom: 20px;
        padding: 0 15px;
        max-width: 1100px;
    }

    .wp-block-heading,
    .wp-block-paragraph,
    .wp-block-list {
        visibility: hidden;
    }
}

/* Hide your heading in CSS */
[data-split="heading"], 
[split-text] {
    visibility: hidden;
}

.snap-block,
.site-footer {
    .wp-block-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 0px 0px;
        margin: 0px 0px;
        list-style: none;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
        transition: visibility 0.6s ease, opacity 0.6s ease;
        will-change: visibility, opacity;
    }

    .wp-block-list li {
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--color-dark-gray);
    }

    .wp-block-list li:after {
        content: "";
        display: inline-block;
        width: 26px;
        height: 10px;
        margin: 3px 0px 0px 7px;
        color: var(--color-dark-gray);
        transition: transform 0.25s ease;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M0 3.68198V4.18198H25V3.68198V3.18198H0V3.68198ZM25.3536 4.03553C25.5488 3.84027 25.5488 3.52369 25.3536 3.32842L22.1716 0.146442C21.9763 -0.0488198 21.6597 -0.0488198 21.4645 0.146442C21.2692 0.341705 21.2692 0.658287 21.4645 0.853549L24.2929 3.68198L21.4645 6.5104C21.2692 6.70567 21.2692 7.02225 21.4645 7.21751C21.6597 7.41277 21.9763 7.41277 22.1716 7.21751L25.3536 4.03553Z'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M0 3.68198V4.18198H25V3.68198V3.18198H0V3.68198ZM25.3536 4.03553C25.5488 3.84027 25.5488 3.52369 25.3536 3.32842L22.1716 0.146442C21.9763 -0.0488198 21.6597 -0.0488198 21.4645 0.146442C21.2692 0.341705 21.2692 0.658287 21.4645 0.853549L24.2929 3.68198L21.4645 6.5104C21.2692 6.70567 21.2692 7.02225 21.4645 7.21751C21.6597 7.41277 21.9763 7.41277 22.1716 7.21751L25.3536 4.03553Z'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .wp-block-list li:hover::after {
        transform: translateX(3px);
    }

    @media (prefers-reduced-motion: reduce) {
        .wp-block-list li::after {
            transition: none;
        }
    }

    .wp-block-list a {
        font-family: var(--global--font-secondary);
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 26px;
        text-align: center;
        letter-spacing: 0.02em;
        color: var(--color-dark-gray);
        text-decoration: none;
        position: relative;
    }

    .wp-block-list a:hover {
        color: var(--color-dark-gray-hover);
    }
}

.snap-block.is-active {
    filter: blur(0);
    opacity: 1;

    .wp-block-heading, .wp-block-list {
        opacity: 1;
        visibility: visible;
    }
}

.has-black-color[class] {
    color: var(--color-dark-gray);
}

.has-white-color[class] {
    color: var(--color-white);
}

/**
 * Bouncy Content Tabs (BCT) styles
 */

.bouncy-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.bct {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    color: var(--color-dark-gray);
}

.bct__nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-self: center;
    max-width: 100%;
}

.bct__indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-dark-gray);
    pointer-events: none;
}

.bct__tab {
    position: relative;
    z-index: 1;
    padding: 0px 0px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.25s ease;
    font-family: var(--global--font-secondary);
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #BEBEBE;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bct__tab:hover, .bct__tab:focus {
    border: 0px;
    color: var(--color-dark-gray);
}

.bct__tab.is-active,
.bct__tab.is-active:hover {
    color: var(--color-dark-gray);
}

.bct__tab:focus-visible {
    outline: 0px;
    outline-offset: 3px;
}

/* Paneles apilados en la misma celda: la altura es la del más alto */
.bct__panels {
    display: grid;
    min-width: 0;
}

.bct__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-area: 1 / 1;
    min-width: 0;
    padding: 0px 0px;
    visibility: hidden;
    opacity: 0;
    text-wrap: balance;
}

.timestamp {
    font-family: var(--global--font-secondary);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.02em;
    color: var(--color-dark-gray);
}

.bct__panel.is-active {
    visibility: visible;
    opacity: 1;
}

.bct__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bct__title {
    margin: 0 0 0.75rem;
}

.bct__text {
    display: inline;
    position: relative;
    font-family: var(--global--font-primary);
    font-style: normal;
    font-weight: 300;
    font-size: 25px;
    line-height: 33px;
    text-align: center;
    letter-spacing: 0.02em;
    color: var(--color-dark-gray);
    margin: 0;
}

.intro__time {
    display: inline-block;
    position: relative;
    font-family: var(--global--font-secondary);
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 18px;
    text-align: left;
    letter-spacing: 0.02em;
    color: var(--color-dark-gray);
    min-width: 40px;
    height: 27px;
}

.intro__time::before {
    content: attr(data-current-time);
    display: inline;
    position: absolute;
    top: 5px;
    left: -5px;
}


@media (prefers-reduced-motion: reduce) {
    .bct__tab {
        transition: none;
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background: var(--color-background-off-white);
    background-position: center;
    background-size: cover;
}

.footer-dark {

    .bct__tab {
        color: var(--color-dark-gray);
    }

    .bct__tab.is-active {
        color: var(--color-light-gray);
    }

    .bct__tab:hover {
        color: var(--color-light-gray-soft);
    }

    .bct__indicator {
        background: var(--color-light-gray);
    }

    .swiper-slide {
        background: var(--background-dark);

        .bct__text,
        .intro__time {
            color: var(--color-light-gray);
        }
    }

    .wp-block-list a {
        color: var(--color-light-gray);

        &:hover {
            color: var(--color-light-gray-soft);
        }
    }

    .wp-block-list li:after {
        color: var(--color-light-gray-soft);
    }
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-content-tabs {
    grid-column-gap: 35px;
    grid-row-gap: 35px;

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


/* TAB LAYOUT Osmo style */
.tab-container {
    grid-column-gap: 35px;
    grid-row-gap: 35px;
    padding: 0px 15px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tab-layout-container {
    width: 100%;
    max-width: 900px;
    padding: 150px 0px;
}

.tab-container-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 400px;
}

.tab-container-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.tab-content-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
}

.content-button__bg {
    z-index: -1;
    background-color: #efeeec;
    border-radius: .25em;
    position: absolute;
    inset: 0%;
}

.content-p {
    font-family: var(--global--font-primary);
    font-style: normal;
    font-weight: 300;
    font-size: 25px;
    line-height: 33px;
    text-align: center;
    color: var(--color-dark-gray);
    margin: 0;
}

.tab-button__bg {
    z-index: 0;
    background: var(--color-dark-gray);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0px;
    left: 0%;
}

.tab-content-item {
    z-index: 1;
    grid-column-gap: 1.25em;
    grid-row-gap: 1.25em;
    visibility: hidden;
    flex-flow: column;
    display: flex;
    position: absolute;
    inset: auto 0% 0%;
}

.tab-content-item.active {
    visibility: visible;
}

.tab-layout {
    z-index: 1;
    grid-row-gap: 3em;
    flex-flow: wrap;
    width: 100%;
    min-height: 37em;
    display: flex;
    justify-content: center;
    position: relative;
}

.filter-bar {
    display: flex;
    grid-column-gap: 35px;
    grid-row-gap: 0px;
}

.filter-button {
    background: transparent;
    border: 0px;
    padding: 0px 0px;
    transition: border-color .2s;
    position: relative;
    font-size: inherit;
}

.filter-button__p {
    z-index: 1;
    font-family: var(--font-family-quasimoda);
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 18px;
    text-align: right;
    letter-spacing: 0.02em;
    color: var(--color-light-gray);
    position: relative;
}

.filter-button.active .filter-button__p {
    color: var(--color-dark-gray);
}

.tab-visual-wrap {
    border-radius: .5em;
    width: 100%;
    height: 42em;
    max-height: 80vh;
    position: relative;
    overflow: hidden;
}

.tab-visual-item {
    visibility: hidden;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
}

.tab-visual-item.active {
    visibility: visible;
}

.tab-content__heading {
    letter-spacing: -.02em;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.75em;
    font-weight: 500;
    line-height: 1;
}

.tab-layout-heading {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 4em;
    font-weight: 500;
    line-height: 1;
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .snap-block {
        .wp-block-heading {
            font-size: 100px;
            line-height: 122px;
            margin-top: 100px;
        }

        .wp-block-list li:after {
            width: 25px;
        }

        .wp-block-group:last-child {
            margin: 0px 0px 150px 0px;
        }

        .wp-block-cover__inner-container {
            h3:where(.wp-block-heading) {
                margin-top: 0px;
            }
        }
    }

    .snap-block,
    .site-footer {
        .wp-block-list {
            grid-column-gap: 50px;
        }
    }

    .snap-block-heading {
        .wp-block-heading {
            font-size: 59px;
            line-height: 81px;
        }

        .wp-block-paragraph {
            font-size: 18px;
            line-height: 28px;
            padding: 0 40px;
        }
    }

    .bct__tab {
        font-size: 18px;
        line-height: 25px;
    }

    .bct__text{
        font-size: 34px;
        line-height: 43px;
    }

    .intro__time {
        font-size: 18px;
        line-height: 28px;
        min-width: 70px;
    }

    .intro__time::before {
        top: -5px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .snap-block-heading {
        .wp-block-heading {
            font-size: 75px;
            line-height: 97px;
        }
    }

}
