/* News, polished version (news.polish): the phone layout of /news and the newsletter box (News\Newsletter).
   Plain CSS on purpose: news.css is a prebuilt Tailwind subset, new utility classes would not exist there. */

/* ---- /news on a phone: the lead story right under a short title (was ~1200 px down, 2026-11-11) ---- */
@media (max-width: 639px) {
  .news-v2 .news-hero > div:last-child { padding-top: 20px; padding-bottom: 20px; }
  .news-v2 .news-hero h1 { margin-top: 12px; font-size: 1.75rem; line-height: 1.15; }
  .news-v2 .news-hero p { margin-top: 10px; font-size: .95rem; line-height: 1.6; }
  .news-v2 .news-hero__stat { display: none; }
  .news-v2 .news-main { display: flex; flex-direction: column; padding-top: 16px; }
  .news-v2 .news-lead { order: -2; margin-top: 0; }
  .news-v2 .news-filters { order: -1; margin-top: 24px; }
  .news-v2 .news-lead > article, .news-v2 .news-lead > article > .relative { min-height: 400px; }
  .news-v2 .news-lead > article > .relative { padding: 22px; }
  .news-v2 .news-lead h2 { font-size: 1.6rem; }
  .news-v2 .news-filters .flex-wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .news-v2 .news-filters .flex-wrap::-webkit-scrollbar { display: none; }
  .news-v2 .news-filters .news-chip { flex: 0 0 auto; }
}

/* ---- Newsletter box ---- */
.nl { position: relative; margin-top: 3.5rem; border: 1px solid #e2e8f0; border-radius: 2rem; background: #fff; padding: 1.5rem; }
.nl--article { margin-top: 2.5rem; border-radius: 1.5rem; background: #f8fafc; }
.nl__title { margin: 0; font-size: 1.5rem; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; color: #0f172a; }
.nl__lead { margin: .5rem 0 0; font-size: .95rem; line-height: 1.6; color: #475569; }
.nl__msg { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.nl__msg--ok { border: 1px solid #a7f3d0; background: #ecfdf5; color: #065f46; }
.nl__msg--err { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; }
.nl__form { margin-top: 1.25rem; }
.nl__row { display: grid; gap: .5rem; }
.nl__label { font-size: .8rem; font-weight: 800; color: #334155; }
.nl__input { box-sizing: border-box; width: 100%; height: 48px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; padding: 0 14px; font: inherit; font-size: 16px; color: #0f172a; }
.nl__input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.nl__btn { height: 48px; border: 0; border-radius: 14px; background: #1d4ed8; padding: 0 20px; font: inherit; font-weight: 800; color: #fff; cursor: pointer; }
.nl__btn:hover { background: #1e40af; }
.nl__btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.nl__consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: .9rem; font-size: .85rem; line-height: 1.5; color: #475569; cursor: pointer; }
.nl__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #1d4ed8; }
.nl__consent a { color: #1d4ed8; text-decoration: underline; }
.nl__note { margin: .6rem 0 0; font-size: .78rem; line-height: 1.5; color: #64748b; }
.nl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) {
  .nl { padding: 2rem; }
  .nl__row { grid-template-columns: minmax(0, 1fr) auto; }
  .nl__label { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .nl--home { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; padding: 2.5rem; }
  .nl--home .nl__msg { grid-column: 2; margin-top: 0; }
  .nl--home .nl__form { grid-column: 2; margin-top: 0; }
  .nl--home .nl__msg + .nl__form { margin-top: 1rem; }
}

/* ---- One blue with the app pages (2026-11-19): the site's #1D5FBF instead of Tailwind's brighter blues ---- */
.news-v2 .news-chip:hover, .news-v2 .news-chip:focus-visible { border-color: #b9cdea; background: #eef3fb; color: #1D5FBF; }
.news-v2 .news-chip.is-active { border-color: #1D5FBF; background: #1D5FBF; color: #fff; box-shadow: 0 8px 20px rgba(29, 95, 191, .18); }
.news-v2 .text-blue-700, .news-v2 .hover\:text-blue-700:hover { color: #1D5FBF; }
.news-v2 .bg-blue-500 { background-color: #1D5FBF; }
.news-v2 .bg-blue-50, .news-v2 .hover\:bg-blue-50:hover { background-color: #eef3fb; }
.news-v2 .border-blue-200, .news-v2 .hover\:border-blue-200:hover { border-color: #b9cdea; }
.news-v2 .focus\:border-blue-400:focus { border-color: #1D5FBF; }
.news-v2 .focus\:ring-blue-100:focus, .news-v2 .focus\:ring-blue-200:focus { --tw-ring-color: rgba(29, 95, 191, .18); }
.nl__btn { background: #1D5FBF; }
.nl__btn:hover { background: #174f9f; }
.nl__input:focus { border-color: #1D5FBF; box-shadow: 0 0 0 4px rgba(29, 95, 191, .15); }
.nl__consent input { accent-color: #1D5FBF; }
.nl__consent a { color: #1D5FBF; }
.news-v2 .bg-blue-50\/70 { background-color: rgba(238, 243, 251, .7); }
