/* Nocturia tým — V16 */
.team-groups {
  display: grid;
  gap: 46px;
}
.team-group {
  min-width: 0;
}
.team-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(38,84,139,.12);
}
.team-group-title-wrap {
  display: grid;
  gap: 5px;
}
.team-group-kicker {
  color: #2875e4;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.team-group-head h2 {
  margin: 0;
  color: #162d49;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(25px, 2.15vw, 34px);
  letter-spacing: -.03em;
}
.team-group-head p {
  max-width: 420px;
  margin: 0;
  color: #71839a;
  font-size: 12px;
  text-align: right;
}
.team-group .team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  justify-content: flex-start;
  margin-top: 0;
}
.team-card {
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2875e4, #66abff);
}
.team-card .team-tenure {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(45,97,160,.11);
  color: #61758e;
  font-size: 11px;
  font-weight: 700;
}
.team-card .team-tenure svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: #2875e4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-card .team-tenure strong {
  color: #203b5d;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 12px;
}
@media (max-width: 760px) {
  .team-groups { gap: 34px; }
  .team-group-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .team-group-head p { text-align: left; }
  .team-group .team-grid { grid-template-columns: 1fr; }
}


/* V19 — 3D bust rendery hráčů z render.crafty.gg */
.team-card .avatar {
  position: relative;
  width: 176px;
  height: 158px;
  margin: -2px auto 0;
  overflow: visible;
  flex: 0 0 158px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 72%, rgba(41, 119, 228, .20), transparent 54%),
    linear-gradient(180deg, rgba(236, 245, 255, .78), rgba(247, 251, 255, .22));
  box-shadow: inset 0 0 0 1px rgba(45, 97, 160, .09);
  image-rendering: auto;
}

.team-card .avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 92px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(20, 57, 101, .14);
  filter: blur(8px);
  pointer-events: none;
}

.team-card .avatar img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 12px rgba(23, 57, 98, .18));
  image-rendering: auto;
}

.team-card h3 {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .team-card .avatar {
    width: 164px;
    height: 148px;
    flex-basis: 148px;
  }
}
