
.team {
    padding: 15px;
}

.team__wrapper {
    width: 100%;
    max-width: 940px;
    display: flex;
    align-items: flex-start;
    column-gap: 60px;
    row-gap: 30px;
    padding: 20px 0 20px 0;
    margin: 30px auto;
    margin-bottom: 10px;
}

.team__box {
    -webkit-box-shadow: 4px 4px 12px 0 rgb(34 60 80 / 20%);
    box-shadow: 4px 4px 12px 0 rgb(34 60 80 / 20%);
    padding: 20px;
}

.team__box-one {
    max-width: 300px;
}

.team__box-two {
    display: none;
}

.team__box-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.team__box-descr {
    font-size: 16px;
    margin: 0px 0 16px 0;
}

.team__descr {
    max-width: 580px;
    line-height: 24px;
    -webkit-box-shadow: 4px 4px 12px 0 rgba(34, 60, 80, .2);
    box-shadow: 4px 4px 12px 0 rgba(34, 60, 80, .2);
    padding: 20px;
}

.team__all {
    margin-top: 45px;
}

.team__all a {
    color: #f9ab00;
}

.team__all a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.team h1 {
    line-height: 52px;
    font-size: 23px;
}

.team p {
    margin-bottom: 16px;
}

.team ul {
    list-style-type: disc;
    padding-left: 10px;
    margin-bottom: 16px;
}

.content .article__comments-title {
    text-transform: uppercase;
    padding: 10px;
    margin-bottom: 20px;
}

.article__comments-form {
    width: 100%;
}

.article__comments-form form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 50px;
}

.article__comments-form form input,
.article__comments-form form textarea {
    -webkit-box-shadow: 0 3px 5px 2px rgba(34, 60, 80, .2) inset;
    box-shadow: 0 3px 5px 2px rgba(34, 60, 80, .2) inset;
    border: 1px solid rgba(34, 60, 80, .2);
    resize: none;
    padding: 10px;
    margin-bottom: 20px;
}

.article__comments-form form button {
    width: 200px;
    color: #fff;
    background-color: #303749;
    border: none;
    -webkit-transition: -webkit-box-shadow ease-in-out .2s;
    transition: -webkit-box-shadow ease-in-out .2s;
    -o-transition: box-shadow ease-in-out .2s;
    transition: box-shadow ease-in-out .2s;
    transition: box-shadow ease-in-out .2s, -webkit-box-shadow ease-in-out .2s;
    cursor: pointer;
    padding: 20px;
    margin: 0 auto;
}

.content .article__comments-item {
    font-size: 14px;
    -webkit-box-shadow: 0 3px 5px 2px rgba(34, 60, 80, .2);
    box-shadow: 0 3px 5px 2px rgba(34, 60, 80, .2);
    padding: 20px;
    margin-bottom: 30px;
}

.content .article__comments-info {
    margin-bottom: 20px;
}

.map {
    margin-bottom: 20px;
}

.map__container {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
}

@media(max-width: 992px) {

    .team__wrapper {
        max-width: 700px;
        flex-direction: column;
    }

    .team__box {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .team__box-one {
        order: 3;
        max-width: 100%;
    }

    .team__box-one .team__box-main {
        display: none;
    }

    .team__box-two {
        display: block;
        order: 1;
    }

    .team__box-img {
        width: 100%;
        margin: 0 auto;
    }

    .team__box-name {
        text-align: center;
        margin-top: 16px;
    }

    .team__box-descr {
        text-align: center;
    }

    .team__descr {
        order: 2;
        line-height: 24px;
        -webkit-box-shadow: 4px 4px 12px 0 rgba(34, 60, 80, .2);
        box-shadow: 4px 4px 12px 0 rgba(34, 60, 80, .2);
        padding: 20px;
    }

    .team__all {
        width: 100%;
        max-width: 100%;
        margin: 45px auto;
        margin-bottom: 0px;
    }

}

@media(max-width: 768px) {

    .team__box {
        width: 89%;
    }

}

@media(max-width: 425px) {

    .team__box {
        width: 100%;
    }

    .team h1 {
        font-size: 23px;
        line-height: 32px;
        margin-bottom: 16px;
    }

    .article__comments-form form input,
    .article__comments-form form textarea {
        font-size: 14px;
    }

}