.optimus-team {
  display: grid;
  grid-template-columns: repeat(var(--optimus-team-columns, 3), minmax(0, 1fr));
  gap: 22px;
}

.optimus-team-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--optimus-line, #dfe4e9);
  border-top: 3px solid var(--optimus-accent, #f2a900);
  border-radius: var(--optimus-radius, 8px);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--optimus-primary-dark, #071f3d) 9%, transparent);
}

.optimus-team-card__photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--optimus-primary, #123a70), var(--optimus-primary-dark, #071f3d));
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  text-decoration: none;
}

.optimus-team-card__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.optimus-team-card__body { padding: 22px; }
.optimus-team-card__unit {
  margin: 0 0 9px;
  color: var(--optimus-accent, #f2a900);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
}
.optimus-team-card__name {
  margin: 0;
  color: var(--optimus-primary-dark, #071f3d);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.3;
}
.optimus-team-card__name a { color: inherit; text-decoration: none; }
.optimus-team-card__name a:hover,
.optimus-team-card__name a:focus { color: var(--optimus-primary, #123a70); text-decoration: underline; text-underline-offset: 4px; }
.optimus-team-card__function { margin: 7px 0 0; color: var(--optimus-primary, #123a70); font-weight: 700; }
.optimus-team-card__expertise { margin: 14px 0 0; color: var(--optimus-muted, #657383); font-size: .93rem; line-height: 1.65; }
.optimus-team-card__contact { display: grid; gap: 5px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--optimus-line, #dfe4e9); }
.optimus-team-card__contact a { overflow-wrap: anywhere; color: var(--optimus-primary, #123a70); font-size: .88rem; }
.optimus-team-card__profile-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--optimus-primary, #123a70); font-size: .9rem; font-weight: 800; text-decoration: none; }
.optimus-team-card__profile-link:hover,
.optimus-team-card__profile-link:focus { color: var(--optimus-accent, #f2a900); }
.optimus-team-empty { padding: 24px; background: var(--optimus-surface, #f5f6f8); border-left: 3px solid var(--optimus-accent, #f2a900); }

.optimus-member-hero { color: #fff; background: var(--optimus-primary-dark, #071f3d); }
.optimus-member-hero__inner { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(44px, 5vw, 64px); }
.optimus-member-hero__kicker { margin: 0 0 12px; color: var(--optimus-accent, #f2a900); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.optimus-member-hero h1 { max-width: 880px; margin: 0; color: #fff !important; font-family: "Roboto Slab", Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.optimus-member-hero__function { max-width: 760px; margin: 15px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.7vw, 1.25rem); }
.optimus-member-profile { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(52px, 7vw, 88px); }
.optimus-member-profile__grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 76px); align-items: start; }
.optimus-member-profile__photo { overflow: hidden; aspect-ratio: 4 / 4.7; display: grid; place-items: center; margin: 0; color: #fff; background: linear-gradient(135deg, var(--optimus-primary, #123a70), var(--optimus-primary-dark, #071f3d)); border-top: 4px solid var(--optimus-accent, #f2a900); border-radius: var(--optimus-radius, 8px); font-family: "Roboto Slab", Georgia, serif; font-size: 4rem; font-weight: 700; }
.optimus-member-profile__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.optimus-member-profile__unit { margin: 0 0 10px; color: var(--optimus-accent, #f2a900); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.optimus-member-profile__content h2 { margin: 0 0 16px; color: var(--optimus-primary-dark, #071f3d); font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.optimus-member-profile__expertise { margin: 0 0 28px; color: var(--optimus-muted, #657383); font-size: 1rem; line-height: 1.75; }
.optimus-member-profile__bio { color: var(--optimus-text, #273545); line-height: 1.8; }
.optimus-member-profile__bio > :first-child { margin-top: 0; }
.optimus-member-profile__contact { display: grid; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--optimus-line, #dfe4e9); }
.optimus-member-profile__contact a { width: fit-content; overflow-wrap: anywhere; color: var(--optimus-primary, #123a70); }
.optimus-member-profile__back { display: inline-flex; gap: 8px; margin-top: 34px; color: var(--optimus-primary, #123a70); font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .optimus-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .optimus-team { grid-template-columns: 1fr; gap: 16px; }
  .optimus-team-card__photo { aspect-ratio: 16 / 9; font-size: 2.5rem; }
  .optimus-member-profile__grid { grid-template-columns: 1fr; gap: 28px; }
  .optimus-member-profile__photo { width: min(100%, 310px); }
}
