﻿        .department-profile {
            background: #fbfcf8;
            color: #526257;
        }

        .department-profile-hero {
            position: relative;
            min-height: 610px;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            isolation: isolate;
            background: #102016;
        }

        .department-profile-hero:before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(100deg, rgba(12, 29, 20, 0.96), rgba(12, 29, 20, 0.72) 54%, rgba(12, 29, 20, 0.36)),
                var(--department-hero-image) center / cover no-repeat;
            z-index: -2;
        }

        .department-profile-hero:after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 165px;
            background: linear-gradient(0deg, #fbfcf8, rgba(251, 252, 248, 0));
            z-index: -1;
        }

        .department-profile-hero__inner {
            width: 100%;
            padding: 132px 0 76px;
        }

        .department-profile-hero__grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 390px;
            gap: 54px;
            align-items: end;
        }

        .department-profile-kicker {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: #006088;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .department-profile-kicker:before {
            content: "";
            width: 28px;
            height: 2px;
            background: #d9a441;
        }

        .department-profile-hero .department-profile-kicker {
            color: #d9a441;
            margin-bottom: 18px;
        }

        .department-profile-hero .department-profile-kicker:before {
            background: #ffffff;
        }

        .department-profile-hero__title {
            color: #ffffff;
            font-size: 62px;
            line-height: 1.04;
            font-weight: 900;
            margin: 0;
        }

        .department-profile-hero__text {
            max-width: 680px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 19px;
            line-height: 32px;
            margin: 24px 0 0;
        }

        .department-profile-hero__actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 34px;
        }

        .department-profile-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 54px;
            padding: 14px 22px;
            border-radius: 8px;
            font-weight: 900;
        }

        .department-profile-action--primary {
            background: #d9a441;
            color: #102016;
        }

        .department-profile-action--primary:hover {
            background: #ffffff;
            color: #102016;
        }

        .department-profile-action--ghost {
            border: 1px solid rgba(255, 255, 255, 0.24);
            background: rgba(255, 255, 255, 0.09);
            color: #ffffff;
        }

        .department-profile-action--ghost:hover {
            border-color: #d9a441;
            color: #d9a441;
        }

        .department-profile-head {
            overflow: hidden;
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
        }

        .department-profile-head [data-kema-head-photo] {
            display: block;
            width: 100%;
            height: 350px;
            background-position: top center;
            background-size: cover;
            background-repeat: no-repeat;
            background-color: #e8efe6;
        }

        /* .department-profile-head__image {
            aspect-ratio: 4 / 4.8;
            background: #e8efe6;
        } */

        /* .department-profile-head__image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        } */

        .department-profile-head__placeholder {
            height: 100%;
            min-height: 360px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #eef6f9;
            color: #006088;
            font-size: 58px;
        }

        .department-profile-head__body {
            padding: 24px;
        }

        .department-profile-head__unit {
            display: inline-flex;
            color: #006088;
            font-size: 12px;
            line-height: 18px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 9px;
        }

        .department-profile-head h2 {
            color: #15271d;
            font-size: 26px;
            line-height: 1.18;
            font-weight: 900;
            margin: 0 0 8px;
        }

        .department-profile-head p {
            color: #647267;
            font-size: 15px;
            line-height: 25px;
            margin: 0;
        }

        .department-profile-body {
            position: relative;
            padding: 0 0 116px;
            margin-top: -46px;
            z-index: 2;
        }

        .department-profile-body__grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 360px;
            gap: 34px;
            align-items: start;
        }

        .department-profile-main,
        .department-profile-sidebar__box {
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 24px 70px rgba(22, 52, 34, 0.11);
        }

        .department-profile-main {
            padding: 50px 56px;
        }

        .department-profile-main h2 {
            color: #15271d;
            font-size: 42px;
            line-height: 1.12;
            font-weight: 900;
            margin: 0 0 22px;
        }

        .department-profile-main p {
            color: #5e6d62;
            font-size: 17px;
            line-height: 31px;
            margin: 0;
        }

        .department-profile-main p + p {
            margin-top: 18px;
        }

        .department-responsibilities {
            margin-top: 34px;
            padding-top: 34px;
            border-top: 1px solid rgba(16, 32, 22, 0.08);
        }

        .department-responsibilities h3 {
            color: #15271d;
            font-size: 28px;
            line-height: 1.18;
            font-weight: 900;
            margin: 0 0 20px;
        }

        .department-responsibilities__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .central-units {
            margin-top: 38px;
            padding-top: 36px;
            border-top: 1px solid rgba(16, 32, 22, 0.08);
        }

        .central-units h3 {
            color: #15271d;
            font-size: 28px;
            line-height: 1.18;
            font-weight: 900;
            margin: 0 0 20px;
        }

        .central-units__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .central-unit-card {
            display: grid;
            grid-template-columns: 88px minmax(0, 1fr);
            gap: 16px;
            min-height: 144px;
            padding: 16px;
            border-radius: 8px;
            background: #eef6f9;
            border: 1px solid rgba(16, 32, 22, 0.06);
            color: #15271d;
        }

        .central-unit-card:hover {
            background: #ffffff;
            box-shadow: 0 16px 38px rgba(22, 52, 34, 0.11);
            color: #15271d;
        }

        .central-unit-card__image,
        .central-unit-card__placeholder {
            width: 88px;
            height: 104px;
            border-radius: 8px;
            overflow: hidden;
            background: #ffffff;
        }

        .central-unit-card__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .central-unit-card__placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #006088;
            font-size: 28px;
        }

        .central-unit-card__body {
            min-width: 0;
        }

        .central-unit-card__eyebrow {
            display: block;
            color: #006088;
            font-size: 11px;
            line-height: 16px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .central-unit-card h4 {
            color: #15271d;
            font-size: 18px;
            line-height: 1.2;
            font-weight: 900;
            margin: 0 0 6px;
        }

        .central-unit-card p {
            color: #647267;
            font-size: 13px;
            line-height: 20px;
            margin: 0 0 10px;
        }

        .central-unit-card__link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #006088;
            font-size: 13px;
            font-weight: 900;
        }

        .department-responsibility {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            min-height: 86px;
            padding: 18px;
            border-radius: 8px;
            background: #eef6f9;
            border: 1px solid rgba(16, 32, 22, 0.06);
        }

        .department-responsibility i {
            width: 36px;
            height: 36px;
            flex: 0 0 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #ffffff;
            color: #006088;
        }

        .department-responsibility span {
            color: #15271d;
            font-size: 15px;
            line-height: 23px;
            font-weight: 900;
        }

        .department-profile-sidebar {
            position: sticky;
            top: 24px;
        }

        .department-profile-sidebar__box {
            overflow: hidden;
            margin-bottom: 24px;
        }

        .department-profile-sidebar__head {
            padding: 26px 28px;
            background: #102016;
        }

        .department-profile-sidebar__head h2 {
            color: #ffffff;
            font-size: 24px;
            line-height: 1.2;
            font-weight: 900;
            margin: 0;
        }

        .department-profile-meta {
            padding: 24px 26px 28px;
        }

        .department-profile-meta__item {
            display: flex;
            align-items: flex-start;
            gap: 13px;
            padding: 16px 0;
            border-bottom: 1px solid rgba(16, 32, 22, 0.08);
        }

        .department-profile-meta__item:first-child {
            padding-top: 0;
        }

        .department-profile-meta__item:last-child {
            padding-bottom: 0;
            border-bottom: 0;
        }

        .department-profile-meta__item i {
            width: 40px;
            height: 40px;
            flex: 0 0 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #eef6f9;
            color: #006088;
        }

        .department-profile-meta__item span,
        .department-profile-meta__item strong {
            display: block;
        }

        .department-profile-meta__item span {
            color: #7b897f;
            font-size: 12px;
            line-height: 18px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .department-profile-meta__item strong {
            color: #15271d;
            font-size: 16px;
            line-height: 23px;
            font-weight: 900;
        }

        .department-nav {
            padding: 12px;
        }

        .department-nav a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 13px 14px;
            border-radius: 8px;
            color: #15271d;
            font-size: 14px;
            line-height: 20px;
            font-weight: 900;
        }

        .department-nav a:hover,
        .department-nav a.is-active {
            background: #eef6f9;
            color: #006088;
        }

        .department-contact-box {
            padding: 30px 28px;
            background:
                linear-gradient(100deg, rgba(16, 32, 22, 0.95), rgba(16, 32, 22, 0.88)),
                url('../website/assets/images/photos/h_10.jpg') center / cover no-repeat;
            color: #ffffff;
        }

        .department-contact-box i {
            width: 52px;
            height: 52px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #d9a441;
            color: #102016;
            margin-bottom: 18px;
        }

        .department-contact-box h2 {
            color: #ffffff;
            font-size: 25px;
            line-height: 1.2;
            font-weight: 900;
            margin: 0;
        }

        .department-contact-box p {
            color: rgba(255, 255, 255, 0.78);
            font-size: 15px;
            line-height: 26px;
            margin: 12px 0 22px;
        }

        .department-contact-box a {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: #d9a441;
            font-weight: 900;
        }

        @media (max-width: 1199px) {
            .department-profile-hero__grid,
            .department-profile-body__grid {
                grid-template-columns: 1fr;
            }

            .department-profile-head {
                max-width: 430px;
            }

            .department-profile-sidebar {
                position: static;
            }
        }

        @media (max-width: 767px) {
            .department-profile-hero {
                min-height: 520px;
            }

            .department-profile-hero__inner {
                padding: 116px 0 68px;
            }

            .department-profile-hero__title {
                font-size: 40px;
            }

            .department-profile-hero__text,
            .department-profile-main p {
                font-size: 16px;
                line-height: 29px;
            }

            .department-profile-body {
                padding-bottom: 86px;
            }

            .department-profile-main {
                padding: 34px 24px;
            }

            .department-profile-main h2 {
                font-size: 32px;
            }

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

            .central-units__grid {
                grid-template-columns: 1fr;
            }

            .central-unit-card {
                grid-template-columns: 78px minmax(0, 1fr);
            }

            .central-unit-card__image,
            .central-unit-card__placeholder {
                width: 78px;
                height: 96px;
            }
        }
