@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Symbols+Rounded');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

*{
    box-sizing: border-box;
}

body{
    font-family: "Montserrat", serif;
    margin: 0;
}


a{
    text-decoration: none;
    color: black;
    transition: color 0.3s ease !important; text-decoration:  0.3s ease; border:  0.3s ease;
}

ul{
    list-style: none;
}

.header__list{
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;    
}

.wrapper {
    height: max-content;
    width: 100%;  /* Ширина 100% для адаптивности */
    max-width: 1200px;  /* Ограничение ширины 1200px */
    margin: 0 auto;  /* Центрирование */
}
.h1{
    text-align: center;
    margin: 0 auto;
    padding-top: 35px;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;

}
.webinar__line{
    width: 100%;
}
.b24-form-control-container{
    di
}
.container {
    height: max-content;
    margin: 0 auto; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.line-part2{
    font-size: 17px;
    font-weight: 400;
}
.line-part1{
    font-size: 19px;
    font-weight: 700;
}
.header.shifted {
    transform: translateY(50px);
}
.header {

    width: 100%;  /* Ширина 100%, чтобы header занимал всю ширину экрана */
    background-color: rgb(244, 244, 244);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0px 18px 30px 0px rgb(0 0 0 / 9%);
}


.header__list{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;

}

.icon__phone{
    height: 17px;
    width: 17px;;
}

.header__logo {
    display: inline-block; 
    overflow: hidden;
}

.header__logo-dev{
    min-height: 50px;
    width: 150px;
    background-size: contain;
    background-repeat: no-repeat;
}

.logo {
    width: 230px;
    height: 70px;
    object-fit: cover; 
}

.header__menu-right{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.header__item{
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding-bottom: 3px;
}

.number__phone{
    padding-left: 5px;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

.number__phone:hover{
    color: #ee242d !important;
    text-decoration: none;
  
}

.email{
    padding-left: 20px;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    text-decoration: underline;
    text-align: right;
}

.email:hover{
    color: #ee242d !important;
    text-decoration: none;

}

.menu__btn {
    width: 100%;
    padding: 10px 36px;
    border: 2px solid #ee242d;
    border-radius: 10px;
    color: #fff;
    background-color: #ee242d;
    font-size: 15px;
    font-weight: 500;

    white-space: nowrap;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer;
}

.menu__btn:hover {
    box-shadow: 1px 1px 10px 3px #fff;
    transform: scale(1.05); 
}

.menu__btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        #fff,
        transparent
    );
    transition: all 650ms;
}

.menu__btn:hover:before {
    left: 100%;
}


.main {
    background-color: #fff;
}

.footer{	
    padding: 30px 0 30px 0;;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #050607;
    color: #ffff;
}

.footer__content{
    display: flex;
    flex-direction: column;
}
.footer__top{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #696969;
    padding-bottom: 50px;
}

.footer__Csoft-info{
    flex: 0 0 45%;
}
.footer__Csoft-info a{
    color: #fff;
}

.img-link{
    height: 15px;
    width: 15px;
}
.contact-mess{
    margin-top: 20px;
    display: flex;
    gap: 40px;
}
.of-site {
    text-decoration: none; /* Убираем стандартное */
    border-bottom: 1px solid #fff; /* Добавляем кастомное подчеркивание */
    padding-bottom: 2px; /* Отступ между текстом и линией */
}

.of-site:hover{
    text-decoration: none;
    border-bottom: 1px dashed #fff;
}

.footer__events-list
{
    flex: 0 0 25%; /* По 30% ширины */
}
.footer__contact {
    flex: 0 0 25%;
    max-width: 230px;
}
.contact-age{
    margin-top: 40px;
}
.age{
    font-size: 62px;
    font-weight: 800;
    color: rgb(105, 105, 105);
}

.footer__bottom{
    display: flex;
    justify-content: space-between;
}

.footer-link{
    display: flex;
    flex-direction: column;
    
}


.footer-link a{
    height: 18px;
}
.footer-link a{
    color: #fff;
}

.footer__Csoft-info-img{
    height: 90px;
    width: 130px;
}
.footer__Csoft-info p{
    font-size: 13px;
    font-weight: 400;
}

.footer__bottom{
    padding-top: 20px;
}
.footer__bottom p {
    font-size: 13px;
}
.footer-link a{
    font-size: 13px;
}

.footer__contact p{
    font-size: 13px;
    margin: 0;
}

.info-text{
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    margin: 0;
}
.footer-number{
    font-size: 24px !important;
    font-weight: 700;
    margin-bottom: 0;
    color: #fff;
}
.footer-number:hover{
    text-decoration: none;
    border-bottom: 1px dashed #fff;
}

.footer__events-item{
    gap: 15px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    align-items: flex-start;
}

.footer__events-item a{
    color: #fff;
    font-size: 14px;
}

.contact-adres{
    margin-top: 20px;
}

.contact-email{
    margin-top: 20px;
}

.contact-email a{
    color: #fff;
    font-size: 24px;
    font-weight: 700;
 
}

.b24-form-wrapper{
    background-color: none !important;
}

.mailing{
    height: 70px;

    background-color: rgb(236, 236, 236);
    margin: 0 auto;
    text-align: center;
}

.mailing-content{
    display: flex;
    justify-content: space-between;
}

.mailing p{
    margin: 0;
    width: 500px;
    text-align: left;
}

.telegram{
    background-image: url(../img/tele-logo.png);
    background-position: 160px;
    background-repeat: no-repeat;
    background-size: 34%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: space-between;
    flex-wrap: wrap;
    width: 280px;
    height: 250px;
    background-color: rgb(0, 161, 219);
    border-radius: 15px;
}

.telegram-text{
    width: 270px;
    padding: 15px;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    text-align: left;
}

.telegram-btn{
    color: #fff;
    width: 240px;
    padding: 18px 0 18px 0;
    border: 2px solid #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.telegram-btn:hover{
    background-color: #fff;
    color: rgb(0, 161, 219);
}

.section-events {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    text-align: center;
}

.carousel {
    display: flex;
    width: 60%; 
    height: 100%;
    align-items: center;
    justify-content: flex-start;
}


.carousel__list {
    display: flex;
    list-style: none;.carousel__item
    position: relative;
    width: 100%; 
    height: 300px;
    padding: 0;
    margin: 0;
}

.carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: absolute;
    transition: all 0.4s ease-in-out;
    
    user-select: none;
    -webkit-user-select: none; 
    -moz-user-select: none; 

    
}

.event-placeholder{
    width: 881px;
    height: 72px;
}

.carousel__item[data-pos="0"] {
    z-index: 5;
    transform: translateX(0%) scale(1);
    opacity: 1;
}
.bx-404-content {
  
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        padding: 50px 0 50px 0;
   
}
.bx-404-text-block{
    padding-top: 20px;
}
.erorr_not_f {
    width: 175px;
    height: 36px;
    display: flex;
    background-color: #ee242d;
    max-width: 200px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    font-size: 18px;
    margin: 30px auto 0;
}
.bx-404-text-block{
    text-align: center;
}
#toTop {
    
    width: 56px;
    height: 56px;
    border-radius: 100px;
    background: url(/bitrix/templates/csoftomsk/css/../img/totop-ico.png) center center no-repeat;
    background-color: #e32636;
    position: fixed;
    bottom: 135px;
    right: 55px;
    cursor: pointer;
    background-size: 60%;
    display: none;
    z-index: 1;
  }
.carousel__item[data-pos="1"] {
    z-index: 4;
    transform: translateX(calc(-50% + 50px)) scale(0.9);
    opacity: 0.7;
}

.carousel__item[data-pos="2"] {
    z-index: 3;
    transform: translateX(calc(-50% + 100px)) scale(0.8);
    opacity: 0.5;
}

.event-card-icon{
    background-repeat: no-repeat;
    background-size: contain;
    width: 881px;
    height: 350px;
}

.event-card {
    width: 800px;
    height: 350px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 2px 8px rgba(50, 50, 50, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: rgb(244, 244, 244);
}

.event-card__title {
    font-size: 28px;
    font-weight: 700;
    color: #ee242d;
    margin: 0;
    padding-bottom: 20px;
    text-align: left;
}

.event-card__content {
    display: flex;
    gap: 20px;
}

.event-card__image {
    display: block;
    width: 340px;
    height: 190px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
}
.btn-reg-mobile {
    display: none;
}
.event-info {
    height: 170px;
    width: 450px;
    display: flex;
    flex-direction: column;
 

}

.event-info__title {
    margin-bottom: 10px;
    color: rgb(78, 78, 78);
    width: 400px;
    text-align: left;
    display: block;
    margin: 0;
    max-height: 98px;
    font-weight: 800;
    font-size: 20px;
    color: rgb(29, 30, 51);
    text-decoration: none;
}

.event-info__description {
    color: rgb(78, 78, 78);
    text-align: left;
    width: 400px;
    font-weight: 400px;
    font-size: 14px;
    height: 68px;
    overflow: hidden;
    text-overflow: ellipsis;


}

.event-meta {
    gap: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    flex-shrink: 0;
}

.event-date {
    display: flex;
    align-items: center;
    width: 190px;
    height: 70px;
    background-color: rgb(237, 237, 237);
    border: 1px solid rgb(215, 215, 215);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}


.event-date__icon {
    background-image: url(../img/event-date.webp);
    width: 50px;
    height: 50px;
    filter: invert(1) grayscale(1) brightness(0.8);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.event-date__info {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.event-locat{
    display: flex;
    align-items: center;
    width: 190px;
    height: 70px;
    background-color: rgb(237, 237, 237);
    border: 1px solid rgb(215, 215, 215);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.event-locat__icon{
    background-image: url(../img/event-locat.webp);
    width: 50px;
    height: 50px;
    filter: invert(1) grayscale(1) brightness(0.8);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.event-locat__info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 400;
}

.event-date__info span {
    font-size: 12px;
    color: rgb(33, 37, 41);
    font-weight: 400;
}

.event-date__time {

    font-weight: bold;
    line-height: 1.2em; 
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    white-space: normal;
}

.event-register-btn {
    padding: 12px 25px;
    background-color: #ee242d;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.event-register-btn:hover{
    box-shadow: 1px 1px 10px 3px #fff; transform: scale(1.05);

}

.news_gallary {
    width: 400px;
    height: 225px;
    position: relative;
    display: inline-block;
    cursor: pointer; /* Устанавливаем курсор в виде указателя при наведении */
}

/* Изображение */
.news_gallary img {
    width: 100%;
    max-width: 400px; /* Ограничение максимальной ширины изображения */
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out; /* Плавное изменение трансформации */
}

/* Контейнер для изображения */
.news_gallary {
    position: relative;
    display: inline-block;
    cursor: pointer; /* Устанавливаем курсор в виде указателя при наведении */
}


/* Иконка лупы */


/* Иконка лупы */
.zoom-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 50%;
    display: none; /* Изначально скрыта */
}

/* Показываем иконку лупы при наведении на изображение */
.news_gallary:hover .zoom-icon {
    display: block;
}

.modal {
    display: none ;
    position: fixed;
    z-index: 1000; /* Достаточно высокий, чтобы перекрыть header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Затемнение */
    display: flex;
    align-items: center;
    justify-content: center;
}
[data-b24-form]::before {
    content: "Заполните форму";
    display: block;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

/* Контейнер модального окна */
.modal-window {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    z-index: 1001; /* Выше, чем затемнение */
}

/* Изображение внутри модального окна */
.modal-content {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1002;
}
.close-btn:hover {
    color: red;
}

/* Обновленный стиль для header */
header {
    position: relative; /* Чтобы не был выше затемнения */
    z-index: auto;
}
#modal{
    align-items: center;
}
/* Кнопка закрытия */

/* Анимация вспышки */
.event-register-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: all 650ms;
}

.event-register-btn:hover::before {
    left: 100%;
}


.mini-event-card {
    
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    height: 310px;
    margin: 0 auto;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    margin-bottom: 10px;
}

.mini-event-card__image {
    display: block; 
    width: 100%; 
    height: 161px;
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.mini-event-card-img{
    background-color: #e4e4e4;
    border-radius: 15px 15px 0 0;
    display: flex;
    flex-direction: column;
    width: 285px;
    height: 161px;
   
}

.policy a{
    color: #ee242d;
}

.policy a:hover{
   
    text-decoration: none;
    border-bottom: 1px dashed #ee242d;
}

.rules a{
    color: #ee242d;
}

.rules a:hover{
    text-decoration: none;
    border-bottom: 1px dashed #ee242d;
}

.mini-event-card__description {
    padding-top: 5px;
    font-size: 18px;
    margin-bottom: 5px;
}

.mini-description__title {
    color: rgb(29, 30, 51);
    font-weight: 600;
    font-size: 16px;
}
.mini-description__title:hover{

    color: #ee242d;
    
}

.contact-email a:hover{

    text-decoration: none;
    border-bottom: 1px dashed #fff;
}



.footer-link a:hover{

    text-decoration: none;
    border-bottom: 1px dashed #fff;
}

.mini-description__info {
    height: 17px;
    background-color: #e4e4e4;
    border-radius: 5px;
    color: #1a1a1a;
    padding: 2px 5px 20px 5px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    overflow: hidden; 
    max-width: 245px;
}

.mini-card-info {
    padding: 10px 0 10px 0;
}



.mini-event-card__active {
    display: flex;
    flex-wrap: wrap; 
    align-items: center; 
    gap: 5px;
}

.mini-active-label {
    height: 22px;
    gap: 5px;
    display: flex;
    align-items: center;
    margin: 0;
    color: rgb(29, 30, 51);
    font-size: 14px;
    font-weight: 500;
    background-color: rgb(60, 170, 60);
    border-radius: 5px;
    padding: 2px 5px;
    color: #fff;

}

.mini-events-section {
    margin: 0 auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin-bottom: 80px;
}

.bx-filter-parameters-box-hint{
    font-size: 21px;
    color: rgb(33, 37, 41);
    font-weight: 400;
}

.bx-filter .bx-filter-parameters-box-title span{
    color: rgb(33, 37, 41);
    font-weight: 700;
}

.bx-filter.bx-blue .bx-filter-section {
    background-color: #fff;
}

.row{
    display: flex;
    justify-content: space-between;
}

.bx-filter-title{
    display: none;
}

.bx-filter-parameters-box{
    display: flex;
    
}

.bx-filter-parameters-box-hint{
    padding-right: 20px;
}

.bx-filter-select-popup{
    height: 250px;
    overflow-y: auto; 
    overflow-x: hidden; 
    min-width: 50px;

}






.info{
    text-align: center;
    font-family: 'Material Symbols Rounded', sans-serif;
    font-size: 18px;
}

.event-date-group {
    margin: 0 auto;
    display: flex;
    gap: 5px;
}

.info {
    cursor: pointer;
    position: relative;
    font-size: 13px;
    font-size: 18px;
}

.info::after {
    font-family: "Montserrat", serif;
    content: "По местному времени"; 
    position: absolute;
    bottom: 150%;
    left: -120%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    letter-spacing: normal;
    word-spacing: normal;
}

.info:hover::after {
    opacity: 1;
    visibility: visible;
}
.event-count-mobil {
    display: none !important;
}
.group{
    display: flex;
    flex-wrap: wrap;
}

.pagination{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 50px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0 2px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #ccc;
    color: #333;
}

.pagination a:hover {
    background-color: #eee;
}

.pagination .pagination__current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.smartfilter{
    display: flex;
    justify-content: space-between;
}

.bx-filter-button-box{
    display: none;
}



.event__details{
    width: 100%;
    margin-top: 15px;
    margin-bottom: 70px;
    gap: 20px;
    display: flex;
    justify-content: space-between;
}
.btn-back{
    width: 340px;
    padding: 10px 0 10px 0;
    margin-top: 30px;
    text-align: center;
    border-radius: 15px;
    background-color: rgb(244, 244, 244);
    top: 505px;
    position: sticky;


  
}
.btn-back:hover{
    color: #ee242d;
}
.event__details-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 150px;
    align-self: flex-start;
}
.event__details-left-item{
    top: 120px;
 

    height: 365px;
    margin: 0 auto;
    align-items: center;
    padding-bottom: 25px;
    background-color: rgb(244, 244, 244);
    border-radius: 15px;
    margin: 0;
    width: 340px;
    bottom: 300px;
}

.news-list{
    display: none;
}
.event__image {
    width: inherit;
    display: block;
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.event__info {
    margin-top: 15px;
    display: flex;
    font-size: 18px;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: center;
}

.event__date {
    text-align: center;
    margin: 0;
    color: rgb(29, 30, 51);
    font-size: 14px;
    font-weight: 500;
    flex-basis: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-bottom: 35px;
}

.event__registration {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.event__register-btn {
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    border: 2px solid #ee242d;
    width: 222px;
    font-size: 16px;
    padding: 10px 15px;
    color: white;
    background-color: #ee242d;
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

/* Анимация при наведении */
.event__register-btn:hover {

    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(238, 36, 45, 0.5);
}

/* Анимация вспышки */
.event__register-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: all 650ms;
}

.event__register-btn:hover::before {
    left: 100%;
}
.event-completed{
    text-align: center;
    width: 222px;

    padding: 8px 22px 8px 22px;
    color: rgb(149,149,149);
    border: 1px solid rgb(149,149,149);
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 10px;
}

.event__details-right {
    flex: 0 0 60%;
}

.event__details-right-info{
    display: flex;
    height: max-content;
    width: 830px;
    gap: 10px;
    padding: 16px 16px 16px 16px;
    background-color: rgb(244, 244, 244);
    border-radius: 15px;
}

.detail__info-left-h2{
    width: 680px;
    font-size: 28px;
    margin: 0;
    font-weight: 700;
    margin-bottom: 16px;
}

.info__left-time{
    gap: 16px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 16px;
}

.info__left-locat{
    gap: 16px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.detail__info-right{
    padding: 8px;
    border-radius: 10px;
    color: #fff;
    height: 32px;
    background-color:rgb(29, 30, 51) ;
    gap: 5px;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.dot{
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background-color: #fff;
}

.switch-text {
    background: none;
    border: none;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.4s ease;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, max-height 0.4s ease;
}

.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease, max-height 0.4s ease;
}


.tab-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tab-container {
    display: flex;
    border-bottom: 2px solid gray;
    margin-top: 10px;
    justify-content: flex-start;
}
.tab {
    text-align: center;
    padding: 10px;
    position: relative;
    width: 276px; 
    flex: 0 0 auto; 
}

.btn-back{
    margin-top: 20px;
}

.active-tab::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ee242d;
    position: absolute;
    bottom: -2px;
    left: 0;

    transition: background-color 0.4s ease;
}

.nav-rules{
    margin-top: 20px;
    color: rgb(128, 127, 129);
    font-size: 14px;
    font-weight: 600;
}

.rules{
    padding-bottom:20px ;
    line-height: 1.6;
}
.rules ul{
    list-style-type: disc;
}
.policy{
    padding-bottom:20px ;
    line-height: 1.6;
}

.policy ul{
    list-style-type: disc;
    
}

.news_gallary {
          margin: 0 auto;
    overflow: hidden;     /* Обрезаем выходящее изображение */
    border: 1px solid rgb(244, 244, 244);;
    transition: box-shadow 0.3s;
    border-radius: 10px;  /
}
.news_gallary img{
    margin: 0 auto;
   * Скругление углов (опционально) */
    
       /* Изображение полностью покрывает контейнер */
    transition: transform 0.5s ease;
}

.news_gallary img:hover{
    transform: scale(1.04);
    cursor: zoom-in;
}


.besplatn{
    border:2px solid #ee242d;
    padding: 2px 6px 2px 6px;
    border-radius: 15px;
}
ol {
    list-style-type: decimal;
}
.title-main-1{
    text-align: left;
    font-size: 48px;
    font-weight: 200;
    margin-bottom: 0;
}
.title-main-2{
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    margin-top: 10px;
}

.switch-text:hover::after {
    background-color: #ee242d; 
    color: #ee242d;
}

.switch-text:hover{
    color: #ee242d;

}

.event__details-right-switch{
    width: 830px;
}

.event-start-time{
    max-width: max-content;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
   
}

.b24-window-close{
    top: 5px !important;
    right: 5px !important;
}

.info__left-time-info{
    cursor: pointer;
    position: relative;
    font-size: 13px;
    font-size: 18px;
     text-align: center;
    font-family: 'Material Symbols Rounded', sans-serif;
    font-size: 18px;
    
}
.timer{
    font-size: 47px;
}
.certificate-content-right p{
    font-size: 13px;
    line-height: 1;
    margin: 0;
}
.certifivate{
    padding-top: 20px;
    padding-bottom: 20px;
}

.certificate-content{
    gap: 20px;
    height: max-content;
    display: flex;
    align-items: center;
}
.b24-form-click-btn-wrapper.--b24-mod-center>button {
    height: 100%;
    width: 400px;
    background-color: #ee242d !important;
    height: 100px;
    border-radius: 15px;
    font-weight: 300;
    font-size: 29px;
}
.b24-form-click-btn-wrapper.--b24-mod-center>button:hover {
   background-color: #ee242d !important;
}
.info__left-time-info::after {
    font-family: "Montserrat", serif;
    content: "По местному времени"; 
    position: absolute;
    bottom: 0%;
    left: 600%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    letter-spacing: normal;
    word-spacing: normal;
}

.info__left-time-info:hover::after {
    opacity: 1;
    visibility: visible;
}

#description ul {
    padding-right: 2rem;
    list-style-type: "- ";
    padding-left: 20px; 
}

#description li {
    margin-bottom: 5px; 
    list-style-type: "- ";
}

#description li::marker{
    content: "- ";
    color: #ee242d;
    font-weight: 300;
    font-size: 1.5em;
}
#description{
    max-width: 830px;
}

.speaker p{
    margin: 0;
}

.speaker{
    border-radius: 15px;
    display: flex;
    height: max-content;
    border: 1px solid rgb(237, 237, 237);
    margin-top: 30px;
}

.speaker__img{
    border-radius: 15px 0 0 15px;
    height: auto;
    width: 30%;
    object-fit: cover;
}

.speaker__info span{
    font-weight: 600;
}

.speaker__info{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.speaker__info p{
    font-size: 12px;
}

.speaker__name{
    font-size: 22px !important;
    font-weight: 600;
}

.breadcrumbs{
    margin: 20px 0 20px 0;
    color: #999;
}

.bx-breadcrumb{
    margin: 0;
}

.breadcrumbs-text{
    color: #999;
    font-size: 13px;
}

.b24-form-btn{
    background-color: #ee242d !important;
}
.b24-window-close{
    background-color: #ee242d !important;
}

.b24-form-control .b24-form-control-not-empty:focus {
    border-color: #ee242d!important; 
    outline: none !important;
}
button {
    outline: none;
}

.dev-img {
    margin-top: 20px;

}

img[rel="lightbox"] {
    display: none; 

}
.event-register-btn{
    width: 100%;
}



.event__image-dev{
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
}

.img-dev{
    align-items: center;
    display: flex;
}

.logo-dev{
    width: 110px;
    height: 90px;
    object-fit: contain;
}

.img-dev-right{
    background-color: rgb(233,233,233);
    border-radius: 10px;
    border: 1px solid #c7c7c7;
    padding:10px 15px 10px 15px;
    display: flex;
    height: inherit;
    gap: 10px;
}
.fa-solid {
    font-size: 9px;
    color: rgb(153, 153, 153);
    font-weight: 700;
}
.dev-img{
    height: 70px;
    width: 150px;
}
.b24-widget-button-social-item .b24-widget-button-callback{
    background:#ee242d !important;
}
.b24-widget-button-inner-mask{
    background:#ee242d !important;
}
.b24-widget-button-social-item .b24-widget-button-openline_livechat{
    background:#ee242d !important;
}
.b24-widget-button-inner-block{
    background:#ee242d !important;
}
ol {
    counter-reset: section;
    list-style: none;
    padding-left: 1em; /* Общий отступ списка */
  }
  
  ol > li {
    counter-increment: section;
    position: relative;
    padding-left: 2.5em; /* Отступ ТЕКСТА от номера (вправо) */
  }
  
  ol > li::before {
    content: counter(section) ".";
    position: absolute;
    left: 0; /* Номер прижат к левому краю контейнера LI */
    text-align: left;
    width: 1.5em; /* Ширина блока номера */
    font-weight: 400;
    /* margin-right: 0.5em; - УДАЛЯЕМ отступ */
  }
  
  /* Для вложенных списков: */
  ol ol {
    counter-reset: subsection;
    padding-left: 1em; /* Общий отступ списка */
  }
  
  ol ol > li {
    counter-increment: subsection;
    position: relative;
    padding-left: 3em; /* Отступ ТЕКСТА от номера (вправо) */
  }
  
  ol ol > li::before {
    content: counter(section) "." counter(subsection) ".";
    position: absolute;
    left: 0; /* Номер прижат к левому краю контейнера LI */
    text-align: left;
    width: 2em; /* Ширина блока номера */
    font-weight: 400;
    /* margin-right: 0.5em; - УДАЛЯЕМ отступ */
  }
  
  /* Дополнительные уровни вложенности (если необходимо) */
  ol ol ol {
    counter-reset: subsubsection;
    padding-left: 1em; /* Общий отступ списка */
  }
  
  ol ol ol > li {
    counter-increment: subsubsection;
    position: relative;
    padding-left: 3.5em; /* Отступ ТЕКСТА от номера (вправо) */
  }
  
  ol ol ol > li::before {
    content: counter(section) "." counter(subsection) "." counter(subsubsection) ".";
    position: absolute;
    left: 0; /* Номер прижат к левому краю контейнера LI */
    text-align: left;
    width: 2.5em; /* Ширина блока номера */
    font-weight: 400;
    /* margin-right: 0.5em; - УДАЛЯЕМ отступ */
  }



.blog-page-current{
    background-color: #c9c5c5;
    
}

.slides-none-content{
    display: flex;
    justify-content: space-between;
}

#wait_comp_d6ffa54e5e62dd94fb9aab972a66d2b7{
    display: none;
}

.subscr_text{
    font-size: 14px;
    padding: 15px 0 15px 0;
    font-weight: 700;
}

.subsc_block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    padding: 15px 0 15px 0;
  }
  .subsc_block p{
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
  }
  .subsc_block p i{
    color: #ee242d1;
    font-size: 35px;
    margin-right: 10px;
  }
  .subsc_block .b24-form-sign {
    display: none;
  }
  .subsc_block .b24-form-wrapper{
    background: transparent;
  }
  .subsc_block .b24-form-wrapper form{
    display: flex;
  }
  .subsc_block .b24-form-wrapper form>div:first-child{
    display: flex;
    max-height: 40px;
  }
  .subsc_block .b24-form-wrapper form>div:first-child .b24-form-field-name{
    margin-right: 5px;
  }
  .subsc_block  .b24-form{
    height: 100%;
  }
  .subsc_block .b24-form-wrapper{
    height: 100%;
    min-height: inherit;
  }
  .subsc_block .b24-form-wrapper .b24-form-header-padding{
    display: none;
  }
  .subsc_block .b24-form-wrapper .b24-form-padding-side{
    padding: 0;
  }
  .subsc_block .b24-form-wrapper .b24-form-padding-side form div{
    margin: 0;
  }
  .subsc_block .b24-form-wrapper .b24-form-padding-side form .b24-form-control-container input, .subsc_block .b24-form-wrapper .b24-form-padding-side form .b24-form-control-container {
    height: 40px;
  }
  .subsc_block .b24-form-btn-block{
    padding: 0 5px;
  }
  .subsc_block .b24-form-btn-block button{
    padding: 10px 30px;
    background: #ee242d;
    border-radius: 5px!important;
    min-height: 40px;
    height: 40px;
  }
  .subsc_block .b24-form-control-comment{
    display: none;
  }
  .subsc_block .b24-form-field{
    width: 195px;
  }
  .subsc_block .b24-form-control-not-empty+.b24-form-control-label{
    top: 5px;
    font-size: 10px;
  }
  .subsc_block .b24-form-control:focus+.b24-form-control-label{
    top: 5px;
    font-size: 10px;
  }

  .events-main .bx-filter-section .bx-filter-parameters-box-title {
    padding-top: 1px;
  }
  .news-main .bx-filter-section .bx-filter-parameters-box-container > div .checkbox:has(input:checked) label span {
    color: #ee242d;
  }
  .news-main .bx-filter-section .bx-filter-parameters-box-container > div .checkbox label:hover, .news-main .bx-filter-section .bx-filter-parameters-box-container > div .checkbox:has(input:checked) label {
    border: 1px solid #ee242d;
    color: #ee242d;
    cursor: pointer;
  }
  .bx-filter-select-popup {
    min-width: 50px;
    max-height: 300px;
    overflow-y: auto;
  }
  .popup-window:has(.bx-filter-select-popup) .bx-filter-select-popup ul li label.selected, .popup-window:has(.bx-filter-select-popup) .bx-filter-select-popup ul li label:hover {
    background: #ee242d;
    color: #fff;
  }
  form.smartfilter .bx-filter-parameters-box.bx-active:first-child {
    flex-grow: 1;
  }
  .bx-filter-section .bx-filter-parameters-box-title span {
    color: #393939;
  }
  .bx-filter-section .bx-filter-parameters-box-title i {
    display: none;
  }
  .news-main .bx-filter-section .bx-filter-parameters-box-title {
    padding-top: 2px;
  }
  .news-main .bx-filter-parameters-box-container {
    height: 38px;
    padding-bottom: 0;
  }
  .news-main .bx-filter-section .bx-filter-parameters-box-container .col-xs-12 .checkbox {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }
  .news-main .bx-filter-section .bx-filter-parameters-box-container .col-xs-12 {
    flex-direction: row;
  }
  .news-main .bx-filter-section .bx-filter-parameters-box-container > div .checkbox label {
    color: #393939;
    border: 1px solid #393939;
    border-radius: 20px;
    width: auto;
    display: inline-block;
    padding: 6px 17px;
    margin-bottom: 10px;
  }
  .events .wrap-top .video-frame {
      width: 50%;
  }
  .b24-form-control-icon-after .b24-form-control, .b24-form-control-icon-after .b24-form-control-label {
    text-align: left;
    }
  .select_block .wrap-block .image::before {
    content: '';
      position: absolute;
      top: 0; left: 0;
      border-top: 80px solid white;
      border-right: 80px solid transparent;
      width: 0;
  }
  .select_block .wrap-block .image::after {
    content: '';
      position: absolute;
      bottom: 0; right: 0;
      border-bottom: 110px solid white;
      border-left: 110px solid transparent;
      width: 0;
  }
  .circles > * {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0 2%;
  }
  
  .link_sale .cl {
    position: absolute;
    top: 5px;
    right: 9px;
  }
  .link_sale .circle{
  height: 15px;
  width: 15px;
    border-radius: 100%;
    box-shadow: 0 1px 0 2px rgba(225, 131, 194, 0.25), 0 -1px 0 2px rgb(255 130 67 / 25%), 1px 0 0 2px rgb(232 136 22 / 25%), -1px 0 0 2px rgb(255 0 0 / 66%), 1px -1px 0 2px rgb(199 25 1 / 50%), -1px 1px 0 2px rgb(234 112 0 / 50%), 1px 1px 0 2px rgb(230 0 0 / 75%), -1px -1px 0 2px rgb(230 159 107 / 75%);
    animation: rotateThis 1s linear infinite;
    background: #fff;
    display: none;
  }
  .link_channel:hover{
        color: #ee242d;
  }


.info__left-price{
    height: 28px;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    gap: 25px;
    margin-bottom: 16px;
}

.posleveb {
  width: 200px;
  border: 2px solid #ee242d;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  margin: 20px auto;
  position: relative; /* Важно: чтобы absolute позиционирование работало */
}

.video-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ee242d;
  position: absolute; /* Новое: абсолютно позиционируем круг */
  top: -30px; /* Поднимаем круг наверх (половина его высоты) */
  left: 50%; /* Центрируем горизонтально */
  transform: translateX(-50%); /* Точное центрирование по горизонтали */
  overflow: hidden;
}

.posleveb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
    padding: 10px;
}

.posleveb-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #ee242d;
  margin-top: 29px; /* Отодвигаем текст вниз, чтобы не перекрывался кругом */
}

.posleveb-p {
  font-size: 0.9em;
  color: #333;
  margin-top: 5px;
}

.posleveb-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.posleveb{
    flex: 1 0 30%;

    margin-bottom: 20px
}


.telegram-mobil {
    display: none;
    width: auto;
    background-color: rgb(0, 161, 219);
   
    text-align: center;
    justify-content: center;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.telegram-mobil a{
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}
.banner{
    width: 881px; height: 350px; border-radius: 15px
}.mini-event-card-img:has(.mini-event-card__image-dev) {
    padding-top: 0%;
}
.mini-event-card__image-dev {
    display: block;         /* Занимает всю доступную ширину */
    margin: 0 auto;          /* Центрирование (если нужно) */
    width: 100%;                /* Занимает всю ширину родителя */
    /*max-width: 219px;  Удалите эту строку! */
    aspect-ratio: 219 / 43;    /* Соотношение сторон */
  
    background-size: cover;   /* Изображение заполняет контейнер, обрезаясь при необходимости */
    background-repeat: no-repeat; /* Не повторять изображение */
    background-position: center; /* Центрировать изображение */
    overflow: hidden;  /*  Убедитесь, что обрезка работает корректно */
}
.mini-event-card-img {
    background-color: #e4e4e4;
    border-radius: 15px 15px 0 0;
    display: flex;
    flex-direction: column;
    width: 285px;
    height: 161px;
    justify-content: center;
}

@media screen and (max-width: 1200px){
    .event-card__image{
        margin-bottom: 33px;
    }
    .header{
        width: 100%;
    }
    .wrapper{
        padding: 0 30px 0 30px;
        width: 100%;
    }
    .mini-events-section{
        margin: 0 auto;
        max-width: 1199px;
        display: flex;
        flex-wrap: wrap;
    
        gap: 20px; 
    }
    .event-card {
        width: 720px;
    }
    .mini-event-card{
        flex: 1 0 25%;
        width: 362px;
        margin-bottom: 20px
    }
    .event-card__title{
        font-size: 24px;
    }
    .mini-event-card-img{
        width: 100%;
        height: 200px;
    }
    .mini-event-card{
        width:362px;
    }
    
    .mini-event-card__image{
    
        height: 200px;
        background-size: cover;
    }
    .event-card__image {
        width: 300px;
        height: 170px;
    }
    .telegram{
        max-width: 260px;
    }
    .telegram-text{
        font-size: 15px;
    }
    
    .telegram-btn{
        width: 220px;
    }
    .mini-events-section{
        margin-bottom: 70px;
    }
    #comp_905bdeca6ed547b8592fb1ca0f24b3db .wrapper{
        padding: 0;
    }
    .event-info__title{
        width: 360px !important;
    }
    .event-info{
        width: 360px !important;
    }
    .event-info__description{
        width: 360px !important;
    }
    .event-meta{
        width: 360px !important;
    }
    .title-main-1{
        font-size: 42px;
    
    }
    .besplatn{
        padding: 1px 5px 1px 5px;
    }
    .title-main-2{
        font-size: 42px;
    }
    .b24-form-btn-block .b24-form-btn{
        font-size: 12px;
    }

    /*детаьная страница*/

    .detail__info-right{
        display: none;
    }
    .event__details{
        max-width: 1200px !important;
    }
    .event__details {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 70px;
        gap: 20px;
        display: flex;
        justify-content: flex-start;
    }

    .detail__info-left-h2 {
        /* width: 680px; */
        font-size: 28px;
        margin: 0;
        font-weight: 700;
        margin-bottom: 16px;
    }
    .event__details-right-info{
        max-width: 700px;
        width: 100%;
    }
    
  
    .event__details{
        justify-content: flex-start;
    }
    
    
    .event__details {

        align-items: center;
    }

    .event__details-left {
        width: 100%;
        position: relative;
        top: 0;
        align-items: center;
    }

    .event__details-left-item {
        width: 100%;
        max-width: 500px;
    }
.event__details-right-switch{
    max-width: 700px;
}
    .event__details-right {
        
        max-width: 700px;
    }
.tab-container{
    max-width: 700px;
}
    .event__details-right-info {
        width: 100%;
        padding: 10px;
    }

    .detail__info-left-h2 {
        width: 100%;
        font-size: 24px;
        text-align: center;
    }

    .event__register-btn {
        width: 100%;
        max-width: 300px;
    }

    .event__image {
        height: 180px;
    }


    .btn-back {
        width: 100%;
        max-width: 300px;
    }

    .tab-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab {
        width: 33.3%;
    }
    #comp_b7009129540a1d7c7c57539ac5a492e5 .wrapper{
        padding: 0;
    }
    
    
}
@media screen and (max-width: 1120px){
    .event-count{
        display: none !important;
    }
    .contact-email a{
        font-size: 2px;
    }
    
    .telegram-text{
        font-size: 15px;
    }
    .telegram-btn{
        width: 220px;
    }
    .group{
        width: 380px;
    }
    .event-info{
        width: 380px;
    }
    .event-info__description{
        width: 380px;
    }
    .event-info__title{
        width: 380px;
    }
    .event-meta{
        width: 380px;
    }
    .event-date{
        width: 180px;
    }
    .event-locat{
        width: 180px;
    }
    .event__image{
        max-height: 170px;
    }
    .event__details-left-item{
        max-height: 330px;
    }
}

@media screen and (max-width:1080px){
    .event-count-mobil{
        display: flex !important; 
    }
    .mini-event-card{
        width: 320px;
    }
    .mini-event-card__image{
        background-size: cover;
        height: 181px;
    }
    .mini-event-card-img{
        height: 181px !important;
    }
    .title-main-1{
        font-size: 40px;
    }
    .title-main-2{
        font-size: 40px;
    }
    .mailing-content .subscr_text{
        width: 450px;
        font-size: 12px;
    }
    .subscr_text{
        width:430px !important;
    }
    .contact-email a{
        font-size: 24px;
    }
    .subsc_block .b24-form-btn-block button {
        padding: 10px 15px;
 
    }
    .telegram{
        display: none;

    }
    .event-count-colvo{
        padding: 0 !important;
    }
    .event-count-mobil {
        display: flex;
        font-weight: bold;
        font-size: 18px;
        height: 90px;
        align-content: center;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
    }
    .event-rigth-countandtel-mobil{
        display: flex;
        margin-top: 50px;
        gap: 20px !important;
    }
    .event-count-mobil p{
        font-size: 15px !important;
        font-weight: 400 !important;
        width: 170px !important;
    }
    .event-count-mobil{
        height: 50px !important;
    }
    .telegram-mobil{
        flex: 1;
        display: flex;
    }
    .section-events {
        width: 100vw;                 /* Полная ширина экрана */
        max-width: 100%;              /* Без ограничения */
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .carousel {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: flex-start;   /* Сдвигаем элементы влево */
        position: relative;
        flex-wrap: wrap;
    }
    
    .carousel__list {
        display: flex;
        justify-content: flex-start;    /* Сдвигаем элементы влево */
        gap: 20px;
        flex-wrap: nowrap;
        width: 100%;
        position: relative;
        transform: translateX(-0%);     /* Сдвигаем содержимое карусели влево на 5% */
    }
    
    .carousel__item {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        position: absolute;
        width: 95%;
        max-width: 100%;
        height: 100%;
        box-sizing: border-box;
        transition: all 0.4s ease-in-out;
        user-select: none;
        -webkit-user-select: none;
        pointer-events: auto;
    }
    
    .carousel__item:active {
        pointer-events: none;     /* Отслеживание кликов только на текущем элементе */
    }
    .event-card {
        width: 100%;                     /* Растяжение на всю ширину родителя */
        max-width: 100%;                  /* Ограничение по ширине */
        height: auto;                     /* Автоматическая высота */
        padding: 20px;
        background: #fff;
        border-radius: 15px;
        box-shadow: 0px 2px 8px rgba(50, 50, 50, 0.5);
        display: flex;
        flex-direction: column;
        background-color: rgb(244, 244, 244);
        box-sizing: border-box;          /* Учитывает padding в ширине */
    }
   .banner{
        width: 100%;
        height: 100%;
        
   }
   
    .group{
        max-width: 590px;
    }
    .event-card__content .group {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        box-sizing: border-box;
    }
    .event-info__title{
        width: 100% !important;
    }
    .event-info__description p{
        width: 100% !important;
    }
    
    /* Обновление .event-info и .event-meta для более гибкого отображения */
    .event-info {
        flex: 1 1 450px; /* Задает минимальную ширину и возможность сужаться */
        max-width: 100%;
    }
    
    .event-meta {
        flex: 1 1 300px; /* Позволяет меткам сжиматься, если необходимо */
    }
    .event-card__image{
        max-width: 400px;
        width: 340px;
        height: 190px;
        margin-bottom: 33px
    }
    .event-meta{
        display: flex;
        justify-content: flex-start;
    }
    .title-main-2{
        padding-bottom: 20px;
    }
    .event__image {
        max-height: 158px;
    }
    
}


@media screen and (max-width:1024px){
    .mini-event-card__image {
        background-size: cover;
        height: 167px;
    }
    .mini-event-card-img {
        height: 167px !important;
    }
    .subscr_text{
        max-width: 420px;
    }
    
    .event__image{
        max-height: 125px;

    }
    .event__details-left-item {
        max-height: 270px;
    }

}
@media screen and (max-width:992px){
    .title-main-1 {
        font-size: 38px;
    }
    .title-main-2{
        font-size: 38px;
    }
    .mini-event-card-img{
        height: a;
    }
    .footer__Csoft-info p {
        font-size: 12px;
        font-weight: 400;
    }
    .footer__events-list{
        font-size: 12px;
    }
    .contact-phone a{
        font-size: 20px;
    }
    .contact-phone p{
        font-size: 12px;
    }
    .contact-email a{
        font-size: 20px;
    }
    .age{
        font-size: 52px;
    }
    .footer-link a{
        font-size: 12px;
    }
    .footer__bottom{
        font-size: 12px;
    }footer__Csoft-info
    .footer__events-item a{
        font-size: 12px;
    }
    .footer__top{
        padding-bottom: 15px;
    }


    .event__details{
        display: flex;
        flex-direction: column;
    }
    .event__details-right{
        max-width: 1000px;
    }
    .event__details-right-info{
        max-width: 1000px;
    }
    .event__details-right-info{
       
    }
    .event__details-right-switch{
        max-width: 1000px;
        width: 100%;
    }
    .detail__info-left{
        width: 100%;
    }
    .tab-container{
        max-width: 1000px;
    width: 100%;
    }
    .detail__info-left-h2{
        text-align: left;
    }
    .event__register-btn-mobil{
        padding-top: 16px;
    }
    .event__register-btn-mobil{
        display: block !important;
    }
    .event__details-left{
        display: none;
    }
    .event__register-btn {
        width: 100% !important;
        max-width: 100%;
       
    }
    .event__register-btn {
        cursor: pointer;
        font-weight: 500;
        text-align: center;
        border: 2px solid #ee242d;
        width: 222px;
        font-size: 16px;
        padding: 5px 15px;
        color: white;
        background-color: #ee242d;
        text-decoration: none;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: inline-block;
    }
    .event__register-btn:hover {

        transform: scale(1.01);
        box-shadow: 0 0 10px rgba(238, 36, 45, 0.5);
    }
    .speaker {
        border-radius: 15px;
        display: flex;
        height: max-content;
        border: none !important;
        margin-top: 30px;
        flex-direction: column;
        align-items: center;
    }
    .speaker__img {
        border-radius: 100px;
        height: auto;
        width: 30%;
        object-fit: cover;
    }
}

@media screen and (max-width:960px){
    .img-dev-right{
        display: none !important;
    }
    .footer__top {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer__Csoft-info {
        flex: 0 0 100%; /* Этот блок остается сверху и занимает всю ширину */
    }

    .footer__events-list {
        flex: 0 0 48%; /* Этот блок будет занимать всю ширину */
        order: 2; /* Перемещаем блок с вебинарами на вторую строку */
    }

    .footer__contact {
        flex: 0 0 48%; /* Этот блок будет занимать всю ширину */
        order: 1; /* Перемещаем блок с контактами на первую строку */
        max-width: 400px;
    }
    
}
@media screen and (max-width:860px){
    
    .mini-event-card-img {
        display: flex; /* Используем Flexbox */
        justify-content: space-around; /*  Равномерное распределение */
        align-items: center;         /* Выравнивание по вертикали */
      }
      
      .mini-event-card__image {
        display: block;
        width: 45%; /*  Пример: Каждое изображение занимает 45% ширины */
        height: 100px; /* Задайте высоту, или используйте aspect-ratio */
        background-repeat: no-repeat;
        background-position: center;
      }
    .mini-event-card-img {
        position: relative;
        width: 100%;                     /* Контейнер занимает всю ширину */
        padding-top: 56.25%;              /* Пропорции 16:9, если нужно другое соотношение, меняй это значение */
        background-color: #ccc;          /* Цвет фона для контейнера (если нет изображения) */
        overflow: hidden;                /* Обрезаем изображение, если оно выходит за пределы контейнера */
    }
    
    .mini-event-card__image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
     
        background-size: contain;        /* Изображение сохраняет свои пропорции, полностью помещается внутри контейнера */
        background-position: center;     /* Центрирование изображения */
        background-repeat: no-repeat;    /* Отключение повторения изображения */
    }
    .mini-event-card {
        display: flex; /* Сделаем .mini-event-card флекс-контейнером */
        width: 100%;   /* Занимает всю доступную ширину */
        height: 300px; /* Устанавливаем фиксированную высоту для контейнера (например, 300px) */
        justify-content: space-between; /* Распределяет пространство между элементами */
        padding: 0;
    }
    
    .mini-event-card-img {
        flex: 0 0 40%;  /* Этот блок займет 40% высоты контейнера */
        position: relative;
        background-color: #ccc;  /* Фоновый цвет */
        overflow: hidden;
    }
    
    .mini-event-card__image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: contain; /* Сохраняет пропорции изображения */
        background-position: center;
        background-repeat: no-repeat;
    }
    .b24-form-click-btn-wrapper.--b24-mod-center>button {
        height: 100%;
        width: 350px;
        background-color: #ee242d !important;
        height: 100px;
        border-radius: 15px;
        font-weight: 300;
        font-size: 29px;
    }
    
    .mini-card-info {
        flex: 0 0 60%;  /* Этот блок займет 60% высоты контейнера */
       
        display: flex;
        flex-direction: column; /* Все элементы внутри будут располагаться вертикально */
        justify-content: flex-start;
        height: 100%;  /* Занимает всю высоту родительского блока */
        
    }
    .event-card__image{
        width: 280px;
        height: 156px;
        margin-bottom: 48px;
    }
    .title-main-2{
        font-size: 36px;
    }
    .title-main-1{
        font-size: 36px;
    }
    .mailing{
        height: 132px;
    }
    .subsc_block{
        font-size: 14px !important;
        justify-content: center;
    }
    .subscr_text{
        margin: 0 auto;
    }
    .mailing-content{
        flex-direction: column;
    }
    .mailing p{
        font-size: 14px !important;
        margin: 0 auto;
    }
}

@media screen and (max-width:780px){
    .mini-events-section{
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        margin-bottom: 50px;
    }
    .event-card__content{
        flex-direction: column;
    }
    .btn-reg-mobile{
        display: block;
    }
    
    .event-card__image{
        margin-bottom: 0;
    }
    .event-card__title{
        padding-bottom: 15px;
        font-size: 22px;
    }
    .event-info__title{
        font-size: 18px;
    }
    .event-info{
        height: max-content;
    }
    .group{
        gap: 0;
    }
    .title-main-2{
        padding-bottom: 95px;
    }
    .event-rigth-countandtel-mobil{
        flex-direction: column !important;
        margin-top: 140px !important;
    }
    .event-count-mobil p{
        width: 280px !important;
    }
    .event-count-mobil{
        max-width: 780px !important;
    }
    .title-main-1{
        font-size: 24px;
    }
    .title-main-2{
        font-size: 24px;
    }
    .btn-reg-full{
        display: none;
    }
    .btn-reg-mobile{
        display: flex;
    }
    .event-meta{
        width: 100%;
    }
    .btn-reg-mobile{
        width: 100%;
    }
    .event-card__content{
        align-items: center;
    }
    .event-info__title{
        text-align: center;
    }
    .event-info__description p{
        text-align: justify;
    }
    .event-meta{
        justify-content: center;
    }
    .event-info__description{
        margin: 0 auto;
    }
    .mini-events-section{
        margin-bottom: 20px;
    }
    .certificate-content {
        gap: 20px;
        height: max-content;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .certificate-content-right {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width:640px){
    .event-rigth-countandtel-mobil {
        flex-direction: column !important;
        margin-top: 120px !important;
    }
    .b24-form-click-btn-wrapper.--b24-mod-center>button {
        height: 100%;
        max-width: 350px;
        background-color: #ee242d !important;
        height: 100px;
        border-radius: 15px;
        font-weight: 300;
        font-size: 29px;
    }
    .mini-description__title{
        font-size: 14px;
    }
    .mini-event-card__description{
        padding-top: 1px;
        margin-bottom: 2px;
    }
    .menu__btn{
        padding: 10px 20px;
    }
    .header__list{
        padding-left: 0;
    }
    .subsc_block{
        padding: 6px 0 6px 0;
    }
    .event-card__title{
        text-align: center;
    }
    .group{
        gap: 8px !important;
    }
    .event-card__content{
        gap:8px;
    }
    .event-card__title{
        padding-bottom: 8px;
    }
}
@media screen and (max-width:530px){
    .event-rigth-countandtel-mobil {
        flex-direction: column !important;
        margin-top: 160px !important;
    }
    .b24-form .b24-window-scrollable{
        padding: 0;
    }
    .header__menu-right{
        flex-direction: column;
        gap: 8px;
    }
    .header__list{
        margin-bottom: 0;
    }
    .title-main-1{
        font-size: 19px;
    }
    .title-main-2{
        font-size: 19px;
    }
    .besplatn{
        border-radius: 8px;
    }
    .subsc_block .b24-form-wrapper form{
        display: flex;
        flex-direction: column !important;
        gap: 4px;
    }
    .header{
        padding-bottom: 16px;
    }
    .mailing{
        height: 170px;
    }
    .subsc_block .b24-form-btn-block button{
        width: 100%;
    }
    .mini-active-label{
        font-size: 12px;
    }
    .mini-description__info {
        height: 14px;
        background-color: #e4e4e4;
        border-radius: 5px;
        color: #1a1a1a;
        padding: 1px 5px 20px 5px;
        font-size: 14px;
        font-weight: 500;
        margin: 0;
        overflow: hidden;
        max-width: 245px;
    }
    .mini-event-card {
        display: flex;
        width: 100%;
        height: 277px;
        justify-content: space-between;
        padding: 0;
    }
    .mini-events-section{
        margin-bottom: 60px;
    }
   

    .footer__Csoft-info {
        flex: 0 0 100%; /* Этот блок остается сверху и занимает всю ширину */
        max-width: 400px;
    }

    .footer__events-list {
        flex: 0 0 100%; /* Этот блок будет занимать всю ширину */
        order: 2; /* Перемещаем блок с вебинарами на вторую строку */
        max-width: 400px;
    }

    .footer__contact {
        flex: 0 0 100%; /* Этот блок будет занимать всю ширину */
        order: 1; /* Перемещаем блок с контактами на первую строку */
        max-width: 400px;
    }
    .contact-age{
        margin-top: 20px;
    }
    .event-meta{
        flex-direction: column;
    }
    .group{
        max-width: 360px;
    }
    .event-info__description{
        max-width: 360px;
    }
    .subscr_text{
        max-width: 360px;
        font-size: 12px !important;
        padding: 4px 0 4px 0;
    }
    .bitrx_block{
        max-width: 360px;
    }
    .title-main-2{
        padding-bottom: 132px;
    }
   
    .event-info__description{
        word-wrap: break-word; /* Позволяет переносить длинные слова на новую строку */
        white-space: normal
    }
    .event-info__description p{
        word-wrap: break-word; /* Позволяет переносить длинные слова на новую строку */
        white-space: normal
    }
    .footer__top{
        justify-content: center;
    }

}

@media screen and (max-width:480px){
    .event-count-mobil p {
        font-size: 13px !important;
        font-weight: 400 !important;
        width: 250px !important;
    }
    .event-rigth-countandtel-mobil {
        flex-direction: column !important;
        margin-top: 110px !important;
    }
    .carousel__item[data-pos="0"] {
        z-index: 5;
        transform: translateX(0%) scale(1);
        opacity: 1;
    }
    .policy li {
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        display: inline-block;
    }
    .policy a {
        word-break: break-all; /* Принудительный разрыв */
        overflow-wrap: anywhere; /* Позволяет разрывать длинные слова */
        hyphens: auto; /* Включает расстановку переносов */
        white-space: normal; /* Разрешает перенос строк */
      }
    
    .carousel__item[data-pos="1"] {

            transform: translateX(11%);
            opacity: 0.7;
            z-index: 4;
            pointer-events: auto;
        }
    .event-info__description {
        max-width: 100%; /* Максимальная ширина блока */
        width: 100%; /* Убедитесь, что блок может растягиваться */
        overflow-wrap: break-word; /* Разбивает длинные слова на новые строки */
        word-wrap: break-word; /* Разбивает длинные слова на новые строки (старый синтаксис) */
        word-break: break-word; /* Принудительно разрывает длинные слова на новую строку */
        white-space: normal; /* Позволяет переносить строки в обычном режиме */
    }
    .b24-form-click-btn-wrapper.--b24-mod-center>button {
        height: 100%;
        max-width: 100%;
        background-color: #ee242d !important;
        height: 100px;
        border-radius: 15px;
        font-weight: 300;
        font-size: 29px;
    }
    .event-card__image {
        width: 255px;
        height: 144px;
        margin-bottom: 48px;
    }
    .event-info__title {
        font-size: 14px;
    }
    .event-info__description p {
        font-size: 11px;
    }
    .event-date__info span {
        font-size: 11px;
        color: rgb(33, 37, 41);
        font-weight: 400;
    }
    .event-date__time {
        font-weight: bold;
        line-height: 1.2em;
        font-size: 11px;
        font-weight: 400;
        margin: 0;
        white-space: normal;
    }
    .event-date {
        display: flex;
        align-items: center;
        width: 100px;
        height: 62px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-locat {
        display: flex;
        align-items: center;
        width: 100px;
        height: 60px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-card__image {
        width: 255px;
        height: 144px;
        margin-bottom: 0;
    }
    .event-locat__info span{
        font-size: 11px;
    }
    .event-date__icon {
        background-image: url(../img/event-date.webp);
        width: 50px;
        height: 50px;
        filter: invert(1) grayscale(1) brightness(0.8);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        flex-shrink: 0;
        margin-right: 10px;
        display: none;
    }
    .event-locat__icon {
        display: none;
        background-image: url(../img/event-locat.webp);
        width: 50px;
        height: 50px;
        filter: invert(1) grayscale(1) brightness(0.8);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        flex-shrink: 0;
        margin-right: 10px;
    }
    .event-meta {
        display: flex;
        flex-direction: row;
    }
    .carousel__item {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        position: absolute;
        width: 89%;
        max-width: 100%;
        height: 100%;
        box-sizing: border-box;
        transition: all 0.4s ease-in-out;
        user-select: none;
        -webkit-user-select: none;
        pointer-events: auto;
    }
    .event-info__title {
        font-size: 14px;
    }
    .event-info__description p {
        font-size: 11px;
    }
    .event-date__info span {
        font-size: 11px;
        color: rgb(33, 37, 41);
        font-weight: 400;
    }
    .event-date__time {
        font-weight: bold;
        line-height: 1.2em;
        font-size: 11px;
        font-weight: 400;
        margin: 0;
        white-space: normal;
    }
    .event-date {
        display: flex;
        align-items: center;
        width: 100px;
        height: 62px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-date__icon{
        display: none;
    }
    .event-locat__icon{
        display: none;
    }
    .event-locat {
        display: flex;
        align-items: center;
        width: 100px;
        height: 60px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .title-main-1{
        font-size: 16px;
    }
    .title-main-2{
        font-size: 16px;
        padding-bottom: 160px;
    }
    .besplatn{
        border-radius: 5px;
        padding: 1px 3px 1px 3px;
        border: 1px solid #ee242d;
    }
    
    .number__phone{
        font-size: 15px;
    }
    .header__item a{
        font-size: 13px;
    }
    .menu__btn {
        padding: 5px 12px;
        border-radius: 7px;
    }
    .telegram-mobil a {
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }
    
    .event-card__title{
        font-size: 19px;
    }
    #smartFilterDropDown1493{
        width: 290px;
    }
    .mini-events-section{
        display: flex;
        flex-direction: column;
    }
    .mini-card-info{
        width: 100%;
    }
    .title-main-2{
        padding-bottom: 145px;
    }
    .event-card__title{
        font-size: 16px;
    }
    .event-info__title{
        font-size: 16px;
    }
    .event-info__description p{
        font-size: 13px;
    }
    .mini-events-section{
        margin-bottom: 0;
    }
    .pagination{
        padding-bottom: 30px;
    }
    .header__item{
        margin: 0;
    }
    .subsc_block .b24-form-btn-block {
        padding: 0;
    }
    .subsc_block .b24-form-wrapper form>div:first-child .b24-form-field-name {
        margin-right: 0;
    }
    
    .title-main-2 {
        padding-bottom: 92px;
    }
     
    .footer__Csoft-info p{
        display: none;
    }
    .telegram-mobil a {
        color: #fff;
        font-size: 13px;
        font-weight: 500;
    }
    .mini-events-section{
        gap: 0;
    }
    .footer-link{
        gap: 15px;
    }
    .subsc_block .b24-form-wrapper .b24-form-padding-side form div {
        gap: 10px;
        margin: 0;
    }
    .mailing {
        height: 180px;
    }
    .subscr_text{
        padding-top: 10px;
    }
    .detail__info-left-h2 {
        width: 100%;
        font-size: 19px;
        text-align: center;
    }
    .info__left-time img{
        width: 22px !important;
        height: 25px !important;
    }
    .info__left-time {
        gap: 7px;
        font-size: 15px;
        font-weight: 400;
        display: flex;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 16px;
    }
    .link_channel{
        gap: 7px;
        font-size: 15px;
    }
    .event-info__description {
        display: none;
    }
    .link_channel-icon{
        width: 25px !important;
        height: 15px !important;
    }
    .info__left-locat {
        gap: 10px;
        font-size: 16px;
        font-weight: 400;
        display: flex;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .tab {
        width: 50%;
    }
    #developer-tab{
        width: 100% !important;
    }
   
    .info__left-time-info::after {
        font-family: "Montserrat", serif;
        content: "По местному времени"; 
        position: absolute;
        bottom: 120%;
        left: 100%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        padding: 6px 10px;
        border-radius: 5px;
        white-space: nowrap;
        font-size: 9px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
        letter-spacing: normal;
        word-spacing: normal;
    }
    .detail__info-left-h2{
        text-align: left;
    }

    
}
@media screen and (max-width:400px){
    .news_gallary{
        width: 300px;
        height: max-content;
    }
}

@media screen and (max-width:390px){
    .telegram-mobil {
        
        margin-top: 0;
    }
    .pagination a, .pagination span {
        display: inline-block;
        padding: 2px 5px;
        border-radius: 5px;
        margin: 0 2px;
        font-size: 14px;
        text-decoration: none;
        border: 1px solid #ccc;
        color: #333;
    }
    .info__left-time-info::after {
        font-family: "Montserrat", serif;
        content: "По местному времени"; 
        position: absolute;
        bottom: 0%;
        left: 100%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        padding: 6px 10px;
        border-radius: 5px;
        white-space: nowrap;
        font-size: 9px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
        letter-spacing: normal;
        word-spacing: normal;
    }

    .info__left-time-info {
        cursor: pointer;
        position: relative;
        font-size: 13px;
        font-size: 18px;
        text-align: center;
        font-family: 'Material Symbols Rounded', sans-serif;
        font-size: 15px;
    }
    .info__left-time {
        gap: 7px;
        font-size: 12px;
        font-weight: 400;
        display: flex;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 16px;
    }
    .link_channel {
        gap: 7px;
        font-size: 12px;
    }
    .menu__btn {
        margin-left: 15px;
        padding: 10px 36px;
        border: 2px solid #ee242d;
        border-radius: 10px;
        color: #fff;
        background-color: #ee242d;
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        max-width: 100%;
        position: relative;
        overflow: hidden;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }
    .menu__btn {
        padding: 5px 16px;
        border-radius: 7px;
    }
    .title-main-1 {
        font-size: 15px;
        font-weight: 300;
    }
    .title-main-2 {
        font-size: 15px;
        padding-bottom: 79px;
    }
    .event-card__image {
        width: 255px;
        height: 144px;
        margin-bottom: 48px;
    }
    .event-info__title {
        font-size: 14px;
    }
    .event-info__description p {
        font-size: 11px;
    }
    .event-date__info span {
        font-size: 11px;
        color: rgb(33, 37, 41);
        font-weight: 400;
    }
    .event-date__time {
        font-weight: bold;
        line-height: 1.2em;
        font-size: 11px;
        font-weight: 400;
        margin: 0;
        white-space: normal;
    }
    .mailing-content{
        padding-top: 10px;
    }
    .footer__bottom{
        gap: 10px;
    }
    ol > li {
        counter-increment: section;
        position: relative;
        padding-left: 1.1em;
    }
    ol ol > li {
        counter-increment: subsection;
        position: relative;
        padding-left: 1.5em;
    }
    .policy a{
        font-size: 13px;
            word-wrap: break-word; /* Для старых браузеров */
            overflow-wrap: break-word; /* Современный способ */
            white-space: normal; /* Позволяет тексту переноситься */
            display: inline-block; /* Иногда помогает */
          
    }
    .event-date {
        display: flex;
        align-items: center;
        width: 100px;
        height: 62px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-locat {
        display: flex;
        align-items: center;
        width: 100px;
        height: 60px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-card__image {
        width: 255px;
        height: 144px;
        margin-bottom: 0;
    }
    .event-locat__info span{
        font-size: 11px;
    }
    .event-date__icon {
        background-image: url(../img/event-date.webp);
        width: 50px;
        height: 50px;
        filter: invert(1) grayscale(1) brightness(0.8);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        flex-shrink: 0;
        margin-right: 10px;
        display: none;
    }
    .event-locat__icon {
        display: none;
        background-image: url(../img/event-locat.webp);
        width: 50px;
        height: 50px;
        filter: invert(1) grayscale(1) brightness(0.8);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        flex-shrink: 0;
        margin-right: 10px;
    }
    .event-meta {
        display: flex;
        flex-direction: row;
    }
    .carousel__item {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        position: absolute;
        width: 89%;
        max-width: 100%;
        height: 100%;
        box-sizing: border-box;
        transition: all 0.4s ease-in-out;
        user-select: none;
        -webkit-user-select: none;
        pointer-events: auto;
    }
    
    .telegram-mobil a {
        color: #fff;
        font-size: 13px;
        font-weight: 500;
    }
    .carousel__item[data-pos="1"]  {
        transform: translateX(11%);
        opacity: 0.7;
        z-index: 4;
        pointer-events: auto;
    }
    .subsc_block .b24-form-wrapper form>div:first-child {
        gap: 6px !important;
        display: flex;
        max-height: 40px;
        flex-direction: column;
    }
    .subsc_block .b24-form-wrapper form {
        display: flex;
        flex-direction: column !important;
        gap: 23px;
    }
    .mailing p {
        font-size: 12px !important;
        margin: 0 auto;
    }
    .subsc_block .b24-form-wrapper form {
        display: flex;
        flex-direction: column !important;
        gap: 26px;
    }
    .subsc_block .b24-form-btn-block {
        padding: 0;
    }
    .mailing {
        height: max-content;
    }
    .subsc_block .b24-form-wrapper form>div:first-child .b24-form-field-name {
        margin-right: 0;
    }
    .subscr_text{
        max-width: 310px;
        margin: 0;
    }
    .subsc_block .b24-form-field {
        max-width: 300px;
        width: auto;
    }
    .bx-filter-parameters-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bx-filter-parameters-box-hint{
        padding: 0;
    }
    .bx-filter .bx-filter-section {
        position: relative;
        padding-top: 8px;
    }
    .mini-events-section{
        gap: 0 !important;
    }
    .carousel__item[data-pos="0"] {
        z-index: 5;
        transform: translateX(0%) scale(1);
        opacity: 1;
    }
    
    .carousel__item[data-pos="1"] {

            transform: translateX(11%);
            opacity: 0.7;
            z-index: 4;
            pointer-events: auto;
        }
    
    .carousel__item[data-pos="2"] {
        z-index: 3;
        transform: translateX(calc(-50% + 100px)) scale(0.8);
        opacity: 0.5;
    }
   
    .carousel__item[data-pos="1"] {
        transform: translateX(11%)!important;
    }
    carousel__item[data-pos="2"] {
        z-index: 3;
        transform: translateX(calc(-50% + 100px)) scale(0.8);
        opacity: 0.5;
}
.logo-dev {
    width: 79px;
    height: 90px;
    object-fit: contain;
}
.header__item a {
    font-size: 11px;
}
.header__menu-right {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-end;
}
.icon__phone {
    height: 12px;
    width: 12px;
}
.header__item {
    margin: 0 auto;
    display: flex;
    gap: 1px;
    padding-bottom: 3px;
}
.menu__btn {
    padding: 3px 9px;
    border-radius: 7px;
}
.header__menu-right {
    flex-direction: column;
    gap: 4px;
}
.menu__btn{
    font-size: 12px;
}
.header{
    padding: 0;
}
.header__list{
    margin: 0;
}
.footer__Csoft-info p{
    display: none;
}
}

    
    

@media screen and (max-width:360px){
    
    .policy li {
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        display: inline-block;
    }
    .policy a {
        word-break: break-all; /* Принудительный разрыв */
        overflow-wrap: anywhere; /* Позволяет разрывать длинные слова */
        hyphens: auto; /* Включает расстановку переносов */
        white-space: normal; /* Разрешает перенос строк */
      }
    ol ol {
        counter-reset: subsection;
        padding-left: 0em;
    }
    .subscr_text{
        width: 260px !important;
    }
    .title-main-1 {
        font-size: 12px;
        font-weight: 300;
    }
    .title-main-2 {
        font-size: 12px;
        padding-bottom: 79px;
    }
    .event-card__image {
        width: 223px;
        height: 120px;
        margin-bottom: 0;
    }
    .telegram-mobil a {
        color: #fff;
        font-size: 11px;
        font-weight: 500;
    }
}
@media screen and (max-width:320px){
    .telegram-mobil {
        
        margin-top: 0;
    }
    .subscr_text{
        width: 260px !important;
    }
    .event-card__image {
        width: 184px;
        height: 102px;
        margin-bottom: 0;
    }
    .title-main-1 {
        font-size: 11px;
        font-weight: 300;
    }
    .title-main-2 {
        font-size: 11px;
        padding-bottom: 79px;
    }
    .event-card__title {
        font-size: 13px;
    }
    .event-info__title {
        font-size: 13px;
    }
    .event-info__description p {
        font-size: 9px;
    }
    .event-date__info span {
        font-size: 9px;
        color: rgb(33, 37, 41);
        font-weight: 400;
    }
    .event-date__time {
        font-weight: bold;
        line-height: 1.2em;
        font-size: 9px;
        font-weight: 400;
        margin: 0;
        white-space: normal;
    }
    .event-date__time {
        font-weight: bold;
        line-height: 1.2em;
        font-size: 9px;
        font-weight: 400;
        margin: 0;
        white-space: normal;
    }
    .event-date {
        display: flex;
        align-items: center;
        width: 88px;
        height: 49px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 3px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-locat__info span{
        font-size: 9px;
    }
    .event-locat {
        display: flex;
        align-items: center;
        width: 88px;
        height: 49px;
        background-color: rgb(237, 237, 237);
        border: 1px solid rgb(215, 215, 215);
        border-radius: 10px;
        padding: 3px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }
    .event-register-btn {
        padding: 8px 25px;
        background-color: #ee242d;
        color: #fff;
        font-size: 13px;
        font-weight: 400;
        border-radius: 10px;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        position: relative;
        overflow: hidden;
        display: inline-block;
        cursor: pointer;
        border: none;
    }
    
    .title-main-2 {
        font-size: 11px;
        padding-bottom: 59px;
    }
    .telegram-mobil a {
        color: #fff;
        font-size: 10px;
        font-weight: 500;
    }
    .bx-filter-parameters-box-hint{
        font-size: 17px;
    }
    .event-rigth-countandtel-mobil {
        flex-direction: column !important;
        margin-top: 80px !important;
    }
    
}
.event-rigth-countandtel{
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.event-count {
    padding: 10px;
    
    font-size: 23px;
    background-color: #ee242d;
    border-radius: 15px;
    color: #fff;
    max-width: 280px;
    margin: 0;
    
}
.event-count {
    display: flex;
    font-weight: bold;
    font-size: 18px;
    height: 90px;
    align-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.event-count p{
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}
.event-count-colvo{
    padding-top: 5px;
    font-size: 21px;
}
.event-count-mobil {
    padding: 10px;
    
    font-size: 23px;
    background-color: #ee242d;
    border-radius: 15px;
    color: #fff;
    max-width: 280px;
    margin: 0;
    
}
.event-count-mobil {
    display: flex;
    font-weight: bold;
    font-size: 18px;
    height: 90px;
    align-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*1200px  # Large Devices, Wide Screens
1024px  # Medium Devices, Desktops
992px   # Medium Devices, Desktops
768px   # Small Devices, Tablets
640px   # Small Devices, Tablets
480px   # Extra Small Devices, Phones
320px   # Custom, iPhone Retina