/* =========================================================
   COLLABORATIVE NETWORK PAGE
   ========================================================= */

.collaborator-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  padding: 1.35rem 1.45rem;
  margin: 1.15rem 0;
  border: 1px solid var(--border-soft, rgba(20, 50, 90, 0.14));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(20, 45, 75, 0.07);
  backdrop-filter: blur(3px);
}

.collaborator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 45, 75, 0.11);
  transition: transform 160ms ease, box-shadow 160ms ease;
}


.collaborator-content {
  min-width: 0;
}

.collaborator-content h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.collaborator-content p {
  margin-bottom: 0.65rem;
}

.collaborator-content p:last-child {
  margin-bottom: 0;
}

.collaborator-link {
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 600;
  text-decoration: none;
}

.collaborator-link::after {
  content: "  ↗";
  font-size: 0.9em;
}

/* =========================================================
   CALL TO ACTION
   ========================================================= */

.collaboration-note {
  margin: 3.5rem 0 1rem 0;
  padding: 2.2rem;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(20, 50, 90, 0.12);
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 8px 24px rgba(20, 45, 75, 0.07);
}

.collaboration-note h2 {
  color: #173f67 !important;
  margin: 0 0 0.8rem 0;
  font-size: 2rem;
  font-weight: 700;
}

.collaboration-note hr {
  width: 120px;
  margin: 1rem auto 1.5rem auto;
  border: none;
  border-top: 2px solid rgba(23, 63, 103, 0.15);
}

.collaboration-note p {
  color: #4a5a6a !important;
  max-width: 700px;
  margin: 0 auto 1.8rem auto;
  line-height: 1.7;
}

.collaboration-note .btn {
  background: #d86d16;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.collaboration-note .btn:hover {
  background: #b95c11;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(185, 92, 17, 0.22);
  text-decoration: none;
}

@media (max-width: 700px) {
  .collaborator-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.15rem;
  }

  .collaborator-badge {
    width: 58px;
    height: 58px;
  }
}

.institution-card {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;

  padding: 1.6rem;
  margin: 1.25rem 0 2rem 0;

  border: 1px solid var(--border-soft, rgba(20, 50, 90, 0.14));
  border-radius: 16px;

  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 8px 24px rgba(20, 45, 75, 0.07);
  backdrop-filter: blur(3px);
}

.institution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 45, 75, 0.11);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

/* Logo area */

.institution-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 130px;
  padding: 1rem;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.institution-logo img {
  display: block;

  width: 100%;
  max-width: 120px;
  max-height: 85px;

  object-fit: contain;
  margin: 0;

  box-shadow: none;
  border-radius: 0;
}

/* Institution and collaborator text */

.institution-content {
  min-width: 0;
}

.institution-content h3 {
  color: #173f67 !important;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.institution-content h4 {
  color: #34475b !important;
  font-weight: 700;
  margin-top: 1.35rem;
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.institution-content h4:first-of-type {
  margin-top: 0.4rem;
}

.institution-content p {
  color: #4a5a6a !important;
  margin-bottom: 0.7rem;
}

.institution-content a {
  color: #b85f12 !important;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.institution-content a::after {
  content: " ↗";
  font-size: 0.9em;
}

/* Mobile layout */

@media (max-width: 760px) {
  .institution-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .institution-logo {
    justify-content: flex-start;
    min-height: auto;
    padding: 0.8rem;
  }

  .institution-logo img {
    max-width: 130px;
    max-height: 80px;
  }
}

@media (max-width: 700px) {
  .collaboration-note {
    margin-top: 2.5rem;
    padding: 1.6rem 1.2rem;
  }

  .collaboration-note h2 {
    font-size: 1.65rem;
  }
}

.institution-content a:hover {
  color: #8f4308 !important;
  text-decoration: underline;
}