/* main style */
* {
    box-sizing: border-box;
}
body {
    font-family: "Open Sans", sans-serif;
    color: #404040;
    overflow-x: hidden;
}
table{
    background-color: white;
}

/* body,
.common-table,
.common-table th,
.common-table td,
.title,
.league-table-title,
.table-header {
    font-family: "Google Sans", Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 14px;
} */

/* Заголовки таблицы — жирный, белый, на синем фоне */
.common-table th {
    background-color: #0243C9;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

/* Ячейки — обычный вес, выравнивание по левому краю (или как в оригинале) */
.common-table td {
    padding: 10px;
    vertical-align: top;
}

._container-shadow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 15px;
    box-sizing: content-box;
}

.wrapper {
    overflow: hidden;
}

._container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 15px;
    box-sizing: content-box;
    overflow: hidden;
}

._container-sp {
    max-width: 850px;
    margin: 0 auto;
    padding: 0px 15px;
    box-sizing: content-box;
    overflow: hidden;
}

._container-cont {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0px 15px;
    box-sizing: content-box;
}


/* Общие стили для хедера */
.site-header {
    direction: rtl;
    background-color: #0243C9;
    position: relative;
    display: flex;
    align-items: center;
    height: 66px;
    padding: 0 15px;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    padding-right: 7%;
}

.logo img {
    width: 59px;
    height: auto;
}

/* Гамбургер-иконка (для мобильной версии) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Десктопное меню */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    justify-content: space-between;
}

.left-menu{
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0 23px 0 0;
    padding: 0;
    gap: 23px;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.social-icons {
    direction: ltr;
    display: flex;
    gap:24px;
    margin-left: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Мобильное меню (по умолчанию скрыто) */
.mobile-menu {
    display: none;
    position: fixed;
    top: 66px; /* под хедером */
    right: 0;
    bottom: 0;
    width: 70%; /* можно регулировать: 70%, 80% или 300px */
    background-color: #0243C9;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    /* padding: 20px 20px 40px; */
    gap: 15px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-list:last-child li:last-child a {
    border-bottom: none;
}

.mobile-social-icons {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    justify-content: center;
    direction: ltr;
}

.mobile-social-icons img {
    width: 24px;
    height: 24px;
}

.mobile-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
}

.mobile-footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background 0.2s;
}

.mobile-footer-links a:hover {
    background: rgba(255,255,255,0.1);
}
/* Фиксируем хедер на мобильных */
@media screen and (max-width: 991px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Основной контент должен начинаться ниже хедера */
    body {
        padding-top: 66px; 
    }

    .header-inner {
        position: relative;
        padding: 0;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: none;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .social-icons {
        display: none;
    }
}

    /*footer*/
.footer {
	direction:rtl;
    background-color: #0243C9;
    color: white;
    padding: 40px 20px 20px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column h4 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 8px;
  }
  
  .footer-column a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }

  
  .social-icons img {
    width: 24px;
    height: 24px;
  }
  .logos{
    margin-top: 20px;
  }
  .logos img {
    height: 40px;
    margin-right: 15px;
  }
  
  .footer-bottom {
    direction: ltr;
    text-align: center;
    font-size: 12px;
    margin-top: 30px;
    opacity: 0.8;
  }
  
  @media (max-width: 600px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
      text-align: center;
    }
    .footer-column h4 {
      font-size: 16px;
    }
    .footer-column a {
      font-size: 13px;
    }
  }
  
  /*------end footer------ */

/* sponsers */

.sponsers {
    margin: 80px 0px 20px 0px;
    position: relative;
}

.sponsers__body .spon__item a img {
    width: 100%;
    border: 1px solid #E6E6E6;
    box-shadow: 0 2px 16px 0 rgba(64, 64, 64, 0.16);
    background-color: #FFFFFF;
    padding: 5px;
    box-sizing: border-box;
    transition: .3s;
}

.sponsers__body .spon__item a:hover img {
    box-shadow: none;
    transition: .3s;
}

.sponsers__body .spon__item a {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    height: 100%;
    max-width: 277px;
   
}

.sponsers__body {
    align-items: center;
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 4fr));
}

.sponsers:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -135px;
    background-image: url(../img/hand_01.png);
    width: 480px;
    height: 630px;
    background-repeat: no-repeat;
    z-index: -1;
}

.sponsers:after {
    content: '';
    position: absolute;
    top: -500px;
    left: 0px;
    background-image: url(../img/hand_02.png);
    width: 100%;
    height: 630px;
    background-repeat: no-repeat;
    z-index: -1;
}


/* .sponsers:before {
    content: '';
    position: absolute;
    top: -160px;
    right: -15px;
    background-image: url(./img/hand_01.png);
    width: 480px;
    height: 630px;
    background-repeat: no-repeat;
    z-index: -1;
}

.slider-spon::after {
    content: '';
    position: absolute;
    top: 600px;
    left: 0px;
    background-image: url(./img/hand_02.png);
    width: 100%;
    height: 630px;
    background-repeat: no-repeat;
    z-index: -1;
} */

@media(max-width: 768px) {
    .sponsers__body {
        gap: 15px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 2fr));
    }

    .sponsers__body .spon__item a {
        max-width: 100%;
    }

    .sponsers:before {
        display: none;
    }

    .sponsers {
        margin: 40px 0px;
    }
}

/* lead-boxes */

.lead-boxes {
    margin: 80px 0px;
}

.lead-boxes__body {
    align-items: center;
    gap: 2px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 3fr));
}

.lead-boxes__item {
    padding: 98% 0;
    position: relative;
}

.lead-boxes__item:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
}

.lead-boxes__item-title {
    color: #EB0180;
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    position: absolute;
    text-decoration: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Добавлено для центрирования по горизонтали */
    margin: auto;
    padding: 20px;
    transition: .3s;
}

.lead-boxes__item-title.cl1 {
    color: #FAAF3F
}

.lead-boxes__item-title.cl2 {
    color: #EB0180;    
}

.lead-boxes__item-title.cl3 {
    color: #00ADEE;
}

.lead-boxes__body a {
    text-decoration: none;
}

.lead-boxes__body a:hover .lead-boxes__item:before {
    display: none;
    transition: .3s;
}

.lead-boxes__body a:hover .lead-boxes__item-title {
    color: white;
    transition: .3s;
}

@media(max-width: 768px) {
    .lead-boxes__body {
        grid-template-columns: repeat(auto-fit, minmax(220px, 3fr));
    }

    .lead-boxes__item-title {
        font-size: 20px;
    }

    .lead-boxes {
        margin: 40px 0px;
    }
}

@media(max-width: 500px) {
    .lead-boxes__item {
        padding: 60% 0;
    }
}

/* games-section */

.games-section {
    direction: rtl;
}

.games-table{
    margin-top: 5rem;
}

.tabs {
    display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
}
.tab {
    color: #0243C9;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.28px;
    height: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 171px;
    width: 100%;
    transition: .3s;
    border-bottom: 6px solid #ffff;
    cursor: pointer;

    min-width: 100px;
}

.games-section ._container-box {
    border: 1px solid #E6E6E6;
    background-color: #FFFFFF;
    box-shadow: 0 2px 16px 0 rgba(64, 64, 64, 0.16);
}

.games-section__title h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tab.active {
    border-bottom: 6px solid #00adee;
    transition: .3s;
}
.content-tab {
    max-height: 374px;
    overflow-y: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 8px;
    text-align: center;
}

.content-tab table thead tr th {
    color: #FFFFFF;
    /* font-family: 'OpenSansHebrew-Bold'; */
    background-color: #0243C9;
    /* position: sticky; */
    top: 0;
    padding: 10px;
    /* border: 0; */
    text-align: center;
}

.content-tab table tbody tr td a img {
    width: 32px;
    min-width: 32px;
}

.content-tab table tbody tr td a {
    color: #212529;
    text-decoration: none;
}

.td_ltr_center {
    text-align: center;
    transition: .3s;
}

/* .td_ltr_center:hover {
    transform: scale(1.1);
    transition: .3s;
} */

th, td {
    
    padding: 8px;
    border: 0px;
    border-top: 1px solid #dee2e6;
}

.tag.blue {
    color: #00ADEE;
    border: 1px solid rgba(0, 173, 238, 0.1);
    background-color: rgba(0, 173, 238, 0.1);
}

.tag {
    font-size: 14px;
    border-radius: 2px;
    display: inline;
    padding: 0 4px;
}

.content-tab table thead tr th {
    z-index: 6;
}

.content-tab {
    position: relative; 
    z-index: 1;
}

.t_date.sticky-col {
    z-index: 7;
}

.sticky-col{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;

}

@media screen and (max-width: 1050px) {
    .sticky-col {
        right: 0px;
        position: sticky;
        overflow: auto;
        z-index: 5;
        background-color: white;
    }

    .tabs {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    .content-tab table tbody tr td {
        min-width: 140px;
    }
}


/* banner */

section {
    direction: rtl;
}

.title-h1 {
    color: #FFFFFF;
    font-size: 64px;
    letter-spacing: -0.4px;
    text-align: center;
    font-weight: 700;
}

.banner-mein {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.banner__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.banner-mein, .banner__body {
    min-height: 500px;
    height: 100%;
}

.banner__body-content {
    position: relative;
}

.banner-line {
    height: 60px;
    background-color: #003299;
    bottom: -43px;
    left: 0;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

/* UNION */

.union {
    margin-top: 43px;
}

.union__body {
    display: flex;
    flex-direction: row-reverse;
}

.union__body-info {
    flex: 0 0 41.666667%;
    padding: 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.union__body-info__bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.union__body-f {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.body-border {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.union__body-info h2 {
    color: #19141F;
    line-height: 1.1;
    font-size: 32px;
    font-weight: 700;
}

.content ul li {
        list-style-type:disc;
        color: #404040;
        font-size: 16px;
}

.content p {
    margin: 15px 0px;
    font-size: 14px;
    color: #494949;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

h4 {
    margin: 20px 0px;
    font-weight: 500;
    line-height: 1.2;
    font-size: 24px;
}

a:hover {
    color: #0056b3;
}

.content-faq__gap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 4fr));
    gap: 7px;
    padding: 0px 20px 20px 20px;
}

.content-faq__gap-item {
    max-width: 140px;
    width: 100%;
    min-width: 110px;
    height: 160px;
}

.content-faq__gap-item img {
    max-width: 140px;
    width: 100%;
    height: 140px;
    object-fit: fill;
}

.content-faq__gap-item p {
    font-size: 13px;
    font-weight: 400;
}

  .acc-item {
    width: 100%;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .content-faq {
        padding: 0px 25px 20px 20px;
  }

  .accordion-faq {
    display: flex;
    flex-direction: column;
  }

  .acc-item .acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  
  .acc-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #19141F;
    height: 100%;
    cursor: pointer;
    font-weight: 700;
    padding: 25px 20px;
  }
  
  .arrow-faq {
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background: #003299;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }
  
  .arrow-faq::after {
    content: "";
    width: 12px;
    height: 32px;
    background: url(../img/+.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .acc-title.arrow-price-active .arrow-faq {
    background: rgba(40, 40, 40, 1);
    transition: 0.3s;
  }
  
  .acc-title.arrow-price-active .arrow-faq::after {
    background: url(../img/-.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .acc-title p {
    font-weight: 700;
    font-size: 16px;
    line-height: 25.83px;
  }
  
  @media (max-width: 768px) {
  
    .acc-item {
      padding: 20px 0px;
    }
  
    .acc-title p {
      font-size: 18px;
      line-height: 21.13px;
    }
  
    .arrow-faq {
      width: 28px;
      height: 28px;
    }
  
    .arrow-faq::after {
      width: 8px;
      height: 22px;
    }
  }

  @media(max-width: 810px) {
    .union__body {
        flex-direction: column-reverse;
    }

    .union__body-info {
        flex: 1;
    }
    
    .union__body-f {
        flex: 1;
        max-width: 100%;
    }
  }


.body-border-story {
    padding: 25px;
}

.tb-hist__title.blue {
    color: #00ADEE;
    border: 1px solid rgba(0, 173, 238, 0.1);
    background-color: rgba(0, 173, 238, 0.1);
}

.tb-hist__title.red {
    color: #EB0180;
    border: 1px solid rgba(235, 1, 128, 0.1);
    background-color: rgba(235, 1, 128, 0.1);
}

.tb-hist__title {
    font-size: 14px;
    border-radius: 2px;
    display: flex;
    padding: 0 4px;
    margin: 20px 0px;
    max-width: 126px;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.tb-hist__title:hover {
    opacity: 0.8;
    transition: .3s;
}

table.common-table thead tr th {
    color: #FFFFFF;
    font-weight: 700;
    background-color: #0243C9;
    position: sticky;
    top: 0;
    padding: 3px 13px;
    border: 0;
}

.td_rtl_right {
    text-align: right;
}

table.common-table tbody tr td {
    vertical-align: middle;
    height: 57px;
    padding: 0px 13px;
    color: #212529;
}

table.common-table tbody tr td {
    vertical-align: middle;
    height: 57px;
    padding: 0px 13px;
    color: #212529;
}

.td_rtl_right.fBold {
    font-weight: 600;
}

.tb-hist__a {
    margin: 20px 0px;
}

.content p img {
    max-width: 450px;
    width: 100%;
}

@media(max-width: 768px) {
    .body-border-story {
        padding: 25px 15px;
    }
}

@media(max-width: 810px) {

    .union__body-info {
   
        border-right: 0px solid rgba(0, 0, 0, 0.1);
        border-left: 0px solid rgba(0, 0, 0, 0.1);
        border-bottom: 0px solid rgba(0, 0, 0, 0.1);
    }

    .union__body .union__body-info {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .acc-item {
        width: 100%;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .body-border {
        border-left: 0px solid rgba(0, 0, 0, 0.1);
        border-bottom: 0px solid rgba(0, 0, 0, 0.1);
    }

    .body-border-story {
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
}

.single-page__title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

.single-page-img img {
    max-width: 665px;
    width: 100%;
}

.single-page-img {
    padding: 15px 0px;
}

.single-page-img__title {
    font-weight: 700;
    color: #19141F;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 16px;
}

.single-page-info {
    color: #808080;
    margin-bottom: 32px;
    font-size: 12px;
}

.union__body-info.single__body-right {
    flex: 0 0 41.666667%;
    border-right: 0px solid rgba(0, 0, 0, 0.1);
    border-left: 0px solid rgba(0, 0, 0, 0.1);
    max-width: 430px;
    width: 100%;
    padding-top: 0px;
}

.content-box.go-link {
    margin-bottom: 40px;
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.content-title {
    padding: 16px 12px 32px 12px;
    padding-top: 20px;
    padding-bottom: 28px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    font-size: 20px;
    line-height: 24px;
}

.img-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    padding-bottom: 15vw;
}

.img-box .img-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.content-box img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.single__body {
    justify-content: space-between;
}

@media (max-width: 810px) {
    .union__body.single__body {
        flex-direction: column;
    }

    .single-page-img img {
        max-width: 100%;
    }

    .union__body-info.single__body-right {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 3fr));
        gap: 22px;
        flex: 1;
        max-width: 100%;
        padding: 0;
    }

    .content-box.go-link {
        margin: 0;
    }

    .img-box {
        padding-bottom: 50vw;
    }
}

.archive-page {
    margin-top: 90px;
}

.archive__body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 3fr));
    gap: 22px;
}

.content-title-archive {
    display: flex;
    flex-direction: column;
}

.content-title-archive .tag.blue {
    max-width: max-content;
    margin: 8px 0px;
}

.text-prev-cat, .read-more {
    height: min-content;
    margin: 8px 0;
    font-weight: 400;
    font-size: 14px;
}

.read-more {
    color: #404040;
}

.content-box.go-link {
    margin-bottom: 40px;
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.content-box {
    transition: .5s;
}

.content-box:hover img {
    transition: .5s;
    transform: scale(1.1);
}

.banner-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 45px;
}

.filter-arc {
    background-color: #003299;
    border: 0;
    color: #fff;
    font-weight: 700;
}

.filter-arc option {
    color: #003299;
    background-color: #fff;
    font-weight: 700;
}

@media(max-width: 810px) {
    .banner-line-arc {
        flex-direction: column;
    height: max-content;
    gap: 20px;
    }
}

.slider-spon__body .mySwiper-spon .swiper-slide a img {
    max-height: 60px;
    width: auto;
}

.slider-spon {
    padding: 34px 0 29px 0;
    text-align: center;
    border-top: 1px solid #E6E6E6;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 16px 0 rgba(64, 64, 64, 0.16);
    background-color: #fff;
    position: relative;
}


.video-card__pre-img {
    width: 100%;
    height: 80px; /* Фиксированная высота — меняйте по необходимости */
    overflow: hidden;
}

.video-card__pre-img  img {
    width: 160px;
    height: 80px;
    object-fit: cover; /* Обрезает изображение, чтобы заполнить контейнер */
    object-position: center; /* Центрирует изображение при обрезке */
    display: block;
}

.video-main__container-right {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    background-color: #fff;
    padding: 12px 24px;
}

.video-pre__title {
    color: #404040;
    font-size: 16px;
    text-align: right;
    margin-bottom: 10px;
    font-weight: 700;
}

.video-card-pre {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 16px;
}

.video-card__pre {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    transition: .5s;
}

.video-card__pre p {
    font-size: 14px;
    color: #404040;
    line-height: 1;
}

.video-pre__link {
    color: #0243C9;
    font-size: 14px;
    transition: .5s;
}

.video-card__pre:hover, .video-pre__link:hover {
    opacity: 0.8;
    transition: .5s;
}

.video-main {
    margin: 30px 0px;
}

.video-main__body h2 {
    text-align: center;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
}

.video-main__container-left {
    background-color: blue;
    flex: 0 0 77.777777%;
    max-width: 67.777777%;
}

.video-main__container {
    height: 50vh;
    display: flex;
    flex-direction: row-reverse;
}

.video-main {
    margin-top: 0;
    background-image: url(../img/bg_sand.jpg);
    padding: 215px 0 230px 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.video-main:before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    background-image: url(../img/ball.png);
    width: 674px;
    height: 674px;
    background-repeat: no-repeat;
    background-position-x: -100px;
}

.single-bl__body {
    /* align-items: center; */
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 3fr));
}

@media(max-width: 810px) {
    .video-main__container {
        flex-direction: column;
    }

    .video-main__container-right, .video-main__container-left {
        flex: 1;
        max-width: 100%;
    }

    .video-main:before {
        display: none;
    }

    .video-main {
        padding: 40px 0px;  
    }

    .video-main__body h2 {
        text-align: right;
    }
}

.mySwiper-match .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-box {
    display: inline-block;
    color: black;
    margin: 0px 24px;
    width: 230px;
    height: max-content;
    min-height: 130px;
    max-height: max-content;
    border: solid 1px #f5f5f5;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
    border-radius: 4px;
    background-color: #fff;
    padding: 8px;
}

.game-box-header {
    background-color: #0243C9;
    border-radius: 4px;
    height: 32px;
    padding: 3px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}
.game-box.is-live .game-box-header {
    background-color: #f32120;
}
.game-box-main {
    margin-bottom: 8px;
    text-align: center;
}

.game-box-footer {
    clear: both;
    text-align: center;
}

.gb-data {
    color: white;
    font-weight: 700;
}

.game-box .game-box-header .gb-block {
    width: 12px;
    height: 12px;
    display: inline-block;
    cursor: none;
}

.game-box-team {
    display: inline-block;
    width: 30%;
    color: #000;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    max-height: 80px;
    vertical-align: middle;
    overflow: hidden;
}

.game-box-result {
    display: inline-block;
    color: #0243C9;
    font-weight: 700;
    font-size: 24px;
    width: 30%;
    margin: 0 3%;
    vertical-align: middle;
}

.game-box-result a {
    color: #0243C9;
}

.game-box.is-live .game-box-result a {
    color: #f32120;
}

.game-box-footer .tag.green {
    color: #01BF6E;
    border: 1px solid rgba(1, 191, 110, 0.1);
    background-color: rgba(1, 191, 110, 0.1);
}

.mySwiper-match .swiper-wrapper {
    padding: 40px 0px;
}

.mySwiper-match .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: "";
    background: url(../img/btn_arrow_left.png);
    width: 60px;
    height: 60px;
    background-position: center;
    background-repeat: no-repeat;
}

.mySwiper-match .swiper-button-next, .mySwiper-match .swiper-button-prev {
    width: 51px;
    height: 37px;
}

.mySwiper-match .swiper-button-prev {
    transform: rotate(180deg);
}
.container-single {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto auto;
    height: 500px;
}
.container-single__item {
    text-align: center;
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.container-single__item:nth-child(1) {
    background-color: lightgreen;
    grid-column: 1;
    grid-row: 1 / span 2;
}
.container-single__item:nth-child(2) {
    background-color: lightblue;
    grid-column: 2;
    grid-row: 1;
}
.container-single__item:nth-child(3) {
    background-color: lightcoral;
    grid-column: 2;
    grid-row: 2;
}

.main-container.sml {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: end;
    text-align: justify;
}

.content-boxqw {
    padding: 16px 24px 25px 31px;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    position: relative;
    font-size: 14px;
}

.content-boxqw .title {
    font-size: 26px;
    margin: 6px 0px 2px 0px;
    line-height: 28px;
    font-weight: 700;
}

.content-boxqw .text {
    font-size: 18px;
    font-weight: 400;
    width: 95%;
    margin-top: 10px;
}

.container-single__item:hover {
    opacity: 0.85;
    transition: opacity 0.5sease-in-out;
    -webkit-transition: opacity 0.5sease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
}

.container-single__item:hover {
    color: white;
}

.main-container .tag.blue {
    color: #fff;
    border: 1px solid rgba(0, 173, 238, 1);
    background-color: rgba(0, 173, 238, 1);
}

.main-single-show {
    margin-bottom: 50px;
}

@media(max-width: 950px) {
    .container-single {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .container-single__item {
        height: 500px;
    }
}

.vole-g__body {
    align-items: center;
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 3fr));
}

.vole-g__item {
    background-color: #18A3BB;
    text-align: center;
    padding: 7px 11px;
    border-radius: 2px;
    color: #fff;
    max-width: 380px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    height: 38px;
}

.vole-g {
    margin: 35px 0px;
}

.kob-pro img {
    max-width: 790px;
    width: 100%;
}

.kob-pro {
    margin-top: 35px;
}

.vole-png__body a {
    font-weight: 700;
    color: #fff;
    padding: 17% 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: .5s;
}

.vole-png__body a span {
    font-size: 14px;
    margin: 16px 0;
    z-index: 1;
}

.vole-png__body a:hover {
    opacity: 0.8;
    transition: .5s;
}

.vole-png__body a:nth-child(odd) {
    text-align: right;
}

.vole-png__body a:nth-child(even) {
    text-align: left;
}


.boards-page__body h2 {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 4rem 0 1rem;
}

.boards-table div a {
    color: #212529;
}

.boards-table div, .boards-table tr th {
    text-align: center;
    margin: 8px 0px;
}

.boards-table div a:hover {
    text-decoration: underline;
}

.boards-table .deskOnly {
    font-weight: 700;

}
@media (max-width: 767px) {
    .deskOnly {
        display: none !important;
    }
}

#boards-page .boards-table td{
    vertical-align: top !important;
}

.banner__body img {
    max-width: 800px;
    width: 100%;
}

  .video-single__body h1 {
    font-size: 20px;
    font-weight: 700;
    color: #404040;
    padding: 30px 0 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

.team-league{
    display: flex;
    text-align: right;
}
.team-league-logo{
    width: 50px;
    align-content: center;
}

.video-single__body {
    margin-top: 40px;
}

.video-archive-term {
    padding: 50px 0;
    border-bottom: 1px solid #E0E0E0;
}

.video-archive-term h3 {
    color: #1A1423;
    font-weight: 700;
    margin-bottom: 12px;
}

.video-block {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #000;
  }
  .video-block img.video-preview {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    cursor: pointer;
  }
  .video-block .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  .video-block .play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
  }
  .video-block video.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-archive-term a:hover {
    text-decoration: underline;
    color: #1A1423;
  }

  .video-list {
    align-items: center;
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(540px, 2fr))
  }

  .video-item p {
    font-weight: 400;
    font-size: 14px;
    color: #404040;
    margin-top: 10px;
  }

  .video-item a img {
    height: 350px;
    object-fit: cover;
    width: 100%;
  }

  .banner-line-team img {
    /* max-height: 64px; */
}

.banner-line-team {
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: max-content;
    bottom: -80px;
}

.team__body {
    margin: 120px 0px 30px 0px;
}

/* Фоновые руки для страницы команды */
body.page-template-page-team-php:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -135px;
    background-image: url(../img/hand_01.png);
    width: 480px;
    height: 630px;
    background-repeat: no-repeat;
    z-index: -1;
}

body.page-template-page-team-php:after {
    content: '';
    position: absolute;
    top: -500px;
    left: 0px;
    background-image: url(../img/hand_02.png);
    width: 100%;
    height: 630px;
    background-repeat: no-repeat;
    z-index: -1;
}

.banner-line-team h1 {
    font-size: 42px;
    font-weight: 700;
}

.team__body h3, .team-main h3 {
    font-weight: 700;
    color: #19141F;
    font-size: 16px;
    margin-bottom: 12px;
}

.players-container {
    align-items: center;
    gap: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 4fr));
}

.players-container .player {
    display: flex;
    width: 100%;
    position: relative;
}

.players-container .player img {
    min-width: 110px;
    max-width: 110px;
    max-height: 135px;
    width: auto;
}

.players-container .player .player-details {
    display: inline-block;
    text-align: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    max-height: 135px;
    padding: 5px;
}

.players-container .player .player-details .top {
    color: #fff;
    font-size: 12px;
}

.players-container .player .player-details .general {
    margin-top: 10px;
    font-weight: 700;
}

.players-container .player .player-details .general .number {
    font-size: 20px;
    opacity: 0.5;
    color: #fff;
}

.players-container .player .player-details .general .name {
    font-size: 14px;
    line-height: 15px;
    color: #fff;
}

.players-container .player .player-details .general .role {
    color: #fff;
    font-size: 14px;
    opacity: 0.5;
    margin-top: 4px;
    font-size: 12px;
}

.team-main h3 {
    margin-bottom: 20px;
}

.team-main__body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 65px;
}


.team-main__item-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 700;
    color: #404040;
}

.team-main__item-role {
    font-size: 14px;
    color: #0243C9;
    font-weight: 700;
}

.team-main ._container-cont {
    border-bottom: 1px solid #E0E0E0;
    padding: 50px 0;
    background-color: #fff;
}

.team-main-adr {
    font-weight: 700;
    color: #19141F;
    font-size: 16px;
    margin-bottom: 12px;
}

.adr-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin: 12px 0px 0px 0px;
}

.adr-adr {
    font-size: 14px;
    font-weight: 400;
    color: #404040;
    margin-bottom: 15px;
}

.team-main-adr {
    padding: 50px 0px;
}

.team-main__body-adr {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
}

.team-main__body-adr iframe {
    width: 600px;
    height: 362px;
}

.team-main__body-adr img {
    width: 100%;
    max-width: 425px;
}

.common-container .tag.green, .games-bar .tag.green {
    color: #01BF6E;
    border: 1px solid rgba(1, 191, 110, 0.1);
    background-color: rgba(1, 191, 110, 0.1);
}


table.table-team tbody tr td a {
    vertical-align: middle;
    height: 57px;
    padding: 0px 13px;
    color: #212529;
}

.teams-body {
    margin-bottom: 120px;
    font-weight: 500;
}

.teams-body h3 {
    font-size: 28px;
}

table {
    box-shadow: 0 8px 26px 0 rgba(64, 64, 64, 0.32);
}

.banner__body p {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.banner-line-team .extra {
    text-align: center;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-line-team .extra a {
    color: white;
    text-decoration: underline;
}

.extra .game_zone_team_icon a {
    text-align: -webkit-center;
    text-decoration: none;
}

.banner-line-team .extra a:hover {
    text-decoration: none;
}

.game_zone_team_icon .t_icon {
    max-width: 128px;
    height: 128px;
}

.game_zone_team_icon .t_icon img {
    height: 128px;
    background-color: white;
}

.extra .game_zone_team_icon a:hover {
    text-decoration: underline;
}

.game_zone_result {
    margin: 0px 30px;
    font-weight: 700;
    font-size: 48px;
    color: #fff;
}

.score-sets {
    margin-top: 120px;
    text-align: center;
    margin-bottom: 100px;
}

.score-sets h3 {
    color: #000;
    font-size: 28px;
    text-align: center;
}

.score-sets a {
    color: #000;
    font-size: 16px;
    text-align: center;
    margin: 20px 0px;
    display: block;
}

.score-sets .score-sets-a:hover {
    text-decoration: underline;
}



@media(max-width: 950px) {
    .team-main__body-adr {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .team-main__body-adr iframe {
        max-width: 100%;
    }

    .extra-up {
        flex-direction: column;
    }

    .game_zone_result {
        margin: 0px 20px;
        font-size: 34px;
    }

    .game_zone_team_icon .t_icon img {
        min-height: 80px;
		max-height:80px;
    }

    .banner-line-team .extra {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .game_zone_team_icon .t_icon {
        max-width: 90px;
        height: 80px;
    }
	.banner-mein, .banner__body {
		min-height: 300px;
	}
	body #match-banner {
		min-height:400px
	}
}


@media(max-width: 768px) {
.video-list {
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 2fr));
}

.game_zone_team_icon .t_name {
    font-size: 10px;

}

.banner__body h1 , #match-banner h1  {
    font-size: 30px;
}

.score-sets {
    margin-top: 100px;
    margin-bottom: 60px;
	overflow-x: auto;
    width: 100%;
}
	
body #match-table {
	justify-self:unset;
}
	
.video-item a img {
    height: 300px;
}

.sponsers:after {
    display: none;
}

.video-block {
    height: 450px;
}

.players-container {
    gap: 30px;
}

.banner-line-team {
    flex-direction: column;
}

.team__body {
    margin: 80px 0px;
}
}
.table-header {
    direction: ltr;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.table-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-toggle label {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007BFF;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.league-table-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.small-logo{
    height: 40px;
}

.games-table .table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.games-table .table-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.games-table .table-header select {
    padding: 6px 24px;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.games-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.games-table th {
    background-color: #0056b3;
    color: white;
    padding: 10px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
}

.games-table td {
    padding: 10px;
    /* border-bottom: 1px solid #ddd; */
    font-size: 14px;
}

.games-table .tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.games-table .tag.pink {
    background-color: #ffc0cb;
    color: #d80073;
    margin-top: 15px;
}

.games-table td:nth-child(5) { /* Колонка "frame" */
    text-align: center;
    vertical-align: top;
}

.games-table td:nth-child(6) { /* Колонка "date" */
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
}

/* Стили для логотипов команд */

.teams-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 26px 0 rgba(64, 64, 64, 0.32);
}

.team-item {
    border-left: 1px solid #E0E0E0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-item:hover {
    transform: scale(1.05);
    border-color: #007BFF;
}

.team-item a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-logo {
    padding: 20px 0;
    max-height: 128px;
    width: auto;
}

.team-item:hover .team-logo {
    filter: brightness(1.1);
}

.seasons-year{
    color: white;
    font-weight: 700;
}

.league-logo{
    width: 128px  !important;
    height:auto;
}
  
.legue-table td{
    font-size: 14px;
}

.legue-table a{
    color: black;
}

.legue-table th{
    font-size: 14px;
}

#games td{
    font-size: 14px;
}
#games th{
    text-align: center;
    font-size: 14px;
}

.tag.pink {
    font-weight: 400;
    font-size: 14px;
    margin-top: 10px;
    color: #EB0180;
    border: 1px solid rgba(235, 1, 128, 0.1);
    background-color: rgba(235, 1, 128, 0.1);
}
.tag.green {    
    font-weight: 400;
    font-size: 14px;
    margin-top: 10px;
    color: #01BF6E;
    border: 1px solid rgba(1, 191, 110, 0.1);
    background-color: rgba(1, 191, 110, 0.1);
}

.tag.blue {
    font-weight: 400;
    font-size: 14px;
    margin-top: 10px;
    color: #00ADEE;
    border: 1px solid rgba(0, 173, 238, 0.1);
    background-color: rgba(0, 173, 238, 0.1);
}
.league-tag div{
    margin:0;
}

.table-team{
    direction: rtl !important;
}

.banner__body .logo {
    background-color: white;
    max-width: 100px;
    width: 100%;
}

.table-team th {
    text-align: left;
    padding: 8px 12px;
}

.method-section {
    background-image: url(../img/bg_shita.jpg);
    background-size: cover;
    padding: 40px 20px;
    margin: 30px 0;
}

.common-container.method-bg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    color: white;
}

.title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.method-info {
    margin: 25px 0;
}

.sub-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.method-numbers {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.item {
    text-align: center;
}

.number {
    font-size: 64px;
    line-height: 1;
    color: #fff;
    margin-bottom: 5px;
}

.label {
    font-size: 14px;
    color: #ccc;
}

.more-info {
    font-weight: 700;
    color: #404040;
    text-align: center;
    background: white;
    padding: 10px 20px;
    border-radius: 15px;
    display: inline-block;
    margin: 25px 15px;
}

.content {
    line-height: 1.6;
    font-size: 14px;
    text-align: right;
}

.content ol {
    direction: rtl;
    padding-right: 20px;
}

.content ul {
    direction: rtl;
    padding-right: 20px;
}

.content p, .content li {
    margin-bottom: 8px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .method-numbers {
        flex-direction: column;
        align-items: center;
    }
    .number {
        font-size: 28px;
    }
}

#match-table{    
    justify-self: center;
    width: auto;
}
#match-table td{
    min-width: 57px;
    vertical-align: middle;
    font-size: 14px;
}
#match-table th{
    text-align: center;
    font-size: 16px;
}

#countdown{
    text-align: center; 
    padding: 20px;
    font-size: 16px;
    direction: ltr;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}
.countdown-item {
    text-align: center;
}
.countdown-item span {
    display: block;
    font-size: 32px;
    line-height: 1;
}
.countdown-sep {
    font-size: 32px;
    color: #fff;
    opacity: 0.7;
}
.countdown-item small {
    font-size: 12px;
    font-weight: 300;
    display: block;
    margin-top: 2px;
}
@media (max-width: 768px) {
    .countdown-timer {
        font-size: 24px;
        gap: 10px;
    }
    .countdown-item span {
        font-size: 24px;
    }
    .countdown-sep {
        font-size: 24px;
    }
}
#match-banner{
    justify-items: center;
    min-height: 500px;
}
#games-section .content-tab {
    display: none;
}
#games-section .content-tab.active {
    display: block;
}



.main-video-embed{
    height: 100%;
}

/* Центрируем пагинацию и помещаем её вниз */
.pagination-wrapper {
    clear: both; /* Очищаем обтекание */
    text-align: center;
    margin: 30px 0 50px; /* Отступ сверху и снизу */
    width: 100%;
}

.pagination-wrapper ul {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper li {
    display: inline-block;
    margin: 0 5px;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
}

.pagination-wrapper .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

#stats-content iframe {
    height: 800px;
    overflow-y: auto;
    border: none;
    width: 100%;
}
.calendar-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: right;
    font-weight: bold;
}

.day-header {
    padding: 5px;
}

.calendar-body {
    display: grid;
    grid-template-rows: repeat(6, minmax(100px, auto));
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-row {
    display: contents;
}

.calendar-cell {
    width: 150px;
    height: 150px;
    margin: 4px;
    background-color: #fafafa;
    border: 1px solid #eee;
    padding: 8px;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-align: right;
    position: relative;
}

.calendar-cell .date {
    text-align: left;
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 4px;
}



#events-content{
    direction: ltr;
    max-width: 1200px;
    place-self: anchor-center;
}

.teams-slider .team-name {
    margin: 8px 0;
    font-size: 14px;
    text-align: center;
    color: #000;
    line-height: 1.3;
    word-break: break-word;
}
.teams-slider .team-logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.teams-slider .team-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* Стили для всплывающего меню */
.desktop-menu .menu-item-has-children {
    position: relative;
}

.dropdown-menu {
    margin-top:20px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2); 
    min-width: 500px;
    z-index: 1000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu.active {
    direction: ltr;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-columns {
    display: flex;
}

.dropdown-column {
    box-shadow: -5px 0 15px rgba(0,0,0,0.2); 
    flex: 1;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column li {
    margin: 0;
}

.dropdown-league{
    border:0.5px solid #e0e0e0;
}

.arrow{
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    margin-right: 7px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.dropdown-column a {
    text-align: right;
    display: block;
    padding: 8px 12px;
    color: #0243C9; /* Синий цвет для всех ссылок */
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s;
}

/* Для центральной колонки - жирный шрифт */
.dropdown-column:nth-child(2) a {
    font-weight: bold;
}

.dropdown-column a:hover {
    background-color: #f5f5f5;
    color: #0243C9;
}

.gender-filter {
    display: flex;
    flex-direction: column;
}

.gender-option {
    display: flex;
    justify-content: center;
    height: 160px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: background 0.2s;
    background-color: transparent; /* Прозрачный фон */
}

.gender-option:hover {
    background-color: #f5f5f5;
}

.gender-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    gap: 5px;
}

/* Стили для "Мужчины" */
.gender-option.men .gender-link {
    color: #0243C9;
    width: 100%;
}

.gender-option.men .gender-link i {
    color: #0243C9;
}

.gender-option.men .gender-link span {
    font-weight: bold;
    color: #0243C9;
}

/* Стили для "Женщины" */
.gender-option.women .gender-link {
    color: #EB0180;
    width: 100%;
}

.gender-option.women .gender-link i {
    color: #EB0180;
}

.gender-option.women .gender-link span {
    font-weight: bold;
    color: #EB0180;
}

/* Для мобильной версии - скрываем всплывающее меню */
@media screen and (max-width: 991px) {
    .dropdown-menu {
        display: none !important;
    }
}

#leagueTable th{
    min-width: 50px;
}

/* Подсветка активных пунктов в выпадающем меню */
.dropdown-league.active a,
.gender-option.active a {
    background-color: rgb(2, 67, 201, 0.2);
    color: #0056b3; /* Темно-синий текст */
    padding-left: 12px; /* Отступ слева */
}

/* Для иконок в правой колонке */
.gender-option.active img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(82%) saturate(6043%) hue-rotate(205deg) brightness(94%) contrast(100%);
}

/* Для иконок мужского пола (синяя) */
.gender-option.men img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(82%) saturate(6043%) hue-rotate(205deg) brightness(94%) contrast(100%);
}

/* Для иконок женского пола (розовая) */
.gender-option.women img {
    filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(648%) hue-rotate(336deg) brightness(98%) contrast(100%);
}

/* Кнопка External id у матча */
.external-id-link {
    background-color: #e6a100;
    border: 1px solid #e6a100;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: bold;
    transition: all 0.3s ease; /* Добавляем плавный переход */
}

.external-id-link:hover {
    background-color: #d19200; /* Темнее при наведении */
    border-color: #d19200;
}

.external-id-link:active {
    background-color: #b88400; /* Еще темнее при нажатии */
}

/*Document Page styles*/
.document-wrapper .list_icon img {
    width: 32px;
    height: 32px;
}
.document-wrapper .content-faq {
    display: flex;
    gap: 15px;
    align-items: center;
}
.document-wrapper .list_name a,
.document-wrapper .list_name a:hover,
.document-wrapper .list_name a:visited,
.document-wrapper .list_name a:link,
.document-wrapper .list_name a:active {
    color: #000;
	font-size:16px;
}