/* =========================================================
   1ère Compagnie d'Archers de Stiring-Wendel — feuille de style
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  /* Couleurs */
  --ink:        #17130F;
  --paper:      #FAF8F5;
  --paper-dim:  #F0ECE5;
  --orange:     #E4560B;
  --orange-dk:  #B7420A;
  --stone:      #6E655C;
  --line:       #DDD5C9;
  --gold:       #F4C430;

  /* Typo */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rythme */
  --gap: clamp(1.25rem, 2vw, 2.5rem);
  --radius: 3px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h1{ font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2{ font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3{ font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

p{ margin: 0 0 1em; max-width: 62ch; }
.lede{ font-size: 1.15rem; color: var(--stone); max-width: 52ch; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section{ padding: clamp(3rem, 7vw, 6rem) 0; }
.section + .section{ border-top: 1px solid var(--line); }
.section--dim{ background: var(--paper-dim); }

.stone{ color: var(--stone); }
.center{ text-align: center; }

/* --- Motif : lignes-flèches (repris de la banderole du club) --- */
.arrow-rule{
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  margin-bottom: 1em;
}
.arrow-rule::before{
  content: '';
  width: 2.4em;
  height: 2px;
  background: currentColor;
}
.arrow-rule::after{
  content: '';
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

/* --- Boutons --- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.9em 1.6em;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover{ background: var(--ink); color: var(--paper); }
.btn--primary{ background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--primary:hover{ background: var(--orange-dk); border-color: var(--orange-dk); }
.btn--ghost-light{ border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover{ background: var(--paper); color: var(--ink); }
.btn--small{ padding: 0.55em 1.1em; font-size: 0.85rem; }
.btn--danger{ border-color: #A33; color: #A33; }
.btn--danger:hover{ background: #A33; color: #fff; }

/* =========================================================
   En-tête / navigation
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,245,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem var(--gap);
  max-width: 1180px;
  margin: 0 auto;
}
.brand{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.brand img{ height: 46px; width: auto; }
.brand span{ display: block; line-height: 1.15; max-width: 13ch; }
.brand small{ display: block; color: var(--orange); font-size: 0.65em; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.88rem;
}
.nav-links a{
  position: relative;
  padding: 0.3em 0;
}
.nav-links a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--orange);
  transition: right 0.18s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ right: 0; }
.nav-links a[aria-current="page"]{ color: var(--orange-dk); }

.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  width: 38px; height: 32px; padding: 0;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span{ display: block; height: 2px; background: var(--ink); }

@media (max-width: 1080px){

  .nav-toggle{
    display: flex;
  }

  .site-header{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }

  .nav-links{
    position: fixed;

    /* Le menu part derrière le bandeau */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: var(--paper);

    flex-direction: column;
    align-items: flex-start;

    /* espace réservé au bandeau */
    padding: 100px var(--gap) 2rem;

    gap: 1.5rem;

    font-family: var(--font-display);
    font-size: 1.4rem;
    text-transform: uppercase;

    transform: translateY(-100%);
    transition: transform 0.3s ease;

    z-index: -10;
  }

  .nav-links.is-open{
    transform: translateY(0);
  }

  .nav-links{
    overflow: hidden;
    box-sizing: border-box;
  }

  .nav-links > *{
    max-width: 100%;
    box-sizing: border-box;
  }
  
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero .container{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
  align-items: center;
}
.hero-rings{
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-rings::before,
.hero-rings::after,
.hero-rings .ring{
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.hero-rings::before{ inset: 90px; }
.hero-rings::after{ inset: 180px; border-color: #EFD9BC; }
.hero-content{ position: relative; z-index: 1; }
.hero-target{
  position: relative; z-index: 1;
  justify-self: center;
  width: min(100%, 380px);
}
.hero h1{ margin-bottom: 0.3em; }
.hero h1 em{
  font-style: normal;
  color: var(--orange);
}
.hero-cta{ display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

@media (max-width: 860px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-target{ width: min(70%, 280px); margin-top: 2rem; }
  .hero-rings{ display: none; }
}

/* =========================================================
   Chiffres clés
   ========================================================= */
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat{
  padding: 1.6rem var(--gap);
  border-left: 1px solid var(--line);
}
.stat:first-child{ border-left: none; }
.stat b{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--orange);
}
.stat span{ color: var(--stone); font-size: 0.9rem; }

@media (max-width: 700px){
  .stats{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3){ border-left: none; }
}

/* =========================================================
   Grilles génériques
   ========================================================= */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 860px){ .split{ grid-template-columns: 1fr; } }

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card{
  background: var(--paper);
  padding: 2rem;
}
.card h3{ margin-bottom: 0.4em; }
@media (max-width: 860px){ .cards{ grid-template-columns: 1fr; } }

/* =========================================================
   Actualités
   ========================================================= */
.news-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.news-grid_rss{
  width: 100%;
}
@media (max-width: 860px){ .news-grid{ grid-template-columns: 1fr; } }

.news-card{
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-card:hover, .news-card:focus-visible{
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(23,19,15,0.1);
  border-color: var(--orange);
}
.news-card-thumb{
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: var(--paper-dim);
}
.news-card-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.news-card:hover .news-card-thumb img{ transform: scale(1.06); }
.news-card-thumb-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--line);
}
.news-card-thumb-placeholder img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.news-card-body{
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.news-card_rss{
  border: 0px solid var(--line);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.news-date{
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.news-card h3{ margin: 0; text-transform: none; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
.news-card-summary{ color: var(--stone); font-size: 0.92rem; margin: 0; flex: 1; }
.news-card-more{
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.news-card:hover .news-card-more{ color: var(--orange); }

.news-content{ color: var(--stone); font-size: 0.95rem; }
.news-content p{ margin: 0 0 0.8em; }
.news-content p:last-child{ margin-bottom: 0; }
.news-content img{ max-width: 100%; height: auto; border-radius: 2px; margin: 0.7em 0; display: block; }
.news-content ul, .news-content ol{ margin: 0 0 0.8em 1.2em; }
.news-content li{ margin-bottom: 0.25em; }
.news-content a{ color: var(--orange); }
.news-content blockquote{
  border-left: 3px solid var(--line);
  padding-left: 1em;
  margin: 0.8em 0;
  color: var(--stone);
  font-style: italic;
}
.news-content h2, .news-content h3, .news-content h4{
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  color: var(--ink);
  margin: 0.8em 0 0.4em;
}
.empty-state{
  border: 1px dashed var(--line);
  padding: 2.5rem;
  text-align: center;
  color: var(--stone);
}

/* =========================================================
   Galerie
   ========================================================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.gallery figure{
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-dim);
}
.gallery img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; cursor: zoom-in; }
.gallery figure:hover img{ transform: scale(1.06); }
.gallery figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(to top, rgba(23,19,15,0.8), transparent);
  color: #fff;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery figure:hover figcaption{ opacity: 1; }
@media (max-width: 860px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }

/* --- Visionneuse plein écran (lightbox) --- */
.lightbox-overlay{
  position: fixed; inset: 0;
  background: rgba(23,19,15,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 3rem 1rem;
}
.lightbox-overlay.is-open{ display: flex; }
.lightbox-img{
  max-width: 90vw;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.15);
}
.lightbox-caption{
  position: absolute;
  bottom: 1.5rem; left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
}
.lightbox-close{
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}
.lightbox-prev, .lightbox-next{
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer;
  padding: 0.5rem 1.1rem;
}
.lightbox-prev{ left: 0.2rem; }
.lightbox-next{ right: 0.2rem; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover{ color: var(--orange); }
@media (max-width: 700px){
  .lightbox-prev, .lightbox-next{ font-size: 1.8rem; padding: 0.4rem 0.7rem; }
}

/* =========================================================
   Tarifs / horaires
   ========================================================= */
.pricing{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.price-card{
  border: 1px solid var(--line);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.price-card b{
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--orange);
  display: block;
  margin: 0.4rem 0 0.8rem;
}
.price-card ul{ list-style: none; margin: 0 0 1.5rem; padding: 0; color: var(--stone); font-size: 0.92rem; }
.price-card li{ padding: 0.35em 0; border-top: 1px solid var(--line); }
.price-card li:first-child{ border-top: none; }
@media (max-width: 860px){ .pricing{ grid-template-columns: 1fr; } }

table.schedule{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.schedule th, table.schedule td{
  text-align: left;
  padding: 0.8em 1em;
  border-bottom: 1px solid var(--line);
}
table.schedule th{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

/* =========================================================
   Documents (PDF)
   ========================================================= */
.doc-list{ display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.doc-item{
  background: var(--paper);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.doc-icon{
  width: 42px; height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--orange);
}
.doc-info{ flex: 1; min-width: 180px; }
.doc-info b{ display: block; font-size: 1rem; }
.doc-info span{ color: var(--stone); font-size: 0.82rem; }
.doc-actions{ display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.field{ margin-bottom: 1.1rem; }
.field label{
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35em;
  color: var(--stone);
}
.field input, .field textarea, .field select{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7em 0.85em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.field textarea{ resize: vertical; min-height: 120px; }

.contact-info dt{
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 1.4rem;
}
.contact-info dd{ margin: 0.2rem 0 0; }
.contact-info dt:first-child{ margin-top: 0; }

/* =========================================================
   Bandeau CTA
   ========================================================= */
.cta-band{
  background: var(--orange);
  color: #fff;
}
.cta-band .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gap);
}
.cta-band h2{ margin: 0; }
.cta-band .btn{ border-color: #fff; color: #fff; }
.cta-band .btn:hover{ background: #fff; color: var(--orange-dk); }

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: #C9C0B4;
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--gap);
  padding-bottom: 2rem;
}
.footer-grid h4{
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
}
.footer-grid ul{ list-style: none; margin: 0; padding: 0; }
.footer-grid li{ margin-bottom: 0.5em; }
.footer-grid a:hover{ color: #fff; }
.footer-bottom{
  border-top: 1px solid #322C25;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}
@media (max-width: 700px){ .footer-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   Page "Club"
   ========================================================= */
.page-hero{
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1{ margin-bottom: 0.3em; }

.timeline{ border-left: 2px solid var(--line); padding-left: 1.6rem; }
.timeline-item{ position: relative; padding-bottom: 2rem; font-weight: 1;}
.timeline-item::before{
  content: '';
  position: absolute; left: -1.68rem; top: 0.3rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange);
}
.timeline-item b{ font-family: var(--font-display); color: var(--orange); display: block; font-size: 0.95rem; }

.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.team-member{ text-align: center; }
.team-avatar{
  width: 100px; height: 100px; margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--orange);
}
.team-member b{ display: block; font-size: 0.95rem; }
.team-member__name{ display: inline-block; font-size: 0.82rem; color: var(--stone); }
.team-member__name[href]{ text-decoration: underline; text-underline-offset: 0.18em; transition: color 0.2s ease; }
.team-member__name[href]:hover, .team-member__name[href]:focus-visible{ color: var(--orange); }
@media (max-width: 860px){ .team-grid{ grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* Albums de la galerie publique */
.gallery-albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.gallery-album-card {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform .2s ease;
}

.gallery-album-card:hover,
.gallery-album-card:focus-visible {
  transform: translateY(-4px);
}

.gallery-album-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.gallery-album-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-album-card:hover .gallery-album-cover img,
.gallery-album-card:focus-visible .gallery-album-cover img {
  transform: scale(1.04);
}

.gallery-album-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: .82rem;
  line-height: 1;
}

.gallery-album-name {
  display: block;
  padding: 12px 4px 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.gallery-album-view[hidden] {
  display: none;
}

.gallery-back-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gallery-back-button:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .gallery-albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

}


/* Résultats des compétitions */
.competition-results {
  width: 100%;
}
.competition-results h2 {
  margin-bottom: 1rem;
}
.competition-results table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.competition-results th,
.competition-results td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.competition-results th {
  font-weight: 700;
  white-space: nowrap;
}
.competition-results tbody tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 700px) {
  .competition-results {
    overflow-x: auto;
  }
  .competition-results table {
    min-width: 650px;
  }
}

.partners-container {
    text-align: center; /* Centre le titre */
    margin: 20px 0;
}

.partners-container h4 {
    margin-bottom: 20px; /* Espace entre le titre et les logos */
}

.partners-logos {
    display: flex;
    justify-content: center; /* Centre les logos horizontalement */
    align-items: center;     /* Aligne les logos verticalement au milieu */
    gap: 30px;               /* Gère l'espace exact entre chaque logo */
    flex-wrap: wrap;         /* Permet aux logos de passer à la ligne sur mobile */
}

/* =========================================================
   Mise en page "contenu principal + flux RSS"
   (utilisée sur l'accueil, actualités, compétitions)
   ========================================================= */
.layout-with-rss{
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--gap);
  align-items: start;
}
.layout-with-rss > *{ min-width: 0; }
@media (max-width: 860px){
  .layout-with-rss{ grid-template-columns: 1fr; }
}

.partners-logos img {
    max-height: 160px;        /* Fixe une hauteur maximale pour uniformiser les logos */
    width: auto;             /* Garde les proportions de l'image */
    object-fit: contain;
}
