@media (max-width:780px){
  /* A single compact header row, including at 320px. */
  body .wp-site-blocks>header{padding:14px 18px!important}
  body .wp-site-blocks>header .has-global-padding{padding:0!important}
  body .wp-site-blocks>header .wp-block-group.alignwide{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:12px!important;width:100%;padding:0!important;margin:0!important}
  body .wp-site-blocks>header .wp-block-site-title{flex:1 1 auto;min-width:0!important;margin:0!important}
  body .wp-site-blocks>header .wp-block-site-title a{display:block;font-size:18px!important;line-height:1.3!important;letter-spacing:-.4px}
  body .wp-site-blocks>header .wp-block-group.alignwide>.wp-block-group{flex:0 0 auto;flex-wrap:nowrap!important;gap:0!important;margin:0!important}
  body .wp-site-blocks>header .wp-block-navigation__responsive-container-open{width:44px;height:44px;min-width:44px;align-items:center;justify-content:center;padding:10px!important;margin:0!important;box-sizing:border-box}

  /* One scrollable menu, with no nested list indentation or floating panel. */
  body .wp-site-blocks>header .wp-block-navigation__responsive-container.is-menu-open{inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;padding:20px!important;border:0!important;border-radius:0!important;box-shadow:none!important;box-sizing:border-box;background:#f8faf7!important;overflow-x:hidden!important;overflow-y:auto!important}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation__responsive-close,
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation__responsive-dialog{position:relative;width:100%;max-width:none;margin:0!important;padding:0!important;max-height:none;overflow:visible;box-sizing:border-box}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation__responsive-container-close{position:absolute;top:0!important;right:0!important;width:44px;height:44px;padding:10px!important;box-sizing:border-box}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation__responsive-container-content{padding:56px 0 12px!important;gap:0!important;align-items:stretch!important;box-sizing:border-box}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation__responsive-container-content::before{font-size:19px!important;line-height:1.3;margin:0 0 18px!important}
  body .wp-site-blocks>header .is-menu-open :is(.wp-block-navigation__container,.wp-block-page-list){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;gap:8px!important;box-sizing:border-box}
  body .wp-site-blocks>header .is-menu-open .wp-block-navigation-item{margin:0!important;width:100%!important;padding:0!important;box-sizing:border-box}
  body .wp-site-blocks>header .is-menu-open a.wp-block-navigation-item__content{display:block!important;width:100%;min-height:48px;box-sizing:border-box;padding:12px 14px!important;font-size:16px!important;line-height:1.4!important}
  body .wp-site-blocks>header .is-menu-open a[href*="/proposer-une-association/"]{margin-top:8px!important}

  /* Directorist's search wrapper adds 220px of desktop padding by default. */
  body.home .wp-block-post-content .directorist-search-contents{padding:22px 0 24px!important;margin:0!important;min-height:0!important}
  body.home .wp-block-post-content .directorist-search-contents>.directorist-container-fluid{padding:0!important}
  body.home .directorist-search-top{margin:0 0 16px!important}
  body.home .directorist-search-top__title{margin:0 0 10px!important;font-size:24px!important;line-height:1.25!important}
  body.home .directorist-search-top__subtitle{margin:0!important;font-size:15px!important;line-height:1.6!important}
  body.home .wp-block-post-content section[style*="#edf6ef"]{padding:6px 0 18px!important}
  body.home .wp-block-post-content section[style*="#edf6ef"] h1{font-size:clamp(30px,7.5vw,38px)!important;line-height:1.14!important;margin:18px 0!important}
  body.home .wp-block-post-content section[style*="#edf6ef"] p:last-child{margin-bottom:0!important}
  body.home .wp-block-post-content p[style*="#faf4e5"]{margin:0 0 24px!important}
  body.home .wp-block-post-content section[style*="#ffffff"]{padding-top:0!important}
  body.home .wp-block-post-content div[style*="grid-template-columns"]{gap:12px!important}
  body.home .wp-block-post-content article[style]{padding:20px!important}

  /* Remove empty template spacers while retaining the footer content. */
  body .wp-site-blocks>footer{padding:24px 18px!important;margin-top:20px!important}
  body .wp-site-blocks>footer>.wp-block-group{padding:0!important}
  body .wp-site-blocks>footer .wp-block-spacer,
  body .wp-site-blocks>footer .wp-block-column:has(>.wp-block-spacer:only-child),
  body .wp-site-blocks>footer .wp-block-site-logo:has(a[style*="display:none"]),
  body .wp-site-blocks>footer .wp-block-group:has(>nav):not(:has(>:not(nav))){display:none!important}
  body .wp-site-blocks>footer .wp-block-columns{gap:0!important;margin:0!important}
  body .wp-site-blocks>footer .wp-block-group.alignfull{gap:10px!important;margin:0!important;align-items:flex-start!important;justify-content:flex-start!important}
  body .wp-site-blocks>footer .wp-block-site-title{margin:0 0 10px!important;line-height:1.3}
  body .wp-site-blocks>footer .wp-block-site-title a{font-size:21px!important;line-height:1.3}
  body .wp-site-blocks>footer .wp-block-site-tagline{font-size:14px!important;line-height:1.6!important;margin:0!important}
  body .wp-site-blocks>footer .wp-block-group.alignfull:has(>.has-small-font-size){margin-top:18px!important;gap:8px 16px!important}
  body .wp-site-blocks>footer .has-small-font-size{font-size:12px!important;margin:0!important;line-height:1.5}
  body .wp-site-blocks>footer .ai-publisher-credit{padding:16px 0 0!important;margin:16px 0 0!important;font-size:12px!important;line-height:1.6!important}
}
@media(max-width:480px){
  body.home .wp-block-post-content div[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
}
