:root {
  --staff-red: #c8102e;
  --staff-red-dark: #a50d26;
  --staff-black: #111318;
  --staff-text: #262a31;
  --staff-muted: #717780;
  --staff-line: #e4e7eb;
  --staff-bg: #f6f7f9;
  --staff-card: #ffffff;
  --staff-shadow: 0 10px 30px rgba(17, 19, 24, 0.08);
  --staff-radius: 0;
}

/*.staff-page {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 36px 0 48px;
}*/

.staff-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.staff-page__title {
  margin: 0 0 10px;
  color: var(--staff-black);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.staff-page__intro {
  max-width: 470px;
  margin: 0;
  color: var(--staff-muted);
  font-size: 15px;
  line-height: 1.6;
}

.staff-update {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--staff-line);
  border-radius: 10px;
  background: #fff;
  color: #555b64;
  font-size: 12px;
  white-space: nowrap;
}

.staff-update__date {
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--staff-red);
  color: #fff;
  font-weight: 700;
}

.staff-section {
  margin-top: 40px;
}

.staff-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--staff-black);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-transform: uppercase;
}

.staff-section__title::before {
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: var(--section-color, var(--staff-red));
  content: "";
}

.staff-section--assistants { --section-color: #2d3138; }
.staff-section--goalkeeping { --section-color: #239b45; }
.staff-section--performance { --section-color: #7b4bb7; }
.staff-section--fitness { --section-color: #f08b15; }
.staff-section--analysis { --section-color: #2f5eb9; }

.head-coach {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 42%) 1fr;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-top: 4px solid var(--staff-red);
  border-radius: var(--staff-radius);
  background: var(--staff-card);
  box-shadow: var(--staff-shadow);
}

.head-coach__photo {
  min-height: 100%;
  background: #d9dde2;
  overflow: hidden;
}

.head-coach__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  margin: 0 !important;
}

.head-coach__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 30px 28px;
}

.staff-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 25px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--badge-color, var(--staff-red));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.head-coach__name {
  margin: 18px 0 20px;
  color: var(--staff-black);
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.head-coach__name span {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
  font-weight: 400;
}

.staff-meta {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-meta__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #505660;
  font-size: 14px;
  line-height: 1.4;
}

.staff-meta__item .flag {
  display: inline-flex;
}
.staff-meta__item .fi {
  border: 1px #be233e solid;
  height: 13px;
}

.staff-meta__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: var(--staff-red);
  text-align: center;
  font-size: 16px;
}

.staff-meta__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.head-coach__bio {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--staff-line);
  color: #5f6570;
  font-size: 13px;
  line-height: 1.65;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.staff-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  min-height: 168px;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 0;
  background: var(--staff-card);
  box-shadow: 0 6px 18px rgba(17, 19, 24, 0.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.staff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, 0.28);
  box-shadow: 0 14px 28px rgba(200, 16, 46, 0.12);
}

.staff-card__photo {
  min-height: 168px;
  background: #d9dde2;
  overflow: hidden;
}

.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  margin: 0 !important;
}

.staff-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 16px;
}

.staff-card__name {
  margin: 10px 0 12px;
  color: var(--staff-black);
  font-size: 18px;
  line-height: 1.05;
}

.staff-card__name span {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 400;
}

.staff-card .staff-meta {
  gap: 8px;
}

.staff-card .staff-meta__item {
  font-size: 12px;
}

.staff-card .staff-meta__icon {
  width: 17px;
  flex-basis: 17px;
  font-size: 13px;
}

.staff-badge--assistant { --badge-color: #2d3138; }
.staff-badge--goalkeeping { --badge-color: #239b45; }
.staff-badge--performance { --badge-color: #7b4bb7; }
.staff-badge--fitness { --badge-color: #f08b15; }
.staff-badge--analysis { --badge-color: #2f5eb9; }

.staff-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 16px;
  border: 1px solid var(--staff-line);
  border-radius: 11px;
  background: #fff;
  color: #646a73;
  font-size: 12px;
  line-height: 1.5;
}

.staff-note__icon {
  color: var(--staff-red);
  font-weight: 700;
}

@media (max-width: 700px) {
  .head-coach__photo img {
    object-position: center;
  }

  .staff-page__header {
    display: block;
  }

  .staff-update {
    margin-top: 18px;
  }

  .head-coach {
    grid-template-columns: 1fr;
  }

  .head-coach__photo {
    height: 420px;
  }

  .head-coach__content {
    padding: 25px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .staff-page__title {
    font-size: 29px;
  }

  .staff-update {
    width: 100%;
    justify-content: space-between;
  }

  .head-coach__photo {
    height: 330px;
  }

  .head-coach__content {
    padding: 22px 18px;
  }

  .head-coach__name {
    font-size: 30px;
  }

  .head-coach__name span {
    font-size: 23px;
  }

  .staff-card {
    grid-template-columns: 1fr;
  }

  .staff-card__photo {
    height: 300px;
  }

  .staff-card__content {
    padding: 18px;
  }
}