/* «Следующий кейс» (js/next-case.js) — общая для всех кейсов тонкая полоса в самом конце, после дизайна кейса */
.nc {
  /* — настройки — */
  --nc-bg: #141414;          /* фон полосы */
  --nc-fg: #f3ece1;          /* текст */
  --nc-dim: #8d8580;         /* подписи */
  --nc-accent: #FFD83A;      /* название при наведении — жёлтый, как на главной */

  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(16px, 3vw, 44px);
  padding: clamp(22px, 3vw, 36px) max(96px, 6vw) clamp(22px, 3vw, 36px) clamp(20px, 6vw, 90px);   /* справа запас под кнопку Телеграма */
  background: var(--nc-bg); color: var(--nc-fg);
  font-family: var(--font, 'Unbounded', Arial, sans-serif); text-decoration: none;
}
.nc__text { display: grid; gap: 6px; min-width: 0; }
.nc__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nc-dim); }
.nc__name { font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; transition: color 0.25s; }
.nc__desc { font-size: 13px; line-height: 1.4; color: var(--nc-dim); }
.nc__art { display: block; width: clamp(80px, 9vw, 130px); height: auto; aspect-ratio: 1; object-fit: contain; transition: scale 0.4s cubic-bezier(.2,.9,.3,1.3); }
.nc__arrow { font-size: clamp(22px, 2.4vw, 34px); transition: translate 0.3s cubic-bezier(.2,.9,.3,1.3); }
.nc:hover .nc__name { color: var(--nc-accent); }
.nc:hover .nc__art { scale: 1.08; }
.nc:hover .nc__arrow { translate: 8px 0; }

@media (max-width: 600px) {
  .nc { grid-template-columns: 1fr auto; }
  .nc__art { display: none; }
}
