/* ==========================================================================
   BASE
   ========================================================================== */
body {
  background-color: #f3ebe1;
}
.et_pb_section {
  background-color: #f3ebe1 !important;
}
.et_pb_section:first-child {
  padding-top: 20px !important;
}
.et_pb_row {
  padding: 15px 0 !important;
}
/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */
h1 {
  color: #5b4636;
}
h2 {
  color: #476873;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 5px solid #c1d5d8;
  display: inline-block;
  padding-bottom: 25px;
  margin-bottom: 10px;
}
h3,
.et_pb_blurb h4 {
  color: #476873;
}
.hero-section h3 {
  text-transform: uppercase;
  color: #5f8790;
  letter-spacing: 1.5px;
  text-align: center;
}
.et_pb_text p,
.et_pb_text li {
  text-align: justify;
  hyphens: auto;
}
/* ==========================================================================
   LIENS
   ========================================================================== */
a {
  color: #476873;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: #5b4636;
}
.et_pb_text a {
  display: inline-block;
  background: #6f8f96;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.et_pb_text a:hover {
  background: #476873;
  color: #fff !important;
}
/* Liens-boutons de la section hero */
/* Bureau */
.hero-nav .et_pb_text_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-nav .et_pb_text_inner a {
  flex: 1;
  text-align: center;
  margin: 0 5px !important;
}
/* Mobile */
@media (max-width: 767px) {
  .hero-nav .et_pb_text_inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .hero-nav .et_pb_text_inner a {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}
/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
#top-header .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.logo_container a:after {
  content: "Emilie Siva Stiegler | Praticienne CAP'ELOdys® - Strasbourg";
  display: inline-block;
  margin-left: 18px;
  font-size: 18px;
  font-weight: 600;
  color: #5b4636;
  vertical-align: middle;
  white-space: nowrap;
}
#logo {
  vertical-align: middle;
}
@media (min-width: 981px) {
  #top-menu li a {
    color: #5b4636 !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
  }
  #top-menu li a:hover,
  #top-menu .current-menu-item a {
    color: #476873 !important;
  }
}
/* ==========================================================================
   IMAGES
   ========================================================================== */
.et_pb_image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid #c9dde0;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(91, 70, 54, 0.3);
}
.et_pb_image {
  text-align: center;
}
.et_pb_gutters3 .et_pb_column_1_4 .et_pb_module,
.et_pb_gutters3.et_pb_row .et_pb_column_1_4 .et_pb_module {
  margin-bottom: 0;
}
/* ==========================================================================
   CITATIONS
   ========================================================================== */
.citation {
  background: #ffffff;
  padding: 25px 35px;
  border-left: 6px solid #8fbec5;
  border-radius: 12px;
  color: #476873;
  font-size: 1.15em;
  font-style: italic;
}
/* ==========================================================================
   FOOTER
   ========================================================================== */
#main-footer a {
  color: #d5e6e8;
}
#main-footer a:hover {
  color: #ffffff;
}
/* ==========================================================================
   RESPONSIVE TABLETTE
   ========================================================================== */
@media (max-width: 1200px) {
  .logo_container a:after {
    content: "Emilie Siva | Praticienne CAP'ELOdys";
  }
}
@media (max-width: 980px) {
  .logo_container a:after {
    content: "E. Siva | Praticienne CAP'ELOdys";
    font-size: 12px;
  }
}
/* ==========================================================================
   RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  h1 {
    font-size: 30px !important;
    line-height: 1.2;
  }
  h2 {
    font-size: 20px !important;
    line-height: 1.3;
  }
  .hero-section .et_pb_text_inner a {
    display: block !important;
    width: fit-content !important;
    max-width: 90% !important;
    margin: 6px auto !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .et_pb_image img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .ma-galerie-mobile {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
  }
  .ma-galerie-mobile .et_pb_column {
    width: calc(50% - 10px) !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }
  .ma-galerie-mobile .et_pb_image {
    margin-bottom: 10px !important;
  }
  .ma-galerie-mobile img {
    width: 100% !important;
    height: auto !important;
  }
}
