﻿/* ══════════════════════════════════════════════════════
   BÖLÜM İÇ SAYFA — LAYOUT
══════════════════════════════════════════════════════ */

/* Two-column layout wrapper */
.dept-layout {
    display: grid;
    grid-template-columns: 248px 1fr;
    min-height: calc(100vh - var(--topbar-h) - var(--header-h));
    align-items: start;
}

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
.dept-sidebar {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
    z-index: 100;
}

    .dept-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .dept-sidebar::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.15);
        border-radius: 4px;
    }

/* Brand / logo area */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    transition: background var(--t);
    flex-shrink: 0;
}

    .sidebar-brand:hover {
        background: rgba(255,255,255,.06);
    }

.sidebar-brand__icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sidebar-brand__icon .bi {
        font-size: 1.15rem;
        color: #fff;
    }

.sidebar-brand__text {
    min-width: 0;
}

.sidebar-brand__title {
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    white-space: normal;
}

.sidebar-brand__sub {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nav list */
.sidebar-nav {
    flex: 1;
    padding: 8px 0;
}

.sidebar-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Top-level toggle (accordion) */
.sidebar-nav__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: .84rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 8px;
    transition: background var(--t), color var(--t);
}

    .sidebar-nav__toggle:hover,
    .sidebar-nav__toggle:focus-visible {
        background: rgba(255,255,255,.07);
        color: #fff;
    }

    .sidebar-nav__toggle:focus-visible {
        outline: 2px solid rgba(255,255,255,.4);
        outline-offset: -2px;
    }

.sidebar-nav__toggle-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .sidebar-nav__toggle-inner .bi {
        font-size: 1rem;
        color: rgba(255,255,255,.6);
        flex-shrink: 0;
    }

.sidebar-nav__toggle .bi-chevron-right {
    font-size: .65rem;
    color: rgba(255,255,255,.4);
    transition: transform var(--t);
    flex-shrink: 0;
}

.sidebar-nav__toggle[aria-expanded="true"] .bi-chevron-right {
    transform: rotate(90deg);
}

.sidebar-nav__toggle--active {
    background: rgba(255,255,255,.08);
    color: #fff;
}

/* Sub-menu */
.sidebar-nav__sub {
    list-style: none;
    margin: 0;
    padding: 4px 0 4px 0;
    background: rgba(0,0,0,.15);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.sidebar-nav__sub-link {
    display: block;
    padding: 9px 20px 9px 44px;
    font-size: .81rem;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: background var(--t), color var(--t);
    position: relative;
}

    .sidebar-nav__sub-link::before {
        content: '';
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(255,255,255,.25);
        transition: background var(--t);
    }

    .sidebar-nav__sub-link:hover,
    .sidebar-nav__sub-link:focus-visible {
        background: rgba(255,255,255,.07);
        color: #fff;
    }

        .sidebar-nav__sub-link:hover::before,
        .sidebar-nav__sub-link.active::before {
            background: var(--gold);
        }

    .sidebar-nav__sub-link.active {
        color: #fff;
        font-weight: 600;
    }

    .sidebar-nav__sub-link:focus-visible {
        outline: 2px solid rgba(255,255,255,.4);
        outline-offset: -2px;
    }

/* Flat nav link (Duyurular, Haberler, İletişim) */
.sidebar-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: .84rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: background var(--t), color var(--t);
}

    .sidebar-nav__link .bi {
        font-size: 1rem;
        color: rgba(255,255,255,.5);
        flex-shrink: 0;
    }

    .sidebar-nav__link:hover,
    .sidebar-nav__link:focus-visible {
        background: rgba(255,255,255,.07);
        color: #fff;
    }

    .sidebar-nav__link.active {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .sidebar-nav__link:focus-visible {
        outline: 2px solid rgba(255,255,255,.4);
        outline-offset: -2px;
    }

/* Divider */
.sidebar-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.07);
    margin: 4px 0;
}

/* Accreditation badge at bottom */
.sidebar-accred {
    flex-shrink: 0;
    margin: auto 16px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    padding: 12px 14px;
}

.sidebar-accred__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 4px;
}

.sidebar-accred__name {
    font-size: .9rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 2px;
}

.sidebar-accred__desc {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    line-height: 1.4;
    margin: 0;
}

/* Mobile sidebar toggle button */
.sidebar-toggle-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 16px;
    z-index: 1060;
    width: 48px;
    height: 48px;
    background: var(--navy-mid);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--t);
}

    .sidebar-toggle-btn:hover {
        background: var(--navy-dark);
    }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1049;
    opacity: 0;
    transition: opacity .25s ease;
}

    .sidebar-overlay.active {
        opacity: 1;
    }

/* ══════════════════════════════════════════════════════
   DEPT MAIN CONTENT
══════════════════════════════════════════════════════ */
.dept-main {
    min-width: 0;
}

/* ── Breadcrumb ────────────────────────────────────── */
.dept-breadcrumb {
    padding: 14px 40px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.breadcrumb {
    margin: 0;
}

.breadcrumb-item {
    font-size: .82rem;
}

    .breadcrumb-item a {
        color: var(--text-muted);
        text-decoration: none;
        transition: color var(--t);
    }

        .breadcrumb-item a:hover {
            color: var(--navy-mid);
        }

    .breadcrumb-item.active {
        color: var(--navy);
        font-weight: 600;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        color: var(--text-muted);
    }

    .breadcrumb-item .bi-house {
        font-size: .8rem;
    }

/* ── Hero Banner ───────────────────────────────────── */
.dept-hero {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin: 24px 32px 0;
    border-radius: 16px;
}

.dept-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f3460 0%, #1a2d6b 50%, #0d4f6e 100%);
    z-index: 0;
}

    .dept-hero__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .35;
        display: block;
    }

.dept-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    padding: 40px 40px 40px 40px;
    gap: 32px;
}

.dept-hero__left {
    flex: 1;
    min-width: 0;
}

/* Accreditation pill */
.dept-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 5px 14px 5px 10px;
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    margin-bottom: 18px;
}

.dept-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
}

/* Title */
.dept-hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -.02em;
}

.dept-hero__subtitle {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 480px;
}

/* CTA buttons */
.dept-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dept-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: .84rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--t), border-color var(--t), color var(--t);
    min-height: 44px;
}

.dept-hero__btn--primary {
    background: #fff;
    color: var(--navy);
    border: 2px solid #fff;
}

    .dept-hero__btn--primary:hover,
    .dept-hero__btn--primary:focus-visible {
        background: rgba(255,255,255,.9);
        color: var(--navy);
    }

.dept-hero__btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.45);
}

    .dept-hero__btn--outline:hover,
    .dept-hero__btn--outline:focus-visible {
        background: rgba(255,255,255,.1);
        border-color: rgba(255,255,255,.7);
        color: #fff;
    }

.dept-hero__btn:focus-visible {
    outline: 3px solid rgba(255,255,255,.6);
    outline-offset: 3px;
}

/* Stats column */
.dept-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    text-align: center;
}

.dept-hero__stat {
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

    .dept-hero__stat:last-child {
        border-bottom: none;
    }

.dept-hero__stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.dept-hero__stat-label {
    font-size: .72rem;
    color: rgba(255,255,255,.65);
    line-height: 1.3;
}

/* ── Quick Links Grid ──────────────────────────────── */
.dept-quick {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 24px 32px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.dept-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 12px;
    text-decoration: none;
    color: var(--text);
    border-right: 1px solid var(--border);
    transition: background var(--t), color var(--t);
    text-align: center;
}

    .dept-quick__item:last-child {
        border-right: none;
    }

    .dept-quick__item:hover,
    .dept-quick__item:focus-visible {
        background: var(--accent-bg);
        color: var(--accent-blue);
    }

    .dept-quick__item:focus-visible {
        outline: 3px solid var(--accent-blue);
        outline-offset: -3px;
    }

.dept-quick__icon {
    width: 48px;
    height: 48px;
    background: var(--accent-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t);
}

    .dept-quick__icon .bi {
        font-size: 1.3rem;
        color: var(--accent-blue);
    }

.dept-quick__item:hover .dept-quick__icon {
    background: rgba(45,110,207,.15);
}

.dept-quick__label {
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ── Bölüm Hakkında (inner) ─────────────────────── */
.dept-about {
    padding: 40px 40px 48px;
}

.dept-about__title {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.dept-about__body p {
    font-size: .96rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1rem;
}

    .dept-about__body p:last-child {
        margin-bottom: 0;
    }

/* ══════════════════════════════════════════════════════
   DEPT INNER PAGE RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
    .dept-layout {
        grid-template-columns: 220px 1fr;
    }

    .dept-hero {
        margin: 20px 24px 0;
    }

    .dept-hero__content {
        padding: 32px 32px;
    }

    .dept-quick {
        margin: 20px 24px 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .dept-quick__item:nth-child(3) {
        border-right: none;
    }

    .dept-about {
        padding: 36px 32px 44px;
    }

    .dept-breadcrumb {
        padding: 14px 28px;
    }
}

@media (max-width: 991px) {
    .dept-layout {
        grid-template-columns: 1fr;
    }

    .dept-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 270px;
        transform: translateX(-100%);
        transition: transform .28s ease;
        z-index: 1050;
    }

        .dept-sidebar.open {
            transform: translateX(0);
        }

    .sidebar-toggle-btn {
        display: flex;
    }

    .sidebar-overlay {
        display: block;
        pointer-events: none;
    }

        .sidebar-overlay.active {
            pointer-events: auto;
        }

    .dept-hero {
        margin: 16px 16px 0;
        min-height: 280px;
    }

    .dept-hero__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 20px;
    }

    .dept-hero__stats {
        flex-direction: row;
        width: 100%;
    }

    .dept-hero__stat {
        border-right: 1px solid rgba(255,255,255,.12);
        border-bottom: none;
        padding: 12px 20px;
    }

        .dept-hero__stat:last-child {
            border-right: none;
        }

    .dept-quick {
        margin: 16px 16px 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .dept-quick__item:nth-child(3) {
        border-right: none;
    }

    .dept-about {
        padding: 32px 20px 40px;
    }

    .dept-breadcrumb {
        padding: 12px 20px;
    }
}

@media (max-width: 575px) {
    .dept-quick {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 10px;
    }

    .dept-quick__item:nth-child(2) {
        border-right: none;
    }

    .dept-quick__item:nth-child(3) {
        border-right: 1px solid var(--border);
    }

    .dept-hero__title {
        font-size: 1.5rem;
    }

    .dept-hero__stats {
        flex-direction: column;
    }

    .dept-hero__stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.12);
        padding: 10px 16px;
    }

    .dept-hero__btn {
        padding: 9px 16px;
        font-size: .8rem;
    }
}

/* ══════════════════════════════════════════════════════
   DEPT MINIMAL HEADER
══════════════════════════════════════════════════════ */
.dept-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

    .dept-header.scrolled {
        box-shadow: 0 2px 12px rgba(0,0,0,.10);
    }

.dept-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 32px;
}

/* Left: logo + faculty label */
.dept-header__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

    .dept-header__brand:hover .dept-header__faculty {
        color: var(--accent-blue);
    }

.dept-header__logo {
    height: 52px;
    width: auto;
    display: block;
}

.dept-header__divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    flex-shrink: 0;
}

.dept-header__faculty {
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
    max-width: 160px;
    transition: color var(--t);
}

    .dept-header__faculty span {
        display: block;
        font-size: .68rem;
        font-weight: 400;
        color: var(--text-muted);
        margin-top: 1px;
    }

/* Right: actions */
.dept-header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dept-header__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: .95rem;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--t), color var(--t), border-color var(--t);
}

    .dept-header__action-btn:hover,
    .dept-header__action-btn:focus-visible {
        background: var(--bg-light);
        color: var(--navy);
        border-color: var(--navy-mid);
    }

    .dept-header__action-btn:focus-visible {
        outline: 3px solid #2b6cb0;
        outline-offset: 2px;
    }

.dept-header__lang {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    height: 38px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: background var(--t), color var(--t);
}

    .dept-header__lang:hover,
    .dept-header__lang:focus-visible {
        background: var(--bg-light);
        color: var(--navy);
    }

.dept-header__igumer {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    height: 38px;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: var(--navy-mid);
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: .03em;
    margin-left: 4px;
    transition: background var(--t);
}

    .dept-header__igumer:hover,
    .dept-header__igumer:focus-visible {
        background: var(--navy-dark);
        color: #fff;
    }

/* Mobile hamburger (for sidebar on mobile) */
.dept-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

    .dept-header__hamburger .bar {
        display: block;
        width: 100%;
        height: 2px;
        background: #374151;
        border-radius: 2px;
    }

@media (max-width: 991px) {
    .dept-header__inner {
        padding: 0 16px;
    }

    .dept-header__actions {
        gap: 6px;
    }

    .dept-header__hamburger {
        display: flex;
    }
    /* Hide lang + igumer on very small screens */
}

@media (max-width: 575px) {
    :root {
        --header-h: 60px;
    }

    .dept-header__logo {
        height: 40px;
    }

    .dept-header__faculty {
        display: none;
    }

    .dept-header__divider {
        display: none;
    }

    .dept-header__lang {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════
   DEPT INNER PAGE — NEWS & ANNOUNCEMENTS PADDING
   Ana sayfa container-xxl yerine dept main'in padding'ini kullanır
══════════════════════════════════════════════════════ */
.dept-section-padded {
    padding-left: 40px  !important;
    padding-right: 40px !important;
}

@media (max-width: 1199px) {
    .dept-section-padded {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

@media (max-width: 991px) {
    .dept-section-padded {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 575px) {
    .dept-section-padded {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ══════════════════════════════════════════════════════
   AKADEMİK KADRO — SAYFA
══════════════════════════════════════════════════════ */

/* Page header (başlık + filtre alanı) */
.akadro-header {
    padding: 36px 40px 24px;
    border-bottom: 1px solid var(--border);
}

.akadro-header__title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 20px;
    letter-spacing: -.02em;
}

/* Filter bar */
.akadro-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.akadro-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color var(--t), background var(--t), color var(--t);
    white-space: nowrap;
}

    .akadro-filter__btn:hover,
    .akadro-filter__btn:focus-visible {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

.akadro-filter__btn--active {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    color: #fff;
}

    .akadro-filter__btn--active:hover {
        background: var(--navy-dark);
        border-color: var(--navy-dark);
        color: #fff;
    }

.akadro-filter__btn:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 3px;
}

.akadro-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: rgba(255,255,255,.25);
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
}

.akadro-filter__btn--active .akadro-filter__count {
    background: rgba(255,255,255,.25);
}

.akadro-filter__btn:not(.akadro-filter__btn--active) .akadro-filter__count {
    background: var(--accent-bg);
    color: var(--accent-blue);
}

/* Grid */
.akadro-grid-wrap {
    padding: 32px 40px 56px;
}

.akadro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Staff card */
.staff-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}

    .staff-card:hover,
    .staff-card:focus-within {
        box-shadow: 0 4px 20px rgba(26,39,68,.10);
        border-color: var(--accent-blue);
        transform: translateY(-3px);
    }

/* Photo */
.staff-card__photo-wrap {
    position: relative;
    aspect-ratio: 3/3.5;
    overflow: hidden;
    background: #f0f4f8;
    flex-shrink: 0;
}

.staff-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .4s ease;
}

.staff-card:hover .staff-card__photo {
    transform: scale(1.04);
}

/* Badge (Bölüm Başkanı vb.) */
.staff-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(45,110,207,.9);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.3);
}

    .staff-card__badge .bi {
        font-size: .75rem;
    }

/* Body */
.staff-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Name & title */
.staff-card__name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 12px;
}

/* Education list */
.staff-card__edu {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .staff-card__edu li {
        font-size: .76rem;
        color: var(--text-muted);
        line-height: 1.45;
    }

    .staff-card__edu strong {
        color: var(--text);
        font-weight: 600;
    }

/* Email */
.staff-card__email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 14px;
    transition: color var(--t);
    word-break: break-all;
}

    .staff-card__email .bi {
        font-size: .8rem;
        color: var(--accent-blue);
        flex-shrink: 0;
    }

    .staff-card__email:hover,
    .staff-card__email:focus-visible {
        color: var(--accent-blue);
    }

    .staff-card__email:focus-visible {
        outline: 2px solid var(--accent-blue);
        outline-offset: 2px;
        border-radius: 2px;
    }

/* Actions (avesis butonu) */
.staff-card__actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.staff-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: .76rem;
    font-weight: 600;
    border-radius: 7px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--t), background var(--t), color var(--t);
    min-height: 34px;
}

    .staff-card__btn .bi {
        font-size: .85rem;
        color: var(--accent-blue);
    }

    .staff-card__btn:hover,
    .staff-card__btn:focus-visible {
        border-color: var(--accent-blue);
        background: var(--accent-bg);
        color: var(--accent-blue);
    }

    .staff-card__btn:focus-visible {
        outline: 3px solid var(--accent-blue);
        outline-offset: 2px;
    }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1199px) {
    .akadro-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .akadro-header {
        padding: 28px 32px 20px;
    }

    .akadro-grid-wrap {
        padding: 28px 32px 48px;
    }
}

@media (max-width: 991px) {
    .akadro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .akadro-header {
        padding: 24px 20px 18px;
    }

    .akadro-grid-wrap {
        padding: 24px 20px 40px;
    }
}

@media (max-width: 575px) {
    .akadro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .akadro-header {
        padding: 20px 16px 16px;
    }

    .akadro-grid-wrap {
        padding: 20px 16px 36px;
    }

    .staff-card__body {
        padding: 12px 14px 14px;
    }

    .akadro-filter {
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .akadro-grid {
        grid-template-columns: 1fr;
    }
}
