/**
 * Split Heading (Salient) – typo coupée
 *
 * Cause : les .inner restent en translateY(1.3em) (souvent via style inline)
 * alors que le parent a déjà .animated-in → texte masqué par overflow:hidden.
 * Ubuntu italic dépasse aussi le masque (line-height 1.2 trop serré).
 */

/* Respirer dans le masque (italique) */
.nectar-split-heading[data-animation-type="line-reveal-by-space"] > * > span {
  padding-top: 0.2em !important;
  padding-bottom: 0.2em !important;
  margin-top: -0.2em !important;
  margin-bottom: -0.2em !important;
}

.nectar-split-heading[data-animation-type="line-reveal-by-space"] span {
  line-height: 1.45 !important;
}

/* État final forcé */
.nectar-split-heading.animated-in[data-animation-type="line-reveal-by-space"] span .inner,
.nectar-split-heading.animated-in[data-animation-type="line-reveal-by-space"] .inner.animated {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.nectar-split-heading.animated-in[data-animation-type="line-reveal-by-space"] > * > span {
  overflow: visible !important;
}

.grecaptcha-badge { display: none !important; }

/* Catalogue subventions – accès refusé (non connecté) */
.sportesis-subventions--denied {
  text-align: center;
}

/* Contenu réservé aux visiteurs non connectés (body.logged-in = WordPress) */
body.logged-in .no_logged {
  display: none !important;
}

/*
 * Sticky footer Salient – section globale « before-footer »
 *
 * Salient étire .container-wrap (flex-grow: 1) pour coller #footer-outer
 * en bas du viewport. L’espace vide reste alors SOUS la section globale
 * before-footer, pas sous le contenu principal.
 */
body:not(.nectar-no-flex-height) .container-wrap {
  display: flex;
  flex-direction: column;
}

body:not(.nectar-no-flex-height) .container-wrap > .nectar-global-section.before-footer {
  margin-top: auto;
}

/* Nectar Slider – flèche scroll (mobile : +50 px vers le haut) */
@media only screen and (max-width: 767px) {
  .nectar-slider-wrap .slider-down-arrow {
    translate: 0 -50px;
  }
}