/* ==========================================================================
   LLAMADA A LA ACCION DE LAS PAGINAS GENERADAS - REITOR
   --------------------------------------------------------------------------
   El mismo bloque cierra las paginas de /articulos/ y las de /calculadoras/.
   Vive en su propio archivo, y no dentro de css/articulo.css, porque una
   pagina de calculadora no tiene por que cargar la hoja del blog para pintar
   un boton que comparten las dos.
   ========================================================================== */

.cta-reitor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.9rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b2347, #12335f);
  color: #ffffff;
}

.cta-reitor-texto {
  flex: 1 1 320px;
}

.cta-reitor h2 {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 1.3rem;
}

.cta-reitor p {
  margin: 0;
  color: rgba(226, 234, 244, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cta-reitor-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-reitor-boton {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  background: #8ccb32;
  color: #0b2347;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cta-reitor-boton.es-secundario {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cta-reitor-boton:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .cta-reitor {
    padding: 1.5rem 1.25rem;
  }

  .cta-reitor-boton {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-reitor-boton {
    transition: none;
  }

  .cta-reitor-boton:hover {
    transform: none;
  }
}
