/* Fleet Foundation brand layer - inspired by academic digital collection layouts */
:root{--fleet-navy:#a90000;--fleet-blue:#e40000;--fleet-ink:#202f3b;--fleet-border:#dce4eb}
body{color:var(--fleet-ink);background:#fff;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
#masthead{background:#fff!important;border-bottom:1px solid var(--fleet-border);padding:1rem max(22px,calc((100vw - 1180px)/2))}
#masthead .navbar-brand{display:inline-flex;align-items:center;min-height:44px}
#masthead #logo .institution_name{font-size:0;display:block;background:url('/fleet-logo.png') left center/contain no-repeat;width:245px;height:50px}
#masthead .nav-link,#masthead .navbar-toggler{color:var(--fleet-navy)!important}
#masthead .navbar-toggler-icon{filter:invert(1)}
.fleet-hero{background:linear-gradient(108deg,rgba(105,0,0,.96),rgba(201,0,0,.91)),radial-gradient(circle at 85% 15%,#f04b4b,#900000);color:#fff;padding:76px 24px 82px}
.fleet-hero-inner{max-width:1140px;margin:0 auto}
.fleet-eyebrow{font-size:.83rem;letter-spacing:.16em;font-weight:750;color:#d2e2ea;margin-bottom:18px}
.fleet-hero h1{font-family:Georgia,serif;font-size:clamp(2.5rem,5vw,4.3rem);line-height:1.13;color:white;max-width:850px}
.fleet-hero p:not(.fleet-eyebrow){font-size:1.15rem;max-width:710px;line-height:1.7;color:#e0ebf1}
.fleet-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:27px}
.fleet-button{display:inline-block;border-radius:3px;padding:13px 21px;font-weight:650;text-decoration:none!important}
.fleet-button-primary{color:#152b40!important;background:#fff}
.fleet-button-secondary{border:1px solid #d2e2ea;color:white!important}
.fleet-button:hover{opacity:.88}
nav[aria-label="Root Menu"]{background:#f5f7f9!important;border-color:var(--fleet-border)!important}
nav[aria-label="Root Menu"] a{color:var(--fleet-navy)!important;font-weight:600}
#content-wrapper{padding-top:32px;padding-bottom:40px}
#content-wrapper .nav-tabs .nav-link.active{border-bottom:3px solid var(--fleet-blue);font-weight:650}
#content-wrapper .btn-primary{background:var(--fleet-blue);border-color:var(--fleet-blue)}
.site-footer{background:var(--fleet-navy)!important}
@media(max-width:700px){#masthead{padding:12px 18px}#masthead #logo .institution_name{width:190px;height:42px}.fleet-hero{padding:48px 20px 55px}.fleet-hero h1{font-size:2.4rem}}

/* Fleet Foundation brand-red overrides and institutional footer */
:root{--fleet-red:#e40000;--fleet-red-dark:#a90000}
#masthead{border-bottom:3px solid var(--fleet-red)}
#content-wrapper .nav-tabs .nav-link.active{border-color:var(--fleet-red)}
#content-wrapper .btn-primary,.btn-primary{background:var(--fleet-red);border-color:var(--fleet-red)}
#content-wrapper .btn-primary:hover,.btn-primary:hover{background:var(--fleet-red-dark);border-color:var(--fleet-red-dark)}
.fleet-footer{background:#a90000!important;color:white;padding:34px max(20px,calc((100vw - 1180px)/2)) 18px;display:block}
.fleet-footer-inner{display:flex;justify-content:space-between;align-items:start;gap:25px;flex-wrap:wrap}
.fleet-footer strong{font-size:1.12rem;color:#fff}
.fleet-footer p{color:#ffe7e7;margin:8px 0 18px}
.fleet-footer-links{display:flex;gap:18px;flex-wrap:wrap}
.fleet-footer a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.fleet-footer a:hover{color:#ffe2e2!important}
.fleet-footer-bottom{border-top:1px solid rgba(255,255,255,.3);padding-top:14px;font-size:.8rem;color:#fff;margin-top:12px}

.fleet-footer{height:auto!important;min-height:180px!important;overflow:visible!important;box-sizing:border-box!important;padding-bottom:26px!important}.fleet-footer-inner{min-height:70px}.fleet-copyright-centered{clear:both;display:block!important;position:relative!important;width:100%;margin:20px auto 0!important;padding:14px 0 0!important;border-top:1px solid rgba(255,255,255,.35);text-align:center!important;color:#fff!important;font-size:14px!important;line-height:1.6!important;visibility:visible!important;opacity:1!important}@media(max-width:700px){.fleet-footer{padding-bottom:25px!important}.fleet-copyright-centered{margin-top:15px!important}}

/* Shared 1140px content grid: masthead, navigation, body and footer */
:root{--fleet-content-width:1140px}
#masthead{padding-left:max(20px,calc((100vw - var(--fleet-content-width))/2))!important;padding-right:max(20px,calc((100vw - var(--fleet-content-width))/2))!important}
nav[aria-label="Root Menu"]{padding-left:max(20px,calc((100vw - var(--fleet-content-width))/2))!important;padding-right:max(20px,calc((100vw - var(--fleet-content-width))/2))!important;gap:18px}
nav[aria-label="Root Menu"] > .navbar-nav{padding-left:0!important;margin-left:0!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;display:flex;flex-wrap:wrap}
nav[aria-label="Root Menu"] > .navbar-nav .nav-link{padding-left:0!important;padding-right:18px!important}
nav[aria-label="Root Menu"] > div.col-sm-7{flex:1 1 530px!important;max-width:700px!important;width:auto!important;padding-right:0!important}
#content-wrapper{max-width:1170px!important;margin-left:auto!important;margin-right:auto!important;padding-left:15px!important;padding-right:15px!important;min-height:320px}
.fleet-hero-inner{max-width:1140px}
@media(max-width:800px){nav[aria-label="Root Menu"]{flex-wrap:wrap!important;padding-left:20px!important;padding-right:20px!important}nav[aria-label="Root Menu"] > div.col-sm-7{flex:1 1 100%!important;max-width:100%!important;padding-left:0!important}}

/* Keep contact form and all public page content above footer */
html{min-height:100%;height:auto!important}
body{min-height:100vh!important;display:flex!important;flex-direction:column!important;margin-bottom:0!important}
#content-wrapper{width:100%;flex:1 0 auto!important;min-height:0!important;padding-bottom:55px!important}
.fleet-footer.site-footer{position:relative!important;bottom:auto!important;top:auto!important;left:auto!important;right:auto!important;flex-shrink:0!important;height:auto!important;min-height:180px!important;margin-top:24px!important;overflow:visible!important}
#new_contact_form{margin-bottom:24px!important}
#new_contact_form .form-group{margin-bottom:18px!important}
#new_contact_form textarea{min-height:140px}

/* Dashboard must not inherit the public site's centered/flex content grid. */
body.dashboard{
  display:block!important;
  min-height:100vh!important;
  margin:0!important;
  padding-top:3.5rem!important;
}
body.dashboard #content-wrapper{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  min-height:calc(100vh - 3.5rem)!important;
  flex:none!important;
}
body.dashboard #content-wrapper > .sidebar{left:0}
body.dashboard #content-wrapper > .main-content{
  left:0;
  right:0;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
}
body.dashboard #masthead{width:100%}
