
.team {
    background: #fff;
    color: #000;
    border-radius: 15px;
    min-height: 100%;
    overflow: hidden;
    width: 320px;
    max-width: 100%;
    display: inline-block;
    position: relative;
}
.team-photo {
    overflow: hidden;
    height: 374px;
    height: clamp(17.125rem, 15.3321rem + 6.7024vw, 23.375rem);
}
.team-photo img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}
.team-info {
    padding: clamp(1.25rem, 1.1424rem + 0.4021vw, 1.625rem);
    text-align: center;
}
.team-name {
    font-size: clamp(1.25rem, 1.1783rem + 0.2681vw, 1.5rem);
    font-weight: 500;
    margin-bottom: clamp(0.625rem, 0.5354rem + 0.3351vw, 0.9375rem);
}
.team-post {
    font-size: clamp(1.125rem, 1.0891rem + 0.134vw, 1.25rem);
    margin-bottom: clamp(0.625rem, 0.5354rem + 0.3351vw, 0.9375rem);
}
.team-link {
    font-size: clamp(1.125rem, 1.0891rem + 0.134vw, 1.25rem);
    color: rgba(255, 77, 0, 1);
    text-decoration: none;
    border: none;
    background: transparent;
}
.team-link:hover {
    opacity: 0.8;
}

.team-gallery {
    border-radius: 15px;
    height: clamp(12.25rem, 10.7533rem + 3.1223vw, 14.5rem);
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.team-gallery--big {
    height: 522px;
    height: clamp(12.25rem, 3.6329rem + 32.2134vw, 32.625rem);
}

.modal-dialog {
    width: 916px;
    max-width: calc(100% - 50px);
    margin: auto;
}
.modal-team .modal-content {
    background: #fff;
    border-radius: 15px;
    border: none;
    color: #000;
}
.modal-body {
    padding: 15px;
    position: relative;
}
.modal-team .btn-close {
    top: 14px;
    right: 14px;
    left: auto;
    position: absolute;
    font-size: 22px;
    color: #000;
    opacity: 0.5;
    border-radius: 0;
    background: transparent;
    padding: 0;
    border: none;
    line-height: 0;
}
.modal-team .btn-close:hover {
    opacity: 1;
}
.modal-team__photo {
    width: 320px;
    max-width: 40%;
    height: 415px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}
@media (min-width: 767px) {
    .d-md-flex:not(.align-items-center) > .modal-team__photo {
        height: auto;
    }
}
.modal-team__content {
    width: calc(100% - 320px);
    padding-left: 40px;
    font-size: 16px;
}
.modal-team__content h4,
.modal-team__content .h4 {
    margin-bottom: 15px;
}
.modal-team__content .text-lg {
    margin-bottom: 30px;
}
.modal-team__content ul {
    margin-bottom: 30px;
    padding-left: 18px;
}
.modal-team__content ul ul {
    list-style: disc;
    padding-top: 8px;
}
.modal-team__content li:not(:last-child) {
    margin-bottom: 10px;
}   
.modal-team__content li li{
    margin-bottom: 1px !important;
}   
.modal-team__logo {
    display: flex; 
    align-items: center; 
    gap: 15px;
    width: 100%;
    height: 32px;
}
.modal-team__logo img {
    /* max-width: 100%;
    object-fit: contain;
    object-position: center;
    height: 42px; */
    height: 100%;
    object-fit: contain;

    width: auto;
    max-width: 100%;
    flex-shrink: 1;
}


.investors {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.investors img {
    height: 76px;
    object-fit: contain;
    object-position: center;
}
.investors a {
    text-align: center;
    max-width: 20%;
}

@media (max-width: 1199px) {
    .investors {
        gap: 35px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .investors a {

        max-width: calc(50% - 35px);
    }
    .investors img {
        max-height: 45px;
    }
}


@media (max-width: 1024px) and (min-width: 767px) {
    .team {
        width: 360px;
    }
}

@media (max-width: 767px) {
    .modal-team .btn-close {
        top: 24px;
        right: 24px;
        background: #fff;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        border-radius: 50%;
        font-size: 12px;
        color: rgba(0,0,0,.5);
    }
    .modal-team__photo {
        width: 100%;
        max-width: 428px;
        object-position: top;
        height: 248px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px; 
    }
    .modal-team__content {
        width: 100%;
        padding-left: 0;
        font-size: 16px;
    }

.modal-team__content h4, .modal-team__content .h4 {
    margin-bottom: 10px;
}
.modal-team__content .text-lg {
    margin-bottom: 25px;
}



}

@media (max-width: 440px) {
    .team {
        width: 100%;
    }
    .modal-team__logo {
        height: 19px;
        gap: 8px;
    }
   
}

