


#pfos-team .reveal,
#our-team .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#pfos-team .reveal.d1,
#our-team .reveal.d1 {
  transition-delay: 0.08s;
}

#pfos-team .reveal.on,
#our-team .reveal.on {
  opacity: 1;
  transform: translateY(0);
}

[data-team-mount].team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  justify-items: center;
}


[data-team-mount].team-grid.team-grid--standalone {
  max-width: 760px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center;
}

[data-team-mount].team-grid.team-grid--standalone .team-card {
  max-width: 380px;
  width: 100%;
}

[data-team-mount] .team-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 46, 93, 0.08);
  box-shadow: 0 4px 24px rgba(0, 35, 71, 0.1);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

[data-team-mount] .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0, 35, 71, 0.14);
}

[data-team-mount] .team-photo {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

[data-team-mount] .team-photo img {
  width: 100%;
  align-self: stretch;
  min-height: 300px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

[data-team-mount] .team-photo-initials {
  align-self: center;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: #fbb610;
  letter-spacing: 0.02em;
  user-select: none;
}

[data-team-mount] .team-body {
  padding: 20px;
}

[data-team-mount] .team-name {
  font-weight: 900;
  font-size: 1rem;
  color: #002347;
  margin-bottom: 3px;
}

[data-team-mount] .team-role {
  font-size: 12px;
  font-weight: 700;
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

[data-team-mount] .team-bio {
  font-size: 0.83rem;
  color: #6b7fa3;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Homepage experts section: 1 column mobile, 2 tablet, 4 desktop */
#pfos-team [data-team-mount].team-grid {
  max-width: 1200px;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: stretch;
}

#pfos-team [data-team-mount].team-grid .team-card {
  max-width: none;
}

@media (min-width: 640px) {
  #pfos-team [data-team-mount].team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #pfos-team [data-team-mount].team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


.pfos-team-page-section {
  font-family: "Urbanist", system-ui, sans-serif;
  background: linear-gradient(180deg, #eef2f8 0%, #ffffff 45%, #ffffff 100%);
  padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 10vw, 100px);
  border-top: 1px solid rgba(0, 35, 71, 0.08);
}

.pfos-team-page-inner {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.pfos-team-page-section [data-team-mount] .team-card {
  border: 1px solid rgba(0, 35, 71, 0.1);
  box-shadow: 0 10px 40px rgba(0, 35, 71, 0.1);
  border-radius: 18px;
}

.pfos-team-page-section [data-team-mount] .team-card:hover {
  box-shadow: 0 16px 48px rgba(0, 35, 71, 0.16);
  border-color: rgba(251, 182, 16, 0.35);
}

.pfos-team-page-section [data-team-mount] .team-name {
  color: var(--navy, #002347);
}

.pfos-team-page-section [data-team-mount] .team-role {
  color: var(--yellow-dk, #e6a800);
}

.pfos-team-page-section [data-team-mount] .team-bio {
  color: var(--muted, #6b7fa3);
}

.pfos-team-page-section [data-team-mount] .team-photo-initials {
  color: var(--yellow, #fbb610);
}
