/* Code css footer */

/* Enlever les marges mises par le thème et changer l'orientation */
/* Haut du footer */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"]
  .ast-builder-grid-row {
  margin: 0 60px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* justify-content: space-between; */
  align-items: center;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  border: 0px;
}

/* Bas du footer */
.site-below-footer-wrap[data-section="section-below-footer-builder"]
  .ast-builder-grid-row {
  margin: 0 60px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-below-footer-wrap {
  padding-top: 15px;
}

/* Premiere section du haut du footer  */
.site-footer-primary-section-1 {
  margin: 0;
}

.site-footer-primary-section-1 img {
  height: 60px;
  width: auto;
}

.site-footer-primary-section-1 .footer-widget-area {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-footer-primary-section-1 .footer-widget-area * {
  margin: 0;
}

/* Deuxième section du haut du footer */

.site-footer-primary-section-2 .footer-widget-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-self: center;
  gap: 14px;
}

.site-footer-primary-section-2.site-footer-section.site-footer-section-2 {
  grid-column: span 2;
  justify-self: center;
}

.site-footer-primary-section-2 .footer-widget-area * {
  margin: 0;
  font-size: 14px;
}

.wp-block-group.is-vertical.is-content-justification-center.is-layout-flex.wp-container-core-group-is-layout-fa38c63a.wp-block-group-is-layout-flex {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Troisième section du haut du footer */

.site-footer-primary-section-3.site-footer-section.site-footer-section-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: flex-end;
  gap: 20px;
}

.footer-widget-area.widget-area.site-footer-focus-item {
  width: fit-content;
}

.ast-builder-layout-element.ast-flex.site-footer-focus-item {
  width: fit-content;
}

.ast-footer-social-1-wrap.ast-footer-social-wrap {
  width: fit-content;
}

.footer-social-inner-wrap {
  width: fit-content;
}

.site-footer-primary-section-3 .footer-widget-area * {
  margin: 0;
  font-size: 16px;
}

.footer-social-inner-wrap.element-social-inner-wrap.social-show-label-false.ast-social-color-type-custom.ast-social-stack-none.ast-social-element-style-filled {
  display: flex;
  gap: 10px;
}

/* Première section du bas du footer */

.site-footer-below-section-1 .ast-footer-copyright {
  margin: 0;
  font-size: 14px;
}

/* Deuxième section du bas du footer */

.site-footer-below-section-2 .footer-widget-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.site-footer-below-section-2 .footer-widget-area * {
  margin: 0;
  font-size: 14px;
}

.footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner
  .wp-block-image.size-full {
  display: flex;
  align-items: center;
}

/* Responsive tablette */

@media (max-width: 1024px) {
  .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner {
    display: flex;
    justify-content: center;
  }

  .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack
    .site-footer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}

/* Responsive mobile */

@media (max-width: 767px) {
  .ast-builder-footer-grid-columns.site-below-footer-inner-wrap.ast-builder-grid-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
  }
  .footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner {
    flex-wrap: wrap;
  }
}
