

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news.list/specialStruct/style.css?17803811314819*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========================================
   Departments Grid
======================================== */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
    margin: 40px 0;
    font-family: Inter, sans-serif;
}

/* ========================================
   Card
======================================== */
.department-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.department-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10), 0 6px 18px rgba(15, 23, 42, 0.08);
}

.department-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59,130,246,.12), transparent 40%);
    pointer-events: none;
}

/* ========================================
   Title
======================================== */
.department-title {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
}

.department-title a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   Sections
======================================== */
.department-section {
    margin-bottom: 18px;
}

.department-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.department-value {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.7;
    word-break: break-word;
}

.department-value.is-empty {
    color: #94a3b8;
    font-style: italic;
}

/* ========================================
   Head Block
======================================== */
.department-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.department-head-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

.department-head-name.is-empty {
    color: #94a3b8;
    font-weight: normal;
    font-style: italic;
}

.department-head-post {
    font-size: 14px;
    color: #64748b;
}

.department-head-post.is-empty {
    color: #94a3b8;
    font-style: italic;
}

/* ========================================
   Links
======================================== */
.department-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease, opacity .2s ease;
}

.department-link:hover {
    color: #1d4ed8;
    opacity: .85;
}

/* ========================================
   Footer
======================================== */
.department-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

/* ========================================
   Regulation Button
======================================== */
.department-doc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
}

.department-doc:hover {
    transform: translateY(-2px);
    opacity: .95;
    box-shadow: 0 14px 30px rgba(37,99,235,.35);
}

.department-doc.is-empty {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
    box-shadow: none;
    pointer-events: none;
    font-weight: normal;
    font-style: italic;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 992px) {
    .departments-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    .department-card {
        padding: 24px;
    }
    .department-title {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .department-card {
        border-radius: 22px;
        padding: 22px;
    }
    .department-title {
        font-size: 20px;
    }
    .department-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .department-doc {
        width: 100%;
    }
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news.list/specialStruct/style.css?17803811314819 */
