
/* --- Global Styles for Site --- */

/* Navbar tweaks */
body { padding-top: 4.5rem; }
.navbar .nav-link { font-size: 1.1rem; }

/* Unified link color for names/titles */
a {
  color: #21618C;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: #154360;
  text-decoration: none;
}

/* Pill-style section labels (years, preprints, headings) */
.year-head h2,
.people-section-label,
h3 {
  display: inline-block;
  background-color: #2874A6;
  color: #fff;
  padding: 0.55rem 1.25rem;
  border-radius: 26px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-weight: 700;
  margin: 1.25rem 0 1.2rem 0;
  transition: all 0.2s ease-in-out;
}
.year-head h2:hover,
.people-section-label:hover,
h3:hover {
  background-color: #21618C;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* Scholar/DBLP pill buttons */
.pub-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff !important;
  background-color: #21618C;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  margin: 0 0.3rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}
.pub-links a:hover {
  background-color: #154360;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
.pub-links i {
  font-size: 1.2rem;
  vertical-align: middle;
  margin-right: 0.35rem;
}

/* --- Circular Image Styles --- */

/* Main portrait on index */
#cover-container img,
.jumbotron3 img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Research group member photos */
.people-detail-container img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* --- Navbar UMass Branding --- */
.navbar {
  background-color: #881C1C !important; /* UMass maroon */
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}

.navbar .nav-link.active {
  font-weight: 600;
  text-decoration: underline;
}

.navbar .nav-link:hover {
  color: #f5c6cb !important; /* subtle lighter hover */
}

/* --- Navbar UMass Branding (robust override) --- */
nav.navbar, .navbar.navbar-dark {
  background-color: #881C1C !important; /* UMass maroon */
}
.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
  color: #fff !important;
  text-decoration: none !important;
}
.navbar-dark .nav-link:hover {
  color: #f5c6cb !important; /* lighter hover */
  text-decoration: none !important;
}

/* Sitewide links: keep clean, no underline on hover */
a {
  color: #21618C;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: #154360;
  text-decoration: none;
}

/* FINAL Navbar UMass Maroon */
.navbar.navbar-dark { background-color: #881C1C !important; }
.navbar-dark .navbar-brand, .navbar-dark .nav-link { color: #fff !important; text-decoration: none !important; }
.navbar-dark .nav-link:hover { color: #f5c6cb !important; text-decoration: none !important; }

.award-line br { 
  display: none !important;      
}



/* --- Navbar color reset to plain white --- */
.navbar {
  background-color: #ffffff !important;  /* white */
  border-bottom: 1px solid #ddd;         /* subtle separator */
}

.navbar a {
  color: #000 !important;                /* black text */
  text-decoration: none;
}

.navbar a:hover {
  color: #555 !important;                /* subtle hover gray */
}


/* --- Force navbar to plain white --- */
.navbar-default {
  background-color: #ffffff !important;  /* plain white */
  border-bottom: 1px solid #ddd;         /* subtle separator */
}

.navbar-default .navbar-nav > li > a {
  color: #000 !important;                /* black text */
  background-color: transparent !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #555 !important;                /* subtle hover gray */
  background-color: transparent !important;
}


/* --- FINAL OVERRIDE: Force navbar plain white --- */
.navbar,
.navbar-default,
.navbar.navbar-default {
  background-color: #ffffff !important;   /* white */
  border: none !important;                /* remove borders */
  box-shadow: none !important;            /* remove shadows */
}

.navbar a,
.navbar-default .navbar-nav > li > a {
  color: #000 !important;                 /* black text */
  background-color: transparent !important;
  text-decoration: none !important;
}

.navbar a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #555 !important;                 /* subtle gray hover */
  background-color: transparent !important;
}



/* =========================
   FINAL OVERRIDE: Year/Preprint labels
   - Clean academic underline (UMass maroon)
   - Guaranteed spacing after the line
   - Neutralize any earlier pill/box styles
   ========================= */
section.year-head, .year-head {
  display: block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 15px 0 0 0 !important;   /* space above each label */
}

section.year-head h2,
.year-head h2,
.year-head .h5 {
  display: block !important;
  margin: 0 !important;             /* prevent margin collapsing */
  color: #222 !important;
  font-weight: 700 !important;
  background: #f2f2f2 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 5px 0 5px 15px !important;    /* space between text and maroon line */
  border-bottom: 5px solid #881c1c !important; /* maroon underline */
}

/* Ensure space after the underline before the first publication */
section.year-head + * {
  margin-top: 20px !important;
}