/* ---------------------------------------------------------------------
   7. UTILITIES
   --------------------------------------------------------------------- */
.u-center {
  text-align: center;
}

.u-mt-0 {
  margin-top: 0 !important;
}

.u-flex-center {
  display: flex;
  justify-content: center;
}

.u-gap-24 {
  gap: 24px;
}

.u-maxw-1074 {
  max-width: 1074px;
}

.u-dev-note {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #8a5a00;
  background: #fff4d6;
  border: 1px dashed #e0b44a;
  border-radius: 6px;
  padding: 2px 8px;
}

.animatedPattern {
  /* position: relative; */
  /* z-index: 1; */
}

.animatedPattern:before {
  /* position: absolute; */
  /* content: ''; */
  /* width: 100%; */
  /* height: 50%; */
  /* inset: 0; */
  /* background-repeat: repeat-x; */
  /* background-position: center; */
  /* background-image: url(../../images/animatedSVGs/pattern_1.svg); */
  /* background-size: 46%; */
  /* top: 50%; */
  /* transform: translateY(-50%); */
  /* filter: brightness(0) invert(1) opacity(0.5); */
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .c-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .c-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .c-marquee [aria-hidden="true"] {
    display: none;
  }

  /* phones: certificates become a swipeable row instead of a 15-card column */
  @media (max-width: 767px) {
    .m-certs .c-marquee {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 8px;
    }

    .m-certs .c-marquee__track {
      flex-wrap: nowrap;
      justify-content: flex-start;
      width: max-content;
      padding-inline: var(--gutter);
    }

    .m-certs .m-cert {
      scroll-snap-align: center;
    }
  }
}