/* ── Complément CSS — classes Twig non couvertes par rct.css ── */

/* Flash messages */
.flash {
  padding: 14px 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.flash--success { background: #2a7a2a; color: var(--cream); }
.flash--error   { background: var(--red); color: var(--cream); }

/* Page hero — titre de page */
.page-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

/* Mobile nav burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform .2s;
}

/* ── Dropdown nav — shared ── */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item-link {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-caret {
  font-size: 9px;
  opacity: 0.5;
  line-height: 1;
  transition: transform .2s;
  margin-top: 1px;
}
.nav-dropdown a {
  display: block;
  letter-spacing: .12em;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-dropdown a.active::after { display: none; }
.nav-dropdown hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 4px 0;
}

/* ── Desktop dropdown (hover) ── */
@media (min-width: 881px) {
  .nav-item:hover .nav-caret,
  .nav-item:focus-within .nav-caret { transform: rotate(180deg); }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 14px); /* gap visuel */
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(14,13,11,.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    padding: 6px 0;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 200;
  }
  /* Pont invisible au-dessus du panel — empêche la perte du hover dans le gap */
  .nav-dropdown::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0; right: 0;
    height: 16px;
  }
  /* Triangle décoratif */
  .nav-dropdown::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--line);
    border-top: none;
  }
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown a {
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(242,234,218,.65);
  }
  .nav-dropdown a:hover { color: var(--cream); background: rgba(242,234,218,.06); }
  .nav-dropdown a.active { color: var(--cream); background: rgba(200,32,45,.12); }
}

/* ── Mobile nav ── */
@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink);
    padding: 0 var(--pad) 16px;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }

  /* Direct links */
  .nav-links > a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  /* nav-item rows */
  .nav-item {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  .nav-item-link {
    font-size: 18px;
    padding: 12px 0;
    justify-content: space-between;
  }
  .nav-caret { font-size: 14px; opacity: .5; }
  .nav-item.open .nav-caret { transform: rotate(180deg); }

  /* Dropdown panel — collapsed by default */
  .nav-dropdown {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
  }
  .nav-item.open .nav-dropdown { max-height: 300px; }

  .nav-dropdown a {
    font-size: 15px;
    padding: 9px 0 9px 20px;
    color: rgba(242,234,218,.5);
    border-top: 1px solid rgba(242,234,218,.06);
  }
  .nav-dropdown a:hover,
  .nav-dropdown a.active { color: var(--cream); background: none; }
  .nav-dropdown hr { display: none; }
}

/* Effectif card */
.effectif-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.effectif-card .n {
  font-family: "Anton", sans-serif;
  font-size: clamp(64px, 9vw, 104px);
  line-height: .88;
  color: var(--red);
}
.effectif-card .l {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 700;
  color: rgba(242,234,218,0.55);
  margin-top: 8px;
}
.effectif-card .staff {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: rgba(242,234,218,0.7);
}
.effectif-card .staff strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 4px;
}
.section--cream .effectif-card {
  background: var(--cream-2);
  border-color: var(--line-on-cream);
  color: var(--ink);
}
.section--cream .effectif-card .l,
.section--cream .effectif-card .staff {
  color: rgba(14,13,11,0.6);
}

/* Club crests */
.crest-sm {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.team-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.standings td.club { display: flex; align-items: center; gap: 10px; }

/* Fixture rows */
.fixture-row {
  display: grid;
  grid-template-columns: 60px 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.fixture-row .date {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(242,234,218,0.5);
  white-space: nowrap;
}
.fixture-row .teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 600;
}
.fixture-row .score { font-family: "Anton", sans-serif; font-size: 20px; text-align: center; }
.fixture-row .score.win { color: #4caf50; }
.fixture-row .score.loss { color: var(--red); }
.fixture-row .comp { font-size: 12px; color: rgba(242,234,218,0.5); text-align: right; }
.fixture-row .time { font-family: "Anton", sans-serif; font-size: 18px; text-align: center; }
.fixture-row .vs { color: rgba(242,234,218,0.4); }
@media (max-width: 720px) {
  .fixture-row { grid-template-columns: 50px 1fr auto; }
  .fixture-row .comp { display: none; }
}

/* Prochain match hero */
.fixture-next {
  border: 1px solid var(--line);
  padding: 24px 28px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.fixture-next .date {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 8px;
}
.fixture-next .matchup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "Anton", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  text-transform: uppercase;
  line-height: 1;
}
.fixture-next .matchup .crest-sm { width: clamp(24px, 3.5vw, 40px); height: clamp(24px, 3.5vw, 40px); }
.fixture-next .matchup .vs { color: var(--red); margin: 0 4px; }
.fixture-next .comp { font-size: 13px; color: rgba(242,234,218,.5); margin-top: 8px; }

/* Standings table overrides for dark bg */
.standings { width: 100%; border-collapse: collapse; margin-top: 16px; }
.standings th {
  text-align: left;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  color: rgba(242,234,218,.5);
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.standings td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.standings tr.rct { background: rgba(200,32,45,.12); }
.standings tr.rct td { color: var(--cream); }

/* History timeline */
.history-timeline { margin-top: 48px; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-on-cream);
  align-items: start;
}
.timeline-item .year {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  color: var(--red);
  line-height: 1;
  padding-top: 4px;
}
.timeline-item h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}
.timeline-item p { margin: 0; font-size: 15px; line-height: 1.65; }
@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 60px 1fr; gap: 14px; }
  .timeline-item .year { font-size: 20px; }
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.values-grid .v {
  border: 1px solid var(--line-on-cream);
  padding: 24px;
}
.values-grid .n {
  font-family: "Anton", sans-serif;
  font-size: 40px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.values-grid .t {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.values-grid .d { font-size: 14px; line-height: 1.65; }

/* Bureau cards */
.bureau-card {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.bureau-card .role {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 6px;
}
.bureau-card .name {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}
.bureau-card .note { font-size: 13px; color: rgba(242,234,218,.55); }

/* Palmarès list */
.palmares-list { margin-top: 32px; }
.palmares-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-on-cream);
}
.palmares-item .year {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  color: var(--red);
  min-width: 70px;
}
.palmares-item .titre {
  font-weight: 700;
  font-size: 16px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Article page */
.article-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  background: var(--ink-2);
}
.article-date {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
  color: rgba(242,234,218,.5);
  margin-top: 20px;
}
.article-body {
  max-width: 760px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.article-lead {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
  color: rgba(242,234,218,.8);
}
.article-content { font-size: 16px; line-height: 1.75; }
.article-content p { margin: 0 0 20px; }
.article-back { margin-top: 48px; }
.breadcrumb {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: rgba(242,234,218,.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--cream); }

/* ── News Slider ── */
.news-slider {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.news-slider-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.news-slide {
  flex: 0 0 100%;
  min-height: clamp(420px, 55vw, 560px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.news-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  z-index: 1;
}
.news-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-slide:has(.news-slide-bg)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,13,11,.94) 0%, rgba(14,13,11,.65) 55%, rgba(14,13,11,.25) 100%);
  z-index: 1;
}
.news-slide-inner {
  display: grid;
  grid-template-columns: 1fr min-content;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.news-slide-tag {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}
.news-slide-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(36px, 6vw, 84px);
  text-transform: uppercase;
  line-height: .9;
  margin: 0 0 24px;
  max-width: 720px;
  letter-spacing: .01em;
}
.news-slide-excerpt {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.65;
  max-width: 580px;
  color: rgba(242,234,218,.68);
  margin-bottom: 36px;
}
.news-slide-num {
  font-family: "Anton", sans-serif;
  font-size: clamp(100px, 16vw, 220px);
  line-height: 1;
  color: rgba(242,234,218,.05);
  letter-spacing: -.04em;
  user-select: none;
  white-space: nowrap;
}
/* Progress bar */
.news-slider-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--red);
  width: 0;
  z-index: 10;
}
/* Arrow buttons */
.news-slider-btn {
  position: absolute;
  bottom: 40px;
  background: rgba(242,234,218,.07);
  border: 1px solid var(--line);
  color: var(--cream);
  width: 48px; height: 48px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background .2s, border-color .2s;
  display: flex; align-items: center; justify-content: center;
}
.news-slider-btn:hover { background: var(--red); border-color: var(--red); }
.news-slider-prev { right: calc(var(--pad) + 56px); }
.news-slider-next { right: var(--pad); }
/* Dots */
.news-slider-dots {
  position: absolute;
  bottom: 56px;
  left: var(--pad);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.news-dot {
  width: 28px; height: 3px;
  background: rgba(242,234,218,.22);
  border: none;
  cursor: pointer;
  transition: background .25s, width .25s;
  padding: 0;
}
.news-dot.active { background: var(--red); width: 48px; }

@media (max-width: 720px) {
  .news-slide-inner { grid-template-columns: 1fr; }
  .news-slide-num { display: none; }
  .news-slider-btn { bottom: 20px; width: 40px; height: 40px; font-size: 15px; }
  .news-slider-prev { right: calc(var(--pad) + 48px); }
  .news-slider-next { right: var(--pad); }
  .news-slider-dots { bottom: 30px; }
}

/* Featured article */
.article-featured {
  margin-bottom: 48px;
  border: 1px solid var(--line-on-cream);
  padding: clamp(24px, 4vw, 48px);
}
.article-featured a { display: block; color: inherit; text-decoration: none; }
.article-featured h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  text-transform: uppercase;
  line-height: .9;
  margin: 12px 0 16px;
}
.article-featured p { font-size: 16px; line-height: 1.65; max-width: 680px; }
.arrow-link {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--red);
  margin-top: 16px;
  display: inline-block;
}

/* Team full grid (equipes page) */
.team-full-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  margin-top: 32px;
}
@media (max-width: 900px) { .team-full-grid { grid-template-columns: 1fr; } }
.team-section-head { margin-bottom: 8px; }
.team-photo {
  position: relative;
  aspect-ratio: 21/8;
  overflow: hidden;
  margin: 32px 0;
  background: var(--ink-2);
}
@media (max-width: 720px) { .team-photo { aspect-ratio: 16/10; } }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-photo-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,0.1), rgba(14,13,11,0.75)),
    repeating-linear-gradient(135deg, rgba(242,234,218,0.05) 0 2px, transparent 2px 16px),
    linear-gradient(135deg, #2A2724 0%, #1B1916 100%);
}
.team-photo-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(242,234,218,.35);
}
.section--cream .team-photo-bg {
  background:
    linear-gradient(180deg, rgba(14,13,11,0.03), rgba(14,13,11,0.12)),
    repeating-linear-gradient(135deg, rgba(14,13,11,0.04) 0 2px, transparent 2px 16px),
    linear-gradient(135deg, #E8DEC8 0%, #D9CDB0 100%);
}
.section--cream .team-photo-label { color: rgba(14,13,11,.35); }
.team-section-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  text-transform: uppercase;
  line-height: .88;
  margin: 8px 0 4px;
}
.team-section-head .headline {
  font-size: 18px;
  color: rgba(242,234,218,.7);
  margin-top: 8px;
}
.team-info .training {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(242,234,218,.65);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.team-info .coach { margin-top: 10px; font-size: 14px; color: rgba(242,234,218,.65); }

/* Stade */
.stade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .stade-grid { grid-template-columns: 1fr; } }
.stade-list { list-style: none; padding: 0; margin: 20px 0; }
.stade-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.stade-list li strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(242,234,218,.5);
  margin-bottom: 4px;
}
.stade-map { margin-top: 0; }

/* RGPD note */
.rgpd-note {
  font-size: 12px;
  color: rgba(242,234,218,.4);
  margin: 12px 0 16px;
  line-height: 1.5;
}
.section--cream .rgpd-note { color: rgba(14,13,11,.45); }

/* Form styles */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Symfony form_row() generates bare <div> wrappers — match .field spacing */
.join-form > div {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.form-row > div {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

/* textarea missing from rct.css join-form rules */
.join-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  color: var(--cream);
  padding: 10px 0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
  resize: vertical;
  min-height: 90px;
}
.join-form textarea:focus { border-color: var(--yellow); }

/* Suppress browser autofill blue background */
.join-form input:-webkit-autofill,
.join-form input:-webkit-autofill:hover,
.join-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset;
  -webkit-text-fill-color: var(--cream);
  transition: background-color 5000s ease-in-out 0s;
}

/* Symfony validation errors */
.join-form .form-error,
.join-form ul.errors {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.join-form .form-error li,
.join-form ul.errors li {
  font-size: 12px;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* Sponsor tiles (.sponsors-grid children — real class used by templates) */
.sponsor {
  width: 100%;
  background: var(--cream-2);
  border: 0;
  aspect-ratio: 1.6/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sponsor:hover { background: var(--paper); }
.sponsor img { max-height: 48px; max-width: 80%; object-fit: contain; }
.sponsor span {
  font-family: "Anton", sans-serif;
  font-size: 15px;
  line-height: 1.2;
  color: rgba(14,13,11,0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Sponsor modal */
.sponsor-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14,13,11,.75);
}
.sponsor-modal.open { display: flex; }
.sponsor-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px;
  color: var(--cream);
}
.sponsor-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 0;
  color: rgba(242,234,218,.5);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.sponsor-modal-close:hover { color: var(--cream); }
.sponsor-modal-logo { max-height: 56px; max-width: 160px; object-fit: contain; margin-bottom: 18px; }
.sponsor-modal-name {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 6px;
}
.sponsor-modal-secteur {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 22px;
}
.sponsor-modal-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
}
.sponsor-modal-info .label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(242,234,218,.45);
  margin-bottom: 2px;
}
.sponsor-modal-info a { color: var(--cream); text-decoration: none; }
.sponsor-modal-info a:hover { color: var(--red); }

/* Bureau member photo (box + red corner tab already defined in rct.css) */
.bureau-card .photo { overflow: hidden; }
.bureau-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Article cover image (.article-img box defined in rct.css) */
.article-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Article cards (.news-grid children — real class used by actualites.html.twig, previously unstyled) */
.article-card {
  display: block;
  position: relative;
  background: var(--ink-2);
  aspect-ratio: 4/5;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  transition: transform .25s;
}
.article-card:hover { transform: translateY(-4px); }
.article-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,13,11,.25) 0%, rgba(14,13,11,.92) 100%),
    repeating-linear-gradient(120deg, rgba(242,234,218,0.04) 0 2px, transparent 2px 18px),
    linear-gradient(160deg, #3d3936 0%, #1B1916 100%);
}
.article-card.alt::before {
  background:
    linear-gradient(180deg, rgba(200,32,45,.5) 0%, rgba(14,13,11,.92) 100%),
    repeating-linear-gradient(-30deg, rgba(242,234,218,0.05) 0 2px, transparent 2px 18px),
    linear-gradient(160deg, #6B161F 0%, #1B1916 100%);
}
.article-card .tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: var(--red);
  color: var(--cream);
  margin: 20px 0 0 20px;
  padding: 5px 10px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
}
.article-card h3 {
  position: relative;
  z-index: 2;
  font-family: "Anton", sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  text-transform: uppercase;
  line-height: 1.05;
  margin: auto 20px 8px;
}
.article-card p {
  position: relative;
  z-index: 2;
  margin: 0 20px 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(242,234,218,.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .date {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 20px 20px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: rgba(242,234,218,.4);
}
.news-grid .article-card:first-child { aspect-ratio: auto; min-height: 480px; grid-row: span 2; }
@media (max-width: 900px) { .news-grid .article-card:first-child { min-height: 380px; grid-row: auto; } }

/* Galerie photos de match */
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 40px; }
@media (max-width: 720px) { .galerie-grid { grid-template-columns: repeat(2, 1fr); } }
.galerie-tile {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink-3);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galerie-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.galerie-tile:hover img { transform: scale(1.05); }
.galerie-tile.placeholder span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(242,234,218,.3);
}
.galerie-tile .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(14,13,11,.85));
  font-size: 12px;
  color: rgba(242,234,218,.85);
}
