﻿.home-center {
    padding-bottom: 46px;
    padding-top: 69px;
    background: url(/Design/img/BenhVienTuyPhong/LinhVucHoatDong/1.png) no-repeat;
    background-size: cover;
}

.home-center-container {
}

.home-center .decor {
    position: absolute;
    right: 37px;
    top: -19px;
}

.home-center-top {
}

.WDecorLinkCenter {
    text-align: center;
}

.home-center-top h3 {
    margin: 0;
    text-align: center;
    color: #FFF;
    font-family: 'InterB';
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 113.5%; /* 47.67px */
    letter-spacing: 1.05px;
    text-transform: uppercase;
}

.home-center-top span {
    display: block;
    color: #FFF;
    text-align: center;
    font-family: 'InterR';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    margin-top: 30px;
}

.home-center-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(6,minmax(0,1fr));
    column-gap: 26px;
    row-gap: 26px;
    margin-top: 36px;
    position: relative;
    padding-bottom: 37px;
}

.home-center-item {
    position: relative;
    display: block;
    padding: 0 9px;
    padding-top: 19px;
    padding-bottom: 31px;
    border-radius: 10px;
    background: #FFFFFF;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

    .home-center-item:nth-child(1) {
        padding-top: 21px;
    }

    .home-center-item:nth-child(6) {
        padding-top: 21px;
    }

    .home-center-item:hover {
    }

    .home-center-item img {
        margin: auto;
        position: relative;
    }

a.home-center-item:before {
    content: "";
    position: absolute;
    background: #46ADF8;
    width: 81px;
    height: 81px;
    border-radius: 81px;
    left: calc(50% - 44px);
    top: 38px;
    z-index: 0;
}

a.home-center-item:hover:before {
    background: #fff;
}

.home-center-item:hover {
    background: var(--hghg, linear-gradient(180deg, #C91236 0%, #CB0119 100%));
}

    .home-center-item:hover section.WListServiceHome p {
        color: #fff;
    }

.home-center-item:nth-child(2) h3, .home-center-item:nth-child(3) h3 {
    margin-top: 21px;
}

.home-center-item:nth-child(4) h3 {
    margin-top: 23px;
}

.home-center-item:nth-child(5) h3 {
    margin-top: 23px;
}

.home-center-item h3 {
    margin: 0;
    text-transform: capitalize;
    font-family: 'InterB';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 30px */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 10px;
    padding-left: 10px;
    height: 30px;
    color: #E61D3D;
    /* 30px */
}

.home-center-item:hover h3 {
    color: #fff;
}

section.WListServiceHome p {
    color: #4D4D4D;
    font-family: 'InterM';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 196%; /* 35.28px */
    margin: 0;
    position: relative;
}

section.WListServiceHome {
    text-align: left;
    padding-left: 25px;
}

span.WDetailLinkCenter {
    color: #FFF;
    font-family: 'InterSB';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 27px */
    display: inline-flex;
    padding: 4px 19px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 45px;
    background: #0077E2;
    margin-top: 20px;
    transition: all .3s;
}

section.WListServiceHome p:before {
    content: "";
    position: absolute;
    background: #4D4D4D;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    left: -13px;
    top: 14px;
}

.home-center-item:hover section.WListServiceHome p:before {
    background: #fff;
}

.WLinkFullCenter a {
    color: #46ADF8;
    font-family: 'InterM';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 133.188%; /* 23.974px */
    display: flex;
    width: 172px;
    padding: 12px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 38px;
    background: #FFFFFF;
    margin: auto;
    transition: all .3s;
}

    .WLinkFullCenter a:hover {
        background: #46ADF8;
        color: #fff;
    }

.home-center-item:hover span.WDetailLinkCenter {
    background: #fff;
    color: #DA251C;
}

.WLinkFullCenter {
    text-align: center;
}
/*RS*/
@media(min-width:1024px) and (max-width:1230px) {
    .home-center-list {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

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

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .home-center .decor {
        display: none;
    }

    a.home-center-item:before {
        top: 9px;
    }

    .WLinkFullCenter a {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 133.188%;
        display: flex;
        width: 140px;
        padding: 12px 10px;
    }

    .home-center-container {
        padding: 20px 0px;
    }

    .home-center-top h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .home-center {
        padding-top: 15px;
    }

    .home-center-top span {
        font-size: 14px;
        line-height: 26px;
        margin-top: 9px;
        display: block;
    }

    .home-center-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .home-center-item h3 {
        font-size: 16px;
        height: 24px;
        margin-top: 19px;
    }

    .home-center-item img {
        width: 64px;
    }

    section.WListServiceHome p {
        font-size: 13px;
    }

    span.WDetailLinkCenter {
        font-size: 13px;
    }

    section.WListServiceHome p:before {
        top: 11px;
        left: -8px;
        width: 5px;
        height: 5px;
    }

    .home-video .heading-left img {
        display: none;
    }

    .home-video .heading-left .content {
        margin-left: 0;
    }
}