

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news/divisions/bitrix/news.detail/.default/style.css?17780558194038*/
/* =========================
   BASE
========================= */

body {
    margin: 0;
    background: #f5f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* =========================
   HERO
========================= */

.department-hero {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.department-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,15,30,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-hero h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
}

/* =========================
   LAYOUT
========================= */

.department-container {
    padding: 40px 5%;
}

.department-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}

/* =========================
   SIDEBAR (STICKY)
========================= */

.department-sidebar {
    position: relative;
}

.department-sidebar-inner {
    position: sticky;
    top: 80px;

    display: flex;
    flex-direction: column;
    gap: 20px;

    will-change: transform;
    transition: transform 0.25s ease;
}

/* shrink on scroll */
.department-sidebar-inner.scrolled {
    transform: scale(0.97);
}

/* =========================
   MENU (УЛУЧШЕННАЯ ЧИТАЕМОСТЬ)
========================= */

.department-menu {
    background: #fff;
    border-radius: 16px;
    padding: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.department-menu a {
    display: block;
    padding: 9px 10px;

    font-size: 14px;
    font-weight: 500;
    color: #4a4a4f;

    text-decoration: none;
    border-radius: 10px;

    transition: 0.2s ease;
}

.department-menu a:hover {
    background: rgba(0,0,0,0.05);
    color: #111;
}

/* =========================
   CARDS
========================= */

.department-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* =========================
   HEAD (РУКОВОДИТЕЛЬ)
========================= */

.head-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 📸 фото */
.head-img {
    width: 100%;
    height: 380px;

    border-radius: 16px;
    object-fit: cover;

    box-shadow: 0 14px 30px rgba(0,0,0,0.15);
    border: 3px solid #fff;
}

/* ФИО */
.head-name {
    font-size: 19px;
    font-weight: 650;
    color: #111;
    line-height: 1.25;
}

/* ДОЛЖНОСТЬ */
.head-position {
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    line-height: 1.4;
}

/* =========================
   BUTTON
========================= */

.btn-doc {
    display: block;
    padding: 12px 14px;

    background: #2d6cdf;
    color: #fff;

    border-radius: 12px;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    text-align: center;
}

/* =========================
   CONTACTS (УЛУЧШЕННАЯ ЧИТАЕМОСТЬ)
========================= */

.contact-card div {
    display: flex;
    gap: 12px;
    align-items: center;

    padding: 10px 0;
    border-bottom: 1px solid #eee;

    font-size: 15px;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1.5;
}

.contact-card div:last-child {
    border-bottom: none;
}

.contact-card span:first-child {
    opacity: 0.75;
    font-size: 16px;
}

/* =========================
   MAIN CONTENT
========================= */

.department-main {
    min-width: 0;
}

.text-card {
    line-height: 1.7;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .department-layout {
        grid-template-columns: 1fr;
    }

    .department-sidebar-inner {
        position: relative;
        top: auto;
        transform: none !important;
    }

    .head-img {
        height: 220px;
    }
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news/divisions/bitrix/news.detail/.default/style.css?17780558194038 */
