.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}@media(max-width:1024px){.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );}}@media(max-width:767px){.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );}}/* Start custom CSS *//* Gabarit projet — Elementor V4 + champs SCF. Masque automatiquement ce qui est vide. */

/* Textes dynamiques vides */
[data-id="5e6e86cf"] :is(p, span).e-paragraph-base:empty { display: none; }
/* Bouton dont le champ URL est vide (rendu en <button> sans lien) */
[data-id="5e6e86cf"] button.e-button-base { display: none; }
/* YouTube sans URL */
[data-id="5e6e86cf"] .e-youtube-base[data-settings*='"source":""'] { display: none; }

/* En-tête : infos vides */
[data-id="514a6b5e"]:has(> p:last-child:empty), [data-id="3a311f92"]:has(> p:last-child:empty) { display: none; }

/* KPIs : carte vide masquée, section masquée si aucun KPI */
[data-id="7f1da739"] > :has(.nm-number:empty) { display: none; }
[data-id="3ba0ed"]:not(:has(.nm-number:not(:empty))) { display: none; }

/* Récit : carte vide masquée, section masquée si tout est vide */
[data-id="68a2cc6e"] > :has(> span:empty) { display: none; }
[data-id="2ab74c2b"]:not(:has([data-id="68a2cc6e"] span:not(:empty))) { display: none; }

/* Vidéo */
[data-id="2a550983"]:has(> p:last-child:empty) { display: none; }
[data-id="a4fc4d"]:not(:has(.e-youtube-base:not([data-settings*='"source":""']))) { display: none; }

/* Site web */
[data-id="1e6b654f"] > :has(> p:last-child:empty) { display: none; }
[data-id="44720ef3"]:not(:has([data-id="1e6b654f"] p:last-child:not(:empty), a.e-button-base)) { display: none; }

/* Design */
[data-id="6ed7d4e9"]:not(:has([data-id="a84fde2"] p:last-child:not(:empty))) { display: none; }

/* Visite 360° : section visible seulement si le lien existe */
[data-id="1ead664d"]:not(:has(a.e-button-base)) { display: none; }

/* Marketing */
[data-id="3ca12504"] > :has(> p:last-child:empty) { display: none; }
[data-id="402a450e"]:not(:has([data-id="3ca12504"] p:last-child:not(:empty), [data-id="30ff4e98"] > span:not(:empty))) { display: none; }

/* Témoignage */
[data-id="7dea497c"]:not(:has([data-id="5a301a47"] > p.nm-title-h3:not(:empty))) { display: none; }

/* Textes multilignes (une valeur par ligne) */
[data-id="3ba85d77"], [data-id="51e6ce33"] { white-space: pre-line; }
[data-id="68a2cc6e"] span p, [data-id="6373a315"] p { margin: 0 0 0.8em; }

/* Corps libre : galeries, vidéos, visites 360 (contenu WordPress) */
.elementor-widget-theme-post-content { max-width: var(--container, 1280px); margin-inline: auto; padding-inline: var(--gutter, 24px); }
.elementor-widget-theme-post-content p { font-family: var(--font-body), "Montserrat", sans-serif; font-size: var(--fs-lead, 1.2rem); line-height: 1.6; color: var(--encre); max-width: 760px; margin: 0 0 24px; }
.elementor-widget-theme-post-content .gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap, 16px); margin: 32px 0 !important; }
.elementor-widget-theme-post-content .gallery br { display: none; }
.elementor-widget-theme-post-content .gallery-item { margin: 0 !important; width: auto !important; max-width: none !important; float: none !important; }
.elementor-widget-theme-post-content .gallery-item img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img, 24px); border: 0 !important; }
.elementor-widget-theme-post-content .gallery-caption { display: none; }
.elementor-widget-theme-post-content iframe, .elementor-widget-theme-post-content .wp-video, .elementor-widget-theme-post-content video { width: 100% !important; max-width: 100%; border-radius: var(--radius-img, 24px); overflow: hidden; margin: 24px 0; }
.elementor-widget-theme-post-content iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto !important; }
[data-id="ba903"]:not(:has(.elementor-widget-theme-post-content *)) { display: none; }
[data-id="ba903"] { padding-block: var(--space-8, 64px); }
@media (max-width: 1024px) { .elementor-widget-theme-post-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .elementor-widget-theme-post-content .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .elementor-widget-theme-post-content .gallery-item img { border-radius: 12px; } }/* End custom CSS */