/* Public fallback for /index.css to avoid 404 in production */
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }

.serif { font-family: 'Playfair Display', serif; }

/* Editor y contenido */
.epw-editor, .epw-editor * {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

.rich-text, .rich-text * {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

.rich-text p { margin-bottom: 1.2rem; line-height: 1.85; }
.rich-text a { color: #b91c1c; text-decoration: underline; }
.rich-text ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1.5rem; }

/* Nota abierta */
.epw-title{
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.epw-content{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  font-weight: 400;
  line-height: 1.9;
  font-size: 1.06rem;
}

.epw-content b,
.epw-content strong { font-weight: 800; }

.epw-content i,
.epw-content em { font-style: italic; }

.epw-content h2,
.epw-content h3 {
  font-weight: 700;
  line-height: 1.35;
  margin: 1.6rem 0 0.8rem 0;
}

/* Animaciones */
.animate-fadeIn {
  animation: fIn 0.3s ease-out forwards;
}

@keyframes fIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ticker */
.epw-ticker {
  animation: epwTicker 22s linear infinite;
}

@keyframes epwTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.epw-ticker:hover {
  animation-play-state: paused;
}
