

/* Start:/local/assets/news-actual.min.css?17491220885335*/
[data-scope="news-actual"] {
  max-width: 1200px;
  margin: 0 auto 48px auto;
  padding: 16px 10px;
  background: #f8f8ff;
  border-radius: 18px;
}
[data-scope="news-actual"] .news-actual-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #003366;
}
[data-scope="news-actual"] .news-actual-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
[data-scope="news-actual"] .news-actual-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
  min-width: 0;
  position: relative;
}
[data-scope="news-actual"] .news-actual-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}
[data-scope="news-actual"] .news-actual-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
[data-scope="news-actual"] .news-actual-item--noimg {
  min-height: 120px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  padding: 18px 18px 18px 18px;
  /* фикс для мобильных, чтобы не было пустого места */
}
[data-scope="news-actual"] .news-actual-item--noimg .news-actual-date {
  margin: 0 0 4px 0;
}
[data-scope="news-actual"] .news-actual-item--noimg .news-actual-title {
  margin: 0 0 8px 0;
}
[data-scope="news-actual"] .news-actual-item--noimg .news-actual-preview {
  margin-top: 6px;
}
[data-scope="news-actual"] .news-actual-date {
  font-size: 15px;
  color: #8d8d8d;
  margin: 16px 0 0 16px;
}
[data-scope="news-actual"] .news-actual-title a {
  color: #003366;
  font-size: 20px;
  font-weight: 600;
  margin: 12px 16px 8px 16px;
  display: block;
  text-decoration: none;
  transition: color .2s;
}
[data-scope="news-actual"] .news-actual-title a:hover {
  color: #0056a6;
}
[data-scope="news-actual"] .news-actual-preview {
  margin: 0 16px 20px 16px;
  color: #212121;
  font-size: 16px;
  flex: 1;
}
.news-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 32px 0 0 0;
  flex-wrap: wrap;
}
.news-pagination__page,
.news-pagination__prev,
.news-pagination__next {
  padding: 6px 14px;
  background: #f2f6fc;
  border-radius: 8px;
  color: #0056a6;
  text-decoration: none;
  transition: background .2s, color .2s;
  font-size: 17px;
}
.news-pagination__page:hover,
.news-pagination__prev:hover,
.news-pagination__next:hover {
  background: #f7941d;
  color: #fff;
}
.news-pagination__current {
  padding: 6px 14px;
  background: #003366;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
}
/* ===================================================================
   INLINE IMAGES, вставленные в WYSIWYG-редакторе
   ==================================================================*/
.news-detail__text img{
  display:block;              /* убираем «плавающие» пробелы/строки   */
  max-width:100%;             /* никогда не вылезет за колонку        */
  height:auto;                /* сохраняем пропорции                  */
  margin:24px 0;              /* одинаковый вертик. промежуток        */
  border-radius:8px;          /* тот же радиус, что в галерее          */
  object-fit:cover;           /* на случай width/height из редактора   */
  box-shadow:0 2px 8px rgba(0,0,0,.06); /* лёгкая тень для «карточки» */
}

/* если внутри <a><img></a> — убираем подчеркивание и сдвиг цвета */
.news-detail__text a > img{
  border:0;
}
.news-detail__text a:hover > img{
  transform:translateY(-2px);
  transition:.3s ease;
}

/* маленькие эмблемы / партнёрские лого (< 200px) оставляем «как есть» */
.news-detail__text img[width][height]{
  max-width:none;             /* отменяем 100 % */
  border-radius:0;
  box-shadow:none;
  margin:8px 0;
}
.news-badge{
  position:absolute;
  top:12px; left:12px;
  padding:2px 8px;
  font-size:.7rem;
  font-weight:600;
  line-height:1.2;
  color:#fff;
  background:var(--badge-clr,#003366);
  border-radius:8px;
  z-index:6;
  pointer-events:none;
  box-shadow:0 2px 4px rgba(0,0,0,.15);
}
.news-actual-item--noimg .news-badge{
  position:relative;          /* если картинки нет — переносим в поток */
  top:auto; left:auto; margin:0 0 6px 0;
}


@media (max-width: 700px) {
  [data-scope="news-actual"] {
    padding: 8px 1px;
    border-radius: 10px;
  }
  [data-scope="news-actual"] .news-actual-list {
    gap: 10px;
    grid-template-columns: 1fr;
  }
  [data-scope="news-actual"] .news-actual-img img {
    height: 140px;
  }
  [data-scope="news-actual"] .news-actual-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
}

@media(max-width:480px){
  .news-detail__text img{
    margin:16px 0;
  }
}

/* End */
/* /local/assets/news-actual.min.css?17491220885335 */
