.cards {
  position: relative;
  width: 100%;
}

.cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 1200px) {
  .cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (min-width: 1200px) {
  .cards__grid:has(> .cards__card:first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cards__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background-color: white;
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
@media only screen and (min-width: 1200px) {
  .cards__card {
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
  }
}

.cards__card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-top-left-radius: inherit;
  flex-shrink: 0;
}
.cards__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cards__card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
  background-color: white;
}
@media only screen and (min-width: 1200px) {
  .cards__card-content {
    gap: 20px;
    padding: 40px;
  }
}

.cards__card-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding-bottom: 10px;
}
@media only screen and (min-width: 768px) {
  .cards__card-copy {
    gap: 20px;
  }
}
.cards__card-copy > h2 {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  margin: 0;
  position: relative;
}
.cards__card-copy > h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 12px;
  background-color: #F8AE43;
}
@media only screen and (min-width: 1200px) {
  .cards__card-copy > h2::after {
    width: 100px;
    height: 6px;
  }
}
.cards__card-copy > *:not(:first-child) {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.375;
  color: #000;
  margin: 0;
  padding-bottom: 10px;
}
@media only screen and (min-width: 1200px) {
  .cards__card-copy > *:not(:first-child) {
    font-size: 18px;
    line-height: 1.333;
  }
}
.cards__card-copy > *:last-child {
  padding-bottom: 0;
}

.cards__card-button {
  margin-left: auto;
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .cards__card-button {
    width: auto;
    align-self: flex-start;
  }
}

/*# sourceMappingURL=cards.css.map */
