/* Release-readiness refinements: scoped to audited routes to avoid regressions. */
.gd-srof-directory .gd-research-breadcrumbs,
.gd-srof-directory .gd-research-breadcrumbs a {
  color: #3a3a3a;
}

.gd-srof-directory .gd-research-breadcrumbs a {
  text-decoration-color: rgba(192, 30, 47, 0.5);
}

.gd-srof-directory .gd-research-breadcrumbs a:hover,
.gd-srof-directory .gd-research-breadcrumbs a:focus-visible {
  color: #111111;
  text-decoration-color: #c01e2f;
}

/* Scientific diagrams are preserved in full rather than cropped into card covers. */
.gd-srof-directory .gd-hub-card {
  display: grid;
  grid-template-rows: 196px minmax(148px, auto);
  min-height: 344px;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.gd-srof-directory .gd-hub-card__visual {
  display: block;
  width: 100%;
  height: 196px;
  min-height: 0;
  margin: 0;
  padding: 0.5rem;
  object-fit: contain;
  object-position: center;
  background: #edf0f1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.gd-srof-directory .gd-hub-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  padding: 1.15rem 1.2rem 1rem;
  text-align: left;
}

.gd-srof-directory .gd-hub-card__copy h2 {
  max-width: 21ch;
  margin: 0;
  color: #111111;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.2;
  text-align: left;
}

.gd-srof-directory .gd-hub-card__more {
  margin-top: auto;
}

.gd-contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gd-contact-form__notice {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid #111111;
  background: #edf4f6;
  color: #111111;
  font-weight: 600;
}

.gd-contact-form__notice--error {
  border-left-color: #c01e2f;
  background: #fff1f2;
  color: #7a1020;
}

.gd-page-shell--reading {
  max-width: 820px;
}

.gd-privacy-content {
  max-width: 72ch;
}

.gd-privacy-content h2 {
  margin: 2rem 0 0.6rem;
  color: #111111;
  font-size: 1.3rem;
}

.gd-privacy-content h2:first-child {
  margin-top: 0;
}

.gd-privacy-content p {
  margin: 0;
  line-height: 1.7;
}

.gd-privacy-content p + h2 {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

@media (max-width: 720px) {
  .gd-srof-directory .gd-hub-card {
    grid-template-rows: 178px minmax(132px, auto);
    min-height: 310px;
  }

  .gd-srof-directory .gd-hub-card__visual {
    height: 178px;
    padding: 0.4rem;
  }
}
