.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-4325 .elementor-element.elementor-element-c8b6447{--display:flex;}.elementor-widget-text-editor .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-text-editor .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-af95953 *//* =========================================================
   BLOC ÉTABLISSEMENTS PUBLICS & SOCIÉTÉS D'ÉCONOMIE MIXTE
   ========================================================= */

.bloc-etablissements {
  padding: 60px 20px;
  background: #f5f8f6;
  font-family: inherit;
}

/* ---------- Titre ---------- */
.titre-etab {
  font-size: 28px;
  font-weight: 700;
  color: #1a7a4a;
  text-align: center;
  margin: 0 0 15px 0;
  position: relative;
  padding-bottom: 18px;
  line-height: 1.3;
}

.titre-etab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #f0a500;
  border-radius: 2px;
}

/* ---------- Intro ---------- */
.intro-etab {
  text-align: center;
  font-size: 16px;
  color: #555;
  max-width: 780px;
  margin: 0 auto 45px auto;
  line-height: 1.65;
}

/* ---------- Grille ---------- */
.grille-etab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Carte ---------- */
.carte-etab {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 26px 24px 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #1a7a4a;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carte-etab:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26, 122, 74, 0.15);
}

/* ---------- Entête : sigle + logo ---------- */
.entete-etab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

/* Sigle en pastille verte */
.entete-etab .sigle {
  display: inline-block;
  padding: 6px 14px;
  background: #1a7a4a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Conteneur du logo (remplace l'emoji) */
.entete-etab .icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #e0e6e2;
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.carte-etab:hover .entete-etab .icone {
  border-color: #1a7a4a;
  box-shadow: 0 4px 12px rgba(26, 122, 74, 0.15);
}

/* Logo image */
.entete-etab .icone img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ---------- Nom de l'établissement ---------- */
.nom-etab {
  font-size: 17px;
  font-weight: 700;
  color: #1a3a2a;
  line-height: 1.35;
  margin: 0 0 14px 0;
}

/* ---------- Description ---------- */
.desc-etab {
  font-size: 14.5px;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

/* ---------- Bouton / lien "Visiter leur site" ---------- */
.btn-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a7a4a;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px dashed #e0e6e2;
  transition: gap 0.25s ease, color 0.25s ease;
}

.btn-site:hover {
  gap: 14px;
  color: #f0a500;
}

.btn-site .fleche {
  transition: transform 0.25s ease;
  display: inline-block;
}

.btn-site:hover .fleche {
  transform: translateX(4px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  .bloc-etablissements {
    padding: 40px 15px;
  }

  .titre-etab {
    font-size: 21px;
  }

  .intro-etab {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .grille-etab {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .carte-etab {
    padding: 22px 20px 20px 20px;
  }

  .entete-etab .sigle {
    font-size: 12px;
    padding: 5px 11px;
  }

  .entete-etab .icone {
    width: 50px;
    height: 50px;
    padding: 5px;
  }

  .nom-etab {
    font-size: 15.5px;
  }

  .desc-etab {
    font-size: 14px;
  }

  .btn-site {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .titre-etab {
    font-size: 19px;
    padding-bottom: 14px;
  }

  .intro-etab {
    font-size: 14.5px;
  }

  .carte-etab {
    padding: 20px 16px 18px 16px;
  }

  .entete-etab .icone {
    width: 45px;
    height: 45px;
    padding: 4px;
  }

  .nom-etab {
    font-size: 15px;
  }

  .desc-etab {
    font-size: 13.5px;
    line-height: 1.6;
  }
}/* End custom CSS */