@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

.archive__item__title {
  overflow: auto;
  text-overflow: ellipsis;
}

.flex-column__space-between {
  justify-content: space-between;
  gap: 0;
}

[data-expand-target] {
  overflow: hidden;
  position: relative;
}

[data-expand-link]:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  margin: -250px;
}

.main-nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--wp--preset--color--primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.wp-block-navigation-link {
  position: relative;
  height: 100%;
  transition: all 0.2s ease-in-out;
}
.wp-block-navigation-link a {
  height: 100%;
  text-decoration: none;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1351px) {
  .wp-block-navigation-link:hover {
    cursor: pointer;
    box-shadow: inset 0 -20px 10px rgba(181, 206, 232, 0.4);
  }
  .wp-block-navigation-link:hover:after {
    background-color: rgba(196, 196, 196, 0.4);
  }
}

.current-menu-item {
  transition: all 0.2s ease-in-out;
}
@media (min-width: 1351px) {
  .current-menu-item {
    box-shadow: inset 0 -20px 10px rgba(0, 123, 255, 0.4);
    transition: all 0.2s ease-in-out;
  }
  .current-menu-item:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 10px 10px 0 0;
    background-color: var(--wp--preset--color--primary);
  }
}

.desktop-search {
  display: none !important;
}
@media (min-width: 1351px) {
  .desktop-search {
    display: flex !important;
  }
}

@media (min-width: 1351px) {
  .wp-block-navigation-link {
    padding: 0 1rem !important;
  }
  .main-navigation .wp-block-navigation-item {
    padding: 40px 10px !important;
  }
  .mobile__logo {
    display: none;
    background: var(--wp--preset--color--contrast);
    padding: 1rem;
  }
}
@media (max-width: 1350px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  .wp-block-navigation__responsive-container {
    background: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--base) !important;
  }
  .wp-block-navigation__responsive-dialog {
    height: 100vh;
    overflow: auto;
  }
  .wp-block-navigation__responsive-dialog .wp-block-navigation__responsive-container-content .main-navigation, .wp-block-navigation__responsive-dialog .wp-block-navigation__responsive-container-content .wp-block-search {
    margin: auto;
  }
  .wp-block-navigation__responsive-dialog .wp-block-navigation__responsive-container-content .wp-block-search {
    margin-bottom: 1rem;
  }
  .wp-block-navigation__responsive-dialog .wp-block-navigation-item__content {
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--medium-heading);
  }
  .mobile__logo {
    background: var(--wp--preset--color--contrast);
    padding: 1rem;
    margin-bottom: 1rem;
  }
}
@media (min-width: 1351px) {
  .wp-block-search__inside-wrapper {
    position: relative;
    border: none !important;
  }
  .wp-block-search__inside-wrapper .search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: var(--wp--preset--color--contrast);
    font-size: 1.5rem;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .wp-block-search__input {
    position: relative;
    padding-left: 2.5rem;
    border-radius: 25px;
    border: 1px solid var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
    font-size: var(--wp--preset--font-size--medium);
    background: linear-gradient(180deg, rgb(1, 1, 1) 7%, rgb(71, 71, 71) 95%, rgb(113, 113, 113) 100%);
  }
}
.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
  fill: currentColor;
  display: block;
  height: 34px;
  pointer-events: none;
  width: 48px;
}

.wp-block-navigation__responsive-container-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

@media (min-width: 1350px) {
  .mobile-search {
    display: none !important;
  }
}

.wp-block-yoast-faq-block .schema-faq-section {
  margin-bottom: 2rem;
}
.wp-block-yoast-faq-block .schema-faq-question {
  border: 1px solid #eee;
  padding: 2rem;
  position: relative;
  display: block;
  background: #F9F9F9;
  border-radius: 4px;
}
.wp-block-yoast-faq-block .schema-faq-question:hover {
  cursor: pointer;
}
.wp-block-yoast-faq-block .schema-faq-question:before {
  content: "";
  display: block;
  border: 2px solid #dedede;
  border-width: 0px 2px 2px 0px;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 10px;
  margin-top: -2px;
  transform: rotate(-45deg) translateY(-50%);
  transition: transform 0.2s ease-in-out;
}
.wp-block-yoast-faq-block .schema-faq-question.active {
  border: 2px;
}
.wp-block-yoast-faq-block .schema-faq-question.active:before {
  transform: rotate(45deg) translateY(-50%);
  transition: transform 0.2s ease-in-out;
}
.wp-block-yoast-faq-block .schema-faq-question:hover {
  cursor: pointer;
}
.wp-block-yoast-faq-block .schema-faq-answer {
  border-bottom: 1px solid #eee;
  max-height: 9999px;
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.wp-block-yoast-faq-block .schema-faq-answer.active {
  height: auto;
  padding: 2rem;
  background: #F9F9F9;
}

.wp-block-pullquote {
  background: rgba(0, 102, 204, 0.0784313725);
  border-radius: 0 50px 0 50px;
  padding: 1.5rem;
  margin: 1rem 5px;
}
.wp-block-pullquote blockquote p {
  font-size: var(--wp--preset--font-size--large-heading);
  font-style: italic;
  font-weight: bold;
  margin: 0;
}
.wp-block-pullquote blockquote p:before, .wp-block-pullquote blockquote p:after {
  content: "“";
}
.wp-block-pullquote blockquote cite {
  font-size: var(--wp--preset--font-size--medium);
  color: var(--wp--preset--color--grey-500);
}

.wp-element-button, .wp-block-button__link {
  border-width: 0;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
}
.wp-element-button:hover, .wp-block-button__link:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transition: all 0.2s ease-in-out;
}

.wb-toc-hidden {
  display: none !important;
}

#ez-toc-container:hover {
  cursor: pointer;
}

.crp_related .crp_thumbnail {
  width: 100%;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
}

.related-posts {
  padding-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
}
.related-posts__item {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

@media (min-width: 782px) {
  .related-posts {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-posts__item figure {
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }
  .related-posts__item figure:hover {
    background: var(--wp--preset--color--grey-200);
  }
  .related-posts__item .crp_title {
    width: -moz-fit-content;
    width: fit-content;
    font-size: var(--wp--preset--font-size--small);
    padding-left: 4px;
  }
}
@media (min-width: 1460px) {
  .related-posts {
    grid-template-columns: repeat(6, 1fr);
  }
}
.cpt-bottom-component {
  position: relative;
  margin: auto -7px;
  padding: 50px var(--wp--preset--spacing--20) !important;
}
@media (min-width: 1400px) {
  .cpt-bottom-component {
    padding: 186px 0 !important;
  }
}
@media (min-width: 1399px) {
  .cpt-bottom-component .wp-block-woodbrass-custom-blocks-wood-title-with-head .wood-main-title {
    font-size: var(--wp--preset--font-size--x-large-heading) !important;
  }
}
.cpt-bottom-component .wp-block-group .wp-block-query .wp-block-post-template .wp-block-post .reading-time {
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  color: var(--wp--preset--color--base, #ffffff);
}
.cpt-bottom-component__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}
.cpt-bottom-component__list li, .cpt-bottom-component__list .type-guide-achat {
  position: relative;
  transition: all 0.3s ease-in-out;
  padding: 0.5rem 1rem;
}
.cpt-bottom-component__list li div div h2 a, .cpt-bottom-component__list .type-guide-achat div div h2 a {
  font-size: var(--wp--preset--font-size--normal);
}
@media (min-width: 1400px) {
  .cpt-bottom-component__list li:hover, .cpt-bottom-component__list .type-guide-achat:hover {
    cursor: pointer;
    border-radius: 5px;
    margin-right: -1rem;
    transition: all 0.3s ease-in-out;
  }
  .cpt-bottom-component__list li:hover:after, .cpt-bottom-component__list .type-guide-achat:hover:after {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(../../images/arrow_forward.svg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 5px;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .cpt-bottom-component__list li div div h2, .cpt-bottom-component__list li .reading-time, .cpt-bottom-component__list .type-guide-achat div div h2, .cpt-bottom-component__list .type-guide-achat .reading-time {
    color: var(--wp--preset--color--base) !important;
  }
}
@media (max-width: 1399px) {
  .cpt-bottom-component__list li, .cpt-bottom-component__list .type-guide-achat {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-bottom: 1rem;
  }
  .cpt-bottom-component__list li div div h2, .cpt-bottom-component__list li .reading-time, .cpt-bottom-component__list .type-guide-achat div div h2, .cpt-bottom-component__list .type-guide-achat .reading-time {
    justify-content: start !important;
  }
}
@media (max-width: 1399px) {
  .cpt-bottom-component__grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .cpt-bottom-component__grid__wrapper div h2 {
    color: var(--wp--preset--color--contrast);
  }
}
.cpt-bottom-component:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, #000 70%);
}

@media (max-width: 1399px) {
  .cpt-3-columns {
    display: grid !important;
  }
}
.search-grid {
  padding: 0 1rem;
}
.search-grid ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .search-grid ul {
    grid-template-columns: repeat(2, minmax(200px, auto)); /* Passer à 2 colonnes à partir de 768px */
  }
}
@media (min-width: 1200px) {
  .search-grid ul {
    grid-template-columns: repeat(3, minmax(200px, auto)); /* Passer à 3 colonnes à partir de 1200px */
  }
}
.search-grid .wp-block-post .wp-block-group .wp-block-post-title {
  font-size: var(--wp--preset--font-size--medium-heading) !important;
}

.results__query {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 782px) {
  .results__query {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1460px) {
  .results__query {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1460px) {
  .date-full {
    display: inline;
  }
  .date-short {
    display: none;
  }
}
@media (max-width: 1460px) {
  .date-full {
    display: none;
  }
  .date-short {
    display: inline;
  }
}
.admin-bar .main-nav-container {
  top: 32px;
  background-color: var(--wp--preset--color--primary);
}

.post-spacer {
  height: 0 !important;
}

@media (min-width: 1351px) {
  .post-spacer {
    height: 50px !important;
  }
}
.front-page__top-spacer {
  height: 90px !important;
}

@media (min-width: 782px) {
  .archive__top-spacer, .top-spacer {
    height: 28px !important;
  }
}
@media (min-width: 782px) {
  .archive__top-spacer, .top-spacer {
    height: 58px !important;
  }
}
@media (min-width: 1460px) {
  .front-page__top-spacer, .archive__top-spacer, .top-spacer {
    height: 140px !important;
  }
}
.custom-post-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

/* Tablettes : 2 colonnes */
@media (min-width: 782px) {
  .custom-post-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
  }
}
/* Mobiles : 1 colonne */
@media (min-width: 1460px) {
  .custom-post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1400px) {
  .shopping-pattern {
    margin-left: calc((100vw - var(--wp--style--global--wide-size)) / 2) !important;
  }
}
.bsf-rt-reading-time {
  display: none !important;
}

.wb-main-content {
  min-height: 50vh;
  overflow: auto;
}

.wp-block-image img {
  max-width: 100%;
  height: auto !important;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  width: 85%;
  margin: auto;
}
@media (min-width: 782px) {
  .wp-block-embed-youtube .wp-block-embed__wrapper iframe {
    width: 80%;
    height: 400px;
  }
}

.wp-block-social-links .wp-social-link svg {
  height: 2rem;
  width: 2rem;
}

.Home_h1 {
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

#ez-toc-container {
  max-width: 80% !important;
}
