.hm-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(170px, 12.5vw, 224px);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hm-mosaic--lead > .hm-loc:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.hm-loc {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--hm-r);
    isolation: isolate;
    transition: box-shadow 0.3s, transform 0.3s var(--hm-ease);
}
.hm-loc:hover {
    box-shadow: var(--hm-shadow-lg);
}
.hm-loc-ph {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hm-loc-ph > img {
    transition: transform 0.9s var(--hm-ease);
}
.hm-loc:hover .hm-loc-ph > img {
    transform: scale(1.08);
}
.hm-loc-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(24, 21, 20, 0.78) 0%, rgba(24, 21, 20, 0.2) 45%, rgba(24, 21, 20, 0) 70%);
}
.hm-loc-body {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hm-loc-t {
    margin: 0;
    font-family: var(--hm-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.hm-mosaic--lead > .hm-loc:first-child .hm-loc-t {
    font-size: clamp(30px, 2.6vw, 40px);
}
.hm-mosaic--lead > .hm-loc:first-child .hm-loc-body {
    left: 26px;
    bottom: 24px;
}
.hm-loc-a,
.hm-loc-a:hover {
    color: #fff;
}
.hm-loc-a::after {
    content: "";
    position: absolute;
    inset: -2000px;
}
.hm-loc-a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    border-radius: 4px;
}
.hm-loc-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.hm-loc-tags a {
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: background 0.2s, color 0.2s;
}
.hm-loc-tags a:hover {
    background: #fff;
    color: var(--hm-red);
}

@media (max-width: 1199px) {
    .hm-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
