/* Family Health University — DSpace branding layer (2026-10-28)
   Matches the FHU Koha OPAC (fhu.ghlibrary.online): green #006428 / gold #D4A017,
   Playfair Display headings, Inter body. Served only on fhuspace.ghlibrary.online
   via Apache (Substitute + Alias); the shared DSpace build is untouched. */
html:root{
  --fhu-green:#006428; --fhu-green-2:#0A8A3A; --fhu-green-3:#00401A;
  --fhu-gold:#D4A017; --fhu-gold-2:#EBC457; --fhu-gold-ink:#7a5a00;
  --fhu-tint:#f1f6f2; --fhu-ink:#1c2230; --fhu-muted:#5d6b62; --fhu-line:#e1e9e3;
  --fhu-head:'Playfair Display',Georgia,serif; --fhu-body:'Inter',-apple-system,'Segoe UI',Roboto,sans-serif;
  --bs-primary:var(--fhu-green); --bs-link-color:var(--fhu-green); --bs-link-hover-color:var(--fhu-green-3);
  --bs-font-sans-serif:var(--fhu-body);
  --ds-header-bg:#fff; --ds-navbar-bg:#fff;
  --ds-header-icon-color:var(--fhu-green); --ds-header-icon-color-hover:var(--fhu-gold-ink);
  --ds-navbar-link-color:var(--fhu-green); --ds-navbar-link-color-hover:var(--fhu-gold-ink);
  --ds-header-navbar-border-top-color:var(--fhu-gold); --ds-header-navbar-border-bottom-color:var(--fhu-gold);
  --ds-header-navbar-border-bottom-height:4px;
  --ds-expandable-navbar-link-background-hover:var(--fhu-tint);
  --ds-breadcrumb-bg:var(--fhu-tint); --ds-breadcrumb-link-color:var(--fhu-green); --ds-breadcrumb-link-active-color:var(--fhu-ink);
  --ds-footer-bg:var(--fhu-green-3); --ds-top-footer-bg:var(--fhu-green-3);
  --ds-home-news-link-color:var(--fhu-gold-2); --ds-home-news-link-hover-color:#fff;
  --ds-primary-bg:var(--fhu-green);
  --ds-admin-sidebar-header-bg:var(--fhu-green-3);
}
body{font-family:var(--fhu-body);color:var(--fhu-ink);}
h1,h2,h3,.h1,.h2,.h3{font-family:var(--fhu-head);color:var(--fhu-green);font-weight:700;}
html body a{color:var(--fhu-green);} html body a:hover{color:var(--fhu-green-3);}

/* header */
ds-header header, header.header{box-shadow:0 2px 14px rgba(0,64,26,.07);}
ds-header img[src*="dspace-logo"], header img[src*="dspace-logo"]{content:url("/fhu-brand/fhu-logo.svg?v=2");height:46px !important;width:auto !important;max-width:300px;}
@media (max-width:575px){ ds-header img[src*="dspace-logo"], header img[src*="dspace-logo"]{height:34px !important;max-width:200px;} }
.navbar-nav .nav-link, ds-navbar a.nav-link{font-weight:600;}

/* top utility bar (outside the Angular app) */
#fhu-topbar{background:var(--fhu-green-3);color:rgba(255,255,255,.82);font:500 12.5px/1 var(--fhu-body);}
#fhu-topbar .fhu-wrap{max-width:1140px;margin:0 auto;padding:8px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
#fhu-topbar a{color:#fff;text-decoration:none;margin-left:18px;} #fhu-topbar a:first-child{margin-left:0;}
#fhu-topbar a:hover{color:var(--fhu-gold-2);}
#fhu-topbar .fhu-tag{letter-spacing:.14em;text-transform:uppercase;color:var(--fhu-gold-2);font-weight:700;font-size:11px;}
@media (max-width:640px){ #fhu-topbar .fhu-tag{display:none;} #fhu-topbar .fhu-wrap{justify-content:center;} }

/* buttons, forms, pagination */
.btn-primary{background:var(--fhu-green) !important;border-color:var(--fhu-green) !important;color:#fff !important;}
.btn-primary:hover,.btn-primary:focus{background:var(--fhu-green-3) !important;border-color:var(--fhu-green-3) !important;}
.btn-outline-primary{color:var(--fhu-green) !important;border-color:var(--fhu-green) !important;}
.btn-outline-primary:hover{background:var(--fhu-green) !important;color:#fff !important;}
.btn-secondary{background:var(--fhu-green-3) !important;border-color:var(--fhu-green-3) !important;color:#fff !important;}
.form-control:focus{border-color:var(--fhu-green-2);box-shadow:0 0 0 .2rem rgba(10,138,58,.18);}
.page-item.active .page-link{background:var(--fhu-green) !important;border-color:var(--fhu-green) !important;color:#fff !important;}
.page-link{color:var(--fhu-green);}
.badge-primary,.bg-primary{background:var(--fhu-green) !important;}
.search-button .btn, ds-search-form button[type=submit]{background:var(--fhu-gold) !important;border-color:var(--fhu-gold) !important;color:#1a1505 !important;font-weight:700;}
.search-button .btn:hover, ds-search-form button[type=submit]:hover{background:var(--fhu-gold-2) !important;}

/* home hero: replaces the stock "DSpace 8" jumbotron */
ds-home-news .background-image-container, ds-themed-home-news .background-image-container{background:none !important;}
ds-home-news .background-image-container:before, ds-home-news .background-image-container:after, ds-themed-home-news .background-image-container:before, ds-themed-home-news .background-image-container:after{display:none !important;content:none !important;}
ds-home-news .background-image-container > .container, ds-themed-home-news .background-image-container > .container{max-width:none !important;padding:0 !important;}
ds-home-news .background-image-container picture, ds-themed-home-news .background-image-container picture,
ds-home-news .background-image-container small.credits, ds-themed-home-news .background-image-container small,
ds-home-news .background-image-container > picture{display:none !important;}
ds-home-news .jumbotron:not(.fhu-done) > *, ds-themed-home-news .jumbotron:not(.fhu-done) > *{visibility:hidden;}
ds-home-news .jumbotron, ds-themed-home-news .jumbotron{background:none !important;padding:0 !important;margin:0 !important;min-height:0;}
.fhu-hero{position:relative;width:100%;
  background:radial-gradient(1200px 600px at 50% -10%,var(--fhu-green-2),var(--fhu-green) 55%,var(--fhu-green-3));
  color:#fff;text-align:center;padding:72px 20px 64px;overflow:hidden;}
.fhu-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:22px 22px;pointer-events:none;}
.fhu-hero > *{position:relative;}
.fhu-hero .fhu-crest{width:74px;height:auto;margin:0 auto 18px;display:block;background:#fff;border-radius:50%;padding:9px;box-shadow:0 8px 26px rgba(0,0,0,.25);}
.fhu-hero .fhu-eyebrow{letter-spacing:.22em;text-transform:uppercase;font:700 .72rem/1.4 var(--fhu-body);color:var(--fhu-gold-2);margin:0 0 14px;}
.fhu-hero h1{font-family:var(--fhu-head);font-weight:800;color:#fff;font-size:clamp(2rem,4.6vw,3.4rem);line-height:1.1;margin:0 auto 14px;max-width:900px;}
.fhu-hero p.fhu-lead{font-size:1.08rem;color:rgba(255,255,255,.86);max-width:680px;margin:0 auto 28px;line-height:1.6;}
.fhu-hero form{max-width:680px;margin:0 auto;display:flex;background:#fff;border-radius:60px;padding:6px;box-shadow:0 14px 40px rgba(0,0,0,.22);}
.fhu-hero form input{flex:1;border:0;outline:0;background:transparent;padding:0 20px;font:500 1rem var(--fhu-body);color:var(--fhu-ink);min-width:0;}
.fhu-hero form button{border:0;border-radius:60px;padding:0 26px;height:48px;font:800 .95rem var(--fhu-body);color:#1a1505;cursor:pointer;
  background:linear-gradient(135deg,var(--fhu-gold),var(--fhu-gold-2));}
.fhu-hero .fhu-stats{display:flex;justify-content:center;gap:46px;margin-top:34px;flex-wrap:wrap;}
.fhu-hero .fhu-stat b{display:block;font:800 2.1rem/1 var(--fhu-head);color:var(--fhu-gold-2);}
.fhu-hero .fhu-stat span{display:block;margin-top:6px;font:600 .72rem var(--fhu-body);letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.72);}
.fhu-hero .fhu-actions{margin-top:28px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;}
.fhu-hero .fhu-actions a{border-radius:40px;padding:10px 22px;font:700 .88rem var(--fhu-body);text-decoration:none;border:1.5px solid rgba(255,255,255,.55);color:#fff;}
.fhu-hero .fhu-actions a:hover{background:#fff;color:var(--fhu-green);}
ds-home-page ds-search-form, ds-themed-home-page ds-search-form{display:none;}
ds-home-page .container > h2, ds-top-level-community-list h2{margin-top:2.2rem;}

/* community/collection lists */
ds-top-level-community-list .list-group-item, ds-community-list .list-group-item{border-color:var(--fhu-line);}
ds-community-list-element a, ds-top-level-community-list a{font-weight:600;}

/* footer */
.fhu-footer{background:var(--fhu-green-3);color:rgba(255,255,255,.74);padding:52px 20px 34px;font-family:var(--fhu-body);}
.fhu-footer .fhu-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1.2fr;gap:36px;text-align:left;}
.fhu-footer h4{font:700 1.05rem var(--fhu-head);color:#fff;margin:0 0 14px;}
.fhu-footer a{color:rgba(255,255,255,.82);text-decoration:none;display:block;margin:0 0 9px;font-size:.92rem;}
.fhu-footer a:hover{color:var(--fhu-gold-2);}
.fhu-footer .fhu-brand{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.fhu-footer .fhu-brand img{height:56px;width:auto;background:#fff;border-radius:50%;padding:5px;}
.fhu-footer .fhu-brand b{font:800 1.25rem/1.15 var(--fhu-head);color:#fff;} .fhu-footer .fhu-brand b span{color:var(--fhu-gold-2);display:block;font-size:.95rem;}
.fhu-footer p{font-size:.9rem;line-height:1.6;margin:0 0 8px;}
.fhu-footer .fhu-ic{color:var(--fhu-gold-2);margin-right:8px;}
@media (max-width:768px){ .fhu-footer .fhu-grid{grid-template-columns:1fr;gap:26px;} }
ds-footer footer .top-footer{display:none !important;}
ds-footer footer .bottom-footer{background:#00300f !important;padding:10px 0 !important;font-size:.82rem;}
ds-footer footer .bottom-footer a, ds-footer footer .bottom-footer .btn-link{color:rgba(255,255,255,.75) !important;}

html,body{overflow-x:hidden;}
html body nav.nav-breadcrumb, html body .nav-breadcrumb .breadcrumb{background-color:var(--fhu-tint) !important;}
html body nav.nav-breadcrumb{border-bottom:1px solid var(--fhu-line);}
html body .badge-info{background-color:var(--fhu-green-2) !important;color:#fff !important;}
html body .badge-secondary{background-color:#5d6b62 !important;}
ds-comcol-page-browse-by .list-group-item.active, ds-comcol-page-browse-by .nav-link.active,
ds-comcol-page-browse-by a.active, html body .list-group-item.active{background-color:var(--fhu-green) !important;border-color:var(--fhu-green) !important;color:#fff !important;}
ds-comcol-page-browse-by a:not(.active):hover{background-color:var(--fhu-tint) !important;}
