.g12-svc {
    --g12-svc-per-view: 4;
    --g12-svc-gap: 24px;
    --g12-svc-card-height: 450px;
    --g12-svc-media-height: 73%;
    position: relative;
}

.g12-svc__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.g12-svc__viewport::-webkit-scrollbar {
    display: none;
}

.g12-svc__track {
    display: flex;
    gap: var(--g12-svc-gap);
}

.g12-svc__card {
    flex: 0 0 calc((100% - (var(--g12-svc-gap) * (var(--g12-svc-per-view) - 1))) / var(--g12-svc-per-view));
    height: var(--g12-svc-card-height);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    background: #fff;
    color: #111;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.g12-svc__card:hover {
    /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14); */
    transform: translateY(-4px);
}

.g12-svc__media {
    position: relative;
    flex: 0 0 var(--g12-svc-media-height);
    height: var(--g12-svc-media-height);
    overflow: hidden;
}

.g12-svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    object-position: bottom;
}

.g12-svc__card:hover .g12-svc__media img {
    transform: scale(1.05);
}

.g12-svc__content {
    padding: 18px 0px;
    flex: 1 1 auto;
    background: #fff;
    min-height: 150px;
}

.g12-svc__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    margin: 0 0 6px;
    color: #111 !important;
}

.g12-svc__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #444 !important;
}

.g12-svc__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.65);
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.g12-svc__nav svg {
    width: 18px;
    height: 18px;
}

.g12-svc__nav:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.g12-svc__nav--prev {
    left: -6px;
}

.g12-svc__nav--next {
    right: -6px;
}

.g12-svc[data-show-arrows="no"] .g12-svc__nav {
    display: none;
}

.g12-svc__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.g12-svc__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    padding: 0;
}

.g12-svc__dot.is-active {
    background: #111;
    transform: scale(1.2);
}

.g12-svc[data-show-dots="no"] .g12-svc__dots {
    display: none;
}

@media (max-width: 1024px) {
    .g12-svc {
        --g12-svc-per-view: 2;
    }

    .g12-svc__nav--prev {
        left: -2px;
    }

    .g12-svc__nav--next {
        right: -2px;
    }
}

@media (max-width: 767px) {
    .g12-svc {
        --g12-svc-per-view: 1;
    }

}