/* ===========================================================
*                      General styles.
=========================================================== */
.gl-hide {
  display: none;
}
.elementor-widget-breadcrumbs a {
  line-height: 1.2;
  font-size: 1em !important;
  font-weight: 400 !important;
}
.elementor-widget-breadcrumbs span {
  line-height: 1.2;
}
.gl-bg-zoom {
  transition: background-size 0.3s ease-in-out !important;
  background-size: 200% !important;
}
.gl-bg-zoom:hover {
  background-size: 225% !important;
}
.gl-clickable {
  cursor: pointer;
}
.gl-home-hero-section .elementor-widget-n-accordion,
.gl-home-hero-section details > summary,
.gl-home-hero-section details > summary * {
  cursor: default !important;
}
.gl-stretch-items a {
  display: flex;
  height: 100% !important;
}
.elementor-counter-number-suffix {
  align-self: end;
  line-height: 1;
}

.gl-link-white {
  color: inherit !important;
  text-decoration: underline !important;
}
.gl-link-purple {
  color: #a1007d !important;
  text-decoration: underline !important;
}

.gl-post-title,
.gl-post-title:hover {
  color: var(--e-global-color-beaae91);
  font-family: "Gilroy", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
}

p:has(+ ul) {
  margin-bottom: 0;
}

/* Marge de sécurité pour que la bordure ne touche jamais le bord clippé */
.gl-outline-carousel .e-n-carousel {
  padding-inline: 4px !important;
  box-sizing: border-box;
}
.gl-outline-carousel .swiper-slide > .e-con {
  box-sizing: border-box;
  width: 100%;
}


/* ===========================================================
*                    OLD Webinars.
=========================================================== */

/* Size of the figure images */
.tag-old .wp-block-media-text {
  justify-content: start;
  display: flex;
}
.tag-old .wp-block-media-text__media {
  min-width: fit-content !important;
  > img {
    width: 150px;
    border-radius: 100%;
  }
}

/* Display none .tc-embed if it only contains an iframe */
.tag-old div:has(> iframe:only-child[style*="display: none"]) {
  display: none;
}

/* ===========================================================
*                    Handle <ol> lists.
=========================================================== */
ol:not(.elementor-widget-table-of-contents *) {
  list-style: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
}
ol:not(.elementor-widget-table-of-contents *) li {
  counter-increment: item;
  display: flex;
  align-items: start;
  gap: 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
}
ol:not(.elementor-widget-table-of-contents *) li::before {
  content: counter(item, decimal-leading-zero); /* 01, 02, 03… sans le "." */
  flex: 0 0 2rem;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  color: var( --e-global-color-accent );
  font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

.elementor-widget-table-of-contents .elementor-toc__list-item-text-wrapper {
  align-items: start;
  > a {
    font-size: inherit;
    line-height: inherit;
  }
}

/* ===========================================================
*                 Handle "see more" button.
=========================================================== */
.gl-more-btn {
  display: inline-block;
  cursor: pointer;
  color: #180d24;
  font-weight: 300;
  font-family: gilroy;
  border-bottom: solid 1px;
}

/* ===========================================================
*             Handle hover effect on images.
=========================================================== */
.gl-clickable:hover div::before, .gl-clickable:hover img {
  filter: brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg ) !important;
}

/* ===========================================================
*             Video shortcode.
=========================================================== */
.galopins-acf-video iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
