.team-profile-hero {
  padding: 40px 0 10px;
  background: linear-gradient(180deg, #eef7fb 0%, #f7fbfd 100%);
}

.team-profile-hero__card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.06);
}

.team-profile-hero__photo {
  overflow: hidden;
  width: 220px;
  height: 220px;
  border-radius: 24px;
  background: #0c2340;
}

.team-profile-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-hero__content h1 {
  margin: 8px 0 6px;
  color: #0c2340;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
}

.team-profile-hero__content h2 {
  margin: 0 0 10px;
  color: rgba(12, 35, 64, 0.72);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.team-profile-hero__exp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--mediplace-base);
  font-weight: 700;
}

.team-profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 12px 0 18px;
}

.team-profile-hero__meta a {
  color: #0c2340;
  font-weight: 600;
}

.team-profile-hero__meta i {
  margin-right: 6px;
  color: var(--mediplace-base);
}

.team-profile-body {
  padding: 28px 0 70px;
}

.team-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.team-profile-main,
.team-profile-aside__card,
.team-profile-section {
  min-width: 0;
}

.team-profile-section,
.team-profile-blogs,
.team-profile-aside__card {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.04);
}

.team-profile-section + .team-profile-section,
.team-profile-blogs {
  margin-top: 18px;
}

.team-profile-section h2,
.team-profile-blogs h2,
.team-profile-aside__card h3 {
  margin: 0 0 14px;
  color: #0c2340;
  font-size: 22px;
  font-weight: 900;
}

.team-profile-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-profile-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(12, 35, 64, 0.72);
  line-height: 1.6;
}

.team-profile-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--mediplace-base);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.team-profile-blogs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-profile-blog-card {
  overflow: hidden;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 18px;
  background: #f7fbfd;
}

.team-profile-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c2340;
}

.team-profile-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-blog-card__body {
  padding: 14px 16px 16px;
}

.team-profile-blog-card__cat {
  margin: 0 0 6px;
  color: var(--mediplace-base);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-profile-blog-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.team-profile-blog-card h3 a {
  color: #0c2340;
}

.team-profile-blog-card p {
  margin: 0 0 8px;
  color: rgba(12, 35, 64, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

.team-profile-blog-card span {
  color: rgba(12, 35, 64, 0.5);
  font-size: 12px;
}

.team-profile-aside {
  display: grid;
  gap: 16px;
}

.team-profile-aside__card p {
  margin: 0 0 14px;
  color: rgba(12, 35, 64, 0.64);
}

.team-profile-similar {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-profile-similar a {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #0c2340;
}

.team-profile-similar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.team-profile-similar strong {
  display: block;
  font-size: 14px;
}

.team-profile-similar small {
  display: block;
  color: rgba(12, 35, 64, 0.55);
  font-size: 12px;
}

@media (max-width: 991px) {
  .team-profile-layout {
    grid-template-columns: 1fr;
  }

  .team-profile-hero__card {
    grid-template-columns: 1fr;
  }

  .team-profile-hero__photo {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 767px) {
  .team-profile-blogs__grid {
    grid-template-columns: 1fr;
  }

  .team-profile-hero__content h1 {
    font-size: 28px;
  }
}
