/* ==========================================================
   HOME
   ========================================================== */

.home-page {
    background: #f4f6f8;
}

.home-page .container {
    max-width: 1240px;
}


/* ==========================================================
   ОБЩИЕ ЗАГОЛОВКИ
   ========================================================== */

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.home-section-title h2 {
    margin: 0;

    color: #072746;

    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
}

.home-section-title a {
    color: #eb7424;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.home-section-title a:hover {
    color: #f58a3c;
}


/* ==========================================================
   БАННЕР
   ========================================================== */

.home-hero {
    margin: 20px auto 30px;

    max-width: 1200px;

    overflow: hidden;

    border-radius: 14px;

    background: #072746;
}

.home-hero .carousel-inner {
    overflow: hidden;
}

.home-hero .carousel-inner .item {
    width: 100%;
}

.home-hero .carousel-inner .item img {
    display: block;

    width: 100%;
    height: auto;

    /*
       Не растягиваем.
    */

    object-fit: contain;
}

.home-hero .carousel-indicators {
    bottom: 8px;
}

.home-hero .carousel-indicators li {
    width: 8px;
    height: 8px;

    margin: 0 3px;

    border: 0;

    background: rgba(255,255,255,.55);
}

.home-hero .carousel-indicators .active {
    width: 24px;

    border-radius: 8px;

    background: #fff;
}


/* ==========================================================
   ИГРЫ
   ========================================================== */

.home-games {
    margin-bottom: 38px;
}

.home-games-widget {
    padding: 15px;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);
}


/* ==========================================================
   НОВОСТИ
   ========================================================== */

.home-news {
    margin-bottom: 42px;
}

.home-news-layout {
    display: grid;

    grid-template-columns: 330px minmax(0, 1fr);

    gap: 25px;

    align-items: start;
}


/* ==========================================================
   ЛЕВАЯ КОЛОНКА
   ========================================================== */

.home-news-latest {
    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);

    overflow: hidden;
}

.home-news-latest-title {
    padding: 15px 18px;

    color: #fff;

    background: #072746;

    font-size: 17px;
    font-weight: 800;
}

.home-news-latest-list {
    padding: 7px 15px;
}

.latest-news-item {
    display: grid;

    grid-template-columns: 82px minmax(0,1fr);

    gap: 12px;

    padding: 11px 0;

    border-bottom: 1px solid #e8edf1;

    color: #17212b;

    text-decoration: none;
}

.latest-news-item:last-child {
    border-bottom: 0;
}

.latest-news-item:hover {
    color: #eb7424;
}

.latest-news-image {
    width: 82px;
    height: 82px;

    overflow: hidden;

    border-radius: 7px;

    background: #eef2f5;
}

.latest-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.latest-news-content {
    min-width: 0;
}

.latest-news-date {
    margin-bottom: 5px;

    color: #8b98a5;

    font-size: 11px;
}

.latest-news-title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.home-news-all {
    display: block;

    padding: 13px 18px;

    color: #eb7424;

    border-top: 1px solid #e8edf1;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


/* ==========================================================
   ОСНОВНЫЕ НОВОСТИ
   ========================================================== */

.home-news-main {
    min-width: 0;
}

.home-news-main-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* ==========================================================
   КАРТОЧКА ОСНОВНОЙ НОВОСТИ
   ========================================================== */

.main-news-card {
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.main-news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(7,39,70,.12);
}

.main-news-image {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eef2f5;
}

.main-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.main-news-content {
    padding: 14px 16px 16px;
}

.main-news-date {
    margin-bottom: 5px;

    color: #8b98a5;

    font-size: 11px;
}

.main-news-title {
    margin: 0;

    font-size: 17px;
    line-height: 1.25;
}

.main-news-title a {
    color: #17212b;

    text-decoration: none;
}

.main-news-title a:hover {
    color: #eb7424;
}

.main-news-text {
    margin: 8px 0 0;

    color: #687684;

    font-size: 13px;
    line-height: 1.4;
}


/* ==========================================================
   ПЕРВАЯ ОСНОВНАЯ НОВОСТЬ
   ========================================================== */

.main-news-card:first-child {
    grid-column: 1 / -1;
}

.main-news-card:first-child .main-news-image {
    aspect-ratio: 2.35 / 1;
}

.main-news-card:first-child .main-news-content {
    padding: 18px 20px 20px;
}

.main-news-card:first-child .main-news-title {
    font-size: 25px;
    line-height: 1.2;
}

.main-news-card:first-child .main-news-text {
    max-width: 800px;

    font-size: 14px;
}


/* ==========================================================
   АНОНСЫ
   ========================================================== */

.home-anons {
    margin-bottom: 45px;
}

.home-anons-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.anons-card {
    display: grid;

    grid-template-columns: 65px minmax(0,1fr);

    min-height: 105px;

    overflow: hidden;

    background: #fff;

    border-radius: 10px;

    box-shadow:
        0 4px 16px rgba(7,39,70,.06);

    color: #17212b;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.anons-card:hover {
    color: #17212b;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(7,39,70,.10);
}

.anons-date {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #fff;

    background: #072746;
}

.anons-date strong {
    font-size: 25px;
    line-height: 1;
}

.anons-date span {
    margin-top: 4px;

    font-size: 10px;

    text-transform: uppercase;

    opacity: .75;
}

.anons-content {
    padding: 13px 14px;
}

.anons-title {
    margin-bottom: 6px;

    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.anons-description {
    color: #687684;

    font-size: 12px;
    line-height: 1.35;
}


/* ==========================================================
   VK
   ========================================================== */

.home-vk {
    margin-bottom: 40px;
}

.home-vk-widget {
    display: flex;

    justify-content: center;

    padding: 15px;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .home-news-layout {
        grid-template-columns: 270px minmax(0,1fr);

        gap: 18px;
    }

    .latest-news-item {
        grid-template-columns: 65px minmax(0,1fr);
    }

    .latest-news-image {
        width: 65px;
        height: 65px;
    }

    .latest-news-title {
        font-size: 13px;
    }

    .main-news-title {
        font-size: 15px;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 21px;
    }

    .home-anons-list {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }
}


/* ==========================================================
   МОБИЛЬНЫЙ
   ========================================================== */

@media (max-width: 650px) {

    .home-hero {
        margin-top: 10px;

        border-radius: 8px;
    }

    .home-section-title h2 {
        font-size: 22px;
    }

    .home-news-layout {
        grid-template-columns: 1fr;
    }

    .home-news-main {
        order: 1;
    }

    .home-news-latest {
        order: 2;
    }

    .home-news-main-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .main-news-card:first-child {
        grid-column: 1 / -1;
    }

    .main-news-card:first-child .main-news-image {
        aspect-ratio: 1 / 1;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 20px;
    }

    .home-anons-list {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   МАЛЕНЬКИЙ ТЕЛЕФОН
   ========================================================== */

@media (max-width: 420px) {

    .home-news-main-grid {
        grid-template-columns: 1fr;
    }

    .main-news-card:first-child {
        grid-column: auto;
    }

    .main-news-card:first-child .main-news-image {
        aspect-ratio: 1 / 1;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 19px;
    }

}
/* ==========================================================
   HOME
   ========================================================== */

.home-page {
    background: #f4f6f8;
}

.home-page .container {
    max-width: 1240px;
}


/* ==========================================================
   ОБЩИЕ ЗАГОЛОВКИ
   ========================================================== */

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.home-section-title h2 {
    margin: 0;

    color: #072746;

    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
}

.home-section-title a {
    color: #eb7424;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.home-section-title a:hover {
    color: #f58a3c;
}


/* ==========================================================
   БАННЕР
   ========================================================== */

.home-hero {
    margin: 20px auto 30px;

    max-width: 1200px;

    overflow: hidden;

    border-radius: 14px;

    background: #072746;
}

.home-hero .carousel-inner {
    overflow: hidden;
}

.home-hero .carousel-inner .item {
    width: 100%;
}

.home-hero .carousel-inner .item img {
    display: block;

    width: 100%;
    height: auto;

    /*
       Не растягиваем.
    */

    object-fit: contain;
}

.home-hero .carousel-indicators {
    bottom: 8px;
}

.home-hero .carousel-indicators li {
    width: 8px;
    height: 8px;

    margin: 0 3px;

    border: 0;

    background: rgba(255,255,255,.55);
}

.home-hero .carousel-indicators .active {
    width: 24px;

    border-radius: 8px;

    background: #fff;
}


/* ==========================================================
   ИГРЫ
   ========================================================== */

.home-games {
    margin-bottom: 38px;
}

.home-games-widget {
    padding: 15px;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);
}


/* ==========================================================
   НОВОСТИ
   ========================================================== */

.home-news {
    margin-bottom: 42px;
}

.home-news-layout {
    display: grid;

    grid-template-columns: 330px minmax(0, 1fr);

    gap: 25px;

    align-items: start;
}


/* ==========================================================
   ЛЕВАЯ КОЛОНКА
   ========================================================== */

.home-news-latest {
    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);

    overflow: hidden;
}

.home-news-latest-title {
    padding: 15px 18px;

    color: #fff;

    background: #072746;

    font-size: 17px;
    font-weight: 800;
}

.home-news-latest-list {
    padding: 7px 15px;
}

.latest-news-item {
    display: grid;

    grid-template-columns: 82px minmax(0,1fr);

    gap: 12px;

    padding: 11px 0;

    border-bottom: 1px solid #e8edf1;

    color: #17212b;

    text-decoration: none;
}

.latest-news-item:last-child {
    border-bottom: 0;
}

.latest-news-item:hover {
    color: #eb7424;
}

.latest-news-image {
    width: 82px;
    height: 82px;

    overflow: hidden;

    border-radius: 7px;

    background: #eef2f5;
}

.latest-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.latest-news-content {
    min-width: 0;
}

.latest-news-date {
    margin-bottom: 5px;

    color: #8b98a5;

    font-size: 11px;
}

.latest-news-title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.home-news-all {
    display: block;

    padding: 13px 18px;

    color: #eb7424;

    border-top: 1px solid #e8edf1;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


/* ==========================================================
   ОСНОВНЫЕ НОВОСТИ
   ========================================================== */

.home-news-main {
    min-width: 0;
}

.home-news-main-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* ==========================================================
   КАРТОЧКА ОСНОВНОЙ НОВОСТИ
   ========================================================== */

.main-news-card {
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.main-news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(7,39,70,.12);
}

.main-news-image {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eef2f5;
}

.main-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.main-news-content {
    padding: 14px 16px 16px;
}

.main-news-date {
    margin-bottom: 5px;

    color: #8b98a5;

    font-size: 11px;
}

.main-news-title {
    margin: 0;

    font-size: 17px;
    line-height: 1.25;
}

.main-news-title a {
    color: #17212b;

    text-decoration: none;
}

.main-news-title a:hover {
    color: #eb7424;
}

.main-news-text {
    margin: 8px 0 0;

    color: #687684;

    font-size: 13px;
    line-height: 1.4;
}


/* ==========================================================
   ПЕРВАЯ ОСНОВНАЯ НОВОСТЬ
   ========================================================== */

.main-news-card:first-child {
    grid-column: 1 / -1;
}

.main-news-card:first-child .main-news-image {
    aspect-ratio: 2.35 / 1;
}

.main-news-card:first-child .main-news-content {
    padding: 18px 20px 20px;
}

.main-news-card:first-child .main-news-title {
    font-size: 25px;
    line-height: 1.2;
}

.main-news-card:first-child .main-news-text {
    max-width: 800px;

    font-size: 14px;
}


/* ==========================================================
   АНОНСЫ
   ========================================================== */

.home-anons {
    margin-bottom: 45px;
}

.home-anons-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.anons-card {
    display: grid;

    grid-template-columns: 65px minmax(0,1fr);

    min-height: 105px;

    overflow: hidden;

    background: #fff;

    border-radius: 10px;

    box-shadow:
        0 4px 16px rgba(7,39,70,.06);

    color: #17212b;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.anons-card:hover {
    color: #17212b;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(7,39,70,.10);
}

.anons-date {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #fff;

    background: #072746;
}

.anons-date strong {
    font-size: 25px;
    line-height: 1;
}

.anons-date span {
    margin-top: 4px;

    font-size: 10px;

    text-transform: uppercase;

    opacity: .75;
}

.anons-content {
    padding: 13px 14px;
}

.anons-title {
    margin-bottom: 6px;

    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.anons-description {
    color: #687684;

    font-size: 12px;
    line-height: 1.35;
}


/* ==========================================================
   VK
   ========================================================== */

.home-vk {
    margin-bottom: 40px;
}

.home-vk-widget {
    display: flex;

    justify-content: center;

    padding: 15px;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .home-news-layout {
        grid-template-columns: 270px minmax(0,1fr);

        gap: 18px;
    }

    .latest-news-item {
        grid-template-columns: 65px minmax(0,1fr);
    }

    .latest-news-image {
        width: 65px;
        height: 65px;
    }

    .latest-news-title {
        font-size: 13px;
    }

    .main-news-title {
        font-size: 15px;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 21px;
    }

    .home-anons-list {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }
}


/* ==========================================================
   МОБИЛЬНЫЙ
   ========================================================== */

@media (max-width: 650px) {

    .home-hero {
        margin-top: 10px;

        border-radius: 8px;
    }

    .home-section-title h2 {
        font-size: 22px;
    }

    .home-news-layout {
        grid-template-columns: 1fr;
    }

    .home-news-main {
        order: 1;
    }

    .home-news-latest {
        order: 2;
    }

    .home-news-main-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .main-news-card:first-child {
        grid-column: 1 / -1;
    }

    .main-news-card:first-child .main-news-image {
        aspect-ratio: 1 / 1;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 20px;
    }

    .home-anons-list {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   МАЛЕНЬКИЙ ТЕЛЕФОН
   ========================================================== */

@media (max-width: 420px) {

    .home-news-main-grid {
        grid-template-columns: 1fr;
    }

    .main-news-card:first-child {
        grid-column: auto;
    }

    .main-news-card:first-child .main-news-image {
        aspect-ratio: 1 / 1;
    }

    .main-news-card:first-child .main-news-title {
        font-size: 19px;
    }

}

/* ==========================================================
   MENU
   ========================================================== */

.site-navigation {
    position: relative;

    width: 100%;

    z-index: 1000;
}

.site-menu {
    display: flex !important;

    align-items: center;

    flex-wrap: wrap;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-menu li {
    position: relative;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-menu li a {
    text-decoration: none !important;
}

.site-menu > li > a {
    display: block;

    padding: 9px 12px;

    color: #072746;

    font-size: 14px;
    line-height: 20px;
    font-weight: 700;

    background: transparent;

    border-radius: 5px;

    cursor: pointer;

    transition:
        color .2s ease,
        background-color .2s ease;
}

.site-menu > li > a:hover,
.site-menu > li.active > a {
    color: #fff;

    background: #223e5a;
}


/* ==========================================================
   ВЫПАДАЮЩИЕ ПУНКТЫ
   ========================================================== */

.site-menu > li > .site-menu-sub {
    position: absolute;

    top: 100%;
    left: 0;

    display: none;

    min-width: 240px;

    margin: 0 !important;
    padding: 6px 0 !important;

    list-style: none !important;

    background: #fff;

    border: 0;

    border-radius: 0 0 7px 7px;

    box-shadow:
        0 8px 25px rgba(7,39,70,.18);

    z-index: 9999;
}

.site-menu > li:hover > .site-menu-sub {
    display: block;
}

.site-menu-sub li {
    display: block;

    width: 100%;
}

.site-menu-sub li a {
    display: block;

    width: 100%;

    padding: 9px 15px;

    color: #072746;

    background: #fff;

    font-size: 14px;

    line-height: 1.3;

    box-sizing: border-box;
}

.site-menu-sub li a:hover,
.site-menu-sub li.active > a {
    color: #fff;

    background: #223e5a;
}


/* ==========================================================
   ВАЖНО: СТАРЫЕ BOOTSTRAP-ПРАВИЛА НЕ ДОЛЖНЫ ЛОМАТЬ MENU
   ========================================================== */

.site-navigation .navbar-nav,
.site-navigation .nav {
    float: none !important;

    margin: 0 !important;
}

.site-navigation ul {
    margin-top: 0;
    margin-bottom: 0;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .site-menu {
        display: block !important;
    }

    .site-menu > li {
        display: block;

        width: 100%;
    }

    .site-menu > li > a {
        padding: 11px 12px;

        border-bottom: 1px solid #e5e9ed;

        border-radius: 0;
    }

    .site-menu > li > .site-menu-sub {
        position: static;

        display: block;

        width: 100%;

        min-width: 0;

        box-shadow: none;

        border-radius: 0;
    }

    .site-menu-sub li a {
        padding-left: 25px;
    }
}

/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    position: relative;
    width: 100%;

    background: #fff;
    border-bottom: 1px solid #dfe5ea;

    z-index: 1000;
}

.site-header-inner {
    max-width: 1240px;

    margin: 0 auto;
    padding: 0 20px;
}

.site-header-main {
    width: 100%;
}


/* ==========================================================
   ВЕРХНЯЯ ЧАСТЬ
   ========================================================== */

.site-header-top {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 125px;

    padding: 10px 0;
}


/* ==========================================================
   ЛОГОТИП
   ========================================================== */

.site-logo {
    flex: 0 0 120px;

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 25px;

    text-decoration: none;
}

.site-logo img {
    display: block;

    width: 120px;
    height: 120px;

    object-fit: contain;
}


/* ==========================================================
   НАЗВАНИЕ
   ========================================================== */

.site-header-title {
    flex: 1;

    color: #072746;

    font-size: 27px;
    line-height: 1.15;

    font-weight: 800;
}


/* ==========================================================
   ПОИСК
   ========================================================== */

.site-search {
    flex: 0 0 280px;
    width: 280px;
    margin-left: 30px;
}

/* Форма */
.site-search form.searh {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
}

/* Убираем fieldset */
.site-search fieldset {
    display: flex;

    width: 100%;
    height: 40px;

    margin: 0;
    padding: 0;

    border: 0;

    gap: 0;
}

/* Поле поиска */
.site-search input#search {
    flex: 1 1 auto;

    width: auto;
    height: 40px;

    margin: 0;
    padding: 0 12px;

    box-sizing: border-box;

    background: #f4f6f8;

    border: 1px solid #d8e0e6;
    border-right: 0;

    border-radius: 6px 0 0 6px;

    color: #17212b;

    font-size: 14px;

    outline: none;
}

.site-search input#search:focus {
    background: #fff;

    border-color: #072746;
}


/* ==========================================================
   КНОПКА ПОИСКА
   ========================================================== */

.site-search input.btn-searh {
    position: relative;

    flex: 0 0 42px;

    width: 42px;
    height: 40px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    background-color: #072746;

    border: 1px solid #072746;
    border-radius: 0 6px 6px 0;

    cursor: pointer;

    /* Убираем текст */
    font-size: 0;

    /* Лупа */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cline x1='16.5' y1='16.5' x2='22' y2='22'%3E%3C/line%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px 17px;
}

.site-search input.btn-searh:hover {
    background-color: #223e5a;

    border-color: #223e5a;
}


/* ==========================================================
   МЕНЮ
   ========================================================== */

.site-navigation {
    position: relative;

    width: 100%;

    min-height: 48px;

    z-index: 1001;
}

.site-menu {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-menu > li {
    position: relative;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-menu > li > a {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 15px;

    color: #072746;

    font-size: 14px;
    line-height: 1;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    border-radius: 5px 5px 0 0;

    transition:
        color .2s ease,
        background .2s ease;
}

.site-menu > li > a:hover,
.site-menu > li.active > a {
    color: #fff;

    background: #223e5a;
}


/* ==========================================================
   ПОДМЕНЮ
   ========================================================== */

.site-menu-sub {
    position: absolute;

    top: 48px;
    left: 0;

    display: none;

    min-width: 250px;

    margin: 0 !important;
    padding: 5px 0 !important;

    background: #fff;

    list-style: none !important;

    border: 1px solid #dfe5ea;

    border-top: 0;

    border-radius: 0 0 7px 7px;

    box-shadow:
        0 10px 25px rgba(7,39,70,.15);

    z-index: 9999;
}

.site-menu > li:hover > .site-menu-sub {
    display: block;
}

.site-menu-sub li {
    display: block;

    margin: 0 !important;
    padding: 0 !important;
}

.site-menu-sub li a {
    display: block;

    padding: 10px 15px;

    color: #072746;

    background: #fff;

    font-size: 14px;
    line-height: 1.3;

    text-decoration: none;
}

.site-menu-sub li a:hover,
.site-menu-sub li.active > a {
    color: #fff;

    background: #223e5a;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    width: 100%;

    margin-top: 50px;

    background: #fff;
    color: #17212b;
}


/* ==========================================================
   ОСНОВНОЙ БЛОК
   ========================================================== */

.site-footer-inner {
    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr)
        minmax(280px, 360px);

    gap: 35px;

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
    padding: 40px 20px;

    box-sizing: border-box;

    border-top: 1px solid #e3e8ec;
}


/* ==========================================================
   КОНТАКТЫ
   ========================================================== */

.site-footer-contacts {
    min-width: 0;
}

.site-footer-logo {
    display: block;

    width: 70px;
    height: 70px;

    margin-bottom: 15px;
}

.site-footer-logo img {
    display: block;

    width: 70px;
    height: 70px;

    object-fit: contain;
}

.site-footer-contacts p {
    margin: 0 0 8px;

    color: #687684;

    font-size: 12px;
    line-height: 1.4;
}

.site-footer-contacts strong {
    color: #17212b;
}

.site-footer-contacts a {
    color: #eb7424;

    text-decoration: none;
}

.site-footer-contacts a:hover {
    color: #f58a3c;
}


/* ==========================================================
   СОЦИАЛЬНЫЕ СЕТИ
   ========================================================== */

.site-footer-social {
    display: flex;

    gap: 8px;

    margin-top: 18px;
}

.site-footer-social a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    background: #f1f4f6;

    border-radius: 6px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.site-footer-social a:hover {
    background: #e5eaee;

    transform: translateY(-2px);
}

.site-footer-social img {
    display: block;

    width: 20px;
    height: 20px;

    object-fit: contain;
}


/* ==========================================================
   ОСНОВНОЕ МЕНЮ
   ========================================================== */

.site-footer-menu {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-content: start;

    gap: 14px 30px;

    min-width: 0;

    padding-top: 4px;
}

.site-footer-menu a {
    display: block;

    min-width: 0;

    color: #072746;

    font-size: 13px;
    line-height: 1.3;

    font-weight: 800;

    text-decoration: none;

    transition: color .2s ease;
}

.site-footer-menu a:hover {
    color: #eb7424;
}


/* ==========================================================
   VK
   ========================================================== */

.site-footer-vk {
    width: 100%;
    min-width: 0;
}

.site-footer-vk h4 {
    margin: 0 0 12px;

    color: #072746;

    font-size: 13px;
    line-height: 1.2;

    font-weight: 800;
}

#vk_groups_footer {
    display: block;

    width: 100%;
    max-width: 100%;

    min-width: 0;

    overflow: hidden;
}

#vk_groups_footer iframe {
    display: block;

    max-width: 100% !important;
}


/* ==========================================================
   НИЖНЯЯ СТРОКА
   ========================================================== */

.site-footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding: 15px 20px;

    box-sizing: border-box;

    border-top: 1px solid #e3e8ec;

    color: #8b98a5;

    font-size: 11px;
    line-height: 1.4;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .site-footer-inner {
        grid-template-columns:
            230px
            minmax(0, 1fr)
            minmax(240px, 300px);

        gap: 25px;
    }

}


/* ==========================================================
   TABLET / МАЛЕНЬКИЙ НОУТБУК
   ========================================================== */

@media (max-width: 850px) {

    .site-footer-inner {
        grid-template-columns:
            230px
            minmax(0, 1fr);

        gap: 30px;
    }

    .site-footer-vk {
        grid-column: 1 / -1;
    }

    #vk_groups_footer {
        max-width: 420px;
    }

}


/* ==========================================================
   МОБИЛЬНЫЙ
   ========================================================== */

@media (max-width: 600px) {

    .site-footer {
        margin-top: 35px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 30px 15px;
    }

    .site-footer-vk {
        grid-column: auto;
    }

    #vk_groups_footer {
        max-width: 100%;
    }

    .site-footer-menu {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px 20px;
    }

    .site-footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        padding: 15px;
    }

}


/* ==========================================================
   МАЛЕНЬКИЙ ТЕЛЕФОН
   ========================================================== */

@media (max-width: 420px) {

    .site-footer-menu {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   WIDGETS — ГЛАВНАЯ
   ========================================================== */

.home-widgets {
    margin-bottom: 42px;
}


/* ==========================================================
   ОБЩИЙ ЗАГОЛОВОК
   ========================================================== */

.home-widgets-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}

.home-widgets-title h2 {
    margin: 0;

    color: #072746;

    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
}


/* ==========================================================
   КАРУСЕЛЬ СОРЕВНОВАНИЙ
   ========================================================== */

.home-widgets-carousel {
    margin-bottom: 25px;

    width: 100%;
}


/*
   Одна строка соревнования.

   Сам InfoBasketWidget остаётся тем,
   который отдаёт Infobasket.
*/

.home-widgets-carousel .widgetheader {
    display: block;

    margin: 0;

    padding: 10px 16px;

    color: #fff;
    background: #072746;

    border-radius: 8px 8px 0 0;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.home-widgets-carousel .widgetheader:hover {
    color: #fff;

    background: #223e5a;
}


/*
   Сам календарь / карусель игр.
*/

.home-widgets-carousel .CalendarCarousel {
    width: 100%;

    margin-bottom: 12px;

    padding: 10px 12px;

    background: #fff;

    border-radius: 0 0 8px 8px;

    box-shadow:
        0 4px 16px rgba(7,39,70,.07);

    overflow: hidden;
}


/*
   Если Infobasket создаёт собственную строку.
   Не задаём фиксированную ширину.
*/

.home-widgets-carousel .InfoBasketWidget {
    max-width: 100%;
}


/* ==========================================================
   БЛОК ИГР
   ========================================================== */

.home-widgets-games {
    width: 100%;

    margin-top: 20px;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(7,39,70,.07);

    overflow: hidden;
}


/* ==========================================================
   ЗАГОЛОВОК ИГР
   ========================================================== */

.home-widgets-games .home-widgets-title {
    margin: 0;

    padding: 15px 20px;

    background: #072746;
}

.home-widgets-games .home-widgets-title h2 {
    color: #fff;

    font-size: 21px;
}


/* ==========================================================
   ВКЛАДКИ
   ========================================================== */

.home-widgets-tabs {
    display: flex;

    width: 100%;

    border-bottom: 1px solid #dfe5ea;

    background: #f4f6f8;
}


.home-widgets-tab {
    flex: 1;

    min-width: 0;

    margin: 0;
    padding: 13px 18px;

    border: 0;
    border-right: 1px solid #dfe5ea;

    background: #f4f6f8;

    color: #072746;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;

    text-align: center;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


.home-widgets-tab:last-child {
    border-right: 0;
}


.home-widgets-tab:hover {
    background: #e8edf1;
}


.home-widgets-tab.active {
    color: #fff;

    background: #223e5a;
}


/* ==========================================================
   СОДЕРЖИМОЕ ВКЛАДКИ
   ========================================================== */

.home-widgets-tab-content {
    width: 100%;

    padding: 0;

    overflow-x: auto;
}


/*
   Таблицы, которые отдаёт TodayGames_new
   и RusGamesToday_new.

   ВАЖНО:
   стилизуем только внутри widgets,
   поэтому остальной сайт не затрагивается.
*/

.home-widgets-tab-content table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    font-family:
        "Lucida Sans Unicode",
        "Lucida Grande",
        Sans-Serif;

    font-size: 11px;

    text-align: center;
}


/* ==========================================================
   ЗАГОЛОВОК ТАБЛИЦЫ
   ========================================================== */

.home-widgets-tab-content th {
    padding: 8px 6px;

    color: #fff;

    background: #072746;

    border: 1px solid #fff;

    font-weight: 700;

    text-align: center;
}


/* ==========================================================
   ЯЧЕЙКИ
   ========================================================== */

.home-widgets-tab-content td {
    padding: 7px 6px;

    background: #fff;

    color: #17212b;

    border-top: 1px solid #e1e6ea;
    border-bottom: 1px solid #e1e6ea;

    text-align: center;
}


/*
   Первая колонка.
*/

.home-widgets-tab-content td:first-child {
    color: #fff;

    background: #072746;
}


/* ==========================================================
   ССЫЛКИ В ТАБЛИЦЕ
   ========================================================== */

.home-widgets-tab-content a {
    color: #072746;

    font-size: inherit;

    text-decoration: none;
}


.home-widgets-tab-content a:hover {
    color: #eb7424;
}


/* ==========================================================
   ЧЁТНЫЕ СТРОКИ
   ========================================================== */

.home-widgets-tab-content tr:nth-child(even) td {
    background: #f6f8fa;
}


.home-widgets-tab-content tr:nth-child(even) td:first-child {
    background: #223e5a;
}


/* ==========================================================
   HOVER СТРОКИ
   ========================================================== */

.home-widgets-tab-content tr:hover td {
    background: #eef3f6;
}


.home-widgets-tab-content tr:hover td:first-child {
    background: #223e5a;
}


/* ==========================================================
   ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ
   ========================================================== */

.home-widgets-tab-content {
    scrollbar-width: thin;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .home-widgets-title h2 {
        font-size: 24px;
    }

    .home-widgets-tab {
        padding: 12px 10px;

        font-size: 13px;
    }

    .home-widgets-tab-content table {
        font-size: 10px;
    }

    .home-widgets-tab-content th,
    .home-widgets-tab-content td {
        padding: 6px 4px;
    }

}


/* ==========================================================
   МОБИЛЬНЫЙ
   ========================================================== */

@media (max-width: 650px) {

    .home-widgets {
        margin-bottom: 30px;
    }


    .home-widgets-carousel .widgetheader {
        padding: 9px 12px;

        font-size: 13px;
    }


    .home-widgets-carousel .CalendarCarousel {
        padding: 8px;
    }


    .home-widgets-games {
        border-radius: 8px;
    }


    .home-widgets-games .home-widgets-title {
        padding: 12px 15px;
    }


    .home-widgets-games .home-widgets-title h2 {
        font-size: 19px;
    }


    .home-widgets-tab {
        padding: 11px 7px;

        font-size: 12px;
    }


    /*
       Большая таблица на телефоне не сжимается
       до нечитаемого состояния.
       Вместо этого появляется горизонтальная
       прокрутка.
    */

    .home-widgets-tab-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }


    .home-widgets-tab-content table {
        min-width: 650px;

        font-size: 10px;
    }

}


/* ==========================================================
   МАЛЕНЬКИЙ ТЕЛЕФОН
   ========================================================== */

@media (max-width: 420px) {

    .home-widgets-tabs {
        display: flex;
    }


    .home-widgets-tab {
        padding: 10px 5px;

        font-size: 11px;
    }


    .home-widgets-carousel .widgetheader {
        font-size: 12px;
    }


    .home-widgets-tab-content table {
        min-width: 620px;
    }

}

