/* Современный список участников */
#content #main .team-page { color: #26343c; font-family: Arial, sans-serif; }

#content #main .team-hero {
    margin: 0 0 18px;
    padding: 24px 26px;
    border: 1px solid #dce7ed;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f3f9fc 100%);
    box-shadow: 0 8px 28px rgba(31, 77, 101, .08);
}

#content #main .team-hero__eyebrow {
    margin-bottom: 8px;
    color: #1683c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

#content #main .team-hero__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#content #main .team-hero h1 {
    margin: 0;
    padding: 0;
    color: #25343c;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

#content #main .team-hero h1::before { display: none; }

#content #main .team-hero p {
    max-width: 520px;
    margin: 9px 0 0;
    color: #647681;
    font-size: 14px;
    line-height: 1.45;
}

#content #main .team-hero__count {
    flex: 0 0 auto;
    min-width: 90px;
    padding: 11px 14px;
    border: 1px solid #cce5f2;
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    text-align: center;
}

#content #main .team-hero__count strong,
#content #main .team-hero__count span { display: block; }
#content #main .team-hero__count strong { color: #1683c7; font-size: 25px; line-height: 1; }
#content #main .team-hero__count span { margin-top: 4px; color: #73838c; font-size: 11px; }

#content #main .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#content #main .team-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e0e7eb;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 63, 79, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#content #main .team-card:hover {
    transform: translateY(-2px);
    border-color: #c8dbe5;
    box-shadow: 0 10px 24px rgba(31, 63, 79, .12);
}

#content #main .team-card__person { display: flex; align-items: center; min-width: 0; gap: 13px; }

#content #main .team-card__avatar {
    display: block;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 2px;
    border: 1px solid #d9e4ea;
    border-radius: 50%;
    background: #fff;
}

#content #main .team-card__avatar img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

#content #main .team-card__identity { min-width: 0; }

#content #main .team-card__name {
    display: block;
    overflow: hidden;
    color: #1683c7;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#content #main .team-card__name:hover { color: #0d6ea9; text-decoration: underline; }

#content #main .team-card__login {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #8a989f;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#content #main .team-card__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 17px 0 15px;
    padding: 12px 0;
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
}

#content #main .team-card__stat { min-width: 0; padding: 0 5px; text-align: center; }
#content #main .team-card__stat + .team-card__stat { border-left: 1px solid #edf1f3; }

#content #main .team-card__stat dt {
    overflow: hidden;
    margin: 0 0 5px;
    color: #8a989f;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#content #main .team-card__stat dd {
    overflow: hidden;
    margin: 0;
    color: #35464f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
}

#content #main .team-card__stat a { color: #1683c7; text-decoration: none; }
#content #main .team-card__stat a:hover { text-decoration: underline; }

#content #main .team-card__actions { display: flex; gap: 8px; }

#content #main .team-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 34px;
    box-sizing: border-box;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #d9e3e8;
    border-radius: 9px;
    color: #50636d;
    background: #f8fafb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

#content #main .team-card__action svg { width: 15px; height: 15px; fill: currentColor; }

#content #main .team-card__action:hover {
    border-color: #b9d3df;
    color: #1683c7;
    background: #f0f8fc;
    text-decoration: none;
}

#content #main .team-card__action--primary { border-color: #1683c7; color: #fff; background: #1683c7; }
#content #main .team-card__action--primary:hover { border-color: #0e72ae; color: #fff; background: #0e72ae; }
#content #main .team-pagination { margin-top: 20px; }
#content #main .team-pagination:empty { display: none; }

#content #main .team-empty {
    padding: 48px 20px;
    border: 1px dashed #cddbe2;
    border-radius: 15px;
    background: #fff;
    text-align: center;
}

#content #main .team-empty__icon { display: block; color: #91bdcf; font-size: 44px; line-height: 1; }
#content #main .team-empty h2 { margin: 12px 0 5px; color: #33464f; font-size: 20px; }
#content #main .team-empty p { margin: 0; color: #75858d; font-size: 14px; }

@media (max-width: 860px) {
    #content #main .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    #content #main .team-hero { margin-bottom: 12px; padding: 19px 17px; border-radius: 13px; }
    #content #main .team-hero__heading { align-items: flex-start; gap: 12px; }
    #content #main .team-hero h1 { font-size: 23px; }
    #content #main .team-hero p { font-size: 13px; }
    #content #main .team-hero__count { min-width: 57px; padding: 9px 7px; }
    #content #main .team-hero__count strong { font-size: 20px; }
    #content #main .team-hero__count span { font-size: 9px; }
    #content #main .team-grid { gap: 10px; }
    #content #main .team-card { padding: 15px; border-radius: 13px; }
    #content #main .team-card__avatar,
    #content #main .team-card__avatar img { width: 62px; height: 62px; }
    #content #main .team-card__avatar { flex-basis: 62px; }
    #content #main .team-card__stats { margin: 14px 0 13px; }
    #content #main .team-card__stat { padding: 0 3px; }
    #content #main .team-card__stat dt { font-size: 9px; }
    #content #main .team-card__stat dd { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    #content #main .team-card,
    #content #main .team-card__action { transition: none; }
}
