/* =========================================================
   Featured Stories
   ========================================================= */

.stampli-featured-stories-section {
    border-bottom: 1px solid #dbebfd;
    padding: 96px 0 !important;
    width: min(1296px, calc(100% - 144px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.stampli-featured-stories {
    position: relative;
    overflow: hidden;
    padding: 40px 0 32px;
	color: var(--Brand-Pallette-Brand-navy, #1E3C74);
	/* Web UI/Display L */
	font-family: 'Aeonik', 'Inter', sans-serif;
}

.stampli-featured-stories__heading {
    margin: 0 0 36px;
	color: var(--Brand-Pallette-Brand-navy, #1E3C74);

	/* Web UI/Display L */
	font-family: 'Aeonik', 'Inter', sans-serif;
	font-size: 40px;
	font-style: normal;
	font-weight: 500;
	line-height: 42px; /* 105% */
	letter-spacing: -0.5px;
}


/* =========================================================
   Carousel Stage
   ========================================================= */

.stampli-featured-stories__slider {
    position: relative;

    width: 100%;
    max-width: 1200px;
    height: 435px;

    margin: 0 auto;

    overflow: visible;
}


/*
 * We're no longer using Swiper for positioning.
 * Neutralize the existing wrapper generated by the widget.
 */
.stampli-featured-stories__slider .swiper-wrapper {
    position: static;

    display: block;

    width: 100%;
    height: 100%;

    transform: none !important;
}


/* =========================================================
   Slides
   ========================================================= */

/*
 * Every slide starts in exactly the same centered position.
 * Only is-prev, is-active and is-next are made visible.
 */
.stampli-featured-stories__slider .stampli-featured-story {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 700px !important;
    height: auto !important;

    margin: 0 !important;

    opacity: 0;
    pointer-events: none;

    transform:
        translate(-50%, -50%)
        scale(.72);

    transition:
        transform .5s ease,
        opacity .35s ease;

    z-index: 1;
}


/*
 * Previous story — always on the left.
 */
.stampli-featured-story.is-prev {
    opacity: 1;
    pointer-events: auto;

    transform:
        translate(calc(-50% - 300px), -50%)
        scale(.72);

    z-index: 2;
}


/*
 * Next story — always on the right.
 */
.stampli-featured-story.is-next {
    opacity: 1;
    pointer-events: auto;

    transform:
        translate(calc(-50% + 300px), -50%)
        scale(.72);

    z-index: 2;
}


/*
 * Active story — always centered and full size.
 */
.stampli-featured-story.is-active {
    opacity: 1;
    pointer-events: auto;

    transform:
        translate(-50%, -50%)
        scale(1);

    z-index: 5;
}


/* =========================================================
   Card
   ========================================================= */

.stampli-featured-story__link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 700 / 374;
    overflow: hidden;
    border-radius: 10px;
    /*
     * Helps Chrome properly clip transformed images
     * to the rounded corners.
     */
    transform: translateZ(0);
}

.stampli-featured-story__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .6s ease,
        filter .5s ease;
		
}

/*
 * Dim the two background cards without making
 * the entire slide transparent.
 */
.stampli-featured-story.is-prev
.stampli-featured-story__image,
.stampli-featured-story.is-next
.stampli-featured-story__image {
    filter: brightness(.65);
}

.stampli-featured-story.is-active
.stampli-featured-story__image {
    filter: brightness(1);
}


/*
 * Slight zoom on the active story only.
 */
.stampli-featured-story.is-active:hover
.stampli-featured-story__image {
    transform: scale(1.04);
}


/* =========================================================
   Gradient Overlay
   ========================================================= */

.stampli-featured-story__overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;
    padding: 64px 40px;

    color: #fff;

    background:
        linear-gradient(
            to bottom,
            rgba(7, 30, 70, 0) 25%,
            rgba(7, 30, 70, .08) 40%,
            rgba(7, 30, 70, .55) 70%,
            rgba(7, 30, 70, .95) 100%
        );

    opacity: 0;

    transition: opacity .3s ease;
}


/*
 * Content is only visible on the active card.
 */
.stampli-featured-story.is-active
.stampli-featured-story__overlay {
    opacity: 1;
}


/* =========================================================
   Story Content
   ========================================================= */

.stampli-featured-story__content {
    flex: 1 1 auto;
    min-width: 0;
}

.stampli-featured-story__type {
    display: block;

    margin: 0 0 9px;
	color: var(--Brand-Pallette-White, #FFF);

	/* Web UI/Body S - Medium */
	font-family: 'Aeonik', 'Inter', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px; /* 142.857% */
}

.stampli-featured-story__title {
    margin: 0;
	color: var(--Brand-Pallette-White, #FFF);

	/* Web UI/Heading S */
	font-family: 'Aeonik', 'Inter', sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px; /* 116.667% */
}


/* =========================================================
   Customer Logo
   ========================================================= */

.stampli-featured-story__logo {
    flex: 0 0 auto;

    width: 100px;
    max-width: 25%;
    max-height: 55px;

    object-fit: contain;
    object-position: right bottom;
}


/* =========================================================
   Navigation
   ========================================================= */

.stampli-featured-stories__prev,
.stampli-featured-stories__next {
    position: absolute;
    top: 50%;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 4px;

    background: #d9eaff;
    color: #1689e8;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background-color .2s ease,
        transform .2s ease;
}


/*
 * Position the arrows over the exposed portions
 * of the previous/next cards.
 */
.stampli-featured-stories__prev {
    left: 80px;
}

.stampli-featured-stories__next {
    right: 80px;
}

.stampli-featured-stories__prev:hover {
    transform:
        translateY(-50%)
        translateX(-2px);
}

.stampli-featured-stories__next:hover {
    transform:
        translateY(-50%)
        translateX(2px);
}


/* =========================================================
   Pagination
   ========================================================= */

.stampli-featured-stories__pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 4px;

    margin-top: 20px;
}

.stampli-featured-stories__pagination
.featured-story-bullet {
    display: block;

    width: 6px;
    height: 6px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 999px;

    background: #b9d9fa;

    cursor: pointer;

    transition:
        width .25s ease,
        background-color .25s ease;
}

.stampli-featured-stories__pagination
.featured-story-bullet.is-active {
    width: 16px;

    background: #1689e8;
}


/* =========================================================
   Footer
   ========================================================= */

.stampli-featured-stories__footer {
    display: flex;
    justify-content: center;

    margin-top: 28px;
}

.stampli-featured-stories__all {
display: inline-flex;
padding: 12px 24px;
justify-content: center;
align-items: center;
gap: 12px;
border-radius: 6px;
background: #0088F7;
color: #FFF;

/* Web UI/Body M - Medium */
font-family: 'Aeonik', 'Inter', sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 150% */
}

.stampli-featured-stories__all:hover {
    color: #fff;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1024px) {

    .stampli-featured-stories-section {
        width: calc(100% - 16px) !important;
		padding: 48px 0 !important;
    }
	
	.stampli-featured-stories__heading {
		font-size: 32px;
		margin: 0;
	}

    .stampli-featured-stories__slider {
        height: 390px;
    }

    .stampli-featured-stories__slider
    .stampli-featured-story {
        width: 460px !important;
    }

    .stampli-featured-story.is-prev {
        transform:
            translate(calc(-50% - 170px), -50%)
            scale(.72);
    }

    .stampli-featured-story.is-next {
        transform:
            translate(calc(-50% + 170px), -50%)
            scale(.72);
    }

    .stampli-featured-stories__prev {
        left: 40px;
    }

    .stampli-featured-stories__next {
        right: 40px;
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .stampli-featured-stories-section {
        width: calc(100% - 32px) !important;
        padding: 56px 0 !important;
    }

    .stampli-featured-stories {
        padding: 30px 0;
    }

    .stampli-featured-stories__heading {
        margin-bottom: 24px;
    }

    .stampli-featured-stories__slider {
        height: auto;
        min-height: 280px;

        overflow: visible;
    }


    /*
     * Active card fills most of the available width.
     */
    .stampli-featured-stories__slider
    .stampli-featured-story {
        width: calc(100% - 32px) !important;

        top: 0;
        left: 50%;

        transform:
            translateX(-50%)
            scale(.88);
    }


    /*
     * Hide the previous card on mobile.
     */
    .stampli-featured-story.is-prev {
        opacity: 0;
        pointer-events: none;

        transform:
            translateX(calc(-50% - 100%))
            scale(.88);
    }


    /*
     * Give a small peek of the next story.
     */
    .stampli-featured-story.is-next {
        opacity: .65;
        pointer-events: auto;

        transform:
            translateX(calc(-50% + 88%))
            scale(.88);

        z-index: 2;
    }


    .stampli-featured-story.is-active {
        opacity: 1;
        pointer-events: auto;

        transform:
            translateX(-50%)
            scale(1);

        z-index: 5;
    }

    .stampli-featured-story__overlay {
        gap: 14px;
        padding: 18px;
    }

    .stampli-featured-story__title {
        font-size: 17px;
    }

    .stampli-featured-story__logo {
        width: 80px;
    }

    .stampli-featured-stories__prev,
    .stampli-featured-stories__next {
        display: none;
    }

    .stampli-featured-stories__pagination {
        margin-top: 16px;
    }

    .stampli-featured-stories__footer {
        margin-top: 22px;
    }
}

@media (max-width: 500px) {

    .stampli-featured-stories-section {
        width: calc(100% - 16px) !important;
        padding: 56px 0 !important;
    }

    .stampli-featured-stories {
        padding: 30px 0;
    }

    .stampli-featured-stories__heading {
        margin-bottom: 24px;
    }

    .stampli-featured-stories__slider {
        height: auto;
        min-height: 190px;
		margin-bottom: 60px;
        overflow: visible;
    }


    /*
     * Active card fills most of the available width.
     */
    .stampli-featured-stories__slider
    .stampli-featured-story {
        width: calc(100% - 16px) !important;

        top: 0;
        left: 50%;

        transform:
            translateX(-50%)
            scale(.88);
		border-radius: 8px;	
    }


    /*
     * Hide the previous/next card on mobile.
     */
    .stampli-featured-story.is-prev,
	.stampli-featured-story.is-next	{
        opacity: 0;
        pointer-events: none;

        transform:
            translateX(calc(-50% - 100%))
            scale(.88);
    }

    .stampli-featured-story.is-active {
        opacity: 1;
        pointer-events: auto;

        transform:
            translateX(-50%)
            scale(1);

        z-index: 5;
    }

    .stampli-featured-story__overlay {
        position: absolute;
        inset: 0;
        z-index: 2;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 14px;

        width: 100%;
        height: 100%;
    }
	
	.stampli-featured-story.is-active
        .stampli-featured-story__overlay {
        opacity: 1;
    }
	
	.stampli-featured-story__link {
		position: relative;
		display: block;
		overflow: hidden;
		border-radius: inherit;
	}
	
    .stampli-featured-story__content {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 15px;
		order: 2;
        margin: 0;
    }

    .stampli-featured-story__title {
        color: var(--Brand-Pallette-White, #FFF);

		/* Web UI/Body M - Medium */
		font-family: 'Aeonik', 'Inter', sans-serif;
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 24px; /* 150% */
    }
	.stampli-featured-story__type {
		font-size: 10.46px;
		font-style: normal;
		font-weight: 400;
		line-height: 14.943px; /* 142.857% */
	}

	.stampli-featured-story__logo {
		position: absolute;
		top: 18px;
		right: 18px;

		width: 63px;
		height: auto;

		margin: 0;
	}

    .stampli-featured-stories__prev,
    .stampli-featured-stories__next {
        display: none;
    }

    .stampli-featured-stories__pagination {
        margin-top: 16px;
    }

    .stampli-featured-stories__footer {
        margin-top: 22px;
    }
}