/* tema2-2-dar-formato-al-texto.html — alineación imagen/texto y padding (desktop) */

.page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card > p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Filas imagen + párrafo: alinear al inicio y quitar “space-around” global */
.page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-row.flex-cursor {
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor > div:first-child {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem 0.35rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor > div:last-child {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.35rem 0;
}

.page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor img {
  display: block;
  max-width: 100%;
  height: auto;
  min-width: 0;
}

.page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor > div:last-child p {
  margin: 0;
  line-height: 1.55;
  text-align: left;
}

@media (min-width: 768px) {
  .page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-row.flex-cursor {
    flex-wrap: nowrap;
    gap: 1rem 1.5rem;
    padding: 0.85rem 0.15rem;
  }

  .page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor > div:first-child {
    flex: 0 0 140px;
    justify-content: center;
    padding-right: 0.5rem;
  }

  .page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor > div:last-child {
    flex: 1 1 auto;
  }
}

@media (min-width: 992px) {
  .page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card {
    padding: 1.75rem 2rem 2rem;
    box-sizing: border-box;
  }

  .page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-row.flex-cursor {
    padding: 1rem 0.25rem;
    gap: 1.25rem 1.75rem;
  }

  .page-tema-m3-tema2-2-formato-texto .tema-m3-tema2-2-formato-card .flex-cursor > div:first-child {
    flex: 0 0 160px;
  }
}
