/* =========================================================
   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); }
}

/* =========================================================
   STRUCTURE ANNUAIRE
   ========================================================= */

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

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

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

.annuaires_picto_contact ul {
    display: flex;
}

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

.annuaire_bloc_droite {
    width: 50%;
}

.annuaire_no_result {
    text-align: center;
    font-size: 18px;
    color: #003154;
    margin-top: 20px;
}

.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;
}

.date_publication {
    font-size: 10px;
}

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

a.button_transaction {
    padding: 10px 20px;
    background: #cb552d;
    margin-left: 1.5em;
}

.filtering_choices.filtering_choices_entreprise {
    max-width: calc(100% - 8px);
}

.container_export .fat_back_to_site {
    margin-left: -50px;
    margin-right: -50px;
}

.container-fluid.container_export {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 20px;
}

/* =========================================================
   ARTICLES //MODIFIER YDU JUIN 2026
   ========================================================= */

body.single-post figcaption {
    font-size: 14px;
    font-style: italic;
    margin-top: 15px;
}

body.single-post figure.alignleft {
    margin: 0 1.625rem 1.625rem 0 !important;
}

.lm2_exposant_bleu, h1 sup.lm2_exposant_bleu {
	color: #003154 !important;
}

/* =========================================================
   ARTICLES //MODIFIER YDU AOUT 2026
   ========================================================= */

.lm2-articles .lm2-articles__container {
  padding-bottom: 64px;
}

.lm2-articles .lm2-news__button {
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
} 

.lm2-articles .lm2-articles__title {
    margin: 0 0 2.125rem 0;
}
/* =========================================================
   FILTRE VILLE/DÉPARTEMENT ANNUAIRE //MODIFIER YDU JUIN 2026
   ========================================================= */
.alphabet_annuaire a:hover {
    background-color: rgb(161, 164, 179) !important; 
    color: rgb(255, 255, 255) !important; 
    padding: 0px 2px !important;
}

.filtres_annuaire {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.filtre_annuaire_ville .filtering_choices > svg {
    display: none;
}

.filtre_annuaire_ville {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.filtre_annuaire_ville .title_filtering {
    display: flex;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.filtre_annuaire_ville .title_filtering .title_text {
    padding: 15px 35px 15px 15px;
    background: white !important;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
    letter-spacing: 1px;
    min-width: 220px;
    position: relative;
    color: #003154;
    text-align: left;
    font-weight: 600;
}

.filtre_annuaire_ville .title_text::after {
    content: "";
    right: 16px;
    top: 50%;
    width: 8px;
    position: absolute;
    height: 8px;
    transform: translateY(-50%) rotateZ(45deg);
    transform-origin: center center;
    transition: 0.2s linear transform;
    border-bottom: 2px solid #003154;
    border-right: 2px solid #003154;
}

.filtre_annuaire_ville .title_filtering.focused_element .title_text {
    background: #003154 !important;
    color: white;
}

.filtre_annuaire_ville .title_filtering.focused_element .title_text::after {
    transform: translateY(-50%) rotateZ(225deg);
    border-color: white !important;
}

/* Show/hide identique au système transaction (hover + focused) */
.filtre_annuaire_ville .title_filtering:not(.focused_element) + .filtering_choices:not(:hover) {
    display: none;
}
.filtre_annuaire_ville .filtering_choices:hover,
.filtre_annuaire_ville .title_filtering.focused_element + .filtering_choices {
    display: block;
}

.filtre_annuaire_ville .filtering_choices {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    z-index: 200;
    min-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filtre_annuaire_ville .filtering_choices > input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    color: #003154;
    box-sizing: border-box;
    margin: 0 !important;
}

.filtre_annuaire_ville .filtering_choices > svg {
    position: absolute;
    right: 10px;
    top: 11px;
    cursor: pointer;
}



/* =========================================================
   FILTRE DROPDOWN CATÉGORIE ANNUAIRE //MODIFIER YDU JUIN 2026
   ========================================================= */

.filtre_annuaire {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.filtre_annuaire .title_filtering {
    display: flex;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.filtre_annuaire .title_filtering .title_text {
    padding: 15px 35px 15px 15px;
    background: white !important;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
    letter-spacing: 1px;
    min-width: 220px;
    position: relative;
    color: #003154;
    text-align: left;
    font-weight: 600;
}

.filtre_annuaire .title_filtering.focused_element .title_text {
    background: #003154 !important;
    color: white;
}

.filtre_annuaire .title_filtering.focused_element .title_text::after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.filtre_annuaire .title_text::after {
    content: "";
    right: 16px;
    top: 50%;
    width: 8px;
    position: absolute;
    height: 8px;
    transform: translateY(-50%) rotateZ(45deg);
    transform-origin: center center;
    transition: 0.2s linear transform;
    border-bottom: 2px solid #003154;
    border-right: 2px solid #003154;
}

.filtre_annuaire .title_filtering.focused_element .title_text::after {
    transform: translateY(-50%) rotateZ(225deg);
}

.filtre_annuaire .filtering_choices {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    z-index: 200;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filtre_annuaire .title_filtering.focused_element ~ .filtering_choices {
    display: block !important;
}

.filtre_annuaire input[type="checkbox"] {
    display: none;
}

.filtre_annuaire .filtering_choice_single {
    display: block;
    position: relative;
    padding: 10px 10px 10px 40px;
    cursor: pointer;
    color: #003154;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: normal;
    margin: 0;
    text-align: left;
    background: white;
}

.filtre_annuaire .filtering_choice_single:hover {
    background-color: #f5f5f5;
}

.filtre_annuaire input[type="checkbox"]:checked + .filtering_choice_single {
    background: white !important;
    color: #003154 !important;
}

.filtre_annuaire input[type="checkbox"] + .filtering_choice_single::after {
  height: 16px;
  width: 16px;
  line-height: 12px;
  font-size: 16px;
}

/* =========================================================
   RECHERCHE ANNUAIRE
   ========================================================= */

.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_wrapper:focus-within .annuaire_search_icon {
    fill: white;
}

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

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

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

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

.archive_article_search_container {
    margin-top: -10px;
}

.archive_article_search_reset {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    line-height: 0;
    opacity: 0.5;
    transition: opacity .2s;
}

.archive_article_search_reset:hover {
    opacity: 1;
}

.archive_article_search_reset svg {
    width: 18px;
    height: 18px;
    fill: #003154;
}

.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;
}

#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;
}

/* =========================================================
   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 {
    margin-bottom: 25px;
    padding: 25px 15px 10px 15px;
    margin-left: -15px;
    margin-right: -15px;
    background-color: red !important;
}

.bloc_podcast .podcast_footer img {
    width: 80% !important;
    height: auto !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 p,
.bloc_podcast a {
    color: white;
    text-align: center;
}

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

.bloc_podcast a:hover {
    color: 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;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@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;
    }
}

@media (max-width: 768px) {
    .filtre_annuaire .filtering_choices {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}

.container_export .fat_back_to_site {
    margin-left: -50px;
    margin-right: -50px;
}

.container-fluid.container_export {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 20px;
}