/*
 * Base stylesheet for custom patterns.
 * Individual pattern files live in assets/css/patterns/ and are appended
 * inline via twentytwentyfive_patterns_styles().
 */

 .wp-site-blocks{
  position: relative;
  z-index: 1;
 }

 h1{
    font-style: normal;
    letter-spacing: normal!important;
    line-height: 1.1;
 }

 .w-full{
  width: 100%;
 }

.w-max-content{
  width: max-content
 }

 /* Extend clickable area of links in patterns */
.data-expand-target{
	overflow:hidden;
	position:relative;
}

.data-expand-target a::after{
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:10;
}

.wp-element-button{
  transition: all 0.1s ease-in-out;
}

/* Exactement "wp-block-button__link wp-element-button" */
a.wp-block-button__link.wp-element-button[class="wp-block-button__link wp-element-button"]:hover,
/* Exactement "wp-element-button wp-block-button__link" */
a.wp-block-button__link.wp-element-button[class="wp-element-button wp-block-button__link"]:hover {
  background-color: #FFFFFF!important;
  color: #00234F!important;
  transition: all 0.1s ease-in-out;
      box-shadow: var(--wp--preset--shadow--shadow-1);
}

/* Fix opacity span in cover block editor */
:where(.editor-styles-wrapper) .wp-block-cover__inner-container.block-editor-block-list__layout.is-layout-constrained.wp-block-cover-is-layout-constrained.has-global-padding p span{
  opacity: 1!important ;
}

.wp-block-group p a{
  font-family: var(--wp--preset--font-family--jost) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    font-size: var(--wp--preset--font-size--medium);
}

.block-editor-rich-text__editable.wp-block-post-terms__prefix.rich-text,
.block-editor-rich-text__editable.wp-block-post-terms__suffix.rich-text{
  display: none!important;
}

.has-white-500-background-color.wp-element-button:hover{
  background-color: #00234F!important;
  color: #FFFFFF!important;
  transition: all 0.1s ease-in-out;
}
.wp-block-cover .wp-block-cover__inner-container{
  color: #00234F!important;
}

/* li remove margin */ 
:root :where(.wp-block-list li){
  margin-top: 0px!important;
}

/* responsive container */
@media (max-width: 781px){
  .is-layout-constrained > .alignwide,
  .categorie-enseignes,
  .home-hero-banner,
  .hero-banner,
  .actualites-a-la-une{
    max-width: calc(100% - 0px)!important;
    padding-top: 40px!important;
    padding-bottom: 40px!important;
  }

  .home main .entry-content,
  .page main .entry-content,
  .single main .entry-content,
  .error404 main .bloc-404,
  .single .content-offre,
  .atom-resultat-recherche{
    max-width: calc(100% - 40px)!important;
  }
  .archive main.wp-block-group {
    max-width: calc(100% - 40px)!important;
    margin: auto;
  }
  .single main .entry-content .entry-content{
    max-width: calc(100% - 0px)!important;
  } 
}