:root {
      --asclin-heading: #091321;
      --asclin-heading-soft: #3a434f;
      --asclin-navy: #11172d;
      --asclin-dark: #091321;
      --asclin-footer: #0a1320;
      --asclin-blue: #2f76a8;
      --asclin-orange: #e07c26;
      --asclin-page-bg: #f6f8fb;
      --asclin-card-bg: #f5f8fc;
      --asclin-badge-blue: #e6f1fa;
      --asclin-badge-grey: #eef3f7;
      --asclin-badge-grey-text: #526175;
      --asclin-placeholder: #d9d9d9;
      --asclin-hero-circle: #16222f;
      --asclin-hero-dot: #8296ab;
      --asclin-hero-line: #33465c;
      --asclin-border: #e3eaf2;
      /* Фон секций — на весь экран, контент — не шире 1248px по центру */
      --asclin-gutter: max(96px, calc((100% - 1248px) / 2));
    }

    body {
      margin: 0;
      background: var(--asclin-page-bg);
    }

    /* Стили усилены против CSS темы сайта: селекторы со scope .asclin-news
       и !important на цветах, которые темы чаще всего перебивают. */

    .asclin-news,
    .asclin-news * {
      box-sizing: border-box;
      font-family: "Montserrat", Arial, sans-serif;
    }

    .asclin-news {
      width: 100%;
      background: #ffffff;
      color: var(--asclin-navy);
    }

    /* ===================== ШАПКА + ПЕРВЫЙ ЭКРАН РАЗДЕЛА ===================== */

    .asclin-news .hero {
      position: relative;
      background: var(--asclin-dark);
      color: #ffffff;
      padding: 28px var(--asclin-gutter) 64px;
      overflow: hidden;
    }

    .asclin-news .hero__decor {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .asclin-news .hero__circle {
      position: absolute;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
    }

    .asclin-news .hero__circle--left {
      width: 480px;
      height: 480px;
      left: -120px;
      top: 90px;
    }

    .asclin-news .hero__circle--right {
      width: 560px;
      height: 560px;
      right: -80px;
      top: -180px;
    }

    .asclin-news .hero__dot {
      position: absolute;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--asclin-hero-dot);
      opacity: .85;
    }

    .asclin-news .hero__line {
      position: absolute;
      height: 1px;
      background: var(--asclin-hero-line);
    }

    /* Хлебные крошки + заголовок раздела */
    .asclin-news .hero__content {
      position: relative;
      max-width: 1248px;
      margin: 64px auto 0;
      z-index: 1;
    }

    .asclin-news .hero__breadcrumbs {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0;
      color: #aeb9c6;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 400;
    }

    .asclin-news .hero__breadcrumbs a {
      color: #dfe6ee !important;
      text-decoration: none;
    }

    .asclin-news .hero__breadcrumbs a:hover {
      text-decoration: underline;
    }

    .asclin-news .hero__title {
      margin: 20px 0 0;
      color: #ffffff !important;
      font-size: clamp(40px, 5vw, 64px);
      line-height: 1.05;
      font-weight: 700;
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    .asclin-news .hero__subtitle {
      margin: 22px 0 0;
      max-width: 760px;
      color: #dfe6ee;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 400;
    }

    /* ===================== ПОИСК И КАТЕГОРИИ ===================== */

    .asclin-news .toolbar {
      background: var(--asclin-card-bg);
      padding: 34px var(--asclin-gutter) 30px;
      border-bottom: 1px solid var(--asclin-border);
    }

    .asclin-news .toolbar__row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .asclin-news .toolbar__search {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1 1 380px;
      min-width: 280px;
      background: #ffffff;
      border: 1px solid var(--asclin-border);
      border-radius: 8px;
      padding: 0 18px;
      color: var(--asclin-badge-grey-text);
    }

    .asclin-news .toolbar__search svg {
      flex-shrink: 0;
    }

    .asclin-news .toolbar__search input {
      flex: 1;
      border: 0;
      outline: none;
      background: transparent;
      padding: 16px 0;
      color: var(--asclin-navy);
      font-size: 15px;
      font-weight: 400;
    }

    .asclin-news .toolbar__search input::placeholder {
      color: #93a2b4;
    }

    .asclin-news .toolbar__select {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #ffffff;
      border: 1px solid var(--asclin-border);
      border-radius: 8px;
      padding: 16px 18px;
      color: var(--asclin-navy) !important;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      white-space: nowrap;
    }

    .asclin-news .toolbar__select svg {
      color: #93a2b4;
    }

    /* Категории новостей (по ТЗ) */
    .asclin-news .toolbar__cats {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .asclin-news .toolbar__cat {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--asclin-border);
      border-radius: 999px;
      background: #ffffff;
      padding: 11px 22px;
      color: var(--asclin-badge-grey-text) !important;
      font-size: 14px;
      line-height: 1;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      white-space: nowrap;
    }

    .asclin-news .toolbar__cat:hover {
      border-color: var(--asclin-blue);
      color: var(--asclin-blue) !important;
    }

    .asclin-news .toolbar__cat.is-active {
      background: var(--asclin-navy) !important;
      border-color: var(--asclin-navy);
      color: #ffffff !important;
    }

    /* ===================== ГЛАВНАЯ НОВОСТЬ ===================== */

    .asclin-news .feed {
      padding: 56px var(--asclin-gutter) 44px;
      background: #ffffff;
    }

    .asclin-news .feed__header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 24px;
      margin: 0 0 30px;
    }

    .asclin-news .feed__title {
      margin: 0;
      color: var(--asclin-heading) !important;
      font-size: 34px;
      line-height: 1.15;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-news .feed__count {
      color: var(--asclin-badge-grey-text);
      font-size: 15px;
      font-weight: 500;
      white-space: nowrap;
    }

    /* Первая (главная) новость — широкая карточка: текст слева, фото справа */
    .asclin-news .news-lead {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
      gap: 40px;
      background: var(--asclin-card-bg);
      border-radius: 8px;
      padding: 44px 48px;
      margin: 0 0 24px;
    }

    .asclin-news .news-lead__body {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .asclin-news .news-lead__title {
      margin: 18px 0 0;
      color: var(--asclin-navy) !important;
      font-size: 26px;
      line-height: 1.25;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-news .news-lead__text {
      margin: 16px 0 28px;
      color: var(--asclin-heading-soft);
      font-size: 15px;
      line-height: 1.55;
      font-weight: 400;
    }

    .asclin-news .news-lead__image {
      align-self: stretch;
      min-height: 260px;
      border-radius: 4px;
      background: var(--asclin-placeholder);
    }

    /* ===================== СЕТКА НОВОСТЕЙ ===================== */

    .asclin-news .feed__list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    /* Карточка новости (по ТЗ): изображение, категория, дата,
       заголовок, краткий анонс, кнопка «Подробнее» */
    .asclin-news .news-card {
      display: flex;
      flex-direction: column;
      margin: 0;
      background: var(--asclin-card-bg);
      border-radius: 8px;
      overflow: hidden;
      transition: box-shadow .2s ease;
    }

    .asclin-news .news-card:hover {
      box-shadow: 0 10px 26px rgba(9, 19, 33, .12);
    }

    .asclin-news .news-card__image {
      height: 190px;
      background: var(--asclin-placeholder);
    }

    .asclin-news .news-card__body {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 22px 26px 28px;
    }

    .asclin-news .news-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }

    .asclin-news .news-meta__badge {
      display: inline-flex;
      align-items: center;
      border-radius: 20px;
      background: var(--asclin-badge-blue);
      padding: 7px 12px;
      color: var(--asclin-blue) !important;
      font-size: 11px;
      line-height: 1;
      font-weight: 600;
    }

    .asclin-news .news-meta__badge--grey {
      background: var(--asclin-badge-grey);
      color: var(--asclin-badge-grey-text) !important;
    }

    .asclin-news .news-meta__date {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--asclin-badge-grey-text);
      font-size: 13px;
      line-height: 1.2;
      font-weight: 500;
      white-space: nowrap;
    }

    .asclin-news .news-card__title {
      margin: 14px 0 0;
      color: var(--asclin-navy) !important;
      font-size: 18px;
      line-height: 1.3;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-news .news-card__text {
      margin: 10px 0 22px;
      color: var(--asclin-heading-soft);
      font-size: 14px;
      line-height: 1.5;
      font-weight: 400;
    }

    .asclin-news a.news-card__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: auto;
      border: 0;
      border-radius: 8px;
      background: var(--asclin-navy) !important;
      padding: 14px 28px;
      color: #ffffff !important;
      font-size: 14px;
      line-height: 1;
      font-weight: 600;
      text-decoration: none !important;
      text-transform: none;
      transition: opacity .2s ease;
    }

    .asclin-news a.news-card__button:hover,
    .asclin-news a.news-card__button:focus,
    .asclin-news a.news-card__button:visited {
      color: #ffffff !important;
      opacity: .85;
    }

    /* ===================== ПОКАЗАТЬ ЕЩЕ + ПАГИНАЦИЯ ===================== */

    .asclin-news .feed__more {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    .asclin-news a.feed__more-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #c8d4e0;
      border-radius: 999px;
      background: transparent;
      padding: 18px 44px;
      color: var(--asclin-navy) !important;
      font-size: 16px;
      line-height: 1;
      font-weight: 600;
      text-decoration: none !important;
      transition: opacity .2s ease;
    }

    .asclin-news a.feed__more-btn:hover {
      opacity: .7;
    }

    .asclin-news .feed__pages {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 26px;
    }

    .asclin-news a.feed__page {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      border-radius: 8px;
      padding: 0 8px;
      color: var(--asclin-badge-grey-text) !important;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .asclin-news a.feed__page:hover {
      background: var(--asclin-badge-grey);
      color: var(--asclin-navy) !important;
    }

    .asclin-news a.feed__page.is-active {
      background: var(--asclin-navy) !important;
      color: #ffffff !important;
    }

    .asclin-news .feed__page-dots {
      color: var(--asclin-badge-grey-text);
      font-size: 14px;
      font-weight: 600;
    }

    /* ===================== ПОДПИСКА НА НОВОСТИ ===================== */

    .asclin-news .subscribe {
      background: var(--asclin-dark);
      color: #ffffff;
      padding: 60px var(--asclin-gutter) 64px;
      position: relative;
      overflow: hidden;
    }

    .asclin-news .subscribe__circle {
      position: absolute;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
      width: 480px;
      height: 480px;
      right: -140px;
      top: -180px;
      pointer-events: none;
    }

    .asclin-news .subscribe__inner {
      position: relative;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      max-width: 1248px;
      margin: 0 auto;
    }

    .asclin-news .subscribe__text {
      max-width: 720px;
    }

    .asclin-news .subscribe__title {
      margin: 0;
      color: #ffffff !important;
      font-size: 30px;
      line-height: 1.2;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-news .subscribe__desc {
      margin: 16px 0 0;
      color: #dfe6ee;
      font-size: 16px;
      line-height: 1.5;
      font-weight: 400;
    }

    .asclin-news .subscribe__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .asclin-news a.subscribe__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 999px;
      padding: 18px 36px;
      font-size: 16px;
      line-height: 1;
      font-weight: 600;
      text-decoration: none !important;
      transition: opacity .2s ease;
    }

    .asclin-news a.subscribe__btn:hover {
      opacity: .85;
    }

    .asclin-news a.subscribe__btn--primary {
      background: #ffffff !important;
      color: var(--asclin-heading) !important;
    }

    .asclin-news a.subscribe__btn--ghost {
      border: 1px solid rgba(255, 255, 255, .8);
      background: transparent;
      color: #ffffff !important;
    }

    /* ===================== АДАПТИВ ===================== */

    @media (max-width: 1200px) {
      :root {
        --asclin-gutter: 40px;
      }

      .asclin-news .feed__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .asclin-news .news-lead {
        grid-template-columns: minmax(0, 1fr);
        padding: 34px 36px;
      }

      .asclin-news .news-lead__image {
        min-height: 220px;
        order: -1;
      }
    }

    @media (max-width: 640px) {
      /* Мобильный вид по фрейму «Mobile — 390» (site/exports/mobile-news.svg) */
      :root {
        --asclin-gutter: 20px;
      }

      /* Первый экран: крошки 13, заголовок 30, подводка 14 */
      .asclin-news .hero {
        padding: 12px var(--asclin-gutter) 34px;
      }

      .asclin-news .hero__content {
        margin-top: 34px;
      }

      .asclin-news .hero__breadcrumbs {
        gap: 6px;
        font-size: 13px;
      }

      .asclin-news .hero__title {
        margin-top: 18px;
        font-size: 30px;
        letter-spacing: 0;
      }

      .asclin-news .hero__subtitle {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.5;
      }

      .asclin-news .hero__circle--left {
        width: 320px;
        height: 320px;
        left: -200px;
        top: auto;
        bottom: -110px;
      }

      .asclin-news .hero__circle--right {
        width: 340px;
        height: 340px;
        right: -180px;
        top: -140px;
      }

      .asclin-news .hero__line,
      .asclin-news .hero__dot ~ .hero__dot ~ .hero__dot {
        display: none;
      }

      .asclin-news .hero__dot {
        width: 10px;
        height: 10px;
        left: 295px !important;
        top: 115px !important;
      }

      .asclin-news .hero__dot + .hero__dot {
        left: 115px !important;
        top: 85px !important;
      }

      /* Поиск во всю ширину, «Период» и «Сначала новые» в ряд, лента категорий со скроллом */
      .asclin-news .toolbar {
        padding: 20px var(--asclin-gutter) 28px;
      }

      .asclin-news .toolbar__row {
        flex-wrap: wrap;
        gap: 12px;
      }

      .asclin-news .toolbar__search {
        flex: 0 0 100%;
        min-width: 0;
        height: 48px;
        padding: 0 16px;
      }

      .asclin-news .toolbar__search input {
        min-width: 0;
        padding: 0;
        font-size: 14px;
      }

      .asclin-news .toolbar__row > .toolbar__select,
      .asclin-news .toolbar__row > .toolbar__dropdown {
        flex: 1 1 auto;
        min-width: 0;
      }

      /* Оба селекта в одну строку (≈ 200 + 138 во фрейме): узкие поля, иначе Montserrat переносит второй */
      .asclin-news .toolbar__select {
        justify-content: space-between;
        gap: 6px;
        height: 44px;
        padding: 0 10px 0 12px;
        font-size: 13px;
      }

      .asclin-news .toolbar__dropdown .toolbar__select {
        width: 100%;
      }

      /* Выпадающий список второго селекта (Битрикс) — к правому краю, чтобы не выходил за экран */
      .asclin-news .toolbar__dropdown:last-child .toolbar__menu {
        left: auto;
        right: 0;
      }

      .asclin-news .toolbar__cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 16px calc(-1 * var(--asclin-gutter)) 0 0;
        padding: 0 var(--asclin-gutter) 0 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
      }

      .asclin-news .toolbar__cats::-webkit-scrollbar {
        display: none;
      }

      .asclin-news .toolbar__cat {
        flex: none;
        height: 30px;
        padding: 0 15px;
        font-size: 13px;
      }

      /* Лента */
      .asclin-news .feed {
        padding: 30px var(--asclin-gutter) 56px;
      }

      .asclin-news .feed__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 20px;
      }

      .asclin-news .feed__title {
        font-size: 22px;
        line-height: 1.2;
      }

      .asclin-news .feed__count {
        font-size: 13px;
        font-weight: 400;
      }

      /* Главная новость и карточки: фото во всю ширину карточки сверху, кнопка во всю ширину */
      .asclin-news .news-lead {
        gap: 0;
        margin-bottom: 16px;
        padding: 0;
        overflow: hidden;
      }

      .asclin-news .news-lead__image {
        min-height: 200px;
        border-radius: 0;
      }

      .asclin-news .news-lead__body,
      .asclin-news .news-card__body {
        padding: 24px;
      }

      .asclin-news .news-meta {
        gap: 12px;
      }

      .asclin-news .news-meta__badge {
        padding: 5px 10px;
      }

      .asclin-news .news-meta__date {
        color: #93a2b4;
        font-size: 12px;
        font-weight: 400;
      }

      .asclin-news .news-meta__date svg {
        display: none;
      }

      .asclin-news .news-lead__title {
        margin-top: 16px;
        font-size: 20px;
        line-height: 1.3;
      }

      .asclin-news .news-card__title {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.375;
      }

      .asclin-news .news-lead__text,
      .asclin-news .news-card__text {
        margin: 12px 0 20px;
        color: var(--asclin-badge-grey-text);
        font-size: 13px;
        line-height: 1.54;
      }

      .asclin-news .news-card__text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
      }

      .asclin-news a.news-card__button {
        width: 100%;
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
      }

      .asclin-news .news-lead a.news-card__button {
        height: 44px;
      }

      .asclin-news .feed__list {
        grid-template-columns: none;
        gap: 16px;
      }

      .asclin-news .news-card__image {
        height: 180px;
      }

      /* «Показать еще» во всю ширину; номера страниц — только когда догружать нечего */
      .asclin-news .feed__more {
        margin-top: 24px;
      }

      .asclin-news a.feed__more-btn {
        width: 100%;
        height: 48px;
        padding: 0 20px;
        font-size: 15px;
      }

      .asclin-news .feed__more ~ .feed__pages {
        display: none;
      }

      /* Подписка: заголовок 22, кнопки во всю ширину 52px */
      .asclin-news .subscribe {
        padding: 40px var(--asclin-gutter);
      }

      .asclin-news .subscribe__circle {
        width: 300px;
        height: 300px;
        right: -150px;
        top: -138px;
      }

      .asclin-news .subscribe__inner {
        gap: 24px;
      }

      .asclin-news .subscribe__title {
        font-size: 22px;
        line-height: 1.27;
      }

      .asclin-news .subscribe__desc {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.5;
      }

      .asclin-news .subscribe__actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
      }

      .asclin-news a.subscribe__btn {
        width: 100%;
        height: 52px;
        padding: 0 20px;
        font-size: 15px;
      }

      .asclin-news a.subscribe__btn svg {
        display: none;
      }
    }
