/*
	Theme Name: Alexandre Dumas
	Description: Thème développé pour l'affichage des sélections de Vive la culture !
	Author: SAS Yellowpoly
	Author URI: https://www.yellowpoly.com
	Version: 1.2.0
	License: SAS Yellowpoly - All Rights reserved
	License URI: https://www.yellowpoly.com
	Template: hello-elementor
*/

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hidden {
	display: none;
}
.swiper-slide {
	display: flex !important;
	padding: 35px !important;
}

/* CORRECTIONS */
.elementor-element-e6eb68d,
.elementor-element-dcc9b41,
.elementor-element-224f6f0 {
	/* display: none; */
}
.page .date_parution {
	display: none;
}

/* COULEURS */

.Inv {
	background: #d71e22;
}
.Lit {
	background: #377ECC;
}
.Mus {
	background: #FFE55E;
}
.Cin {
	background: #9EB3FF;
}
.Exp {
	background: #959E5B;
}
.Gal {
	background: #222;
}

/* HEADER */
.Head h6 {
	color: black;
	margin: 0;
	padding: 4px;
	font-weight: 600;
	text-align: center;
}


/* HOME */

.LaUne {
	height: 500px;
	background-size:cover;
	background-position:center center;
}
.LaUne .Texte {
	padding: 12px 32px;
	text-align: justify;
	height: 100%;
	overflow: auto;
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}
.LaUne .Texte p,
.LaUne .Texte a {
	line-height: 24px;
	color: white;
}
.LaUne .Texte h2 {
	position: relative;
	font-size: 3em;
	font-weight: 500;
	display: block;
	margin: 0;
	padding: 8px 0;
	color: white;
}
.LaUne .Texte h3 {
	font-size: 1.5em;
	color: white;
}
.LaUne .Texte .badge {
	display: none;
}

.home_side li {
	display: flex;
	flex-direction: column;
	margin-bottom: 15px;
}
.home_side li .inter {
	display: flex;
	flex-direction: column;
	position: relative;
}
.home_side .picto {
	height: 115px;
	width: 100%;
}
.home_side .fond {
	position: absolute;
    width: 100%;
    height: 115px;
	align-items: center;
	display: flex;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.home_side .fond:hover,
.Screen .Vertical_feat .lastWeek .fond:hover,
.NewScreen .brothers-carousel .fond:hover,
.bloc_oeuvre .brothers-carousel .fond:hover {
	animation: fadeIn 0.5s forwards;
}
.home_side .fond:not(:hover),
.Screen .Vertical_feat .lastWeek .fond .fond:not(:hover),
.NewScreen .brothers-carousel .fond:not(:hover),
.bloc_oeuvre .brothers-carousel .fond:not(:hover) {
	animation: fadeOut 0.5s forwards;
}
@keyframes fadeIn {
    from { opacity: 0.3; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0.3; }
}
.home_side h2 {
	text-align: center;
	width: 100%;
	text-transform: uppercase;
	font-weight: 200;
	color: white;
}
.home_side .Texte h6 {
	margin-bottom: 0;
	margin-top: 4px;
	color: white;
}
.home_side .Texte p {
	font-size: 0.8em;
	color: #FFF;
	margin-bottom: 0;
}
.Last_Parcours {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
	width: 100%;
	padding: 0;
}
.Last_Parcours .Parcours {
	width: 100%;
	padding: 0 15px 0;
}
.Last_Parcours .Parcours .Visuel {
	height: 280px;
	background-position: center center;
	background-size:cover;
	position: relative;
}
.Last_Parcours .Parcours a {
	text-decoration: none;
	text-align: justify;
}
.Last_Parcours .Parcours .Texte {
	padding: 5px 5px 5px 15px;
	position: absolute;
	top: 226px;
	width: 100%;
	max-width: 100%;
}
.Last_Parcours .Parcours h2 {
	text-transform: uppercase;
	margin: 0;
	font-weight: 600;
	width: 100%;
	max-width: 100%;
	font-size: 1.15rem;
	color: white;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
}
.Last_Parcours .Parcours p {
	font-size: 0.9em;
	margin-top: 12px;
}
.Last_Parcours .Parcours span {
	font-size: 0.9em;
	margin-top: 15px;
	color: white;
}

.Last_Parcours {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* ajustez selon vos besoins */
}

/* Entre 768px et 1000px : 2 éléments */
@media (max-width: 1000px) {
    .Last_Parcours {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Cache le 3ème élément */
    .Last_Parcours .Parcours:nth-child(3) {
        display: none;
    }
}

/* CATEGORIES */

.Category_list {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.categorie_listing li {
	width: calc(33.333% - 20px);
}
.categorie_listing li .Visuel {
	height: 188px;
	background-size: cover;
	background-position: center center;
}
.categorie_listing li .Texte {
	padding: 5px;
	position: relative;
	top: 138px;
}
.categorie_listing li:nth-child(4),
.categorie_listing li:nth-child(13),
.categorie_listing li:nth-child(20),
.categorie_listing li:nth-child(29),
.categorie_listing li:nth-child(42) {
	width: calc(66.666% - 20px);
}
.categorie_listing li:nth-child(4) .Visuel,
.categorie_listing li:nth-child(13) .Visuel,
.categorie_listing li:nth-child(20) .Visuel,
.categorie_listing li:nth-child(29) .Visuel,
.categorie_listing li:nth-child(42) .Visuel,
.categorie_listing li:nth-child(5) .Visuel,
.categorie_listing li:nth-child(12) .Visuel,
.categorie_listing li:nth-child(28) .Visuel,
.categorie_listing li:nth-child(43) .Visuel,
.categorie_listing li:nth-child(21) .Visuel {
	height: 346px;
}
.categorie_listing li:nth-child(4) .Texte,
.categorie_listing li:nth-child(13) .Texte,
.categorie_listing li:nth-child(20) .Texte,
.categorie_listing li:nth-child(29) .Texte,
.categorie_listing li:nth-child(42) .Texte,
.categorie_listing li:nth-child(5) .Texte,
.categorie_listing li:nth-child(12) .Texte,
.categorie_listing li:nth-child(28) .Texte,
.categorie_listing li:nth-child(43) .Texte,
.categorie_listing li:nth-child(21) .Texte {
	top: 296px;
}

.categorie_listing li h2 {
	text-transform: uppercase;
	margin: 0;
	font-weight: 600;
	width: 100%;
	font-size: 0.85rem;
	color: white;
}
.categorie_listing li span {
	font-size: 0.75em;
	margin-top: 10px;
	color: white;
}
.categorie_listing li p {
	font-size: 0.8em;
	margin-top: 10px;
	line-height: 1.1em;
}


/* PAGE PARCOURS */

.Screen {
	width: 100%;
	height: 500px;
	display: flex;
	gap: 10px;
	align-items: center;
	position: relative;
	margin: 15px 0;
	/* overflow: hidden; */
}
.Screen .navigation-left,
.Screen .navigation-right {
	cursor: pointer;
}
.Screen .navigation-left {
	right: 10px;
    position: relative;
	display: none;
}
.Screen .navigation-right {
	left: 10px;
    position: relative;
}
.Screen .Home_Img {
	width: 75%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.Screen .Features {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.Screen .Vertical_feat {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 25%;
	height: 100%;
}
.NewScreen .swiper-wrapper {
	align-items: center;
}
.NewScreen .brothers-section h5,
.Principal .brothers-section h5 {
	color: white;
	font-size: 1rem;
}

.NewScreen .brothers-carousel,
.bloc_oeuvre .brothers-carousel,
.Principal .brothers-carousel {
	display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.NewScreen .brothers-carousel::-webkit-scrollbar,
.bloc_oeuvre .brothers-carousel::-webkit-scrollbar,
.Principal .brothers-carousel::-webkit-scrollbar {
    display: none;
}

/* Chaque slide */
.NewScreen .brother-slide,
.bloc_oeuvre .brother-slide,
.Principal .brother-slide {
    flex: 0 0 95%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.Screen .Vertical_feat .lastWeek {
	display: flex;
    flex-direction: column;
    margin-bottom: 15px;
	width: 95%;
}
.Screen .Vertical_feat .lastWeek h2,
.NewScreen .brothers-carousel h2,
.Principal .brothers-carousel h2,
.bloc_oeuvre .brothers-carousel h2 {
	text-align: center;
    width: 100%;
    text-transform: uppercase;
    font-weight: 200;
}
.Screen .Vertical_feat .lastWeek h6,
.NewScreen .brothers-carousel h6,
.Principal .brothers-carousel h6,
.bloc_oeuvre .brothers-carousel h6 {
	margin-bottom: 0;
    margin-top: 4px;
	text-align: left;
	line-height: 20px;
}
.NewScreen .brothers-carousel h6 {
	color: white;
}
.NewScreen .carousel-dots,
.Principal .carousel-dots,
..bloc_oeuvre .carousel-dots {
	margin: 0 !important;
}
.Screen .Vertical_feat .lastWeek p,
.Principal .Vertical_feat .lastWeek p,
.NewScreen .brothers-carousel p,
.bloc_oeuvre .brothers-carousel p {
	font-size: 0.8em;
    margin-bottom: 0;
	text-align: left;
}
.Screen .Vertical_feat .lastWeek .picto,
.NewScreen .brothers-carousel .picto,
.Principal .brothers-carousel .picto,
.bloc_oeuvre .brothers-carousel .picto {
	height: 115px;
    width: 100%;
}
.Screen .Vertical_feat .lastWeek .inter,
.NewScreen .brothers-carousel .inter,
.Principal .brothers-carousel .inter,
.bloc_oeuvre .brothers-carousel .inter {
	display: flex;
    flex-direction: column;
    position: relative;
}
.bloc_oeuvre .brothers-carousel .inter {
	width: 33.3333%;
	flex: auto;
	max-width: 220px;
}
.Principal .brothers-carousel .inter {
	width: 50%;
	max-width: 220px;
}
.Screen .Vertical_feat .lastWeek .fond,
.NewScreen .brothers-carousel .fond,
.Principal .brothers-carousel .fond,
.bloc_oeuvre .brothers-carousel .fond {
	position: absolute;
    width: 100%;
    height: 115px;
    align-items: center;
    display: flex;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
	top: 0;
}
.bloc_oeuvre .Autres {
	margin-top: 25px;
}
.Screen .Vertical_feat .sharing {
	text-align: center;
	display: inline-flex;
    justify-content: space-around;
	align-items: center;
}
.Screen .Vertical_feat .sharing h6 {
	margin: 0px 10px 8px 0;
    padding: 0;
	color: #191970;
}
.Screen .Vertical_feat .sharing a {
	margin: 0px 10px;
}
.Screen .Features h4 {
	font-size: 2em;
	margin: 0 0 12px 0;
}
.Screen .Features a {
	font-size: 1em;
	font-weight: 600;
}
.Screen .Features .Deezer {
	margin-bottom: 1em;
}
.Screen .Features .social-share {
    display: flex;
    gap: 10px;
	width: 100%;
    justify-content: space-evenly;
}

.Screen .Features .social-share a {
    display: inline-block;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

/* News Screen */
.NewScreen {
	position: absolute;
	top: 50%;
	left: 0.5%;
	width: 98.5%;
	min-height: 500px;
	display: none;
	background: #191970EE;
	transform: translateY(-50%);
	overflow: hidden;
	border-radius: 12px;
	z-index: 100;
	transition: opacity 0.3s ease;
	border: 2px solid white;
}
.NewScreen.fade-out {
    opacity: 0;
}

/* Bouton de fermeture */
.close-newscreen {
    position: absolute;
    top: -10px;
    right: -18px;
    width: 66px;
    height: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    transition: all 0.3s ease;
}

.close-newscreen:hover,
.close-newscreen:focus {
    transform: rotate(90deg);
	background-color: transparent;
}

.close-newscreen svg {
	width: 50px;
    height: 50px;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* .close-newscreen:hover svg {
    color: #000000;
} */

/* Style focus pour l'accessibilité */
.close-newscreen:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
.NewScreen .Visuel {
	width: 25%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}
.NewScreen .Autres {
	width: 25%;
	color: white;
	display: flex;
	gap: 15px;
	flex-direction: column;
	padding: 25px;
	overflow: auto;
	justify-content: center;
}
.NewScreen .Autres a {
	color: white;
	font-weight: 300;
	display: flex;
    align-items: center;
}
.NewScreen .Autres li {
	height: 40px;
    display: flex;
    cursor: pointer;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-evenly;
	align-items: center;
}
.NewScreen .Autres li.lireVideo {
	flex-direction: row;
	justify-content: flex-start;
	/* align-items: center; */
	margin-top: 8px;
}
.NewScreen .Autres li.brothers {
	flex-direction: column;
}
.NewScreen .Autres li.brothers h6 {
	background-size: cover;
	height: 120px;
	display: flex;
    align-items: center;
    justify-content: center;
	color: white;
	text-shadow: 0 0 2px black;
	flex-direction: column;
}
.NewScreen .Autres li.brothers h6 p {
	text-transform: uppercase;
}
.NewScreen .Autres hr {
	margin: 15px 0;
}
.NewScreen .Autres .favori .bookmark .voir {
	font-size: 16px;
	margin-left: 3px;
	font-weight: 600;
}
.loading-affiliate {
    font-style: italic;
    color: #888;
}

.loading-affiliate.waiting {
    animation: blink 1.5s infinite;
}

/* Spinner de chargement blanc 24x24px */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinner-rotation 0.8s linear infinite;
    display: inline-block;
}

@keyframes spinner-rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Couleur de fond de la barre */
::-webkit-scrollbar-track {
  background: transparent;           /* Fond gris */
  border-radius: 10px;        /* Coins arrondis */
}

/* Curseur (poignée) de la barre */
::-webkit-scrollbar-thumb {
  background: #fff;           /* Blanc */
  border-radius: 10px;        /* Coins arrondis */
  border: 2px solid #ccc;     /* Bordure grise pour séparation */
}

/* Effet au survol */
::-webkit-scrollbar-thumb:hover {
  background: #e0e0e0;        /* Gris clair au survol */
}

* {
  scrollbar-width: thin;       /* Barre fine */
  scrollbar-color: #fff #ccc;  /* Curseur blanc sur fond gris */
}

.NewScreen .Principal {
	width: 50%;
	color: white;
	padding: 25px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.NewScreen .Principal h4 {
	color: white;
	margin: 0;
	line-height: 38px;
    font-size: 38px;
    text-transform: inherit;
}
.NewScreen .Principal h6 {
	color: white;
	margin: 5px 0 0;
}
.NewScreen .Principal {
	overflow: auto;
}
.NewScreen .Principal p {
	text-align: justify;
	margin: 25px 0;
}
.NewScreen .Principal p a {
	font-weight: bold;
	color: white;
}
.NewScreen .Video {
	display: none;
	position: absolute;
	left: 0;
	top: -64px;
	width: 74%;
	height: 496px;
	background: black;
}
.NewScreen .lireVideo span img {
	width: 27px;
	height: 27px;
}
.NewScreen .partenaire span img {
	width: 27px;
	height: 32px;
}
.NewScreen .lireVideo span,
.NewScreen .partenaire span,
.NewScreen .pdl span {
	position: relative;
    top: 3px;
	font-size: 1.35rem;
	margin-right: 10px;
}
.NewScreen .pdl span img {
	background: white;
	width: 24px;
	height: 24px;
	margin-right: 3px;
}
.NewScreen .bookclub span img {
	width: 24px;
	height: 24px;
	margin-right: 8px;
}
.NewScreen .ailleurs {
    display: flex;
    flex-direction: column;
}
.NewScreen .ailleurs h4 {
   font-size: 14px;
   color: white;
   margin-bottom: 0;
}
.NewScreen .ailleurs a {
    width: 100%;
}
.NewScreen .ailleurs h6 {
    background-size: cover;
    margin: 0 0 5px 0;
}

/* Boutons de navigation */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.carousel-prev {
    left: 5px;
}

.carousel-next {
    right: 5px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.15);
}

.carousel-prev:active,
.carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Désactiver visuellement les boutons aux extrémités */
.carousel-prev[disabled],
.carousel-next[disabled] {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Indicateurs de pagination (optionnel) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}



.fa-barcode:before {
	font-size: 28px;
}

.swiper-container {
	width: 100%;
	height: 100%;
}

/* Flèches NewScreen */

/* Supprimer le style par défaut */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
    font-size: 28px !important;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
    color: #FFF !important;
}
.swiper-button-prev {
    left: -2px !important;
}

.swiper-button-next {
    right: -2px !important;
}

.swiper-button-prev::before {
    transform: translate(-40%, -50%) rotate(-135deg);
}

.swiper-button-next::before {
    transform: translate(-60%, -50%) rotate(45deg);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: scale(1.1);
}


/* OEUVRES */
.Oeuvres .Mosaique {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
    position: relative;
}
.mosaique-overlay {
    display: none; /* Caché par défaut */
    position: absolute;
    top: 0;
    left: 0;
    width: 99.5%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Gris semi-transparent */
    z-index: 99; /* Juste en dessous de NewScreen */
    transition: opacity 0.3s ease;
	border-radius: 12px;
}


/* Quand NewScreen est visible, afficher l'overlay */
.NewScreen[style*="display: block"] ~ .mosaique-overlay,
.Mosaique.newscreen-active .mosaique-overlay {
    display: block;
}
.Oeuvres .Mosaique .grid-item {
    width: calc(25% - 10px);
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    color: white;
	border-radius: 12px;
	box-shadow: 1px 1px 4px #222;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Fond caché au départ */
.grid-item::after {
    content: "";
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #191970EE;
    transition: transform 0.7s cubic-bezier(0.25, 1.3, 0.5, 1), opacity 0.3s ease-in-out;
    opacity: 0;
	border-radius: 12px;
}

/* Animation du fond qui monte avec rebond */
.grid-item:hover::after {
    transform: translateY(-100%);
    opacity: 1;
}

/* Style du texte qui apparaît */
.grid-item .Info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0.2s;
    z-index: 2;
	width: 80%;
}

/* Affichage progressif du texte au survol */
.grid-item:hover .Info {
    opacity: 1;
}

.grid-item .Info h2 {
	color: white;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 8px;
}
.grid-item .Info h5 {
	color: white;
	font-size: 12px;
}
.simplefavorite-button,
.simplefavorite-button.preset.active,
.simplefavorite-button.preset {
	background: transparent !important;
	border: none !important;
}
.simplefavorite-button.preset i {
	left: 0 !important;
	top: 0.5em;
}
.grid-item .Info img,
.grid-item .Info .actions img {
	filter: invert(1);
}
.grid-item .Info .further {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid white;
    margin-top: 35px;
	pointer-events: none;
}
.grid-item .Info .further:hover {
    border: 1px solid white;
    background-color: white;
	color: #191970;
}
.grid-item .Info .further:hover img {
    filter: invert(0);
}
.grid-item .Info .actions {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 50px;
	justify-content: space-evenly;
}
.simplefavorite-button,
.simplefavorite-button.active {
	opacity: 1!important;
	/* font-size: 20px; */
	cursor: pointer;
}
.grid-item .Info .actions .simplefavorite-button {
	display: block;
	margin-top: -5px;
}
.grid-item .Info .actions .bookmark .voir {
	display: none;
}

/* Oeuvre */

.bloc_oeuvre {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(25,25,112,0.8);
}
.bloc_gauche {
    flex: 1;
    max-width: 40%;
	display: flex;
    flex-direction: column;
	position: relative;
}
.bloc_droit h3 {
    font-size: 1.8em;
    color: #333;
	font-family: "Archivo Black";
}
.bloc_gauche img {
    width: 100%;
    height: auto;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.bloc_droit {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
	padding-right: 20px;
}
.bloc_droit h3 {
    margin-bottom: 0;
}
.bloc_droit p {
    margin-bottom: 30px;
}
.bloc_droit p em {
    font-weight: 600;
    font-style: italic;
}
.bloc_droit .infos {
    display: flex;
	gap: 10px;
    margin-bottom: 20px;
}
.bloc_droit .infos .auteur {
    font-weight: 600;
}
.bloc_droit .infos .auteur:after {
    content: " - ";
}
.bloc_droit .infos .editeur {
    font-style: italic;
}
.bloc_droit .infos .editeur:after {
    content: " - ";
}
.bloc_gauche .utils {
	width: 100%;
}
.bloc_gauche .utils div {
	background-color: #191970;
    color: #fff;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 8px;
	display: flex;
    align-items: center;
	justify-content: center;
}
.bloc_gauche .utils a {
	color: white;
	font-weight: 600;
}
.bloc_gauche .utils .simplefavorite-button, .bloc_gauche .utils .simplefavorite-button.active {
	font-size: 14px;
	margin-top: -10px;
}

.bloc_gauche .social-share {
    margin: 0 15px;
    display: inline-flex;
    vertical-align: middle;
}
.bloc_gauche .video {
	cursor: pointer;
}

.bloc_droit p {
    font-size: 1em;
    line-height: 1.6;
    color: #444;
	text-align: justify;
}
.bloc_gauche .ensemble {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
	position: absolute;
    bottom: 0;
	width: 100%;
}
.bloc_gauche .favoris {
    background-color: #191970;
    color: #fff;
    font-size: 14px;
    padding: 10.5px 15px;
    border-radius: 8px;
}
.bloc_gauche .partage {
    margin-top: 20px;
}
.bloc_gauche .utils span {
    width: 24px;
    height: 24px;
}
.bloc_gauche .utils .libraire span {
    background: #fff;
}

/* Mediathèque */
.etage {
    display: flex;
    flex-direction: column;
}
.etage .format-block {
    padding: 20px 10px 30px 20px;
    background-image: url('images/double-bubble-outline.webp');
    border-radius: 8px;
    box-shadow: 0 0 4px black;
    margin-bottom: 20px;
}
.etage .format-block h2 {
    text-transform: uppercase;
    font-weight: 900;
    font-family: "Archivo Black";
    margin-bottom: 15px;
    margin-top: 0;
    display: block;
}
.etage .format-block ul {
    display: flex;
    flex-wrap: wrap;
    gap: 35px 15px;
}
.etage .format-block li {
    flex: 1 1 calc(25% - 15px);
    box-sizing: border-box;
    max-width: calc(25% - 15px);
    text-align: center;
    font-size: 15px;
}
.etage .format-block .oeuvre-image {
    height: 350px;
    width: auto;
    border-radius: 9px;
    display: block;
    margin: 0 auto 10px;
    box-shadow: 2px 2px 4px;
    object-fit: cover;
}
.etage .simplefavorite-button.preset i {
	color: black !important;
}
.etage .simplefavorite-button,
.etage .fa-bookmark {
    color: black!important;
    font-size: 14px!important;
    font-weight: 600;
	background-color: transparent;
}
.etage .simplefavorite-button {
    border-radius: 5px;
    padding: 2px 9px;
    position: relative;
}
.etage .format-block a {
    font-weight: bold;
}
.etage .full-width-line {
    width: 100%;
    border: none;
    margin: 20px 0;
    background-image: repeating-linear-gradient(
        -45deg,
        black 1px,
        white 2px,
        black 4px
    );
    height: 20px;
    line-height: 20px;
    overflow: hidden;
}



/* SEARCH */

.custom-search-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes */
    gap: 20px; /* Espacement entre les éléments */
    margin-top: 20px;
}
.custom-search-results.pages {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Deux colonnes */
    gap: 20px; /* Espacement entre les éléments */
    margin-top: 20px;
}

.search-item {
    display: flex;
    align-items: stretch; /* Assure que l'image et le texte ont la même hauteur */
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    transition: 0.3s;
    background: #fff;
	gap: 25px;
}

.search-item:hover {
    background: #f9f9f9;
}

.search-item .visuel {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	aspect-ratio: 16 / 9;
    object-fit: cover;
}

.search-item .visuel img {
    width: 100%; /* Largeur 100% pour remplir le conteneur */
    height: 100%; /* Hauteur égale au bloc texte */
    object-fit: cover; /* Recadre l’image pour éviter toute distorsion */
    border-radius: 5px;
}

.search-item .contenu {
    flex: 1; /* Le texte prend tout l’espace restant */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le texte verticalement */
}

.search-item h3 {
	margin: 0;
	text-transform: uppercase;
    font-size: 22px;
	font-family: "Archivo Black";
}
.search-item p {
	text-align: justify;
}
.custom-search-results.pages .search-item i {
	margin: 0 0 15px;
}

.search-item em {
    margin: 0 0 15px;
	font-size: 14px;
}

.custom-search-results.pages  .search-item em {
   font-weight: 600;
   font-size: 16px;
}

.search-item a {
    text-decoration: none;
    color: #0073aa;
}

.search-item a:hover {
    text-decoration: underline;
}


/* FORMULAIRE - MON COMPTE */

/* Conteneur du formulaire */
.mon-compte-login {
	margin: 25px 0;
	background: #191970;
	color: white;
	padding: 50px 25px;
	font-family: "Roboto";
	border-radius: 5px;
}
.inscription {
	list-style: circle;
	max-width: 80%;
	margin-left: 20px;
}
.inscription li {
	margin: 10px 0;
	font-size: 16px;
}
.mon-compte-login h2 {
	color: white!important;
	font-family: "Archivo Black"!important;
}
.tml {
  margin: 50px auto;
  padding: 30px;
  background: #191970;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: white;
  max-width: 600px;
}

/* Champs du formulaire */
.tml label {
  display: block;
  margin-bottom: 5px;
  font-family: "Archivo Black"!important;
  text-transform: uppercase;
  color: #FFF;
  font-size: 16px;
}

.tml input[type="text"],
.tml input[type="password"],
.tml input[type="email"] {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Bouton */
.tml button[type="submit"] {
  width: 100%;
  background-color: #fff;
  color: #191970;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease;
  font-family: "Archivo Black"!important;
}

.tml button[type="submit"]:hover {
  background-color: #155c96;
  color: #FFF;
}

.tml .tml-field-wrap {
	margin-bottom: 0.4em;
}
.tml .tml-field-wrap p,
#pass-strength-result {
	font-size: 14px;
}

/* Liens */
.tml .tml-links a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

/* TABLEAU DE BORD */

/* Conteneur principal */
.page-id-49060 .tml-dashboard {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Titre */
.page-id-49060 .tml-dashboard h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}
.page-id-49060 .tml-dashboard-avatar {
	display: none;
}

/* Liens de navigation du tableau de bord */
.page-id-49060 .tml-dashboard .tml-user-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-id-49060 .tml-dashboard .tml-user-links a {
  display: block;
  background-color: #ffffff;
  color: #191970;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-id-49060 .tml-dashboard .tml-user-links a:hover {
  background-color: #f2f2f2;
  color: #000;
}

/* Liens standard (ex : déconnexion) */
.page-id-49060 .tml-dashboard .tml-links {
  text-align: center;
  margin-top: 40px;
}

.page-id-49060 .tml-dashboard .tml-links a {
  color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
}

/* Style général pour tous */
.tml-dashboard-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 30px;
}

/* Spécialement pour les admins : deux colonnes */
body.role-admin .tml-dashboard-links {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .home .elementor-element h4 {
        font-size: 35px;
    }
}

/* Responsive : une seule colonne sur mobile */
@media screen and (max-width: 768px) {
	
	/* PAGE PARCOURS MOBILE */
	.Screen {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 10px;
		align-items: center;
		position: relative;
		margin: 15px 0;
	}
	.Screen .Home_Img {
		width: 100%;
		height: 350px;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center; /* Créer visuels pour mobile */
	}
	.Screen .Features {
		width: 100%;
		background-color: #191970;
		height: 100%;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.Screen .Vertical_feat {
		width: 100%;
	}
	.Screen .navigation-left,
	.Screen .navigation-right {
		display: none;
	}
	.Screen .Deezer {
		display: none;
	}
	.swiper-slide {
		flex-direction: column !important;
	}
	
	/* CATEGORIES MOBILE */

	.categorie_listing li {
		width: calc(100% - 20px)!important;
	}
	.categorie_listing li .Visuel {
		height: 248px!important;
		background-position: left center;
	}
	.categorie_listing li .Texte {
		top: 192px!important;
	}
	.categorie_listing li p {
		font-size: 0.75em;
	}
	
	/* HOME MOBILE */
	.LaUne {
		height: 500px;
		background-position:left center;
	}
	.LaUne .Texte {
        overflow: auto;
        display: block;
        height: 42%;
        top: 58%;
        position: relative;
        padding: 15px 20px;
        width: 100%;
        margin: 0;
	}
	.LaUne .Texte h2 {
		font-size: 3em;
        margin-bottom: 5px;
        line-height: 0.85em;
		text-align: left;
	}
	.LaUne .Texte h3,
	.LaUne .Texte p {
		display: none;
	}
	.LaUne .Texte .badge {
		display: block;
		width: fit-content;
		padding: 2px 10px;
		font-weight: 600;
		color: white;
	}
	.LaUne .Texte a {
		color: white;
	}
	.Last_Parcours {
        grid-template-columns: repeat(1, 1fr);
    }
    
    /* Cache les 2ème et 3ème éléments */
    .Last_Parcours .Parcours:nth-child(2),
    .Last_Parcours .Parcours:nth-child(3) {
        display: none;
    }
	.Last_Parcours .Parcours {
        display: none;
    }
    .Last_Parcours .Parcours:first-child {
        display: block;
    }
	.Last_Parcours .Parcours .Visuel {
		height: 320px;
		background-position: 20% center;
		position: relative;
	}
	.Last_Parcours .Parcours .Texte {
		padding: 8px;
		bottom: 0;
		position: absolute;
		width: 100%;
		top: auto;
	}
	.Last_Parcours .Parcours a {
		text-align: left;
	}
	
	/* HEADER MOBILE */
	.Head h6 {
		padding: 4px 8px;
		font-size: 14px;
	}

	.bloc_oeuvre {
        flex-direction: column;
        align-items: center;
        text-align: center;
		gap: 0;
    }

    .bloc_gauche {
        max-width: 100%;
    }

    .bloc_droit {
        align-items: center;
		padding: 0;
    }
    .bloc_droit p {
        padding: 0 15px;
    }
    .bloc_droit .enligne {
        padding: 0 15px !important;
    }
	.bloc_droit .partage {
		margin-top: 20px;
	}
    .custom-search-results {
        grid-template-columns: 1fr; /* Une seule colonne sur petits écrans */
    }
	
	/* TABLEAU DE BORD */

	/* Conteneur principal */
	.page-id-49060 .tml-dashboard {
	  max-width: fit-content;
	  margin: 40px auto;
	  padding: 15px;
	  background: rgba(255, 255, 255, 0.05);
	  border-radius: 10px;
	  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	}
	
	/* OEUVRES GRID MOBILE */
	
	.Oeuvres .Mosaique {
	    justify-content: space-around;
	}
	.Oeuvres .Mosaique .grid-item {
		width: calc(50% - 10px);
		padding: 4px;
		height: 215px;
	}
	.grid-item .Info .further {
		font-size: 14px;
		padding: 4px;
		margin-top: 15px;
	}
	.grid-item .Info .further img {
		width: 19px;
	}
	.grid-item .Info h2 {
		font-size: 18px;
	}
	.grid-item .Info h5 {
		margin-bottom: 4px;
	}
	.NewScreen {
		width: 100%;
		height: auto;
		flex-direction: column;
		position: relative;
	}
	.NewScreen .Visuel {
		width: 100%;
		min-height: 300px;
		max-height: 400px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
		margin-bottom: 15px;
	}
	.NewScreen .Autres {
		width: 100%;
		padding: 8px;
	}
	.NewScreen .Principal {
		width: 100%;
		height: 100%;
		color: white;
		padding: 0;
	}
	.NewScreen .Principal h4 {
		margin-bottom: 0;
		font-size: 24px;
		text-align: center;
	}
	.NewScreen .Principal h6 {
		font-weight: 200;
		margin-top: 0;
		text-align: center;
	}
	.NewScreen .Principal .texte {
		margin-top: 25px;
	}
	
	.swiper-button-prev,
	.swiper-button-next {
		  top: 15% !important;
	}
	
////////////////////	
	
/* Popup Mobile */
.mobile-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-popup.active {
    visibility: visible;
    opacity: 1;
}

.mobile-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.mobile-popup-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 92%;
    background: #000;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
	z-index: 150;
}

.mobile-popup.active .mobile-popup-content {
    transform: translateY(0);
}

.mobile-popup-body {
    padding: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Indicateur de swipe */
.swipe-indicator {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background-color: rgba(22, 22, 22, 0.6);
	box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    z-index: 10;
}

/* Image visuel en background - 35% en haut */
.mobile-popup-body .Visuel {
    width: 100%;
    height: 40vh;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 20px 20px 0 0;
}

/* Contenu Principal - Informations en dessous */
.mobile-popup-body .Principal {
    background-color: #222;
    color: #fff;
    padding: 25px 20px 40px 20px;
    min-height: 65vh;
}

.mobile-popup-body .Principal h4 {
    color: #fff;
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.3;
}

.mobile-popup-body .Principal h6 {
    color: #FFF;
    margin: 0 0 20px 0;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.5;
}

.mobile-popup-body .Principal .texte {
    margin-top: 20px;
}

.mobile-popup-body .Principal .texte p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1em;
    margin-bottom: 15px;
	text-align: justify;
}

/* Cache le bouton close */
.mobile-popup-close {
    display: none !important;
}

/* Scrollbar */
.mobile-popup-body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* Responsive pour petits écrans */
@media (max-height: 600px) {
    .Visuel {
        height: 30vh;
        min-height: 180px;
    }
    
    .Principal {
        padding: 20px 15px 30px 15px;
    }
}

/* Pour iPhone avec encoche */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .Principal {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}


////////////////////


	/* Masquer le popup sur desktop */
	@media (min-width: 769px) {
		.mobile-popup {
			display: none !important;
		}
	}

	/* Responsive pour très petits écrans */
	@media (max-width: 480px) {
		.mobile-popup-content {
			height: 85%; /* Plus grand sur petits écrans */
		}
	}
	
	/* Ajout 23:09 */
	
	/* Header avec titre et format */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.header-row h4 {
    flex: 1;
    margin: 0;
}

.format-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Bouton vidéo sur le visuel */
.video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.05);
}

.video-btn svg {
    margin-left: -4px;
}

/* Container vidéo YouTube */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 15;
    border-radius: 20px 20px 0 0;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
}

.close-video-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-video-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Bouton libraire */
.libraire-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-align: center;
}

.libraire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Responsive */
@media (max-width: 400px) {
	
    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .format-badge {
        align-self: flex-start;
    }
    
    .video-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .libraire-btn {
        width: 100%;
        padding: 12px 20px;
    }
}
	/* Fin Ajout 23:09 */
	
	
	/* Mediathèque */

	.etage .format-block ul {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 20px;
	  padding: 0;
	  margin: 0;
	  list-style: none;
	}

	.etage .format-block li {
	  flex: 1 1 calc(50% - 10px); /* 2 par ligne */
	  max-width: calc(50% - 10px);
	  box-sizing: border-box;
	  text-align: center;
	}

	.etage .format-block .oeuvre-image {
	  width: 100%;
	  aspect-ratio: 1 / 1; /* Rend l'image parfaitement carrée */
	  border-radius: 8px;
	  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	  object-fit: cover;
	  display: block;
	  height: auto;
	}
	.etage .format-block li > *:not(a) {
	  display: none;
	}



}