/* ==========================================================================
   Black Sphère Awards — Actualités : grille de cartes (4 par ligne), page article
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw-lead { margin-top: .75rem; max-width: 40rem; color: #d4d4d4; font-size: 1.05rem; }
.nw-empty { padding: 3rem 1rem; text-align: center; color: #a3a3a3; font-size: 1.05rem; }

/* Filtres de catégorie */
.nw-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.nw-filters a { padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .3); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d4d4d4; transition: all .25s; }
.nw-filters a:hover { border-color: #d4af37; color: #fff; }
.nw-filters a.is-on { background: #d4af37; border-color: #d4af37; color: #0a0a0a; }

/* Grille : 1 / 2 / 4 colonnes */
.nw-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; } }

.nw-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; background: #111; border: 1px solid rgba(255, 255, 255, .08); transition: transform .35s cubic-bezier(.4, 0, .2, 1), border-color .35s, box-shadow .35s; animation: nwIn .5s ease both; }
@keyframes nwIn { from { opacity: 0; translate: 0 14px; } }
.nw-card:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, .55); box-shadow: 0 24px 40px -24px rgba(212, 175, 55, .35); }
.nw-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0a; }
.nw-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.nw-card:hover .nw-media > img { transform: scale(1.06); }
.nw-ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 25%, #3a2f10, #0d0d0d 72%); }
.nw-media > .nw-ph img { width: 34%; height: auto; opacity: .85; object-fit: contain; }
.nw-cat { position: absolute; left: .75rem; top: .75rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(10, 10, 10, .78); backdrop-filter: blur(6px); border: 1px solid rgba(212, 175, 55, .5); color: #f5e3a1; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nw-body { display: flex; flex-direction: column; flex: 1; gap: .55rem; padding: 1.1rem 1.1rem 1.2rem; }
.nw-body time { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #d4af37; }
.nw-body h3 { font-family: "Playfair Display", serif; font-size: 1.12rem; line-height: 1.3; font-weight: 700; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-body h3 a:hover { color: #f5e3a1; }
.nw-body p { font-size: .88rem; line-height: 1.55; color: #a3a3a3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d4af37; }
.nw-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s; }
.nw-card:hover .nw-more svg { translate: 4px 0; }
.nw-more:hover { color: #f5e3a1; }
.nw-moreWrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.nw-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(245, 227, 161, .3); border-top-color: #f5e3a1; animation: nwSpin .7s linear infinite; }
#nw-more.is-busy .nw-spin { display: inline-block; }
@keyframes nwSpin { to { rotate: 360deg; } }

/* Page article */
.ar-preview { position: relative; z-index: 60; margin: 0; padding: 6rem 1rem .5rem; background: #3a2f10; color: #f5e3a1; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ar-preview + .ar > .ar-head { padding-top: 2rem; }
.ar-head { padding: 8.5rem 0 2rem; background: radial-gradient(60% 120% at 85% 0, rgba(212, 175, 55, .2), transparent 70%), #050505; }
.ar-narrow { width: min(800px, 100% - 2rem); }
.ar-cat { display: inline-block; margin-top: 1.25rem; padding: .3rem .85rem; border-radius: 999px; background: rgba(212, 175, 55, .14); border: 1px solid rgba(212, 175, 55, .5); color: #f5e3a1; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ar-head h1 { margin-top: 1rem; font-family: "Playfair Display", serif; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; font-weight: 700; color: #fff; text-wrap: balance; }
.ar-lead { margin-top: 1rem; font-size: 1.15rem; line-height: 1.6; color: #cfcfcf; }
.ar-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.5rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #a3a3a3; }
.ar-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.ar-meta svg { width: 16px; height: 16px; fill: none; stroke: #d4af37; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ar-cover { width: min(1000px, 100% - 2rem); margin: 0 auto; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(212, 175, 55, .4); box-shadow: 0 30px 60px -30px rgba(212, 175, 55, .4); background: #0a0a0a; }
.ar-cover img { width: 100%; height: 100%; object-fit: cover; }
.ar-body { padding: 2.5rem 0 1rem; font-size: 1.08rem; line-height: 1.85; color: #d9d9d9; overflow-wrap: anywhere; }
.ar-body > * + * { margin-top: 1.35rem; }
.ar-body h2 { margin-top: 2.5rem; font-family: "Playfair Display", serif; font-size: 1.7rem; line-height: 1.25; color: #fff; }
.ar-body h3 { margin-top: 2rem; font-family: "Playfair Display", serif; font-size: 1.35rem; color: #f5e3a1; }
.ar-body h4 { margin-top: 1.5rem; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: #d4af37; }
.ar-body a { color: #d4af37; text-decoration: underline; text-underline-offset: 3px; }
.ar-body a:hover { color: #f5e3a1; }
.ar-body strong { color: #fff; }
.ar-body ul, .ar-body ol { padding-left: 1.5rem; }
.ar-body ul { list-style: disc; } .ar-body ol { list-style: decimal; }
.ar-body li + li { margin-top: .4rem; }
.ar-body li::marker { color: #d4af37; }
.ar-body blockquote { padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid #d4af37; font-family: "Playfair Display", serif; font-size: 1.3rem; font-style: italic; line-height: 1.55; color: #f5e3a1; }
.ar-body img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: .8rem; border: 1px solid rgba(255, 255, 255, .1); }
.ar-body hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .6), transparent); }
.ar-body .ql-align-center { text-align: center; } .ar-body .ql-align-right { text-align: right; } .ar-body .ql-align-justify { text-align: justify; }
.ar-foot { display: grid; justify-items: start; gap: 1rem; margin-top: 2.5rem; padding: 1.75rem 0 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.ar-share-t { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #a3a3a3; }
.ar-share { display: flex; flex-wrap: wrap; gap: .6rem; }
.ar-related { background: #0a0a0a; margin-top: 3rem; border-top: 1px solid rgba(212, 175, 55, .18); }
.ar-related-t { margin-bottom: 1.5rem; font-family: "Playfair Display", serif; font-size: 1.7rem; font-weight: 700; color: #fff; }
@media (max-width: 639px) { .ar-head { padding-top: 7rem; } .ar-body { font-size: 1.02rem; } .ar-cover { aspect-ratio: 16 / 10; border-radius: .8rem; } }
@media (prefers-reduced-motion: reduce) { .nw-card, .nw-card * { animation: none !important; transition: none !important; } }
