@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&family=Poppins:wght@400;500;600;700&display=swap');
   @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300&display=swap');

@font-face {
  font-family: 'SpaceGroteskCustom';
  src: url('http://www.coray-vallat.ch/wp-content/uploads/2025/08/SpaceGroteskLight-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

body, * {
  font-family: 'Nunito Sans', sans-serif;
}

body, a, button {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.cursor-halo,
.cursor-core {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}

.cursor-halo {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cursor-core {
  width: 8px;
  height: 8px;
  background: black;
}

.custom-cursor.hover .cursor-core {
  background: black;
}

/* Masquer sur mobile */
@media (max-width: 767px) {
  .custom-cursor {
    display: none;
  }
}
		
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
}

.titre-actus {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1.elementor-heading-title.elementor-size-xxl {
  font-family: 'SpaceGroteskCustom', sans-serif !important;
  font-weight: 700 !important;
		font-synthesis: none;
}

body h1.elementor-heading-title.elementor-size-xxl {
  font-family: 'SpaceGroteskCustom', sans-serif !important;
  font-weight: 700 !important;
}

h1, h2, h3, h4, h5 {
		font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700;
}

h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

body {
  background-color: #ffffff !important;
  color: #000000; /* Optional: default text color black */
}
.elementor-slideshow__title {
  display: none;
}
/* Apply Poppins to titles and years */
.timeline-title,
.year {
  font-family: 'Poppins', sans-serif;
}

/* Apply Nunito Sans to timeline content */
.timeline-section,
.content {
  font-family: 'Nunito Sans', sans-serif;
}


.page-content a {
  text-decoration: none;
}


.elementor-item:hover {
  text-decoration: underline;
  text-decoration-color: black;
  text-underline-offset: 3px; /* optional, makes the underline look better */
}
.eael-filter-gallery-control {
  justify-content: flex-end !important;
  text-align: right;
}
.fg-item-title,
.fg-item-content h5 {
  animation: none !important;
  transition: none !important;
}
.eael-filter-gallery-control li.active {
  font-weight: 600 !important;
  color: black !important;
}
#blankspace {
  margin-right: 30px;
}
/* Make sure the image container hides overflow */
.elementor-image-box-img {
  overflow: hidden;
  position: relative;
}

.elementor-image-box-img img {
  transition: transform 1.2s ease-in-out;
  will-change: transform;
}

.elementor-image-box-img:hover img {
  transform: scale(1.1);
}

.post-title {
  font-weight: 600 !important;
  font-size: 21px !important;
  line-height: 29px;
}
.post-excerpt {
  font-size: 19px !important;
}
.read-more-link {
  font-size: 19px !important;
  text-decoration: underline !important;
}

/*dropdown underline */
.elementor-sub-item:hover {
  text-decoration: underline;
}
/* Ensure sectionOne becomes sticky */
#sectionOne {
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* Adjust this value based on your menu height */
    align-self: flex-start; /* Important for flex layouts */
}

/* Prevent sticky from exceeding the height of the right section */
#sectionTwo {
    display: flex;
}

/* If inside a column, ensure the parent uses flex */
.elementor-row {
    align-items: flex-start;
}

.elementor-slideshow__counter.swiper-pagination-fraction.swiper-pagination-horizontal {
  display: none;
}


#trp-floater-ls.trp-bottom-right {
  top: auto;
  bottom: 0;
  right: 1%;
}

.blog-post-card {
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 5px !important;
}

.elementor-306 .elementor-element.elementor-element-f89e602 .elementor-nav-menu--main .elementor-item {
  padding-left: 0px;
}

.lang-item-fr {
  margin-left: 40px !important;
  margin-right: -20px !important;
}

@media (max-width: 1024px) {
  /* Aligne tous les liens à droite */
  .elementor-nav-menu--dropdown a.elementor-item,
  .elementor-nav-menu--dropdown .elementor-sub-item {
    text-align: right !important;
    display: block;
  }

  /* Positionne correctement la flèche à droite */
  .elementor-nav-menu--dropdown .sub-arrow {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Nécessaire pour la position relative des flèches */
  .elementor-nav-menu--dropdown .elementor-item {
    position: relative;
  }
}