/* ==========================================================================
   Our People / Team page
   Uses site tokens: navy #242c5a, red #e5212d, deep navy #012346
   Roboto (body) / Space Grotesk (display)
   ========================================================================== */

.team-hero {
  background: #f7f8fb;
  border-bottom: 1px solid #e7e9f0;
  padding: 3.5rem 2rem 3rem;
}

.team-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.team-crumb {
  font-size: 0.8rem;
  color: #6b7086;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.team-crumb a {
  color: #6b7086;
  text-decoration: none;
}

.team-crumb a:hover {
  color: #242c5a;
}

.team-crumb .breadcrumb-current {
  color: #242c5a;
  font-weight: 500;
}

.team-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: #242c5a;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.team-hero h1 em {
  font-style: normal;
  color: #e5212d;
}

.team-hero-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3c4158;
  max-width: 62ch;
  margin: 0;
}

.team-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.team-content {
  max-width: 1140px;
  margin: 0 auto;
}

/* ---- Featured / lead member ---- */

.team-lead {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid #e7e9f0;
}
.team-lead-media {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 45px -15px rgba(36, 44, 90, 0.35);
}

.team-lead-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  display: block;
}

.team-lead-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5212d;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.team-lead-body h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  color: #242c5a;
  margin: 0 0 0.25rem;
}

.team-lead-title {
  font-size: 0.95rem;
  color: #6b7086;
  margin: 0 0 1.1rem;
}

.team-lead-body p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3c4158;
  margin: 0 0 1rem;
}

.team-lead-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.4rem;
}

.team-lead-focus span {
  font-size: 0.78rem;
  color: #242c5a;
  border: 1px solid #d7dae6;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.team-lead-links {
  display: flex;
  gap: 1.5rem;
}

.team-lead-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #242c5a;
  text-decoration: none;
  border-bottom: 1px solid #242c5a;
  padding-bottom: 2px;
}

.team-lead-links a:hover {
  color: #e5212d;
  border-color: #e5212d;
}

/* ---- Advisory team grid ---- */

.team-section {
  margin-bottom: 3.5rem;
}

.team-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: #242c5a;
  margin: 0 0 0.6rem;
}

.team-section-lede {
  font-size: 0.98rem;
  color: #6b7086;
  max-width: 60ch;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem 1.25rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border: none;
  background: none;
}

.team-card-media {
  width: 200px;
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  border: none;
  box-shadow: 0 18px 38px -16px rgba(36, 44, 90, 0.4);
}

.team-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  border: none;
  display: block;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card-body h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: none;
  white-space: nowrap;
  color: #242c5a;
  margin: 0 0 0.3rem;
}

.team-card-title {
  font-size: 0.68rem;
  font-weight: 400;
  color: #6b7086;
  margin: 0 0 0.65rem;
}

.team-card-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: #242c5a;
  text-decoration: none;
  border-bottom: 1px solid #242c5a;
  padding-bottom: 1px;
}

.team-card-link:hover {
  color: #e5212d;
  border-color: #e5212d;
}

/* ---- Expertise ---- */

.expertise-list {
  display: flex;
  flex-direction: column;
}

.expertise-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e7e9f0;
}

.expertise-row:last-child {
  border-bottom: 1px solid #e7e9f0;
}

.expertise-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  color: #d7dae6;
  font-weight: 500;
}

.expertise-row h3 {
  font-size: 1.05rem;
  color: #242c5a;
  margin: 0 0 0.4rem;
}

.expertise-row p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #3c4158;
  margin: 0;
  max-width: 62ch;
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .team-lead {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .team-lead-media {
    max-width: 220px;
  }
}

@media (max-width: 560px) {
  .team-hero {
    padding: 2.5rem 1.25rem 2rem;
  }

  .team-layout {
    padding: 2.75rem 1.25rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card-media {
    width: 140px;
  }
}

/* ==========================================================================
   Individual profile page (e.g. guvenc-ketenci.html)
   ========================================================================== */

.profile-content {
  max-width: 820px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e7e9f0;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 16px 34px -16px rgba(36, 44, 90, 0.35);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.profile-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5212d;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.profile-header-body h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: #242c5a;
  margin: 0 0 1rem;
}

.profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.profile-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #3c4158;
  text-decoration: none;
}

.profile-contact a:hover {
  color: #e5212d;
}

.profile-contact svg {
  flex-shrink: 0;
  color: #6b7086;
}

.profile-body {
  margin-bottom: 2.5rem;
}

.profile-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: #3c4158;
  margin: 0 0 1.1rem;
}

.profile-credentials {
  border-top: 1px solid #e7e9f0;
  margin-bottom: 2.5rem;
}

.credential-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid #e7e9f0;
}

.credential-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7086;
  padding-top: 0.1rem;
}

.credential-value {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #3c4158;
  margin: 0;
}

@media (max-width: 700px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .credential-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.35rem 0;
  }
}
