/* =========================================================
   BASE / STRUCTURE GLOBALE
   ========================================================= */

.ydu_modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.4);
	opacity: 0;
	z-index: -1;
	transition: all .3s;
}

.ydu_modal svg {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

.ydu_modal.show {
	opacity: 1;
	z-index: 100000000;
}

.modal_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 35px;
}

body.modal_open {
	height: 100vh;
	overflow: hidden;
}

.annuaire_accordeon .icon_description {
    vertical-align: top !important;
	height: 1.5em !important;
}

.annuaire_bloc_gauche {
    border-right: 1px solid grey;
}

/* =========================================================
   EXPORT / BOUTONS
   ========================================================= */

#archiveFicheInvestisseurResultsExport {
	color: #003154;
	font-size: 20px;
	margin-left: 80px;
	margin-bottom: 15px;
	cursor: pointer;
	position: relative;
	background-color: transparent;
	border-radius: 0;
	border: none;
	text-decoration: underline;
}

#archiveFicheInvestisseurResultsExport:not(.export_loading):disabled {
	cursor: wait;
}

#archiveFicheInvestisseurResultsExport i {
	margin-right: 10px;
}

#archiveFicheInvestisseurResultsExport.export_loading {
	pointer-events: none;
}

#archiveFicheInvestisseurResultsExport.export_loading::after {
	content: '';
	height: 1em;
	width: 1em;
	margin-bottom: -.15em;
	display: inline-block;
	border: 2px solid #ccc;
	border-right-color: #888;
	border-radius: 22px;
	animation: rotate 1s infinite linear;
	margin-left: 1em;
}

@keyframes rotate {
	100% { transform: rotate(360deg); }
}

/* =========================================================
   ANNEXES VISUELLES / BLOCS GÉNÉRAUX
   ========================================================= */

.annuaire_accordeon .vc_tta-panel-body {
	background-color: #003154 !important;
}

.annuaire_bloc {
	padding-left: 50px !important;
	background-color: #003154 !important;
}

.date_publication {
	font-size: 10px;
}

.info_titre_date_pdf p,
.info_titre_date_pdf {
	margin-bottom: 10px !important;
}

.annuaires_picto_contact ul {
	display: flex;
}

.annuaire_bloc_gauche,
.annuaire_bloc_droite {
	width: 50%;
}

.alphabet_annuaire p a {
	color: #003154;
}

/* =========================================================
   BLOCS / DIVERS (Home, Podcast)
   ========================================================= */

.home_transaction_date,
.home_talent_date,
.home_societe_date {
	font-size: 13px;
}

.home_talent_date,
.home_societe_date {
	margin: 0 0 5px 0 !important;
}

.home_talent .nom_talent,
.home_societe .home_societe_titre,
.podcast_footer .wpb_single_image,
.podcast_footer p {
	margin: 0 !important;
}

.bloc_podcast .podcast_footer img {
	width: 80% !important;
	height: auto !important;
}

.bloc_podcast {
	margin-bottom: 25px;
	padding: 25px 15px 10px 15px;
	margin-left: -15px;
	margin-right: -15px;
	background-color: red !important;
}

.podcast_footer p {
	font-size: 28px;
	width: 10%;
	margin-bottom: 5px !important;
	margin-right: 5px !important;
}

.bloc_podcast .podcast_footer .logo_radio img {
	width: 100% !important;
}

.podcast_footer img {
	width: 40%;
}

.bloc_podcast hr {
	margin-top: 25px !important;
	margin-bottom: 10px !important;
}

.bloc_podcast a:hover {
	color: white !important;
}

.bloc_podcast p,
.bloc_podcast a {
	color: white;
	text-align: center;
}

.bloc_podcast a {
	border-bottom: 2px solid white !important;
}

.podcast_lien a {
	position: relative;
}

.podcast_lien a::after {
	content: url('/wp-content/themes/lettrem2/assets/img/cursor_podcast_lm2.svg');	
	width: 25px !important;
	display: block;
	position: absolute;
	right: -35px;
	top: 10px;
}

.bloc_podcast .wpb_wrapper {
	text-align: center;
}

.bloc_podcast svg {
	width: 22%;
}

.podcast_footer {
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 50%;
	margin: auto;
}

.bloc_podcast .podcast_titre p {
	font-size: 20px;
	text-transform: uppercase;
	line-height: 1.2;
	letter-spacing: -1px;
	font-weight: bold;
}

.bloc_podcast img {
	height: 75px !important;
	width: 100%;
	object-fit: contain;
}

.bloc_podcast .podcast_titre,
.bloc_podcast .podcast_description,
.bloc_podcast .podcast_lien,
.bloc_podcast .podcast_img {
	margin-bottom: 10px !important;
}

.bloc_home {
	padding: 35px 15px 0 15px;
	text-align: center;
	margin-bottom: 35px;
}

.bloc_home_img img {
	margin-bottom: 35px;
	max-height: 75px !important;
	width: auto;
	height: auto;
	max-width: 100%;
}

.bloc_home .texte_orange {
	font-size: 22px;
	font-weight: 700;
}

.bloc_home .bloc_lien a {
	font-weight: 700;
	border-bottom-color: #003154 !important;
	border-bottom-width: 2px !important;
}

.bloc_home .texte_bleu {
	font-size: 15px;
}

.secteur_picto_wrapper img {
	max-width: 100%;
	height: auto;
}

/* =========================================================
   STYLES ANNUIRE (NATHANIEL YDU)
   ========================================================= */

/* Conteneur global des filtres */
.annuaire_list_taxo {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	row-gap: 8px;
	margin: 15px 0 25px 0;
}

/* Boutons de filtre (catégories) */
.annuaire_taxo_single {
	cursor: pointer;
	background-color: #ffffff !important; /* fond blanc */
	border: 2px solid #003154; /* contour bleu */
	border-radius: 4px;
	padding: 10px 16px !important;
	min-width: 140px;
	text-align: center;
	box-sizing: border-box;
	transition: all 0.25s ease;
	display: inline-block;
}

.annuaire_taxo_single p {
	color: #003154 !important; /* texte bleu */
	font-weight: 700;
	font-size: 14px;
	margin: 0;
	line-height: 1.2;
	transition: color 0.25s ease;
}

/* Hover : inversion des couleurs */
.annuaire_taxo_single:hover {
	background-color: #003154 !important;
}

.annuaire_taxo_single:hover p {
	color: #ffffff !important;
}

/* État actif (catégorie sélectionnée) */
.annuaire_list_taxo .annuaire_taxo_single.fond_bleu_annuaire {
	background-color: #003154 !important;
	border-color: #003154;
}

.annuaire_list_taxo .annuaire_taxo_single.fond_bleu_annuaire p {
	color: #ffffff !important;
}

/* Clic fluide */
.annuaire_taxo_single:active {
	transform: scale(0.98);
}

/* Message aucun résultat */
.annuaire_no_result {
	text-align: center;
	font-size: 18px;
	color: #003154;
	margin-top: 20px;
}

/* Responsive : grille fluide */
@media (max-width: 992px) {
	.annuaire_taxo_single {
		min-width: 45%;
		padding: 12px !important;
	}
}

@media (max-width: 600px) {
	.annuaire_taxo_single {
		width: 100%;
	}
}

/* Lettres alphabétiques */
.alphabet_annuaire p a {
	color: #003154;
	font-weight: 600;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.alphabet_annuaire p a:hover {
	color: white;
	background-color: #003154;
	padding: 0 3px;
	border-radius: 3px;
}
.annuaire_search_container {
    text-align: center;
    margin-bottom: 25px;
}

.annuaire_search_wrapper {
    position: relative;
    display: inline-block;
    width: 60%;
    max-width: 500px;
}

.annuaire_search_icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    fill: #003154;
    pointer-events: none;
    transition: fill .3s;
}

#annuaire_search_input {
    width: 100%;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    padding: 15px 20px 15px 45px;
    color: #003154;
    font-weight: 600;
    text-align: left;
    transition: all .3s ease;
}

#annuaire_search_input::placeholder {
    color: #003154;
    opacity: 0.8;
}

#annuaire_search_input:focus {
    outline: none;
    background-color: #003154;
    color: white;
}

#annuaire_search_input:focus::placeholder {
    color: white;
}

#annuaire_search_input:focus + .annuaire_search_icon,
.annuaire_search_wrapper:focus-within .annuaire_search_icon {
    fill: white;
}
/* --- Suggestions de recherche --- */
.annuaire_search_wrapper {
    position: relative;
}

.annuaire_search_suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1000;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
}

.suggest_item {
    padding: 10px 15px;
    cursor: pointer;
    color: #003154;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.suggest_item:hover {
    background-color: #003154;
    color: white;
}

.suggest_item.no_result {
    color: #888;
    cursor: default;
    text-align: center;
}
/* --- Bouton de réinitialisation --- */
#annuaire_reset_btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #a1a4b3;
    color: #003154;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

#annuaire_reset_btn:hover {
    background-color: #003154;
    color: white;
}

/* --- Suggestions de recherche --- */
.annuaire_search_wrapper {
    position: relative;
}

.annuaire_search_suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1000;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
}

.suggest_item {
    padding: 10px 15px;
    cursor: pointer;
    color: #003154;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.suggest_item:hover {
    background-color: #003154;
    color: white;
}

.suggest_item.no_result {
    color: #888;
    cursor: default;
    text-align: center;
}

@media screen and (max-width: 767px) {
	.annuaire_bloc_gauche, .annuaire_bloc_droite {
		width: 100%;
	}
	.annuaires_picto_contact ul, .flex {
		flex-direction:column;
	}
	.smile_icon_list li .icon_list_icon {
    	font-size: 13px !important;
	}
}

a.button_transaction {
    padding: 10px 20px;
    background: #cb552d;
	margin-left: 1.5em;
}
.filtering_choices.filtering_choices_entreprise {
    max-width: calc(100% - 8px);
}
