

/* Start:/bitrix/templates/prom_s1/components/bitrix/system.pagenavigation/.default/style.css?17754722992487*/
.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/prom_s1/components/bitrix/news.list/timeline/style.css?17754722982844*/
.history-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.current-event {
    min-height: 300px; /* уменьшил для мобильных */
    margin-bottom: 40px;
    text-align: center;
    transition: opacity 0.5s ease;
}

.current-event img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-line-wrapper {
    position: relative;
    margin: 0 20px;
}

.timeline-line {
    background: #000;
    position: absolute;
    z-index: 1;
}

/* Десктоп — горизонтально */
@media (min-width: 769px) {
    .timeline-line {
        height: 4px;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .timeline-years {
        display: flex;
        justify-content: space-between;
        position: relative;
        z-index: 2;
    }

    .timeline-year {
        width: 60px;
        height: 60px;
        background: #fff;
        border: 3px solid #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .timeline-year.active,
    .timeline-year:hover {
        background: #C50000;
        color: white;
        border-color: #000;
        transform: scale(1.2);
        box-shadow: 0 0 15px #f800006b;
    }
}

/* Мобильные — вертикально */
@media (max-width: 768px) {
    .timeline-line-wrapper {
        margin: 0 40%;
    }

    .timeline-line {
        width: 4px;
        top: 0;
        bottom: 0;
        left: 30px; /* линия слева, чтобы было место для клика */
    }

    .timeline-years {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px; /* расстояние между годами */
        position: relative;
        z-index: 2;
    }

    .timeline-year {
        width: 50px;
        height: 50px;
        background: #fff;
        border: 3px solid #ccc;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 5px; /* чуть сдвигаем от линии */
    }

    .timeline-year.active,
    .timeline-year:hover {
        background: #C50000;
        color: white;
        border-color: #C50000;
        transform: scale(1.15);
        box-shadow: 0 0 12px #f800006b;
    }

    /* Центрируем текущий контент на мобильных */
    .current-event {
        margin-bottom: 50px;
    }
}
/* End */
/* /bitrix/templates/prom_s1/components/bitrix/system.pagenavigation/.default/style.css?17754722992487 */
/* /bitrix/templates/prom_s1/components/bitrix/news.list/timeline/style.css?17754722982844 */
