.employee-page {
    /* font-family: Arial, sans-serif; */
    margin: 0;
    padding: 0 1vw 1vh 1vw;
}

.employee-page .section {
    margin-bottom: 40px;
}

.employee-page .employee-section{
  background-image: url(/sites/default/files/2025-04/1200px-Belarus_flag.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.employee-page h2 {
  margin-bottom: 5vh;
}

.employee-page .employees-grid {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    /* grid-template-columns: repeat(auto-fill, minmax(550px, 1fr)); */
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 20px;
}

.employee-page .employee-card {
    display: flex;
    /* border: 1px solid #ddd; */
    padding: 15px;
    border-radius: 8px;
    align-items: center;
}

.employee-page .employee-icon {
    width: 100%;
    height: 100%;
    max-width: 150px;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.employee-page .employee-icon img{
  border-radius: 20%;
}

.employee-page .employee-icon img, .employee-page .employee-icon a{
  height: 100%;
}

.employee-page .employee-info {
    flex-grow: 1;
    font-size: large;
    color: black;
    background-color: #f1fff0;
    margin-right: 30%;
    padding: 10px;
    border-radius: 15px;
}

.employee-page .employee-info .department b{
  border-bottom: 2px solid #ff0000a1;
}

.employee-page .buttons-section {
    display: flex;
    flex-direction: column;
}

.employee-page .buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.employee-page .action-button {
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    flex: 1;
}

.employee-page .action-button:hover {
    background-color: #45a049;
}

.employee-page .hidden-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.employee-page .photos-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.employee-page .photo-item {
    /* height: 150px; */
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.employee-page #textContent{
  font-size: large;
}
/* .vanilla-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.vl-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
}

.vl-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
} */

.vl-prev, .vl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vl-prev {
  left: -70px; /* Расположение слева от изображения */
}

.vl-next {
  right: -70px; /* Расположение справа от изображения */
}
/* 
.vl-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 2;
} */

@media (max-width:1440px) {
  .employee-page .employee-info {
    margin-right: 15%;
  }
}

@media (max-width:1150px) {
  .employee-page .employees-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}

@media (max-width:840px) {
  .employee-page .employees-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .employee-page .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .employee-page .employee-info {
    margin-right: 0%;
  }
}

@media (max-width: 768px) {
  .vl-prev, .vl-next {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  
  .vl-prev {
    left: 10px;
  }
  
  .vl-next {
    right: 10px;
  }

  .vl-close{
    top: 24vh;
    right: 1vw;
  }
}

@media (max-width:400px) {
  .employee-page .employees-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

