.block-service {
    display: block;
    position: relative;
}

.block-service h3 {
    margin-bottom: 0;
    text-transform: unset;
    color: var(--color-white);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 14px;
    border: 2px solid var(--color-warning);
    font-size: 14px;
    border-radius: 10px;
    text-align: center;
}

.block-service-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.block-service-image:after {
    content: '';
    border-radius: 10px;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 70%,
            rgba(0, 0, 0, 0.6) 100%
    );
}

.block-service-image img {
    width: 100%;
    display: block;
    transition: all var(--speed-default) ease-in-out;
}

.block-service-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
}

.block-service:hover .block-service-image img {
    transform: scale(1.03);
}

@media screen and (min-width: 768px) {
    .block-service h3 {
        font-size: 18px;
    }

    .block-service-title {
        padding: 30px 18px;
    }
}

@media screen and (min-width: 1200px) {
    .block-service-title {
        padding: 40px 37px;
    }
}

