/* motionprompts · formulario del boletín (scripts/lib/boletin.mjs, /boletin.js).
 *
 * Va dentro de una celda de la retícula, en la portada (pie) y en las fichas (última sección del
 * <main>): no pone fondo ni borde propios, sólo ordena el texto y el campo. Los colores son los
 * del marco (marco.css) con valores de reserva, para que se vea igual en las dos hojas. */
.mp-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px 40px;
  align-items: start;
}
.mp-news-copy h2 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--mk-ink, #18181a);
}
.mp-news-copy p {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mk-muted, #6f6f74);
}
.mp-news-form { display: grid; gap: 10px; margin: 0; }
.mp-news-row { display: flex; gap: 8px; }
.mp-news-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mp-news-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--mk-ink, #18181a);
  background: var(--mk-paper, #ffffff);
  border: 1px solid #d5d5d5;
  border-radius: var(--mk-r, 8px);
  outline: none;
  transition: border-color 0.2s;
}
.mp-news-row input:focus-visible { border-color: var(--mk-ink, #18181a); box-shadow: 0 0 0 3px rgba(24, 24, 26, 0.08); }
.mp-news-row input[readonly] { color: var(--mk-muted, #6f6f74); background: var(--mk-paper-2, #f4f4f3); }
.mp-news-row button {
  flex: none;
  height: 44px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--mk-ink, #18181a);
  border: 0;
  border-radius: var(--mk-r, 8px);
  cursor: pointer;
  transition: opacity 0.2s;
}
.mp-news-row button:hover { opacity: 0.86; }
.mp-news-row button:disabled { opacity: 0.45; cursor: default; }
.mp-news-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mk-muted, #6f6f74);
  cursor: pointer;
}
.mp-news-consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--mk-ink, #18181a); }
.mp-news-consent a { color: var(--mk-ink, #18181a); text-decoration: underline; text-underline-offset: 2px; }
.mp-news-msg { margin: 0; min-height: 1.45em; font-size: 13px; line-height: 1.45; color: var(--mk-muted, #6f6f74); }
.mp-news-msg[data-state="ok"] { color: var(--mk-ink, #18181a); font-weight: 550; }
.mp-news-msg[data-state="error"] { color: #b4246c; }
.mp-news-msg:empty { display: none; }

@media (max-width: 860px) {
  .mp-news { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 420px) {
  .mp-news-row { flex-direction: column; }
  .mp-news-row button { width: 100%; }
}
