.epcc {
    --epcc-visible: 3;
    --epcc-ratio: 4 / 5;
    --epcc-fit: cover;
    --epcc-gap: 34px;
    --epcc-radius: 0px;
    --epcc-speed: 750ms;
    --epcc-hover-speed: 350ms;
    --epcc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --epcc-card-bg: transparent;
    --epcc-title-color: #1c1c1c;
    --epcc-title-hover: #111111;
    --epcc-count-color: rgba(28, 28, 28, 0.72);
    --epcc-overlay-color: #000000;
    --epcc-overlay-opacity: 0;
    --epcc-overlay-hover-opacity: 0.34;
    --epcc-overlay-text-color: #ffffff;
    --epcc-overlay-align-x: end;
    --epcc-overlay-align-y: flex-start;
    --epcc-cta-color: #ffffff;
    --epcc-cta-hover: #ffffff;
    --epcc-cta-bg: rgba(255, 255, 255, 0.08);
    --epcc-cta-gap: 10px;
    --epcc-cta-icon-size: 16px;
    --epcc-nav-color: #111111;
    --epcc-nav-hover: #000000;
    --epcc-nav-bg: transparent;
    --epcc-nav-size: 20px;
    --epcc-dots-color: rgba(17, 17, 17, 0.2);
    --epcc-dots-active: #111111;
    --epcc-dot-size: 8px;
    --epcc-divider-color: rgba(17, 17, 17, 0.16);
    --epcc-counter-color: #111111;
    --epcc-content-gap: 18px;
    --epcc-footer-gap: 38px;
    --epcc-hover-lift: 8px;
    width: 100%;
    margin: 0 auto;
}

.epcc *,
.epcc *::before,
.epcc *::after {
    box-sizing: border-box;
}

.epcc__shell {
    position: relative;
}

.epcc__viewport {
    overflow: hidden;
    outline: none;
    touch-action: pan-y;
}

.epcc__track {
    display: flex;
    gap: var(--epcc-gap);
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform var(--epcc-speed) var(--epcc-ease);
    will-change: transform;
}

.epcc__slide {
    flex: 0 0 calc((100% - (var(--epcc-gap) * (var(--epcc-visible) - 1))) / var(--epcc-visible));
    min-width: 0;
    transition: transform var(--epcc-hover-speed) var(--epcc-ease);
}

.epcc[data-hover-animation="lift"] .epcc__slide:hover,
.epcc[data-hover-animation="lift"] .epcc__slide:focus-within {
    transform: translateY(calc(var(--epcc-hover-lift) * -1));
}

.epcc__card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--epcc-card-bg);
}

.epcc__media-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.epcc__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--epcc-ratio);
    overflow: hidden;
    border-radius: var(--epcc-radius);
    background: #f3efe9;
    line-height: 0;
}

.epcc__media > .epcc__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: var(--epcc-fit);
    transition: transform var(--epcc-hover-speed) var(--epcc-ease), filter var(--epcc-hover-speed) var(--epcc-ease);
}

.epcc__image--placeholder {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.09)),
        linear-gradient(180deg, #f4efe7, #e9e1d8);
}

.epcc__overlay {
    position: absolute;
    inset: 0;
    background: var(--epcc-overlay-color);
    opacity: var(--epcc-overlay-opacity);
    transition: opacity var(--epcc-hover-speed) var(--epcc-ease);
    pointer-events: none;
}

.epcc__hover-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
	align-content: start;
    padding: 24px;
    color: var(--epcc-overlay-text-color);
    pointer-events: none;
}

.epcc__hover-inner {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity var(--epcc-hover-speed) var(--epcc-ease), transform var(--epcc-hover-speed) var(--epcc-ease);
}

.epcc[data-hover-animation="fade"] .epcc__hover-inner {
    transform: none;
}

.epcc[data-hover-animation="zoom-in"] .epcc__hover-inner {
    transform: scale(0.92);
}

.epcc__slide:hover .epcc__overlay,
.epcc__slide:focus-within .epcc__overlay {
    opacity: var(--epcc-overlay-hover-opacity);
}

.epcc__slide:hover .epcc__hover-inner,
.epcc__slide:focus-within .epcc__hover-inner {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.epcc[data-hover-animation="zoom-in"] .epcc__slide:hover .epcc__image,
.epcc[data-hover-animation="zoom-in"] .epcc__slide:focus-within .epcc__image {
    transform: scale(1.05);
}

.epcc[data-hover-animation="slide-up"] .epcc__slide:hover .epcc__image,
.epcc[data-hover-animation="slide-up"] .epcc__slide:focus-within .epcc__image {
    transform: scale(1.015);
}

.epcc__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--epcc-cta-gap);
    color: var(--epcc-cta-color);
    background: var(--epcc-cta-bg);
    backdrop-filter: blur(10px);
    transition: color var(--epcc-hover-speed) var(--epcc-ease), transform var(--epcc-hover-speed) var(--epcc-ease), background var(--epcc-hover-speed) var(--epcc-ease);
}

.epcc__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--epcc-cta-icon-size);
    height: var(--epcc-cta-icon-size);
    line-height: 0;
}

.epcc__cta-icon svg,
.epcc__cta-icon i,
.epcc__arrow svg,
.epcc__arrow i {
    width: 1em;
    height: 1em;
    display: block;
}

.epcc__cta-icon svg,
.epcc__arrow svg {
    width: 100%;
    height: 100%;
}

.epcc__cta-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.epcc__arrow path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.epcc__slide:hover .epcc__cta,
.epcc__slide:focus-within .epcc__cta {
    color: var(--epcc-cta-hover);
}

.epcc__content {
    display: grid;
    gap: 6px;
    padding-top: var(--epcc-content-gap);
}

.epcc__title {
    margin: 0;
    color: var(--epcc-title-color);
    font-size: clamp(22px, 1.75vw, 32px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    transition: color var(--epcc-hover-speed) var(--epcc-ease);
}

.epcc__title-link {
    color: inherit;
    text-decoration: none;
}

.epcc__count {
    color: var(--epcc-count-color);
    font-size: 14px;
    line-height: 1.35;
}

.epcc__card:hover .epcc__title,
.epcc__card:focus-visible .epcc__title,
.epcc__title-link:hover,
.epcc__title-link:focus-visible {
    color: var(--epcc-title-hover);
}

.epcc__footer {
    margin-top: var(--epcc-footer-gap);
}

.epcc__divider {
    width: 100%;
    height: 1px;
    background: var(--epcc-divider-color);
}

.epcc__footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
}

.epcc__footer-meta {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.epcc__counter {
    color: var(--epcc-counter-color);
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.epcc__counter-separator {
    opacity: 0.45;
}

.epcc__dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.epcc__dot {
    appearance: none;
    border: 0;
    border-radius: 999px;
    width: var(--epcc-dot-size);
    height: var(--epcc-dot-size);
    background: var(--epcc-dots-color);
    padding: 0;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.epcc__dot.is-active {
    background: var(--epcc-dots-active);
    transform: scale(1.15);
}

.epcc__nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.epcc__nav--inside {
    position: absolute;
    inset: 50% 16px auto 16px;
    transform: translateY(-50%);
    justify-content: space-between;
    width: calc(100% - 32px);
    z-index: 2;
    pointer-events: none;
}

.epcc__nav--inside .epcc__arrow {
    pointer-events: auto;
}

.epcc__arrow {
    appearance: none;
    border: 0;
    background: var(--epcc-nav-bg);
    color: var(--epcc-nav-color);
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.epcc__arrow:hover,
.epcc__arrow:focus-visible {
    color: var(--epcc-nav-hover);
}

.epcc__arrow:active {
    transform: translateY(1px);
}

.epcc__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.epcc__arrow svg,
.epcc__arrow i {
    font-size: var(--epcc-nav-size);
}

.epcc__viewport:focus-visible,
.epcc__card:focus-visible,
.epcc__media-link:focus-visible,
.epcc__title-link:focus-visible,
.epcc__arrow:focus-visible,
.epcc__dot:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 5px;
}

@media (max-width: 1024px) {
    .epcc {
        --epcc-visible: 2;
        --epcc-gap: 24px;
    }
}

@media (max-width: 767px) {
    .epcc {
        --epcc-visible: 1;
        --epcc-gap: 18px;
        --epcc-footer-gap: 28px;
    }

    .epcc__footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .epcc__nav--inside {
        inset-inline: 10px;
        width: calc(100% - 20px);
    }
}
