/* Media Mixin */
@media screen and (max-width: 600px) {
  /* Content of the @mixin mobile */
}

.menu-dd {
  position: relative;
}

.sub-menu > li {
  padding: 0.75rem;
  border-bottom: 1px solid #d3d3d3;
  opacity: 0;

  transform-origin: bottom;
  animation: enter 0.2s ease forwards;
}

.sub-menu > li:last-child {
  border-bottom: none;
}

.sub-menu > li:nth-child(1) {
  animation-duration: 0.2s;
  animation-delay: 0s;
}

.sub-menu > li:nth-child(2) {
  animation-duration: 0.3s;
  animation-delay: 0.1s;
}

.sub-menu > li:nth-child(3) {
  animation-duration: 0.4s;
  animation-delay: 0.2s;
}

.sub-menu {
  position: absolute;

  top: 100%;
  left: 0;
  display: none;
  z-index: 1;
}

.menu-dd:hover > .sub-menu {
  display: block;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: scaleY(0.98) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ham {
  width: 30px;
  cursor: pointer;
}

.ham:before,
.ham:after,
.ham div {
  background: #fff;
  content: "";
  display: block;
  height: 2px;
  border-radius: 3px;
  margin: 7px 0;
  transition: 0.5s;
  cursor: pointer;
}

.ham.close:before {
  transform: translateY(12px) rotate(135deg);
}
.ham.close:after {
  transform: translateY(-6px) rotate(-135deg);
}
.ham.close div {
  transform: scale(0);
}

.ham.blue:before,
.ham.blue:after,
.ham.blue div {
  background: #153d6c;
  content: "";
  display: block;
  height: 2px;
  border-radius: 3px;
  margin: 7px 0;
  transition: 0.5s;
}

#block-chancellor-main-menu.open {
  display: block;
}

#prenav-menu.open {
  display: flex;
}

.paragraph--type--staff img{
  width:100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
