<style>
.page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }
        .card {
            background: white;
            border-radius: 12px;
            border: 1px solid var(--nsmu-grey-3);
            overflow: hidden;
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 72, 153, 0.15);
        }
        
        .card.chief {
            border: 2px solid var(--nsmu-secondary);
            background: linear-gradient(155deg, #fefffe, var(--nsmu-light-blue-3));
        }
        
        .card-content {
            padding: 1.5rem;
            text-align: center;
        }
        
        .avatar {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: var(--nsmu-light-blue-3);
            margin: -17px auto 1rem;
            border: 4px solid white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--nsmu-grey-1);
            font-size: 0.875rem;
            text-align: center;
        }
        
        .name {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--nsmu-primary);
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }
        
        .position {
            color: var(--nsmu-grey-1);
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            line-height: 1.4;
        }
        
        .contact-list {
            list-style: none;
            padding: 0;
            margin: 0 0 0 34px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1rem;
            text-align: left;
        }
        
        .contact-icon {
            width: 20px;
            height: 20px;
            color: var(--nsmu-secondary);
            flex-shrink: 0;
            margin-top: 0.125rem;
        }
        
        .contact-text {
            font-size: 0.875rem;
            color: var(--nsmu-grey-1);
            line-height: 1.4;
        }
        
        .contact-link {
            color: var(--nsmu-blue-1);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .contact-link:hover {
            color: var(--nsmu-primary);
            text-decoration: underline;
        }
        
        .employees-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        
        .department-info {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            margin-top: 2rem;
            border: 1px solid var(--nsmu-grey-3);
            background: linear-gradient(155deg, #fefffe, var(--nsmu-light-blue-3));
        }
        
        .department-title {
            color: var(--nsmu-primary-dark);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--nsmu-secondary);
        }
        
        .department-text {
            color: var(--nsmu-grey-1);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        
        .department-list {
            list-style-position: inside;
            margin-bottom: 2rem;
            padding-left: 0;
        }
        
        .department-list li {
            margin-bottom: 0.75rem;
            color: var(--nsmu-grey-1);
            line-height: 1.5;
        }
        
        .department-list a {
            color: var(--nsmu-blue-1);
            text-decoration: none;
        }
        
        .department-list a:hover {
            color: var(--nsmu-primary);
            text-decoration: underline;
        }
        
        .info-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--nsmu-secondary), var(--nsmu-accent-blue));
            color: white;
            text-decoration: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
.info-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 176, 224, 0.3);
            color: white;
            text-decoration: none;
}
        
.page-container {
            min-height: 100vh;
            padding: 2rem 0;
}


.chief-container {
    max-width: 400px;
    margin: 0 auto 3rem;
}

.academic-title {
    color: var(--nsmu-secondary);
    font-size: 0.95rem;
    margin: -0.5rem 0 1.5rem;
    font-style: italic;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.section-title h2 {
    color: var(--nsmu-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.dekanat-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--nsmu-light-blue-3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.dekanat-email a {
    color: var(--nsmu-blue-1);
    text-decoration: none;
    font-weight: 500;
}

.dekanat-email a:hover {
    color: var(--nsmu-primary);
    text-decoration: underline;
}


.avatar img {
width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 -4px;
    border-radius: 50%;
}


  @media (max-width: 768px) {
    .chief-container {
        max-width: 100%;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .dekanat-email {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .page {
        padding: 0.75rem;
    }
            
    .avatar {
        width: 130px;
        height: 130px;
        margin-top: -2px;
        font-size: 0.75rem;
    }
            
    .card-content {
       padding: 1.25rem;
    }
            
    .department-info {
       padding: 1.5rem;
	}

    .employees-grid {
       grid-template-columns: 1fr;
       gap: 1.25rem;
    }
            
    .name {
       font-size: 1.125rem;
    }

    .department-title {
       font-size: 1.25rem;
    }
            
    .page-container {
       padding: 1rem 0;
    }

    .contact-list {
       list-style: none;
       padding: 0;
       margin: 0 0 0 142px;
    }
        }
        
        @media (max-width: 480px) {

            .section-title h2 {
            font-size: 1.3rem;
            }

            .academic-title {
            font-size: 0.85rem;
            }

            .card-content {
            padding: 1rem;
            }
            
            .avatar {
            width: 130px;
            height: 130px;
            margin-top: -2px;
            font-size: 0.75rem;
            }

            .department-info {
            padding: 1.25rem;
            }

            .contact-list {
            list-style: none;
            padding: 0;
            margin: 0 0 0 70px;
           }
        }

        @media (max-width: 381px) {
            .card-content {
                padding: 1rem;
            }
            
            .avatar {
                width: 130px;
                height: 130px;
                margin-top: -2px;
                font-size: 0.75rem;
            }

            .department-info {
                padding: 1.25rem;
            }

            .contact-list {
            list-style: none;
            padding: 0;
            margin: 0 0 0 70px;
           }
        }