/* =========================================
   ОТДЕЛ ПРОДАЖ
   ========================================= */

.department-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   ЗАГОЛОВОК
   ========================================= */

.department-title {
    margin: 0 0 20px 0;
    padding: 0;
    color: #222222;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 400;
}


/* =========================================
   ОПИСАНИЕ ОТДЕЛА
   ========================================= */

.department-intro {
    margin: 0 0 27px 0;
    padding: 0;
    color: #444444;
    font-size: 16px;
    line-height: 1.6;
}

.department-intro strong {
    color: #111111;
    font-weight: 700;
}


/* =========================================
   КАРТОЧКА СОТРУДНИКА
   ========================================= */

.employee-card {
    display: flex;
    align-items: flex-start;

    width: 100%;
    min-height: 280px;

    margin: 0 0 20px 0;
    padding: 0;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #dfe4e8;

    overflow: hidden;
}


/* =========================================
   ФОТО СОТРУДНИКА
   ========================================= */

/* ФОТО СОТРУДНИКА */
.employee-photo {
    flex: 0 0 270px;
    width: 270px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

.employee-photo img {
    display: block;

    width: 230px;
    height: 240px;

    max-width: none;

    object-fit: cover;

    border-radius: 0;
    border: none;

    margin: 0;
    padding: 0;
}


/* =========================================
   КОНТЕНТ СОТРУДНИКА
   ========================================= */

.employee-content {
    flex: 1;
    min-width: 0;

    padding: 40px 40px 35px 0;

    box-sizing: border-box;
}


/* =========================================
   ВЕРХНЯЯ ЧАСТЬ
   ========================================= */

.employee-top {
    display: block;
    width: 100%;
}


/* =========================================
   ДОЛЖНОСТЬ
   ========================================= */

.employee-position {
    margin: 0 0 9px 0;
    padding: 0;

    color: #718096;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 500;

    letter-spacing: 0.3px;
    text-transform: uppercase;
}


/* =========================================
   ИМЯ
   ========================================= */

.employee-name {
    margin: 0;
    padding: 0;

    color: #111111;

    font-size: 20px;
    line-height: 1.35;

    font-weight: 600;
}


/* =========================================
   КОНТАКТЫ
   ========================================= */

.employee-contact {
    display: flex;
    align-items: flex-start;

    gap: 60px;

    margin-top: 14px;
    padding: 0;

    flex-wrap: wrap;
}

.contact-item {
    min-width: 180px;
    margin: 0;
    padding: 0;
}


/* =========================================
   ПОДПИСИ КОНТАКТОВ
   ========================================= */

.contact-label {
    display: block;

    margin: 0 0 6px 0;
    padding: 0;

    color: #718096;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 500;

    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* =========================================
   ССЫЛКИ
   ========================================= */

.contact-item a {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: #1d3557;

    font-size: 15px;
    line-height: 1.5;

    font-weight: 400;

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #c62828;
}


/* =========================================
   ЗНАЧЕНИЕ КОНТАКТА
   ========================================= */

.contact-value {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: #1d3557;

    font-size: 15px;
    line-height: 1.5;

    font-weight: 400;

    white-space: nowrap;
}


/* =========================================
   ОПИСАНИЕ СОТРУДНИКА
   ========================================= */

.employee-description {
    width: 100%;
    max-width: none;

    margin: 25px 0 0 0;
    padding: 0;

    color: #777777;

    font-size: 15px;
    line-height: 1.6;

    font-weight: 400;
}


/* =========================================
   ПЛАНШЕТ
   ========================================= */

@media (max-width: 800px) {

    .employee-photo {
        flex: 0 0 190px;
        width: 190px;

        padding: 20px;
    }

    .employee-photo img {
        width: 150px;
        height: 210px;
    }

    .employee-content {
        padding: 35px 25px 30px 0;
    }

    .employee-contact {
        gap: 35px;
    }

    .contact-item {
        min-width: 150px;
    }
}


/* =========================================
   МОБИЛЬНЫЙ
   ========================================= */

@media (max-width: 600px) {

    .department-title {
        margin: 0 0 18px 0;

        font-size: 28px;
        line-height: 1.25;
    }

    .department-intro {
        margin: 0 0 22px 0;

        font-size: 15px;
        line-height: 1.55;
    }


    /* Карточка */
    .employee-card {
        display: block;

        min-height: 0;

        margin-bottom: 20px;
    }


    /* Фото */
    .employee-photo {
        width: 100%;

        padding: 25px 20px 5px;

        justify-content: center;
    }

    .employee-photo img {
        width: 140px;
        height: 190px;

        border-radius: 0;
    }


    /* Контент */
    .employee-content {
        width: 100%;

        padding: 18px 22px 28px;
    }


    /* Должность */
    .employee-position {
        font-size: 11px;
    }


    /* Имя */
    .employee-name {
        font-size: 20px;
    }


    /* Контакты */
    .employee-contact {
        display: block;

        margin-top: 20px;
    }

    .contact-item {
        min-width: 0;

        margin: 0 0 15px 0;
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }


    /* Email и телефон */
    .contact-item a {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* Офис */
    .contact-value {
        white-space: normal;
    }


    /* Описание */
    .employee-description {
        margin-top: 20px;

        font-size: 14px;
        line-height: 1.55;
    }
}


/* =========================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ========================================= */

@media (max-width: 400px) {

    .department-title {
        font-size: 25px;
    }

    .department-intro {
        font-size: 14px;
    }

    .employee-photo {
        padding-top: 20px;
    }

    .employee-photo img {
        width: 130px;
        height: 180px;
    }

    .employee-content {
        padding: 16px 18px 25px;
    }

    .employee-name {
        font-size: 19px;
    }

    .employee-description {
        font-size: 14px;
    }
}

				.wp-image-8107 {
						width: 100% !important;
						max-width: 1200px;
						height: 200px !important;
						object-fit: cover;
						object-position: center;
						display: block;
				}

				@media (max-width: 768px) {
						.wp-image-8107 {
								width: 100%;
								height: auto;
						}
				}


/* =========================================
   КОМПАКТНЫЕ КАРТОЧКИ СОТРУДНИКОВ
   ========================================= */

.compact-employees {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    width: 100%;
    margin: 30px 0 30px 0;
    box-sizing: border-box;
}


/* Карточка */

.compact-employee {
    background: #fff;
    border: 1px solid #dfe4e8;

    box-sizing: border-box;
    overflow: hidden;

    padding: 25px 30px 20px;

    min-width: 0;
}


/* Должность */

.compact-employee-position {
    margin: 0 0 10px 0;
    padding: 0;

    color: #718096;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}


/* Почта */

.compact-employee-email {
    display: inline-block;

    margin: 0 0 20px 0;
    padding: 0;

    color: #1d3557;

    font-size: 15px;
    line-height: 1.5;

    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.compact-employee-email:hover {
    color: #c62828;
}


/* Горизонтальная картинка */

.compact-employee-image {
    display: block;

    width: 100%;
    height: 130px;

    margin: 0;

    object-fit: cover;
    object-position: center;
}

.compact-employee-description {
    margin: 0 0 20px 0;
    padding: 0;

    color: #777777;

    font-size: 14px;
    line-height: 1.5;

    font-weight: 400;
}


/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */

@media (max-width: 600px) {

    .compact-employees {
        grid-template-columns: 1fr;
        gap: 15px;

        margin-top: 25px;
        margin-bottom: 25px;
    }

    .compact-employee {
        padding: 20px 22px 20px;
    }

    .compact-employee-image {
        width: 100%;
        height: 110px;
    }
}