/* Blocs ajoutés par le thème WordPress (repris tels quels) */

/* --- crzebjscrzchapeaufr --- */

.crz-eb-js .crz-chapeau-fr > *{opacity:0}
.crz-eb-js .crz-chapeau-fr.crz-eb-on > *{opacity:1}
.crz-eb-reste{opacity:.25}
.crz-eb-cur{display:inline-block;width:2px;height:1em;background:#c8700a;vertical-align:-.15em;margin:0 1px;animation:crzEbBl .7s steps(1) infinite}
@keyframes crzEbBl{50%{opacity:0}}

/* --- crzvideovedette --- */

		.crz-video-vedette { width: 100%; max-width: 100%; margin: 0 0 1.6em; box-sizing: border-box; }
		.ast-row .crz-video-vedette { grid-column: 1 / -1; flex: 0 0 100%; padding: 0 20px; }
		.crz-video-vedette-cadre { position: relative; aspect-ratio: 16 / 9; background: #000; }
		.crz-video-vedette-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
		.crz-video-vedette-legende { margin: .5em 0 0; font-size: .95em; color: #4a4a4a; }
		.crz-video-vedette-legende a { color: #c8700a; }
		.crz-videos > .crz-titre-section { line-height: 1.1; }
		.crz-videos > .crz-titre-section + .crz-chapo { margin-top: .25em !important; }
	
/* --- crzxp --- */

.crz-xp{margin:0 0 1.5em;background:#000;border-radius:4px;overflow:hidden}
.crz-xp-ecran{position:relative;width:100%;aspect-ratio:16/9;background:#000}
.crz-xp-ecran iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.crz-xp .crz-xp-barre{display:flex;align-items:center;gap:.5em;padding:.35em .6em;background:#1c1c1c;color:#eee;font-family:inherit}
.crz-xp .crz-xp-barre button{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;cursor:pointer;padding:.35em!important;margin:0;line-height:0;border-radius:3px;min-height:0}
.crz-xp .crz-xp-barre button:hover,.crz-xp .crz-xp-barre button:focus-visible{color:#e8901f!important}
.crz-xp .crz-xp-barre svg{width:20px;height:20px;fill:currentColor;display:block}
.crz-xp-piste{flex:1;height:6px;background:#555;border-radius:3px;cursor:pointer;position:relative;touch-action:none}
.crz-xp-piste:hover,.crz-xp-piste:focus-visible{height:8px;outline:none}
.crz-xp-plein{height:100%;width:0;background:#c8700a;border-radius:3px;pointer-events:none}
.crz-xp-temps{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:6.5em;text-align:center}
.crz-xp-ecran{aspect-ratio:var(--crz-ar,1.7778);overflow:hidden}
.crz-xp-ecran.crz-xp-recadre iframe{inset:auto;max-width:none!important;max-height:none!important}
.crz-xp:fullscreen{display:flex;flex-direction:column;justify-content:center;border-radius:0;width:100%;height:100%}
.crz-xp:fullscreen .crz-xp-ecran{flex:0 0 auto;width:min(100vw,calc((100vh - 48px) * var(--crz-ar,1.7778)));margin:0 auto}
.crz-xp:-webkit-full-screen{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}
.crz-xp:-webkit-full-screen .crz-xp-ecran{flex:0 0 auto;width:min(100vw,calc((100vh - 48px) * var(--crz-ar,1.7778)));margin:0 auto}

/* --- autres-reportages --- */

.crz-autres-reportages { clear: both; margin: 3em 0 1em; padding-top: 1.6em; border-top: 1px solid #e5e5e5; }
.crz-autres-reportages h2 { font-size: 1.5em; margin: 0 0 .9em; color: #363636; }
.crz-ar-liste { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em 1.2em; }
.crz-ar-carte { margin: 0 !important; padding: 0 !important; list-style: none; }
.crz-ar-carte::before { content: none !important; display: none !important; }
.crz-ar-carte::marker { content: ''; }
.crz-ar-carte a { display: block; text-decoration: none; color: #363636; }
.crz-ar-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; margin-bottom: .55em; }
.crz-ar-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.crz-ar-carte a:hover img, .crz-ar-carte a:focus-visible img { transform: scale(1.04); }
.crz-ar-date { display: block; font-size: .78em; text-transform: uppercase; letter-spacing: .06em; color: #c8700a; margin-bottom: .15em; }
.crz-ar-titre { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; font-weight: 700; }
.crz-ar-carte a:hover .crz-ar-titre, .crz-ar-carte a:focus-visible .crz-ar-titre { color: #c8700a; }
.crz-ar-tous { margin: 1.4em 0 0; text-align: right; }
.crz-ar-tous a { color: #c8700a; font-weight: 700; text-decoration: none; }
.crz-ar-tous a:hover { text-decoration: underline; }
@media (max-width: 767px) {
	.crz-ar-liste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1em; padding-bottom: .6em !important; -webkit-overflow-scrolling: touch; }
	.crz-ar-carte { flex: 0 0 72%; scroll-snap-align: start; }
}

/* --- pages Vidéos, Extraits et Épopée --- */
.crz-video-vedette { width: 100%; max-width: 100%; margin: 0 0 1.6em; box-sizing: border-box; }
		.ast-row .crz-video-vedette { grid-column: 1 / -1; flex: 0 0 100%; padding: 0 20px; }
		.crz-video-vedette-cadre { position: relative; aspect-ratio: 16 / 9; background: #000; }
		.crz-video-vedette-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
		.crz-video-vedette-legende { margin: .5em 0 0; font-size: .95em; color: #4a4a4a; }
		.crz-video-vedette-legende a { color: #c8700a; }
		.crz-videos > .crz-titre-section { line-height: 1.1; }
		.crz-videos > .crz-titre-section + .crz-chapo { margin-top: .25em !important; }

.crz-vedette-avil { display: grid; grid-template-columns: minmax(0, 42%) 1fr; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.08); margin: 0 0 2.2em; }
.crz-vedette-avil-visuel { display: block; background: #efe7d4; }
.crz-vedette-avil-visuel img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .6s ease; }
.crz-vedette-avil:hover .crz-vedette-avil-visuel img { transform: scale(1.03); }
.crz-vedette-avil-corps { padding: 1.6em 1.9em 1.7em; border-left: 4px solid #c8700a; }
.crz-vedette-avil-surtitre { margin: 0 0 .5em; font-size: .72em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c8700a; }
.crz-vedette-avil-titre { margin: 0 0 .15em; font-size: 38px; line-height: 1.05; }
.crz-vedette-avil-titre a { color: #363636; text-decoration: none; }
.crz-vedette-avil-titre a:hover { color: #c8700a; }
.crz-vedette-avil-soustitre { margin: 0 0 .9em; font-style: italic; color: #7a736c; }
.crz-vedette-avil-chapo { margin: 0 0 1.1em; color: #4a4a4a; }
.crz-vedette-avil-reperes { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 1.3em !important; padding: 0 !important; }
.crz-vedette-avil-reperes li { margin: 0 !important; padding: .25em .8em; border: 1px solid #e5e5e5; border-radius: 99px; font-size: .78em; color: #4a4a4a; }
.crz-vedette-avil-reperes li::marker { content: none; }
.crz-vedette-avil-bouton { display: inline-block; padding: .55em 1.3em; border-radius: 3px; background: #c8700a; color: #fff !important; font-weight: 700; text-decoration: none; }
.crz-vedette-avil-bouton:hover { background: #a85d08; }
@media (max-width: 768px) {
	.crz-vedette-avil { grid-template-columns: 1fr; }
	.crz-vedette-avil-visuel img { min-height: 0; aspect-ratio: 2 / 1; }
	.crz-vedette-avil-corps { border-left: 0; border-top: 4px solid #c8700a; padding: 1.2em 1.2em 1.4em; }
	.crz-vedette-avil-titre { font-size: 30px; }
}
/* --- fiches artistes : photos --- */
.crz-bio-photos { clear: both; margin: 2.5em 0 1em; padding-top: 1.5em; border-top: 1px solid #e5e5e5; }
.crz-bio-photos > h2 { margin: 0 0 .25em; }
.crz-bio-photos-chapo { color: #4a4a4a; margin: 0 0 .6em; }
.crz-bio-photos h3 { font-size: 1.1em; margin: 1.5em 0 .55em; line-height: 1.3; }
.crz-bio-photos h3 a { color: #363636; text-decoration: none; }
.crz-bio-photos h3 a:hover, .crz-bio-photos h3 a:focus-visible { color: #c8700a; }
.crz-bp-n { font-weight: 400; color: #8a8a8a; font-size: .85em; white-space: nowrap; }
.crz-bio-photos .wp-block-gallery { margin-top: 0; margin-bottom: 0; }
.single .crz-bio-photos .wp-block-gallery.has-nested-images figure.wp-block-image:not(#crz), .single .crz-bio-photos .wp-block-gallery.has-nested-images figure.wp-block-image:nth-of-type(7n+1):not(#crz) { width: calc(25% - 6px) !important; flex-grow: 0 !important; aspect-ratio: 3 / 2 !important; }
.single .crz-bio-photos .wp-block-gallery.has-nested-images figure.wp-block-image img { height: 100% !important; max-height: none !important; object-fit: cover !important; object-position: 50% 30%; }
@media (max-width: 600px) {
	.single .crz-bio-photos .wp-block-gallery.has-nested-images figure.wp-block-image:not(#crz), .single .crz-bio-photos .wp-block-gallery.has-nested-images figure.wp-block-image:nth-of-type(7n+1):not(#crz) { width: calc(33.3333% - 5.34px) !important; }
}
