@media screen and (max-width: 1400px) {
    .page-home .s2 .s2-i {
        max-width: 100%;
    }
}

@media screen and (max-width: 1300px) {
    .b-info .b-info-middle .b-attributes .b-attribute {
        font-size: 14px;
    }
    .b-info .b-info-middle .b-attributes .b-value {
        font-size: 14px;
    }
    .b-info .b-info-right .b-r-btn span {
        font-size: 14px;
    }
    .b-info .b-info-right .b-r-btn {
        padding: 5px 20px;
    }
}

@media screen and (max-width: 1350px) {
    .bk-inner {
        gap: 30px;
    }
    .b-info {
        padding: 20px;
        gap: 20px;
    }
    .b-info .b-info-left .btn-site a {
        padding: 15px;
        font-size: 13px;
    }
    .promos .promos-inner {
        gap: 15px;
    }
    .promos .promos-inner .promo-code .p-btn {
        padding: 11px 15px;
    }
    .post-page .category-news {
        gap: 30px;
    }
    .blog-page-inner {
        gap: 20px;
    }
    .blog-page-inner {
        padding: 40px 0;
    }
}

@media screen and (max-width: 1100px) {
    .h2-anchors-list .h2-body ul{
        grid-template-columns: repeat(3, 1fr);
    }
    .h2-anchors-list li a{
        font-size: 16px;
    }
   .nav-container{
        display: flex;
        justify-content: flex-end;
   }
    .burger-menu {
        display: flex;
    }
    
    .header-container .col_1{
        gap: 24px;
    }
    .primary-menu {
        z-index: 999;
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        height: 100%;
        background: #000000;
        padding-top: 80px;
        transition: right 0.3s ease;
    }

    .primary-menu.active {
        right: 0px;
    }

    .primary-menu ul {
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-direction: column;
    }
    .menu-arrow svg{
        padding: 15px 10px;
    }
    .menu-item-has-children.active .menu-arrow {
        transform: rotate(180deg) translateY(10px);
    }
    .primary-menu ul .menu-header-menu-container ul li {
        padding: 0px;
        text-align: center;
        margin: 0px;
        width: 100%;
    }

    .primary-menu ul .menu-header-menu-container ul li a {
        color: #ffffff;
        font-size: 24px;
        font-weight: 700;
        display: flex;
        gap:5px;
        text-decoration: none;
    }
    .header .primary-menu li a{
        border: none;
    }
    .primary-menu ul .menu-header-menu-container ul li a:hover {
        color: #ddd;
    }
    .primary-menu .menu-header-menu-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .header .primary-menu li a:hover{
        border:none;
    }

   .menu-item-has-children:not(.active) .sub-menu {
        transition: height 0.3s ease-out, opacity 0.01s ease-out, transform 0.3s ease-out; /* Еще быстрее для неактивного состояния */
    } 
    .menu-header-menu-container ul  .sub-menu .menu-item-object-page{
/*         height: 0px;
 */        padding: 0px;
        margin: 0px;
    }
    .menu-header-menu-container ul .menu-item-has-children.active .sub-menu .menu-item-object-page{
/*         height: auto;
 */        padding: 10px 15px;
        margin: 10px 0;
    }
    .header .primary-menu .menu-header-menu-container li .sub-menu a{
/*         height: 0px;
 */        padding: 0px;
    }
    .header .primary-menu .menu-header-menu-container .menu-item-has-children.active .sub-menu  li a{
/*         height: auto;
 */        padding: 10px 20px;
    }
    
    .primary-menu ul.sub-menu {
    top: 40px;
    width: max-content;
    border-bottom: 5px solid #f94e04;
    background: none;
    padding: 0;
}
}

@media screen and (max-width: 1090px) {
    .bk-inner {
        grid-template-columns: 1fr;
        display: block;
    }
}

/************************** END 1366 px **************************/

@media screen and (max-width: 1150px) {
    .section-2 .bookmakers .bookmakerLine {
        grid-template-columns: 80px 150px 13% 13% 13% 1fr;
    }
    .section-2 .bookmakers .bookmakerHead {
        grid-template-columns: 80px 150px 13% 13% 13% 1fr;
    }
    .off .offer-top .bets-inner {
        gap: 30px;
    }
}

@media screen and (max-width: 991px) {
    .h2-anchors-list .h2-body ul{
        grid-template-columns: repeat(2, 1fr);
    }
    .table-container{
        overflow-x: auto;
    }
    table{
         min-width: 720px;
    }
    .section-2 .bookmakers .bookmakerLine > div {
        flex-direction: column;
    }
    .bonuses {
        grid-template-columns: repeat(2, 1fr);
    }
    .last-news {
        grid-template-columns: repeat(2, 1fr);
    }
    #footer .footer-row-2 .f2-inner {
        grid-template-columns: 1fr;
    }
    #footer .footer-row-2 .f2-inner .footer-copy {
        text-align: center;
    }
    #footer .footer-row-2 .f2-inner .footer-socials ul {
        justify-content: center;
    }
    .section-5-inner {
        grid-template-columns: 1fr;
    }
    .section-1 .section-1-brands .s1-bottom img {
        max-height: 15px;
    }
   /*  .section-1 .section-1-inner .text h1 {
       font-size: 24px;
   } */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    #site-header .header-inner .h-menu .primary-menu {
        display: none;
    }
    #site-header .header-inner {
        grid-template-columns: 250px 1fr;
        gap: 20px;
        margin: 10px 0;
    }
    #site-header .header-inner .h-menu {
        position: absolute;
        right: 15px;
    }
    /***********************************/
    /*.mob-menu-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .mob-menu-top .mmenu-close:hover {
        opacity: 0.8;
        cursor: pointer;
    }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: end;
    }
    .wsmall-mobile-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 0;
    }
    .wsmall-mobile-menu ul > li {
        border-bottom: 1px solid rgba(249, 249, 249, 0.15);
        padding: 10px 0;
    }
    .wsmall-mobile-menu ul li:last-child {
        border-bottom: none;
    }
    .wsmall-mobile-menu ul ul.sub-menu {
        display: none;
        padding-left: 30px
    }
    .wsmall-mobile-menu ul ul.sub-menu li {
        border: none;
    }
    .wsmall-mobile-menu ul ul.sub-menu li a {
        color: #FFF;
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
        text-transform: uppercase;
        display: inline-block;
    }
    .wsmall-mobile-menu ul li.menu-item-has-children {
        position: relative;
        margin-bottom: -20px;
    }
    .wsmall-mobile-menu ul .mmenu-arrow {
        position: absolute;
        right: 0;
        top: 15px;
    }
    .wsmall-mobile-menu ul .mmenu-arrow.active img {
        transform: rotate(180deg);
    }*/
    /*.wsmall-mobile-menu ul li.menu-item-has-children::after {*/
    /*    content: url(/wp-content/uploads/2024/01/mmenu.svg);*/
    /*    right: 10px;*/
    /*    position: absolute;*/
    /*}
    .wsmall-mobile-menu ul li a {
        color: #FFF;
        font-size: 20px;
        font-weight: 700;
        line-height: 170%;
    }*/
    #site-header .header-inner .logo img {
        padding: 7px 0;
        width: 200px;;
    }
    #popup_search {
        width: 90%;
        left: 5%;
    }
    .post-page .category-news {
        grid-template-columns: 1fr;
    }
    .post-page-single .post-page-inner .pp {
        grid-template-columns: 1fr;
        display: block;
    }
    .contact-form .cf-inner .cf-right .form-contact-top {
        grid-template-columns: 1fr;
    }
}
/********************* END 991 px **********************/

@media screen and (max-width: 960px) {
    .bets-inner {
        grid-template-columns: 1fr;
        align-self: center;
    }
    .section-1-brands .s1-bottom {
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 20px;
    }
    .s1 {
        margin-top: -113px;
    }
    .s2 {
        padding: 30px 0;
    }
}

@media screen and (max-width: 768px) {
    .section-1-top{
        grid-template-columns: 1fr;
    }
    .h2-head{
        padding: 20px 15px;
    }
    .h2-anchors-list .h2-body{
            padding: 15px;
    }
   
    .h2_links_container{
        width: 100%;
    }

    .before_table {
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    .before_table table {
        width: 750px; /* фиксированная ширина */
        min-width: 750px;
        border-collapse: collapse;
    }

    .before_table table td {
        word-break: break-word;
        padding: 10px;
        border: 1px solid #ccc;
    }
    .wsmall-mobile-menu {
        width: 80%;
    }
    .promos .promos-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .b-info {
        grid-template-columns: 1fr;
    }
    .b-info .b-info-left .btn-site a {
        display: inline-block;
    }
    .b-info .b-info-left .btn-site {
        text-align: center;
    }
    .b-info .b-info-left .b-img img {
        max-width: 250px;
    }
    .bk-content .bk-promo-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bk-content .bk-promo-top .bkt-left {
        grid-row: 2;
        margin: 0 auto;
    }
    .bk-content .bk-promo-top .bkt-right {
        text-align: center;
    }
    .blog-page-inner {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 700px) {
    /**/
    .primary-menu{
      width:60%;
    }
    /**/
    
    .section-1 .section-1-inner {
        gap: 20px;
    }
    .section-1 .section-1-inner .text h1 {
        font-size: 40px;
    }
    .section-1 .section-1-inner .top-socials {
        bottom: 50%;
    }
    .section-1 .section-1-inner .text {
        max-width: 85%;
    }
    .section-1 .section-1-brands .s1-bottom img {
        max-height: 9px;
    }
    .section-1 .section-1-top {
        margin-bottom: 18%;
    }
   
    #footer .footer-row-1 ul {
        display: flex;
        flex-direction: column;
        gap: 13px;
        text-align: center;
    }
}

/************************* END 600 px *************************/
@media screen and (max-width: 600px) {
    .h2-anchors-list .h2-body ul{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 500px) {
    /**/
    .primary-menu{
      width:100%;
  }
    /**/
    .faqitem .header{
        padding: 20px 0 15px 0;
    }
    
   
    .breads-blog-inner #breadcrumbs > span {
        flex-wrap: wrap;
    }
    .b-info {
        padding: 15px;
    }
    .faqitem .content {
        padding: 30px 0 15px 0;
    }
    .section-1 .section-1-inner .sup-top {
        font-size: 4em;
    }
    .section-1 .section-1-inner .text h1 {
        font-size: 30px;
    }
    .section-1 .section-1-inner .sub-bottom p {
        font-size: 14px;
    }
    .section-1::after {
        background: rgba(0, 0, 0, 0.57);
    }
}

@media screen and (max-width: 470px) {
    #footer .footer-row-1 ul li a {
        font-size: 14px;
    }
    .bk-content .bk-promo-top .bkt-left {
        gap: 25px;
    }
    .bk-content .bk-promo-top {
        padding: 20px;
    }
    .bk-content .bk-promo-top .bkt-left {
        padding: 20px;
    }
    .bk-content .bk-promo-top .bkt-left .bkt-info .bkti-sum {
        font-size: 57px;
    }
    .section-1-brands .s1-bottom img {
        max-height: 20px;
    }
    .section-1-brands .s1-bottom {
        gap: 10px;
    }
    .section-1-brands .container {
        padding: 0;
    }
}

@media screen and (max-width: 370px) {
    #footer .footer-row-1 ul li a {
        font-size: 12px;
    }
    .b-info .b-info-middle .b-attributes .b-attribute {
        font-size: 12px;
    }
    .b-info .b-info-middle .b-attributes .b-value {
        font-size: 12px;
    }
}

@media screen and (max-width: 350px) {
    .bk-content .bk-promo-top .bkt-left .bkt-info .bkti-sum {
        font-size: 40px;
    }
}