/* «Leer más» para textos largos (ver insor-leer-mas.js). */

/* Salient fuerza display en los bloques de texto y anula el atributo hidden. */
.insor-leer-mas-contenido[hidden] {
  display: none !important;
}

.insor-leer-mas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 4px 0 0;
  padding: 8px 20px;
  border: 2px solid #25368b;
  border-radius: 5px;
  background: #fff;
  color: #25368b;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

/* Flecha que gira al desplegar. */
.insor-leer-mas-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.insor-leer-mas-btn[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(-135deg);
}

.insor-leer-mas-btn:hover {
  background: #25368b;
  color: #fff;
}

.insor-leer-mas-btn:focus-visible {
  outline: 3px solid #25368b;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .insor-leer-mas-btn,
  .insor-leer-mas-btn::after {
    transition: none;
  }
}
