/* TC Toul — les nouvelles du club, reprises chaque heure de la page Facebook (23/10/2026) */
.news{background-color:var(--surface-dark);color:var(--line)}
.news .sec-head{margin-bottom:clamp(1.8rem,3.4vw,3.2rem)}
.news h2{color:var(--line)}
.news .eyebrow{color:var(--ball)}
.news__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.1rem,2.2vw,2.2rem);align-items:stretch}
.news__grid>li{display:flex}
.news__card{display:flex;flex-direction:column;width:100%;background:var(--line);color:var(--ink);border-radius:1.4rem;overflow:hidden;text-decoration:none;box-shadow:0 1.2rem 2.4rem -1.4rem rgba(0,0,0,.55);transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.news__card:hover{transform:translateY(-6px) rotate(-.4deg);box-shadow:0 1.8rem 3rem -1.4rem rgba(0,0,0,.6)}
.news__card:focus-visible{outline:3px solid var(--ball);outline-offset:4px;border-radius:1.4rem}
.news__card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--surface)}
.news__body{display:flex;flex-direction:column;gap:.65rem;flex:1;padding:1.25rem 1.35rem 1.4rem}
.news__body time{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--display);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:1.05rem;line-height:1;color:var(--accent-on-paper)}
.news__body time::before{content:"";width:.7rem;height:.7rem;border-radius:50%;background:var(--ball);box-shadow:inset 0 0 0 2px rgba(29,36,5,.18)}
.news__text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden;font-size:.98rem;line-height:1.55;overflow-wrap:anywhere}
/* publication sans photo : un coin de court et une balle */
.news__visuel{display:block;aspect-ratio:4/3;background-color:var(--surface);
  background-image:radial-gradient(circle at 62% 46%,var(--ball) 0 13%,rgba(0,0,0,.18) 13.5% 14.5%,transparent 15%),
  radial-gradient(ellipse at 66% 60%,rgba(40,10,0,.28) 0 11%,transparent 12%),
  linear-gradient(var(--line),var(--line)),linear-gradient(var(--line),var(--line)),linear-gradient(var(--line),var(--line));
  background-size:auto,auto,100% 4px,4px 100%,4px 62%;background-position:0 0,0 0,0 78%,24% 0,24% 100%;background-repeat:no-repeat}
.news__more{margin-top:auto;padding-top:.4rem;font-weight:700;font-size:.9rem;color:var(--accent-on-paper);text-decoration:underline;text-underline-offset:.25em;text-decoration-thickness:.1em}
.news__all{margin-top:clamp(2rem,3.6vw,3rem)}
.news__grid .reveal:nth-child(2){transition-delay:.1s}
.news__grid .reveal:nth-child(3){transition-delay:.2s}

@media (max-width:900px){
  /* sur telephone : les cartes defilent de cote, la suivante depasse */
  .news__grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(82%,22rem);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);margin-inline:calc(-1*var(--pad));padding:0 var(--pad) 1.4rem;scrollbar-width:none}
  .news__grid::-webkit-scrollbar{display:none}
  .news__grid>li{scroll-snap-align:start}
  .news__card:hover{transform:none}
}
