/**
 * Astra Child Theme Custom CSS
 *
 * This file contains custom CSS styles for the Astra Child theme.
 */

/* Font declarations */
@font-face {
  font-family: 'AirbnbCerealWBd';
  src: url('../fonts/AirbnbCerealWBd/AirbnbCerealWBd.woff2') format('woff2'),
       url('../fonts/AirbnbCerealWBd/AirbnbCerealWBd.woff') format('woff'),
       url('../fonts/AirbnbCerealWBd/AirbnbCerealWBd.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Global styles */
:root {
  --primary-color: #324177;
  --secondary-color: #FFCE00;
  --accent-color: #FFCE00;
  --text-color: #525252;
  --light-gray: #ffffff;
  --medium-gray: #e0e0e0;
  --dark-gray: #666666;
  --white: #ffffff;
  --black: #000000;
  --border-radius: 4px;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.admin-bar .header-destop.sticky-header {
  margin-top: 32px;
}

.airbnb-font span, .airbnb-font p, 
.tab-a-p summary.e-n-accordion-item-title .e-n-accordion-item-title-text, 
.airbnb-font button,
.airbnb-font h2 {
  font-family: 'AirbnbCerealWBd' !important;
}

/* Header styles */
.menu-destop .sub-menu {
  right: 0;
  width: 100%;
}

.menu-item a {
  /*font-size: 16px !important;*/
  /*font-family: 'Inter' !important;*/
}

.btn-connect-menu a span {
  font-size: 16px;
  font-weight: 500;
  /*color: #171717;*/
}

.top-header ul.social-icons {
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
}

.top-header {
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.04);
    padding: 6px 80px;
}

/* Custom Search Form Styles */
.custom-search-form-container {
    max-width: 100%;
    margin: 0 auto;
}

.custom-search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 360px;
}

.custom-search-form input[type="search"] {
    width: 100%;
    padding: 11px 6px 11px 48px;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #E5E5E5;
    border-radius: 30px;
    background-color: var(--light-gray);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.custom-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.custom-search-form button.search-submit {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.custom-search-form button.search-submit:hover {
    background-color: var(--secondary-color);
}

.custom-search-form button.search-submit.disabled {
    cursor: not-allowed;
}

.custom-search-form button.search-submit.disabled:hover {
    background-color: #ccc;
    transform: translateY(-50%);
}

/*footer*/
.sec-footer ul.contact-sp {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  justify-content: end;
}

.sec-footer ul.contact-sp li {
  display: flex;
  padding: 8px 20px 8px 20px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.08);
  color: #ffffff;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.sec-footer ul.contact-sp li:first-child img {
  width: 44px;
}

.sec-footer ul.contact-sp li:last-child img {
  max-width: 89px;
}

.sec-footer ul.contact-sp li:first-child a {
  color: var(--secondary-color);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.sec-contact img {
  width: 44px;
}

.sec-contact a {
  border-radius: 80px;
  background: #FFCE00;
  display: inline-flex;
  padding: 10px 20px 10px 10px;
  align-items: center;
  gap: 12px;
  color: #262626;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  text-transform: uppercase;
}

.sec-contact {
  color: #262626;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  display: inline-flex;
  padding: 6px 6px 6px 24px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 100px;
  background: linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.30) 100%);
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.16);
  margin: 0 auto;
}

.p-question {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 16px;
  border-radius: 100px;
  background: #FFF;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.16);
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.p-question img {
  width: 40px;
}

.p-question div a {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  white-space: nowrap;
}

.tab-container {
  display: inline-flex;
  background: #ffffff;
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.16);
}

.tab-button {
  border: none;
  background: transparent;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  color: #525252;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-container .tab-button:hover {
  border-radius: 999px;
}

.tab-container {
  display: inline-flex;
  padding: 8px;
  border-radius: 99px;
  background: #FFF;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.08);
  justify-content: center;
  gap: 8px;
}

.tab-container .tab-button {
  font-weight: 700;
  line-height: 120%;
  font-size: 20px;
  background: transparent;
  box-shadow: none;
  border-radius: 999px !important;
}

.tab-container .tab-button.active {
  background: var(--secondary-color);
  color: #525252;
}

.tab-a-p {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 4px 4px 24px 0px rgba(0, 0, 0, 0.04);
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.tab-a-p summary.e-n-accordion-item-title[aria-expanded="true"] {
  display: flex;
  padding: 20px 16px;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  border-radius: 12px;
  background: #FFCE00;
  box-shadow: 0px 4px 20px 0px rgba(204, 136, 62, 0.30);
}

.tab-a-p summary.e-n-accordion-item-title .e-n-accordion-item-title-text {
  color: #262626;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 140%;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.tab-a-p p {
  color: #525252;
  font-size: 16px;
  font-family: 'Inter' !important;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.16px;
  margin: 32px 16px;
  padding: 0;
}

.tab-a-p [aria-labelledby*="e-n-accordion-item"] {
  padding: 0;
  width: 100%;
}

.tab-a-p summary.e-n-accordion-item-title {
  padding: 20px 16px !important;
  justify-content: space-between;
}

.tab-a-p summary.e-n-accordion-item-title span.e-n-accordion-item-title-icon svg {
  height: 24px;
}

.tab-a-p summary.e-n-accordion-item-title[aria-expanded="true"] .e-n-accordion-item-title-text {
  color: #324177;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  .entry-content {
    /*padding: 20px;*/
  }
  
  .custom-search-form input[type="search"] {
    padding: 10px 50px 10px 15px;
    font-size: 14px;
  }
  
  .custom-search-form button.search-submit {
    width: 36px;
    height: 36px;
  }
}

/* Search Demo Page Styles */
.search-demo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.search-demo-example {
    margin: 30px 0;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.search-usage-info {
    background-color: #f3f6fe;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.search-usage-info pre {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .search-demo-container {
    padding: 20px;
  }
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Custom Button Styles */
.custom-button, 
.event-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.custom-button:hover, 
.event-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Association Event Cards */
.association-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.association-event-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.association-event-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.association-event-card:after {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.association-event-card:hover:after {
    opacity: 1;
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-date, 
.event-location {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-right: 15px;
    margin-bottom: 5px;
}

.event-date i, 
.event-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.event-description {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.elementor-nav-menu--main .elementor-item.elementor-item-active {
  /*color: #324177 !important;*/
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .association-event-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .event-title {
        font-size: 1.3rem;
    }

    .top-header {
      padding: 5px 15px;
    }
}

@media screen and (max-width: 480px) {
    .association-event-grid {
        grid-template-columns: 1fr;
    }
}

/* Event Detail Page Styles */
.event-detail-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.event-detail-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.event-meta-item i {
    margin-right: 8px;
    font-size: 20px;
}

.event-content-section {
    margin-bottom: 40px;
}

.event-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.swiper-button-next, .swiper-button-prev {
  color: #324177;
  background: #ffffff;
  padding: 5px 10px;
  box-shadow: 0px 9.521px 10px 0px rgba(0, 0, 0, 0.16);
  /* cursor: pointer !important;
  pointer-events: initial !important; */
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 20px !important;
  color: #324177;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next {
  left: 17px;
  right: auto;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
  right: 17px;
  left: auto;
}

div#cookieChoiceInfo a {
  background-color: #FFCE00;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 8px 10px 8px 10px;
  color: #262626;
}

div#cookieChoiceInfo a#cookieChoiceDismiss {
  margin-left: 10px !important;
}

div#cookieChoiceInfo {
  padding: 15px !important;
}

.galery-hero figure.gallery-item a {
  pointer-events: none;
}

.single-association-intro {
    padding-bottom: 30px;
}

.line-left .elementor-icon-list-text {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.location-label svg {
    min-width: 16px;
}

a#btn-upcoming {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.associations-page .associations-search-bar .container form button.clear svg {
    width: 12px;
    height: 12px;
    display: flex;
}

.associations-page .associations-search-bar .container form button.clear {
    right: 45px;
    padding: 5px;
}
.organizer-name a {
    color: #171717;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.organizer-name a:hover {
    color: #171717;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    color: #FFCE00;
}

.no-events-message {
    text-align: center;
    grid-column: span 3 / span 3;
}

.no-events-message p:last-child {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #a3a3a3;
}

.no-events-message p:first-child {
    margin: 0;
    font-weight: bold;
}

body .flatpickr-current-month .flatpickr-monthDropdown-months {
    text-transform: capitalize;
    font-family: 'Inter', sans-serif;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 10px;
    border: 1px solid #F5F5F5;
    color: #171717;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    padding: 4px 8px;
    margin-right: 12px;
}
body .flatpickr-current-month input.cur-year {
    color: #171717;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    padding: 4px 8px;
}
body span.flatpickr-weekday {
    color: #171717;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    text-transform: capitalize;
}

body .flatpickr-months .flatpickr-month {
    height: 38px;
}

body .flatpickr-day.today {
    border-color: #FFCE00;
}

span.flatpickr-day {
    color: #171717;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.flatpickr-current-month .numInputWrapper:hover {
    background: transparent;
}

.section-favoris {
    overflow: hidden;
}
/* Responsive Styles */
@media (max-width: 1560px) {
  .logo-search {
      gap: 20px;
  }
}

@media (max-width: 1280px) {
  .logo-search {
      gap: 15px;
  }

  .header-destop .menu-item a {
      padding-left: 10px;
      padding-right: 10px;
  }

  .search-input-wrapper {
      width: 280px;
  }
  
}

@media (max-width: 1024px) {
  
}

@media (max-width: 1150px) {
  .custom-search-form input[type="search"] {
    width: 120px;
    -webkit-transition: width .55s ease;
    -moz-transition: width .55s ease;
    -ms-transition: width .55s ease;
    -o-transition: width .55s ease;
    transition: width .55s ease;
  }
  .custom-search-form input[type="search"]:active, .custom-search-form input[type="search"]:focus {
    width: 280px;
  }
}

@media (max-width: 768px) {
    .association-events-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .event-detail-title {
        font-size: 28px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }

    .tab-a-p summary.e-n-accordion-item-title .e-n-accordion-item-title-text {
      font-size: 16px;
    }

    .tab-a-p p {
      margin: 16px 16px;
    }

    .sec-contact a {
      font-size: 16px;
    }

    .sec-footer ul.contact-sp {
      justify-content: left;
      flex-wrap: wrap;
    }

    .association-card .association-title-link {
      margin-top: 15px;
      display: block;
    }
    .swiper-button-next, .swiper-rtl .swiper-button-prev {
      right: 0 !important;
    }
    .swiper-button-prev, .swiper-rtl .swiper-button-next {
      left: 0px !important;
    }
}

@media (max-width: 480px) {
    .association-events-container {
        grid-template-columns: 1fr;
    }
    
    .event-detail-header {
        padding: 40px 0;
    }
}

@media (min-width: 767px) {
    .date-range-trigger.filter-label {
        width: 308px;
    }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

.association-events-container.slider-container h3.event-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}

.association-event-card.swiper-slide .location-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.association-event-card.swiper-slide {
  border-radius: 16.036px;
  opacity: 0.6;
  background: #FFF;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.16);
}

.event-button::after {
  content: none !important;
}

.association-events-container.slider-container .event-button {
  text-decoration: none !important;
}

.association-events-container.slider-container .swiper-slide {
  /* background: rgba(9, 21, 50, 0); */
  opacity: 0 !important;
}

.association-events-container.slider-container .swiper-slide.swiper-slide-next,
.association-events-container.slider-container .swiper-slide.swiper-slide-prev {
  border-radius: 16.036px;
  opacity: 0.6;
  background: #FFF;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.16);
  opacity: 1 !important;
}

.association-events-container.slider-container .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}


body .association-events-container.slider-container {
  /* max-width: 100%; */
}

.error404 #primary {
  text-align: center;
}

.error404 #primary .site-main section.error-404.not-found {
  text-align: center;
  background: #f5f5f5;
}

section.error-404.not-found .btn {
  background-color: #FFCE00;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  fill: #262626;
  color: #262626;
  transition-duration: 0.3s;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.24);
  border-style: none;
  border-radius: 999px 999px 999px 999px;
  padding: 15px 30px 15px 30px;
}

section.error-404.not-found h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 56px;
  color: #324177;
}

.error404 #primary .site-main section.error-404.not-found .section-bottom {
  max-width: 800px;
  margin: 0 auto;
}

body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu a {
    padding: 10px 20px !important;
}

.franceHtml5MapContainer svg path {
    cursor: pointer !important;
}

input::placeholder,
textarea::placeholder {
    color: #A3A3A3;
}
input::-webkit-input-placeholder { color: #A3A3A3; } /* Chrome/Safari/Edge */
input:-moz-placeholder { color: #A3A3A3; }            /* Firefox 4-18 */
input::-moz-placeholder { color: #A3A3A3; }           /* Firefox 19+ */
input:-ms-input-placeholder { color: #A3A3A3; }       /* IE 10+ */

.btn-connect-menu.btn-par a.elementor-button.elementor-button-link:hover, .btn-connect-menu.btn-par a.elementor-button.elementor-button-link:focus {
    background: #324177 !important;
    opacity: 0.8;
}

.abc {
    color: #1D4ED8;
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    display: none;
}
