:root{ --manrope: "Manrope2","Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; }

/* Контент статьи (попап) */
.t-feed__post-popup .t-redactor__text,
.t-feed__post-popup .t-redactor__text p,
.t-feed__post-popup .t-redactor__text li{
  font-family: var(--manrope) !important;
  font-weight: 500 !important; /* Medium */
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* Метаданные: дата, uptitle, автор */
.t-feed__post-popup .js-feed-post-date,
.t-feed__post-popup .t-feed__post-popup__date,
.t-feed__post-popup .js-feed-post-author-name,
.t-feed__post-popup .t-feed__post-popup__author-name,
.t-feed__post-popup .t-uptitle_xs,
.t-feed__post-popup .t-uptitle_sm,
.t-feed__post-popup .t-uptitle:not(.t-feed__post-popup__relevants-title){
  font-family: var(--manrope) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  color: #949494 !important;
  letter-spacing: normal !important;
}

/* Заголовок статьи */
.t-feed__post-popup .t-feed__post-popup__title,
.t-feed__post-popup .js-feed-post-title{
  font-family: var(--manrope) !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}

/* Блок «Смотрите также» — заголовок блока */
.t-feed__post-popup .t-feed__post-popup__relevants-title{
  font-family: var(--manrope) !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}

/* «Смотрите также» — заголовок карточки */
.t-feed__post-popup .t-feed__post-popup__relevants .t-feed__post-popup__relevants-item-title.t-name.t-name_xs,
.t-feed__post-popup .t-feed__post-popup__relevants a .t-feed__post-popup__relevants-item-title.t-name.t-name_xs{
  font-family: var(--manrope) !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  display: inline-block;
}

/* «Смотрите также» — описание карточки */
.t-feed__post-popup .t-feed__post-popup__relevants :is(
  .t-feed__post-popup__relevants-item-descr.t-descr.t-descr_xxs,
  .t-descr, .t-descr_xxs, .t-descr_sm){
  font-family: var(--manrope) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* Скругление изображения карточки */
.t-feed__post-popup .t-feed__post-popup__relevants :is(.t-bgimg,.t-feed__post-popup__relevants-bgimg,.t-feed__post-popup__relevants-item-img){
  border-radius: 15px !important;
  overflow: hidden !important;
}
.t-feed__post-popup .t-feed__post-popup__relevants :is(.t-bgimg,.t-feed__post-popup__relevants-bgimg){
  clip-path: inset(0 round 15px) !important;
}

/* Фон попапа статьи */
.t-feed__post-popup .t-popup__container{ background:#FBFBFB !important; }
.t-feed__post-popup{ background:#FBFBFB !important; }
.t-feed__post-popup .t-popup__content{ background:transparent !important; }

/* Мобильные правки */
@media (max-width:320px){
  .t-feed__post-popup .t-redactor__text,
  .t-feed__post-popup .t-redactor__text p,
  .t-feed__post-popup .t-redactor__text li{ font-size:14px !important; line-height:1.3 !important; }

  .t-feed__post-popup .js-feed-post-date,
  .t-feed__post-popup .t-feed__post-popup__date,
  .t-feed__post-popup .js-feed-post-author-name,
  .t-feed__post-popup .t-feed__post-popup__author-name,
  .t-feed__post-popup .t-uptitle_xs,
  .t-feed__post-popup .t-uptitle_sm,
  .t-feed__post-popup .t-uptitle:not(.t-feed__post-popup__relevants-title){ font-size:14px !important; }

  .t-feed__post-popup .t-feed__post-popup__relevants .t-feed__post-popup__relevants-item-title.t-name.t-name_xs,
  .t-feed__post-popup .t-feed__post-popup__relevants a .t-feed__post-popup__relevants-item-title.t-name.t-name_xs{ font-size:20px !important; }

  .t-feed__post-popup .t-feed__post-popup__relevants :is(
    .t-feed__post-popup__relevants-item-descr.t-descr.t-descr_xxs,
    .t-descr, .t-descr_xxs, .t-descr_sm){ font-size:14px !important; }

  .t-feed__post-popup .t-feed__post-popup__relevants-title{ font-size:20px !important; }
}

/* Если у тебя variable-Manrope и вес 500 где-то не схватывается, добавь к нужным селекторам:
   font-variation-settings:"wght" 500 !important; */

/* Лента постов: тег и дата — letter-spacing нормальный */
.t-feed .t-feed__post-tag.t-uptitle,
.t-feed .t-feed__post-tag.t-uptitle_xs,
.t-feed .t-feed__post-date.t-uptitle,
.t-feed .t-feed__post-date.t-uptitle_xs,
.t-feed .js-feed-post-date.t-uptitle,
.t-feed .js-feed-post-date.t-uptitle_xs {
  letter-spacing: normal !important;
}

/* Цитаты в статье (попап) — 15px, Medium; мобайл 14px */
.t-feed__post-popup blockquote.t-redactor__quote{
  font-family: "Manrope2","Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight: 500 !important; /* Medium */
  font-size: 15px !important;
  line-height: 1.3 !important;
}
@media (max-width:320px){
  .t-feed__post-popup blockquote.t-redactor__quote{
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
}

/* Префейс-цитата в статье */
.t-feed__post-popup blockquote.t-redactor__preface{
  font-family: "Manrope2","Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight: 500 !important;   /* Medium */
  font-size: 20px !important;
  line-height: 1.3 !important;
}

@media (max-width: 320px){
  .t-feed__post-popup blockquote.t-redactor__preface{
    font-family: "Manrope2","Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
    font-weight: 500 !important; /* Medium */
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
}

/* Callout в статье */
.t-feed__post-popup .t-redactor__callout-text,
.t-feed__post-popup .t-redactor__callout-text p,
.t-feed__post-popup .t-redactor__callout-text li{
  font-family: "Manrope2","Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight: 500 !important; /* Medium */
  font-size: 15px !important;
  line-height: 1.3 !important;
}

@media (max-width: 320px){
  .t-feed__post-popup .t-redactor__callout-text,
  .t-feed__post-popup .t-redactor__callout-text p,
  .t-feed__post-popup .t-redactor__callout-text li{
    font-size: 14px !important;
    font-weight: 500 !important; /* Medium */
    line-height: 1.3 !important;
  }
}

/* H2 в статье — 20px (ПК), 18px (моб), Manrope2 Medium, цвет #9153e1 */
.t-feed__post-popup h2.t-redactor__h2{
  font-family: "Manrope2","Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight: 500 !important;   /* Medium */
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  color: #9153e1 !important;
}

@media (max-width: 320px){
  .t-feed__post-popup h2.t-redactor__h2{
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #9153e1 !important;
  }
}

/* Callout-цитата в статье — скругление 15px */
.t-feed__post-popup blockquote.t-redactor__callout,
.t-feed__post-popup blockquote.t-redactor__callout.t-redactor__callout_fontSize_default{
  border-radius: 15px !important;
  overflow: hidden !important;         /* чтобы фон/иконки не вылезали за радиус */
  background-clip: padding-box;
}
