/* Éric Marty — surcharges spécifiques au site, en complément de main.css (Norto) */

/* Icône X (ex-Twitter) : svg inline (la police Font Awesome embarquée ne contient pas le logo X) */
.icon-x svg {
	display: inline-block;
	vertical-align: middle;
}

/* Filtre catégories vidéos : bascule CSS/JS simple (pas d'isotope, pour rester fiable) */
.video-filter {
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

/* Grille vidéos */
.video-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 25px;
}

@media (min-width: 768px) {
	.video-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1200px) {
	.video-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.video-card {
	display: block;
	text-decoration: none;
}

.video-card--thumb {
	position: relative;
	overflow: hidden;
	background-color: #111;
}

.video-card--thumb img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .35s ease-in-out;
}

.video-card:hover .video-card--thumb img {
	transform: scale(1.05);
}

.video-card--play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: var(--white-color-1, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .3s ease;
}

.video-card--play i {
	margin-left: 3px;
}

.video-card:hover .video-card--play {
	background-color: var(--primary-color-1, #c1502e);
}

.video-card--title {
	margin-top: 14px;
	text-align: center;
}

.video-card--featured .video-card--play {
	width: 72px;
	height: 72px;
}

.video-card--featured .video-card--play i {
	font-size: 22px;
}

/* Liste de pistes audio (page Audios) */
.audio-list {
	max-width: 900px;
	margin: 0 auto;
}

.audio-card {
	background-color: var(--black-color-2, #111);
	border-radius: 12px;
	padding: 20px 30px;
	margin-bottom: 15px;
	text-align: center;
}

.audio-card--title {
	color: var(--white-color-1, #fff);
	margin-bottom: 4px;
}

.audio-card--meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-color-2, #8a8a8a);
	margin-bottom: 12px;
}

.audio-card--player {
	width: 100%;
	max-width: 100%;
	height: 40px;
}

.audio-card--unavailable {
	color: var(--text-color-2, #8a8a8a);
	font-size: 13px;
	font-style: italic;
	margin: 0;
}

/* Liste des articles */
.article-list--item {
	display: block;
	text-decoration: none;
	padding: 30px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.article-list--item:first-child {
	padding-top: 0;
}

.article-list--date {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--primary-color-1, #c1502e);
	margin-bottom: 8px;
}

.article-list--title {
	margin-bottom: 10px;
}

.article-list--excerpt {
	color: var(--text-color-2, #8a8a8a);
	line-height: 1.7;
}

/* Corps d'article (contenu importé, balises WordPress génériques) */
.article-body {
	max-width: 680px;
	margin: 0 auto;
}

.article-body p {
	margin-bottom: 22px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--white-color-2, #dadada);
}

.article-body strong {
	color: var(--white-color-1, #f3f3f3);
}

.article-body .article-standfirst {
	font-size: 19px;
	font-style: italic;
	color: var(--white-color-1, #f3f3f3);
	line-height: 1.7;
	margin-bottom: 30px;
}

.article-body figure {
	margin: 30px 0;
}

.article-body img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.article-body figcaption {
	font-size: 13px;
	color: var(--text-color-2, #8a8a8a);
	text-align: center;
	margin-top: 10px;
}

/* Menu mobile : bascule en CSS pur (l'animation GSAP du template ne s'appliquait pas correctement) */
.navigation-menu--inner-wrapper {
	transition: transform .5s cubic-bezier(.19, 1, .22, 1);
}

.navigation-menu--inner-wrapper.is-open {
	transform: translateY(0) !important;
}

.navigation-menu--toggle-btn .wrapper-toggles--one,
.navigation-menu--toggle-btn .wrapper-toggles--two,
.navigation-menu--toggle-btn .wrapper-toggles--three {
	transition: transform .3s ease, opacity .3s ease;
}

.navigation-menu--toggle-btn.is-active .wrapper-toggles--one {
	transform: translateY(8px) rotate(45deg);
}

.navigation-menu--toggle-btn.is-active .wrapper-toggles--two {
	opacity: 0;
}

.navigation-menu--toggle-btn.is-active .wrapper-toggles--three {
	transform: translateY(-8px) rotate(-45deg);
}

/* Nav logo en texte (pas de logo sur ce site) */
.logo-wrapper--text {
	font-family: var(--font-family-1, inherit);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--white-color-1, #fff);
	white-space: nowrap;
}

/* Crédit photographique obligatoire sous la photo d'auteur */
.photo-credit {
	margin-top: 12px;
	font-size: 12px;
	color: var(--text-color-2, #8a8a8a);
	text-align: center;
}

.photo-credit a {
	color: inherit;
	text-decoration: underline;
}

/* Livre "à la une" (le plus récent) au-dessus de la grille — centré, comme sur le site actuel */
.book-featured {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0 auto 50px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.book-featured--cover {
	display: block;
	width: 100%;
	max-width: 300px;
	overflow: hidden;
	margin-bottom: 25px;
}

.book-featured--cover img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .35s ease-in-out;
}

.book-featured--cover:hover img {
	transform: scale(1.03);
}

.book-featured--info {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.book-featured--eyebrow {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--primary-color-1, #c1502e);
	margin-bottom: 10px;
}

.book-featured--title {
	margin-bottom: 8px;
}

.book-featured--meta {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-color-2, #8a8a8a);
	margin-bottom: 18px;
}

/* Grille "Derniers livres parus" (pas de carrousel : le swiper.js du template est défaillant) */
.book-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 25px;
}

@media (min-width: 768px) {
	.book-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1200px) {
	.book-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Cartes livres */
.book-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.book-card--cover {
	display: block;
	overflow: hidden;
	background-color: #f2f2f2;
}

.book-card--cover img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .35s ease-in-out;
}

.book-card--cover:hover img {
	transform: scale(1.03);
}

.book-card--info {
	padding-top: 18px;
	text-align: center;
}

.book-card--title {
	margin-bottom: 4px;
}

.book-card--meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-color-2, #8a8a8a);
	margin-bottom: 10px;
}

.book-card--link {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: underline;
}

/* Bandeau 3 icônes : icônes au lieu des numéros */
.feature-box-type-1--inner-wrapper .inner-wrapper--number i {
	font-size: 42px;
}

a.feature-box-type-1--inner-wrapper {
	text-decoration: none;
	cursor: pointer;
}
