/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.compare-scroll >.elementor-widget-wrap{
  overflow-x: auto;
  overflow-y: visible; /* important pour le sticky top */
  -webkit-overflow-scrolling: touch;
    position: relative;
  display: block;
}
.compare-table >.e-con-inner,
.compare-table >.e-con-inner >.elementor-element {
    grid-auto-rows: minmax(56px, auto);
        grid-template-rows: inherit !important;
}

.compare-table >.e-con-inner > *:nth-child(-n+7) span{
    line-height: 1;
}

.compare-table >.e-con-inner >.elementor-element:nth-child(2n+1)::before {
    background-color: var(--e-global-color-primary);
    --background-overlay: '';
    opacity: .08;
}
@media (max-width: 1024px){
  .compare-table.table-col-7 >.e-con-inner,
.compare-table.table-col-7 >.e-con-inner >.elementor-element{
    grid-template-columns: repeat(7, minmax(180px, 1fr))!important; /* ajuste 160-240px */
    width: auto;
  }
  .compare-table.table-col-5 >.e-con-inner,
.compare-table.table-col-5 >.e-con-inner >.elementor-element{
    grid-template-columns: repeat(5, minmax(180px, 1fr))!important; /* ajuste 160-240px */
    width: auto;
  }
}

/* Mobile: force une largeur totale > écran pour déclencher le scroll */
@media (max-width: 767px){
  .compare-table.table-col-7 >.e-con-inner,
.compare-table.table-col-7 >.e-con-inner >.elementor-element{
    grid-template-columns: repeat(7, minmax(100px, 1fr))!important; /* ajuste 160-240px */
    width: auto;
  }
  .compare-table.table-col-5 >.e-con-inner,
.compare-table.table-col-5 >.e-con-inner >.elementor-element{
    grid-template-columns: repeat(5, minmax(160px, 1fr))!important; /* ajuste 160-240px */
    width: auto;
  }
  
  .compare-table >.e-con-inner >.elementor-element >.elementor-element {
    padding: 10px;
}
.compare-table >.elementor-element >.elementor-element span{
    font-size: 18px!important;
}
}

body .elementor-widget-accordion .elementor-accordion-title,
body .elementor-widget-posts .elementor-post__title,
body .elementor-widget-posts .elementor-post__title a,
body .elementor-widget-heading .elementor-heading-title {
	line-height: 1;
}

body .elementor-heading-title span,
body h2 span,
body h3 span,
body h4 span,
body h5 span,
body h6 span{
  color: var( --e-global-color-primary )!important;
}
.section-acces-rapide.elementor-sticky--active > .elementor-container > .elementor-column > .elementor-element-populated{
	padding: 15px 32px;
}
.section-acces-rapide.elementor-sticky--active {
  background: none!important;
}
.section-acces-rapide.elementor-sticky--active .elementor-background-overlay{
      background-color: var(--e-global-color-accent);
      opacity: 0.8!important;
}
body.elementor-kit-12 a{
  color: var(--e-global-color-primary);
  font-weight: var(--e-global-typography-abea154-font-weight);
}
body.elementor-kit-12 a:hover{
  text-decoration: underline;
}
.mark-article .elementor-post__text{
  display: flex;
  flex-direction: row;
  gap: 1em;
}

#breadcrumbs a{
  font-weight: initial;
  font-size: inherit;
}
#breadcrumbs >span{
  display: flex;
  gap: 8px;
}

.elementor-field-group-besoins span.elementor-field-option{
  display: flex;
  gap: 5px;
  align-items: center;
  width: 100%;
  max-width: 50%;
}

.back-to-top.is-visible {
    transform: translateY(0);
}

.elementor-widget-table-of-contents {
  cursor: pointer;
}