.services-thumbnails-component {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    text-align: left;
}

.services-thumbnails-component .item {
    width: calc(1/3*100% - (1 - 1/3)*30px);
    overflow: hidden;
    position: relative;
    z-index: 50;
}

.section__row--2-50 .services-thumbnails-component .item {
    width: calc(1/2*100% - (1 - 1/2)*30px);
}

.services-thumbnails-component .item a {
    color: var(--service-thumbnail-color) !important;
    background: var(--service-thumbnail-background-color);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    justify-content: flex-start;
}

.services-thumbnails-component .item a:hover,
.services-thumbnails-component .item a:focus,
.services-thumbnails-component .item a:active {
    background: var(--service-thumbnail-background-color-hover);
    color: var(--service-thumbnail-color-hover);
}

.services-thumbnails-component .content {
    padding: 15px;
}

.services-thumbnails-component .image-holder {
    width: 100%;
    height: 250px;
    position: relative;
    margin-bottom: 20px;
}

.services-thumbnails-component .image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 2px;
}

.services-thumbnails-component .item a:hover .image-holder:before {
    transform: rotate(360deg);
}

.services-thumbnails-component .title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.33;
    margin-bottom: 10px;
    color: var(--service-thumbnail-title-color);
}

.services-thumbnails-component a:hover .title {
    color: var(--service-thumbnail-title-color-hover);
}

.services-thumbnails-component a .read-more {
    color: var(--service-thumbnail-more-color);
    margin-top: 15px;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    display: inline-block;
}

.services-thumbnails-component a:hover .read-more {
    color: var(--service-thumbnail-more-color-hover);
}

.services-thumbnails-component a .read-more:after {
    content: '';
    display: block;
    border-bottom: solid 2px var(--service-thumbnail-more-color-hover);  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
}

.services-thumbnails-component a:hover .read-more:after {
    transform: scaleX(1);
}

@media only screen and (max-width: 991px) {
    .services-thumbnails-component .item {
        width: calc(1/2*100% - (1 - 1/2)*30px);
    }
}

@media only screen and (max-width: 776px) {
    .services-thumbnails-component .item,
    .section__row--2-50 .services-thumbnails-component .item {
        width: 100%;
    }

    .services-thumbnails-component .image-holder {
        height: 150px;
    }

    .services-thumbnails-component .image-holder img {
        object-position: center;
    }

    .services-thumbnails-component .title {
        font-size: 20px;
        line-height: 1.30;
    }

    .services-thumbnails-component .description {
        gap: 15px
    }

}


