/* Caveat comes from the global file's @import - no local import needed */

/* =========================================
   OUR STORY — MAIN LAYOUT
========================================= */

.our-story {
    display: flex;
    align-items: center;
    gap: 55px;

    padding: 15px 40px 30px;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   LOTTIE ANIMATION
========================================= */

.our-story__visual {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-story__visual dotlottie-wc {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    height: auto;
}

/* =========================================
   CONTENT
========================================= */

.our-story__content {
    flex: 1 1 0;
    min-width: 0;
}

/* SMALL EYEBROW */

/* Layout only - script text style from global .wla-medium-text
   (the old cyan color, uppercase and letter-spacing came with the
   old local style and are not part of the global class) */
.our-story__eyebrow {
    display: block;
    margin-bottom: 12px;
}

/* MAIN HEADING */

/* Layout only - text style and span color from global .wla-big-text */
.our-story__heading {
    margin: 0 0 20px;
}

/* DESCRIPTION */

/* Layout only - text style from global .wla-description-text */
.our-story__description {
    margin: 0 0 15px;
}

/* =========================================
   FEATURE HIGHLIGHTS
========================================= */

.our-story__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 25px;
}

.our-story__feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 19px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;

    background: rgba(255,255,255,0.045);

    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.our-story__feature-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 10px;

    border-radius: 50%;
    background: #26c6f9;
    box-shadow: 0 0 8px rgba(38,198,249,0.65);
}

/* =========================================
   TABLET — 40% LOTTIE / 60% TEXT
========================================= */

@media (max-width: 1024px) and (min-width: 768px) {

    .our-story {
        gap: 0;
        padding: 10px 30px 20px;
    }

    .our-story__layout {
        --widgets-spacing: 10px !important;
        --widgets-spacing-row: 10px !important;
        --widgets-spacing-column: 0px !important;

        row-gap: 10 !important;
        column-gap: 0px !important;
        gap: 10 !important;
    }

    .our-story__layout > .elementor-element {
        margin-block: 0 !important;
    }

    .our-story__visual {
        flex: 0 0 calc(35% - 5px);
        width: calc(35% - 5px);
    }

    .our-story__content {
        flex: 0 0 calc(65% - 10px);
        width: calc(65% - 10px);
    }

    .our-story__visual dotlottie-wc {
        max-width: 340px;
    }

    /* Eyebrow, heading and description sizes now come from the global file */

    .our-story__feature {
        padding: 9px 18px;
        font-size: 17px;
    }

    .our-story__feature-dot {
        width: 10px;
        height: 10px;
        flex: 0 0 9px;
    }

}

/* =========================================
   MOBILE — STACKED LAYOUT
========================================= */


/* =========================================
   MOBILE — STACKED LAYOUT + VISIBILITY FIX
========================================= */

@media (max-width: 767px) {

    .our-story {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: flex;
        flex-direction: column;
        gap: 0px !important;
        padding: 10px 5px;
        text-align: center;
    }

    .our-story__layout {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0px !important;
    }

    .our-story__visual {
        flex: 0 0 100%;
        width: 100%;
    }

    .our-story__visual dotlottie-wc {
        max-width: 260px;
    }

    .our-story__content {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        position: relative;
    }

    /* Eyebrow, heading and description styles now come from the global file */

    .our-story__features {
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .our-story__feature {
        padding: 8px 17px;
        font-size: 16px;
    }

    .our-story__feature-dot {
        width: 9px;
        height: 9px;
        flex: 0 0 8px;
    }

}
