.company-grid + * {
  margin-top: var(--wp--preset--spacing--m);
}
.company-grid__company {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1/0.6;
  position: relative;
  padding: 3rem;
  border-radius: 5px;
  background: rgba(10, 41, 72, 0.075);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), border 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.company-grid__company::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 41, 63, 0.1) 0%, rgba(45, 41, 63, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 5px;
}
.company-grid__company img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}
.company-grid__company h4 {
  font-size: var(--wp--preset--font-size--font-17);
  text-transform: uppercase;
  color: rgba(10, 41, 72, 0.8);
  font-weight: 400;
  line-height: 135%;
}
.company-grid__company h5 {
  font-size: var(--wp--preset--font-size--font-28);
  width: fit-content;
  color: #111417;
}
.company-grid__company p {
  transition: color 0.25s ease-in-out;
}
.company-grid__company p:last-child {
  margin-bottom: 0;
}
.company-grid__company .wp-block-button {
  margin-top: var(--wp--preset--spacing--small);
}
.company-grid__company:hover:before, .company-grid__company:active:before, .company-grid__company:focus:before {
  opacity: 1;
}
.company-grid__company:hover p, .company-grid__company:active p, .company-grid__company:focus p {
  color: #313d49;
}
.company-grid__company:hover .wp-block-button .wp-block-button__link, .company-grid__company:active .wp-block-button .wp-block-button__link, .company-grid__company:focus .wp-block-button .wp-block-button__link {
  background-position: 100% 50%;
  transform: translateY(-2px);
}
.company-grid__company:hover .wp-block-button .wp-block-button__link:after, .company-grid__company:active .wp-block-button .wp-block-button__link:after, .company-grid__company:focus .wp-block-button .wp-block-button__link:after {
  transform: translateX(4px);
}
@media (min-width: 600px) {
  .company-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .company-grid__company {
    width: calc(50% - 1rem);
  }
}
