.dpc-gallery-strip {
    --dpc-gallery-columns: 3;
    --dpc-gallery-gap: 12px;
    --dpc-gallery-height: 118px;
    --dpc-gallery-speed: 320ms;
    display: grid;
    grid-template-columns: repeat(var(--dpc-gallery-columns), minmax(0, 1fr));
    gap: var(--dpc-gallery-gap);
    width: 100%;
    max-width: 100%;
}

.dpc-gallery-strip,
.dpc-gallery-strip * {
    box-sizing: border-box;
}

.dpc-gallery-card {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    height: var(--dpc-gallery-height);
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    transform: translateZ(0);
}

a.dpc-gallery-card {
    cursor: zoom-in;
}

.dpc-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: 0;
    transition:
        transform var(--dpc-gallery-speed) ease,
        filter var(--dpc-gallery-speed) ease;
}

.dpc-gallery-card:hover img,
.dpc-gallery-card:focus-visible img {
    transform: scale(1.04);
}

.dpc-gallery-card:active img {
    transform: scale(1.02);
}

.dpc-gallery-card:focus-visible {
    outline: 2px solid #95B802;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .dpc-gallery-strip {
        --dpc-gallery-columns: 3;
    }
}

@media (max-width: 767px) {
    .dpc-gallery-strip {
        --dpc-gallery-columns: 1;
    }
}
