<!---Общий--->
.page-container {
min-height: 100vh;
padding: 2rem 0;
}
.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);
cursor:pointer;
}
.chief-container {
max-width: 400px;
margin: 0 auto 3rem;
}
.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;
}
.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 0 -11px;
border-radius: 50%;
}
.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;
}
.academic-title {
color: var(--nsmu-secondary);
font-size: 0.95rem;
margin: -0.5rem 0 1.5rem;
font-style: italic;
}
.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;
}
.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-list li{
list-style-type: circle;
}





.history-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}

.history-card {
background: white;
border-radius: 10px;
border: 1px solid var(--nsmu-grey-3);
overflow: hidden;
transition: transform 0.2s ease;
}

.history-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
cursor:pointer;
}

.history-card.current {
border: 2px solid var(--nsmu-secondary);
background: linear-gradient(155deg, #fefffe, var(--nsmu-light-blue-3));
}
                
.history-avatar {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 1.5rem auto 1rem;
border: 3px solid white;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
overflow: hidden;
background: var(--nsmu-light-blue-3);
display: flex;
align-items: center;
justify-content: center;
color: var(--nsmu-grey-1);
font-size: 0.8rem;
text-align: center;
}
                
 .history-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 0 -11px;
}
                
.history-content {
padding: 0 1.5rem 1.5rem;
text-align: center;
}
                
.history-name {
font-size: 1.1rem;
font-weight: 600;
color: var(--nsmu-primary);
margin-bottom: 0.5rem;
}
                
.history-period {
color: var(--nsmu-secondary);
font-size: 0.9rem;
margin-bottom: 0.5rem;
font-weight: 500;
}
                
.history-years {
color: var(--nsmu-grey-1);
font-size: 0.85rem;
margin-bottom: 1rem;
}
                
.history-index {
position: absolute;
top: 10px;
left: 10px;
background: var(--nsmu-secondary);
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
}
                
.history-card {
position: relative;
}
                
.history-card.current .history-index {
background: var(--nsmu-primary);
}


<!---Общий---->

@media (max-width: 768px) {
.page-container {
padding: 1rem 0;
}
.page {
padding: 0.75rem;
}
.chief-container {
max-width: 100%;
}
.avatar {
width: 130px;
height: 130px;
margin-top: -2px;
font-size: 0.75rem;
}
.card-content {
 padding: 1.25rem;
}
.department-info {
padding: 1.5rem;
}

.name {
font-size: 1.125rem;
}
.department-title {
font-size: 1.25rem;
}
.contact-list {
list-style: none;
padding: 0;
margin: 0 0 0 142px;
}
  }
        
@media (max-width: 480px) {
.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;
}
  }


<!--История-->


 @media (max-width: 768px) {
.history-gallery {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.25rem;
}
                    
.history-avatar {
width: 120px;
height: 120px;
}
}
                
@media (max-width: 480px) {
.history-gallery {
grid-template-columns: 1fr;
}
}