﻿.wp-specialties-home {
    background: url(/Design/img/BeThuiCauMong/DacSan/decorBack.png) no-repeat;
    background-size: cover;
    padding-bottom: 65px;
}

.top-specialties-home {
    text-align: center;
    padding-bottom: 88px;
}

    .top-specialties-home h2 {
        color: var(--default-color-3);
        font-family: 'lober';
        font-weight: bold;
        font-size: 60px;
        margin: 0;
        text-transform: capitalize;
    }

h1.title-specialties-home {
    font-size: 41.1px;
    font-family: lober;
    color: #ffffff;
    margin: 0;
    padding-top: 65px;
    margin-bottom: 17px;
}

img.name-specialties-home {
    margin: auto;
}

li.item-specialties-home {
    list-style: none;
    position: relative;
}

    li.item-specialties-home:hover .bottom-content-specialties-home {
        background: #df1d25;
    }

ul.list-specialties-home {
    /* padding: 0; */
    /* display: grid; */
    /* grid-auto-rows: minmax(min-content,max-content); */
    /* grid-template-columns: repeat(4,minmax(0,1fr)); */
    /* column-gap: 20px; */
    /* row-gap: 19px; */
}

.top-img-specialties-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    background: #fff;
    box-shadow: #ddd3d37d 1px 2px 1px 0px;
}

.bottom-content-specialties-home {
    background: #ffffff;
    text-align: center;
    padding: 98px 33px 30px 33px;
    border-radius: 20px;
    position: relative;
    top: -85px;
    transition: all .3s;
}

li.item-specialties-home:hover h3.name-bottom-specialties-home {
    color: #fff;
}

h3.name-bottom-specialties-home {
    margin: 0;
    font-family: lober;
    font-size: 34px;
    margin-bottom: 18px;
    overflow: hidden;
    height: 44px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

span.des-botom-specialties-home {
    font-size: 16px;
    font-family: AsapR;
    color: #131313;
    line-height: 1.5;
    overflow: hidden;
    height: 75px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    /* padding-bottom: 16px; */
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

li.item-specialties-home:hover span.des-botom-specialties-home {
    color: #fff;
}

.top-img-specialties-home {
    width: 230px;
    height: 230px;
    margin: auto;
    position: relative;
    z-index: 1;
}

li.item-specialties-home:hover a.view-detail-specialties-home {
    background: #131313;
    color: #fff;
}

a.view-detail-specialties-home {
    background: #df1d25;
    font-size: 16px;
    color: #fff;
    font-family: AsapB;
    width: 174px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin: auto;
    margin-top: 30px;
    text-transform: uppercase;
}

.wp-specialties-home .grid.wide {
    max-width: 1255px;
}

.swiper-pagination-bullet {
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    line-height: 20px;
    font-family: 'AsapB';
    font-size: 16.89px;
    color: #fff;
    opacity: 1;
    background: #4d5765;
    margin: 0 10px !important;
    position: relative;
}

    .swiper-pagination-bullet:before {
        content: "";
        position: absolute;
        width: 36px;
        height: 36px;
        background: url(/Design/img/BeThuiCauMong/DacSan/decorNumber.png) no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.swiper-pagination-bullet-active {
    color: #fff;
    background: #df1d25;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
    height: 38px;
    position: relative;
    bottom: unset;
}

.swiper-pagination-bullet-active:before {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    background: url(/Design/img/BeThuiCauMong/DacSan/decorNumberHover.png) no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal:before {
    content: "";
    position: absolute;
    width: 143px;
    height: 2px;
    left: 209px;
    background: url(/Design/img/BeThuiCauMong/DacSan/decorLeft.png) no-repeat;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal:after {
    content: "";
    position: absolute;
    width: 143px;
    height: 2px;
    right: 210px;
    background: url(/Design/img/BeThuiCauMong/DacSan/decorRight.png) no-repeat;
}
