
/* ENKI_PREMIUM_V6_DEPARTMENTS_2654GS */

.departments {
  gap:17px;
}

.department {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  box-sizing:border-box;
  min-height:112px;
  padding:25px 23px;
  border-radius:17px;
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(145deg,#202834 0%,#151c26 65%,#111720 100%);
  color:#f5f7fb;
  box-shadow:
    0 12px 30px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.035);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.department::before {
  content:"";
  position:absolute;
  left:0;
  top:17px;
  bottom:17px;
  width:3px;
  border-radius:0 4px 4px 0;
  background:#ffd500;
  opacity:.8;
  pointer-events:none;
}

.department::after {
  content:"";
  position:absolute;
  right:-38px;
  bottom:-58px;
  width:125px;
  height:125px;
  border-radius:50%;
  background:radial-gradient(circle,
    rgba(255,213,0,.075),transparent 70%);
  pointer-events:none;
}

.department:focus-visible {
  outline:2px solid #ffd500;
  outline-offset:4px;
}

.department:active {
  transform:scale(.985);
}

@media (hover:hover) {
  .department:hover {
    transform:translateY(-3px);
    border-color:rgba(255,213,0,.48);
    box-shadow:
      0 18px 38px rgba(0,0,0,.27),
      inset 0 1px 0 rgba(255,255,255,.045);
  }
}

@media (max-width:850px) {
  .departments {
    gap:13px;
  }

  .department {
    min-height:98px;
    padding:20px 19px;
    border-radius:15px;
  }
}

@media (max-width:560px) {
  .departments {
    grid-template-columns:1fr;
    gap:11px;
  }

  .department {
    min-height:82px;
    padding:17px 19px;
    font-size:16px;
    border-radius:14px;
  }

  .department::before {
    top:13px;
    bottom:13px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .department {
    transition:none;
  }
}
