.danismanlar-modern {
    background: #f4f7f6;
}

.dm-page {
    padding: 2.5rem 0 4rem;
}

.dm-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.dm-head__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.dm-head__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.dm-head__sub {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
}

.dm-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.dm-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dm-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.dm-card__top {
    padding: 1.5rem 1.25rem 1rem;
    text-align: center;
}

.dm-card__avatar {
    display: inline-flex;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.85rem;
    border: 3px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}

.dm-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-card__name {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.dm-card__name a {
    color: inherit;
    text-decoration: none;
}

.dm-card__name a:hover {
    color: #0f766e;
}

.dm-card__role {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    color: #0f766e;
    font-weight: 600;
}

.dm-card__office {
    margin: 0;
    min-height: 1.2rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.dm-card__body {
    padding: 0 1.25rem 1.25rem;
    margin-top: auto;
}

.dm-card__contact {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.dm-card__contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dm-card__contact a:hover {
    background: rgba(13, 148, 136, 0.06);
    border-color: rgba(13, 148, 136, 0.2);
    color: #0f766e;
}

.dm-card__contact i {
    width: 16px;
    text-align: center;
    color: #0f766e;
}

.dm-card__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eef2f7;
}

.dm-card__count {
    font-size: 0.8125rem;
    color: #64748b;
}

.dm-card__count strong {
    color: #0f172a;
}

.dm-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.dm-card__cta:hover {
    filter: brightness(1.05);
    color: #fff;
}

.dm-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: #64748b;
}

@media (max-width: 1199px) {
    .dm-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .dm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .dm-page {
        padding-top: 1.5rem;
    }

    .dm-grid {
        grid-template-columns: 1fr;
    }

    .dm-card__stats {
        flex-direction: column;
        align-items: stretch;
    }

    .dm-card__cta {
        justify-content: center;
    }
}
