.hm-ink {
    position: relative;
    padding: 34px 36px 36px;
    border-radius: 30px;
    background:
        radial-gradient(640px 360px at 100% 0%, rgba(216, 41, 28, 0.32), transparent 65%),
        radial-gradient(520px 320px at 0% 100%, rgba(177, 31, 20, 0.28), transparent 65%),
        var(--hm-ink-bg);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hm-ink::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hm-ink-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.hm-ve-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}
.hm-ve-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hm-ve-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    overflow: hidden;
}
.hm-ve-top {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    min-height: 176px;
    padding: 22px 24px;
    isolation: isolate;
}
.hm-ve-ph {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hm-ve-ph > img {
    transition: transform 1s var(--hm-ease);
}
.hm-ve-card:hover .hm-ve-ph > img {
    transform: scale(1.06);
}
.hm-ve-top::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(35, 32, 31, 0.96) 6%, rgba(35, 32, 31, 0.55) 55%, rgba(35, 32, 31, 0.15) 100%);
}
.hm-ve-ic {
    position: absolute;
    top: 20px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--hm-red);
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(216, 41, 28, 0.9);
}
.hm-ve-copy {
    flex: 1;
    min-width: 0;
}
.hm-ve-t {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.hm-ve-t a,
.hm-ve-t a:hover {
    color: #fff;
}
.hm-ve-copy p {
    margin: 0;
    max-width: 460px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}
.hm-ve-stat {
    position: absolute;
    top: 22px;
    right: 24px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(35, 32, 31, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    font-weight: 700;
}
.hm-ve-stat b {
    font-family: var(--hm-display);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}
.hm-ve-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 18px 24px 4px;
    list-style: none;
}
.hm-ve-grid:not(.hm-ve-grid--two) .hm-ve-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hm-ve-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s, transform 0.2s var(--hm-ease);
}
.hm-ve-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}
.hm-flag {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.hm-ve-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hm-ve-tag,
.hm-ve-price {
    flex: none;
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.hm-ve-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.hm-ve-price {
    background: rgba(216, 41, 28, 0.22);
    color: #ffb4ad;
}
.hm-ve-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: auto;
    padding: 18px 24px 24px;
}
.hm-ve-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}
.hm-ve-link:hover {
    color: #fff;
    border-color: #fff;
}

@media (max-width: 1199px) {
    .hm-ink {
        padding: 40px 28px 32px;
    }
    .hm-ve-grid--two {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hm-ink-wm {
    right: -170px;
    bottom: -230px;
    color: #fff;
    opacity: 0.05;
    animation-duration: 140s;
}
.hm-ink-head,
.hm-ve-grid {
    position: relative;
    z-index: 1;
}
