/* assets/css/blocks/team.css */
.seoms-team {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #111;
  font-family: "MontserratCustom", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 68px 0;
}

.seoms-team__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.seoms-team__title {
  text-align: center;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 34px;
}

.seoms-team__more {
  text-align: center;
  margin: 28px 0 0;
}

.seoms-team__more a {
  font-size: 14px;
  font-weight: 700;
  color: #ff6d3d;
  text-decoration: none;
}

.seoms-team__more a:hover {
  text-decoration: underline;
}

.seoms-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.seoms-team__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  box-sizing: border-box;
  backdrop-filter: blur(14px);
}

.seoms-team__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.seoms-team__avatar {
  width: 118px;
  height: 118px;
  margin: 0;
  border-radius: 50%;
  padding: 5px;
  background: #ff6f2d;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.14);
  box-sizing: border-box;
}

.seoms-team__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #f4f4f4;
  border: 4px solid #fff;
  box-sizing: border-box;
}

.seoms-team__meta {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.seoms-team__name {
  position: relative;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
}

.seoms-team__name {
  margin: 0;
  padding: 12px 16px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  display: flex;
  align-items: center;
}

.seoms-team__role {
  --role-color: #ff6f2d;
  --role-color-2: #d85b2b;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 9px 14px 9px 11px;
  border: 1px solid color-mix(in srgb, var(--role-color) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--role-color) 12%, #fff);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--role-color) 16%, transparent);
  box-sizing: border-box;
}

.seoms-team__role::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--role-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--role-color) 14%, transparent);
}

.seoms-team__role--strategy {
  --role-color: #ff6f2d;
  --role-color-2: #ff9b4a;
}

.seoms-team__role--experiment {
  --role-color: #d85b2b;
  --role-color-2: #ff6f2d;
}

.seoms-team__role--seo {
  --role-color: #ff7a30;
  --role-color-2: #d85b2b;
}

.seoms-team__role--tech {
  --role-color: #d85b2b;
  --role-color-2: #b94724;
}

.seoms-team__role--crowd {
  --role-color: #f05f3a;
  --role-color-2: #f0b33a;
}

.seoms-team__details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}

.seoms-team__info {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.seoms-team__label {
  display: block;
  margin-bottom: 11px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.seoms-team__info p {
  margin: 0;
  color: #3d3d3d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .seoms-team {
    padding: 56px 0;
  }

  .seoms-team__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .seoms-team__wrap {
    padding: 0 14px;
  }

  .seoms-team__title {
    margin-bottom: 24px;
  }

  .seoms-team__card {
    gap: 18px;
    min-height: 0;
    padding: 18px;
  }

  .seoms-team__head {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .seoms-team__avatar {
    width: 88px;
    height: 88px;
    padding: 4px;
  }

  .seoms-team__name {
    padding: 10px 12px;
    font-size: 18px;
  }

  .seoms-team__role {
    padding: 10px 12px;
    font-size: 12px;
  }

  .seoms-team__details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seoms-team__info {
    min-height: 0;
    padding: 15px;
  }

  .seoms-team__info p {
    font-size: 14px;
  }
}
