/* Department — inner page */
.department-page {
    background: #ffffff;
}

.department-hero {
    position: relative;
    padding: 44px 0 48px;
    overflow: hidden;
}

.department-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(249, 200, 51, 0.14) 0%, transparent 42%),
        linear-gradient(135deg, #04121c 0%, #061a28 52%, #081f2f 100%);
}

.department-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #04121c 0%, #f9c833 50%, #04121c 100%);
}

.department-hero .container,
.department-hero--empty .container {
    position: relative;
    z-index: 1;
}

.department-hero--empty {
    padding: 64px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.department-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.department-breadcrumb a {
    color: #f9c833;
    text-decoration: none;
}

.department-breadcrumb a:hover {
    color: #ffffff;
}

.department-stream-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 999px;
}

.department-hero-title {
    margin: 0 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

.department-hero--empty .department-hero-title {
    color: #061a28;
}

.department-hero-text {
    margin: 0 0 16px;
    max-width: 640px;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.department-hero--empty .department-hero-text {
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
}

.department-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.department-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(249, 200, 51, 0.28);
    border-radius: 999px;
}

.department-hero-stats strong {
    color: #f9c833;
    font-weight: 700;
}

.department-about {
    padding: 40px 0 36px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.department-about-card {
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-left: 4px solid #f9c833;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(6, 26, 40, 0.08);
}

.department-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #061a28;
    background: linear-gradient(135deg, rgba(249, 200, 51, 0.22) 0%, rgba(240, 180, 41, 0.14) 100%);
    border: 1px solid rgba(249, 200, 51, 0.35);
    border-radius: 999px;
}

.department-section-header {
    margin-bottom: 28px;
}

.department-section-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 700;
    color: #061a28;
}

.department-desc-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #475569;
}

.department-desc-content p {
    margin-bottom: 12px;
}

.department-desc-content p:last-child {
    margin-bottom: 0;
}

.department-desc-intro p:last-child {
    margin-bottom: 0;
}

.department-desc-more {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(6, 26, 40, 0.1);
}

.department-desc-more[hidden] {
    display: none;
}

.department-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 9px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #061a28;
    background: linear-gradient(135deg, rgba(249, 200, 51, 0.22) 0%, rgba(240, 180, 41, 0.14) 100%);
    border: 1px solid rgba(249, 200, 51, 0.4);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.department-read-more-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-color: #f9c833;
    box-shadow: 0 8px 20px rgba(249, 200, 51, 0.28);
}

.department-read-more-btn:focus-visible {
    outline: 2px solid #f9c833;
    outline-offset: 2px;
}

.department-read-more-icon {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.department-read-more-btn[aria-expanded="true"] .department-read-more-icon {
    transform: rotate(180deg);
}

.department-people {
    padding: 44px 0;
}

.department-people--faculty {
    background: #ffffff;
}

.department-people--staff {
    background:
        radial-gradient(circle at 88% 12%, rgba(249, 200, 51, 0.07) 0%, transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding-bottom: 52px;
}

.department-people-row {
    row-gap: 24px;
}

.department-people-col {
    display: flex;
}

.department-person-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px 20px;
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(6, 26, 40, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.department-person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(6, 26, 40, 0.12);
}

.department-person-photo-wrap {
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
    padding: 3px;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(249, 200, 51, 0.24);
}

.department-person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: block;
    background: #f1f5f9;
}

.department-person-name {
    margin: 0 0 6px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #061a28;
}

.department-person-role {
    margin: 0 0 14px;
    flex: 1 1 auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.5;
}

.department-person-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #061a28;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(249, 200, 51, 0.22) 0%, rgba(240, 180, 41, 0.12) 100%);
    border: 1px solid rgba(249, 200, 51, 0.35);
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.department-person-link:hover {
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    transform: translateY(-2px);
    color: #04121c;
}

.department-person-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
}

.department-person-contact:hover {
    color: #061a28;
}

.department-person-contact i {
    color: #f0b429;
}

.department-empty-block {
    padding: 40px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed rgba(6, 26, 40, 0.14);
    border-radius: 16px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
}

.department-empty-block i {
    display: block;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #cbd5e1;
}

.department-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
}

.department-btn--primary {
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    box-shadow: 0 8px 20px rgba(249, 200, 51, 0.28);
}

.department-btn--primary:hover {
    color: #04121c;
}

@media (max-width: 767px) {
    .department-hero {
        padding: 36px 0 40px;
    }

    .department-about-card {
        padding: 22px 20px;
    }
}
