/*
 * Theme Name:  contemporains Child
 * Theme URI:   https://contemporains.art
 * Description: contemporains Child Theme
 * Author:      banzai
 * Author URI:  https://banzai.dev
 * Template:    swyft
 * Version: 1.0.7
 */
 
/* ==========================================================================
   SOMMAIRE
   --------------------------------------------------------------------------
   0. GTranslate (sélecteur de langue dans le header)
   1. Masquages
   2. Typographie & contenu
   3. Images & légendes
   4. Header / Footer / Offcanvas
   5. Formulaires
   --------------------------------------------------------------------------
   Sections 1 à 5 : anciennement dans Apparence > Personnaliser > CSS additionnel,
   rapatriées ici le 2026-08-20. Indentation d'origine conservée (pas de reformatage).
   ========================================================================== */
 
/* --------------------------------------------------------------------------
   0. GTranslate (sélecteur de langue dans le header)
   -------------------------------------------------------------------------- */
 
/* Intégration du sélecteur GTranslate à côté des icônes */
.cs-header__col .header-gtranslate-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin-left: 10px !important;
}
 
/* Variables CSS GTranslate force transparence */
.header-gtranslate-wrapper {
    --gt-bg: transparent !important;
    --gt-bg-color: transparent !important;
    --gt-switcher-bg: transparent !important;
}
 
/* Style du menu déroulant (options au clic) — palette du site */
.header-gtranslate-wrapper select option {
    background-color: #1D1D1D !important;
    color: #FFFFFF !important;
}
 
/* Langue sélectionnée : inversion de la palette du site au lieu du bleu natif */
.header-gtranslate-wrapper select option:checked,
.header-gtranslate-wrapper select option:hover {
    background-color: #FFFFFF !important;
    color: #1D1D1D !important;
}
 
/* Suppression globale du fond sombre, bordures et ombres de GTranslate */
.gt_switcher,
.gt_switcher a,
.gt_switcher .gt-current-lang,
.gt_switcher .gt_option,
.gtranslate_wrapper,
div[class*="gt_"],
a[class*="gt-"] {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
 
/* Couleur du texte des liens GTranslate */
.gt_switcher a,
.gt_switcher .gt-current-lang {
    color: #ffffff !important;
}
 
/* Neutralisation du fond et du rendu natif OS/Navigateur pour le sélecteur principal */
.cs-header__col .header-gtranslate-wrapper,
.cs-header__col .gtranslate_wrapper,
html body select.gt_selector,
html body select.gt_selector.notranslate,
.header-gtranslate-wrapper select,
.header-gtranslate-wrapper .gt_switcher {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    font-size: 13px !important;
    cursor: pointer !important;
}
 
/* Forcer la transparence absolue et le texte en blanc sur TOUS les sous-éléments du wrapper GTranslate */
/* .gglobe exclu : l'icône du widget « Monde » est un background-image en data-URI */
.header-gtranslate-wrapper,
.header-gtranslate-wrapper div,
.header-gtranslate-wrapper span:not(.gglobe),
.gtranslate_wrapper,
.gt_switcher {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
 
/* Couleur du texte du select principal : suit le mode clair/sombre comme les icônes voisines */
.cs-header__col select.gt_selector,
.header-gtranslate-wrapper select.gt_selector,
.header-gtranslate-wrapper select.gt_selector.notranslate {
    color: inherit !important;
}
 
/* Header en surimpression (accueil) : le thème passe logo, menu et icônes en blanc
   via --cs-dark-primary-color, mais sa liste de sélecteurs ignore le wrapper GTranslate.
   On aligne le select sur les icônes voisines. */
.cs-display-header-overlay .cs-header:not(.cs-scroll-sticky, .cs-search-visible) .header-gtranslate-wrapper select.gt_selector {
    color: var(--cs-dark-primary-color) !important;
}
 
/* --------------------------------------------------------------------------
   1. Masquages
   -------------------------------------------------------------------------- */
 
/* Catégories dans les résultats de recherche */
.cs-search__content .cs-entry__post-meta .cs-meta-category .post-categories {
	display: none;
}
 
/* Titre du bloc recherche */
.cs-search__header h2 {
	display: none;
}
 
/* Mention « by » de l'auteur */
.cs-meta-author .cs-meta-author-by {
	display: none;
}
 
/* Overlay du slider hero avant initialisation de Swiper */
.cs-hero-type-1__slider:not(.swiper-initialized)::before {
	display: none;
}
 
/* Badge reCAPTCHA */
.grecaptcha-badge {
	visibility: hidden;
}
 
/* --------------------------------------------------------------------------
   2. Typographie & contenu
   -------------------------------------------------------------------------- */
 
.entry-content,
.wp-block-group {
	text-align: justify;
}
 
/* Lettrine du premier paragraphe */
.entry-content > p:first-child:first-of-type::first-letter {
	float: left;
	padding-right: 20px;
	padding-left: 4px;
	font-family: "Playfair Display", serif;
	font-size: 100px;
	font-style: italic;
	line-height: 1;
}
 
/* Citations */
.wp-block-quote p {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 48px;
	margin-bottom: 48px;
	padding: 40px;
	border: none;
	border-radius: var(--cs-layout-elements-border-radius);
	background-color: var(--cs-layout-background);
	color: var(--cs-color-primary);
	font-family: var(--cs-font-headings-family), sans-serif;
	font-size: 1.5rem;
	font-weight: var(--cs-font-headings-weight);
	line-height: var(--cs-font-headings-line-height);
	letter-spacing: var(--cs-font-headings-letter-spacing);
	text-align: center;
	text-transform: var(--cs-font-headings-text-transform);
}
 
/* --------------------------------------------------------------------------
   3. Images & légendes
   -------------------------------------------------------------------------- */
 
.wpauto-figure {
	margin: 24px auto;
}
 
.wpauto-figure .wp-caption-text {
	margin-top: 0.6em;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82em;
	font-weight: 400;
	line-height: 1.45;
}
 
.wpauto-figure .wp-caption-text,
.aligncenter .wp-caption-text,
.wp-caption .wp-caption-text,
.wp-block-image figcaption {
	text-align: justify;
	text-align-last: left;
}
 
/* Pleine largeur sans sidebar */
.cs-sidebar-disabled .entry-content .alignfull {
	width: 100vw !important;
	max-width: 100vw;
	margin: 48px 0;
	margin-left: calc(-50vw + 50%);
	transform: translateX(0);
}
 
/* Galeries : rendu visiteur même en session connectée (admin bar) */
body.admin-bar .wp-block-gallery.has-nested-images {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--style--unstable-gallery-gap, 16px);
}
 
body.admin-bar .wp-block-gallery.has-nested-images figure.wp-block-image {
	position: relative;
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	margin: 0;
}
 
body.admin-bar .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image {
	align-self: stretch;
}
 
body.admin-bar .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img {
	flex: 1 0 0%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
 
/* --------------------------------------------------------------------------
   4. Header / Footer / Offcanvas
   -------------------------------------------------------------------------- */
 
.cs-offcanvas .cs-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 30px;
}
 
/* --- Header : bouton personnalisé transformé en icône enveloppe --- */
.cs-header__custom-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  margin-left: 0.5rem !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--cs-color-primary) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transition: 0.25s;
}
 
.cs-header__custom-button::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 2v.5l-8 5-8-5V6h16ZM4 18V8.9l8 5 8-5V18H4Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 2v.5l-8 5-8-5V6h16ZM4 18V8.9l8 5 8-5V18H4Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
 
.cs-header__custom-button:hover {
  background: var(--cs-layout-background) !important;
  color: var(--cs-color-primary) !important;
}
 
/* Header en overlay au-dessus de l'image : icône blanche, comme la lune et la loupe */
.cs-display-header-overlay
  .cs-site-inner:has(.cs-header:not(:hover, .cs-scroll-sticky))
  .cs-header__custom-button {
  color: var(--cs-dark-primary-color) !important;
}
 
/* --- GTranslate : widget masqué --- */
.gtranslate_wrapper {
  display: none !important;
}
 
 
/* --------------------------------------------------------------------------
   5. Formulaires
   -------------------------------------------------------------------------- */
 
.mailerlite-form .mailerlite-subscribe-button-container {
	text-align: left;
}
 
@media screen and (min-width: 900px) {
	#wpcf7-f7-p20619-o1,
	#wpcf7-f25894-p24829-o1 {
		width: 800px;
		text-align: center;
	}
}
 
#wpadminbar #wp-admin-bar-site-name img.site-icon{width:20px;height:20px}


.cs-page__archive-description,
.cs-page__archive-description p {
	text-align: justify;
	hyphens: auto;
}


/* Off-canvas : icône enveloppe groupée avec le sélecteur clair/sombre */
.cs-offcanvas__bottombar {
	justify-content: flex-start;
	gap: 8px;
}

.cs-offcanvas__bottombar .cs-social {
	margin-right: auto;
}

.cs-offcanvas__mail {
	display: inline-flex;
	align-items: center;
	color: inherit;
}

.cs-offcanvas__mail:hover {
	opacity: .7;
}

@media (min-width: 1024px) {
	.cs-sidebar__inner { position: static; }

	.cs-sidebar__inner .widget.is-sticky {
		position: sticky;
		top: 100px;
	}
}

/* Categorie de l'en-tete d'article : meme rendu que le hero de la page d'accueil. */
.cs-entry__header-overlay .cs-overlay-content .cs-entry__post-meta .post-categories a {
	background: rgba(255, 255, 255, 0.2);
	color: var(--cs-color-primary);
}

.cs-entry__header-overlay .cs-overlay-content .cs-entry__post-meta .post-categories a:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* Bloc « À lire aussi » inséré dans le contenu. */
.entry-content .csco-child-related {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 2.5rem 0;
	padding: 1rem 0 1rem 1.25rem;
	border-left: 2px solid var(--cs-color-border, currentColor);
}

.entry-content .csco-child-related__label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.65;
}

.entry-content .csco-child-related__link {
	font-weight: 600;
	font-size: 1.125rem;
	line-height: 1.35;
	text-decoration: none;
}

.entry-content .csco-child-related__link:hover {
	text-decoration: underline;
}


/* ==========================================================================
   « Articles connectés » (module Supercharger ai-recommendations)
   Aligné sur le rendu du bloc Read Next du thème Swyft.
   ========================================================================== */

.ai-recommendations.ai-recommendations {
	background: none;
	border: 0;
	border-radius: 0;
}

.ai-recommendations .ai-recommendations__inner {
	padding: 0;
}

.ai-recommendations .ai-recommendations__heading {
	margin: 0 0 32px;
	text-align: left;
	font-size: 2.5rem;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.ai-recommendations .ai-recommendations__list {
	display: block;
}

.ai-recommendations .ai-recommendations__item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 32px;
	row-gap: 16px;
	align-items: stretch;
	margin-bottom: 48px;
}

.ai-recommendations .ai-recommendations__item:last-child {
	margin-bottom: 0;
}

.ai-recommendations .ai-recommendations__thumbnail {
	display: block;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.ai-recommendations .ai-recommendations__thumbnail img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* La vignette s'étire à la hauteur de la ligne, comme Read Next (16/9 = hauteur minimale) */
.ai-recommendations .ai-recommendations__thumbnail {
	position: relative;
}

.ai-recommendations .ai-recommendations__thumbnail::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

.ai-recommendations .ai-recommendations__thumbnail img {
	position: absolute;
	inset: 0;
	height: 100%;
	aspect-ratio: auto;
}

.ai-recommendations .ai-recommendations__title {
	margin: 14px 0 0;
	text-align: left;
	font-size: 2.5rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ai-recommendations .ai-recommendations__link {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 991px) {

	.ai-recommendations .ai-recommendations__heading,
	.ai-recommendations .ai-recommendations__title {
		font-size: 1.75rem;
	}
}

@media (max-width: 767px) {

	.ai-recommendations .ai-recommendations__item {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {

	.ai-recommendations .ai-recommendations__heading,
	.ai-recommendations .ai-recommendations__title {
		font-size: 1.5rem;
	}
}

/* Temps de lecture dans le bloc "A lire aussi" */
.entry-content .csco-child-related__meta {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	opacity: 0.6;
}

/* Recommandations integrees Supercharger : meme traitement que "A lire aussi" */
.entry-content .ai-inline-recommendations,
.ai-inline-recommendations {
	margin: 2.5rem 0;
	padding: 1rem 0 1rem 1.25rem;
	background: none;
	border: 0;
	border-left: 2px solid var(--cs-color-border, currentColor);
	border-radius: 0;
	box-shadow: none;
}

.ai-inline-recommendations__inner {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.ai-inline-recommendations__inner::before {
	content: "À lire aussi";
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.65;
}

.ai-inline-recommendations__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.ai-inline-recommendations__item {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.ai-inline-recommendations__link {
	text-decoration: none;
}

.ai-inline-recommendations__link:hover .ai-inline-recommendations__title {
	text-decoration: underline;
}

.ai-inline-recommendations__title {
	margin: 0;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: inherit;
	text-align: left;
}

.ai-inline-recommendations .supercharger-post-meta {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	opacity: 0.6;
}

/* Alignement strict du bloc Supercharger sur "A lire aussi" */
.entry-content .ai-inline-recommendations.ai-inline-recommendations {
	/* Marges laterales laissees au theme (colonne centree), comme .csco-child-related */
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	padding: 1rem 0 1rem 1.25rem;
	background: none;
	border: 0;
	border-left: 2px solid var(--cs-color-border, currentColor);
	border-radius: 0;
	box-shadow: none;
}

.entry-content .ai-inline-recommendations.ai-inline-recommendations .ai-inline-recommendations__inner {
	display: block;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

.entry-content .ai-inline-recommendations.ai-inline-recommendations .ai-inline-recommendations__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.entry-content .ai-inline-recommendations.ai-inline-recommendations .ai-inline-recommendations__item,
.entry-content .ai-inline-recommendations.ai-inline-recommendations .ai-inline-recommendations__link {
	display: block;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.entry-content .ai-inline-recommendations.ai-inline-recommendations .ai-inline-recommendations__content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.entry-content .ai-inline-recommendations.ai-inline-recommendations .ai-inline-recommendations__title {
	margin: 0;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--cs-color-secondary, currentColor);
	text-align: left;
}

.entry-content .ai-inline-recommendations.ai-inline-recommendations .supercharger-post-meta {
	margin: 0;
	gap: 0;
	font-size: 0.75rem;
	opacity: 0.6;
}


/* Footer : barre du bas (trait + 40px de marges) masquee quand le Copyright du Customizer est vide.
   Swyft affiche toujours ce conteneur, seul le texte est conditionnel. Reapparait si un copyright est saisi. */
.cs-footer__item-bottom-bar:not(:has(.cs-footer__copyright)) {
	display: none;
}


/* Dates d'exposition ------------------------------------------------------ */

.cs-meta-expo-dates {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.cs-meta-expo-dates__badge {
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 1px 8px;
	border: 1px solid var(--cs-color-border);
	border-radius: 999px;
}

.cs-meta-expo-dates.is-ongoing .cs-meta-expo-dates__badge {
	color: var(--cs-color-secondary);
	border-color: currentColor;
}

.cs-meta-expo-dates.is-past .cs-meta-expo-dates__badge {
	opacity: 0.55;
}

/* ==========================================================================
   Complianz – bandeau de consentement
   Suit le mode clair/sombre du thème (variables --cs-*) ; boutons Accepter
   et Refuser strictement identiques (exigence CNIL : refus aussi visible).
   ========================================================================== */
.cmplz-cookiebanner.cmplz-cookiebanner {
	--cmplz_banner_background_color: var(--cs-layout-background);
	--cmplz_banner_border_color: var(--cs-color-border);
	--cmplz_banner_border_width: 1px 1px 1px 1px;
	--cmplz_banner_border_radius: 8px 8px 8px 8px;
	--cmplz_text_color: var(--cs-color-primary);
	--cmplz_hyperlink_color: var(--cs-color-primary);
	--cmplz_button_border_radius: 4px 4px 4px 4px;
	--cmplz_button_accept_background_color: var(--cs-color-button);
	--cmplz_button_accept_border_color: var(--cs-color-button);
	--cmplz_button_accept_text_color: var(--cs-color-button-contrast);
	--cmplz_button_deny_background_color: var(--cs-color-button);
	--cmplz_button_deny_border_color: var(--cs-color-button);
	--cmplz_button_deny_text_color: var(--cs-color-button-contrast);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: var(--cs-color-border);
	--cmplz_button_settings_text_color: var(--cs-color-primary);
	--cmplz_slider_active_color: var(--cs-color-primary);
	--cmplz_slider_inactive_color: var(--cs-color-border);
	--cmplz_slider_bullet_color: var(--cs-layout-background);
	font-family: "Manrope", sans-serif;
}

.cmplz-cookiebanner.cmplz-cookiebanner * {
	font-family: inherit;
}

@media (max-width: 575px) {
	.cmplz-cookiebanner.cmplz-cookiebanner {
		--cmplz_text_font_size: 13px;
		--cmplz_button_font_size: 14px;
		padding: 16px;
		gap: 10px;
	}
}

/* ==========================================================================
   Pages légales (confidentialité #3, mentions légales #20585)
   Même typographie que la politique de cookies générée par Complianz.
   ========================================================================== */
:is(.page-id-3, .page-id-20585) .entry-content :is(p, li),
#cmplz-document :is(p, li) {
	font-size: 12px;
	line-height: 1.7;
	letter-spacing: -0.18px;
}

:is(.page-id-3, .page-id-20585) .entry-content p,
#cmplz-document p {
	margin: 0 0 16px;
}

:is(.page-id-3, .page-id-20585) .entry-content :is(ul, ol),
#cmplz-document :is(ul, ol) {
	margin: 0 0 15px;
}

:is(.page-id-3, .page-id-20585) .entry-content :is(h2, h3),
#cmplz-document :is(h2, h3) {
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.66px;
	text-align: left;
	margin: 15px 0 10px;
}

/* Pas de lettrine sur ces pages */
:is(.page-id-3, .page-id-20585) .entry-content > p:first-child:first-of-type::first-letter,
#cmplz-document > p:first-child:first-of-type::first-letter {
	float: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------
 * Page 404
 * ------------------------------------------------------------------ */
.csco-child-404 { max-width: 1056px; margin: 0 auto; padding: 1rem 0 4rem; }
.csco-child-404__hero { text-align: center; padding: 1rem 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--cs-color-border); }
.csco-child-404__number { margin: 0; font-family: var(--cs-font-headings-family); font-weight: 600; font-size: clamp(7rem, 22vw, 14rem); line-height: 1; letter-spacing: -0.04em; opacity: .1; user-select: none; }
.csco-child-404__heading { position: relative; margin: -0.35em 0 1rem; font-family: var(--cs-font-headings-family); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.csco-child-404__lead { max-width: 34rem; margin: 0 auto 2rem; font-size: 1.125rem; line-height: 1.7; }
.csco-child-404__invite { margin: 0 0 1rem; font-family: var(--cs-font-headings-family); font-style: italic; font-size: 1.25rem; opacity: .7; }
.csco-child-404__cats { justify-content: center; }
.csco-child-404__cats .post-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.csco-child-404__back { margin: 3.5rem 0 0; text-align: center; }

/* Fiche « En bref » en fin d'article (filtre csco_child_fiche_en_bref) */
.entry-content .csco-child-fiche { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--cs-color-border); text-align: left; }
.entry-content .csco-child-fiche h2 { font-size: 1.75rem; margin: 0 0 1rem; text-align: left; }
.entry-content .csco-child-fiche ul { list-style: none; margin: 0; padding: 0; font-size: 1rem; line-height: 1.55; text-align: left; hyphens: none; }
.entry-content .csco-child-fiche li { margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--cs-color-border); }
.entry-content .csco-child-fiche li::before, .entry-content .csco-child-fiche li::marker { content: none; }
.entry-content .csco-child-fiche li strong { font-weight: 700; }
.entry-content .csco-child-fiche__credits { margin: 1rem 0 0; font-size: .875rem; text-align: left; opacity: .75; }


/* Temps de lecture : icone horloge + "X min" */
.cs-meta-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}
.cs-meta-reading-time__icon {
	flex-shrink: 0;
}

/* Badge expo : date et icône masquées hors en-tête d'article */
.cs-meta-expo-dates:not(.cs-entry__header .cs-meta-expo-dates) .cs-meta-expo-dates__text,
.cs-meta-expo-dates:not(.cs-entry__header .cs-meta-expo-dates) .cs-meta-icon {
	display: none;
}

/* En-tête d'article : badge masqué pour une expo en cours (la date suffit) */
.cs-entry__header .cs-meta-expo-dates.is-ongoing .cs-meta-expo-dates__badge {
	display: none;
}


   /* ===== Repris du CSS additionnel (30/09/2026) ===== */

.widget_media_image img {
  border-radius: 8px;
  height: auto;
}

/* titre sous l'image — meme typo que le H1 d'article (--cs-font-post-title-*) */
.widget_media_image {
  display: flex;
  flex-direction: column;
  --cs-entry-title-font-size: 2.5rem;
}
@media (max-width: 1199.98px) { .widget_media_image { --cs-entry-title-font-size: 2rem; } }
@media (max-width: 991.98px)  { .widget_media_image { --cs-entry-title-font-size: 1.75rem; } }
@media (max-width: 575.98px)  { .widget_media_image { --cs-entry-title-font-size: 1.5rem; } }
/* ligne de contexte (legende) entre l'image et le titre — calee sur .cs-meta-date */
.widget_media_image .wp-caption { width: auto !important; max-width: 100%; margin: 0; }
.widget_media_image .wp-caption-text {
  margin: 12px 0 0;
  color: var(--cs-color-secondary);
  font-family: var(--cs-font-post-meta-family), sans-serif;
  font-size: var(--cs-font-post-meta-size);
  font-weight: var(--cs-font-post-meta-weight);
  font-style: var(--cs-font-post-meta-style);
  letter-spacing: var(--cs-font-post-meta-letter-spacing);
  text-transform: var(--cs-font-post-meta-text-transform);
  line-height: 1.2;
  text-align: left;
}
@media (max-width: 1199.98px) {
  .widget_media_image .wp-caption-text { font-size: 0.875rem; }
}

.widget_media_image .widgettitle a { color: inherit; text-decoration: none; }
.widget_media_image .widgettitle a:hover { color: var(--cs-color-entry-title-hover); }
.widget_media_image .widgettitle {
  order: 2;
  margin: 16px 0 0;
  font-family: var(--cs-font-entry-title-family), sans-serif;
  font-size: var(--cs-entry-title-font-size, 1.5rem);
  font-weight: var(--cs-font-entry-title-weight);
  line-height: var(--cs-font-entry-title-line-height);
  letter-spacing: var(--cs-font-entry-title-letter-spacing);
  overflow-wrap: break-word;
}


.cs-footer__logo img {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.cs-custom-content-author-after {
	margin-top: 3.5rem;
}

/* Footer — menu sur une ligne, décalé vers la droite */
@media (min-width: 1020px) {
  .cs-footer__item-top-bar .cs-footer__item-inner {
    grid-template-columns: 1.4fr auto 1fr;
  }
  .cs-footer__item-top-bar .cs-footer__nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    column-gap: 24px;
  }
}

/* Titre de l'article Kei Meguro (25257) : meme style que les titres du module read next */
.postid-25257 .cs-entry__header .cs-entry__title {
  font-family: var(--cs-font-entry-title-family), sans-serif;
  font-weight: var(--cs-font-entry-title-weight);
  line-height: var(--cs-font-entry-title-line-height);
  letter-spacing: var(--cs-font-entry-title-letter-spacing);
  font-size: var(--cs-entry-title-font-size, 1.5rem);
}

/* Titre sur page category*/
@media (min-width: 1024px) {
  .cs-page__title {
    display: none !important;
  }
}

/* Read Next : extrait affiche uniquement a partir du large desktop (> 1440px : masque aussi en 1440 x 960) */
@media (max-width: 1440px) {
  .cs-read-next .cs-entry__excerpt { display: none; }
}

/* Articles connectes (Supercharger) : pleine largeur en alignwide, alignes sur Read Next.
   Le wrapper .alignwide contraint deja la largeur ; un --sc-rec-max-width explicite plafonne toujours. */
.supercharger-module.ai-recommendations--structure.alignwide .ai-recommendations__header,
.supercharger-module.ai-recommendations--structure.alignwide .ai-recommendations__grid,
.supercharger-module.ai-recommendations--structure.alignwide .ai-recommendations__list {
  max-width: var(--sc-rec-max-width, 100%);
}

/* Articles connectes (Supercharger) : extrait des cartes aligne sur .cs-entry__excerpt du theme (Read Next) */
.supercharger-module.ai-recommendations .ai-recommendations__excerpt {
  font-size: var(--cs-font-entry-excerpt-size);
  line-height: var(--cs-font-entry-excerpt-line-height);
  color: var(--cs-color-excerpt, var(--cs-color-secondary));
  text-align: left;
  /* 14px sous le titre comme le theme : l ecart flex du parent est deduit */
  margin-top: calc(0.875rem - var(--sc-rec-content-gap, var(--supercharger-spacing-sm, 0.25rem)));
}
@media (max-width: 767.98px) {
  .supercharger-module.ai-recommendations .ai-recommendations__excerpt {
    font-size: 1rem;
    margin-top: calc(0.5rem - var(--sc-rec-content-gap, var(--supercharger-spacing-sm, 0.25rem)));
  }
}

/* Hero : masquer le badge « À venir » des dates d'expo (2026-09-14) */
.cs-home-hero .cs-meta-expo-dates.is-upcoming .cs-meta-expo-dates__badge { display: none; }

.supercharger-module.ai-key-moments .ai-key-moments__number { color: var(--supercharger-widget-bg); }

/* À lire aussi : icône horloge + "X min" au lieu de "X min de lecture" (2026-09-25) */
.entry-content .ai-inline-recommendations.ai-inline-recommendations .supercharger-post-meta__item {
  gap: .35em;
  align-items: center;
}
.entry-content .ai-inline-recommendations.ai-inline-recommendations .supercharger-post-meta__icon {
  display: inline-flex;
}
.entry-content .ai-inline-recommendations.ai-inline-recommendations .supercharger-post-meta__item--reading-time .supercharger-post-meta__value::after {
  content: none;
}

/* Dates d'exposition sur les widgets Image (2026-09-25) : entre l'image et le titre */
.widget_media_image .cs-meta-expo-dates {
	order: 1;
	margin-top: 12px;
	font-family: Manrope, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.single .cs-entry__header-content{display:flex;flex-direction:column}
.single .cs-entry__header-content>.cs-entry__post-meta:first-child{order:3;margin-top:24px}
.single .cs-entry__header-content>.cs-entry__post-meta:last-child{order:0;margin-top:0}
.single .cs-entry__header-content>.cs-entry__title{order:1}
.single .cs-entry__header-content>.cs-entry__subtitle{order:2}

/* Hero : inverser les deux lignes d'infos */
.cs-hero-type-1__item .cs-entry__content {
  display: flex;
  flex-direction: column;
}
.cs-hero-type-1__item .cs-entry__content > .cs-entry__post-meta:first-child {
  order: 3;          /* auteur + date → en bas */
  margin-top: 32px;
}
.cs-hero-type-1__item .cs-entry__content > .cs-entry__post-meta:last-child {
  order: -1;         /* tag + dates expo → en haut */
  margin-top: 0;
}

/* Latest Posts (timeline accueil) : catégorie en haut, à gauche du badge expo */
.cs-posts-area__home.cs-posts-area__timeline .cs-entry__content {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
}
.cs-posts-area__home.cs-posts-area__timeline .cs-entry__content > .cs-entry__title,
.cs-posts-area__home.cs-posts-area__timeline .cs-entry__content > .cs-entry__excerpt {
	flex-basis: 100%;
}
.cs-posts-area__home.cs-posts-area__timeline .cs-entry__content > .cs-entry__post-meta:last-child {
	order: -1;
	margin-top: 0;
}


/* ===== Off-canvas (menu mobile) : direction « éditorial » — 2026-10-03 ===== */
.cs-offcanvas .menu {
	counter-reset: oc-item;
	margin: 0;
	padding: 0;
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.cs-offcanvas .menu > li {
	counter-increment: oc-item;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .45s ease, transform .45s ease;
}
.cs-offcanvas .menu > li > a {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 1.1rem 0;
	font-family: "Playfair Display", serif;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.1;
	text-transform: none;
	letter-spacing: -.01em;
	transition: padding-left .3s ease, opacity .3s ease;
}
.cs-offcanvas .menu > li > a::before {
	content: counter(oc-item, decimal-leading-zero);
	font-family: Manrope, sans-serif;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	opacity: .45;
	min-width: 1.5rem;
}
.cs-offcanvas .menu > li > a::after {
	content: "→";
	margin-left: auto;
	font-family: Manrope, sans-serif;
	font-size: 1.25rem;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity .3s ease, transform .3s ease;
}
.cs-offcanvas .menu > li > a:hover,
.cs-offcanvas .menu > li.current-menu-item > a,
.cs-offcanvas .menu > li.current-category-ancestor > a { padding-left: .5rem; }
.cs-offcanvas .menu > li > a:hover::after,
.cs-offcanvas .menu > li.current-menu-item > a::after,
.cs-offcanvas .menu > li.current-category-ancestor > a::after { opacity: 1; transform: none; }
.cs-offcanvas .menu:hover > li > a { opacity: .5; }
.cs-offcanvas .menu:hover > li > a:hover { opacity: 1; }

/* Apparition en cascade à l'ouverture */
.cs-offcanvas-active .cs-offcanvas .menu > li { opacity: 1; transform: none; }
.cs-offcanvas-active .cs-offcanvas .menu > li:nth-child(1) { transition-delay: .10s; }
.cs-offcanvas-active .cs-offcanvas .menu > li:nth-child(2) { transition-delay: .15s; }
.cs-offcanvas-active .cs-offcanvas .menu > li:nth-child(3) { transition-delay: .20s; }
.cs-offcanvas-active .cs-offcanvas .menu > li:nth-child(4) { transition-delay: .25s; }
.cs-offcanvas-active .cs-offcanvas .menu > li:nth-child(5) { transition-delay: .30s; }
.cs-offcanvas-active .cs-offcanvas .menu > li:nth-child(n+6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
	.cs-offcanvas .menu > li { opacity: 1; transform: none; transition: none; }
}

/* Newsletter en encart */
.cs-offcanvas .widget_mailerlite_widget {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border-radius: 12px;
	background: color-mix(in srgb, currentColor 6%, transparent);
}
.cs-offcanvas .mailerlite-form-description p {
	margin: 0 0 1rem;
	font-family: "Playfair Display", serif;
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.25;
}
.cs-offcanvas .mailerlite-form-description p::before {
	content: "Newsletter";
	display: block;
	margin-bottom: .5rem;
	font-family: Manrope, sans-serif;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .5;
}
.cs-offcanvas .mailerlite-form-inputs {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .5rem;
	align-items: center;
}
.cs-offcanvas .mailerlite-form-field,
.cs-offcanvas .mailerlite-subscribe-button-container { margin: 0; }
.cs-offcanvas .mailerlite-form-field label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.cs-offcanvas .mailerlite-form input[type="email"] {
	width: 100%;
	height: 48px;
	border-radius: 999px;
	padding: 0 1.25rem;
}
.cs-offcanvas .mailerlite-subscribe-submit {
	height: 48px;
	padding: 0 1.25rem;
	border-radius: 999px;
	background: var(--cs-color-primary);
	color: var(--cs-color-primary-contrast);
	font-weight: 700;
	white-space: nowrap;
}

.cs-offcanvas__inner { padding-top: 1.5rem; }

@media (max-width: 575px) {
	.cs-offcanvas .menu > li > a { font-size: 1.75rem; padding: .85rem 0; }
	.cs-offcanvas .widget_mailerlite_widget { margin-top: 1.5rem; padding: 1.25rem; }
}

/* Barre du bas */
.cs-offcanvas__bottombar {
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.cs-offcanvas__bottombar .cs-social__link { opacity: .7; transition: opacity .2s; }
.cs-offcanvas__bottombar .cs-social__link:hover { opacity: 1; }

/* Sidebar : carte newsletter, même style que l'off-canvas */
.cs-sidebar__area .widget_mailerlite_widget {
	padding: 1.5rem;
	border-radius: 12px;
	background: color-mix(in srgb, currentColor 6%, transparent);
}
.cs-sidebar__area .mailerlite-form-description p {
	margin: 0 0 1rem;
	font-family: "Playfair Display", serif;
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.25;
}
.cs-sidebar__area .mailerlite-form-description p::before {
	content: "Newsletter";
	display: block;
	margin-bottom: .5rem;
	font-family: Manrope, sans-serif;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .5;
}
.cs-sidebar__area .mailerlite-form-inputs {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .5rem;
	align-items: center;
}
.cs-sidebar__area .mailerlite-form-field,
.cs-sidebar__area .mailerlite-subscribe-button-container { margin: 0; }
.cs-sidebar__area .mailerlite-form-field label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.cs-sidebar__area .mailerlite-form input[type="email"] {
	width: 100%;
	height: 48px;
	border-radius: 999px;
	padding: 0 1.25rem;
}
.cs-sidebar__area .mailerlite-subscribe-submit {
	height: 48px;
	padding: 0 1.25rem;
	border-radius: 999px;
	background: var(--cs-color-primary);
	color: var(--cs-color-primary-contrast);
	font-weight: 700;
	white-space: nowrap;
}