/* refactor-index-167.css */
#browse-subject,
section#browse-subject.subject-carousel-section{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  height:auto !important;
  min-height:1px !important;
  overflow:visible !important;
}
#browse-subject > .container{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}
#browse-subject .subject-search-control-row{
  display:flex !important;
}
#browse-subject #subjectCarouselTrack{
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
}
#browse-subject .subject-visual-card{
  visibility:visible !important;
  opacity:1 !important;
}
/* Retain only the two navigation buttons beside the search field. */
#browse-subject .subject-search-control-row .subject-carousel-side-controls{
  display:flex !important;
}
#browse-subject .subject-search-control-row .subject-carousel-prev,
#browse-subject .subject-search-control-row .subject-carousel-next{
  display:grid !important;
  position:static !important;
  width:40px !important;
  height:40px !important;
  place-items:center !important;
}

/* refactor-index-168.css */
/* Digital & Research Resources: compact 3-column desktop scroll area */
@media (min-width:1100px){
  #library-resources .lr-shell{
    grid-template-columns:280px minmax(0,1fr) !important;
    gap:16px !important;
  }
  #library-resources .lr-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:11px !important;
  }
  #library-resources .lr-card{
    min-height:164px !important;
    padding:13px !important;
    border-radius:13px !important;
  }
  #library-resources .lr-card-top{
    gap:7px !important;
  }
  #library-resources .item-icon{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    border-radius:9px !important;
  }
  #library-resources .item-icon img{
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
  }
  #library-resources .lr-card h4{
    font-size:13px !important;
    line-height:1.25 !important;
    margin:8px 0 3px !important;
  }
  #library-resources .tag{
    font-size:7.5px !important;
    padding:4px 6px !important;
    max-width:92px !important;
    line-height:1.1 !important;
  }
  #library-resources .lr-card .resource-desc,
  #library-resources .lr-card p{
    font-size:10px !important;
    line-height:1.38 !important;
    min-height:42px !important;
    margin:7px 0 9px !important;
    -webkit-line-clamp:3 !important;
  }
  #library-resources .lr-actions{
    gap:7px !important;
  }
  #library-resources .lr-open,
  #library-resources .more-details-inline,
  #library-resources .card-more-details{
    font-size:9.5px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
  }
  #library-resources .lr-cat{
    font-size:12px !important;
    padding:8px 9px !important;
  }
  #library-resources .cat-icon{
    width:28px !important;
    height:28px !important;
  }
  #library-resources .num{
    min-width:25px !important;
    height:21px !important;
    font-size:9px !important;
  }
}
/* Keep two columns on tablets and one on small screens */
@media (min-width:761px) and (max-width:1099px){
  #library-resources .lr-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:760px){
  #library-resources .lr-grid{grid-template-columns:1fr !important;}
}

/* refactor-index-169.css */
/* Resource name: full-width navy header at the top of every resource cell */
#library-resources .db-resource-card{padding:0 !important;overflow:hidden !important;}
#library-resources .db-resource-name{
  margin:0 !important;
  padding:10px 13px !important;
  width:100% !important;
  box-sizing:border-box !important;
  background:#0f1e4a !important;
  color:#fff !important;
  font-size:15px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  min-height:42px !important;
  display:flex !important;
  align-items:center !important;
}
#library-resources .db-card-top{
  padding:12px 13px 0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
}
#library-resources .db-resource-card>p{margin:10px 13px !important;}
#library-resources .db-card-actions{padding:0 13px 13px !important;}
@media (min-width:1100px){
  #library-resources .db-resource-name{font-size:14px !important;padding:9px 11px !important;min-height:40px !important;}
  #library-resources .db-card-top{padding:10px 11px 0 !important;}
  #library-resources .db-resource-card>p{margin:9px 11px !important;}
  #library-resources .db-card-actions{padding:0 11px 11px !important;}
}

/* refactor-index-170.css */
/* Library Gallery heading icon — same style as the section above */
#library-gallery .section-head h2::before,
.campus-gallery-section .section-head h2::before{
  background:#fff5e6 !important;
  color:#e58a00 !important;
  box-shadow:inset 0 0 0 1px #f3dfbd !important;
}

/* refactor-index-171.css */
/* Library Gallery heading — match Quick Access / Fresh on the shelves */
#library-gallery .section-head h2{
  color:#0f1e4a !important;
  font-family:"Heebo","Segoe UI",Arial,sans-serif !important;
  font-size:clamp(29px,3vw,40px) !important;
  line-height:1.18 !important;
  font-weight:700 !important;
  letter-spacing:-.025em !important;
  margin:5px 0 0 !important;
}
#library-gallery .section-head .kicker,
#library-gallery .kicker{
  color:#c97800 !important;
  font-family:"Heebo","Segoe UI",Arial,sans-serif !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  margin:0 0 5px !important;
}

/* refactor-index-172.css */
/* New Arrivals: full campus name + View in OPAC on one line */
#arrivals .new-arrival-bottom-row{
  margin-top:auto !important;
  padding:11px 0 13px !important;
  border-top:1px solid #e1e6ed !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
}
#arrivals .new-arrival-bottom-row .new-arrival-card-footer{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  color:#6f7d91 !important;
  font-size:10.5px !important;
  line-height:30px !important;
  font-weight:700 !important;
}
#arrivals .new-arrival-opac-link{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-height:30px !important;
  padding:6px 10px !important;
  border:1px solid #d98600 !important;
  border-radius:999px !important;
  background:#fff7e8 !important;
  color:#0f1e4a !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:800 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  transition:.2s ease !important;
}
#arrivals .new-arrival-opac-link i{color:#d98600 !important;font-size:9px !important;}
#arrivals .new-arrival-opac-link:hover{
  background:#0f1e4a !important;
  border-color:#0f1e4a !important;
  color:#fff !important;
  transform:translateY(-1px);
}
#arrivals .new-arrival-opac-link:hover i{color:#fff !important;}
@media(max-width:480px){
  #arrivals .new-arrival-bottom-row{gap:7px !important;}
  #arrivals .new-arrival-bottom-row .new-arrival-card-footer{font-size:9.5px !important;}
  #arrivals .new-arrival-opac-link{padding:6px 8px !important;font-size:9px !important;}
}

/* refactor-index-173.css */
/* Important Links header: align kicker, icon, title, subtitle and controls on one centre line */
#important-links .il-head{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
  margin:0 0 10px !important;
  padding:0 !important;
}
#important-links .il-kicker{
  flex:0 0 auto !important;
  display:block !important;
  margin:0 10px 0 0 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
#important-links #importantLinksFooterTitle{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  margin:0 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
#important-links #importantLinksFooterTitle::before{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  vertical-align:middle !important;
}
#important-links .il-subtitle{
  flex:1 1 auto !important;
  margin:0 0 0 34px !important;
  line-height:1.3 !important;
  align-self:center !important;
}
#important-links .il-controls{
  position:static !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin-left:auto !important;
}
@media(max-width:900px){
  #important-links .il-head{flex-wrap:wrap !important;gap:8px 10px !important}
  #important-links .il-subtitle{order:3;flex:0 0 100% !important;margin:0 !important}
  #important-links .il-controls{margin-left:auto !important}
}
@media(max-width:650px){
  #important-links .il-kicker{flex:0 0 100% !important;margin:0 !important}
  #important-links #importantLinksFooterTitle{white-space:normal !important}
}

/* refactor-index-174.css */
/* Important Links heading aligned like the other homepage sections */
#important-links .il-head{
  position:relative !important;
  display:block !important;
  width:100% !important;
  margin:0 0 16px !important;
  padding:0 92px 0 0 !important;
}
#important-links .il-kicker{
  display:block !important;
  margin:0 0 6px !important;
  padding:0 !important;
  color:#c97800 !important;
  font-family:"Heebo","Segoe UI",Arial,sans-serif !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  white-space:normal !important;
}
#important-links #importantLinksFooterTitle{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:max-content !important;
  max-width:100% !important;
  margin:0 0 6px !important;
  padding:0 !important;
  color:#0f1e4a !important;
  font-family:"Heebo","Segoe UI",Arial,sans-serif !important;
  font-size:clamp(29px,3vw,40px) !important;
  line-height:1.18 !important;
  font-weight:700 !important;
  letter-spacing:-.025em !important;
  white-space:normal !important;
}
#important-links #importantLinksFooterTitle::before{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:36px !important;
  height:36px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  vertical-align:middle !important;
}
#important-links .il-subtitle{
  display:block !important;
  width:auto !important;
  max-width:680px !important;
  margin:0 !important;
  padding:0 !important;
  color:#64748b !important;
  font-family:"Heebo","Segoe UI",Arial,sans-serif !important;
  font-size:14px !important;
  line-height:1.65 !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
}
#important-links .il-controls{
  position:absolute !important;
  right:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
}
@media(max-width:700px){
  #important-links .il-head{padding-right:0 !important}
  #important-links .il-controls{position:static !important;transform:none !important;margin-top:12px !important}
  #important-links #importantLinksFooterTitle{font-size:29px !important}
  #important-links #importantLinksFooterTitle::before{width:34px !important;height:34px !important}
}
