.team {
    padding: 50px 0;
}
@media (max-width: 1200px) {
    .team {
        padding: 50px 0 10px;
    }
}
.team .header {
    margin-bottom: 50px;
}
.team .header h2 {
    color: #fff;
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 1.52px;
}
.team .wrap {
    display: flex;
    flex-wrap: wrap;
}
.team .wrap .inner {
    display: flex;
    flex-direction: column;
    width: 20%;
    padding: 0 10px;
    margin-bottom: 40px;
    cursor: pointer;
}
@media (max-width: 1200px) {
    .team .wrap .inner {
        width: 33%;

    }
}
@media (max-width: 767px) {
    .team .wrap .inner {
        width: 50%;
    }
}
.team .wrap .inner .name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
}
.team .wrap .inner .job {
    font-size: 18px;
    color: #fff;
}


.modal {
    padding: 0 15px !important;
}
.modal .wrap {
    background: #fff;
    align-items: center;
}
@media (max-width: 720px) {
    .modal .wrap {
        display: flex;
        flex-direction: column;
    }
}
.modal .wrap .left img {
    aspect-ratio: 295/361;
    width: 295px;
    height: auto;
    object-fit: cover;
}
@media (max-width: 720px) {
    .modal .wrap .left img {
        display: none;
    }
}
.modal .wrap .left .text {
    background: #6E162F;
    padding: 20px;
    min-height: 120px;
}
@media (max-width: 720px) {
    .modal .wrap .left .text {
        text-align: center;
    }
}
.modal .wrap .left .text .name {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    line-height: 32px;
}

.modal .wrap .left {
    max-width: 295px;
}

.modal .wrap .left .text .job {
    color: #fff;
    font-size: 17px;
}
.modal .wrap .right {
    width: 555px;
    padding: 20px;
    overflow-y: scroll;
    height: 478px;
}
@media (max-width: 1200px) {
    .modal .wrap .right {
        width: 400px;
    }
}
@media (max-width: 720px) {
    .modal .wrap .right {
        width: 100%;
    }
}
.modal .wrap .right .btn-close {
    margin-left: auto;
    display: block;
    position: relative;
    z-index: 5;
    margin-bottom: 15px;
}
.modal .wrap .right p:last-of-type {
    margin: 0;
}
.modal .modal-dialog {
    max-width: 876px!important;
}
@media (max-width: 1200px) {
    .modal .modal-dialog {
        max-width: 700px!important;
    }
}
