.card-department {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  display: block;
  background: linear-gradient(
    0deg,
    var(--color-surface-muted) 0%,
    rgb(var(--color-primary-rgb) / 0.4) 100%
  );
  border-radius: 1.8rem;
}
.card-department .card__inner {
  width: 100%;
  height: 100%;
}
.card-department .card__link {
  display: block;
  width: 100%;
  height: 100%;
}
.card-department .card__content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.2rem;
  z-index: 20;
}
@media (width >= 1200px) {
  .card-department .card__content {
    padding: 3.6rem;
  }
}
.card-department .card__picture-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.card-department .card__picture {
  position: absolute;
  right: -10%;
  bottom: 10%;
  width: 60%;
  height: auto;
  opacity: 0.12;
}
.card-department .card__title {
  line-height: var(--line-height-dense);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
}
@media (width >= 1200px) {
  .card-department .card__title {
    font-size: var(--font-size-lg);
  }
}
.card-department .card__icon {
  display: flex;
  flex-shrink: 0;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  background-color: var(--color-surface);
  margin-top: 1rem;
}
.card-department .card__icon .icon {
  width: 2rem;
  height: 2rem;
  transform: rotate(-45deg);
}
