﻿.wp-service-home .grid.wide {
    max-width: 1330px;
}

.top-service-home {
    text-align: center;
    margin-bottom: 20px;
}

    .top-service-home h2 {
        font-size: 38px;
        color: #1359bb;
        text-transform: uppercase;
        font-family: 'Bebas';
        margin: 0;
        padding-bottom: 20px;
        position: relative;
        margin-bottom: 20px;
    }

        .top-service-home h2:after {
            content: "";
            position: absolute;
            background: #b4b6bb;
            width: 138px;
            height: 2px;
            bottom: 0;
            left: calc(50% - 69px);
        }

.wp-service-home {
    background: #fff;
    padding-top: 50px;
    padding-bottom: 30px;
}

.top-service-home span {
    font-size: 18px;
    font-family: 'BEVNR';
    color: #2a2f35;
    display: block;
    line-height: 1.5;
    padding: 0 268px;
}

.bottom-service-home {
    /* padding-top: 59px; */
}

li.item-service-home {
    list-style: none;
}

ul.list-service-home {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.top-img-service-home img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 10px;
}

.title-item-service-home h3 {
    font-size: 24.03px;
    font-family: Bebas;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

li.item-service-home:hover .widget-info-service-home {
    top: 0;
    visibility: visible;
    opacity: 1;
}

.widget-info-service-home {
    width: 382px;
    height: 344px;
    background: hsl(215deg 82% 40% / 90%);
    border-radius: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
    visibility: hidden;
    opacity: 0;
    top: 50px;
    position: relative;
    transition: all linear .3s;
}

.top-img-service-home {
    position: relative;
}

    .top-img-service-home:before {
        content: "";
        position: absolute;
        width: 431px;
        height: 257px;
        bottom: 0;
        left: 0;
        background: url(/Design/img/HoangKimBio/Service/decorService.png) no-repeat;
        border-radius: 0 0 10px 10px;
        transition: all .3s;
    }

.title-item-service-home {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    padding-bottom: 30px;
    text-align: center;
    z-index: 1;
}

li.item-service-home:hover .title-item-service-home {
    opacity: 0;
}

li.item-service-home:hover .top-img-service-home:before {
    content: unset;
}

.wp-widget-decor-service-home {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: all .4s;
}

.widget-info-service-home h1 {
    font-size: 22.17px;
    font-family: Bebas;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
}

span.slogan-service-home {
    display: block;
    text-align: center;
    font-size: 17.77px;
    color: #ffffff;
    font-family: 'InterR';
    padding-bottom: 8px;
    margin-bottom: 20px;
    position: relative;
    display: none;
}

    span.slogan-service-home:after {
        content: "";
        position: absolute;
        background: #fff;
        width: 46px;
        height: 1px;
        bottom: 0;
        left: calc(50% - 22px);
    }

span.des-service-home {
    display: block;
    padding: 0 45px;
    font-size: 14.8px;
    color: #fff;
    font-family: 'BeVNR';
    line-height: 1.5;
    text-align: center;
}

    span.des-service-home div {
        position: relative;
    }

        span.des-service-home div:before {
            content: "";
            position: absolute;
            background: #fff;
            width: 6px;
            height: 6px;
            border-radius: 50px;
            left: -15px;
            top: 8px;
        }

a.detail-view-service-home {
    display: flex;
    justify-content: center;
    font-size: 16.74px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
    text-decoration: underline;
}

a.detail-widget-service-link {
}
