:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.company-grid + * {
  margin-top: var(--wp--preset--spacing--m);
}
.company-grid__company {
  display: block;
  margin: 0 0 3rem 0;
  padding: 2.5rem;
  background: rgba(20, 9, 62, 0.075);
  border-radius: 5px;
}
.company-grid__company img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}
.company-grid__company h2 {
  font-size: var(--wp--preset--font-size--font-21);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 500;
  margin-bottom: 1.2ch;
  padding-bottom: 0.5ch;
  color: #000;
  border-bottom: 1px solid #B11226;
}
.company-grid__company p {
  margin-bottom: 0;
  color: #101010;
}
.company-grid__company p strong {
  display: block;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-26);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0;
  color: #372A66;
}
.company-grid__company p strong + br {
  display: none;
}
.company-grid__company p + p {
  margin-top: 1ch !important;
}
.company-grid__company .btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.7rem;
  font-weight: 500;
  color: #101010;
  padding: 0;
  position: relative;
  transition: color 0.35s ease-in-out, gap 0.35s ease-in-out;
}
.company-grid__company .btn:after {
  content: "";
  display: block;
  width: 16px;
  height: 17px;
  mask: url("data:image/svg+xml,%3Csvg width='15' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7.338 15.445 7.108-6.969-7.108-7.03' stroke='%23B11226' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.015 8.48H.912' stroke='%23CED0D3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-size: cover;
  background: #B11226;
}
.company-grid__company .btn:hover, .company-grid__company .btn:active, .company-grid__company .btn:focus {
  color: #44307C;
  gap: 1.3rem;
}
.company-grid a.company-grid__company {
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s ease-in-out;
}
.company-grid a.company-grid__company:hover, .company-grid a.company-grid__company:active, .company-grid a.company-grid__company:focus {
  background: rgba(68, 48, 124, 0.125);
  transform: translateY(-6px);
}
.company-grid a.company-grid__company:hover p, .company-grid a.company-grid__company:active p, .company-grid a.company-grid__company:focus p {
  color: #101010;
}
@media (min-width: 700px) {
  .company-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
  }
  .company-grid__company {
    width: calc(50% - 2rem);
    margin: 0;
    padding: 3.5rem;
    padding-bottom: 9rem;
    position: relative;
  }
  .company-grid__company .btn {
    position: absolute;
    bottom: 3.5rem;
    left: 3.5rem;
  }
}
