.hph-ee-card {
    position: relative;
    display: block;
    width: var(--hph-card-width, 250px);
    max-width: 100%;
    height: auto;
    aspect-ratio: var(--hph-card-ratio, 250 / 300);
    border-radius: var(--hph-card-radius, 16px);
    overflow: hidden;
    text-decoration: none;
    background: #dfe3ea;
}

.hph-ee-card--fluid {
    width: 100%;
}

.hph-ee-card__media,
.hph-ee-card__overlay {
    position: absolute;
    inset: 0;
}

.hph-ee-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
	aspect-ratio:4/3;
}

.hph-ee-card__overlay {
    z-index: 1;
    background: linear-gradient(180deg, rgba(56, 57, 77, 0) 0%, var(--hph-overlay-end, rgba(56, 57, 77, 0.95)) 100%);
}

.hph-ee-card__content {
    position: absolute;
    left: var(--hph-title-side, 18px);
    right: var(--hph-title-side, 18px);
    bottom: var(--hph-title-bottom, 18px);
    z-index: 2;
}

.hph-ee-card__title {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.12;
    text-transform: none;
    word-break: break-word;
}

.hph-ee-card__subtitle {
    display: block;
    margin: var(--hph-subtitle-gap, 6px) 0 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    word-break: break-word;
}

.hph-ee-card:hover .hph-ee-card__media img,
.hph-ee-card:focus-visible .hph-ee-card__media img {
    transform: scale(1.04);
}
