/* Shared site header: desktop text links (44px tap targets) + Menu on small screens.
   Loaded after each page's inline CSS so these rules win on equal or higher specificity. */
header.top{
  position:relative;
  background:#F5F2EE;
  color:#0E0E0E;
  font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
header.top .wrap{
  display:flex;
  align-items:center;
  gap:.65rem;
  height:auto;
  min-height:64px;
  max-width:68rem;
  margin:0 auto;
  padding:0 1.25rem;
  box-sizing:border-box;
  flex-wrap:nowrap;
}
header.top a.brand{
  display:flex;
  align-items:center;
  gap:.65rem;
  min-height:44px;
  text-decoration:none;
  color:inherit;
  font:400 1.35rem/1 "Instrument Serif",ui-serif,Georgia,"Times New Roman",serif;
  letter-spacing:0;
  flex:0 1 auto;
  min-width:0;
}
header.top a.brand img{
  width:36px;
  height:36px;
  border-radius:50%;
  display:block;
  flex:none;
}
header.top a.brand .name{font:inherit;white-space:nowrap}
header.top nav.primary{
  margin-left:auto;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:.15rem;
  padding:0;
}
header.top nav.primary a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 .7rem;
  font:600 .9rem/1.2 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-decoration:none;
  color:inherit;
  white-space:nowrap;
  box-sizing:border-box;
}
header.top nav.primary a:hover{color:#A4161A}
header.top .menu{
  display:none;
  margin-left:auto;
  position:static;
}
header.top .menu>summary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  min-width:44px;
  padding:0 1rem;
  list-style:none;
  cursor:pointer;
  font:700 .95rem/1 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:#0E0E0E;
  background:#fff;
  border:1.5px solid #0E0E0E;
  border-radius:99px;
  box-sizing:border-box;
}
header.top .menu>summary::-webkit-details-marker{display:none}
header.top .menu>summary::marker{content:""}
header.top .menu[open]>summary{background:#0E0E0E;color:#F5F2EE}
header.top .menu-panel{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:40;
  display:flex;
  flex-direction:column;
  gap:0;
  margin:0;
  padding:.4rem 1.25rem .7rem;
  background:#F5F2EE;
  border-bottom:1px solid #D9D3CB;
  box-shadow:0 8px 16px rgba(14,14,14,.06);
}
header.top .menu-panel a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 .2rem;
  font:600 1rem/1.2 -apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-decoration:none;
  color:#0E0E0E;
  border-bottom:1px solid #E8E2DA;
  box-sizing:border-box;
}
header.top .menu-panel a:last-child{border-bottom:0}
header.top .menu-panel a:hover{color:#A4161A}
header.top :focus-visible{outline:3px solid #A4161A;outline-offset:3px}

@media (max-width:720px){
  header.top nav.primary{display:none}
  header.top .menu{display:block}
}
@media (min-width:721px){
  header.top .menu{display:none}
}
@media print{
  header.top .menu{display:none}
  header.top nav.primary{display:flex}
}

@media (max-width:360px){
  header.top .wrap{min-height:56px}
}
