/* /our-team/ only (pages_existing.team_page_layout): hero with the team group photo and the
   introduction above the team listing. Uses the shared tokens from vz-modern.css. */

/* ---- hero: eyebrow, heading and description grouped and left-aligned, the team photo full width below */
.m-hero--team { padding: 24px 20px 40px; }
.m-hero--team .m-hero-grid { grid-template-columns: 1fr; gap: 32px; }
.m-hero--team .m-hero-copy { max-width: 820px; }
.m-hero--team .m-kicker { margin-bottom: 14px; }
.m-hero--team h1 { margin: 0 0 14px; text-wrap: balance; }
.m-hero--team .m-lead { max-width: 760px; margin: 0; text-wrap: pretty; }
.m-hero--team .vz-cta-row:empty { display: none; }
.m-hero--team .m-hero-visual { max-width: none; }

/* ---- team photos (India, US): a label above each, the same rounded frame; each keeps its own proportions */
.tm-groups { display: grid; gap: 36px; }
.tm-group { margin: 0; }
.m-hero--team .tm-group .tm-label { margin: 0 0 12px; font-family: Ranade, "Open Sans", sans-serif; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.25; letter-spacing: 0; color: var(--m-ink); }
.tm-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(28, 11, 51, .18); background: #ece6f3; }
.tm-photo img { display: block; width: 100%; height: auto; }
.tm-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 11, 51, .28), transparent 30%), linear-gradient(120deg, rgba(129, 46, 119, .08), transparent 40%); }

/* ---- introduction above the team listing: the site's section-heading style, left-aligned with the cards */
.vz-team-list > .e-con-inner { padding-top: 48px !important; }
.vz-team-intro { box-sizing: border-box; width: 100%; max-width: 860px; margin: 0 0 8px; padding: 0 20px; }
.vz-team-intro h2 { margin: 0 0 12px; font-family: var(--vz-head); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--m-ink); }
.vz-team-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--m-muted); }

@media (max-width: 767px) {
  .m-hero--team { padding: 16px 16px 32px; }
  .m-hero--team .m-hero-grid { gap: 24px; }
  .m-hero--team .m-kicker { margin-bottom: 10px; }
  .m-hero--team h1 { margin-bottom: 12px; }
  .tm-groups { gap: 26px; }
  .m-hero--team .tm-group .tm-label { margin-bottom: 10px; }
  .tm-photo { border-radius: 16px; }
  .vz-team-list > .e-con-inner { padding-top: 36px !important; }
  .vz-team-intro { padding: 0; }
  .vz-team-intro p { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tm-photo img { animation: tm-in .6s ease-out both; }
  @keyframes tm-in { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
}

/* ---- team cards: one grid, four per row on desktop, two on tablet, one on phones (pages_existing.team_grid) */
.vz-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; }
.vz-team-grid > .e-con { width: auto !important; max-width: none !important; min-width: 0; margin: 0 !important; --width: auto; }
@media (max-width: 1024px) { .vz-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .vz-team-grid { grid-template-columns: 1fr; gap: 20px; } }
