.text-boxes .top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 2;
}
.text-boxes .inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;
  gap: 20px;
  max-width: 1250px;
  width: 100%;
  padding: 50px 0;
  margin: 0 auto;
  z-index: 1;
}
@media screen and (max-width: 730px) {
  .text-boxes .inner {
    margin: 15px auto 0 auto;
  }
}
.text-boxes .inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: -125px;
  display: block;
  width: 100%;
  height: 130%;
  z-index: -2;
  background: radial-gradient(100% 100% at 50% 0%, #f7f7f7 0%, #ededed 100%);
}
@media screen and (max-width: 730px) {
  .text-boxes .inner::before {
    height: 100%;
    top: 0;
  }
}
.text-boxes .inner .text-box {
  position: relative;
  padding: 0 clamp(0.3125rem, calc(-2.1875rem + 3.3333333333vw), 1.5625rem);
}
.text-boxes .inner .text-box h2 {
  position: relative;
  font-weight: 700;
}
.text-boxes .inner .text-box h2::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  position: absolute;
  background: url("../../img/line.svg") no-repeat center/100% auto;
  bottom: -4px;
  left: 0;
  transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out;
}
.text-boxes .inner .text-box .link {
  position: relative;
  display: block;
  color: var(--color_dark);
}
.text-boxes .inner .text-box .link:hover {
  opacity: 1;
}
.text-boxes .inner .text-box .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 0 clamp(0.3125rem, calc(-2.1875rem + 3.3333333333vw), 1.5625rem);
  max-width: 360px;
  margin: 0;
}
.text-boxes .inner .text-box .inner::before {
  content: none;
}
.text-boxes .inner .text-box .inner .text {
  margin: 0;
  line-height: 1.2;
  z-index: 1;
}
.text-boxes .inner .text-box .inner .btn-secondary {
  margin-top: auto;
  z-index: 1;
}
