/* General */

body {
  padding-top: 51px;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
}

a { color: #EE7F2D; text-decoration: none; }
a:visited { color: #EE7F2D; }
a:hover { color: #111; text-decoration: none; }

#shield-link { padding-top: 7px; padding-bottom: 0; }
#shield-img { display: none; }

.nav-target { padding-top: 56px; margin-top: -50px; }

.navbar-custom { background-color: #4a126f; }
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text { color: #fff; }
.navbar-inverse .navbar-nav > li > a { color: #e8e0ef; }
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus { color: #fff; }

/* Hero */

.hero {
  position: relative;
  height: 280px;
  background: #2a0a40 url("../images/campus-jay.jpg") center 40% / cover no-repeat;
  margin-bottom: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,6,32,.72) 0%, rgba(20,6,32,.15) 55%, rgba(20,6,32,.25) 100%);
}
.hero-caption {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 22px;
  color: #fff;
}
.hero-caption h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}
.hero-caption p {
  margin: 4px 0 0;
  opacity: .92;
  font-size: 15px;
}

/* Profile */

.profile {
  position: relative;
  z-index: 2;
  padding-top: 28px;
  background: #fff;
}
.profile-head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.pi-photo {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}
.profile-copy {
  flex: 1;
  min-width: 0;
}
.profile-copy h1 {
  margin-top: 0;
}

.role-line { color: #4a126f; font-weight: 700; margin: 0 0 10px; }
.contact-line { margin-top: 10px; }

@media (max-width: 767px) {
  .profile-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Research cards */

.area-card {
  margin-bottom: 22px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.area-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.area-card .body { padding: 12px 14px 16px; }
.area-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lab-photo {
  width: 100%;
  border-radius: 6px;
  margin: 8px 0 18px;
}

/* Pubs */

.badge-primary {
  background-color: #4a126f;
  color: #fff;
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.pub { padding-top: 16px; }
.pub-title { font-weight: 700; }
.pub-venue { font-style: italic; }

/* Team */

.member {
  text-align: center;
  margin-bottom: 22px;
}
.member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
}
.member .name { font-weight: 700; }
.member .meta { font-size: 13px; color: #555; }

.campus-inline {
  width: 100%;
  max-width: 520px;
  border-radius: 6px;
  margin-top: 8px;
}

.footer-note {
  margin-top: 40px;
  padding: 16px 0 28px;
  border-top: 1px solid #e5e5e5;
  font-size: 13px;
  color: #666;
}

@media (min-width: 768px) {
  h1 { margin-top: 0; }
  #shield-img { display: block; }
  .hero { height: 340px; }
}
