.department__item {
  border: 1px solid var(--color-border);
  width: 100%;
  margin-bottom: 5.5555555556vw;
  min-height: 30vw;
}

.department__photo {
  width: 30vw;
}

.department__img {
  display: block;
  aspect-ratio: 1/1;
  width: 100%;
}

.department__content {
  padding: 2.2222222222vw;
}

.department__name {
  font-weight: 700;
  color: #061B3E;
  line-height: 1.1;
  font-size: 3.6111111111vw;
  margin-bottom: 1.6666666667vw;
}

.department__text,
.department__text.typography p {
  font-size: 3.3333333333vw;
}

.department__text.typography a {
  text-decoration: none;
}

.department__text.typography a:hover {
  text-decoration: underline;
}

.department__text.typography img {
  display: flex;
  justify-content: center;
  align-items: center;
  -o-object-fit: contain;
     object-fit: contain;
  width: 4.7222222222vw;
  height: 4.7222222222vw;
  margin-top: 1.3888888889vw;
  margin-right: 2.7777777778vw;
  margin-bottom: 1.3888888889vw;
}

@media (min-width: 500px) {
  .department__item {
    width: calc((100% - 1 * 1.6842105263vw - 0.5px) / 2);
    min-height: 14.0808344198vw;
    margin-bottom: 1.6842105263vw;
  }
  .department__item:not(:nth-child(2n)) {
    margin-right: 1.6842105263vw;
  }
  .department__photo {
    width: 14.0808344198vw;
  }
  .department__content {
    padding: 8px;
  }
  .department__name {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .department__text,
  .department__text.typography p {
    font-size: 12px;
  }
  .department__text.typography img {
    width: 2.2164276402vw;
    height: 2.2164276402vw;
    margin-top: 0.6518904824vw;
    margin-right: 1.3037809648vw;
    margin-bottom: 0.6518904824vw;
  }
}
@media (min-width: 768px) {
  .department__item {
    min-height: 6.75rem;
  }
  .department__photo {
    width: 6.75rem;
  }
  .department__content {
    padding: 0.625rem;
  }
  .department__name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .department__text,
  .department__text.typography p {
    font-size: 0.9375rem;
  }
  .department__text.typography img {
    width: 1.0625rem;
    height: 1.0625rem;
    margin-top: 0.3125rem;
    margin-right: 0.625rem;
    margin-bottom: 0.3125rem;
  }
}
@media (min-width: 768px) and (max-width: 1900px) {
  .department__item {
    width: calc((100% - 3 * 1.6842105263vw - 0.5px) / 4);
    margin-bottom: 1.6842105263vw;
  }
  .department__item:not(:nth-child(4n)) {
    margin-right: 1.6842105263vw;
  }
}
@media (min-width: 1900px) {
  .department__item {
    width: calc((100% - 96px) / 4);
    margin-bottom: 32px;
  }
  .department__item:not(:nth-child(4n)) {
    margin-right: 32px;
  }
}
/*# sourceMappingURL=gallery_list__departments.css.map */