/* ===============================
   BLOQUES WIDGETS - EL ARTE DE RENACER
   =============================== */

/* Reset básico */
.widget-block {
    box-sizing: border-box;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Estilo general de cada bloque */
.widget-block {
    text-align: center;
}

/* Imágenes de ejemplo */
.widget-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Títulos */
.widget-block h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #222;
}

/* Texto */
.widget-block p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Botones */
.widget-block a.button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 10px;
    background: #0073e6;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.widget-block a.button:hover {
    background: #005bb5;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .widget-block {
        padding: 15px;
    }

    .widget-block h2 {
        font-size: 1.5rem;
    }

    .widget-block p {
        font-size: 0.95rem;
    }
}

/* ===== Estilos base (móvil) ===== */
.widget-block {
  padding: 1.5rem;
  text-align: center;
  font-family: Arial, sans-serif;
}

.widget-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.widget-block .btn {
  display: inline-block;
  background: #ff5a5f;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}

/* ===== Ajustes para pantallas grandes ===== */
@media screen and (min-width: 768px) {
  /* Botón más compacto */
  .widget-block .btn {
    width: auto; /* Evita que ocupe todo el ancho */
    padding: 12px 30px;
    font-size: 1.1rem;
  }

  /* Hero con imagen y texto en dos columnas */
  .widget-block.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
  }
  .widget-block.hero img {
    flex: 1;
  }
  .widget-block.hero .hero-text {
    flex: 1;
  }

  /* Bloques con imagen a la izquierda y texto a la derecha */
  .widget-block.about {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
  }
  .widget-block.about img {
    width: 40%;
  }
  .widget-block.about .about-text {
    width: 60%;
  }

  /* Beneficios en rejilla */
  .widget-block.benefits ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
  }

  /* Podcast en 2 columnas */
  .widget-block.podcast {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Testimonios en línea */
  .widget-block.testimonials {
    display: flex;
    gap: 2rem;
    justify-content: center;
  }
  .widget-block.testimonials .testimonial {
    flex: 1;
  }
}
