

/* Start:/bitrix/templates/dn2020/components/bitrix/system.pagenavigation/news-list/style.css?1742913324436*/
.load-more-items{
    text-align: center;
    margin: 0 auto 25px;
    padding: 20px 10px;
    background: #fff;
    color: #000;
    cursor: pointer;
    border: 1px solid #f79322;
    transition: 0.2s linear;
}
.load-more-items:hover{
    background: #f9f9f9;
    color: #f79322;
}
.loading-indicator {
    text-align: center;
    margin: 20px auto;
}
.loading-indicator img {
    width: 50px;
    height: 50px;
}
/* End */


/* Start:/bitrix/templates/dn2020/components/bitrix/news.list/barin_2025/style.css?17836812163993*/
@font-face {
    font-family: 'Montserrat Medium';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}


/* Основные стили */
.episode-announcement {
    font-family: 'Montserrat Medium', sans-serif;
    border: 3px solid #f79322;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.episode-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    max-height: 300px;
}

/* Заголовок */
.episode-info h3 {
    color: #000 !important;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Описание с чертой */
.episode-description {
    padding-bottom: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.episode-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}

.episode-content {
    align-items: stretch;
}

/* Футер */
.episode-footer {
    text-align: left !important;
    font-size: 1.1em;
    padding: 10px 0;
    border-top: none !important;
    margin-top: 10px;
    font-weight: 600;
}

/* Адаптив */
@media (max-width: 991.98px) {
    .episode-image {
        margin-bottom: 20px;
    }
    .episode-info h3 {
        font-size: 1.3em;
    }
}

/* Видео-контейнер (переопределён для одинаковой высоты) */
.video-container {
    width: 100%;
    height: 100%;          /* занимает всю высоту родителя */
    position: relative;
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.masonry.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Исправляем ширину колонок */
.masonry.row .col-12 {
    width: 100%;
    max-width: 100%;
    flex: none;          /* отключаем flex-свойства Bootstrap */
    padding: 0;
}

@media (max-width: 767.98px) {
    .masonry.row {
        grid-template-columns: 1fr;
    }
}
/* Стили для карточек (новые) */
.masonry .news-item {
    flex: 1;                       /* равная доля с .content */
    min-height: 250px;                /* предотвращает переполнение */
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #e9ecef;
}

.masonry .news-item img,
.masonry .news-item .video-container {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.masonry .news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* картинка заполняет контейнер без искажений */
}

.masonry .new-item .news-item {
    border: 2px solid #f79322;
}

.masonry .new-item .content {
    background-color: #f79322;
    font-weight: bold;
}

.masonry .new-item .content a:hover {
  color: #ffffff;
}

/* ===== УПОМИНАЕМЫЕ ОРГАНИЗАЦИИ (кнопки) ===== */
.mentioned-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.org-item {
    background: #e9ecef;
    border-radius: 20px;              /* сильное скругление как у кнопок */
    padding: 6px 16px;
    border: 1px solid #d1d5db;
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: default;
}

.org-item a {
    color: #333;
    text-decoration: none !important;  /* убираем подчёркивание */
    font-size: 0.9em;
    font-weight: 500;
    display: block;                   /* вся область ссылки кликабельна */
}

.org-item:hover {
    background: #d1d5db;
    border-color: #b0b5bc;
}

.org-item a:hover {
    color: #000;
    text-decoration: none !important;  /* и при наведении тоже без подчёркивания */
}
/* End */
/* /bitrix/templates/dn2020/components/bitrix/system.pagenavigation/news-list/style.css?1742913324436 */
/* /bitrix/templates/dn2020/components/bitrix/news.list/barin_2025/style.css?17836812163993 */
