.tab-cards {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 728px;
  padding: 0 20px 50px;
  box-sizing: content-box;
}

.tab-card {
  width: min(80vw, 300px);
  width: min(70vw, 300px);
  height: 192px;
  border-radius: 8px 80px 8px 8px;
  background: var(--gradient-dynamic-red);
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
  padding: 20px 0 0 10px;
  position: relative;
}

.tab-card-title {
  font-size: 20px;
  line-height: 1.45;
  color: var(--white);
}

.tab-card::before {
  content: "";
  display: block;
  position: absolute;
  /* width: min(80vw, 300px); */
  width: min(70vw, 300px);
  height: 118px;
  border-radius: 8px 40px 8px 8px;
  background-color: var(--white);
  top: 69px;
  left: -5px;
}

.tab-card .link {
  position: absolute;
  margin: 0;
  bottom: 41.5px;
  left: calc(50% - 5px);
  transform: translateX(-50%);
  width: min(235px, 62.67vw);
}

.tab-card:last-child {
  padding-top: 8px;
}

@media (min-width: 1160px) {
  .tab-cards {
    justify-content: space-between;
    max-width: 1160px;
    padding-bottom: 100px;
  }

  .tab-card {
    width: 256px;
  }

  .tab-card::before {
    width: 256px;
    top: 69px;
    left: -5px;
  }

  .tab-card .link {
    width: 224px;
  }
}