/* WS Actu - la fiche d'une actu (maquette v1 validee). */
/* La base (couleur forte, puces, boutons) est dans base.css, chargee avant. */

.wsac-fil { padding: 6px 0 0; color: #8a8193; font-size: 13px; }
.wsac-fil a { color: inherit; text-decoration: none; }
.wsac-fil a:hover { color: var(--wsac-fort); text-decoration: underline; }
.wsac-fil b { color: #3b3446; font-weight: 600; }

.wsac-fiche { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 44px; align-items: start; padding: 22px 0 40px; }
.wsac-fiche--sans-affiche { grid-template-columns: minmax(0, 1fr); max-width: 740px; }
.wsac-fiche__affiche { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(40, 20, 60, .25); }
.wsac-fiche__affiche img { display: block; width: 100%; height: auto; }
.wsac .wsac-titre { margin: 12px 0 6px; padding: 0; font-size: 42px; line-height: 1.02; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.wsac-fiche .st { margin: 0 0 20px; color: var(--wsac-gris); font-size: 16px; }

.wsac-infos { display: grid; gap: 1px; margin: 0 0 20px; border-radius: 16px; overflow: hidden; background: #eee6f3; }
.wsac-infos > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 16px; background: #faf7fc; }
.wsac-infos .ico { width: 20px; height: 20px; justify-self: center; color: var(--wsac-fort); }
.wsac-infos b { display: block; font-size: 14.5px; }
.wsac-infos small { display: block; color: var(--wsac-gris); font-size: 12.5px; }

.wsac-boutons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wsac-partage { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--wsac-gris); font-size: 13px; font-weight: 700; }
.wsac-partage a, .wsac-partage button { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f1edf5; color: #3b3446; cursor: pointer; text-decoration: none; }
.wsac-partage a:hover, .wsac-partage button:hover { background: var(--wsac-doux); color: var(--wsac-fort); }
.wsac-partage .ico { width: 16px; height: 16px; }
.wsac-partage button.est-copie { background: var(--wsac-fort); color: #fff; }

.wsac-texte { max-width: 740px; font-size: 16px; line-height: 1.7; }
.wsac-decouvrir a { color: var(--wsac-fort); font-weight: 800; text-decoration: none; }
.wsac-decouvrir a:hover { text-decoration: underline; }

.wsac .wsac-sous { margin: 36px 0 14px; padding: 0; font-size: 20px; font-weight: 900; text-transform: uppercase; }
.wsac-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.wsac-video iframe, .wsac-video .wp-video, .wsac-video video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
/* Fichier de la mediatheque : ses vraies proportions, jamais plus haut que l'ecran (une video tournee
   au telephone reste en hauteur, centree). Le lecteur de WordPress pose ses tailles en ligne : on les reprend. */
.wsac .wsac-video--fichier { aspect-ratio: var(--wsac-ratio, 16 / 9); width: min(100%, calc(78vh * var(--wsac-ratio-n, 1.7778))); margin-inline: auto; }
.wsac .wsac-video--fichier :is(.wp-video, .mejs-container, .mejs-inner, .mejs-mediaelement, video) { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; }
.wsac-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wsac-gal a { display: block; border-radius: 12px; overflow: hidden; }
.wsac-gal img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.wsac-gal a:hover img { transform: scale(1.03); }

.wsac-dates { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wsac-dates li { margin: 0; }
.wsac-dates a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 13px 16px; border-radius: 14px; background: #faf7fc; color: inherit; text-decoration: none; }
.wsac-dates a:hover { background: var(--wsac-doux); }
.wsac-dates span { color: var(--wsac-gris); }

@media (max-width: 1024px) {
	.wsac-fiche { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 26px; }
	.wsac .wsac-titre { font-size: 34px; }
}
@media (max-width: 640px) {
	.wsac-fiche { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.wsac-fiche__affiche { max-width: 300px; }
	.wsac .wsac-titre { font-size: 30px; }
	.wsac-boutons .wsac-btn { flex: 1 1 100%; justify-content: center; }
	.wsac-gal { grid-template-columns: 1fr 1fr; }
}
