   .person-card {
            background: #1e2235;
            border-radius: 16px;
            overflow: hidden;
            display: inline-flex;
            flex-direction: column;
            width: 100%;
        }
        .person-card-photo {
            width: 260px;
            height: 286px;
            object-fit: cover;
            object-position: top center;
            display: block;
            flex-shrink: 0;
        }
        .person-card-placeholder {
            width: 260px;
            height: 286px;
            background: #2e3a5c;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .person-card-placeholder svg {
            width: 45%;
            opacity: 0.4;
        }
        .person-card-body {
            padding: 1rem 1.1rem 1.2rem;
        }
        .person-card-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #ffffff;
            margin: 0 0 0.25rem;
            line-height: 1.3;
        }
        .person-card-title {
            font-size: 0.92rem;
            color: #94a3b8;
            line-height: 1.4;
            margin: 0;
        }
       .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    /* plus besoin de justify-content */
}
        .placeholder-notice {
            background: #fef3c7;
            color: #92400e;
            font-size: 0.8rem;
            font-weight: 500;
            padding: 0.6rem 1rem;
            border-radius: 8px;
            border: 1px solid #fde68a;
            margin-bottom: 2rem;
            display: inline-block;
        }


        /* Card fix: image fills top, text always pinned to bottom */
        .person-card {
            position: relative;
            overflow: hidden;
            height: 380px;
            display: flex;
            flex-direction: column;
        }
        .person-card-img-wrap {
            flex: 1;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #2d4a6e;
        }
        .person-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            display: block;
        }
        .person-card-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .person-card-body {
            flex-shrink: 0;
            background: #0f2a4a;
			padding: 0.85rem 1rem;}
.page-mentorlar .person-card-body {
        min-height: 76px;
    }
    .page-mentorlar .person-card-title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
   
        .dept-tab {
            padding: 0.6rem 1.2rem;
            border-radius: 999px;
            font-size: 1.05rem;
            font-weight: 500;
            cursor: pointer;
            border: 2px solid transparent;
            color: #4b5563;
            background: #f3f4f6;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .dept-tab:hover {
            background: #e0f2fe;
            color: #00A2E0;
        }
        .dept-tab.active {
            background: #00A2E0;
            color: #fff;
            border-color: #00A2E0;
        }
        .dept-section { display: none; }
        .dept-section.active { display: block; }

     /* ── Per-person image adjustments ── */
        .img-onur-aras  { object-position: 30% top; }
.img-ergün      { object-position: 70% top; }
.img-abdullah   { object-position: center 20%; transform: scale(1.4); transform-origin: center 30%; }
 