/* Обёртка секции виджета */
.nvk-scope {}

/* Карточка */
.nvk-scope .nvk-card{
  display:flex; flex-direction:column; height:100%;
  background: var(--surface); border:1px solid var(--border);
  border-radius:.5rem; box-shadow: var(--shadow); overflow:hidden; color: var(--text);
}

/* Обложка 2:3 */
.nvk-scope .nvk-thumb-box{ position:relative; width:100%; padding-top:150%; background: var(--surface); overflow:hidden; }
.nvk-scope .nvk-thumb-box > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }

/* Тело */
.nvk-scope .nvk-body{ padding:.65rem .65rem 0; display:flex; flex-direction:column; flex:1 1 auto; }
.nvk-scope .nvk-title{ margin:.4rem 0 .2rem; line-height:1.2; font-weight:700; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nvk-scope .nvk-title a{ color: var(--accent); text-decoration:none; }
.nvk-scope .nvk-title a:hover{ text-decoration:underline; }
.nvk-scope .nvk-meta{ font-size:.9rem; color: var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.theme-dark .nvk-scope .nvk-meta{ color: var(--text); }

/* Футер фиксированной высоты */
.nvk-scope .nvk-spacer{ flex:1 1 auto; }
.nvk-scope .nvk-footer{ padding:.6rem; border-top:1px solid var(--border); min-height:56px; display:flex; align-items:center; gap:.5rem; }
.nvk-scope .nvk-footer .btn{ transition:transform .12s ease; }
.nvk-scope .nvk-footer .btn:hover{ transform:translateY(-1px); }
.nvk-scope .nvk-views{ font-size:.9rem; display:inline-flex; align-items:center; gap:.35rem; opacity:.9; }

/* === Owl навигация — кнопки по бокам, круглые, с иконками === */
.nvk-owl{ position:relative; }
.nvk-owl .owl-stage-outer{ padding: .25rem 0; }
.nvk-owl .owl-nav { position: static; }

/* Сами кнопки */
.nvk-owl .owl-nav button.owl-prev,
.nvk-owl .owl-nav button.owl-next{
  position:absolute; top:40%; transform:translateY(-50%);
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:999px;
  background: var(--search-btn-bg) !important;
  color: var(--search-btn-text) !important;
  box-shadow: var(--shadow);
  border: none;
}
.nvk-owl .owl-nav button.owl-prev{ left:-16px; }
.nvk-owl .owl-nav button.owl-next{ right:-16px; }
.nvk-owl .owl-nav button.owl-prev:hover,
.nvk-owl .owl-nav button.owl-next:hover{ filter:brightness(0.95); }

/* Иконки Font Awesome внутри */
.nvk-owl .owl-nav i{ font-size:14px; line-height:1; }

/* Точки */
.nvk-owl .owl-dots .owl-dot span{ background: var(--border); }
.nvk-owl .owl-dots .owl-dot.active span{ background: var(--accent); }
