/* =========================
   NEWS (архив CPT news)
   ========================= */
.archive--news .heading-accent{ margin-bottom:var(--gap-xxl) }

/* HERO */
.archive--news .news-hero{ margin:12px 0 48px }
.archive--news .news-hero__media{ 
  position:relative; 
  display:block; 
  overflow:hidden; 
  border-radius:20px;
}
.archive--news .news-hero__img{ 
  display:block; 
  width:100%; 
  height:auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.archive--news .news-hero__placeholder{ 
  background:#f1f3f5; 
  aspect-ratio:16/7; 
  width:100%;
}
.archive--news .news-hero__title{
  margin: 20px 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}
.archive--news .news-hero__title a{
  color: var(--text-900);
  text-decoration: none;
}
.archive--news .news-hero__title a:hover{
  color: var(--accent);
}
.archive--news .news-hero__lead{
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-700, #3b536e);
}

/* Полоса в край (только на архиве) */
.archive--news .news-hero__strip{
  position:absolute; left:-2px; right:-2px; bottom:-2px;
  height:56px; display:flex; align-items:center; gap:12px; padding:0 16px;
  background:rgba(255,255,255,.88); pointer-events:none;
}
.archive--news .news-hero__strip-spacer{ flex:1 }
.archive--news .news-hero__strip-btn{
  pointer-events:auto; display:inline-flex; align-items:center; gap:8px;
  padding:12px 18px; border-radius:999px; white-space:nowrap;
}
.archive--news .news-hero__strip-btn .i-arr{
  width:10px; height:10px; border-right:2px solid currentColor; border-top:2px solid currentColor;
  transform:rotate(45deg); display:inline-block;
}

/* GRID 3×N */
.archive--news .cards-grid--news{ 
  display:grid; 
  grid-template-columns:repeat(3,1fr); 
  gap:28px 24px; 
  margin-top:8px;
  align-items: stretch;
}
@media (max-width:1024px){ .archive--news .cards-grid--news{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:640px){  .archive--news .cards-grid--news{ grid-template-columns:1fr; gap:22px } }

.archive--news .card--news{ 
  display:flex; 
  flex-direction:column; 
  background:transparent; 
  box-shadow:none;
  height: 100%;
}
.archive--news .card__media{ 
  display:block; 
  overflow:hidden; 
  border-radius:var(--radius-lg);
  position: relative;
  width: 100%;
}
.archive--news .card__img{ 
  display:block; 
  width:100%; 
  height:auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.archive--news .card__placeholder{ 
  background:#f1f3f5; 
  aspect-ratio:16/10; 
  width:100%; 
  border-radius:var(--radius-lg);
}
.archive--news .card__content{ 
  padding-top:10px; 
  display:flex; 
  flex-direction:column; 
  gap:8px;
  flex: 1;
}
.archive--news .card__title{ 
  margin:0; 
  font-size:24px; 
  font-weight:700; 
  line-height:1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(24px * 1.25 * 3);
}
.archive--news .card__title a{ 
  color:var(--text-900); 
  text-decoration:none;
}
.archive--news .btn.btn--link.card__more{
  align-self:flex-start; 
  background:none!important; 
  border:none!important; 
  box-shadow:none!important;
  padding:0!important; 
  min-height:0!important; 
  color:var(--text-900); 
  text-decoration:underline; 
  text-underline-offset:3px;
  margin-top: auto;
}
.archive--news .btn.btn--link.card__more:hover{ opacity:.9 }

/* Адаптация карточек для планшетов */
@media (max-width:1024px){
  .archive--news .card__title{ 
    font-size:22px;
    min-height: calc(22px * 1.25 * 3);
  }
}

/* Адаптация карточек для мобильных */
@media (max-width:640px){
  .archive--news .card__title{ 
    font-size:20px;
    line-height: 1.3;
    -webkit-line-clamp: 4;
    min-height: calc(20px * 1.3 * 3);
  }
  
  .archive--news .news-hero__title{
    font-size: 26px;
  }
  
  .archive--news .news-hero__lead{
    font-size: 14px;
  }
}

/* Пагинация */
.archive--news .pager{ margin: var(--gap-xxl) 0; min-height:72px; position:relative }
.archive--news .pager .hero__dots{ position:absolute; left:0; bottom:0; display:flex; gap:40px }
.archive--news .pager .hero__dots a{
  display:inline-block; width:8px; height:8px; border-radius:50%;
  background: var(--accent); opacity:.9; transition:transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.archive--news .pager .hero__dots a:hover{ transform:scale(1.1); opacity:1 }
.archive--news .pager .hero__dots a[aria-current="page"],
.archive--news .pager .hero__dots a[aria-selected="true"]{
  background:transparent; border:6px solid var(--accent); width:10px; height:10px;
}
.archive--news .pager .hero__arrows{ position:absolute; right:0; bottom:-4px }
.archive--news .pager .navmol[aria-disabled="true"],
.archive--news .pager .navchip[aria-disabled="true"]{ opacity:.35; pointer-events:none; filter:grayscale(30%) }

/* =======================================================
   SINGLE NEWS
   ======================================================= */

:root{ --news-gutter: clamp(16px, 3vw, 40px) }

.event--news .event-title{ margin-bottom: var(--gap-xxl) }

/* контейнер статьи + clearfix */
.news-content{ position:relative }
.news-content::after{ content:""; display:block; clear:both }

/* Врезка слева — ровно половина минус половина промежутка */
.news-content .news-fig{
  justify-items: center;
  float:left;
  clear:left;
  width: calc(50% - var(--news-gutter)/2);
  margin: 0 var(--news-gutter) 14px 0;
  display:block;
}
.news-content .news-fig img,
.news-content .news-fig svg{
  display:block; width:100%; height:auto; border-radius:12px;
}

/* размер именно SVG-молекулы (не больше указанного) */
.news-content .news-fig--mol .news-fig__mol{
  max-width: 322px; /* как на твоём скрине — верхняя граница */
  width: 100%;
  height: auto;
}

/* плотность текста */
.news-content p{
  margin: 0 0 24px;
  line-height: 1.65;
}
.news-content p:last-child{ margin-bottom:0 }

/* мобильный — без обтекания */
@media (max-width:768px){
  .news-content .news-fig{
    float:none; clear:both; width:100%; margin:0 0 14px;
  }
}

/* Нижний бар: кнопки не «прыгают» */
.event--news .event-info{
  position:relative;
  margin: var(--gap-xxl) 0 0;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.event--news .event-actions{
  position:relative;
  display:flex; align-items:center; gap:12px;
}
.event--news .event-actions .btn{ position:relative } /* на случай абсолютных иконок */
@media (max-width:720px){
  .event--news .event-info{ flex-direction:column; align-items:flex-start; gap:10px }
  .event--news .event-actions{ flex-wrap:wrap }
}

/* подстраховка: если кнопки вдруг окажутся в тексте */
.news-content .btn-fav,
.news-content .btn.btn--outline.btn--lg{ display:none !important; }

/* ===============================
   NEWS SECTIONS (конструктор - ПОЛНОСТЬЮ как в exclusive)
   =============================== */

/* Секции */
.single-news .news-sections,
.event--news .news-sections {
  margin-top: var(--gap-xxl);
}

.single-news .single-ex__section,
.event--news .single-ex__section {
  margin-bottom: 48px;
}

/* Текстовый блок */
.single-news .single-ex__section--text .single-ex__text-content,
.event--news .single-ex__section--text .single-ex__text-content {
  font-size: 16px;
  line-height: 1.65;
  max-width: 100%; /* Растягивается на всю ширину */
}

.single-news .single-ex__text-content p,
.event--news .single-ex__text-content p {
  margin: 0 0 16px;
}

/* Изображение с подписью */
.single-news .single-ex__figure,
.event--news .single-ex__figure {
  margin: 24px auto;
  border-radius: 14px;
  overflow: hidden;
}

.single-news .single-ex__img,
.event--news .single-ex__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.single-news .single-ex__caption,
.event--news .single-ex__caption {
  margin-top: 12px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--text-600);
  font-style: italic;
  text-align: center;
}

/* Классы размеров изображений */
.single-news .img-size--small .single-ex__figure,
.event--news .img-size--small .single-ex__figure {
  max-width: 300px;
}

.single-news .img-size--medium .single-ex__figure,
.event--news .img-size--medium .single-ex__figure {
  max-width: 455px;
}

.single-news .img-size--large .single-ex__figure,
.event--news .img-size--large .single-ex__figure {
  max-width: 800px;
}

.single-news .img-size--full .single-ex__figure,
.event--news .img-size--full .single-ex__figure {
  max-width: 100%;
  width: 100%;
}

/* Изображение + текст (сетка) */
.single-news .single-ex__image-text-grid,
.event--news .single-ex__image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .single-news .single-ex__image-text-grid,
  .event--news .single-ex__image-text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Видео контейнер */
.single-news .single-ex__video-container,
.event--news .single-ex__video-container {
  position: relative;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.single-news .single-ex__video-container iframe,
.single-news .single-ex__video-container video,
.event--news .single-ex__video-container iframe,
.event--news .single-ex__video-container video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* Обёртка видео */
.single-news .single-ex__video-wrap,
.event--news .single-ex__video-wrap {
  margin: 24px auto;
  margin-bottom: 48px;
}

/* Классы размеров видео */
.single-news .video-size--small .single-ex__video-wrap,
.single-news .video-size--small .single-ex__video-container,
.event--news .video-size--small .single-ex__video-wrap,
.event--news .video-size--small .single-ex__video-container {
  max-width: 640px;
}

.single-news .video-size--medium .single-ex__video-wrap,
.single-news .video-size--medium .single-ex__video-container,
.event--news .video-size--medium .single-ex__video-wrap,
.event--news .video-size--medium .single-ex__video-container {
  max-width: 800px;
}

.single-news .video-size--large .single-ex__video-wrap,
.single-news .video-size--large .single-ex__video-container,
.event--news .video-size--large .single-ex__video-wrap,
.event--news .video-size--large .single-ex__video-container {
  max-width: 1000px;
}

.single-news .video-size--full .single-ex__video-wrap,
.single-news .video-size--full .single-ex__video-container,
.event--news .video-size--full .single-ex__video-wrap,
.event--news .video-size--full .single-ex__video-container {
  max-width: 100%;
  width: 100%;
}

/* Галерея-слайдер */
.single-news .single-ex__gallery,
.event--news .single-ex__gallery {
  --gap: 20px;
  --cards-desktop: 3;
  --cards-tablet: 2;
  --cards-mobile: 1;
  
  position: relative;
  margin: 32px 0;
}

.single-news .gallery__viewport[data-slider],
.event--news .gallery__viewport[data-slider] {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: var(--gap-lg, 24px);
}

.single-news .gallery__track[data-slider-track],
.event--news .gallery__track[data-slider-track] {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
  will-change: transform;
  transition: transform 0.35s ease;
}

.single-news .gallery__track [data-slider-slide],
.event--news .gallery__track [data-slider-slide] {
  flex: 0 0 calc((100% - (var(--cards-desktop) - 1) * var(--gap)) / var(--cards-desktop));
  width:  calc((100% - (var(--cards-desktop) - 1) * var(--gap)) / var(--cards-desktop));
  display: flex;
}

.single-news .gallery-card,
.event--news .gallery-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.single-news .gallery-card__inner,
.event--news .gallery-card__inner {
  width: 100%;
  height: 316px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.single-news .gallery-card__inner:hover,
.event--news .gallery-card__inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.single-news .gallery-card__img,
.event--news .gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Навигация галереи */
.single-news .single-ex__gallery .gallery-nav,
.event--news .single-ex__gallery .gallery-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  gap: 16px;
}

.single-news .single-ex__gallery .hero__dots,
.event--news .single-ex__gallery .hero__dots {
  position: static;
  display: flex;
  gap: 40px;
}

.single-news .single-ex__gallery .hero__dots button,
.event--news .single-ex__gallery .hero__dots button {
  all: unset;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #446A81);
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s;
}

.single-news .single-ex__gallery .hero__dots button:hover,
.event--news .single-ex__gallery .hero__dots button:hover {
  transform: scale(1.1);
  opacity: 1;
}

.single-news .single-ex__gallery .hero__dots button[aria-selected="true"],
.event--news .single-ex__gallery .hero__dots button[aria-selected="true"] {
  background: transparent;
  border: 6px solid var(--accent, #446A81);
  width: 10px;
  height: 10px;
}

.single-news .single-ex__gallery .hero__arrows,
.event--news .single-ex__gallery .hero__arrows {
  position: static;
  display: flex;
  align-items: center;
  gap: 0 !important;
}

/* Видео + боковая панель */
.single-news .single-ex__video-sidebar-grid,
.event--news .single-ex__video-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center; /* Вертикальная центровка видео/фото и сайдбара */
  margin: 32px 0;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 18px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.single-news .single-ex__video-sidebar-grid[style*="background-image"]::before,
.event--news .single-ex__video-sidebar-grid[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
  border-radius: inherit;
}

.single-news .single-ex__video-sidebar-grid > *,
.event--news .single-ex__video-sidebar-grid > * {
  position: relative;
  z-index: 1;
}

.single-news .video-sidebar__main,
.event--news .video-sidebar__main {
  position: relative;
}

.single-news .video-sidebar__aside,
.event--news .video-sidebar__aside {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 24px;
}

.single-news .sidebar-content,
.event--news .sidebar-content {
  font-size: var(--font-size-desktop, clamp(16px, 2vw, 24px)); /* Адаптивный размер шрифта или из админки */
  line-height: 1.5;
  font-weight: 400;
}

.single-news .sidebar-content p,
.event--news .sidebar-content p {
  margin: 0 0 20px;
}

.single-news .sidebar-content img,
.event--news .sidebar-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

@media (max-width: 1024px) {
  .single-news .single-ex__video-sidebar-grid,
  .event--news .single-ex__video-sidebar-grid {
    grid-template-columns: 1fr;
  }
  
  .single-news .sidebar-content,
  .event--news .sidebar-content {
    font-size: var(--font-size-mobile, clamp(14px, 2.5vw, 20px));
  }
}

/* Информационный блок с иконкой */
.single-news .single-ex__info-block,
.event--news .single-ex__info-block {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  background: #f7f7f7;
  border-radius: 18px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.single-news .info-block__icon,
.event--news .info-block__icon {
  margin: 0;
  width: clamp(120px, 15vw, 200px);
  flex-shrink: 0;
}

.single-news .info-block__icon svg,
.event--news .info-block__icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.single-news .info-block__content,
.event--news .info-block__content {
  font-size: 16px;
  line-height: 1.6;
}

.single-news .info-block__content h2,
.single-news .info-block__content h3,
.event--news .info-block__content h2,
.event--news .info-block__content h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(20px, 2vw, 26px);
}

.single-news .info-block__content p,
.event--news .info-block__content p {
  margin: 0 0 14px;
}

/* Заголовки секций */
.single-news .single-ex__h2,
.event--news .single-ex__h2 {
  margin: 28px 0 14px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
}

/* ===========================
   ВЫРАВНИВАНИЕ КОНТЕНТА
   =========================== */

/* Горизонтальное выравнивание */
.single-news .align-h--center .single-ex__text-content,
.single-news .align-h--center .single-ex__figure,
.single-news .align-h--center .single-ex__video-wrap,
.single-news .align-h--center .info-block__content,
.event--news .align-h--center .single-ex__text-content,
.event--news .align-h--center .single-ex__figure,
.event--news .align-h--center .single-ex__video-wrap,
.event--news .align-h--center .info-block__content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.single-news .align-h--right .single-ex__text-content,
.single-news .align-h--right .single-ex__figure,
.single-news .align-h--right .single-ex__video-wrap,
.single-news .align-h--right .info-block__content,
.event--news .align-h--right .single-ex__text-content,
.event--news .align-h--right .single-ex__figure,
.event--news .align-h--right .single-ex__video-wrap,
.event--news .align-h--right .info-block__content {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

/* Для секций с сеткой */
.single-news .single-ex__section--image-text.align-v--center .single-ex__image-text-grid,
.event--news .single-ex__section--image-text.align-v--center .single-ex__image-text-grid {
  align-items: center;
}

.single-news .single-ex__section--image-text.align-v--bottom .single-ex__image-text-grid,
.event--news .single-ex__section--image-text.align-v--bottom .single-ex__image-text-grid {
  align-items: end;
}

/* Для информационных блоков */
.single-news .single-ex__section--info-block.align-v--center .single-ex__info-block,
.event--news .single-ex__section--info-block.align-v--center .single-ex__info-block {
  align-items: center;
}

.single-news .single-ex__section--info-block.align-v--bottom .single-ex__info-block,
.event--news .single-ex__section--info-block.align-v--bottom .single-ex__info-block {
  align-items: end;
}

/* Адаптивность информационных блоков */
@media (max-width: 768px) {
  .single-news .single-ex__info-block,
  .event--news .single-ex__info-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .single-news .info-block__icon,
  .event--news .info-block__icon {
    margin: 0 auto;
  }
}

/* Адаптивность галереи */
@media (max-width: 1024px) {
  .single-news .gallery__track [data-slider-slide],
  .event--news .gallery__track [data-slider-slide] {
    flex: 0 0 calc((100% - (var(--cards-tablet) - 1) * var(--gap)) / var(--cards-tablet));
    width:  calc((100% - (var(--cards-tablet) - 1) * var(--gap)) / var(--cards-tablet));
  }
  
  .single-news .single-ex__gallery .hero__dots button[aria-selected="true"],
  .event--news .single-ex__gallery .hero__dots button[aria-selected="true"] {
    background: var(--accent, #446A81);
    border: 0;
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 768px) {
  .single-news .single-ex__gallery,
  .event--news .single-ex__gallery {
    --gap: 16px;
  }
  
  .single-news .gallery__track [data-slider-slide],
  .event--news .gallery__track [data-slider-slide] {
    flex: 0 0 calc((100% - (var(--cards-mobile) - 1) * var(--gap)) / var(--cards-mobile));
    width:  calc((100% - (var(--cards-mobile) - 1) * var(--gap)) / var(--cards-mobile));
  }
  
  .single-news .single-ex__gallery .hero__dots,
  .event--news .single-ex__gallery .hero__dots {
    gap: 24px;
  }
  
  .single-news .gallery-card__inner,
  .event--news .gallery-card__inner {
    height: auto;
    aspect-ratio: 455 / 316;
  }
}

@media (max-width: 480px) {
  .single-news .single-ex__gallery,
  .event--news .single-ex__gallery {
    --gap: 12px;
  }
  
  .single-news .single-ex__gallery .hero__dots,
  .event--news .single-ex__gallery .hero__dots {
    gap: 16px;
  }
  
  .single-news .gallery-card__inner,
  .event--news .gallery-card__inner {
    border-radius: 10px;
  }
}

/* ===========================
   СТРЕЛКИ ГАЛЕРЕИ (как в exclusive на десктопе, как section-news на мобильных)
   =========================== */

/* ДЕСКТОП: Стрелки галереи news - СЕРЫЕ (как в exclusive) */
.single-news .single-ex__gallery .hero__arrows .navmol,
.single-news .single-ex__gallery .hero__arrows button.navmol,
.single-news .single-ex__gallery .hero__arrows button.navmol.navmol--prev,
.event--news .single-ex__gallery .hero__arrows .navmol,
.event--news .single-ex__gallery .hero__arrows button.navmol,
.event--news .single-ex__gallery .hero__arrows button.navmol.navmol--prev {
  position: absolute;
  bottom: 0 !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='112' height='59' viewBox='0 0 112 59'><path fill-rule='evenodd' clip-rule='evenodd' d='M112 29.5C112 45.7924 99.1425 59 83.2821 59C71.5331 59 61.432 51.7524 56.9845 41.3721L56.7729 41.295C52.2539 39.6474 47.2156 40.3847 43.3499 43.2596L38.6428 46.7601C34.5385 50.6933 29.0301 53.1 22.9744 53.1C10.286 53.1 0 42.5339 0 29.5C0 16.4661 10.286 5.9 22.9744 5.9C30.0448 5.9 36.3693 9.18094 40.5837 14.3416L41.3686 15.0238C45.6646 18.7579 51.5616 19.8453 56.8156 18.0302C61.1722 7.43534 71.3818 0 83.2821 0C99.1425 0 112 13.2076 112 29.5Z' fill='%23dddddd'/><path d='M27.8 30H16.7M16.7 30L22.26 35.7M16.7 30L22.26 24.3' stroke='%232A5273' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") !important;
}

.single-news .single-ex__gallery .hero__arrows .navchip,
.single-news .single-ex__gallery .hero__arrows button.navchip,
.event--news .single-ex__gallery .hero__arrows .navchip,
.event--news .single-ex__gallery .hero__arrows button.navchip {
  position: absolute;
  bottom: 0 !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='30' cy='30' r='30' fill='%232A5273'/><g transform='translate(30,30) scale(1.3) translate(-30,-30)'><path d='M26 30H37M37 30L31.5 24.3M37 30L31.5 35.7' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></g></svg>") !important;
}

/* Скрываем мобильные стрелки на десктопе */
.single-news .single-ex__gallery .navmol--mobile,
.single-news .single-ex__gallery .navchip--mobile,
.single-news .single-ex__gallery .hero__dots--mobile,
.event--news .single-ex__gallery .navmol--mobile,
.event--news .single-ex__gallery .navchip--mobile,
.event--news .single-ex__gallery .hero__dots--mobile {
  display: none;
}

/* МОБИЛЬНЫЕ: Навигация как в section-news */
@media (max-width: 1024px) {
  /* Скрываем десктопную навигацию */
  .single-news .single-ex__gallery .hero__dots--desktop,
  .single-news .single-ex__gallery .hero__arrows,
  .event--news .single-ex__gallery .hero__dots--desktop,
  .event--news .single-ex__gallery .hero__arrows {
    display: none;
  }
  
  /* Показываем мобильные элементы */
  .single-news .single-ex__gallery .navmol--mobile,
  .single-news .single-ex__gallery .navchip--mobile,
  .single-news .single-ex__gallery .hero__dots--mobile,
  .event--news .single-ex__gallery .navmol--mobile,
  .event--news .single-ex__gallery .navchip--mobile,
  .event--news .single-ex__gallery .hero__dots--mobile {
    display: inline-flex;
  }
  
  /* Навигация в ряд по центру */
  .single-news .single-ex__gallery .gallery-nav,
  .event--news .single-ex__gallery .gallery-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    gap: 20px;
    height: 30px;
  }
  
  /* Точки */
  .single-news .single-ex__gallery .hero__dots--mobile,
  .event--news .single-ex__gallery .hero__dots--mobile {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 30px;
    flex-shrink: 0;
  }
  
  .single-news .single-ex__gallery .hero__dots--mobile button,
  .event--news .single-ex__gallery .hero__dots--mobile button {
    all: unset;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    opacity: 0.9;
    transition: transform .15s ease, background-color .15s ease;
  }
  
  .single-news .single-ex__gallery .hero__dots--mobile button:hover,
  .event--news .single-ex__gallery .hero__dots--mobile button:hover {
    transform: scale(1.1);
    opacity: 1;
  }
  
  .single-news .single-ex__gallery .hero__dots--mobile button[aria-selected="true"],
  .single-news .single-ex__gallery .hero__dots--mobile button[aria-current="true"],
  .event--news .single-ex__gallery .hero__dots--mobile button[aria-selected="true"],
  .event--news .single-ex__gallery .hero__dots--mobile button[aria-current="true"] {
    background: var(--accent);
  }
  
  /* Стрелки - relative, в ряд, такой же размер */
  .single-news .single-ex__gallery .navmol--mobile,
  .single-news .single-ex__gallery .navchip--mobile,
  .event--news .single-ex__gallery .navmol--mobile,
  .event--news .single-ex__gallery .navchip--mobile {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform-origin: center center !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  
  /* Мобильные стрелки - простой треугольник (как на главной) */
  .single-news .single-ex__gallery .navmol--mobile,
  .single-news .single-ex__gallery .navchip--mobile,
  .event--news .single-ex__gallery .navmol--mobile,
  .event--news .single-ex__gallery .navchip--mobile {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='22' viewBox='0 0 19 22' fill='none'><path d='M17.0861 9.27815C18.3961 10.0523 18.3961 11.9477 17.0861 12.7219L3.5205 20.7379C1.83168 21.7358 -0.134923 19.959 0.687114 18.1779L3.61318 11.8381C3.85862 11.3063 3.85862 10.6937 3.61318 10.1619L0.687116 3.82208C-0.13492 2.041 1.83167 0.264169 3.52049 1.26211L17.0861 9.27815Z' fill='%23446A81'/></svg>") !important;
  }
  
  /* Левая стрелка - повернута влево */
  .single-news .single-ex__gallery .navmol--mobile,
  .event--news .single-ex__gallery .navmol--mobile {
    transform: rotate(180deg) !important;
  }
  
  .single-news .single-ex__gallery .navmol--mobile:hover,
  .single-news .single-ex__gallery .navchip--mobile:hover,
  .event--news .single-ex__gallery .navmol--mobile:hover,
  .event--news .single-ex__gallery .navchip--mobile:hover {
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  /* Ещё компактнее стрелки */
  .single-news .single-ex__gallery .navmol--mobile,
  .single-news .single-ex__gallery .navchip--mobile,
  .event--news .single-ex__gallery .navmol--mobile,
  .event--news .single-ex__gallery .navchip--mobile {
    width: 24px !important;
    height: 24px !important;
  }
}

/* ===========================
   ИСТОЧНИКИ (как в exclusive)
   =========================== */

/* Нижняя панель: избранное + источники */
.single-news .single-ex__bottombar,
.event--news .single-ex__bottombar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: var(--gap-xxl, 80px);
  margin-bottom: var(--gap-xxl, 80px);
}

/* Кнопка избранного */
.single-news .single-ex__fav,
.event--news .single-ex__fav {
  flex-shrink: 0;
}

/* Источники */
.single-news .single-ex__sources,
.event--news .single-ex__sources {
  flex: 1 1 auto;
  max-width: 600px;
}

.single-news .sources__title,
.event--news .sources__title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-900, #2c3338);
}

.single-news .sources__list,
.event--news .sources__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-news .sources__list li,
.event--news .sources__list li {
  margin: 8px 0;
  padding-left: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-700, #555);
}

.single-news .sources__list li::before,
.event--news .sources__list li::before {
  content: none;
}

.single-news .sources__list a,
.event--news .sources__list a {
  color: var(--primary, #2271b1);
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-news .sources__list a:hover,
.event--news .sources__list a:hover {
  color: var(--text-900, #2c3338);
  text-decoration: underline;
}

/* Ссылки в тексте новостей - ховер эффект */
.single-news .event-content a:hover,
.single-news .single-ex__text-content a:hover,
.event--news .event-content a:hover,
.event--news .single-ex__text-content a:hover {
  color: var(--text-900, #2c3338);
}

/* Увеличенный отступ для секции "В фокусе" */
.single-news .event-focus,
.event--news .event-focus {
  margin-top: 80px;
  margin-bottom: 80px;
}

/* Адаптив нижней панели */
@media (max-width: 768px) {
  .single-news .single-ex__bottombar,
  .event--news .single-ex__bottombar {
    flex-direction: column;
    gap: 24px;
  }
  
  .single-news .single-ex__sources,
  .event--news .single-ex__sources {
    max-width: 100%;
  }
}
