/* ==================== */
/* Global Styles */
/* ==================== */

html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #292929;
    margin: 0;
    background: #fff !important;
    height: 100%;
    min-height: 100%;
  }
  
  /* ==================== */
  /* Global Link Styles */
  /* ==================== */
  
  a {
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: inline;
  }
  
  a:hover {
    text-decoration: none;
  }
  
  .wp-block-button a {
    position: relative;
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .wp-block-button a:hover {
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, 0.12);
  }
  
  /* ==================== */
  /* Single Post Link Styles */
  /* ==================== */
  
  .single-post .entry-content a {
    color: #333;
    text-decoration: none;
    position: relative;
    display: inline;
    transition: all 0.25s ease;
    background-image: linear-gradient(#59E7A2, #59E7A2);
    background-position: 0 90%;
    background-size: 100% 5px;
    background-repeat: no-repeat;
    padding-bottom: 3px;
    line-height: 1.5;
  }
  
  .single-post .entry-content a:hover {
    color: #000;
    background-size: 100% 23px;
  }
  
  /* ==================== */
  /* Wave and Shape Clipping */
  /* ==================== */
  
  .wave {
    clip-path: ellipse(100% 100% at top);
  }
  
  .wave-top {
    clip-path: ellipse(100% 100% at 50% 100%);
  }
  
  .bg-shape {
    clip-path: polygon(0 0, 100% 8%, 100% 92%, 0% 100%);
  }
  
  .bg-shape-footer {
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0% 100%);
    padding-top: 40%;
  }
  
  /* ==================== */
  /* Icon Card Styles */
  /* ==================== */
  
  .icon-card {
    box-sizing: border-box;
    border: 2px solid #fff;
    transition: border 0.1s ease-in-out;
  }
  
  .icon-card:hover {
    border: 2px solid #59E7A2;
  }
  
  /* ==================== */
  /* Top Menu Navigation Styles */
  /* ==================== */
  
  .Top-menu .wp-block-navigation .wp-block-navigation-item {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    position: relative;
    display: inline-block;
  }
  
  .Top-menu .wp-block-navigation .wp-block-navigation-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 15px 0;
  }
  
  .Top-menu .wp-block-navigation .wp-block-navigation-item.current-menu-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 40px;
    height: 4px;
    background-color: #59E7A2;
    border-radius: 2px;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
  }
  
  @media (min-width: 768px) {
    .Top-menu .wp-block-navigation .wp-block-navigation-item:not(.current-menu-item)::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 5px;
      width: 40px;
      height: 4px;
      background-color: #59E7A2;
      border-radius: 2px;
      transform: translateX(-50%) scaleX(0);
      transform-origin: center;
      opacity: 0;
      will-change: transform, opacity;
      transition: transform 0.4s ease-in-out, opacity 0.7s ease;
    }
  
    .Top-menu .wp-block-navigation .wp-block-navigation-item:not(.current-menu-item):hover::after {
      transform: translateX(-50%) scaleX(1);
      opacity: 1;
    }
  
    .Top-menu .wp-block-navigation .wp-block-navigation-item:not(.current-menu-item):not(:hover)::after {
      transform: translateX(-50%) scaleX(0);
      opacity: 0.3;
      transition: transform 0.4s ease-in-out, opacity 0.7s ease;
    }
  }
  
  /* ==================== */
  /* Footer Navigation Item Styles */
  /* ==================== */
  
  .Navigation-footer .wp-block-navigation-item__content {
    opacity: 0.7;
    transition: opacity 0.15s ease-in-out;
    text-decoration: none;
  }
  
  .Navigation-footer .wp-block-navigation-item__content:hover {
    opacity: 1;
    text-decoration: none;
  }
  
  /* ==================== */
  /* Button Hover Outline Styles */
  /* ==================== */
  
  .button-hover-outline.is-style-outline--2 .wp-block-button__link {
    text-shadow: none !important;
  }
  
  .button-hover-outline.is-style-outline--2 .wp-block-button__link:hover {
    background-color: #59e7a2 !important;
    color: white !important;
    border-color: #59e7a2;
  }
  
  /* ==================== */
  /* Button with Email Icon Styles */
  /* ==================== */
  
  .Button-email-icon .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .Button-email-icon .wp-block-button__link::before {
    content: "\f465";
    font-family: dashicons;
    color: white;
    font-size: 23px;
    line-height: 1;
  }
  
  /* ==================== */
  /* Post Meta Icon Styles */
  /* ==================== */
  
  .Icon-post-meta::before {
    content: "\f508";
    font-family: "dashicons";
    color: white;
    font-size: 16px;
    margin-right: 8px;
    display: inline-block;
  }
  
  /* ==================== */
  /* FAQ Section Styles */
  /* ==================== */
  
  details summary {
    font-size: 22px;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  details[open] summary {
    color: #59E7A2;
  }
  
  summary::marker {
    font-size: 14px;
  }
  
  details summary::marker {
    margin-right: 20px;
  }
  
  details p {
    font-size: 20px;
  }
  
  /* ==================== */
  /* Button Abonnement Styles */
  /* ==================== */
  
  .button-abonnement a {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
  }
  
  .button-abonnement a:hover {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    background-color: #7a7a7a !important;
    color: white !important;
  }
  
  /* ==================== */
  /* Gravity Form */
  /* ==================== */
  
  .gfield_required.gfield_required_text {
    display: none !important;
  }
  
  .ginput_container input {
    width: 100% !important;
    min-height: clamp(50px, 8vh, 58px) !important;
    padding: clamp(5px, 1vh, 7px) clamp(15px, 2vw, 20px) !important;
    font-size: clamp(16px, 2vw, 18px) !important;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
  }
  
  #gform_fields_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  #gform_fields_1 .gfield {
    width: calc(50% - 7.5px);
  }
  
  #gform_submit_button_1 {
    background-color: #59e7a2 !important;
    color: white !important;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #59e7a2 !important;
    font-size: clamp(16px, 2vw, 18px) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: clamp(10px, 2vh, 15px) !important;
    cursor: pointer !important;
    display: block !important;
    width: 100% !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    text-align: center !important;
  }
  
  #gform_submit_button_1:hover {
    background-color: #47BE82 !important;
    border-color: #47BE82 !important;
  }
  
  .gform-footer {
    width: 100% !important;
    display: flex;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
    #gform_fields_1 {
      flex-direction: column;
    }
  
    #gform_fields_1 .gfield {
      width: 100%;
    }
  }
  
  .ginput_container input::placeholder {
    font-size: 18px !important;
    color: #999 !important;
  }
  
  /* ==================== */
  /* Single Edition Link Styles */
  /* ==================== */
  
  .single-issue .wp-block-post-content p a {
    text-decoration: none;
    position: relative;
    display: inline;
    transition: all 0.25s ease;
    background-image: linear-gradient(#59E7A2, #59E7A2);
    background-position: 0 90%;
    background-size: 100% 5px;
    background-repeat: no-repeat;
    padding-bottom: 3px;
    line-height: 1.5;
  }
  
  .single-issue .wp-block-post-content p a:hover {
    color: #000;
    background-size: 100% 23px;
  }

  .single-issue .wp-block-post-content li a {
    text-decoration: none;
    position: relative;
    display: inline;
    transition: all 0.25s ease;
    background-image: linear-gradient(#59E7A2, #59E7A2);
    background-position: 0 90%;
    background-size: 100% 5px;
    background-repeat: no-repeat;
    padding-bottom: 3px;
    line-height: 1.5;
  }
  
  .single-issue .wp-block-post-content li a:hover {
    color: #000;
    background-size: 100% 23px;
  }
  
  /* ==================== */
  /* Pagination Link Styles */
  /* ==================== */
  
  .wp-block-query-pagination p a {
    color: #333;
    text-decoration: none;
    position: relative;
    display: inline;
    transition: color 0.25s ease;
    padding-bottom: 3px;
    line-height: 1.5;
    margin: 0 8px;
  }
  
  .wp-block-query-pagination a:hover {
    color: #000;
  }
  
  .wp-block-query-pagination .page-numbers.current {
    color: #000;
    background: #59E7A2;
    border-radius: 50%;
    padding: 5px 10px;
    margin: 0 8px;
  }
  
  .wp-block-query-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
  }
  
  .wp-block-query-pagination-previous,
  .wp-block-query-pagination-next {
    font-weight: bold;
    margin: 0 10px;
  }
/* ==================== */
/* Gravity Forms Styles (page Proposer une actualite WordPress)*/
/* ==================== */
/* Labels Styling for Form #gform_2 */
#gform_2 .gfield_label,
#gform_2 .gform-field-label,
#gform_2 .gform-field-label--type-sub {
    font-weight: 500;
}

/* Hide specific sub-label for input_2_3_6 */
#gform_2 .gform-field-label--type-sub[for="input_2_3_6"] {
    display: none;
}

/* Textarea (input_2_10) Styling */
#gform_2 #input_2_10 {
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    padding: 18px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 100%;        
    width: 100%;            
    max-height: 100%;       
    overflow: auto;         
    resize: vertical;       
    min-width: 100%;        
}

/* Textarea Placeholder Styling */
#gform_2 #input_2_10::placeholder {
    font-family: Roboto;
    color: #999999;
    font-weight: 400;
    font-size: 18px;
}

/* Submit Button Styling for gform_submit_button_2 */
#gform_submit_button_2 {
    background-color: #59e7a2 !important;
    color: white !important;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #59e7a2 !important;
    font-size: clamp(16px, 2vw, 18px) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: clamp(10px, 2vh, 15px) !important;
    cursor: pointer !important;
    display: block !important;
    width: 100% !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    text-align: center !important;
}

#gform_submit_button_2:hover {
    background-color: #47BE82 !important;
    border-color: #47BE82 !important;
}

/* Link Underline Effect for Paragraph with Class "underline-effect" */
p.underline-effect a {
    text-decoration: none;
    position: relative;
    display: inline;
    transition: all 0.25s ease;
    background-image: linear-gradient(#59E7A2, #59E7A2);
    background-position: 0 90%;
    background-size: 100% 5px;
    background-repeat: no-repeat;
    padding-bottom: 3px;
    line-height: 1.5;
}

p.underline-effect a:hover {
    color: #000;
    background-size: 100% 23px;
}