.maethe-burger{display:none}.maethe-search-open{background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}#maethe-search-panel{position:fixed;inset:0 0 auto;width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;padding:24px 32px;border:0;background:#fff;color:#171717;font:12px Arial;overflow-y:auto;animation:maethe-search-enter .3s ease-out}#maethe-search-panel::backdrop{background:rgb(0 0 0 / .1)}.maethe-search-logo{width:184px;height:auto}.maethe-search-close{position:absolute;right:24px;top:16px;border:0;background:none;font-size:26px;cursor:pointer}.maethe-search-top{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:start;gap:30px;margin-top:28px}.maethe-search-top nav{display:flex;gap:32px}.maethe-search-top summary{cursor:pointer;list-style:none}.maethe-search-top ul{padding:12px 0;margin:0;list-style:none}.maethe-search-top li{margin-bottom:8px}.maethe-search-top a{color:inherit;text-decoration:none}.maethe-search-top input{width:100%;border:0;border-bottom:1px solid #111;border-radius:0;padding:5px 0;font:inherit}.maethe-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 0}.maethe-search-results a{display:flex;flex-direction:column;text-align:center;gap:8px;text-decoration:none;color:inherit}.maethe-search-results img{width:100%;aspect-ratio:3/4;object-fit:cover;margin-bottom:12px}.maethe-search-results+*{margin:0}@keyframes maethe-search-enter{from{transform:translateY(-100%)}to{transform:translateY(0)}}
@media(max-width:760px){.maethe-burger{display:block;position:fixed;left:16px;top:22px;z-index:1100;border:0;background:transparent;color:#111;font-size:22px;cursor:pointer}.maethe-header .maethe-logo{left:52px;top:24px;width:120px}.maethe-header .maethe-nav{display:none}.maethe-header.maethe-mobile-open{position:fixed;inset:0;background:#fff;color:#111;z-index:1050;overflow:auto}.maethe-header.maethe-mobile-open .maethe-nav{display:block;position:static;max-width:none;max-height:none;text-align:left;margin:0 16px;mix-blend-mode:normal;color:#111}.maethe-header.maethe-mobile-open .maethe-nav--left{margin-top:100px}.maethe-header.maethe-mobile-open .maethe-nav--right{margin-top:24px;margin-bottom:32px}.maethe-header.maethe-mobile-open .maethe-nav>ul{max-height:none;overflow:visible}.maethe-header.maethe-mobile-open .maethe-logo{mix-blend-mode:normal}.maethe-header.maethe-mobile-open .maethe-logo img{filter:none}#maethe-search-panel{padding:24px 16px}.maethe-search-top{grid-template-columns:1fr;gap:20px}.maethe-search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 8px}}
@media(prefers-reduced-motion:reduce){#maethe-search-panel{animation:none}}

#maethe-search-panel{height:auto;max-height:100dvh;cursor:auto}#maethe-search-panel.has-results{height:100dvh}#maethe-search-panel *{cursor:auto}#maethe-search-panel a,#maethe-search-panel button,#maethe-search-panel summary{cursor:pointer}#maethe-search-panel input{cursor:text;border:0!important;border-bottom:1px solid #111!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline-offset:4px}#maethe-search-panel::backdrop{background:transparent}.maethe-search-results{gap:0!important}#maethe-search-panel .maethe-search-results img{filter:none;object-fit:cover;margin:0;aspect-ratio:3/4}

@media(max-width:760px){.maethe-burger{font-size:28px;line-height:1;width:32px;height:32px;color:#fff;mix-blend-mode:difference}.maethe-header.maethe-mobile-open .maethe-burger{color:#111;mix-blend-mode:normal}}

@media(max-width:760px){.maethe-burger{font-size:34px;width:40px;height:40px;top:18px;left:12px}.maethe-header .maethe-logo{left:60px}}

/* SEARCH : même soulignage progressif que les autres liens du header. */
.maethe-header .maethe-nav .maethe-search-open {
    display: inline-block;
    padding: 0 0 2px;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left calc(100% - 2px);
    background-size: 0% 1px;
    transition: background-size .3s ease;
    text-decoration: none;
}
.maethe-header .maethe-nav .maethe-search-open:hover,
.maethe-header .maethe-nav .maethe-search-open:focus-visible {
    background-size: 100% 1px;
    text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
    .maethe-header .maethe-nav .maethe-search-open { transition: none; }
}
