.espa-story-simple {
    position: relative;

    width: 100%;

    margin: 28px 0 34px;

    padding: 26px 18px 22px;

    border: 1px solid
    color-mix(
            in srgb,
            var(--espa-border) 80%,
            transparent
    );

    border-radius: 22px;

    background: var(--espa-surface);

    box-shadow:
            0 8px 26px rgba(15, 23, 42, .045);
}


/* =========================================================
   HEADER
========================================================= */

.espa-story-simple__header {
    margin-bottom: 22px;

    text-align: center;
}

.espa-story-simple__heading {
    margin: 0;

    color: var(--espa-heading);

    font-family: var(--font-family-heading);

    font-size: clamp(
            22px,
            2vw,
            28px
    );

    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   SLIDER
========================================================= */

.espa-story-simple__slider {
    position: relative;

    display: flex;

    align-items: center;
}


/* =========================================================
   VIEWPORT
========================================================= */

.espa-story-simple__viewport {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;

    -ms-overflow-style: none;
}

.espa-story-simple__viewport::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   TRACK
========================================================= */

.espa-story-simple__track {
    display: flex;

    align-items: flex-start;

    gap: 24px;

    width: max-content;

    min-width: 100%;

    padding:
            3px
            52px
            4px;
}


/* =========================================================
   ITEM
========================================================= */

.espa-story-simple__item {
    width: 138px;

    min-width: 138px;

    text-align: center;
}


/* =========================================================
   LINK
========================================================= */

.espa-story-simple__link {
    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

    color: var(--espa-heading);

    text-decoration: none;
}


/* =========================================================
   IMAGE
========================================================= */

.espa-story-simple__image-wrap {
    position: relative;

    width: 122px;
    height: 122px;

    margin-bottom: 11px;

    transition:
            transform .25s ease;
}

.espa-story-simple__image-ring {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 3px;

    overflow: hidden;

    border-radius: 50%;

    background:
            linear-gradient(
                    135deg,
                    var(--espa-primary),
                    color-mix(
                            in srgb,
                            var(--espa-primary) 45%,
                            var(--espa-accent)
                    )
            );

    box-shadow:
            0 7px 20px
            color-mix(
                    in srgb,
                    var(--espa-primary) 10%,
                    transparent
            );
}

.espa-story-simple__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border: 3px solid #ffffff;

    border-radius: 50%;

    transition:
            transform .35s ease;
}


/* =========================================================
   HOVER
========================================================= */

.espa-story-simple__link:hover
.espa-story-simple__image-wrap {
    transform: translateY(-4px);
}

.espa-story-simple__link:hover
.espa-story-simple__image {
    transform: scale(1.06);
}


/* =========================================================
   TITLE
========================================================= */

.espa-story-simple__title {
    display: -webkit-box;

    width: 100%;

    margin: 0;

    overflow: hidden;

    color: var(--espa-heading);

    font-family: var(--font-family-heading);

    font-size: 13px;

    font-weight: 650;

    line-height: 1.35;

    text-align: center;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    transition:
            color .2s ease;
}

.espa-story-simple__link:hover
.espa-story-simple__title {
    color: var(--espa-primary);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.espa-story-simple__description {
    display: -webkit-box;

    width: 100%;

    margin-top: 5px;

    overflow: hidden;

    color: var(--espa-muted);

    font-family: var(--font-family-body);

    font-size: 10px;

    font-weight: 400;

    line-height: 1.4;

    text-align: center;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* =========================================================
   ARROWS
========================================================= */

.espa-story-simple__arrow {
    position: absolute;

    top: 50%;

    z-index: 6;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 1px solid
    color-mix(
            in srgb,
            var(--espa-border) 75%,
            transparent
    );

    border-radius: 50%;

    background:
            color-mix(
                    in srgb,
                    var(--espa-surface) 92%,
                    transparent
            );

    color: var(--espa-heading);

    box-shadow:
            0 8px 20px rgba(15, 23, 42, .08);

    display: flex;

    align-items: center;
    justify-content: center;

    transform:
            translateY(-50%);

    cursor: pointer;

    transition:
            background .2s ease,
            color .2s ease,
            border-color .2s ease,
            transform .2s ease,
            opacity .2s ease;
}

.espa-story-simple__arrow:hover {
    border-color: var(--espa-primary);

    background: var(--espa-primary);

    color: #ffffff;
}

.espa-story-simple__arrow:active {
    transform:
            translateY(-50%)
            scale(.95);
}

.espa-story-simple__arrow iconify-icon {
    font-size: 20px;
}

.espa-story-simple__arrow--prev {
    left: 0;
}

.espa-story-simple__arrow--next {
    right: 0;
}

.espa-story-simple__arrow.is-disabled {
    opacity: .28;

    pointer-events: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .espa-story-simple {
        padding:
                24px
                14px
                20px;
    }

    .espa-story-simple__track {
        gap: 20px;

        padding-left: 48px;
        padding-right: 48px;
    }

    .espa-story-simple__item {
        width: 126px;

        min-width: 126px;
    }

    .espa-story-simple__image-wrap {
        width: 110px;
        height: 110px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .espa-story-simple {
        margin:
                22px
                0
                26px;

        padding:
                20px
                0
                18px;

        border-radius: 18px;
    }

    .espa-story-simple__header {
        margin-bottom: 17px;

        padding:
                0
                16px;
    }

    .espa-story-simple__heading {
        font-size: 21px;

        text-align: left;
    }

    .espa-story-simple__track {
        gap: 16px;

        padding:
                2px
                16px
                5px;
    }

    .espa-story-simple__item {
        width: 108px;

        min-width: 108px;

        scroll-snap-align: start;
    }

    .espa-story-simple__viewport {
        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;
    }

    .espa-story-simple__image-wrap {
        width: 94px;
        height: 94px;

        margin-bottom: 9px;
    }

    .espa-story-simple__image-ring {
        padding: 2px;
    }

    .espa-story-simple__image {
        border-width: 2px;
    }

    .espa-story-simple__title {
        font-size: 11px;
    }

    .espa-story-simple__description {
        font-size: 9px;
    }

    /*
     * Mobilde ok yerine swipe daha doğal.
     */

    .espa-story-simple__arrow {
        display: none;
    }

}