#cam-popup {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    opacity: 1;
    visibility: visible;
    z-index: 999999;
}

#cam-popup.hidden {
    opacity: 0;
    visibility: hidden;
    z-index: -1
}

/* #cam-popup.cam-show-popup {
    opacity: 1;
    visibility: visible;
    z-index: 999999;
} */

.loading {
    font-size: 20px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
}

.cam-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
    gap: 30px;
}

.cam-team-item {
    /*background: #fff;*/
    /*text-align: center;*/
    /*border-radius: 8px;*/
    overflow: hidden;
}

.cam-team-item.popup-team {
    cursor: pointer;
}

.cam-team-item__image {
    max-height: 400px;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;

    img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
}

.cam-team-item__info {
    padding-top: 18px;
}

.cam-team-item__info p {
    margin-bottom: 0;
}

.cam-team-item__title {
    font-size: 35px;
    font-weight: 500;
    color: #000;
    margin-bottom: 0;
}

.cam-popup-content {
    max-width: 960px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.cam-popup-inner-content {
    flex: 2;
    padding: 24px;
    overflow-y: auto;
    max-height: 700px;
}

.cam-popup-inner-content p {
    font-size: 16px !important;
}



.cam-popup-image {
    width: 390px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.cam-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

.cam-popup-content .cam-popup-title {
    font-size: 35px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
}

.cam-popup-content .cam-popup-content p {
    color: #222;
    font-size: 16px;
}

.cam-close-popup {
    height: 40px;
    width: 40px;
    text-align: center;
    border: 0;
    background: #f1f1f1 !important;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease-in-out;

    svg {
        width: 16px;
        height: 16px;
        fill: #000;
    }
}

/* Responsive */

@media(max-width: 991px) {
    .cam-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .cam-team-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}