/* Stade Poitevin Footgolf — rubrique Actualités ; les styles sont isolés */
.news-main{padding:0 0 90px;color:#f5f6f3}.news-hero{padding-top:52px;padding-bottom:42px}.news-eyebrow{font-size:.8rem;font-weight:800;color:#c2ff43;letter-spacing:.16em}.news-hero h1{font-size:clamp(2.7rem,6vw,5.5rem);letter-spacing:-.05em;line-height:1.08;margin:14px 0 18px}.news-hero h1 em{font-style:normal;color:#c2ff43}.news-hero>p{max-width:680px;color:#b8c0bb;font-size:1.06rem;line-height:1.75}.news-hero-stats{display:flex;flex-wrap:wrap;gap:16px;margin-top:30px}.news-hero-stats span{border:1px solid #343f37;border-radius:999px;padding:9px 16px;color:#aebbb1}.news-hero-stats b{color:#c2ff43;margin-right:6px}.news-toolbar{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-block:1px solid #29352e;padding:20px 0}.news-categories{display:flex;gap:9px;flex-wrap:wrap}.news-categories button{cursor:pointer;font:inherit;font-size:.85rem;font-weight:700;padding:10px 15px;border:1px solid #344038;border-radius:999px;background:#151c18;color:#d2d8d3}.news-categories button:hover,.news-categories button.is-active{background:#c2ff43;color:#11170e;border-color:#c2ff43}.news-search-wrap input{width:min(270px,78vw);min-height:40px;border:1px solid #344038;border-radius:999px;background:#151c18;color:#fff;padding:10px 17px;font:inherit}.news-search-wrap input:focus-visible,.news-categories button:focus-visible,.news-card-button:focus-visible,.news-back:focus-visible{outline:3px solid #c2ff43;outline-offset:3px}.news-count{font-size:.87rem;color:#9eaaa0;padding:17px 0 12px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.news-card{overflow:hidden;border-radius:17px;border:1px solid #2b382f;background:#131a16;display:flex;flex-direction:column;min-height:315px;transition:transform .2s,border-color .2s}.news-card:hover{transform:translateY(-3px);border-color:#718b49}.news-card-image{height:174px;position:relative;background:radial-gradient(circle at 80% 20%,#314528,#131c17 70%);overflow:hidden}.news-card-image img{width:100%;height:100%;display:block;object-fit:cover}.news-card-image.no-image:after{content:'STADE POITEVIN FOOTGOLF';position:absolute;bottom:19px;left:20px;font-weight:900;font-size:.95rem;letter-spacing:.15em;color:#789951;max-width:195px}.news-card-body{padding:23px;display:flex;flex:1;flex-direction:column}.news-meta{font-size:.75rem;letter-spacing:.05em;text-transform:uppercase;color:#c2ff43;font-weight:800}.news-meta time{color:#aab8ad;font-weight:600}.news-card h2{font-size:1.16rem;line-height:1.4;margin:12px 0 10px}.news-card p{line-height:1.6;color:#b6c0b7;font-size:.9rem;margin:0 0 20px}.news-card-button{align-self:flex-start;margin-top:auto;border:none;background:none;color:#c2ff43;font:inherit;font-size:.86rem;font-weight:800;padding:5px 0;cursor:pointer;text-decoration:none}.news-reader{max-width:950px}.news-back{border:1px solid #425344;background:#19251b;color:#e3f7da;border-radius:999px;padding:10px 18px;font:inherit;font-size:.9rem;cursor:pointer;margin:8px 0 30px}.news-article{background:#141b17;border:1px solid #354339;border-radius:19px;padding:clamp(22px,5vw,60px)}.news-article h1{font-size:clamp(1.9rem,4.2vw,3.2rem);line-height:1.18;margin:15px 0 25px}.news-article h2{font-size:1.45rem;line-height:1.3;margin:35px 0 15px;color:#e2f8d1}.news-article p{color:#d9dfd9;line-height:1.85;margin:0 0 18px}.news-article-hero{width:100%;max-height:460px;object-fit:cover;border-radius:12px;margin:5px 0 35px}.news-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px}.news-gallery img{width:100%;height:245px;object-fit:cover;border-radius:9px}.news-article-video{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;margin:20px 0}.news-source{display:inline-block;margin:10px 0;color:#c2ff43}.news-empty{padding:44px;text-align:center;color:#b2c0b3}.news-reader[hidden],.news-browser[hidden],.news-empty[hidden]{display:none!important}@media(max-width:980px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.news-main{padding-bottom:50px}.news-hero{padding-top:32px}.news-grid{grid-template-columns:1fr}.news-card-image{height:190px}.news-toolbar{align-items:flex-start}.news-search-wrap,.news-search-wrap input{width:100%}.news-gallery{grid-template-columns:1fr}.news-gallery img{height:auto;max-height:370px;object-fit:contain;background:#0b110d}}
/* Mise en page galerie, visionneuse et liens : version complète */
.news-photo-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;overflow:hidden;border-radius:12px}.news-photo-button:focus-visible,.news-source:focus-visible{outline:3px solid #c2ff43;outline-offset:3px}.news-hero-photo{margin:5px 0 35px}.news-hero-photo img{display:block;width:100%;max-height:510px;object-fit:cover;border-radius:12px}.news-gallery .news-photo-button img{display:block;width:100%;height:245px;object-fit:cover;border-radius:9px;transition:transform .2s}.news-gallery .news-photo-button:hover img{transform:scale(1.025)}.news-article p strong{color:#fff}.news-video-wrap{margin:18px 0 28px}.news-video-note{padding:14px 18px;margin:24px 0!important;border-left:3px solid #c2ff43;background:#1c281f;color:#bdcabe!important;font-size:.9rem}.news-article .news-source{display:block;margin-top:18px;font-weight:700}.news-lightbox[hidden]{display:none}.news-lightbox{position:fixed;z-index:99999;inset:0;background:rgba(0,0,0,.95);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:65px 15px 25px;gap:12px}.news-lightbox img{max-width:min(1100px,100%);max-height:calc(100vh - 155px);object-fit:contain;border-radius:5px}.news-lightbox-close{position:absolute;right:18px;top:16px;border:1px solid #66765f;border-radius:100px;background:#1d241c;color:#fff;padding:9px 19px;cursor:pointer;font:inherit}.news-lightbox-caption{color:#ddd;font-size:.83rem;text-align:center}.news-modal-open{overflow:hidden}.news-grid a.news-card-button{text-decoration:none}.news-grid a.news-card-button:hover{text-decoration:underline}@media(max-width:640px){.news-hero-photo img{max-height:400px;object-fit:contain;background:#0b110d}.news-gallery .news-photo-button img{height:auto;max-height:400px;object-fit:contain;background:#0b110d}.news-lightbox{padding:60px 10px 22px}}
.news-home{padding-top:35px;padding-bottom:50px}.news-home h2{color:#f2f8f0;font-size:clamp(1.6rem,3vw,2.6rem);margin:0 0 25px}.news-home-title{color:#f3f6f3;font-size:1.16rem;line-height:1.4;margin:12px 0 10px}.news-home-all{display:inline-block;margin-top:22px;font-weight:800;color:#c2ff43;text-decoration:none}.news-home-all:hover{text-decoration:underline}

/* Correctif : cartes intégralement cliquables et une vraie place pour les photos */
.news-card{color:inherit;text-decoration:none;cursor:pointer}
.news-card:hover,.news-card:focus-visible{text-decoration:none}
.news-card:focus-visible{outline:3px solid #c2ff43;outline-offset:4px}
.news-card-image{height:235px}
.news-card-m6 .news-card-image{height:285px;background:#0b110d}
.news-card-m6 .news-card-image img{object-fit:contain;object-position:center center}
.news-card-button{pointer-events:none}
.news-card:hover .news-card-button,.news-card:focus-visible .news-card-button{text-decoration:underline}
.news-hero-photo-m6{display:flex;justify-content:center;background:#101713}
.news-hero-photo-m6 img{width:auto;max-width:100%;height:auto;max-height:740px;object-fit:contain;object-position:center;border-radius:12px}
.news-video-wrap video.news-article-video{display:block;width:100%;height:auto;aspect-ratio:16 / 9;background:#050806;object-fit:contain;border-radius:12px;margin:15px 0 20px}
@media(max-width:640px){.news-card-image{height:225px}.news-card-m6 .news-card-image{height:300px}.news-hero-photo-m6 img{max-height:none;width:100%;height:auto;object-fit:contain}}

/* Article 2 — capture de presse complète en vignette, photo d'ouverture discrète en lecture */
.news-card:has(img[src*="nr-novembre-01"]) .news-card-image{height:270px;background:#fff}
.news-card:has(img[src*="nr-novembre-01"]) .news-card-image img{object-fit:contain;object-position:center center}
.news-hero-photo-compact{display:flex;justify-content:center;margin:4px auto 26px;width:min(100%,560px);background:transparent}
.news-hero-photo-compact img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain;object-position:center center;border-radius:10px}
@media(max-width:640px){.news-card:has(img[src*="nr-novembre-01"]) .news-card-image{height:240px}.news-hero-photo-compact{width:100%;max-width:480px}.news-hero-photo-compact img{max-height:200px}}

/* Les photos de toutes les fiches sont discrètes en lecture (M6 inclus). */
.news-article .news-hero-photo.news-hero-photo-compact{display:flex;justify-content:center;margin:4px auto 26px;width:min(100%,560px);background:transparent}
.news-article .news-hero-photo.news-hero-photo-compact img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain;object-position:center;border-radius:10px}
/* Galerie horizontale sans recadrage des photos. */
.news-gallery-wrap{display:flex;align-items:center;gap:10px;min-width:0;margin:22px 0 28px}
.news-gallery{display:flex!important;grid-template-columns:none!important;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#637749 #18221b;min-width:0;flex:1;margin:0;padding:4px 2px 12px}
.news-gallery .news-photo-button{flex:0 0 auto;width:clamp(135px,22vw,200px);height:160px;border:1px solid #354439;background:#0d140f;scroll-snap-align:start;display:flex;align-items:center;justify-content:center}
.news-gallery .news-photo-button img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;transition:none!important;background:transparent!important}
.news-gallery .news-photo-button:hover img{transform:none!important}
.news-gallery-arrow{flex:0 0 35px;width:35px;height:42px;background:#202c23;color:#d7ffac;border:1px solid #4c5b48;border-radius:9px;font-size:1.65rem;cursor:pointer}
.news-gallery-arrow:disabled{opacity:.3;cursor:default}
.news-gallery-arrow:focus-visible{outline:2px solid #c2ff43;outline-offset:2px}
/* La zone autour de l'article sert de retour à la liste. */
.news-reader{cursor:pointer}
.news-reader .news-article,.news-reader .news-back{cursor:auto}
@media(max-width:640px){.news-article .news-hero-photo.news-hero-photo-compact img{max-height:200px}.news-gallery-wrap{gap:5px}.news-gallery .news-photo-button{width:138px;height:135px}.news-gallery-arrow{flex-basis:27px;width:27px}}

/* Visionneuse : navigation au grand format et retour dans l'article au clic sur le fond. */
.news-lightbox-stage{display:flex;align-items:center;justify-content:center;max-width:calc(100vw - 116px);max-height:calc(100dvh - 155px);width:100%;min-height:0;flex:1;cursor:zoom-out}
.news-lightbox .news-lightbox-image{display:block;max-width:100%;max-height:calc(100dvh - 155px);width:auto;height:auto;object-fit:contain;cursor:default}
.news-lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:56px;background:rgba(23,35,25,.88);color:#eaffd2;border:1px solid #6b805a;border-radius:12px;font:inherit;font-size:2.2rem;cursor:pointer}
.news-lightbox-arrow[hidden]{display:none}
.news-lightbox-prev{left:14px}.news-lightbox-next{right:14px}
.news-lightbox-info{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;color:#ddd;font-size:.83rem;text-align:center}
.news-lightbox-counter{color:#c2ff43;font-weight:800;white-space:nowrap}
.news-lightbox-arrow:focus-visible,.news-lightbox-close:focus-visible{outline:3px solid #c2ff43;outline-offset:3px}
@media(max-width:640px){.news-lightbox-stage{max-width:calc(100vw - 74px);max-height:calc(100dvh - 122px)}.news-lightbox .news-lightbox-image{max-height:calc(100dvh - 122px)}.news-lightbox-arrow{width:31px;height:48px;font-size:1.7rem}.news-lightbox-prev{left:4px}.news-lightbox-next{right:4px}}

/* Harmonisation de l'en-tête Actualités avec Nos joueurs */

.news-main .news-hero {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 ;
    padding: 48px 75px 0;
    min-height: 0;
    background: transparent;
    border: 0;
  }
  
  .news-main .news-intro {
    max-width: 820px;
    margin: 0;
    padding: 0;
  }
  
  .news-main .news-eyebrow {
    display: block;
    color: #9de21c;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.55;
    margin: 0;
  }
  
  .news-main .news-hero h1 {
    color: #f4f6f6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.04em;
    margin: 10px 0 20px;
    max-width: none;
    text-align: left;
    text-transform: none;
  }
  
  .news-main .news-hero h1 .news-dot {
    color: #9de21c;
  }
  
  .news-main .news-hero p {
    color: #b2c0c6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 24px;
    max-width: 820px;
    text-align: left;
  }
  
  @media (max-width: 640px) {
    .news-main .news-hero {
      padding: 30px 15px 0;
    }
  }
  /* France 3 : cadrage de la carte sans couper */
.news-card:has(img[src*="france3-01"]) .news-card-image {
    height: 285px;
    background: #101713;
  }
  .news-card:has(img[src*="france3-01"]) .news-card-image img {
    object-fit: contain;
    object-position: center center;
  }
  /* Dans l'article, conserver une ouverture discrète et entière */
  .news-article:has(img[src*="france3-01"]) .news-hero-photo-compact img {
    object-fit: contain;
    object-position: center center;
  }
  @media(max-width:640px) {
    .news-card:has(img[src*="france3-01"]) .news-card-image { height: 285px; }
  }
  /* Souligner le lien des crédits vidéo */
.news-article .news-video-credit a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.news-article .news-video-credit a:hover {
  color: #c2ff43;
}

/* Coupe de France des clubs — photo de couverture entière */
.news-card:has(img[src*="vichy-01"]) .news-card-image {
  height: 260px;
  background: #101713;
}

.news-card:has(img[src*="vichy-01"]) .news-card-image img {
  object-fit: contain;
  object-position: center center;
}
