: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-recs
       и !important на цветах, которые темы чаще всего перебивают. */

    .asclin-recs,
    .asclin-recs * {
      box-sizing: border-box;
      font-family: "Montserrat", Arial, sans-serif;
    }

    .asclin-recs {
      width: 100%;
      background: #ffffff;
      color: var(--asclin-navy);
    }

    /* ===================== ШАПКА + ПЕРВЫЙ ЭКРАН РАЗДЕЛА ===================== */

    .asclin-recs .hero {
      position: relative;
      background: var(--asclin-dark);
      color: #ffffff;
      padding: 28px var(--asclin-gutter) 64px;
      overflow: hidden;
    }

    .asclin-recs .hero__decor {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .asclin-recs .hero__circle {
      position: absolute;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
    }

    .asclin-recs .hero__circle--left {
      width: 480px;
      height: 480px;
      left: -120px;
      top: 90px;
    }

    .asclin-recs .hero__circle--right {
      width: 560px;
      height: 560px;
      right: -80px;
      top: -180px;
    }

    .asclin-recs .hero__dot {
      position: absolute;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--asclin-hero-dot);
      opacity: .85;
    }

    .asclin-recs .hero__line {
      position: absolute;
      height: 1px;
      background: var(--asclin-hero-line);
    }

    /* Хлебные крошки + заголовок раздела */
    .asclin-recs .hero__content {
      position: relative;
      max-width: 1248px;
      margin: 64px auto 0;
      z-index: 1;
    }

    .asclin-recs .hero__breadcrumbs {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0;
      color: #aeb9c6;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 400;
    }

    .asclin-recs .hero__breadcrumbs a {
      color: #dfe6ee !important;
      text-decoration: none;
    }

    .asclin-recs .hero__breadcrumbs a:hover {
      text-decoration: underline;
    }

    .asclin-recs .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-recs .hero__subtitle {
      margin: 22px 0 0;
      max-width: 860px; /* правки 29.09: подзаголовок в две строки, как в макете */
      color: #dfe6ee;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 400;
    }

    /* ===================== ПОИСК И ФИЛЬТРЫ ===================== */

    .asclin-recs .toolbar {
      background: var(--asclin-card-bg);
      padding: 34px var(--asclin-gutter) 30px;
      border-bottom: 1px solid var(--asclin-border);
    }

    .asclin-recs .toolbar__row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .asclin-recs .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-recs .toolbar__search svg {
      flex-shrink: 0;
    }

    .asclin-recs .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-recs .toolbar__search input::placeholder {
      color: #93a2b4;
    }

    .asclin-recs .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-recs .toolbar__select svg {
      color: #93a2b4;
    }

    /* Категории */
    .asclin-recs .toolbar__cats {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 22px;
    }

    .asclin-recs .toolbar__cat {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--asclin-border);
      border-radius: 999px;
      background: #ffffff;
      padding: 13px 12px;
      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-recs .toolbar__cat:hover {
      border-color: var(--asclin-blue);
      color: var(--asclin-blue) !important;
    }

    .asclin-recs .toolbar__cat.is-active {
      background: var(--asclin-navy) !important;
      border-color: var(--asclin-navy);
      color: #ffffff !important;
    }

    /* ===================== КАТАЛОГ РЕКОМЕНДАЦИЙ ===================== */

    .asclin-recs .catalog {
      padding: 56px var(--asclin-gutter) 40px;
      background: #ffffff;
    }

    .asclin-recs .catalog__header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 24px;
      margin: 0 0 30px;
    }

    .asclin-recs .catalog__title {
      margin: 0;
      color: var(--asclin-heading) !important;
      font-size: 34px;
      line-height: 1.15;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-recs .catalog__count {
      color: var(--asclin-badge-grey-text);
      font-size: 15px;
      font-weight: 500;
      white-space: nowrap;
    }

    .asclin-recs .catalog__list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .asclin-recs .rec-card {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin: 0;
      background: var(--asclin-card-bg);
      border-radius: 8px;
      padding: 26px 28px 28px;
      transition: box-shadow .2s ease;
    }

    /* Вся карточка кликабельна (растянутая ссылка из заголовка);
       кнопки лежат выше ссылки по z-index и работают сами по себе. */
    .asclin-recs .rec-card:hover {
      box-shadow: 0 14px 30px rgba(9, 19, 33, .10);
    }

    .asclin-recs .rec-card__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .asclin-recs .rec-card__badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .asclin-recs .rec-card__badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 20px;
      padding: 7px 12px;
      font-size: 11px;
      line-height: 1;
      font-weight: 600;
      white-space: nowrap;
    }

    .asclin-recs .rec-card__badge--cat {
      background: var(--asclin-badge-blue);
      color: var(--asclin-blue) !important;
    }

    .asclin-recs .rec-card__badge--open {
      background: var(--asclin-badge-grey);
      color: var(--asclin-badge-grey-text) !important;
    }

    .asclin-recs .rec-card__badge--members {
      background: var(--asclin-navy) !important;
      color: #ffffff !important;
    }

    /* Статус документа («Проект», «Общественное обсуждение») — отдельный бейдж
       в верхней части карточки, справа от категории и доступа. */
    .asclin-recs .rec-card__badge--status {
      background: #fbeee0;
      color: #c9670f !important;
    }

    /* Правки 29.09: статус «Утверждено» — зелёный бейдж (как плашка успеха в карте стилей);
       доступ — отдельной строкой под категорией и статусом */
    .asclin-recs .rec-card__badge--approved {
      background: #e7f3ec;
      color: #1f6b3a !important;
    }

    .asclin-recs .rec-card__access {
      display: flex;
      margin-top: -4px;
    }

    .asclin-recs .rec-card__top {
      flex-wrap: wrap;
      row-gap: 8px;
    }

    .asclin-recs .rec-card__title {
      margin: 2px 0 0;
      color: var(--asclin-navy) !important;
      font-size: 19px;
      line-height: 1.25;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-recs .rec-card__title a {
      color: inherit !important;
      text-decoration: none !important;
    }

    .asclin-recs .rec-card__title a::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 8px;
    }

    .asclin-recs .rec-card:hover .rec-card__title a {
      color: var(--asclin-blue) !important;
    }

    .asclin-recs .rec-card__desc {
      margin: 0;
      color: var(--asclin-heading-soft);
      font-size: 14px;
      line-height: 1.45;
      font-weight: 400;
    }

    .asclin-recs .rec-card__meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px 14px;
      margin-top: auto;
      padding-top: 6px;
      color: var(--asclin-badge-grey-text);
      font-size: 13px;
      line-height: 1.2;
      font-weight: 500;
    }

    .asclin-recs .rec-card__meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .asclin-recs .rec-card__actions {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

    .asclin-recs a.rec-card__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 8px;
      padding: 14px 14px;
      white-space: nowrap;
      font-size: 14px;
      line-height: 1;
      font-weight: 600;
      text-decoration: none !important;
      text-transform: none;
      transition: opacity .2s ease;
    }

    .asclin-recs a.rec-card__btn:hover {
      opacity: .85;
    }

    .asclin-recs a.rec-card__btn--primary {
      background: var(--asclin-navy) !important;
      color: #ffffff !important;
    }

    .asclin-recs a.rec-card__btn--ghost {
      border: 1px solid #c8d4e0;
      background: transparent;
      color: var(--asclin-navy) !important;
    }

    /* Кнопка «Показать еще» */
    .asclin-recs .catalog__more {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    .asclin-recs a.catalog__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-recs a.catalog__more-btn:hover {
      opacity: .7;
    }

    /* ===================== ДЕМО: КАРТОЧКА ДЛЯ ЧЛЕНА АСКЛИН ===================== */

    .asclin-recs .member-demo {
      background: var(--asclin-card-bg);
      border-top: 1px solid var(--asclin-border);
      padding: 44px var(--asclin-gutter) 52px;
    }

    .asclin-recs .member-demo__caption {
      margin: 0 0 20px;
      color: var(--asclin-badge-grey-text);
      font-size: 15px;
      line-height: 1.4;
      font-weight: 600;
    }

    .asclin-recs .member-demo .catalog__list {
      max-width: 400px;
      grid-template-columns: minmax(0, 1fr);
    }

    .asclin-recs .member-demo .rec-card {
      background: #ffffff;
      border: 1px solid var(--asclin-border);
    }

    /* ===================== ПРИГЛАШЕНИЕ К УЧАСТИЮ ===================== */

    .asclin-recs .join {
      background: var(--asclin-dark);
      color: #ffffff;
      padding: 60px var(--asclin-gutter) 64px;
      position: relative;
      overflow: hidden;
    }

    .asclin-recs .join__circle {
      position: absolute;
      border-radius: 50%;
      background: var(--asclin-hero-circle);
      width: 480px;
      height: 480px;
      right: -140px;
      top: -180px;
      pointer-events: none;
    }

    .asclin-recs .join__inner {
      position: relative;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      max-width: 1248px;
      margin: 0 auto;
    }

    @media (min-width: 1200px) {
      .asclin-recs .join__inner {
        flex-wrap: nowrap;
      }

      .asclin-recs .join__actions {
        flex-shrink: 0;
      }
    }

    .asclin-recs .join__text {
      max-width: 720px;
    }

    .asclin-recs .join__title {
      margin: 0;
      color: #ffffff !important;
      font-size: 30px;
      line-height: 1.2;
      font-weight: 700;
      text-transform: none;
    }

    .asclin-recs .join__desc {
      margin: 16px 0 0;
      color: #dfe6ee;
      font-size: 16px;
      line-height: 1.5;
      font-weight: 400;
    }

    .asclin-recs .join__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .asclin-recs a.join__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 18px 36px;
      font-size: 16px;
      line-height: 1;
      font-weight: 600;
      text-decoration: none !important;
      transition: opacity .2s ease;
    }

    .asclin-recs a.join__btn:hover {
      opacity: .85;
    }

    .asclin-recs a.join__btn--primary {
      background: #ffffff !important;
      color: var(--asclin-heading) !important;
    }

    .asclin-recs a.join__btn--ghost {
      border: 1px solid rgba(255, 255, 255, .8);
      background: transparent;
      color: #ffffff !important;
    }

    /* ===================== АДАПТИВ ===================== */

    @media (max-width: 1200px) {
      :root {
        --asclin-gutter: 40px;
      }

      .asclin-recs .catalog__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      :root {
        --asclin-gutter: 20px;
      }

      .asclin-recs .hero__content {
        margin-top: 44px;
      }

      /* 375 px: «РЕКОМЕНДАЦИИ» капсом 40px не помещалось в ширину экрана */
      .asclin-recs .hero__title {
        font-size: 34px;
      }

      .asclin-recs .catalog__list {
        grid-template-columns: none;
      }

      .asclin-recs .catalog__header {
        flex-direction: column;
        gap: 8px;
      }

      .asclin-recs .toolbar__cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
      }
    }
