/* Заголовок сотрудников — по образцу блока документов */
.stm-emp-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 24px;
}
.stm-emp-heading__content { min-width: 0; }
.stm-emp-heading__title {
    margin: 0 0 8px;
    color: #001b72;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
}
.stm-emp-heading__description {
    margin: 0;
    color: #68758f;
    font-size: 16px;
    line-height: 1.6;
}
.stm-emp-heading__link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid #001b72;
    border-radius: 8px;
    background: #fff;
    color: #001b72 !important;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.stm-emp-heading__link:hover {
    background: #001b72;
    color: #fff !important;
}

/* Фильтр городов */
.stm-emp-city-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}
.stm-emp-city-btn {
    padding: 9px 16px;
    border: 1px solid #d8e0f0;
    border-radius: 7px;
    background: #fff;
    color: #001b72;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.stm-emp-city-btn:hover,
.stm-emp-city-btn.is-active {
    border-color: #001b72;
    background: #001b72;
    color: #fff;
}

/* Существующий вид карточек */
.stm-emp-section { margin: 28px 0 38px; }
.stm-emp-section-title { font-size: 25px; margin: 0 0 20px; color: #061983; }
.stm-emp-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.stm-emp-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e5eaf5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,27,114,.07);
}
.stm-emp-photo {
    display: block;
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f2f5ff;
}
.stm-emp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s;
}
.stm-emp-photo:hover img { transform: scale(1.035); }
.stm-emp-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,27,114,.60);
    opacity: 0;
    transition: opacity .2s;
}
.stm-emp-photo:hover .stm-emp-hover { opacity: 1; }
.stm-emp-hover span,
.stm-emp-more {
    display: inline-block;
    background: #061983;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.stm-emp-hover span { background: #fff; color: #061983 !important; }
.stm-emp-card-info { padding: 15px; }
.stm-emp-card-info h3 { font-size: 17px; line-height: 1.4; margin: 0 0 8px; }
.stm-emp-card-info h3 a { color: #061983; text-decoration: none; }
.stm-emp-card-info p { font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.stm-emp-more { font-size: 14px; }
.stm-emp-no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d7897;
}
.stm-emp-home-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 66px)/4);
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding: 2px 2px 15px;
}
.stm-emp-home-scroll .stm-emp-photo { height: 230px; }
.stm-emp-card[hidden] { display: none !important; }
.stm-emp-detail {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(280px,.8fr);
    gap: 32px;
    align-items: start;
}
.stm-emp-detail h1 { color: #061983; }
.stm-emp-detail-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.stm-emp-contacts {
    background: #f2f5ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    overflow-wrap: anywhere;
}
.stm-emp-contacts p { margin: 0 0 12px; }
.stm-emp-contacts p:last-child { margin-bottom: 0; }
.stm-emp-contact-button {
    display: inline-block;
    margin-top: 15px;
    background: #061983;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
}
@media (max-width: 1024px) {
    .stm-emp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .stm-emp-home-scroll { grid-auto-columns: calc((100% - 22px)/2); }
}
@media (max-width: 600px) {
    .stm-emp-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .stm-emp-grid { grid-template-columns: 1fr; }
    .stm-emp-home-scroll { grid-auto-columns: 80%; }
    .stm-emp-detail { grid-template-columns: 1fr; }
    .stm-emp-photo { height: 260px; }
    .stm-emp-city-filter { gap: 8px; }
    .stm-emp-city-btn { padding: 8px 12px; }
}

/* Размер текста кнопки как у «Все документы» */
.stm-emp-heading__link {
    font-size: 16px;
}


/* Карточка сотрудника — расположение по предоставленному образцу */
.stm-employees-page .stm-emp-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stm-employees-page .stm-emp-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    border: 1px solid #d9e0e8;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.stm-employees-page .stm-emp-photo {
    position: static;
    flex: 0 0 230px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    overflow: hidden;
}

.stm-employees-page .stm-emp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.stm-employees-page .stm-emp-card-info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 0 0;
}

.stm-employees-page .stm-emp-position {
    margin: 0 0 10px;
    color: #68758f;
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
}

.stm-employees-page .stm-emp-card-info h3 {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.35;
}

.stm-employees-page .stm-emp-card-info h3 a {
    color: #111;
}

.stm-employees-page .stm-emp-card-contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 22px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.stm-employees-page .stm-emp-contact {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #29456c;
    font-size: 15px;
    line-height: 1.5;
}

.stm-employees-page .stm-emp-contact::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #68758f;
    font-size: 11px;
    letter-spacing: .02em;
}

.stm-employees-page .stm-emp-contact a {
    color: #29456c;
    text-decoration: none;
}

.stm-employees-page .stm-emp-contact a:hover {
    text-decoration: underline;
}

.stm-employees-page .stm-emp-contact-button {
    display: inline-block;
    margin: 0 0 20px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #001b72 !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.stm-employees-page .stm-emp-contact-button:hover {
    background: #001b72 !important;
}

.stm-employees-page .stm-emp-card-description {
    color: #68758f;
    font-size: 15px;
    line-height: 1.6;
}

.stm-employees-page .stm-emp-card-description p {
    margin: 0 0 8px;
}

.stm-employees-page .stm-emp-card-description p:last-child {
    margin-bottom: 0;
}

.stm-employees-page .stm-emp-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: #f2f5ff;
}

@media (max-width: 700px) {
    .stm-employees-page .stm-emp-card {
        flex-direction: column;
        align-items: center;
        padding: 18px;
    }

    .stm-employees-page .stm-emp-photo,
    .stm-employees-page .stm-emp-no-image {
        flex-basis: auto;
        width: 190px;
        height: 190px;
    }

    .stm-employees-page .stm-emp-card-info {
        width: 100%;
        padding-top: 4px;
    }

    .stm-employees-page .stm-emp-card-contacts {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stm-employees-page .stm-emp-contact-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Принудительно: одна карточка сотрудника на всю ширину строки */
.stm-employees-page .stm-emp-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
}

.stm-employees-page .stm-emp-card {
    display: flex !important;
    flex-direction: row;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    flex: 0 0 100%;
}

@media (max-width: 700px) {
    .stm-employees-page .stm-emp-card {
        flex-direction: column;
        align-items: center;
    }
}

/* Цвет кнопки «Написать сотруднику» на общей странице */
.stm-employees-page .stm-emp-message-btn {
    background-color: #001b72 !important;
}

/* Синяя кнопка сотрудника на общей странице */
.stm-employees-page a.stm-emp-message-btn,
.stm-employees-page a.stm-emp-message-btn.pum-trigger,
.stm-employees-page a.stm-emp-message-btn:hover,
.stm-employees-page a.stm-emp-message-btn:focus {
    background: #001b72 !important;
    background-color: #001b72 !important;
}

/* Точный цвет кнопки в новой карточке сотрудника */
.employee-card a.stm-emp-message-btn.pum-trigger,
.employee-card a.stm-emp-message-btn.pum-trigger:hover,
.employee-card a.stm-emp-message-btn.pum-trigger:focus,
.employee-card a.stm-emp-message-btn.pum-trigger:active {
    background: #001b72 !important;
    background-color: #001b72 !important;
    background-image: none !important;
    border-color: #001b72 !important;
    color: #ffffff !important;
}

/* Кнопка связи с сотрудником — отдельный класс */
.employee-card a.stm-emp-message-btn,
.employee-card a.stm-emp-message-btn.pum-trigger,
.employee-card a.stm-emp-message-btn:hover,
.employee-card a.stm-emp-message-btn:focus,
.employee-card a.stm-emp-message-btn:active {
    background: #001b72 !important;
    background-color: #001b72 !important;
    background-image: none !important;
    border-color: #001b72 !important;
    color: #ffffff !important;
}

/* Кнопка связи на общей странице сотрудников */
.stm-employees-page .employee-card .sm-btn-wrap {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.stm-employees-page .employee-card a.sm-btn,
.stm-employees-page .employee-card a.sm-btn.pum-trigger,
.stm-employees-page .employee-card a.sm-btn:hover,
.stm-employees-page .employee-card a.sm-btn:focus,
.stm-employees-page .employee-card a.sm-btn:active {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #001b72 !important;
    background-color: #001b72 !important;
    background-image: none !important;
    border-color: #001b72 !important;
    color: #ffffff !important;
}


/* ========================================= 
   ОТДЕЛ ПРОДАЖ 
   ========================================= */ 
 
.department-section { 
    width: 100%; 
    max-width: 1425px; 
    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; 
 
    cursor: pointer; 
 
    transition: 
        border-color 0.2s ease, 
        box-shadow 0.2s ease; 
} 
 
 
.employee-card:hover { 
    border-color: #cbd5df; 
} 
 
 
/* ========================================= 
   ФОТО СОТРУДНИКА 
   ========================================= */ 
 
.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: 230px; 
 
    max-width: none; 
 
    object-fit: cover; 
 
    border-radius: 50%; 
 
    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 { 
    position: relative; 
 
    display: inline-block; 
 
    margin: 0; 
    padding: 0 0 5px 0; 
 
    color: #111111; 
 
    font-size: 20px; 
    line-height: 1.35; 
 
    font-weight: 600; 
 
    transition: color 0.2s ease; 
} 
 
 
.employee-name::after { 
    content: ""; 
 
    position: absolute; 
 
    left: 0; 
    right: 0; 
    bottom: 0; 
 
    height: 3px; 
 
    background: #1d3557; 
 
    transform: scaleX(0); 
    transform-origin: left center; 
 
    transition: transform 0.25s ease; 
} 
 
 
.employee-card:hover .employee-name::after { 
    transform: scaleX(1); 
} 
 
 
/* ========================================= 
   КОНТАКТЫ 
   ========================================= */ 
 
.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-card .sm-btn-wrap { 
    display: block; 
 
    width: 100%; 
 
    margin: -40px 0 0 0; 
    padding: 0; 
 
    text-align: left; 
} 
 
 
/* ========================================= 
   КНОПКА "НАПИСАТЬ СОТРУДНИКУ" 
   ========================================= */ 
 
.employee-card .sm-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
 
    margin: 0; 
    padding: 12px 24px; 
 
    background-color: #1baa1d; 
    color: #ffffff; 
 
    font-size: 14px; 
    line-height: 1.2; 
    font-weight: 600; 
    letter-spacing: 0.3px; 
 
    text-decoration: none; 
    text-align: center; 
    white-space: nowrap; 
 
    border: none; 
    border-radius: 6px; 
 
    cursor: pointer; 
 
    box-shadow: 0 2px 6px rgba(27, 170, 29, 0.25); 
 
    transition: 
        background-color 0.2s ease, 
        box-shadow 0.2s ease, 
        transform 0.15s ease; 
} 
 
.employee-card .sm-btn:hover, 
.employee-card .sm-btn:focus { 
    background-color: #169a18; 
    color: #ffffff; 
    box-shadow: 0 4px 12px rgba(27, 170, 29, 0.4); 
    transform: translateY(-1px); 
    text-decoration: none; 
} 
 
.employee-card .sm-btn:active { 
    background-color: #148516; 
    box-shadow: 0 2px 5px rgba(27, 170, 29, 0.3); 
    transform: translateY(0); 
} 
 
 
/* ========================================= 
   ОПИСАНИЕ СОТРУДНИКА 
   ========================================= */ 
 
.employee-description { 
    width: 100%; 
    max-width: none; 
 
    margin: 20px 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: 150px; 
        border-radius: 50%; 
    } 
 
    .employee-content { 
        padding: 35px 25px 30px 0; 
    } 
 
    .employee-contact { 
        gap: 35px; 
    } 
 
    .contact-item { 
        min-width: 150px; 
    } 
 
    .employee-card .sm-btn-wrap { 
        margin-top: 6px; 
    } 
 
    .employee-card .sm-btn { 
        padding: 11px 20px; 
        font-size: 13px; 
    } 
} 
 
 
/* ========================================= 
   МОБИЛЬНЫЙ 
   ========================================= */ 
 
@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: flex-start; 
    } 
 
    .employee-photo img { 
        width: 140px; 
        height: 140px; 
        border-radius: 50%; 
    } 
 
 
    /* Контент */ 
 
    .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; 
    } 
 
 
    .contact-item a { 
        white-space: normal; 
        overflow-wrap: anywhere; 
        word-break: break-word; 
    } 
 
    .contact-value { 
        white-space: normal; 
    } 
 
 
    /* Обёртка кнопки — на мобильном отдельным блоком */ 
 
    .employee-card .sm-btn-wrap { 
        display: block; 
 
        width: 100%; 
 
        margin: 4px 0 0 0; 
 
        text-align: left; 
    } 
 
 
    /* Кнопка — на всю ширину, слева */ 
 
    .employee-card .sm-btn { 
        display: block; 
        width: 100%; 
        margin: 0; 
        padding: 13px 20px; 
        font-size: 14px; 
    } 
 
 
    /* Описание */ 
 
    .employee-description { 
        margin-top: 16px; 
        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: 130px; 
        border-radius: 50%; 
    } 
 
    .employee-content { 
        padding: 16px 18px 25px; 
    } 
 
    .employee-name { 
        font-size: 19px; 
    } 
 
    .employee-card .sm-btn { 
        padding: 12px 16px; 
        font-size: 13px; 
    } 
 
    .employee-description { 
        font-size: 14px; 
    } 
} 
 
 
/* ========================================= 
   ИЗОБРАЖЕНИЯ WP 
   ========================================= */ 
 
.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; 
    } 
}
/* STANKI-M: синее свечение кнопок сотрудников вместо зелёного */
.stm-employees-page .stm-emp-contact-button,
.stm-employees-page .employee-card a.sm-btn {
    box-shadow: 0 0 8px rgba(0, 39, 237, 0.45),
                0 0 16px rgba(0, 27, 114, 0.30) !important;
}

.stm-employees-page .stm-emp-contact-button:hover,
.stm-employees-page .employee-card a.sm-btn:hover {
    box-shadow: 0 0 12px rgba(0, 39, 237, 0.65),
                0 0 22px rgba(0, 27, 114, 0.45) !important;
}

/* STANKI-M: затемнение кнопок вместо свечения */
.stm-employees-page .stm-emp-contact-button,
.stm-employees-page .employee-card a.sm-btn {
    box-shadow: none !important;
    transition: background-color 0.2s ease, filter 0.2s ease !important;
}

.stm-employees-page .stm-emp-contact-button:hover,
.stm-employees-page .employee-card a.sm-btn:hover {
    box-shadow: none !important;
    filter: brightness(0.82);
}

/* Сотрудники: затемнение фона без затемнения белого текста */
.stm-employees-page a.stm-emp-contact-button,
.stm-employees-page a.stm-emp-contact-button:hover,
.stm-employees-page .employee-card a.sm-btn,
.stm-employees-page .employee-card a.sm-btn:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.stm-employees-page a.stm-emp-contact-button:hover,
.stm-employees-page .employee-card a.sm-btn:hover {
    background-color: #00145a !important;
}

/* Если заголовок кнопки обёрнут во вложенный элемент */
.stm-employees-page .stm-emp-contact-button:hover *,
.stm-employees-page .employee-card a.sm-btn:hover * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    filter: none !important;
}
