.main-players__swiper-image img,
.main-players__swiper-image svg {
    /* object-fit: contain; */
}

.main-matches__swiper-slide_future .main-matches__swiper-names span:nth-of-type(1) {
    font-size: 2rem;
}

.footer__socials {
    flex-wrap: wrap;
    row-gap: 8px;
}

.main-media__card_big .main-media__card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}

.calendar__line-league img,
.calendar__line-league svg {
    width: unset;
}

.blocks-gallery-grid {
    flex-direction: row !important;
}

.blocks-gallery-item::before {
    content: unset !important;
}

.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: #FF4100;
    font-size: 1.6rem;
    font-weight: 400;
}

.text-page__top span {
    color: var(--white);
}

.text-page_date {
    color: var(--white);
}

.main-media__card:hover .main-media__card-play {
    scale: 1.05;
}

.calendar__line-logo {
    border-radius: unset;
    background: unset;
    border: unset;
}

.calendar__line-logo img {
    width: 5.4rem;
    height: 5.4rem;
}

.partners_club .partners__swiper-slide {
    background: unset;
}

.text-page+.partners {
    background: #003C69;
}




.text-page__aside .main-matches__swiper-slide {
    border: 0.1rem solid var(--border);
    backdrop-filter: blur(var(--blur));
    background: var(--whiteOpacity);
    background: var(--bgSecond);
    height: 29rem;
}

.text-page__aside .main-matches__swiper-teams {}

.text-page__aside .main-matches__swiper-btn {
    position: absolute;
    width: 10rem;
    height: 4.8rem;
    padding: 0;
    font-size: 2.2rem;
    right: 1.4rem;
    top: 1.7rem;
}

.text-page__aside .main-matches__swiper-names {
    margin-bottom: 0;
    transform: unset;
}

.text-page__aside .main-matches__swiper-names span {
    font-size: 3rem;
    font-weight: 600;
}

.text-page__aside .main-matches__swiper-names span.main-matches__swiper-names-dragons {
    font-size: 3.8rem;
    font-weight: 600;
}

.text-page__aside .main-matches__swiper-teams {
    position: relative;
}

.text-page__aside .main-matches__swiper-slide_future .main-matches__swiper-date {
    position: absolute;
    top: calc(100% + 3rem);
    left: 0;
    display: flex;
    flex-direction: row;
    font-size: 9rem;
}

.text-page__aside .main-matches__swiper-slide_future .main-matches__swiper-date span:nth-of-type(2)::before {
    content: ".";
}


.text-page__aside .main-matches__swiper-logo:nth-of-type(2) {
    position: relative;
    margin-left: 5rem;
}

.text-page__aside .main-matches__swiper-logo:nth-of-type(2)::before {
    content: "";
    display: block;
    width: 3.6rem;
    height: 3.6rem;
    background: url('http://shanghai-dragons.2dit-dev.ru/wp-content/uploads/2025/09/vs.svg') no-repeat center center;
    background-size: contain;
    position: absolute;
    right: calc(100% + 1.2rem);
    top: 1.2rem;
}


@media (max-width: 768px) {
    .text-page__aside .main-matches__swiper-logo {
        width: 6rem;
        height: 6rem;
    }

    .text-page__aside .main-matches__swiper-names {
        margin-bottom: 0;
        transform: unset;
    }

    .text-page__aside .main-matches__swiper-btn {
        position: absolute;
        width: 12rem;
        height: 5rem;
        padding: 0;
    }
}

.main-board__out-wrap--align {
    text-align: right;
}

.contacts__col-row {
    row-gap: 2.4rem;
}

.main-matches__swiper-overtime {
    font-size: 5rem !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    color: var(--white);
    margin-top: auto;
    margin-bottom: 0.8rem;
    font-family: var(--hcsd) !important;
    min-width: 3.8rem;
}

@media (max-width: 768px) {
    .main-matches__swiper-overtime {
        margin-bottom: 0.3rem;
        font-size: 4.4rem !important;
    }
}

.main-table__table-row>div:nth-of-type(3) {
    width: 45.2rem;
}

.main-table__table-row>div:nth-of-type(8) {
    width: 13rem;
}

@media (max-width: 768px) {
    .main-table__table-row>div:nth-of-type(8) {
        width: 20rem;
    }
}

.calendar__line-about {
    min-width: 32rem;
}

@media (max-width: 768px) {
    .text-page__article .content-cms iframe {
        width: 100%;
        height: 18rem;
    }
}

.main-ads__swiper-slide img {
    object-position: top;
}


/* Галлерея новости */

.content-cms>.gallery {
    margin-top: 3rem !important;
}

.content-cms>.gallery img {
    margin: 0 !important;
    border: 0.4rem solid transparent !important;
}

.content-cms>.gallery .gallery-item {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .content-cms>.gallery {
        padding: 0 !important;
        margin-top: 2rem !important;
    }
}

/* Галлерея новости */


/* правка селекта в модалке события */

.select.js-events-select .select__list:has(.select__option:not(.hidden)) .select__empty {
    display: none;
}

.select.js-events-select .select__list {
    min-height: 7.6rem;
}

.select.js-events-select .select__empty {
    padding: 2rem 2.4rem;
    padding-bottom: 2.7rem;
    font-size: 2.4rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 768px) {
    .select.js-events-select .select__empty {
        padding: 1rem 2.4rem 1.7rem;
        font-size: 1.6rem;
    }

    .select.js-events-select .select__list {
        min-height: unset;
    }

}

/* правка селекта в модалке события */

.match-info__wrap {
    padding: 0;
}

.match-info__block {
    font-size: 1.8rem;
    width: 40rem;
}

a.match-box-teams__line {
    color: #fff;
}

div:has(>img.player-placeholder-img){
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100rem;
    background: var(--text);
    height: 4rem;
    width: 4rem;
}
.player-placeholder-img{
    background: transparent !important;
    border-radius: unset !important;
    width: 3.2rem !important;
    height: 3.2rem !important;
}

.partners__box-btns {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    margin-top: 3rem;
}

.btn_partners {
    width: fit-content;
}


/* правка вайб */

.match-page section * {
    /* font-family: var(--horta) !important; */
}

.match-box-timeline__team{
    font-size: 2.8rem;
}

.match-main__mobile-events{
    width: 100%;
}

@media (max-width: 768px) {
    .match-box-timeline__team {
        font-size: 1.8rem;
    }
}

.swiper.match-about__tabs>.swiper-wrapper:has(div:nth-of-type(5)){
    justify-content: center;
}
.swiper.match-about__tabs>.swiper-wrapper:has(div:nth-of-type(7)){
    justify-content: unset;
}

@media (max-width: 768px) {
    .swiper.match-about__tabs>.swiper-wrapper:has(div:nth-of-type(5)){
        justify-content: unset;
    }
}

/* правка вайб */

@media (max-width: 768px) {
    .text-page__article .content-cms a {
        width: 100% !important;
    }
}

.calendar__grid {
    display: none;
}

.calendar__grid.active {
    display: block;
}

.team__aside-body .team__aside-wrapper {
    display: none;
}

.team__aside-body .team__aside-wrapper.active {
    display: block;
}

.partners__box-btns {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    margin-top: 3rem;
}

.btn_partners {
    width: fit-content;
}


/* 08.05.2026 */

.team__card * {
    font-family: var(--hcsd);
}
.person-section__title{
    font-family: var(--hcsd);
}
.team__card-position{
    font-size: 2rem;
}
.header__drop-menu .header__langs{
    display: none;
}
@media (max-width: 768px) {
    .header__drop-menu .header__langs{
        display: flex;
        margin: 2rem auto 1rem;
    }
}

/* 08.05.2026 */


/* 01.09.2026 */

.shape.shape_0,
.shape.shape_1,
.shape.shape_3{
    display: none !important;
}

@media (min-width: 769px) {   
    .header__club {
        width: 9rem;
        height: 6rem;
    }
}

@media (max-width: 768px) {   
    .header__club {
        width: 9rem;
        height: 6rem;
    }
}

.main-table__table-row_owner,
.page-table__row_owner{
    background: #0174B9;
}

/* 01.09.2026 */


.header__link {
	font-family: var(--hcsd);
}

.header__drop-menu-link{
	font-family: var(--hcsd);
}




.calendar__line-date{
    font-weight: 600;
}
.calendar__card_event .calendar__card-date{
    font-weight: 600;
}
.calendar__card-score {
    font-size: 3rem;
    font-weight: 600;
}
.text-page__aside .main-matches__swiper-logo:nth-of-type(2)::before {
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='34' viewBox='0 0 38 34' fill='none'%3E%3Cpath d='M5.68505 25.8824H0.200195L6.61498 2.78593L5.90892 0.100098H12.8489L6.90773 21.4835L12.3926 19.2108L17.6966 0.108707H23.1815L17.2919 21.3027L5.68505 25.8824Z' fill='%23FF4100'/%3E%3Cpath d='M29.1397 34.0001H17.3089L16.0776 31.3143L18.3938 22.9899L23.0004 26.1578L21.8725 30.221H26.6857L28.3734 24.1434L19.4099 19.3313L21.7519 10.8951L24.4728 8.20923H36.3036L37.5349 10.8951L35.7181 17.4203L31.1029 14.2868L31.7486 11.9711H26.9354L25.5147 17.0845L34.4782 21.8966L31.8692 31.2971L29.1397 34.0001Z' fill='%23FF4100'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
}
.photo-gallery__card_double .photo-gallery__card-title{
    font-size: 2.2rem;
}
.match-main__team-name{
    font-size: 3.2rem;
}
.empty-content img.emoji{
    margin: 0 1rem !important;
}

@media (max-width: 768px) {
    .calendar__place-filter-tab{
        font-size: 1.8rem;
    }
    .calendar__line-score{
        font-size: 4.8rem;
        min-width: 7.1rem;
    }
    .footer__text{
        font-size: 1.6rem;
    }
    .match-main__score {
        font-size: 4rem;
        font-family: var(--hcsd);
    }
    .match-main__team-name{
        font-size: 1.6rem;
        font-weight: 600;
    }
    .match-box-timeline__team {
        font-size: 1.6rem;
    }
    .match-main__status {
        font-size: 1.4rem;
        margin-top: 0.8rem;
    }
    .news__card-info__top{
        column-gap: 1rem;
    }
    .news__card-type{
        font-size: 1.3rem;
    }
    .main-players__swiper-stats-item span{
        font-size: 1.3rem;
    }
    .main-table__table-header{
        font-size: 3.2rem;
    }
    .main-board__match_live .main-board__match-teams{
        column-gap: 5rem;
    }
    .main-board__match-logo-name{
        font-size: 1.6rem;
    }
    .person-hero__stats{
        z-index: 10;
    }
    .match-box-teams__name{
        font-size: 2.6rem;
    }
}