/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1758890616
Updated: 2025-09-26 14:43:36

*/
#titre-plat .elementor-heading-title,
.titre-bandeau .elementor-heading-title {
  position: relative; /* nécessaire pour ::after */
  z-index: 0;
}

#titre-plat .elementor-heading-title::after,
.titre-bandeau .elementor-heading-title::after {
  content: "";
  position: absolute;
  left: calc(var(--last-x, 0px) - 15px);   /* dépasse 15px à gauche */
  top:  var(--last-y, 0px);
  width: calc(var(--last-w, 0px) + 30px);  /* largeur +30px */
  height: var(--last-h, 0px);
  background: #1A7476;
  z-index: -1;  /* derrière le texte */
  pointer-events: none;
}

#titre-plat {
    max-width: 75%;
}

#imagecarre {
  position: relative; /* référence pour la légende */
  display: inline-block; /* limite le conteneur à la taille réelle de l’image */
}

#imagecarre img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: min(100%, 78vh);
  height: min(100%, 78vh);
  display: block; /* évite l’espace blanc en dessous */
}

.image-contractuelle::before {
  content: "Photo non contractuelle";
  display: block;
  color: #fff;
  padding: 4px 0px;
  font-size: 12px;
  font-weight:600;
  margin-bottom: 0px;
  text-align: left;
}
