/* ===== Cartes d'actualité cliquables (index.php) ===== */
.post { position: relative; }
.post__lien { display: inline-block; margin: .1rem 0 .7rem; font-weight: 800; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.post__lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* toute la vignette ouvre la fiche */
.post__lien:focus-visible { outline: 3px solid #0b1b22; outline-offset: 2px; }
.post:hover .post__lien { color: #b5113f; }
.post .btn { position: relative; z-index: 2; }                                  /* les boutons restent cliquables */

/* ===== Fiche événement (evenement.php) ===== */
.fiche-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.2rem; background: #ffd100; border-bottom: 4px solid #0b1b22; }
.fiche-logo img { height: 64px; width: auto; display: block; }
.fiche-retour { font-weight: 800; color: #0b1b22; text-decoration: none; }
.fiche-retour:hover { text-decoration: underline; }

.fiche { max-width: 1000px; margin: 0 auto; padding: 2rem 1.2rem 3rem; }
.fiche-cat { display: inline-block; padding: .15rem .7rem; background: #0b1b22; color: #ffd100; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.fiche h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: .5rem 0 1.2rem; line-height: 1.1; }
.fiche-alerte { background: #ffe5e3; border: 3px solid #e0201b; padding: .6rem .9rem; font-weight: 700; margin: 0 0 1.2rem; }

.fiche-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.fiche-image { width: 100%; height: auto; display: block; border: 4px solid #0b1b22; margin-bottom: 1.2rem; }
.fiche-chapo { font-size: 1.2rem; margin: 0 0 1.6rem; line-height: 1.5; }
.fiche-chapo strong { font-weight: 800; }
.fiche-texte p { line-height: 1.65; margin: 0 0 1rem; }
.fiche-tags { color: #b5113f; font-weight: 700; }

.fiche-infos { background: #fff; border: 4px solid #0b1b22; padding: 1.2rem; position: sticky; top: 1rem; }
.fiche-infos h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.fiche-infos dl { margin: 0 0 1rem; }
.fiche-infos dt { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #b5113f; margin-top: .8rem; }
.fiche-infos dd { margin: .1rem 0 0; font-weight: 600; }
.fiche-infos .btn { display: block; text-align: center; margin-top: .6rem; }
.fiche-pj small { display: block; font-weight: 500; opacity: .75; }

/* Tarifs : une ligne par tarif, nom à gauche, prix à droite (jamais collés) */
.fiche-tarifs { margin-top: 2rem; padding: 0; }
.fiche-tarifs h2 { margin: 0 0 .8rem; }
.fiche-tarifs ul { list-style: none; margin: 0; padding: 0; background: #fff; border: 4px solid #0b1b22; }
.fiche-tarifs li { padding: .75rem 1rem; border-bottom: 2px solid #eadfb8; }
.fiche-tarifs li:last-child { border-bottom: 0; }
.fiche-tarif__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.fiche-tarif__tete strong { font-weight: 800; flex: 1 1 auto; min-width: 0; }
.fiche-tarif__prix { margin-left: auto; white-space: nowrap; font-weight: 800; color: #b5113f; }
.fiche-tarifs li p { margin: .2rem 0 0; font-size: .9rem; color: #4a5a61; line-height: 1.4; }
.fiche-mention { margin: 1rem 0 0; padding: .6rem .9rem; border: 3px solid #e0201b; background: #ffe5e3; color: #7f1d1d; font-weight: 800; }
.fiche-adh { margin: 1rem 0 0; padding: .6rem .9rem; border: 3px dashed #b5113f; background: #fdf2f6; line-height: 1.45; }
.fiche-adh a { font-weight: 800; color: #b5113f; }

.fiche-carte { margin-top: 2.2rem; }
.fiche-carte h2 { margin: 0 0 .8rem; }
.fiche-carte iframe { width: 100%; height: 380px; border: 4px solid #0b1b22; display: block; }

@media (max-width: 800px) {
  .fiche-grille { grid-template-columns: 1fr; }
  .fiche-infos { position: static; }
  .fiche-logo img { height: 48px; }
}

/* ===== Pied de page commun ===== */
.pied-social { display: flex; justify-content: center; gap: 1.1rem; margin-bottom: .6rem; }
.pied-social a { color: inherit; display: inline-flex; padding: .3rem; transition: transform .15s; }
.pied-social a:hover, .pied-social a:focus-visible { transform: scale(1.15); }
.pied-credit { font-size: .8rem; opacity: .8; margin-top: .2rem; }
.pied-admin { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; margin-left: .6rem; vertical-align: middle; color: inherit; opacity: .35; text-decoration: none; border-radius: 50%; transition: opacity .15s, transform .4s; }
.pied-admin svg { width: 1rem; height: 1rem; display: block; }
.pied-admin:hover, .pied-admin:focus-visible { opacity: 1; transform: rotate(60deg); }