/* Shared header and footer. Same look on every template; loaded after page CSS.
   Sizes are in px so pages with a different root font size render alike. */
@font-face{font-family:"NO Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/inter-variable-font.woff2") format("woff2")}
:root{--fh:60px}
.h *,.mob *,.ft *{margin:0;padding:0;box-sizing:border-box}
header.h,nav.mob,footer.ft{font-family:"NO Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6;letter-spacing:normal;text-align:left;text-transform:none;-webkit-font-smoothing:antialiased}
header.h a,nav.mob a,footer.ft a{color:#fff;text-decoration:none}
header.h ul,footer.ft ul{list-style:none}
header.h li,footer.ft li{margin:0;padding:0}
header.h button{font-family:inherit;line-height:1.6}
header.h a:focus-visible,header.h button:focus-visible,nav.mob a:focus-visible,footer.ft a:focus-visible{outline:2px solid #e8c87a;outline-offset:2px}

/* Brand */
header.h a.h-brand,footer.ft a.ft-brand{font-weight:700;color:#fff;white-space:nowrap;line-height:1;letter-spacing:-.01em;text-transform:none;text-decoration:none}
header.h a.h-brand{display:block;flex-shrink:0;font-size:21px}
footer.ft a.ft-brand{display:inline-block;font-size:21px}
header.h .h-brand em,footer.ft .ft-brand em{color:#e8c87a;font-style:normal;font-weight:700}

/* Header */
header.h{display:block;position:sticky;top:0;left:auto;right:auto;z-index:200;width:100%;height:60px;margin:0;padding:0;background:#1d4e7a;border:0;border-bottom:1px solid #14304a;box-shadow:none;color:#fff}
header.h::after,header.h::before{content:none}
header.h .h-in{max-width:1100px;height:100%;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:24px}
header.h .h-nav,header.h a.h-cta{display:none}
header.h .h-nav>ul{display:flex;gap:4px}
header.h .h-nav a,header.h .h-nav .nt{display:flex;align-items:center;gap:5px;min-height:44px;padding:8px 12px;color:#fff;font-size:14px;font-weight:500;border-radius:8px;border:0;background:none;white-space:nowrap;cursor:pointer;width:auto}
header.h .h-nav a:hover,header.h .h-nav .nt:hover{background:rgba(255,255,255,.16)}
header.h .h-dd{position:relative}
header.h .dd{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%,-4px);min-width:210px;padding:8px;background:#14304a;border:1px solid rgba(255,255,255,.25);border-radius:12px;opacity:0;visibility:hidden;transition:opacity .18s,transform .18s}
header.h .dd::before{content:"";position:absolute;inset:-8px 0 auto;height:8px}
header.h .h-dd:hover .dd,header.h .h-dd:focus-within .dd{opacity:1;visibility:visible;transform:translate(-50%,0)}
header.h .dd a{display:block;min-height:0;padding:9px 14px}
header.h .dd a:hover{background:rgba(255,255,255,.14)}
/* "Mail Us", as styled on the home page */
header.h a.h-cta{flex-shrink:0;background:#e8c87a;color:#1a1a1a;font-size:12px;font-weight:700;line-height:1.7;padding:6.4px 16px;border:0;border-radius:16px;letter-spacing:.02em;box-shadow:0 2px 8px rgba(0,0,0,.12)}
header.h a.h-cta:hover{opacity:.88}
header.h .hbg{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;margin-left:auto;background:none;border:0;cursor:pointer}
header.h .hbg span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
header.h .hbg.o span:nth-child(1){transform:translateY(7px) rotate(45deg)}
header.h .hbg.o span:nth-child(2){opacity:0}
header.h .hbg.o span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile drawer */
nav.mob{display:block;position:fixed;top:60px;left:0;right:0;z-index:199;max-height:calc(100vh - 60px);overflow-y:auto;padding:16px 20px 40px;background:#14304a;border-radius:0 0 16px 16px;box-shadow:0 20px 40px rgba(0,0,0,.35);opacity:0;visibility:hidden;pointer-events:none;transform:none;transition:opacity .2s,visibility .2s;-webkit-mask-image:none;mask-image:none}
nav.mob.o{opacity:1;visibility:visible;pointer-events:auto}
nav.mob>a,nav.mob .msec{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:10px 5px;color:#fff;font-size:16px;border-bottom:1px solid rgba(255,255,255,.18);border-image:none;cursor:pointer}
nav.mob .msub{display:none;padding-left:16px}
nav.mob .msub.o{display:block}
nav.mob .msub a{display:block;padding:8px 5px;font-size:14px}
nav.mob>a.mob-mail{margin-top:8px;border:0;color:#e8c87a;font-weight:700}

/* Footer, as on the home page */
footer.ft{display:block;width:100%;margin:0;padding:56px 16px 24px;background:#2d5c88;border:0;color:#fff}
footer.ft .ft-grid{max-width:1100px;margin:0 auto 40px;display:grid;grid-template-columns:1fr;gap:28px}
footer.ft .ft-soc{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
footer.ft .ft-sb{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:none;border:0;border-radius:25%}
footer.ft .ft-sb:hover{opacity:.8}
footer.ft .ft-bot{max-width:1100px;margin:0 auto;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;align-items:flex-start;gap:12px}
footer.ft .ft-copy,footer.ft .ft-bl a{font-size:12px;color:#fff}
footer.ft .ft-bl{display:flex;flex-wrap:wrap;gap:12px 24px}
footer.ft .ft-bl a::before{content:none}
footer.ft .ft-bl a:hover{text-decoration:underline}

@media(min-width:480px){header.h .h-in{padding:0 24px}footer.ft{padding:64px 24px 24px}}
@media(min-width:640px){footer.ft .ft-bot{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}}
@media(min-width:940px){
  header.h .h-nav{display:flex;flex:1;justify-content:center}
  header.h a.h-cta{display:inline-block}
  header.h .hbg,nav.mob{display:none}
}
@media print{header.h,nav.mob,footer.ft{display:none}}
