.kt-team-page,
.kt-member-page {
  background: #ffffff;
  color: #202124;
}

.kt-team-main,
.kt-member-main {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

/* Collective page */

.kt-team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  padding: clamp(72px, 11vw, 150px) 0 80px;
  border-bottom: 1px solid #dadce0;
}

.kt-team-kicker {
  grid-column: 1 / -1;
  margin: 0 0 -20px;
  color: #5f6368;
  font-size: 1rem;
  font-weight: 700;
}

.kt-team-intro h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.kt-team-lead {
  margin: 0;
  color: #3c4043;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.8;
}

.kt-team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 54px 0 100px;
}

.kt-person-card {
  min-width: 0;
}

.kt-person-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kt-person-media {
  aspect-ratio: 1 / 1;
  background: #f1f3f4;
  overflow: hidden;
}

.kt-person-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.kt-person-link:hover .kt-person-media img {
  transform: scale(1.025);
}

.kt-person-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #5f6368;
  font: 700 clamp(3rem, 7vw, 6rem)/1 system-ui, sans-serif;
}

.kt-person-info {
  position: relative;
  padding: 18px 42px 0 0;
}

html[dir="ltr"] .kt-person-info {
  padding: 18px 0 0 42px;
}

.kt-person-info h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.35;
}

.kt-person-info p {
  margin: 6px 0 0;
  color: #5f6368;
  font-size: 1rem;
  line-height: 1.6;
}

.kt-person-arrow {
  position: absolute;
  inset-inline-end: 0;
  top: 18px;
  color: #1a73e8;
  font: 700 1.3rem/1 system-ui, sans-serif;
  transition: transform .18s ease;
}

.kt-person-link:hover .kt-person-arrow {
  transform: translate(3px, -3px);
}

/* Individual page */

.kt-member-main {
  padding-bottom: 100px;
}

.kt-member-back {
  padding: 30px 0 20px;
}

.kt-member-back a {
  color: #1a73e8;
  font-weight: 700;
  text-decoration: none;
}

.kt-member-hero {
  padding: clamp(48px, 8vw, 100px) 0 55px;
}

.kt-member-title h1 {
  max-width: 1150px;
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

.kt-member-role {
  margin: 28px 0 0;
  color: #202124;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.kt-member-location {
  margin: 7px 0 0;
  color: #5f6368;
  font-size: 1rem;
}

.kt-member-portrait {
  width: 100%;
  max-height: 980px;
  background: #f1f3f4;
  overflow: hidden;
}

.kt-member-portrait img {
  display: block;
  width: 100%;
  max-height: 980px;
  object-fit: cover;
  object-position: center;
}

.kt-member-placeholder {
  display: grid;
  place-items: center;
  min-height: min(72vw, 850px);
  color: #5f6368;
  font: 700 clamp(6rem, 18vw, 15rem)/1 system-ui, sans-serif;
}

.kt-member-biography {
  display: grid;
  grid-template-columns: minmax(140px, .35fr) minmax(0, 1.65fr);
  gap: clamp(30px, 7vw, 100px);
  padding: 70px 0 0;
}

.kt-member-bio-label p {
  margin: 4px 0 0;
  color: #5f6368;
  font-size: .95rem;
  font-weight: 700;
}

.kt-member-copy {
  max-width: 900px;
}

.kt-member-copy p {
  margin: 0 0 1.25em;
  color: #202124;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 2;
}

.kt-member-not-found {
  width: min(720px, calc(100% - 32px));
  margin: 80px auto;
  text-align: center;
}

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

  .kt-team-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kt-team-kicker {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .kt-team-main,
  .kt-member-main {
    width: min(100% - 24px, 1280px);
  }

  .kt-team-intro {
    padding: 48px 0 48px;
  }

  .kt-team-intro h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .kt-team-lead {
    font-size: 1.1rem;
  }

  .kt-team-list {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 40px 0 70px;
  }

  .kt-person-info h2 {
    font-size: 1.55rem;
  }

  .kt-member-hero {
    padding: 35px 0 35px;
  }

  .kt-member-title h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .kt-member-role {
    margin-top: 20px;
    font-size: 1.15rem;
  }

  .kt-member-portrait img {
    max-height: none;
  }

  .kt-member-biography {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 42px;
  }

  .kt-member-copy p {
    font-size: 1.08rem;
    line-height: 2;
  }
}

/* KISAANTIME_PROFILE_STICKY_SPLIT_V1 */

.kt-member-layout {
  display: grid;
  grid-template-columns:
    minmax(320px, .92fr)
    minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding: 0 0 48px;
}

.kt-member-layout .kt-member-portrait {
  position: sticky;
  top: 24px;
  align-self: start;
  width: 100%;
  max-height: none;
  overflow: visible;
  background: #f1f3f4;
}

.kt-member-layout .kt-member-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  object-position: center;
  background: #f1f3f4;
}

.kt-member-layout .kt-member-placeholder {
  min-height: min(70vh, 720px);
}

.kt-member-layout .kt-member-biography {
  display: block;
  padding: 0;
}

.kt-member-layout .kt-member-bio-label {
  margin: 0 0 24px;
}

.kt-member-layout .kt-member-copy {
  max-width: 760px;
}

html[dir="rtl"] .kt-member-layout .kt-member-biography {
  direction: rtl;
}

html[dir="ltr"] .kt-member-layout .kt-member-biography {
  direction: ltr;
}

@media (max-width: 900px) {
  .kt-member-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .kt-member-layout .kt-member-portrait {
    position: relative;
    top: auto;
  }

  .kt-member-layout .kt-member-portrait img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

/* KISAANTIME_TEAM_HEADING_SCALE_V1
   Same responsive H1 scale for Team and member profiles. */
.kt-team-intro h1,
.kt-member-title h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

/* Visible entity relationship links. */
.kt-member-copy .kt-entity-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.kt-footer-entity-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .14em;
}
