

/* Start:/bitrix/templates/matilda_s1/components/bitrix/system.pagenavigation/.default/style.css?17528342742556*/
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default {
  display: block;
  margin: 10px 0;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-items {
  display: block;
  position: relative;
  text-align: center;
  overflow: hidden;
  font-size: 0;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-items-wrapper {
  display: inline-block;
  vertical-align: top;
  margin: -4px;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item {
  display: inline-block;
  vertical-align: middle;
  padding: 4px;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item.system-pagenavigation-item-active .system-pagenavigation-item-wrapper {
  background-color: #0065ff;
  border-color: #0065ff;
  color: #fff;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item.system-pagenavigation-item-disabled .system-pagenavigation-item-wrapper {
  display: none;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item.system-pagenavigation-item-all .system-pagenavigation-item-wrapper {
  width: auto;
  text-align: left;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item-wrapper {
  display: block;
  background-color: transparent;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 1.42857143;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  color: #2d2d2d;
  -webkit-transition-duration: 350ms;
  -moz-transition-duration: 350ms;
  -ms-transition-duration: 350ms;
  -o-transition-duration: 350ms;
  transition-duration: 350ms;
  -webkit-transition-property: color, background-color, border-color;
  -moz-transition-property: color, background-color, border-color;
  -ms-transition-property: color, background-color, border-color;
  -o-transition-property: color, background-color, border-color;
  transition-property: color, background-color, border-color;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item-wrapper:hover {
  background-color: #f7f7f7;
  border-color: #f7f7f7;
}

/*# sourceMappingURL=style.css.map */

/* End */


/* Start:/bitrix/templates/matilda_s1/components/bitrix/news.list/webinars/style.css?176286484110848*/
.webinar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.webinar-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    width: calc(33.333% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.webinar-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.webinar-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.webinar-info {
    padding: 18px 20px;
}

.webinar-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.webinar-date-time {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.webinar-date-time.future {
    color: #2ecc71; /* зелёный для будущих */
}

.webinar-date-time.past {
    color: #223796; /* синий для прошедших */
}

.webinar-date-time .date-part::before {
    margin-right: 6px;
    font-size: 18px;
}

.webinar-date-time .time-part::before {
    margin-right: 6px;
    font-size: 18px;
}

.webinar-date-time .date-part {
    font-weight: 700;
}

.webinar-date-time .time-part {
    font-weight: 600;
    opacity: 0.9;
}

.webinar-preview {
    font-size: 15px;
    color: #555;
    line-height: 1.4;
    margin-top: 5px;
}

#webinarModal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

#webinarModalContent {
    background: #fff;
    padding: 0 30px;
    max-width: 1600px;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    border-radius: 8px;
}

#webinarModalClose {
    margin-top: 15px;
    padding: 10px 20px;
    background: #223796;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#webinarModalClose:hover {
    background: #2b46c0;
}

@media (max-width: 1024px) {
    .webinar-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .webinar-item {
        width: 100%;
    }
}


/* Заголовок баннера — ограничение по ширине и перенос */
.banner-title {
    max-width: 1000px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Блок даты и времени */
.webinar-date-time-block {
    display: flex;        /* чтобы контент центрировался */
    align-items: center;  /* вертикальное центрирование текста */
    justify-content: center;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 48px;     /* одинаковая высота с кнопкой */
    max-width: 160px;
}

/* Цвет для будущей даты */
.webinar-date-time-block.future {
    color: #2ecc71; /* зелёный */
}

/* Цвет для прошедшей даты */
.webinar-date-time-block.past {
    color: #223796; /* синий */
}

/* Общие стили кнопок */
.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 transparent;
}

/* Кнопка "Зарегистрироваться" — синий и голубое свечение */
.register-button {
    background-color: #fff;
    color: #223796;
    box-shadow: 0 0 25px rgba(255,255,255,0.6);
}

.register-button:hover {
    color: #223796 !important;
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.register-button,
.watch-button {
    line-height: 1.2;
}
/* Кнопка "Смотреть вебинар" — красная и красное свечение */
.watch-button {
    background-color: #e74c3c;
    color: #fff;
    box-shadow: 0 0 15px rgba(255,255,255,0.7);
}

.watch-button:hover {
    color: #fff !important;
    box-shadow: 0 0 25px rgba(231,76,60,1);
}

.watch-button.disabled {
    background-color: #999 !important;
    color: #eee !important;
    cursor: not-allowed;
    box-shadow: none !important;
    opacity: 0.8;
}

.watch-button.disabled:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Стили баннера */
.webinar-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
}

.webinar-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    color: #fff;
}

.webinar-banner-left {
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.webinar-banner-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Блок под датой и кнопками */
.webinar-banner-bottom {
    display: flex;
    align-items: center;
    gap: 15px;          
}

/* Кнопки справа */
.webinar-buttons {
    display: flex;
    gap: 15px;
}
@media (max-width: 1024px) {
    .webinar-banner {
        height: 300px;
    }
    .banner-title {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .webinar-banner {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    .webinar-banner-overlay {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .webinar-banner-right {
        margin-top: 15px;
    }
}


/* Открытие/закрытие модалки*/
.webinar-modal-close {
    float: right;           /* Прижимаем к правому краю */
    font-size: 36px;         /* Крупный крестик */
    line-height: 1;
    color: #000;             /* Темный крестик */
    background: transparent; /* Без фона */
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease; /* Плавное увеличение */
    padding: 18px 10px;
}

.webinar-modal-close:hover {
    transform: scale(1.2);   /* Легкое увеличение при наведении */
}


/* Основной контент*/
.webinar-detail-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.webinar-speaker {
    flex: 1;
    max-width: 20%;
    text-align: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.speaker-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.speaker-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #222;
}

.speaker-position {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.speaker-description {
    font-size: 15px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 20px;
}

.speaker-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.speaker-email {
    font-size: 14px;
    color: #223796;
    text-decoration: none;
}

.speaker-email:hover {
    text-decoration: underline;
}

.speaker-vk svg {
    transition: transform 0.3s ease;
}

.speaker-vk:hover svg {
    transform: scale(1.15);
}

/* Правая часть */
.webinar-content {
    flex: 4;
}

.webinar-content h3 {
    font-size: 22px;
    color: #223796;
    margin-top: 25px;
    margin-bottom: 10px;
}

.webinar-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    padding-bottom: 35px;
}

.webinar-intro {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-bottom: 20px;
}

/* Адаптив */
@media (max-width: 900px) {
    .webinar-detail-wrapper {
        flex-direction: column;
    }
    .webinar-speaker {
        max-width: 100%;
    }
}
/* =================== Адаптив баннера =================== */

/* Планшеты */
@media (max-width: 1024px) {
    .webinar-banner {
        height: auto; /* теперь высота зависит от содержимого */
        min-height: 250px; /* минимальная высота */
        padding: 20px;
    }
    .banner-title {
        font-size: 26px;
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .webinar-banner {
        height: auto;           /* высота по содержимому */
        min-height: 200px;      /* минимальная высота */
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
    }
    .webinar-banner-overlay {
        position: relative;     /* убираем absolute, чтобы баннер рос */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        background: rgba(0,0,0,0.5); /* затемнение */
        width: 100%;
        text-align: center;
    }
    .webinar-banner-left {
        max-width: 100%;
        width: 100%;
    }
    .banner-title {
        font-size: 22px;
        margin-bottom: 15px;
        word-break: break-word;
    }
    .webinar-banner-bottom {
        flex-direction: column; /* дата и кнопки друг под другом */
        align-items: center;
        gap: 10px;
    }
    .webinar-date-time-block {
        min-width: auto;
        font-size: 16px;
        padding: 8px 12px;
    }
    .custom-button {
        width: 100%;            /* кнопка на всю ширину */
        font-size: 16px;
        padding: 10px 0;
        box-sizing: border-box;
    }
    .webinar-banner-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
}

/* Малые телефоны */
@media (max-width: 480px) {
    .banner-title {
        font-size: 18px;
    }
    .custom-button {
        font-size: 14px;
        padding: 8px 0;
    }
    .webinar-date-time-block {
        font-size: 14px;
        padding: 6px 10px;
    }
}



.intec-ui-markup-h1, .intec-ui-markup-h2, .intec-ui-markup-h3, .intec-ui-markup-h4, .intec-ui-markup-h5, .intec-ui-markup-h6, [data-ui-markup=h1], [data-ui-markup=h2], [data-ui-markup=h3], [data-ui-markup=h4], [data-ui-markup=h5], [data-ui-markup=h6], h1, h2, h3, h4, h5, h6 {
   margin: 0px 0 25px 0 !important;
}
.webinar-list {
padding-bottom: 25px;
}
/* End */
/* /bitrix/templates/matilda_s1/components/bitrix/system.pagenavigation/.default/style.css?17528342742556 */
/* /bitrix/templates/matilda_s1/components/bitrix/news.list/webinars/style.css?176286484110848 */
