/* "Growth notes" newsletter sign-up, in every page footer (newsletter.js).
   Light on the home footer, flipped on the dark footers of the other pages. */
.news { display: grid; gap: 14px 40px; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--rule); width: 100%; }
@media (min-width: 860px) { .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; } }
.news__label { margin: 0 0 6px; font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.news__line { margin: 0; max-width: 34rem; color: var(--ink); font-size: 1.05rem; line-height: 1.45; }
.news__row { display: flex; gap: 10px; flex-wrap: wrap; }
.news__row input[type="email"] { flex: 1 1 14rem; min-width: 0; min-height: 52px; padding: 0 16px; font: inherit; font-size: max(1rem, 16px); color: var(--ink); background: var(--white); border: 1px solid rgba(31, 43, 31, .22); border-radius: 999px; }
.news__row input[type="email"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(241, 177, 56, .35); }
.news__row .btn { flex: 0 0 auto; min-height: 52px; }
.news__msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: .95rem; color: var(--ink-soft); }
.news__msg:empty { display: none; }
.news.is-done .news__row { display: none; }
.news .hp { position: absolute; left: -9999px; }

/* Dark footers (styles.css pages) */
.footer .news { border-bottom-color: rgba(255, 255, 255, .14); }
.footer .news__label { color: var(--accent); }
.footer .news__line { color: rgba(255, 255, 255, .92); }
.footer .news__msg { color: rgba(255, 255, 255, .75); }
.footer .news__row input[type="email"] { border-color: transparent; }
