.basics-module {
  --size-space-0: 0px;
  --size-space-16: 16px;
  --size-space-24: 24px;
  --border-radius-l: 16px;
  --border-width-l: 2px;
  --Color-Border-General-1: #C8D9D0;
  --Color-Surface-General-1: #FFF;
  --Color-Content-Interactive-Active: #1B6A4B;

  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px;
  margin-bottom: 60px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

  h2.title_s.lg\:title_m {
    margin-bottom: 0;
    padding-bottom: 0;
}

.basics-module .basics-title {
  /* Title/M */
  color: var(--Color-Content-General-1, #2C2C2C);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: 'IberPangea', Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 125% */
}

.basics-module .basics-subtitle {
  /* Body/Regular/M */
  color: var(--Color-Content-General-1, #2C2C2C);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "IberPangea Text", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
  margin: 0 auto 24px;
  width: 100%;
  max-width: 1272px;
  height: 22px;
  box-sizing: border-box;
  overflow: hidden;
}

.basics-module .cards-wrapper {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap !important;
  width: 100%;
}

.basics-module .card-secondary {
  display: flex;
  width: 408px !important;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: var(--size-space-0, 0);
  flex-direction: column;
  align-items: center;
  gap: var(--size-space-0, 0);
  border-radius: var(--border-radius-l, 16px);
  border: var(--border-width-l, 2px) solid var(--Color-Border-General-1, #C8D9D0);
  background: var(--Color-Surface-General-1, #FFF);
  text-align: left;
}
.basics-module .card-secondary .card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  padding: 24px 16px 16px 16px; /* el 16px de abajo crea el espacio hacia card-bottom */
  gap: 16px;
}

.basics-module .card-secondary .card-title {
  /* Title/S */
  align-self: stretch;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.basics-module .card-secondary .card-text {
  /* Body/Regular/M */
  align-self: stretch;
  color: var(--Color-Content-General-1, #2C2C2C);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "IberPangea Text", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
  margin: 0;
}



/* Medida exacta de Figma para el bloque "Saber mÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡s" */
.card-bottom {
  display: flex;
  padding: var(--size-space-16, 16px) var(--size-space-16, 16px) var(--size-space-24, 24px) var(--size-space-16, 16px);
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  margin-top: auto;
}

  .basics-module .card-secondary .card-link {
  display: flex;
  width: 328px;
  max-width: 412px;
  padding: var(--size-space-0, 0);
  justify-content: center;
  align-items: center;
  gap: var(--size-space-4, 4px);
  color: var(--Color-Content-Interactive-Active, #1B6A4B);
}

.basics-module .card-secondary .card-link.card-link--1 {
  margin-top: 0;
}

.basics-module .card-secondary .card-link.card-link--2 {
  margin-top: 0; /* ajusta este valor, ej. -8px, para subirlo */
}

.basics-module .card-secondary .card-link.card-link--3 {
  margin-top: 0;
}
.card-link .arrow {
  text-decoration: none;
}

@media (max-width: 1200px) {
  .basics-module .card-secondary {
    width: 316px !important;
    height: 206px !important;
    box-sizing: border-box;
  }
  .basics-module .basics-title,
  .basics-module .basics-subtitle {
    max-width: 996px;
    margin-left: auto;
    margin-right: auto;
  }

  .basics-module .basics-title {
    padding-bottom: 16px;
  }

  .basics-module .basics-subtitle {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-title {
    width: 284px;
    height: 32px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-text {
    text-align: center;
    margin: 0;
    align-self: stretch;
    width: 284px;
    height: 44px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-bottom {
    width: 316px;
    height: 60px;
    box-sizing: border-box;
    padding: 16px 16px 24px 16px;
  }
}

@media (max-width: 992px) {
  .basics-module .basics-title {
    max-width: 828px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0;
  }

  .basics-module .basics-subtitle {
    max-width: 828px;
    margin-left: auto;
    margin-right: auto;
  }

  .basics-module .cards-wrapper {
    flex-wrap: wrap !important;
    justify-content: center;
  }

  .basics-module .card-secondary {
    width: 402px !important;
    height: 184px !important;
    flex-shrink: 0;
    overflow: hidden;
  }
  .break-1200 {
    display: none;
  }
  .basics-module .card-secondary .card-title {
    width: 370px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }
  .basics-module .card-secondary .card-text {
    width: 370px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }
  .basics-module .card-secondary .card-bottom {
    width: 402px !important;
    height: 60px !important;
    box-sizing: border-box;
    padding: 16px 16px 24px 16px;
  }
}

/* Responsive: en pantallas pequeÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â±as, apilar en columna */
@media (max-width: 768px) {
  .basics-module .basics-title {
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    line-height: 32px;
    padding-bottom: 0;
    width: 100%;
    height: 32px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .basics-subtitle {
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
  }

  .basics-module .cards-wrapper {
    flex-wrap: wrap;
  }

  .basics-module .card-secondary {
    width: 556px !important;
    height: 162px !important;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-title {
    width: 524px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-text {
    width: 524px !important;
    height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-bottom {
    width: 556px !important;
    height: 60px !important;
    box-sizing: border-box;
    padding: 16px 16px 24px 16px;
  }

  .basics-module .card-secondary .card-link.card-link--2 {
    margin-top: -17px; /* ajusta este valor, ej. -8px, para subirlo */
  }
}

@media (max-width: 576px) {
  .basics-module .basics-title {
    max-width: 492px;
    margin-left: auto;
    margin-right: auto;
  }

  .basics-module .basics-subtitle {
    max-width: 492px !important;
    height: 66px !important;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .basics-module .card-secondary {
    width: 492px !important;
    height: 184px !important;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-title {
    width: 460px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-text {
    width: 460px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-bottom {
    width: 492px !important;
    height: 60px !important;
    box-sizing: border-box;
    padding: 16px 16px 24px 16px;
  }
}
/* ResoluciÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³n 360px (mÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³vil pequeÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â±o) */
@media (max-width: 400px) {

  .basics-module {
    padding: 20px 16px 40px;
  }


  
  .basics-module .basics-title {
    max-width: 328px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0;
  }

  .basics-module .basics-subtitle {
    max-width: 328px !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
  }

  .basics-module .cards-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .basics-module .card-secondary {
    box-sizing: border-box;
    width: 328px !important;
    height: 184px !important;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-title {
    width: 296px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-text {
    width: 296px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .basics-module .card-secondary .card-bottom {
    width: 328px !important;
    height: 60px !important;
    box-sizing: border-box;
    padding: 16px 16px 24px 16px;
  }

  .basics-module .card-secondary .card-link.card-link--2 {
  margin-top: -17px; /* ajusta este valor, ej. -8px, para subirlo */
}
}