/* Homepage: compact team introduction. About: spacious editorial profiles. */
.home-team-panel {
  padding: 32px;
  border: 1px solid #cfe1f5;
  border-radius: 28px;
  background: linear-gradient(145deg, #f0f7ff, #fff 65%);
  box-shadow: 0 20px 55px #0b284b12;
}
.home-team-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.home-team-intro {
  color: #506684;
  margin: 18px 0 28px;
}
.home-rcic-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid #cfe1f5;
}
.home-rcic-card .rcic-initials {
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.home-rcic-card:hover .rcic-initials,
.home-rcic-card:focus-within .rcic-initials {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #0b284b20;
}
.home-team-panel a:focus-visible,
.team-editorial a:focus-visible {
  outline: 3px solid #438de4;
  outline-offset: 5px;
  border-radius: 3px;
}
.rcic-initials {
  display: grid;
  place-items: center;
  height: 68px;
  border-radius: 20px;
  background: #0b284b;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
}
.rcic-initials-light {
  background: #dfeeff;
  color: #0b284b;
}
.home-rcic-card h3 {
  margin: 6px 0;
  font-size: 1.35rem;
}
.home-rcic-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.home-rcic-card .rcic-role {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #125dc6;
}
.home-rcic-card .rcic-number {
  font-weight: 700;
  color: #506684;
}
.home-rcic-card a,
.home-team-register {
  font-size: 0.85rem;
  font-weight: 700;
}
.home-team-register {
  display: block;
  padding-top: 18px;
  border-top: 1px solid #cfe1f5;
}
.about-page .team-editorial {
  padding: 100px 0;
}
.about-page .team-duo {
  background: linear-gradient(130deg, #dceeff, #f7fbff 65%);
  color: #0b284b;
}
.team-duo-heading {
  max-width: 640px;
  margin-bottom: 48px;
}
.team-duo-heading h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.team-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.team-profile {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  background: #fff;
  border: 1px solid #cfe1f5;
  border-radius: 28px;
  box-shadow: 0 20px 55px #0b284b12;
  scroll-margin-top: 160px;
}
.team-profile-monogram {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #071b38, #123f70);
  color: #fff;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.team-profile .team-profile-role {
  margin: 0 0 6px;
  color: #125dc6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.team-profile h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.team-profile .team-profile-licence {
  margin: 0 0 18px;
  font-size: 0.9rem;
}
.team-profile p {
  color: #3f5675;
}
.team-profile .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .home-rcic-card .rcic-initials {
    transition: none;
  }
  .home-rcic-card:hover .rcic-initials,
  .home-rcic-card:focus-within .rcic-initials {
    transform: none;
  }
}
@media (max-width: 700px) {
  .home-team-panel {
    padding: 24px;
  }
  .home-rcic-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 15px;
  }
  .rcic-initials {
    height: 56px;
    border-radius: 16px;
  }
  .about-page .team-editorial {
    padding: 64px 0;
  }
  .team-duo-grid {
    grid-template-columns: 1fr;
  }
  .team-profile-monogram {
    width: 76px;
    height: 76px;
    font-size: 1.7rem;
  }
}
