/* Shared project and institution branding. Keep official logo proportions intact. */
.project-branding {
  color: #172938;
  background: #fff;
  border-bottom: 1px solid #dce3e8;
}
.project-branding-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 1fr);
  align-items: center;
  gap: 36px;
  padding-block: 27px;
}
.project-kicker {
  margin: 0 0 7px;
  color: #566676;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.project-branding .project-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.7;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.project-id {
  margin: 9px 0 0;
  color: #64717d;
  font-size: .75rem;
}
.project-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-left: 28px;
  border-left: 1px solid #dce3e8;
}
.institution-link {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: #172938;
  border-radius: 3px;
}
.institution-role {
  font-size: .875rem;
  font-weight: 500;
  color: #566676;
}
.institution-logo {
  display: flex;
  align-items: center;
  width: 100%;
  height: 66px;
  margin-block: 6px;
}
.institution-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
.institution-name { font-size: .9375rem; font-weight: 650; line-height: 1.5; }
.institution-note { color: #64717d; font-size: .75rem; line-height: 1.6; margin-top: 3px; }
.institution-link:hover .institution-name { text-decoration: underline; text-underline-offset: 4px; }
.institution-link:focus-visible { outline: 3px solid #37618d; outline-offset: 5px; }
.project-footer .project-footer-title { font-size: 1rem; font-weight: 650; color: #172938; margin: 0 0 8px; }
.project-footer .project-footer-name { max-width: 560px; margin: 0; line-height: 1.8; }
.project-footer .project-footer-meta { flex-shrink: 0; text-align: right; }
.project-footer .project-footer-meta p { margin: 3px 0; }
.project-footer .project-footer-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .project-branding-inner { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
  .project-partners { gap: 18px; padding-left: 23px; }
}
@media (max-width: 740px) {
  .project-branding-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 23px; }
  .project-branding .project-title { font-size: 1rem; line-height: 1.75; }
  .project-partners { border-left: 0; border-top: 1px solid #e2e8ed; padding: 19px 0 0; gap: 22px; }
  .institution-logo { height: 62px; }
  .institution-logo img { max-height: 56px; }
  .institution-name { font-size: .875rem; }
  .project-footer { flex-direction: column; gap: 20px; }
  .project-footer .project-footer-meta { text-align: left; }
}
