/* Approved header: Logo centré. */
:root { --mp-header-height: 142px; }
:is(.mp-home,.mp-site) #header {
 display: grid; grid-template-columns: minmax(0,1fr) 320px minmax(0,1fr); align-items: center; gap: 0 20px;
 position: sticky; top: 0; z-index: 9998; min-height: 0; padding: 10px max(24px,calc((100vw - 1200px)/2)) 0;
 background: #fff; background-image: none; border-bottom: 1px solid #eee5ea; box-shadow: 0 3px 16px #3020320a;
}
:is(.mp-home,.mp-site) #header .mp-home-logo { grid-column: 2; grid-row: 1; padding: 0; margin: 0; justify-self: center; }
:is(.mp-home,.mp-site) #header #logo { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
:is(.mp-home,.mp-site) #header #logo img { width: 310px; height: auto; max-width: 100%; display: block; }
.mp-header-tagline { grid-column: 1; grid-row: 1; text-align: left; font-size: .82rem; color: #76616d; line-height: 1.5; }
.mp-header-contact { grid-column: 3; grid-row: 1; justify-self: end; font-size: .82rem; color: #a8325c; border: 0; line-height: 1.5; }
.mp-header-contact:hover { color: #822140; }
:is(.mp-home,.mp-site) #header #nav { grid-column: 1/-1; grid-row: 2; width: 100%; margin-top: 10px; border-top: 1px solid #f1e8ec; background: transparent; text-align: center; }
:is(.mp-home,.mp-site) #header #nav > ul { display: flex; justify-content: center; align-items: center; gap: 24px; }
:is(.mp-home,.mp-site) #header #nav > ul > li { margin: 0; }
:is(.mp-home,.mp-site) #header #nav > ul > li > a { padding: 14px 9px; border-radius: 0; font-size: .78rem; color: #454047; letter-spacing: .05em; font-weight: 600; line-height: 1.5; }
:is(.mp-home,.mp-site) #header #nav > ul > li.current > a,
:is(.mp-home,.mp-site) #header #nav a[aria-current=page],
:is(.mp-home,.mp-site) #header #nav > ul > li > a:hover { background: transparent; color: #b63865; box-shadow: inset 0 -2px #d25883; }
.mp-custom-card, .mp-info-card { scroll-margin-top: 165px; }
@media(max-width:980px) and (min-width:841px) {
 :is(.mp-home,.mp-site) #header { grid-template-columns: minmax(0,1fr) 290px minmax(0,1fr); gap: 0 12px; }
 :is(.mp-home,.mp-site) #header #logo img { width: 290px; }
 .mp-header-tagline, .mp-header-contact { font-size: .75rem; }
}
@media(max-width:840px) {
 :root { --mp-header-height: 84px; }
 :is(.mp-home,.mp-site) #header { display: none; }
 body #page-wrapper { padding-top: 84px; }
 :is(.mp-home,.mp-site) #titleBar { height: 84px; line-height: 84px; background: #fff; border-bottom: 2px solid #d25883; box-shadow: 0 2px 10px #30203209; }
 :is(.mp-home,.mp-site) #titleBar .title { display: flex; align-items: center; justify-content: center; height: 84px; border: 0; }
 :is(.mp-home,.mp-site) #titleBar .title img { width: 245px; height: auto; max-width: 66vw; max-height: 72px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; box-sizing: border-box; }
 :is(.mp-home,.mp-site) #titleBar .toggle { height: 84px; width: 60px; }
 :is(.mp-home,.mp-site) #titleBar .toggle:before { height: 84px; line-height: 84px; color: #a8325c; }
 .mp-custom-card, .mp-info-card { scroll-margin-top: 105px; }
}
