.n2 { background: var(--n2-bg); color: var(--n2-title-color); padding: var(--n2-pad, 88px 0); }
.n2-wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.n2-head-side .n2-wrap { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.n2-head-side .n2-head { position: sticky; top: 110px; }
.n2-head-top .n2-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; }
.n2-head-top .n2-head > * { grid-column: 1; }
.n2-head-top .n2-all { grid-column: 2; grid-row: 1 / span 3; align-self: end; }

.n2-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--fx-font-accent); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--n2-accent);
}
.n2-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.n2-title {
  font-family: var(--n2-title-font); font-size: clamp(30px, 4.4vw, var(--n2-title-size, 44px)); font-weight: var(--n2-title-weight);
  line-height: 1.02; letter-spacing: -.02em; color: var(--n2-title-color);
}
.n2-count { margin-top: 14px; font-family: var(--fx-font-accent); font-size: 12.5px; letter-spacing: .08em; color: var(--n2-text-color); }
.n2-all {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-bottom: 4px;
  font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--n2-title-color);
  border-bottom: 2px solid var(--n2-accent); transition: gap .2s;
}
.n2-head-top .n2-all { margin-top: 0; }
.n2-all:hover { gap: 14px; }
.n2-empty { color: var(--n2-text-color); padding: 32px 0; border-top: 1px solid var(--n2-border); }

.n2-list { display: grid; grid-template-columns: repeat(var(--n2-cols, 1), minmax(0, 1fr)); column-gap: 48px; border-top: 2px solid var(--n2-title-color); }
.n2-item { border-bottom: 1px var(--n2-sep-style, solid) var(--n2-border); min-width: 0; }

.n2-row {
  position: relative; display: grid; align-items: center; column-gap: 24px;
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "body";
  padding: var(--n2-row-pad, 22px) 12px; margin-inline: -12px; border-radius: 10px;
  text-decoration: none; color: inherit; transition: background-color .2s;
}
.n2-has-date .n2-row { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "date body"; }
.n2-has-thumb .n2-row { grid-template-columns: minmax(0, 1fr) var(--n2-thumb-w, 132px); grid-template-areas: "body thumb"; }
.n2-has-date.n2-has-thumb .n2-row { grid-template-columns: 64px minmax(0, 1fr) var(--n2-thumb-w, 132px); grid-template-areas: "date body thumb"; }
.n2-thumb-left.n2-has-thumb .n2-row { grid-template-columns: var(--n2-thumb-w, 132px) minmax(0, 1fr); grid-template-areas: "thumb body"; }
.n2-thumb-left.n2-has-date.n2-has-thumb .n2-row { grid-template-columns: 64px var(--n2-thumb-w, 132px) minmax(0, 1fr); grid-template-areas: "date thumb body"; }
a.n2-row:hover { background: var(--n2-hover-bg); }

.n2-date { grid-area: date; align-self: start; display: flex; flex-direction: column; align-items: flex-start; line-height: 1; padding-top: 2px; }
.n2-day { font-family: var(--n2-date-font); font-size: 34px; font-weight: var(--n2-title-weight); letter-spacing: -.03em; color: var(--n2-title-color); }
.n2-month { margin-top: 6px; font-family: var(--fx-font-accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--n2-accent); }

.n2-body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.n2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; color: var(--n2-text-color); }
.n2-cat { font-family: var(--fx-font-accent); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--n2-accent); }
.n2-meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: currentColor; opacity: .45; vertical-align: middle; }
.n2-item-title {
  font-family: var(--n2-item-font); font-size: var(--n2-item-size, 21px); font-weight: var(--n2-title-weight);
  line-height: 1.22; letter-spacing: -.01em; color: var(--n2-title-color);
}
.n2-has-arrow .n2-item-title { padding-right: 34px; }
.n2-has-arrow.n2-has-thumb:not(.n2-thumb-left) .n2-item-title { padding-right: 0; }
a.n2-row:hover .n2-item-title { text-decoration: underline; text-decoration-color: var(--n2-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.n2-excerpt { font-size: var(--n2-text-size, 15px); line-height: 1.55; color: var(--n2-text-color); }

.n2-thumb { grid-area: thumb; aspect-ratio: var(--n2-thumb-ratio, 4 / 3); border-radius: var(--n2-thumb-radius, 10px); overflow: hidden; background: var(--n2-hover-bg); }
.n2-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a.n2-row:hover .n2-thumb img { transform: scale(1.06); }
.n2-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--n2-hover-bg), color-mix(in srgb, var(--n2-accent) 30%, var(--n2-hover-bg))); }

.n2-arrow {
  position: absolute; right: 14px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px;
  border-radius: 50%; background: var(--n2-accent); color: var(--n2-bg);
  opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .2s, transform .25s;
}
.n2-has-thumb:not(.n2-thumb-left) .n2-arrow { right: calc(12px + var(--n2-thumb-w, 132px) / 2 - 17px); }
a.n2-row:hover .n2-arrow, a.n2-row:focus-visible .n2-arrow { opacity: 1; transform: none; }

/* Deux colonnes : la bordure supérieure reste continue sur les deux colonnes. */
.n2-two.n2-head-side .n2-wrap { grid-template-columns: 1fr; }
.n2-two.n2-head-side .n2-head { position: static; }

@media (max-width: 980px) {
  .n2-head-side .n2-wrap { grid-template-columns: 1fr; gap: 28px; }
  .n2-head-side .n2-head { position: static; }
  .n2-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .n2-head-top .n2-head { grid-template-columns: 1fr; }
  .n2-head-top .n2-all { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .n2-row { column-gap: 14px; padding-inline: 8px; margin-inline: -8px; }
  .n2 .n2-row { --n2-thumb-w: 88px; }
  .n2-has-date .n2-row { grid-template-columns: 44px minmax(0, 1fr); }
  .n2-has-thumb .n2-row { grid-template-columns: minmax(0, 1fr) var(--n2-thumb-w); }
  .n2-has-date.n2-has-thumb .n2-row { grid-template-columns: 44px minmax(0, 1fr) var(--n2-thumb-w); }
  .n2-thumb-left.n2-has-thumb .n2-row { grid-template-columns: var(--n2-thumb-w) minmax(0, 1fr); }
  .n2-thumb-left.n2-has-date.n2-has-thumb .n2-row { grid-template-columns: 44px var(--n2-thumb-w) minmax(0, 1fr); }
  .n2-day { font-size: 26px; }
  .n2-item-title { font-size: min(var(--n2-item-size, 21px), 18px); }
  .n2-has-arrow .n2-item-title { padding-right: 0; }
  .n2-arrow { display: none; }
  .n2-excerpt { display: none; }
}
