﻿.WTopHomeService h4 {
    margin: 0;
    color: #fff;
    font-family: 'Italianno-Regular';
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.decor-img-service-hh {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

    .decor-img-service-hh img {
        width: 100%;
        object-fit: cover;
    }

.WContentHomeService {
    position: relative;
}

.WHomeService {
    padding-top: 99px;
    padding-bottom: 50px;
    position: relative;
    display: none;
}

    .WHomeService:before {
        content: "";
        position: absolute;
        background: url(/Design/img/NhaHang/dv/song.png) repeat;
        background-size: 100% 100%;
        left: 0;
        top: -29px;
        width: 100%;
        height: 173px;
        z-index: 1;
    }

.WTopHomeService span {
    display: block;
    color: #1F1917;
    font-family: 'Montserrat-Medium';
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.WTitleServiceHome h4 {
    margin: 0;
    color: #fff;
    font-family: 'Italianno-Regular';
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    transition: all .3s ease-in-out;
}

.WContentItemNewRHome:hover .WTitleServiceHome h4 {
    color: #93b925;
}

.WServiceTitleH span {
    color: #fff;
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 150% */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-service-item span {
    color: #fff;
    font-family: 'Montserrat-Regular';
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; /* 150% */
    position: absolute;
    bottom: 14px;
    left: 19px;
}

.WRTitleDesServiceHome {
    margin-top: 14px;
}

.WImgServiceHome img {
    width: 100%;
    height: 437px;
    object-fit: cover;
    border-radius: 20px;
}

.WImgServiceHome {
    position: relative;
    border-radius: 20px;
}

.WBottomHomeService {
    padding-top: 97px;
    overflow: hidden;
}

.view-service-item {
    position: relative;
    margin-top: 17px;
}

.WServiceTitleH {
    margin-top: 8px;
}

.item-service-hh-c .button-circle svg {
    transform: rotate(0deg);
    transition: .6s linear
}

.item-service-hh-c:hover .button-circle svg {
    transform: rotate(360deg);
}

.item-service-hh-c {
    transition: all .3s ease-in-out;
}

    .item-service-hh-c.swiper-slide-active {
        transform: translateY(-62px);
        transition: all .3s ease-in-out;
    }

.WImgServiceHome:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #FAFF16;
    border-radius: 20px;
    opacity: 0;
    transition: all .3s ease-in-out;
    transform: translate(0, 0);
}

.WContentItemNewRHome:hover .WImgServiceHome:before {
    opacity: 1;
    transform: translate(-0.9rem, -0.9rem);
}

@media(max-width:1023px) {
    .WHomeService {
        padding-top: 30px;
    }

        .WHomeService:before {
            background-repeat: no-repeat;
            background-size: contain;
            height: 86px;
            top: -26px;
        }

    .WBottomHomeService {
        padding-top: 20px;
    }

    .WTopHomeService h4 {
        font-size: 30px;
    }

    .WTopHomeService span {
        font-size: 12px;
    }

    .decor-img-service-hh img {
        height: 280px;
    }

    .WImgServiceHome:before {
        content: unset;
    }

    .WTitleServiceHome h4 {
        font-size: 32px;
    }

    .WImgServiceHome img {
        height: auto;
    }

    .WContentItemNewRHome.swiper-slide-active {
        transform: none;
    }
}