/* cn3-plus / engagement */


/* ---- Читают на этой неделе ---- */
.cn3x-trending { margin: 3rem auto; }
.cn3x-trending__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cn3x-trending__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--borderColor, rgba(128, 128, 128, .22));
}
.cn3x-trending__num {
  flex: 0 0 auto;
  min-width: 2.2ch;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: var(--bold, 600);
  font-variant-numeric: tabular-nums;
  color: rgba(128, 128, 128, .45);
}
.cn3x-trending__body { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.cn3x-trending__cat {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--t-label, .65rem);
  font-weight: var(--bold, 600);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cn3Muted, var(--greyColor));
}
.cn3x-trending__link {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* длинный заголовок обрезается многоточием */
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: var(--t-card, .95rem);
  font-weight: var(--bold, 600);
  line-height: 1.3;
  color: inherit;
  text-decoration: none;
}
.cn3x-trending__link:hover { color: var(--hoverColor); text-decoration: none; }
.cn3x-trending__thumb img { display: block; width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }

/* ---- Вы читали ---- */
.cn3x-history { margin: 2.4rem auto; }
.cn3x-history[hidden] { display: none; }
.cn3x-history__list { display: flex; gap: 14px; margin: 0; padding: 0 0 8px; overflow-x: auto; list-style: none; }
.cn3x-history__item { flex: 0 0 auto; }
.cn3x-history__link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
  padding: 10px;
  border: 1px solid var(--borderColor, rgba(128, 128, 128, .25));
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}
.cn3x-history__link:hover { color: var(--hoverColor); text-decoration: none; }
.cn3x-history__link img { flex: 0 0 auto; width: 72px; height: 48px; object-fit: cover; border-radius: 6px; }
.cn3x-history__link span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.3;
}
