.team__card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team__card-position {
    font-size: 1.4rem;
}

.person-first__name, .person-first__secondname {
    font-size: 4.2rem;
}

.select:not(:has(.select__list)) {
    pointer-events: none;
}

.select:not(:has(.select__list))::after {
    content: unset;
}

.page-table__table_tournament .page-table__row a,
.page-table__table_statistics .page-table__row a {
    display: flex;
    column-gap: 10px;
    width: 59rem;
    text-align: left;
    text-decoration: none;
    font-weight: 600;
    color: var(--white);
}

.page-table__table_tournament .page-table__row a span,
.page-table__table_statistics .page-table__row a span {
    opacity: 0.5;
    font-weight: 400;
}

.team__card-info {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.90) 99%);
    padding-top: 6rem;
}

@media (max-width: 768px) {
    .team__card-info {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.99) 90%);
        padding-top: 2rem;
    }

    .team__card-image {
        width: 80%;
        object-fit: contain;
        left: 10%;
        bottom: 0;
    }
}

.page-table__table_statistics .page-table__row > div:nth-of-type(2):has(>img) {
    height: 4rem;
}

@media (max-width: 768px) {
    .page-table__table_statistics .page-table__row > div:nth-of-type(2):has(>img) {
        height: 2rem;
    }
}

.calendar__line-league img, .calendar__line-league svg {
    object-fit: contain;
}

.main-matches__slide-league img {
    width: 2.2rem;
}

.text-page__aside .main-matches__slide-name {
    font-size: 1.2rem;
}

.text-page__aside-btn:hover svg path,
.text-page__aside-btn:hover img path {
    stroke: var(--main);
}

.calendar__line-about {
    width: 30rem;
}

.team__card-name {
    margin-bottom: unset;
}

.team__card-bottom {
    margin-top: 0.5rem;
}

.calendar__line-logo img, .calendar__line-logo svg {
    object-fit: contain;
}

@media (max-width: 768px) {
    .contacts__logo {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}


.person-bio__stats-top {
    align-items: center;
}

.person-bio__stats-value--size {
    font-size: 2.6rem;
}

@media (max-width: 768px) {
    .person-first__name {
        top: 7rem;
    }

    .person-first__name:first-child {
        font-size: 3.2rem;
    }

    .person-first__name--surname {
        top: 10.5rem;
    }

    .person-first__secondname {
        top: 15rem;
    }

    .person-first__work {
        top: 18.8rem;
    }

    .calendar__line-name {
        font-size: 1.3rem;
    }
}

.page-table__table_statistics .page-table__row > div:nth-of-type(2) img,
.page-table__table_statistics .page-table__row > div:nth-of-type(2) svg {
    object-fit: contain;
}

.main-season__players-card-img img,
.main-season__players-card-img svg {
    object-fit: contain;
}

.match-info__box-logo img,
.match-info__box-logo svg {
    object-fit: contain;
}

.page-table__player-img img,
.page-table__player-img svg {
    object-fit: contain;
}

.main-season__table-row span img,
.main-season__table-row span svg {
    object-fit: contain;
}

.partners__swiper-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.partners__swiper-image img {
    object-fit: contain;
}

.team__card-image {
    height: fit-content;
    max-height: 95%;
}

.team__card-image img, .team__card-image svg {
    height: auto;
}

.team__card {
    height: 31rem;
}

@media (max-width: 768px) {
    .team__card {
        height: 34rem;
    }

    .team__card-image {
        overflow: hidden;
        bottom: 8px;
    }
}

@media (max-width: 768px) {
    .team__sticky {
        width: 100%;
    }
}

.text-page__aside-logo {
    margin-top: 0;
}

@media (max-width: 768px) {
    .person-first__name, .person-first__secondname {
        font-size: 3.4rem;
    }
}

.match-teams {
    margin-top: 3rem;
}

.person-first__name {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .person-first {
        max-height: 60rem;
        min-height: unset;
    }

    .person-first__image {
        bottom: 0rem;
    }

    .person-first::after {
        display: none;
    }

    .person-first__cover {
        height: calc(100% - 0rem);
    }

    .match-teams {
        margin-top: 2rem;
    }
}

.person-first__image {
    width: 44.6rem;
    height: 51rem;
    bottom: -0.01rem;
}

@media (max-width: 768px) {
    .person-first__image {
        width: 39rem;
        height: 39rem;
    }
}

.main-matches__slide-logo svg, .main-matches__slide-logo img {
    object-fit: contain;
}

.news__card-info__top {
    display: flex;
    justify-content: space-between;
}

.text-page__top {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    column-gap: 1.5rem;
    margin-bottom: 2rem;
    color: var(--main);
    font-size: 1.6rem;
    font-weight: 400;
}

.text-page__top span {
    color: var(--white);
}

.text-page_date {
    color: var(--white);
}

@media (max-width: 768px) {
    .team__frame-title {
        font-size: 4.3rem;
        margin-bottom: -0.9rem;
    }
}

.match-info__box-goal span {
    width: 4rem;
}


.main-matches__slide-logo_owner {
    background: unset;
}

.calendar__line-logo_owner {
    background: var(--whiteOpacity);
}

.match-info__box-logo_owner {
    background: var(--whiteOpacity);
}

.match-teams__logo_owner {
    background: var(--whiteOpacity);
}

.match-timeline__logo_owner {
    background: var(--whiteOpacity);
}

.main-season__tabs-link img, .main-season__tabs-link svg {
    height: 5.2rem;
}

.person-first__nickname {

    color: var(--main);
}

@media (max-width: 768px) {
    .person-first__secondname:has(.person-first__nickname) {
        top: 11rem;
    }

    .person-first__name:has(+ .person-first__secondname > .person-first__nickname) {
        top: 3.2rem;
    }
}

.team__card-secondname_nickname {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.main-season__players-card-firstname_nickname {
    /* font-size: 2.4rem; */
}

.page-table__player-secondname_nickname {
    /* font-size: 2.4rem; */
}


.calendar__line-score {

    min-width: 9rem;
}

.text-page__share {
    min-width: 13rem;
}

.text-page__social {
    margin-right: auto;
}

@media (max-width: 768px) {

    .text-page__copy {
        order: 99 !important;
    }

    .text-page__social {
        margin-top: -0.5rem;
        margin-bottom: 1rem;
    }
}

.team__card-name {
    opacity: 1;
    filter: brightness(0.8);
    text-shadow: 0.1rem 0.1rem 0.3rem #000000bd;
}

.team__card-secondname {
    text-shadow: 0.1rem 0.1rem 0.3rem #000000bd;
}

.calendar__line-buttons object {
    width: 100%;
}

.match-page {
    min-height: 68rem;
}

.page-table__table_tournament .page-table__row a,
.page-table__table_statistics .page-table__row a {
    column-gap: 5px;
}

.match-teams__back img,
.match-teams__back svg {
    object-fit: contain;
}

.match-teams__logo img,
.match-teams__logo svg {
    object-fit: contain;
}

.text-page__copy {
    order: 99 !important;
}

.text-page__social {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.match-broadcast__box:not(.match-broadcast__box_blocked) {
    cursor: pointer;
}

.match-broadcast__box_blocked .match-broadcast__cover::after {
    background: none;
}

.person-stats__info-value {
    font-size: 6rem;
}

.match-info__box-players a {
    color: var(--white);
}

.news .title_page {
    font-size: 4.4rem;
}

.person-stats__score span {
    font-size: 1.2rem;
}

.news__container,
.photo-gallery__container {
    position: relative;
}

.text-page .title_page {
    font-size: 5.4rem;
}

@media (max-width: 768px) {
    .text-page .title_page {
        font-size: 3.2rem;
    }
}

.match-info__box-col_reverse .match-info__box-goal {
    justify-content: space-between;
}

.main-matches__slide object {
    margin-top: auto;
}

.person-first__club {
    font-size: 28rem;
}

.person-stats__team-logo img, .person-stats__team-logo svg {
    object-fit: contain;
}

.content-cms a {
    color: var(--main);
}

.text-page-contacts__row p, .text-page-contacts__row a {
    min-width: unset;
    width: 20rem;
}
