/*
Theme Name: Twenty Twenty-Four child
Template: twentytwentyfour
Version: 1.1
*/


html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  color: black;
  background-color: #ffffff;
  font-style: normal;
  font-weight: 300;
  line-height: 1.55;
  padding-block: 0px;
}

.wp-main {
  margin-top: 0;
}

.mon-menu-burger {
  position: relative;
  display: inline-block;
}

#wp-block-categories-1,
#wp-block-categories-2,
#wp-block-archives-1,
#wp-block-archives-3 {
  font-family: 'Lato', sans-serif;
  background-color: white;
  border: none;
  padding: 8px;
  font-size: 1rem;
}

header.wp-block-template-part {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #ffffff;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-search .wp-block-search__button {
  padding-top: 0.3rem;
  padding-inline: 0.3rem;
}

.header-search .wp-block-search__inside-wrapper {
  height: 34px;
}

.mon-menu-burger summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
}

.mon-menu-burger summary::-webkit-details-marker {
  display: none;
  /* Pour Safari */
}

.mon-menu-burger summary::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 8px 0 0 currentColor, 0 -8px 0 0 currentColor;
  margin-right: 15px;
  display: inline-block;
  transition: all 0.3s ease;
}

.mon-menu-burger[open] > div {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background-color: #ffffff;
  border: 1px solid #eee;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mon-menu-burger[open] summary::before {
  background: transparent;
  box-shadow: none;
}

.mon-menu-burger[open] summary::after {
  content: "✕";
  position: absolute;
  left: 15px;
  font-size: 24px;
}

:root :where(.is-layout-flow) > * {
  margin-block-start: 2.5rem;
}

@media (min-width: 1280px) {
  .wp-block-details, .logo-mobile {
    display: none;
  }
}

@media (max-width: 1280px) {
  .wp-block-group.ma-nav {
    display: none;
  }
}

.wp-block-button.btn-top-page {
  content: "\f342";
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  margin: 0;
}

.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
  width: 40px;
  height: 70px;
}

@media (max-width: 785px) {
  .social-icon {
    margin-top: 10px;
  }
}

@media (max-width: 400) {
  .header-block {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 1024px) {
  .wp-block-spacer {
    height: 5px;
  }
}


:where(.wp-site-blocks :focus) {
  outline-width: 0px;
}

.wp-block-post-content h1, h2, h3, h4 {
  font-family: "Inter", "sans serif";
}

.wp-block-post-content h2 {
  margin-block-start: var(--wp--preset--spacing--40);
  margin-block-end: 0;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--large);
}

.wp-block-post-content h3 {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
}

.wp-block-post-content h4 {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
}

.wp-block-post-content table {
  border: solid .5px gray;
}

div.simplesocialbuttons {
  margin-block-start: var(--wp--preset--spacing--40);
}
