/* naughtyplans.com — journal, articles and reading pages "Velours" (M9.5d, docs/site-velours/reference/article.html).
   Also used by the legal pages (M9.5e): same 720 px reading width. */

.np-reading { padding-block: 64px 40px; }
.np-reading__inner { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.np-breadcrumb { font-size: 14px; color: var(--text-secondary); display: flex; flex-wrap: wrap; gap: 8px; }
.np-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.np-breadcrumb a:hover { color: var(--text); }
.np-reading__head { display: flex; flex-direction: column; gap: 18px; }
.np-reading__head h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.035em; line-height: 1.02; }
.np-reading__lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; }
.np-banner {
  height: 280px; border-radius: 32px; background: var(--surface); border: 1px solid var(--separator);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.np-banner svg { width: 300px; height: auto; }

/* Body of an article or a legal page. */
.np-prose { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--text-article); }
.np-prose h2 { margin-top: 12px; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.np-prose h3 { font-size: 21px; }
.np-prose p, .np-prose ul, .np-prose ol { margin: 0; }
.np-prose ul, .np-prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.np-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.np-prose a:hover { color: var(--accent-hover); }

/* Framed note ("En bref", warnings): reusable in articles (SPEC §5.3). */
.np-note {
  background: var(--surface); border: 1px solid var(--separator); border-radius: 24px; padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.np-note__icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.np-note__body { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); min-width: 0; }
.np-note__title, .np-prose .np-note__title { font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--text); margin: 0; }
.np-note ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.np-sources { border-top: 1px solid var(--separator-soft); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.np-sources h2 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); }
.np-sources ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); overflow-wrap: anywhere; }
.np-sources a { color: var(--accent); }

.np-app-callout {
  background: var(--surface); border: 1px solid var(--separator); border-radius: 32px; padding: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
}
.np-app-callout__text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.np-app-callout__title { font-size: 20px; font-weight: 800; color: var(--text); }
.np-app-callout__text p { font-size: 15px; line-height: 1.5; }

.np-more { padding-block: 40px 88px; }
.np-more h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 24px; }
.np-more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.np-more__card {
  text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--separator);
  border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.np-more__card:hover { color: var(--text); border-color: var(--field-border); }
.np-more__card span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.np-more__card strong { font-size: 21px; font-weight: 800; line-height: 1.25; }

/* Journal index. */
.np-journal { padding-block: 72px 96px; }
.np-journal__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 32px; }
.np-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.np-filters a {
  min-height: 44px; padding: 0 18px; border-radius: 22px; display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--separator); color: var(--text); font-size: 15px; font-weight: 700; text-decoration: none;
}
.np-filters a:hover { border-color: var(--field-border); color: var(--text); }
.np-category { scroll-margin-top: calc(var(--header-height) + 16px); margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.np-category h2 { font-size: 28px; letter-spacing: -0.02em; }
.np-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.np-target { display: block; height: 0; scroll-margin-top: 100vh; }
.np-post {
  text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--separator);
  border-radius: 28px; overflow: hidden; display: flex; flex-direction: column;
}
.np-post:hover { color: var(--text); border-color: var(--field-border); }
.np-post__art { height: 160px; background: var(--surface-muted); display: flex; align-items: center; justify-content: center; }
.np-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.np-post__meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.np-post__title { font-size: 21px; font-weight: 800; line-height: 1.25; }
.np-post__summary { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* Table of contents of the long legal pages (SPEC §5.4). */
.np-toc { background: var(--surface); border: 1px solid var(--separator); border-radius: 24px; padding: 22px 24px; }
.np-toc h2 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 10px; }
.np-toc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.np-toc a { color: var(--text); text-decoration: none; }
.np-toc a:hover { color: var(--accent-hover); }
.np-prose h2[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
