.ink-eps {
    --ink-eps-gap: 12px;
    --ink-eps-mobile-card: 102px;
    --ink-eps-color: #000;
    position: relative;
    width: 100%;
    color: var(--ink-eps-color);
}

.ink-eps__viewport {
    width: 100%;
    outline: none;
}

.ink-eps__track {
    display: flex;
    align-items: stretch;
    gap: var(--ink-eps-gap);
    width: 100%;
}

.ink-eps__card {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.ink-eps__card:hover,
.ink-eps__card:focus-visible {
    color: inherit;
}

.ink-eps__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f3f2ee;
}

.ink-eps__media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: rgb(0 0 0 / 10%);
}

.ink-eps__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.ink-eps__card:hover .ink-eps__image {
    transform: scale(1.025);
}

.ink-eps__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ink-eps__title,
.ink-eps__description {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
}

.ink-eps__title {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
}

.ink-eps__description,
.ink-eps__end-card {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 12.64px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
}

.ink-eps__separator {
    align-self: stretch;
    flex: 0 0 1px;
    width: 1px;
    background: #000;
}

.ink-eps__end-card {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 31px;
    color: inherit;
    text-decoration: none;
    background: #f3f2ee;
}

.ink-eps__controls {
    display: none;
    width: 100%;
    margin-top: 32px;
    padding-right: 7px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.ink-eps__controls[hidden] {
    display: none !important;
}

.ink-eps__previous,
.ink-eps__next {
    position: relative;
    display: block;
    min-width: 0 !important;
    width: 38px;
    height: 38px;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 38px !important;
    color: inherit !important;
    line-height: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 25%) !important;
    cursor: pointer;
    appearance: none;
    transition: transform 180ms ease;
}

.ink-eps__previous span,
.ink-eps__next span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid #1c1b1f;
    border-right: 1.5px solid #1c1b1f;
    pointer-events: none;
}

.ink-eps__next span {
    transform: translate(-65%, -50%) rotate(45deg);
}

.ink-eps__previous span {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.ink-eps__next:hover,
.ink-eps__previous:hover {
    color: inherit !important;
    background: #fff !important;
    background-color: #fff !important;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 25%) !important;
    transform: scale(1.06);
}

.ink-eps__previous:focus-visible,
.ink-eps__next:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.ink-eps__previous[hidden],
.ink-eps__next[hidden] {
    display: none !important;
}

.ink-eps:not(.ink-eps--has-end-card) .ink-eps__separator:last-child {
    display: none;
}

.ink-eps.ink-eps--mobile .ink-eps__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.ink-eps.ink-eps--mobile .ink-eps__viewport.ink-eps__viewport--dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.ink-eps.ink-eps--mobile .ink-eps__viewport::-webkit-scrollbar {
    display: none;
}

.ink-eps.ink-eps--mobile .ink-eps__track {
    width: max-content;
}

.ink-eps.ink-eps--mobile .ink-eps__card {
    flex: 0 0 var(--ink-eps-mobile-card);
    width: var(--ink-eps-mobile-card);
    scroll-snap-align: start;
}

.ink-eps.ink-eps--mobile .ink-eps__end-card {
    flex: 0 0 151px;
    width: 151px;
    scroll-snap-align: start;
}

.ink-eps.ink-eps--mobile .ink-eps__controls {
    display: flex;
}

@media (prefers-reduced-motion: reduce) {
    .ink-eps__image,
    .ink-eps__previous,
    .ink-eps__next {
        transition: none;
    }

    .ink-eps.ink-eps--mobile .ink-eps__viewport {
        scroll-behavior: auto;
    }
}
