/* Hero band — full-width SVG, 5:1 aspect ratio */
.hero-band-section {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.hero-band-wrap {
  width: 100%;
  aspect-ratio: 1400 / 280;
  overflow: hidden;
}
.hero-band-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media print { .hero-band-section { display: none; } }

/* Logo in About section — square, no circular crop */
#profile .portrait {
  width: 320px !important;
  height: 320px !important;
  border-radius: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #F4EFE6;
  margin-bottom: 10px;
}

/* Tighten up the About section padding so it fits snugly around its content */
#about.home-section {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

/* Remove excess top margin from About heading */
#about .col-md-8 h1:first-child {
  margin-top: 0;
}

/* Reduce gap below social icons */
#profile ul.network-icon {
  margin-bottom: 0;
}

/* Research section only — widen 2 cards to fill the full row (People section is unaffected) */
#projects .project-item {
  width: 50% !important;
}
@media screen and (max-width: 767px) {
  #projects .project-item {
    width: 100% !important;
  }
}

/* Constrain banner images on protocol/project pages so portrait photos don't fill the whole screen */
.article-header .article-banner {
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
}


/* In-content images in protocols */
.article-style img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px auto;
  display: block;
  max-height: 480px;
  object-fit: contain;
}
