#ce_wg_sites .sites-item {
    padding: 0 10px;
    margin-bottom: 20px;
}

#ce_wg_sites .sites-box {
    margin: 0 -10px;
}

@media (max-width: 991.98px) {
    #ce_wg_sites .col-md-4 {
        flex: 0 0 auto;
        width: 100%;
    }

    #ce_wg_sites .sites-box img {
        width: 100%;
    }
}

@media(min-width: 992px) {
    #ce_wg_sites .col-md-4 {
        flex: 0 0 auto;
        width: calc(50% - 10px);
    }

    #ce_wg_sites .sites-box > .col-12.sites-item:not([class*="col-xl-"]) img {
        height: 600px;
    }
}

@media(min-width: 1200px) {
    #ce_wg_sites .col-md-4 {
        flex: 0 0 auto;
        width: 32.1%;
    }
}

@media(min-width: 1400px) {
    #ce_wg_sites .col-md-4 {
        flex: 0 0 auto;
        width: 32.292%;
    }
}

#ce_wg_sites .sites-item {
    position: relative;
}

#ce_wg_sites .sites-item .image:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 20px;
    z-index:9999;
}

#ce_wg_sites .sites-item h3 {
    position: absolute;
    color: var(--white-color);
    bottom: 0;
    width: calc(100% - 20px);
    text-align: center;
    padding: 5px 30px;
    max-width: 100%;
    z-index:999999;
    cursor: pointer;
}

#ce_wg_sites .image a {
    opacity: 0.7;
    transition: 0.5s;
}

#ce_wg_sites .sites-item:hover .image a {
    opacity: 1;
}

#ce_wg_sites .image-container {
    overflow: hidden;
}

#ce_wg_sites .image-container {
    position: relative;
}

#ce_wg_sites .image-container .image {
    overflow: hidden;
    border-radius: 20px;
}

#ce_wg_sites .image-container img {
    transition: transform 0.4s ease;
    height: 300px;
    display: block;
    border-radius: var(--border-radius-20);
    width: 100%;
    object-fit: cover;
}

#ce_wg_sites .image-container:hover img {
    transform: scale(1.1);
}

#ce_wg_sites .person-image {
    position: relative;
}

#ce_wg_sites .person-image:before {
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.00) 42.01%, #1C1C1C 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
}

#ce_wg_sites h2 {
    text-align: center;
}

#ce_wg_sites .sites-teaser-text {
    text-align: center;
}
