/* « Nouveautés » des garderies, option B « Le fil » (scripts/site-garderies-news.mjs) */
.nf-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--vert-soft) 100%); padding: 28px 0 40px; }
.nf-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.nf-hero .nf-k { display: block; margin: 22px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--vert); }
.nf-hero h1 { margin-top: 12px; max-width: 18ch; font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -.035em; }
:lang(ja) .nf-hero h1, :lang(zh) .nf-hero h1 { word-break: auto-phrase; letter-spacing: -.01em; line-height: 1.15; }
:lang(ko) .nf-hero h1 { word-break: keep-all; letter-spacing: -.01em; line-height: 1.15; }
.nf-hero .lead { margin-top: 16px; max-width: 42rem; color: var(--ink2); }
.nf-hero .gd-free { margin-top: 16px; }
/* L'image du héros : trois écrans des nouveautés en éventail (pas la même image que les autres pages de la section). */
.nf-fan { position: relative; height: 240px; max-width: 360px; margin: 4px auto 0; width: 100%; }
.nf-fan .phone { --pw: 120px; width: var(--pw); position: absolute; top: 0; box-shadow: 0 30px 60px -28px rgba(19, 82, 74, .5); }
.nf-fan .phone:nth-child(1) { left: calc(50% - var(--pw) * 1.15); top: 24px; transform: rotate(-8deg); }
.nf-fan .phone:nth-child(2) { left: calc(50% - var(--pw) / 2); z-index: 1; }
.nf-fan .phone:nth-child(3) { left: calc(50% + var(--pw) * .15); top: 24px; transform: rotate(8deg); }
@media (min-width: 1000px) {
  .nf-hero .wrap { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
  .nf-fan { height: 390px; max-width: 420px; }
  .nf-fan .phone { --pw: 178px; }
}
.nf-place { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.nf-place .lbl { font-weight: 600; color: var(--ink2); margin-right: 4px; font-size: 15px; }
.nf-place button, .nf-who button { min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.nf-place button[aria-pressed="true"], .nf-who button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.nf-place button:focus-visible, .nf-who button:focus-visible { outline: 3px solid var(--vert); outline-offset: 2px; }
.nf:not(.nf-js) .nf-place, .nf:not(.nf-js) .nf-who { display: none; }
@media (max-width: 699px) {
  .nf-place, .nf-who { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .nf-place > *, .nf-who > * { flex: none; }
}
.nf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
.nf-side h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); margin: 0 0 10px; font-family: inherit; font-weight: 700; }
.nf-side nav { display: none; }
.nf-who { display: flex; gap: 8px; }
.nf-whoh { display: none; }
@media (min-width: 1000px) {
  .nf-grid { grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 44px; }
  .nf-side, .nf-aside { position: sticky; top: 96px; align-self: start; }
  .nf-side nav { display: block; }
  .nf-side nav ul { list-style: none; margin: 0; padding: 0; }
  .nf-side nav a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .nf-side nav a:hover { background: var(--vert-soft); color: var(--vert); }
  .nf-side nav a::after { content: attr(data-n); color: var(--ink2); font-weight: 500; }
  .nf-whoh { display: block; margin-top: 28px !important; }
  .nf-who { flex-direction: column; align-items: flex-start; }
}
.nf-answer { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--glow, #F4BE45); border-radius: 20px; padding: 20px 22px; }
.nf-answer h2 { font-size: 1.125rem; letter-spacing: -.01em; margin: 0 0 6px; }
.nf-answer p { margin: 0; font-size: 15.5px; }
.nf-main > .nf-answer { margin-bottom: 8px; }
.nf-month { scroll-margin-top: 96px; }
.nf-month + .nf-month { margin-top: 44px; }
.nf-month > h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -.025em; margin: 20px 0 18px; }
.nf-feed { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--line); display: grid; gap: 16px; }
.nf-item { position: relative; scroll-margin-top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.nf-item[hidden] { display: none; }
.nf-item::before { content: ""; position: absolute; left: -32px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px var(--paper); }
.nf-item.direction::before { background: #E0A526; }
.nf-item.inscriptions::before { background: var(--bleu); }
.nf-item.equipe::before { background: #D46A8C; }
.nf-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; font-size: 13px; font-weight: 700; }
.nf-meta .w { padding: 3px 10px; border-radius: 999px; background: var(--vert-soft); color: var(--vert); }
.nf-item.direction .w { background: var(--glow-soft); color: var(--ink); }
.nf-item.inscriptions .w { background: var(--bleu-soft); color: var(--ink); }
.nf-item.equipe .w { background: var(--rose-soft); color: var(--ink); }
.nf-meta .p { padding: 3px 10px; border-radius: 999px; background: var(--sunk); color: var(--ink2); }
.nf-item h3 { margin: 10px 0 0; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.015em; }
.nf-item .d { margin: 8px 0 0; color: var(--ink2); }
.nf-item .go { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; }
.nf-shot { border-radius: 16px; background: var(--sunk); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 18px; height: 210px; align-self: start; }
.nf-shot img { width: 160px; height: auto; border-radius: 18px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35); }
@media (min-width: 700px) {
  .nf-item.has { grid-template-columns: minmax(0, 1fr) 200px; }
  .nf-shot { height: 240px; }
}
.nf-none { margin: 0; padding: 16px 0; color: var(--ink2); }
.nf-aside { display: none; }
@media (min-width: 1000px) {
  .nf-aside { display: block; }
  .nf-main > .nf-answer { display: none; }
}
.nf-try { margin-top: 16px; background: var(--vert); border-radius: 20px; padding: 22px; }
.nf-try p { margin: 0 0 14px; color: #FFFFFF; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.nf-try .btn { background: #FFFFFF; color: #13524A; border-color: #FFFFFF; }
.nf-end { padding-bottom: var(--sect); }
.nf-end > h2 { margin-top: var(--sect); font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.03em; }
