/* Le coin de Noël garde les papiers, les couleurs et les caractères Coloriko. */
.view[data-view="noel"] {--hub-red:#bd3549;--hub-green:#256b50;--hub-script:"Kaushan Script","Coloriko Hand",cursive}
.noel-hub {padding-block:24px 60px}
.noel-hub-back {display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:.83rem;font-weight:800;text-decoration:none}
.noel-hub-back:hover {color:var(--hub-green);text-decoration:underline;text-underline-offset:4px}
.noel-hub-heading {max-width:760px;margin:32px auto 30px;text-align:center}
.noel-hub-heading .noel-eyebrow {margin-bottom:12px!important}
.noel-hub-heading h1 {font:400 clamp(2.7rem,6vw,4.7rem)/1.2 var(--hub-script);color:var(--hub-red);letter-spacing:0;text-wrap:balance;margin:0}
.noel-hub-heading h1>span {color:var(--hub-green)}
.noel-hub-heading>p:last-child {color:var(--muted);font-size:.97rem;line-height:1.8;margin:18px 0 0}
.noel-hub-filters {display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 auto 16px}
.noel-hub-filters button {display:inline-flex;align-items:center;gap:8px;background:var(--card);color:var(--ink);font:800 .86rem/1.4 var(--f-body);padding:11px 15px;border:1.5px solid var(--line);border-radius:15px;cursor:pointer}
.noel-hub-filters button[aria-pressed="true"] {border-color:var(--hub-green);background:var(--hub-green);color:#fffdf5;box-shadow:0 3px 0 #173f34}
.noel-hub-filters button:hover {border-color:var(--hub-green)}
.noel-hub-filters button:focus-visible,.noel-hub-card:focus-visible,.noel-hub-back:focus-visible {outline:3px dashed var(--purple);outline-offset:5px}
.noel-hub-filters [data-hub-count]:not(:empty) {font-size:.7rem;background:#ffffff30;min-width:22px;text-align:center;border-radius:8px;padding:2px 4px}
.noel-hub-status {min-height:1.6em;margin:0 0 30px;text-align:center;color:var(--muted);font-size:.8rem;font-weight:700}
.noel-hub-section {margin-block:0 48px;scroll-margin-top:20px}
.noel-hub-section-heading {margin-bottom:22px}
.noel-hub-section-heading h2 {font:400 clamp(2rem,3.6vw,2.7rem)/1.25 var(--hub-script);color:var(--hub-green);letter-spacing:0;margin:0}
.noel-hub-section-heading p {color:var(--muted);font-size:.85rem;line-height:1.7;margin:9px 0 0}
.noel-hub-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px;align-items:start}
.noel-hub-card {display:block;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:7px 12px 9px 14px;background:var(--card);color:var(--ink);text-decoration:none;box-shadow:0 4px 0 #241f3d0c;transition:transform .18s ease,box-shadow .18s ease}
.noel-hub-card:hover {transform:translateY(-4px) rotate(-.5deg);box-shadow:0 9px 18px #241f3d14}
.noel-hub-picture {display:block;aspect-ratio:1;padding:12px;background:#fffdf7}
.noel-hub-picture img {display:block;width:100%;height:100%;object-fit:contain}
.noel-hub-copy {display:block;padding:13px 14px 15px}
.noel-hub-copy>strong {display:block;font:900 .88rem/1.45 var(--f-body);overflow-wrap:anywhere}
.noel-hub-meta {display:block;color:var(--muted);font-size:.73rem;line-height:1.5;margin-top:6px}
[data-hub-group="crafts"] .noel-hub-picture {padding:0;aspect-ratio:4/3}
[data-hub-group="crafts"] .noel-hub-picture img {object-fit:cover}
.noel-hub-goodbye {text-align:center;color:var(--hub-red);font:400 1.9rem/1.5 var(--hub-script);margin:10px 0 0}
.noel-hub-goodbye>span {color:var(--yellow);font-size:1.2rem;margin-left:6px}
:root[data-theme="dark"] .view[data-view="noel"] {--hub-red:#ff8d98;--hub-green:#82d6aa}
:root[data-theme="dark"] .noel-hub-filters button[aria-pressed="true"] {color:#163f32}
@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) .view[data-view="noel"] {--hub-red:#ff8d98;--hub-green:#82d6aa}
  :root:not([data-theme="light"]) .noel-hub-filters button[aria-pressed="true"] {color:#163f32}
}
@media(max-width:950px) {.noel-hub-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px) {
  .noel-hub {padding-block:14px 42px}
  .noel-hub-heading {margin:28px auto 24px}
  .noel-hub-heading>p:last-child {font-size:.86rem}
  .noel-hub-filters {gap:8px}
  .noel-hub-filters button {font-size:.78rem;padding:9px 11px;gap:5px}
  .noel-hub-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}
  .noel-hub-copy {padding:10px}
  .noel-hub-copy>strong {font-size:.79rem}
  .noel-hub-meta {font-size:.66rem}
  .noel-hub-picture {padding:8px}
  .noel-hub-section-heading p {font-size:.8rem}
  .noel-hub-goodbye {font-size:1.6rem}
}
@media(prefers-reduced-motion:reduce) {.noel-hub-card {transition:none}.noel-hub-card:hover {transform:none}}
