.fav-values-scroll,
.fav-values-scroll * {
    box-sizing: border-box;
}

.fav-values-scroll {
    --fav-header-offset: 120px;
    --fav-stage-height: clamp(820px, calc(100vh - 120px), 1000px);
    --fav-panel-height: clamp(820px, calc(100vh - 120px), 1000px);
    --fav-stage-left: 0px;
    --fav-stage-width: 100%;

    position: relative;
    width: 100%;
    min-height: 300vh;
    overflow: visible !important;
    background: #fff;
}

/* =========================
   DESKTOP SCROLL EFFECT
========================= */

.fav-values-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--fav-stage-height);
    min-height: 820px;
    max-height: 1000px;

    display: grid;
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    gap: 96px;
    align-items: stretch;

    transform: none;
    overflow: hidden;
}

.fav-values-scroll.is-active .fav-values-stage {
    position: fixed;
    top: var(--fav-header-offset);
    left: var(--fav-stage-left);
    width: var(--fav-stage-width);
    z-index: 20;
}

.fav-values-scroll.is-after .fav-values-stage {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Image column */
.fav-values-scroll .fav-values-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    align-self: stretch;
    line-height: 0;
    background: #f4f5f7;
}

.fav-values-scroll .fav-values-image__img {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;

    display: block !important;
    object-fit: cover !important;
    object-position: center center;

    opacity: 1;
    transform: scale(1);
    transition:
            opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
            transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.fav-values-scroll .fav-values-image__img.is-current {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
}

.fav-values-scroll .fav-values-image__img.is-next {
    z-index: 3;
    opacity: 0;
    transform: scale(1.015);
}

.fav-values-scroll .fav-values-image__img.is-next.is-visible {
    opacity: 1;
    transform: scale(1);
}

.fav-values-scroll .fav-values-image__img.is-current.is-leaving {
    opacity: 0;
    transform: scale(1.01);
}

/* Text column */
.fav-values-text-window {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    align-self: stretch;
}

.fav-values-text-track {
    transform: translateY(0);
    will-change: transform;
}

.fav-values-panel {
    height: var(--fav-panel-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
}

.fav-values-panel__number {
    display: block;
    font-family: "Yantramanav", Sans-serif;
    margin-bottom: 8px;
    color: #314BA0;
    font-size: 42px;
    line-height: 1;
    font-weight: 500;
}

.fav-values-panel__title {
    max-width: 520px;
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 34px;
    line-height: 1;
    text-transform: none;
    font-weight: 700;
}

.fav-values-panel__text p {
    max-width: 560px;
    margin: 0;
    font-family: "Roboto", Sans-serif;
    color: #1f2937;
    font-size: 24px;
    font-weight: 400;
    line-height: 26px;
}

/* Mobile list hidden on desktop */
.fav-values-mobile-list {
    display: none;
}

/* Elementor/Qode wrappers */
.elementor-widget-shortcode,
.elementor-widget-shortcode > .elementor-widget-container,
.elementor-widget-shortcode .elementor-shortcode,
.elementor-widget-html,
.elementor-widget-html > .elementor-widget-container,
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.e-con,
.e-con-inner,
.full_section_inner,
.section_inner,
.section_inner_margin {
    overflow: visible !important;
}

.elementor-widget-shortcode .elementor-shortcode {
    width: 100%;
}

/* =========================
   INTERMEDIATE DESKTOP/TABLET
========================= */

@media (max-width: 1100px) and (min-width: 769px) {
    .fav-values-stage {
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
        gap: 60px;
    }

    .fav-values-panel__title {
        font-size: 34px;
    }

    .fav-values-panel__text p {
        font-size: 24px;
        line-height: 26px;
    }
}

/* =========================
   MOBILE / TABLET <= 768
   NO SCROLL EFFECT
========================= */

@media (max-width: 768px) {
    .fav-values-scroll {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 0px 0px !important;
        overflow: visible !important;
    }

    .fav-values-stage,
    .fav-values-scroll.is-active .fav-values-stage,
    .fav-values-scroll.is-after .fav-values-stage {
        display: none !important;
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .fav-values-mobile-list {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .fav-values-mobile-item {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 56px;
        padding: 0 !important;
    }

    .fav-values-mobile-item:last-child {
        margin-bottom: 0 !important;
    }

    .fav-values-mobile-image {
        width: 100%;
        margin-bottom: 28px;
        overflow: hidden;
    }

    .fav-values-mobile-image img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        display: block !important;
        object-fit: contain !important;
        transform: none !important;
    }

    .fav-values-mobile-content {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
    }

    .fav-values-mobile-number {
        display: block;
        font-family: "Yantramanav", Sans-serif;
        margin-bottom: 10px;
        color: #314BA0;
        font-size: 42px;
        line-height: 1;
        font-weight: 500;
    }

    .fav-values-mobile-title {
        font-family: "Yantramanav", Sans-serif;
        margin: 0 0 10px;
        color: #1f2937;
        font-size: 34px;
        line-height: 1;
        text-transform: none;
        font-weight: 700;
    }

    .fav-values-mobile-text,
    .fav-values-mobile-text p {
        margin: 0;
        font-family: "Roboto", Sans-serif;
        color: #1f2937;
        font-size: 24px;
        line-height: 26px;
        font-weight: 400;
    }

    .elementor-widget-shortcode,
    .elementor-widget-shortcode > .elementor-widget-container,
    .elementor-widget-shortcode .elementor-shortcode {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .fav-values-scroll {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fav-values-mobile-item {
        margin-bottom: 56px;
    }

    .fav-values-mobile-number {
        font-size: 34px;
    }

    .fav-values-mobile-title {
        font-size: 26px;
    }

    .fav-values-mobile-text,
    .fav-values-mobile-text p {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fav-values-scroll .fav-values-image__img {
        transition: none !important;
        transform: none !important;
    }

    .fav-values-text-track {
        transition: none !important;
    }
}