.formatto-research {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8rem 20rem;
  overflow: hidden;
  background: var(--color-background);
}

.formatto-research__shape {
  position: absolute;
  top: -12rem;
  left: -15rem;
  z-index: 0;
  width: 68.75rem;
  height: auto;
  pointer-events: none;
}

.formatto-research__cards,
.formatto-research__content {
  position: relative;
  z-index: 1;
}

.formatto-research__cards {
  display: flex;
  flex: 0 0 41.0625rem;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.625rem 0.6580625rem;
  width: 41.0625rem;
}

.formatto-research-card {
  display: flex;
  flex: 0 0 20.1364375rem;
  flex-direction: column;
  justify-content: center;
  width: 20.1364375rem;
  gap: 1.316125rem;
  padding: 1.1845rem;
  border-radius: 1.052875rem;
  background: var(--color-surface);
  filter: drop-shadow(0 0.26325rem 0.329rem rgba(1, 75, 119, 0.1));
  transition: transform 600ms ease, background-color 600ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .formatto-research-card:hover {
    background: #f5fbff;
    transform: scale(1.025);
  }
}

.formatto-research-card__link {
  display: flex;
  flex-direction: column;
  gap: inherit;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.formatto-research-card__link:focus-visible {
  outline: 0.125rem solid var(--color-blue-600);
  outline-offset: 0.25rem;
}

.formatto-research-card__media {
  position: relative;
  width: 100%;
  height: 9.8708125rem;
  overflow: hidden;
  border-radius: 0.7896875rem;
}

.formatto-research-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.formatto-research-card h3,
.formatto-research__eyebrow,
.formatto-research h2,
.formatto-research__text p,
.formatto-research__link {
  margin: 0;
  font-family: var(--font-body);
}

.formatto-research-card h3 {
  width: 100%;
  min-height: 2.0399375rem;
  color: #00588a;
  font-size: 0.92125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.0092125rem;
}

.formatto-research__content {
  display: flex;
  flex: 0 0 30.9rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 4.5rem;
  width: 30.9rem;
}

.formatto-research__text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  word-break: break-word;
}

.formatto-research__heading {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  line-height: 1.2;
}

.formatto-research__eyebrow {
  color: #00588a;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01rem;
}

.formatto-research h2 {
  width: 22.1875rem;
  color: var(--color-blue-600);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025rem;
}

.formatto-research__text p {
  color: #002f4c;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.0125rem;
}

.formatto-research__link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 0.8125rem;
  color: var(--color-blue-600);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01rem;
  white-space: nowrap;
}

.formatto-research__link img {
  width: 0.63825rem;
  height: 0.6613125rem;
}

@media (min-width: 1409px) and (max-width: 1919px) {
  .formatto-research {
    padding-right: calc((100vw - 80rem) / 2);
    padding-left: calc((100vw - 80rem) / 2);
  }
}

@media (min-width: 768px) and (max-width: 1408px) {
  .formatto-research {
    padding: 9.084457vw 5vw;
  }

  .formatto-research__shape {
    top: -13.626686vw;
    left: -17.033357vw;
    width: 78.069553vw;
  }

  .formatto-research__cards {
    flex-basis: 46.628815vw;
    gap: 0.709723vw 0.747267vw;
    width: 46.628815vw;
  }

  .formatto-research-card {
    flex-basis: 22.866075vw;
    width: 22.866075vw;
    gap: 1.494536vw;
    padding: 1.345068vw;
    border-radius: 1.1956vw;
  }

  .formatto-research-card__media {
    height: 11.208871vw;
    border-radius: 0.896735vw;
  }

  .formatto-research-card h3 {
    min-height: 2.316466vw;
    font-size: 1.046132vw;
    letter-spacing: -0.010462vw;
  }

  .formatto-research__content {
    flex-basis: 35.088715vw;
    gap: 5.110007vw;
    width: 35.088715vw;
  }

  .formatto-research__text {
    gap: 2.838893vw;
  }

  .formatto-research__heading {
    gap: 1.703335vw;
  }

  .formatto-research__eyebrow,
  .formatto-research__link {
    font-size: 1.135557vw;
    letter-spacing: -0.011356vw;
  }

  .formatto-research h2 {
    width: 25.195174vw;
    font-size: 2.838893vw;
    letter-spacing: -0.028389vw;
  }

  .formatto-research__text p {
    font-size: 1.419446vw;
    letter-spacing: -0.014194vw;
  }

  .formatto-research__link {
    gap: 0.709723vw;
    height: 0.92264vw;
  }

  .formatto-research__link img {
    width: 0.724769vw;
    height: 0.750958vw;
  }
}

@media (max-width: 767px) {
  .formatto-research {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10.43vw;
    padding: 16.688vw 5vw;
  }

  .formatto-research__shape {
    top: 60.495vw;
    left: -52.151vw;
    width: 195.567vw;
  }

  .formatto-research__cards {
    flex: 0 0 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 3.129vw;
    width: 100%;
    max-width: 100%;
  }

  .formatto-research-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    gap: 4.172vw;
    padding: 3.911vw;
    border-radius: 3.65vw;
    filter: drop-shadow(0 0.782vw 0.978vw rgba(1, 75, 119, 0.1));
  }

  .formatto-research-card__media {
    height: 38.853vw;
    border-radius: 2.608vw;
  }

  .formatto-research-card h3 {
    min-height: auto;
    font-size: 3.65vw;
    letter-spacing: -0.037vw;
  }

  .formatto-research__content {
    flex-basis: auto;
    gap: 8.344vw;
    width: 100%;
  }

  .formatto-research__text {
    gap: 6.258vw;
  }

  .formatto-research__heading {
    gap: 4.172vw;
  }

  .formatto-research__eyebrow {
    font-size: 3.65vw;
    letter-spacing: -0.037vw;
  }

  .formatto-research h2 {
    width: 74.315vw;
    font-size: 7.301vw;
    letter-spacing: -0.073vw;
  }

  .formatto-research__text p {
    font-size: 4.58vw;
    letter-spacing: -0.046vw;
  }

  .formatto-research__link {
    gap: 2.608vw;
    height: 3.39vw;
    font-size: 3.65vw;
    letter-spacing: -0.037vw;
  }

  .formatto-research__link img {
    width: 2.662vw;
    height: 2.758vw;
  }
}
