/* Maudimi V53 - article desktop, search and rubrique filtering polish. */

body.maudimi-fse-v53 .maudimi-single-hero-v32,
.editor-styles-wrapper .maudimi-single-hero-v32 {
  padding-top: clamp(3rem, 6vw, 5.5rem) !important;
  padding-bottom: clamp(2.75rem, 5vw, 4.75rem) !important;
}

body.maudimi-fse-v53 .maudimi-single-hero-v32 .wp-block-post-title,
.editor-styles-wrapper .maudimi-single-hero-v32 .wp-block-post-title {
  max-width: 1040px !important;
  font-size: clamp(3rem, 4.9vw, 5.9rem) !important;
  line-height: 1.01 !important;
  overflow-wrap: anywhere;
}

body.maudimi-fse-v53 .maudimi-single-hero-v32 .wp-block-post-terms,
body.maudimi-fse-v53 .maudimi-single-hero-v32 .wp-block-post-date,
.editor-styles-wrapper .maudimi-single-hero-v32 .wp-block-post-terms,
.editor-styles-wrapper .maudimi-single-hero-v32 .wp-block-post-date {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .4rem;
  max-width: 100%;
}

body.maudimi-fse-v53 .maudimi-single-content-v32,
.editor-styles-wrapper .maudimi-single-content-v32 {
  width: min(calc(100% - 2rem), 820px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 > *,
.editor-styles-wrapper .maudimi-single-content-v32 > * {
  box-sizing: border-box;
  max-width: 100% !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 > :where(.alignwide, .alignfull),
.editor-styles-wrapper .maudimi-single-content-v32 > :where(.alignwide, .alignfull) {
  width: min(100%, 920px) !important;
  max-width: 920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 :where(.wp-block-group, .wp-block-quote, .wp-block-pullquote, .wp-block-list, .wp-block-table),
.editor-styles-wrapper .maudimi-single-content-v32 :where(.wp-block-group, .wp-block-quote, .wp-block-pullquote, .wp-block-list, .wp-block-table) {
  max-width: 100%;
  box-sizing: border-box;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 blockquote,
body.maudimi-fse-v53 .maudimi-single-content-v32 .wp-block-quote,
body.maudimi-fse-v53 .maudimi-single-content-v32 .wp-block-pullquote,
.editor-styles-wrapper .maudimi-single-content-v32 blockquote,
.editor-styles-wrapper .maudimi-single-content-v32 .wp-block-quote,
.editor-styles-wrapper .maudimi-single-content-v32 .wp-block-pullquote {
  margin-right: auto !important;
  margin-left: auto !important;
  padding: clamp(1rem, 2vw, 1.45rem) clamp(1rem, 2vw, 1.7rem) !important;
  border-radius: 18px !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 blockquote p:first-of-type::first-letter,
body.maudimi-fse-v53 .maudimi-single-content-v32 .wp-block-quote p:first-of-type::first-letter,
body.maudimi-fse-v53 .maudimi-single-content-v32 .wp-block-pullquote p:first-of-type::first-letter,
.editor-styles-wrapper .maudimi-single-content-v32 blockquote p:first-of-type::first-letter,
.editor-styles-wrapper .maudimi-single-content-v32 .wp-block-quote p:first-of-type::first-letter,
.editor-styles-wrapper .maudimi-single-content-v32 .wp-block-pullquote p:first-of-type::first-letter {
  float: none !important;
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 :where(.has-background, .mdm-note, .maudimi-note),
.editor-styles-wrapper .maudimi-single-content-v32 :where(.has-background, .mdm-note, .maudimi-note) {
  overflow: hidden;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 :where(.has-background, .mdm-note, .maudimi-note) :where(p, li),
.editor-styles-wrapper .maudimi-single-content-v32 :where(.has-background, .mdm-note, .maudimi-note) :where(p, li) {
  color: inherit !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 :where(.has-background, .mdm-note, .maudimi-note) li::marker,
.editor-styles-wrapper .maudimi-single-content-v32 :where(.has-background, .mdm-note, .maudimi-note) li::marker {
  color: currentColor !important;
}

body.maudimi-fse-v53 .maudimi-single-content-v32 .wp-block-list,
.editor-styles-wrapper .maudimi-single-content-v32 .wp-block-list {
  padding-left: 1.25rem;
}

body.maudimi-fse-v53 .maudimi-article-search-v53,
body.maudimi-fse-v53 .maudimi-search-v53,
.editor-styles-wrapper .maudimi-article-search-v53,
.editor-styles-wrapper .maudimi-search-v53 {
  width: min(100%, 760px) !important;
  margin: 1.4rem 0 1.7rem !important;
}

body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__inside-wrapper,
body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__inside-wrapper,
.editor-styles-wrapper .maudimi-article-search-v53 .wp-block-search__inside-wrapper,
.editor-styles-wrapper .maudimi-search-v53 .wp-block-search__inside-wrapper {
  display: flex;
  gap: .75rem;
  padding: .45rem;
  border: 1px solid rgba(202, 169, 107, .32);
  border-radius: 999px;
  background: rgba(255, 247, 231, .08);
  box-shadow: 0 18px 56px rgba(0, 0, 0, .22);
}

body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__input,
body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__input,
.editor-styles-wrapper .maudimi-article-search-v53 .wp-block-search__input,
.editor-styles-wrapper .maudimi-search-v53 .wp-block-search__input {
  min-height: 48px;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff4df !important;
  padding: .7rem 1rem !important;
}

body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__button,
body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__button,
.editor-styles-wrapper .maudimi-article-search-v53 .wp-block-search__button,
.editor-styles-wrapper .maudimi-search-v53 .wp-block-search__button {
  min-height: 48px;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f7d88a, #bd8742) !important;
  color: #120b06 !important;
  font-weight: 900 !important;
}

body.maudimi-fse-v53 .maudimi-filter-row {
  margin: 1rem 0 1.4rem !important;
}

body.maudimi-fse-v53 .maudimi-rubrique-query-v53 {
  margin-top: 1.4rem !important;
}

body.maudimi-fse-v53 .maudimi-rubrique-query-v53 .wp-block-post-template,
.editor-styles-wrapper .maudimi-rubrique-query-v53 .wp-block-post-template {
  gap: clamp(1rem, 2vw, 1.35rem) !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__inside-wrapper,
html.maudimi-mode-light body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__inside-wrapper,
body.maudimi-theme-light.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__inside-wrapper,
body.maudimi-theme-light.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__inside-wrapper {
  background: rgba(255, 250, 239, .94);
  border-color: rgba(130, 84, 44, .24);
  box-shadow: 0 18px 52px rgba(75, 49, 29, .12);
}

html.maudimi-mode-light body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__input,
html.maudimi-mode-light body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__input,
body.maudimi-theme-light.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__input,
body.maudimi-theme-light.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__input {
  color: #21160f !important;
}

@media (max-width: 780px) {
  body.maudimi-fse-v53 .maudimi-single-hero-v32,
  .editor-styles-wrapper .maudimi-single-hero-v32 {
    padding-top: clamp(2rem, 10vw, 3.25rem) !important;
    padding-bottom: clamp(2rem, 10vw, 3rem) !important;
  }

  body.maudimi-fse-v53 .maudimi-single-hero-v32 .wp-block-post-title,
  .editor-styles-wrapper .maudimi-single-hero-v32 .wp-block-post-title {
    font-size: clamp(2.55rem, 14vw, 4.25rem) !important;
  }

  body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__inside-wrapper,
  body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__inside-wrapper,
  .editor-styles-wrapper .maudimi-article-search-v53 .wp-block-search__inside-wrapper,
  .editor-styles-wrapper .maudimi-search-v53 .wp-block-search__inside-wrapper {
    display: grid;
    border-radius: 24px;
  }

  body.maudimi-fse-v53 .maudimi-article-search-v53 .wp-block-search__button,
  body.maudimi-fse-v53 .maudimi-search-v53 .wp-block-search__button,
  .editor-styles-wrapper .maudimi-article-search-v53 .wp-block-search__button,
  .editor-styles-wrapper .maudimi-search-v53 .wp-block-search__button {
    width: 100%;
  }
}

/* Maudimi V53.1 - colorimetry and compact CTA/menu polish. */
body.maudimi-fse-v53 :where(.wp-block-button__link, .wp-element-button, .maudimi-button, .maudimi-form-inline button, .maudimi-contact-form button),
.editor-styles-wrapper :where(.wp-block-button__link, .wp-element-button, .maudimi-button, .maudimi-form-inline button, .maudimi-contact-form button) {
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 42px !important;
  padding: .72rem 1rem !important;
  border-radius: 15px !important;
  line-height: 1.08 !important;
  letter-spacing: .045em !important;
  white-space: normal !important;
}

body.maudimi-fse-v53 :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more),
.editor-styles-wrapper :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 40px !important;
  margin-top: 1rem !important;
  padding: .62rem .86rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(224, 185, 109, .46) !important;
  background: rgba(255, 244, 223, .08) !important;
  color: #f1c66f !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

body.maudimi-fse-v53 :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more):hover {
  border-color: rgba(247, 216, 138, .72) !important;
  background: rgba(224, 185, 109, .16) !important;
  color: #fff4df !important;
  transform: translateY(-1px) !important;
}

body.maudimi-fse-v53 .mdm-header .wp-block-navigation-item__content,
body.maudimi-fse-v53 .mdm-desktop-nav-v46 .wp-block-navigation-item__content {
  min-height: 36px !important;
  padding: .5rem .58rem !important;
  border-radius: 12px !important;
  line-height: 1 !important;
}

body.maudimi-fse-v53 .mdm-nav-cta-v46 a,
body.maudimi-fse-v53 .mdm-desktop-nav-v46 .mdm-nav-cta-v46 .wp-block-navigation-item__content {
  min-height: 44px !important;
  padding: .72rem .96rem !important;
  border-radius: 16px !important;
  width: auto !important;
  box-shadow: 0 12px 30px rgba(180, 122, 66, .22) !important;
}

@media (max-width: 1080px) {
  body.maudimi-fse-v53 .mdm-global-mobile-toggle-v48,
  body.maudimi-fse-v53 .mdm-mobile-toggle-v46 {
    min-width: auto !important;
    min-height: 46px !important;
    padding: .68rem .9rem !important;
    border-radius: 16px !important;
    line-height: 1 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .38) !important;
    overflow: hidden !important;
  }

  body.maudimi-fse-v53 .mdm-global-mobile-toggle-v48::before,
  body.maudimi-fse-v53 .mdm-global-mobile-toggle-v48::after,
  body.maudimi-fse-v53 .mdm-global-mobile-toggle-v48 i::before,
  body.maudimi-fse-v53 .mdm-global-mobile-toggle-v48 i::after,
  body.maudimi-fse-v53 .mdm-mobile-toggle-v46::before,
  body.maudimi-fse-v53 .mdm-mobile-toggle-v46::after {
    content: none !important;
    display: none !important;
  }

  body.maudimi-fse-v53 .mdm-global-mobile-toggle-v48[aria-expanded="true"] {
    border-radius: 16px !important;
  }
}

body.maudimi-fse-v53 :where(.maudimi-page-hero, .maudimi-page-hero-v41, .wp-block-cover.maudimi-page-hero),
.editor-styles-wrapper :where(.maudimi-page-hero, .maudimi-page-hero-v41, .wp-block-cover.maudimi-page-hero) {
  color: #fff4df !important;
}

body.maudimi-fse-v53 :where(.maudimi-page-hero, .maudimi-page-hero-v41) .wp-block-cover__background,
.editor-styles-wrapper :where(.maudimi-page-hero, .maudimi-page-hero-v41) .wp-block-cover__background {
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(5, 3, 2, .78), rgba(5, 3, 2, .52) 48%, rgba(5, 3, 2, .24)) !important;
}

body.maudimi-fse-v53 :where(.maudimi-page-hero, .maudimi-page-hero-v41) :where(h1, h2, h3, .wp-block-heading, .wp-block-query-title),
.editor-styles-wrapper :where(.maudimi-page-hero, .maudimi-page-hero-v41) :where(h1, h2, h3, .wp-block-heading, .wp-block-query-title) {
  color: #fff4df !important;
  text-shadow: 0 18px 58px rgba(0, 0, 0, .72) !important;
}

body.maudimi-fse-v53 :where(.maudimi-page-hero, .maudimi-page-hero-v41) :where(p, .has-lead-font-size, .maudimi-kicker, .maudimi-breadcrumb),
.editor-styles-wrapper :where(.maudimi-page-hero, .maudimi-page-hero-v41) :where(p, .has-lead-font-size, .maudimi-kicker, .maudimi-breadcrumb) {
  color: rgba(255, 244, 223, .92) !important;
  text-shadow: 0 10px 34px rgba(0, 0, 0, .62) !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form),
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form),
body.maudimi-theme-light.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form),
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form),
.editor-styles-wrapper :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) {
  color: #23170f !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(p, li, label, small, em, figcaption),
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(p, li, label, small, em, figcaption),
body.maudimi-theme-light.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(p, li, label, small, em, figcaption),
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(p, li, label, small, em, figcaption),
.editor-styles-wrapper :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(p, li, label, small, em, figcaption) {
  color: #35251a !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(h1, h2, h3, h4, strong),
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(h1, h2, h3, h4, strong),
body.maudimi-theme-light.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(h1, h2, h3, h4, strong),
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(h1, h2, h3, h4, strong),
.editor-styles-wrapper :where(.mdm-paper, .mdm-note, .maudimi-section-panel, .maudimi-newsletter-box, .maudimi-contact-form) :where(h1, h2, h3, h4, strong) {
  color: #1b1009 !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 .is-style-maudimi-outline .wp-block-button__link,
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 .is-style-maudimi-outline .wp-block-button__link,
body.maudimi-theme-light.maudimi-fse-v53 .is-style-maudimi-outline .wp-block-button__link,
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 .is-style-maudimi-outline .wp-block-button__link,
.editor-styles-wrapper .is-style-maudimi-outline .wp-block-button__link {
  border-color: rgba(128, 58, 44, .36) !important;
  background: rgba(255, 250, 239, .78) !important;
  color: #713025 !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more),
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more),
body.maudimi-theme-light.maudimi-fse-v53 :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more),
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 :where(.wp-block-read-more, .mdm-card-body .wp-block-read-more, .maudimi-latest-v28 .wp-block-read-more, .maudimi-archive-query-v26 .wp-block-read-more, .maudimi-card .wp-block-read-more) {
  border-color: rgba(128, 58, 44, .32) !important;
  background: rgba(255, 250, 239, .78) !important;
  color: #813629 !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 .mdm-footer,
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 .mdm-footer,
body.maudimi-theme-light.maudimi-fse-v53 .mdm-footer,
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 .mdm-footer {
  color: #3a2a1d !important;
}

html.maudimi-mode-light body.maudimi-fse-v53 .mdm-footer :where(h1, h2, h3, h4, p, li, a),
html.maudimi-mode-auto.maudimi-system-light body.maudimi-fse-v53 .mdm-footer :where(h1, h2, h3, h4, p, li, a),
body.maudimi-theme-light.maudimi-fse-v53 .mdm-footer :where(h1, h2, h3, h4, p, li, a),
body.maudimi-theme-auto.maudimi-prefers-light.maudimi-fse-v53 .mdm-footer :where(h1, h2, h3, h4, p, li, a) {
  color: #3a2a1d !important;
}

@media (max-width: 780px) {
  body.maudimi-fse-v53 :where(.wp-block-button__link, .wp-element-button, .maudimi-button, .maudimi-form-inline button, .maudimi-contact-form button, .wp-block-read-more),
  .editor-styles-wrapper :where(.wp-block-button__link, .wp-element-button, .maudimi-button, .maudimi-form-inline button, .maudimi-contact-form button, .wp-block-read-more) {
    min-height: 42px !important;
    padding: .68rem .9rem !important;
    border-radius: 15px !important;
  }
}
