/* V9 — Navigation unifiée sur toutes les pages.
   La V8 utilisait .v7-nav mais plusieurs pages ne chargeaient pas les styles .v6-header/.v6-nav.
   Ce composant est autonome, encapsulé et responsive. */
.v7-site-header,
.v7-site-header * {box-sizing:border-box}
.v7-site-header {
  width:100%; height:78px; top:0; left:0; right:0;
  z-index:9999; color:#f6f1e8;
  background:rgba(3,17,31,.97);
  border-bottom:1px solid rgba(218,181,119,.22);
  box-shadow:0 6px 22px rgba(0,0,0,.10);
  font-family:'DM Sans','Inter',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body:not(.v7-interior):not(.v8-sos-page) .v7-site-header {position:absolute}
body.v7-interior .v7-site-header {position:sticky;top:0}
body.v8-sos-page .v7-site-header {position:relative}
.v7-site-header .v6-header-inner {
  width:min(1600px,calc(100% - 76px));height:100%;
  margin:0 auto;display:flex;align-items:center;
  gap:clamp(14px,1.3vw,26px); min-width:0;
}
.v7-site-header .v6-brand,
.v7-site-header .v6-brand:visited {
  display:flex;align-items:center;gap:11px;flex:none;
  color:#fff!important;text-decoration:none!important;
  min-width:0;margin:0;padding:0;
}
.v7-site-header .v6-brand img {display:block;flex:none;width:54px;height:54px;object-fit:contain}
.v7-site-header .v6-brand>span {display:block;min-width:0}
.v7-site-header .v6-brand strong {
  display:block;margin:0;white-space:nowrap;
  color:#f9f6ee;font-family:'Libre Baskerville',Georgia,serif;
  font-size:clamp(15px,1.08vw,19px);font-weight:400;
  font-variant:small-caps;letter-spacing:-.025em;line-height:1.2;
}
.v7-site-header .v6-brand small {
  display:block;margin:4px 0 0;color:#dfccae;
  font-size:8px;line-height:1.5;font-weight:600;
  letter-spacing:.21em;text-align:left;text-transform:uppercase;
}
.v7-site-header .v7-nav {
  display:flex!important;align-items:center;justify-content:center;
  gap:clamp(10px,.95vw,20px);flex:1 1 auto;min-width:0;
  margin:0;padding:0;white-space:nowrap;background:none;border:0;
}
.v7-site-header .v7-nav a,
.v7-site-header .v7-nav a:visited {
  position:relative;display:inline-flex;align-items:center;
  flex:none;min-width:0;margin:0;padding:28px 0;
  color:#f4f0e8!important;text-decoration:none!important;
  font-family:'DM Sans','Inter',Arial,sans-serif;
  font-size:clamp(10px,.73vw,12px);font-weight:600;
  line-height:1.25;letter-spacing:0;overflow-wrap:normal;
  background:none;border:0;box-shadow:none;
}
.v7-site-header .v7-nav a:hover,
.v7-site-header .v7-nav a[aria-current="page"] {color:#eac58b!important}
.v7-site-header .v7-nav a[aria-current="page"]:after {
  content:"";height:2px;position:absolute;bottom:19px;left:0;right:0;
  background:#ddb778;border-radius:2px;
}
.v7-site-header .v7-nav a.v8-sos-nav {display:none!important}
.v7-site-header .v6-head-actions {
  display:flex;align-items:center;justify-content:flex-end;
  gap:10px;margin:0 0 0 auto;flex:none;min-width:0;
}
.v7-site-header .v8-sos-quick,
.v7-site-header .v8-sos-quick:visited {
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 13px;line-height:1.25;white-space:nowrap;
  border:1px solid rgba(222,184,120,.75);border-radius:4px;
  text-decoration:none!important;background:transparent;
  color:#f1d3a2!important;font-family:'DM Sans',Arial,sans-serif;
  font-size:11px;font-weight:700;
}
.v7-site-header .v8-sos-quick:hover {background:rgba(232,191,128,.14)}
.v7-site-header .v6-donate,
.v7-site-header .v6-donate:visited {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  white-space:nowrap;min-width:125px;margin:0;
  padding:12px 15px;background:linear-gradient(125deg,#efce91,#c9a060);
  color:#111c29!important;text-decoration:none!important;
  border-radius:4px;border:0;box-shadow:none;
  font-family:'DM Sans',Arial,sans-serif;font-size:11px;font-weight:700;line-height:1.25;
}
.v7-site-header .v6-donate:hover {background:#f3d69f}
.v7-site-header .v6-menu-toggle {
  display:none;flex:none;width:44px;height:44px;align-items:center;
  justify-content:center;flex-direction:column;gap:5px;
  margin:0;padding:7px;background:#0b263b;
  border:1px solid rgba(211,170,108,.55);border-radius:5px;cursor:pointer;
}
.v7-site-header .v6-menu-toggle span {
  display:block;width:23px;height:2px;min-height:2px;
  margin:0;background:#f6e7cf;border-radius:2px;
}
.v7-site-header .v6-menu-toggle:focus-visible,
.v7-site-header a:focus-visible {outline:2px solid #e4be83;outline-offset:4px}
.v7-site-header .v6-mobile-nav[hidden] {display:none!important}
.v7-site-header .v6-mobile-nav {
  position:absolute;top:100%;left:0;right:0;z-index:9999;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 22px;background:#061827;color:#fff;
  padding:16px max(30px,calc((100% - 1300px)/2)) 25px;
  max-height:calc(100dvh - 70px);overflow:auto;
  border-bottom:1px solid rgba(226,185,113,.55);
  box-shadow:0 20px 45px rgba(0,0,0,.35);
}
.v7-site-header .v6-mobile-nav a,
.v7-site-header .v6-mobile-nav a:visited {
  display:block;margin:0;padding:15px 8px;
  border-bottom:1px solid rgba(255,255,255,.12);
  text-decoration:none!important;color:#f3f1ec!important;
  font:600 14px/1.35 'DM Sans','Inter',Arial,sans-serif;
}
.v7-site-header .v6-mobile-nav a[aria-current="page"],
.v7-site-header .v6-mobile-nav a:hover {color:#e7bd7e!important}
.v7-site-header .v6-mobile-nav a.v8-sos-nav {color:#f4cb86!important}
@media(max-width:1410px){
 .v7-site-header .v6-header-inner {width:calc(100% - 56px)}
 .v7-site-header .v7-nav {display:none!important}
 .v7-site-header .v6-menu-toggle {display:flex!important}
}
@media(max-width:760px){
 .v7-site-header {height:66px}
 .v7-site-header .v6-header-inner {width:calc(100% - 30px);gap:10px}
 .v7-site-header .v6-brand img {width:42px;height:42px}
 .v7-site-header .v6-brand strong {font-size:clamp(12px,2.8vw,16px)}
 .v7-site-header .v6-brand small {font-size:7px;letter-spacing:.12em}
 .v7-site-header .v8-sos-quick {display:none!important}
 .v7-site-header .v6-mobile-nav {grid-template-columns:1fr;padding:10px 19px 21px}
 .v7-site-header .v6-donate {min-width:0;padding:10px 12px;font-size:10px}
 .v7-site-header .v6-donate span {display:none}
}
@media(max-width:440px){
 .v7-site-header .v6-header-inner {width:calc(100% - 22px)}
 .v7-site-header .v6-brand img {width:38px;height:38px}
 .v7-site-header .v6-brand strong {font-size:12px}
 .v7-site-header .v6-brand small {font-size:6px;letter-spacing:.09em}
 .v7-site-header .v6-donate {display:none!important}
 .v7-site-header .v6-menu-toggle {width:41px;height:41px}
}
/* Polishing: same header height on the internal pages, and readable campus introduction. */
body.v7-interior .v7-site-header{height:78px}
body.v7-interior .v7-site-header .v6-header-inner{height:100%}
body.v7-campus-page .v7-intro{background:#0b2536;color:#f7f2e8;border-top:1px solid rgba(218,181,119,.16)}
body.v7-campus-page .v7-intro h2{color:#f7f2e8}
body.v7-campus-page .v7-intro h2 em{color:#d9b578}
body.v7-campus-page .v7-intro p{color:#d7e0e7}
body.v7-campus-page .v7-intro .v7-overline,body.v7-campus-page .v7-intro .v7-source{color:#dfb980}
@media(max-width:760px){body.v7-interior .v7-site-header{height:66px}}
