/* En-tête EDL identique sur accueil et fiches livres. */
.top{background:#f4f4f4;color:#777;font-size:12px;padding:9px 0;}
header{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
header span{color:#777;font-size:13px;}
.brand{font:28px Georgia,serif;text-decoration:none;color:#111;}
.brand strong{font-style:italic;}
nav{background:#161616;color:white;}
nav .wrap{padding:16px 0;}
nav a{color:white;text-decoration:none;font-size:13px;}
@media (max-width:800px){header{flex-wrap:wrap;padding:25px 0}}
@media (max-width:480px){nav .wrap{gap:15px}}
@media  (min-width: 900px) {body .wrap, body main.wrap, body header.wrap, body nav .wrap, body footer .wrap {
    width: min(1630px, calc(100% - 40px)) !important;
    max-width: 1630px !important;
    margin-inline: auto !important;
  }}
nav .wrap{display:flex;align-items:center;gap:0;flex-wrap:wrap;}
nav .wrap>a{text-transform:uppercase!important;letter-spacing:.02em;}
.top .edl-social{display:flex;align-items:center;justify-content:flex-end;gap:7px;}
.edl-social a{background:#333;color:white;text-decoration:none;font:bold 12px Arial;display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center;}
.edl-social a:first-of-type{background:#4267a9;}
header.wrap{justify-content:flex-start;gap:clamp(20px,5vw,90px);}
header .brand img{display:block;width:245px;max-width:100%;height:auto;}
header .brand{flex:0 0 auto;}
.edl-search{display:flex;width:min(330px,45%);border:1px solid #e5e5e5;border-radius:2px;height:36px;}
.edl-search input{border:0;outline:0;min-width:0;flex:1;padding:7px 10px;font:13px Arial;}
.edl-search button{border:0;background:white;font-size:23px;cursor:pointer;padding:0 12px;color:#555;}
nav .wrap>a{font-weight:600!important;}

nav+main{padding-top:1px;}
@media (max-width:700px){header.wrap{flex-wrap:wrap;gap:10px;padding:14px 0}
header .brand img{width:185px}
.edl-search{width:100%;max-width:100%}
nav .wrap>a{font-size:13px!important;padding:12px 8px!important}
nav+main .hero{margin-top:22px!important}}
.top{padding:5px 0!important;}
.top .edl-social{justify-content:center!important;font-size:13px;min-height:22px;}
header.wrap{min-height:135px!important;justify-content:space-between!important;gap:28px!important;padding:12px 0!important;}
header .brand img{width:285px!important;}
.edl-search{width:min(360px,35%)!important;height:42px!important;}
header.wrap>span{display:none!important;}
nav .wrap{justify-content:center!important;gap:0!important;padding:0!important;flex-wrap:wrap!important;}
nav .wrap>a{font-size:14px!important;line-height:1.3!important;padding:15px 11px!important;white-space:nowrap!important;}

@media (max-width:800px){header.wrap{min-height:105px!important;flex-wrap:wrap!important}
header .brand img{width:220px!important}
.edl-search{width:45%!important}
nav .wrap>a{font-size:12px!important;padding:11px 8px!important}}
@media (max-width:480px){header.wrap{justify-content:center!important}
.edl-search{width:100%!important}
nav .wrap>a{font-size:11px!important}}
nav+main .hero{margin-top:48px!important;}
@media (max-width:700px){nav+main .hero{margin-top:26px!important}}
