
:root {
  --bg: #080a0c;
  --surface: #101419;
  --surface-2: #161b21;
  --text: #ece9e1;
  --muted: #a9afb7;
  --line: rgba(255,255,255,.13);
  --accent: #6ab7df;
  --accent-warm: #d8a657;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 15%, rgba(71,111,141,.17), transparent 34rem),
    radial-gradient(circle at 85% 72%, rgba(157,103,44,.11), transparent 30rem),
    linear-gradient(180deg, #080a0c 0%, #0b0e11 100%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }
.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(8,10,12,.86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand img { width: min(254px, 64vw); height: auto; }
.site-nav { margin-left: auto; }
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 36px;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}
.language-switch:hover, .language-switch:focus-visible { color: var(--text); border-color: rgba(255,255,255,.28); }
.language-switch .language-flag { font-size: 1rem; line-height: 1; letter-spacing: 0; }
.site-nav ul { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .75rem .9rem; text-decoration: none; color: var(--muted); font-size: .91rem; letter-spacing: .05em; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav a.is-active::after { content: ""; display: block; height: 1px; margin-top: .3rem; background: var(--accent); }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: var(--text); }
main { min-height: 70vh; }
/* Accueil ajusté à la hauteur de l’écran */
body.home-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.home-page main {
  min-height: 0;
  display: grid;
}
.home-page .hero {
  min-height: 0;
  height: 100%;
}
.home-page .hero-content {
  padding-top: clamp(2.5rem, 7vh, 5rem);
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
}

.hero {
  position: relative;
  min-height: min(82vh, 850px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.08); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,6,8,.93) 0%, rgba(4,6,8,.56) 48%, rgba(4,6,8,.25) 100%), linear-gradient(0deg, rgba(4,6,8,.85), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(var(--max), 100%); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 5rem); }
.kicker { margin: 0 0 1rem; color: var(--accent); text-transform: uppercase; font-size: .76rem; letter-spacing: .28em; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(3rem, 8.5vw, 7.6rem); max-width: 980px; letter-spacing: -.035em; }
.hero-content h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.35rem, 6vw, 4.9rem);
  letter-spacing: -.045em;
}
.hero-lead { max-width: 660px; margin: 1.6rem 0 2rem; color: #d5d6d5; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.15rem; border: 1px solid var(--line); text-decoration: none; background: rgba(255,255,255,.04); }
.button:hover { border-color: var(--accent); background: rgba(106,183,223,.08); }
.button.primary { background: var(--text); color: #090b0d; border-color: var(--text); }
.section { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; padding: clamp(4.2rem, 8vw, 7.5rem) 0; }
.section.compact { padding-top: 3rem; padding-bottom: 3rem; }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr); gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; font-size: clamp(2.1rem, 5vw, 4.4rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 720px; }
.gallery-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.gallery-card { position: relative; min-height: 330px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); text-decoration: none; box-shadow: var(--shadow); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, filter .65s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,5,7,.96) 0%, rgba(3,5,7,.06) 65%); }
.gallery-card-content { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; }
.gallery-card h2 { margin: 0 0 .25rem; font-size: 1.65rem; }
.gallery-card span { color: #c4c9ce; font-size: .88rem; }
.gallery-card:hover img { transform: scale(1.035); filter: saturate(1.12); }
.gallery-card.is-preview { cursor: default; }
.gallery-card.is-preview:hover img { transform: none; filter: none; }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-media { border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-copy h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); margin: 0 0 1.2rem; }
.split-copy p { color: var(--muted); }
.page-hero { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) 0 1.8rem; }
.page-hero h1 { font-size: clamp(2.55rem, 5.5vw, 4.9rem); max-width: none; }
.page-hero .kicker { margin-bottom: .65rem; }
.page-hero .lead { max-width: 830px; margin: .9rem 0 0; color: var(--muted); font-size: 1.05rem; }
.gallery-page-hero { min-height: 42vh; position: relative; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.gallery-page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-page-hero-portraits img { object-position: center center !important; }
.gallery-page-hero-metal-stars img { object-position: 34% 18% !important; }
.gallery-page-hero-spiritualites img { object-position: center 38% !important; }
.gallery-page-hero-tempus-fugit img { object-position: 62% 18% !important; }

.gallery-page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(5,7,9,.94) 0%, rgba(5,7,9,.34) 75%), linear-gradient(90deg, rgba(5,7,9,.72), transparent); }
.gallery-page-hero .inner { position: relative; z-index: 2; width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; padding: 3.7rem 0 2rem; }
.gallery-page-hero .kicker { margin-bottom: .65rem; }
.gallery-page-hero h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.gallery-page-hero p { max-width: 830px; margin: .9rem 0 0; color: #d2d5d6; font-size: 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .8rem; }
.photo-card { border: 0; padding: 0; background: var(--surface); color: var(--text); text-align: left; cursor: zoom-in; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card span { position:absolute; left:0; right:0; bottom:0; padding: 2rem .8rem .7rem; background: linear-gradient(0deg, rgba(0,0,0,.88), transparent); font-size:.82rem; opacity:0; transition: opacity .25s; }
.photo-card:hover span, .photo-card:focus-visible span { opacity:1; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; grid-template-columns: 60px minmax(0,1fr) 60px; grid-template-rows: 1fr auto; align-items: center; background: rgba(0,0,0,.95); padding: 1rem; }
.lightbox.is-open { display: grid; }
.lightbox figure { grid-column: 2; grid-row: 1 / span 2; margin:0; display:grid; grid-template-rows:minmax(0,1fr) auto; height:calc(100vh - 2rem); }
.lightbox img { max-width:100%; max-height:calc(100vh - 11rem); max-height:calc(100dvh - 11rem); margin:auto; object-fit:contain; }
.lightbox figcaption { text-align:center; color:#d6d6d6; padding:.75rem .5rem .35rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { border:1px solid var(--line); color:white; background:rgba(0,0,0,.35); width:46px; height:46px; cursor:pointer; }
.lightbox-close { position:absolute; right:1rem; top:1rem; }
.lightbox-prev { grid-column:1; }
.lightbox-next { grid-column:3; }
.lightbox-details {
  align-self: end;
  display: grid;
  justify-items: center;
}

.lightbox-vote-panel {
  display: grid;
  justify-items: center;
  width: min(100%, 560px);
  padding-bottom: .15rem;
}

.photo-vote-lightbox {
  min-height: auto;
  border: 0;
  background: transparent;
  padding: .1rem;
}

.photo-vote-lightbox .photo-vote-choice {
  min-width: 8.4rem;
  border: 1px solid transparent;
  color: #b8bdc0;
  font-size: .7rem;
}

.photo-vote-lightbox .photo-vote-choice:hover,
.photo-vote-lightbox .photo-vote-choice:focus-visible,
.photo-vote-lightbox .photo-vote-choice[aria-pressed="true"] {
  border-color: var(--line);
}


@media (max-width: 620px) {
  .lightbox figure {
    height: calc(100vh - .6rem);
    height: calc(100dvh - .6rem);
  }

  .lightbox img {
    max-height: calc(100vh - 12.5rem);
    max-height: calc(100dvh - 12.5rem);
  }

  .photo-vote-lightbox {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .photo-vote-lightbox .photo-vote-choice {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    white-space: nowrap;
    padding-inline: .15rem;
    font-size: .64rem;
  }

  .photo-vote-lightbox .vote-symbol {
    flex-basis: .6rem;
    width: .6rem;
    font-size: .58rem;
  }
}
.prose { max-width: 850px; }
.prose h2, .prose h3 { margin-top: 2.7rem; }
.prose h2 { font-size: 2.2rem; }
.prose p { color: #d1d3d4; }
.prose hr { border:0; border-top:1px solid var(--line); margin:2.5rem 0; }
.prose a { color: var(--accent); }
.media-centered {
  margin: 2rem 0;
  text-align: center;
}
.media-centered img {
  display: inline-block;
  width: auto;
  max-width: min(100%, 520px);
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.archive-note { border-left: 2px solid var(--accent-warm); background: rgba(216,166,87,.07); padding: 1rem 1.2rem; color: #d4d0c8; margin: 0 0 2rem; }
.event-list, .comment-list, .words-list { display:grid; gap:1.25rem; }
.event, .comment, .word-entry { border:1px solid var(--line); background:rgba(255,255,255,.025); padding:clamp(1.15rem,3vw,2rem); }
.comment-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem 1rem; margin-bottom:.8rem; }
.comment-head strong { font-family:Georgia,serif; font-size:1.35rem; font-weight:400; }
.comment-head time { color:var(--muted); font-size:.88rem; }
.comment p { white-space:pre-line; color:#d4d6d7; margin:0; }
.words-section { padding-top:2rem; }
.word-entry {
  display:grid;
  grid-template-columns:minmax(210px, 30%) minmax(0, 1fr);
  gap:clamp(1.5rem,4vw,3rem);
  align-items:start;
  padding:clamp(1.4rem,4vw,2.6rem);
}
.word-media { display:grid; gap:.8rem; align-content:start; }
.word-photo-link { display:block; }
.word-entry img,
.word-photo-placeholder {
  width:100%;
  aspect-ratio:4 / 3;
  border:1px solid var(--line);
  background:rgba(255,255,255,.018);
}
.word-entry img { height:auto; object-fit:cover; }
.word-entry img.word-photo-full { aspect-ratio: auto; object-fit: contain; }

.word-photo-placeholder {
  display:grid;
  place-items:center;
  color:var(--muted);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(1.05rem,2vw,1.35rem);
  letter-spacing:.04em;
}
.word-gallery-caption {
  margin:0;
  text-align:center;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.45;
}
.word-gallery-link {
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(106,183,223,.45);
}
.word-gallery-link:hover,
.word-gallery-link:focus-visible { border-bottom-color:var(--accent); }
.word-copy { min-width:0; }
.word-entry h2 { margin:.2rem 0 1rem; font-size:clamp(1.8rem,3.2vw,2.65rem); }
.word-entry[id] { scroll-margin-top: 100px; }
.word-date { margin:0; color:var(--accent-warm); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.word-body { color:#d2d4d5; }
.word-body p { margin:0 0 1rem; }
.word-body p:last-child { margin-bottom:0; }
@media (min-width: 901px) {
  .word-body { text-align:justify; hyphens:auto; }
}
.contact-card { max-width:760px; border:1px solid var(--line); background:var(--surface); padding:clamp(1.5rem,5vw,3rem); }
.contact-email { font-family:Georgia,serif; font-size:clamp(1.35rem,4vw,2.4rem); text-decoration:none; border-bottom:1px solid var(--accent); }
.page-hero-minimal { padding-bottom: 1rem; }
.construction-section { min-height: 46vh; display: grid; align-items: center; }
.construction-card { width: min(760px, 100%); padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.construction-line { display: block; width: 54px; height: 1px; margin-bottom: 2rem; background: var(--accent); }
.construction-label { margin: 0 0 .8rem; color: var(--accent); text-transform: uppercase; font-size: .74rem; letter-spacing: .24em; font-weight: 700; }
.construction-card h2 { max-width: 650px; margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3.7rem); }
.construction-card > p:last-child { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.site-footer { border-top:1px solid var(--line); padding:1.5rem clamp(1.2rem,5vw,5rem); display:flex; justify-content:flex-end; align-items:center; gap:2rem; color:var(--muted); }
.site-footer.has-counter { justify-content:space-between; }
.site-footer img { width:190px; margin-bottom:.5rem; }
.site-footer p { margin:.3rem 0; }
.footer-counter { font-size:.76rem; letter-spacing:.035em; color:var(--muted); }
.footer-meta { text-align:right; font-size:.84rem; }
@media (max-width: 900px) {
  .site-nav { margin-left: 0; }
  .language-switch { margin-left: auto; }
  .nav-toggle { display:block; }
  .site-nav { position:absolute; top:78px; left:0; right:0; display:none; background:#0b0e11; border-bottom:1px solid var(--line); padding:1rem; }
  .site-nav.is-open { display:block; }
  .site-nav ul { display:block; }
  .site-nav a { padding:1rem; }
  .section-head, .split { grid-template-columns:1fr; }
  .gallery-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .site-header { min-height:68px; padding:0 1rem; gap:.5rem; }
  .site-nav { top:68px; }
  .brand img { width:205px; }
  .hero { min-height:78vh; }
  .gallery-cards { grid-template-columns:1fr; }
  .gallery-card { min-height:290px; }
  .photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .word-entry { grid-template-columns:1fr; gap:1.4rem; }
  .word-entry[id] { scroll-margin-top: 84px; }
  .word-entry img, .word-photo-placeholder { width:100%; height:auto; max-height:380px; }
  .word-photo-placeholder { min-height:220px; }
  .site-footer { display:flex; justify-content:center; }
  .site-footer.has-counter { flex-direction:column; gap:.35rem; }
  .footer-counter, .footer-meta { text-align:center; margin-top:0; }
  .lightbox { grid-template-columns:46px minmax(0,1fr) 46px; padding:.3rem; }
}
/* Navigation interne */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .85rem;
  color: #c7ccd0;
  font-size: .82rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.gallery-return {
  margin: 2.25rem 0 0;
  text-align: center;
}

.gallery-return a,
.memorial-return a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(106,183,223,.45);
}

.gallery-return a:hover,
.gallery-return a:focus-visible,
.memorial-return a:hover,
.memorial-return a:focus-visible {
  border-bottom-color: var(--accent);
}

.gallery-directory-links {
  max-width: 850px;
  margin: 2.4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}

.gallery-directory-links p {
  margin: 0;
}

.gallery-directory-links a {
  color: var(--accent);
}

.memorial-return {
  margin: 2rem 0 0;
}

/* Mise en page spécifique — In memoriam */
.in-memoriam-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.in-memoriam-page main {
  min-height: 0;
}

.in-memoriam-page .memorial-layout {
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.in-memoriam-page .memorial-photo {
  justify-self: center;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.in-memoriam-page .memorial-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(52svh, 500px);
  object-fit: contain;
}

.in-memoriam-page .memorial-text {
  max-width: 760px;
}

@media (min-width: 901px) and (min-height: 760px) {
  .in-memoriam-page .page-hero {
    padding-top: clamp(1.8rem, 3.5vh, 3rem);
    padding-bottom: clamp(1rem, 2vh, 1.5rem);
  }

  .in-memoriam-page .memorial-layout {
    padding-top: clamp(1.2rem, 2.5vh, 2.2rem);
    padding-bottom: clamp(1.2rem, 2.5vh, 2.2rem);
  }
}

@media (max-width: 900px) {
  .in-memoriam-page {
    display: block;
  }

  .in-memoriam-page .memorial-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .in-memoriam-page .memorial-photo img {
    max-width: min(78vw, 430px);
    max-height: 44svh;
  }
}

@media (max-width: 620px) {
  .in-memoriam-page .memorial-photo img {
    max-width: min(86vw, 360px);
    max-height: none;
  }
}

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

/* Textes longs : alignés à gauche sur petit écran, justifiés sur écran large */
.texte-long {
  text-align: left;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
.reference-list {
  display: grid;
  gap: .65rem;
  margin: 1.2rem 0 0;
  padding-left: 1.25rem;
  color: #d1d3d4;
}
.reference-list li::marker { color: var(--accent-warm); }
.reference-list a { color: var(--accent); }
@media (min-width: 768px) {
  .texte-long {
    text-align: justify;
    text-justify: inter-word;
  }
}

/* Mentions légales */
.legal-content { max-width: 900px; }
.legal-section { padding: 0 0 1.8rem; margin: 0 0 1.8rem; border-bottom: 1px solid var(--line); }
.legal-section:last-of-type { margin-bottom: 1rem; }
.legal-section h2 { margin-top: 0; font-size: clamp(1.65rem, 4vw, 2.25rem); }
.legal-update { color: var(--muted); font-size: .84rem; }

/* États de chargement de la visionneuse */
.lightbox[aria-busy="true"] figure { opacity: .72; }
.lightbox[aria-busy="true"] figcaption { color: var(--accent); }

/* Métadonnées des photographies de concert */
.concert-meta {
  display: grid;
  gap: .12rem;
  margin: 0;
  padding: .52rem .45rem .48rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-bottom: 0;
  background: rgba(255,255,255,.018);
  text-align: center;
  line-height: 1.25;
}

.concert-meta a {
  color: var(--text);
  font-size: .73rem;
  font-weight: 700;
  text-decoration: none;
}

.concert-meta a:hover,
.concert-meta a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .14em;
}

.concert-external {
  font-size: .82em;
}

.concert-meta-detail {
  color: var(--muted);
  font-size: .64rem;
}

@media (max-width: 620px) {
  .concert-meta {
    min-height: 3.15rem;
    align-content: center;
    padding: .42rem .25rem;
  }

  .concert-meta a { font-size: .7rem; }
  .concert-meta-detail { font-size: .6rem; }
}

/* Évaluation photographique — toutes les galeries */
.photo-entry {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
}

.photo-entry .photo-card {
  width: 100%;
}


.photo-vote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .05rem;
  min-height: 2.5rem;
  padding: .3rem .15rem .2rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(255,255,255,.018);
}

.photo-vote-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .16rem;
  min-width: 0;
  padding: .35rem .38rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .64rem;
  line-height: 1.15;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}

.photo-vote-choice:hover,
.photo-vote-choice:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.photo-vote-choice[aria-pressed="true"] {
  background: rgba(255,255,255,.075);
  font-weight: 700;
}

.photo-vote-choice.vote-like[aria-pressed="true"] {
  color: #80c8ea;
}

.photo-vote-choice.vote-neutral[aria-pressed="true"] {
  color: #d4d6d7;
}

.photo-vote-choice.vote-dislike[aria-pressed="true"] {
  color: #d79a9a;
}

.photo-vote-choice:disabled {
  cursor: wait;
  opacity: .55;
}

.vote-symbol {
  flex: 0 0 .62rem;
  width: .62rem;
  font-size: .62rem;
  line-height: 1;
  text-align: center;
}

.photo-vote-status {
  display: none;
  margin: .25rem 0 0;
  color: #e4a7a7;
  font-size: .62rem;
  line-height: 1.2;
  text-align: center;
}

.photo-vote-status.is-error {
  display: block;
}

@media (max-width: 620px) {
  .photo-vote {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-inline: 0;
  }

  .photo-vote-choice {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    padding: .3rem 0;
    text-align: center;
  }

  .photo-vote-choice .vote-label {
    display: none;
  }

  .vote-symbol,
  .photo-vote-lightbox .vote-symbol {
    flex: 0 0 auto;
    width: auto;
    font-size: 1.3rem;
    line-height: 1;
  }

  .photo-vote-lightbox .photo-vote-choice {
    font-size: inherit;
  }
}


/* Note contextuelle facultative sous le nom de la galerie */
.word-gallery-note {
  margin: 0.35rem auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted, #666);
}

/* Words Within — billets longs avec alternance image / texte */
.word-entry-featured { display:block; }
.word-feature-row {
  display:grid;
  grid-template-columns:minmax(210px, 30%) minmax(0, 1fr);
  gap:clamp(1.5rem,4vw,3rem);
  align-items:start;
}
.word-feature-row--reverse {
  grid-template-columns:minmax(0, 1fr) minmax(210px, 30%);
  margin-top:clamp(1.5rem,4vw,2.5rem);
}
.word-feature-middle {
  margin:clamp(1.5rem,4vw,2.5rem) 0 0;
}
.word-turn {
  margin-top:0;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.08em;
}
@media (max-width: 620px) {
  .word-feature-row,
  .word-feature-row--reverse { grid-template-columns:1fr; }
  .word-feature-row--reverse .word-media { margin-top:.2rem; }
}

