.text-cards-v2 {
  --font-primary: Elastik, sans-serif;
  --font-secondary: Solina, "Times New Roman", sans-serif;
  padding-top: var(--padding-top, 50px);
  padding-bottom: var(--padding-bottom, 50px);
  background-color: var(--bg-color, #FFFEF9);
}

@media only screen and (max-width: 767px) {
  .text-cards-v2 {
    padding-top: var(--mobile-padding-top, 30px);
    padding-bottom: var(--mobile-padding-bottom, 30px);
  }
}

.text-cards-v2 .container.text-cards-v2__container {
  max-width: var(--content-max-width, 1200px);
}

.text-cards-v2__inner {
  max-width: var(--content-inner-width, 100%);
  margin-left: auto;
  margin-right: auto;
}

.text-cards-v2__header {
  text-align: center;
  margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__header {
    margin-bottom: 25px;
  }
}

.text-cards-v2__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.text-cards-v2__logo img {
  display: block;
  width: 48px;
  height: auto;
}

.text-cards-v2__subheading {
  display: block;
  margin-bottom: 8px;
}

.text-cards-v2__text {
  max-width: 640px;
  margin: 16px auto 0;
}

.text-cards-v2__text p {
  font-size: 18px;
  line-height: 1.5;
}

.text-cards-v2__heading {
  margin: 0 0 40px;
  letter-spacing: -0.03em; /* Figma: -3% */
  line-height: 0.9;
  font-size: 48px;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__heading {
    margin-bottom: 32px;
  }
}

.text-cards-v2__wrapper {
  display: grid;
  grid-template-columns: repeat(var(--columns-desktop, 3), 1fr);
  gap: 16px;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__wrapper {
    grid-template-columns: repeat(var(--columns-mobile, 1), 1fr);
  }
}

.text-cards-v2__wrapper--auto-width {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.text-cards-v2__wrapper--auto-width .text-cards-v2__item {
  flex: 0 1 auto;
  width: auto;
}

.text-cards-v2__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: var(--card-align-items, center);
  text-align: var(--card-text-align, center);
  padding: var(--card-padding-vertical, 30px) var(--card-padding-horizontal, 30px);
  background-color: var(--bg-color, #FFFEF9);
  border-radius: var(--card-border-radius, 8px);
  border-width: var(--card-border-width, 0px);
  border-style: solid;
  border-color: var(--card-border-color, transparent);
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__item {
    align-items: var(--card-align-items-mobile, center);
    text-align: var(--card-text-align-mobile, center);
  }
}

.text-cards-v2__item-top {
  display: flex;
  align-items: center;
  justify-content: var(--card-align-items, center);
  gap: 8px;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__item-top {
    justify-content: var(--card-align-items-mobile, center);
  }
}

.text-cards-v2__item-top .text-cards-v2__item-text {
  width: auto;
}

.text-cards-v2__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.text-cards-v2__item-icon svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 20px;
  max-height: 20px;
}

.text-cards-v2__item-heading {
  width: 100%;
  margin: 0 0 16px;
  letter-spacing: -0.03em; /* Figma: -3% */
  line-height: 0.9;
  font-size: 48px;
}

.text-cards-v2__item-top--with-icon .text-cards-v2__item-heading {
  width: auto;
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__item-heading {
    font-size: 32px;
  }
}

.text-cards-v2__item-text {
  width: 100%;
  color: rgba(var(--color-primary-body-text), 1);
}

.text-cards-v2__item-text p {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}

.text-cards-v2__button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__button-wrapper {
    margin-top: 24px;
  }
}

.text-cards-v2__bottom-text,
.text-cards-v2__bottom-text a {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(var(--color-primary-body-text), 1);
}

.text-cards-v2__bottom-text a {
  color: inherit;
  text-decoration: underline;
  font-weight: inherit;
  font-family: inherit;
}

@media only screen and (max-width: 767px) {
  .text-cards-v2__bottom-text {
    margin-top: 24px;
  }
}
