/** Your theme modifications here **/
#all_brands {
    display: flex;
    gap: 15px; /* Расстояние между логотипами */
    overflow-x: auto; /* Горизонтальная прокрутка */
    white-space: nowrap; /* Запрещает перенос элементов */
    padding: 10px 0;
    scrollbar-width: thin; /* Убирает стандартный скроллбар в Firefox */
}

#all_brands::-webkit-scrollbar {
    height: 5px; /* Высота скроллбара */
}

#all_brands::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Цвет полосы */
    border-radius: 5px;
}

#all_brands a {
    flex: 0 0 auto; /* Фиксированная ширина */
    display: inline-block;
}

#all_brands img {
    height: 50px; /* Высота логотипов */
    width: auto; /* Автоматическая ширина */
    object-fit: contain; /* Убирает искажения */
    transition: transform 0.3s ease-in-out;
}

#all_brands img:hover {
    transform: scale(1.1); /* Легкое увеличение при наведении */
}

.headblocks-container {
    display: flex;
    flex-wrap: wrap; /* Перенос элементов на новую строку */
    justify-content: center; /* Центрирование блоков */
    gap: 10px; /* Расстояние между блоками */
    padding: 10px;
}

.headblock {
    width: calc(25% - 10px); /* 4 колонки в ряд */
    display: flex;
    justify-content: center;
    align-items: center;
}

.headblock img {
    width: 100%; /* Картинка займет всю ширину блока */
    height: auto; /* Сохранение пропорций */
    border-radius: 10px; /* Закругленные углы */
}

/* Адаптация для планшетов (2 блока в ряд) */
@media (max-width: 1024px) {
    .headblock {
        width: calc(50% - 10px); /* 2 блока в ряд */
    }
}

/* Адаптация для мобильных (1 блок в ряд) */
@media (max-width: 768px) {
    .headblock {
        width: 100%; /* Один блок на всю ширину */
    }




.partner-button {
    margin-top: 50px;
    background-color: #28a745; !important;
    color: #fff; !important;
    padding: 10px 20px; !important;
    font-size: 16px; !important;
    border: none; !important;
    border-radius: 5px; !important;
    cursor: pointer; !important;
    text-decoration: none; !important;
    display: inline-block; !important;
    text-align: center; !important;
    transition: background 0.3s ease-in-out; !important;
}
.std{
    font-size: 16px; /* Размер шрифта */
    color: #333; /* Цвет текста */
    line-height: 1.5; /* Межстрочный интервал */
    margin-top: 10px; /* Отступ сверху */
    padding: 10px; /* Внутренний отступ */
    background: #f9f9f9; /* Фон */
    border-radius: 5px; /* Скругление углов */
}

  /* TIZERS BLOCK */
/* Секция тизеров */
.tizers-section {
    padding: 50px 0;
    text-align: center;
    background-color: #f9f9f9;
}

/* Заголовок */
.tizers-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* Грид-контейнер для карточек */
.tizers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Карточка тизера */
.tizer-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Иконка */
.tizer-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Заголовок карточки */
.tizer-title {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

/* Текст карточки */
.tizer-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .tizers-grid {
        flex-direction: column;
        align-items: center;
    }
#tow {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    color: #333;
}
.c_bloc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #333; /* Тёмный фон */
    color: #fff; /* Белый текст */
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 50px;
}

.c_b_zag {
    display: none; /* Прячем заголовок */
}

.c_b_content {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.c_b_content script {
    display: inline; /* Оставляем скрипт видимым */
}

.liveinternet-counter {
    position: fixed; /* Зафиксируем в углу */
    bottom: 10px;    /* Отступ от нижнего края */
    right: 10px;     /* Отступ от правого края */
    z-index: 1000;   /* Чтобы не перекрывался другими элементами */
}    
.button, #kak .button {
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    background-color: #70b941;
    padding: 10px 40px;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    font-size: 15px;   
    

/* /. TIZERS BLOCK */
  