/* KipSlide /courses — Viktor Bozhenko "soft archive" style
 * Applied to courses.index (and compatible catalog elements) while preserving routes/data/hooks.
 * Uses site data-theme (light/dark) and Viktor-like neumorphic tokens.
 */

:root {
  --cv-bg: #e2e6ef;
  --cv-hi: #ffffff;
  --cv-lo: #a5afc4;
  --cv-g1: #f0f3f9;
  --cv-g2: #d1d8e6;
  --cv-ink: #222936;
  --cv-mu: #515c70;
  --cv-blue: #0b5fd1;
  --cv-onb: #ffffff;
  --cv-line: #2229361f;
  --cv-paper: #ecdcab;
  --cv-paper2: #d8c488;
  --cv-paper3: #f2e6c2;
  --cv-pk: #3a2f1a;
  --cv-up: 12px 12px 26px var(--cv-lo), -12px -12px 26px var(--cv-hi);
  --cv-up-s: 6px 6px 14px var(--cv-lo), -6px -6px 14px var(--cv-hi);
  --cv-dn: inset 7px 7px 15px var(--cv-lo), inset -7px -7px 15px var(--cv-hi);
  --cv-fd: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --cv-fb: "Onest", "Segoe UI", system-ui, sans-serif;
  --cv-focus: #0b5fd1;
}
[data-theme="dark"] {
  --cv-bg: #071a23;
  --cv-hi: #14394a;
  --cv-lo: #01080c;
  --cv-g1: #0f2f3d;
  --cv-g2: #061821;
  --cv-ink: #e6f4f5;
  --cv-mu: #9cc2c7;
  --cv-blue: #41f0ec;
  --cv-onb: #03171d;
  --cv-line: #41f0ec2b;
  --cv-paper: #0e3340;
  --cv-paper2: #0a2631;
  --cv-paper3: #124152;
  --cv-pk: #dff6f6;
  --cv-up: 0 0 0 1px #41f0ec4d, inset 0 1px 0 #ffffff14, 11px 11px 24px var(--cv-lo), -8px -8px 20px var(--cv-hi), 0 0 36px #41f0ec12;
  --cv-up-s: 0 0 0 1px #41f0ec4d, inset 0 1px 0 #ffffff12, 6px 6px 13px var(--cv-lo), -4px -4px 11px var(--cv-hi);
  --cv-dn: inset 0 0 0 1px var(--cv-line), inset 7px 7px 14px var(--cv-lo), inset -5px -5px 12px var(--cv-hi);
  --cv-focus: #41f0ec;
}

/* Page shell */
body:has(.courses-viktor) .vine-main {
  background: var(--cv-bg) !important;
}
[data-theme="dark"] body:has(.courses-viktor) .vine-main {
  background: radial-gradient(760px 520px at 90% -4%, #12606c47, transparent 70%),
    radial-gradient(600px 460px at -2% 34%, #0c4a5a3a, transparent 70%),
    var(--cv-bg) !important;
  background-attachment: fixed !important;
}
.courses-viktor,
.courses-viktor.learning-platforms-page.courses-catalog-page {
  width: min(1160px, 100% - 40px) !important;
  max-width: 1160px !important;
  margin: 0 auto;
  padding: 0 0 48px !important;
  color: var(--cv-ink);
  font: 400 17px/1.6 var(--cv-fb);
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.courses-viktor *,
.courses-viktor *::before,
.courses-viktor *::after { box-sizing: border-box; }
.courses-viktor a { color: inherit; }
.courses-viktor :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--cv-focus);
  outline-offset: 3px;
}

.vine-main:has(.courses-catalog-page) { margin-top: 0; }

/* Crumbs */
.courses-viktor .cv-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 36px;
  color: var(--cv-mu);
  font: 400 12px/16px Arial, Helvetica, sans-serif;
  letter-spacing: 0.2px;
  padding: 8px 0;
  margin: 0;
}
.courses-viktor .cv-crumbs [aria-hidden="true"] { padding-inline: 8px; }
.courses-viktor .cv-crumbs [aria-current="page"] { color: var(--cv-ink); }
.courses-viktor .cv-crumbs a { color: inherit; text-decoration: none; }
.courses-viktor .cv-crumbs a:hover { color: var(--cv-blue); }

/* Pagehead / hero */
.courses-viktor .cv-pagehead {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 26px 30px;
  margin: 12px 0 28px;
  border-radius: 28px;
  box-shadow: var(--cv-up);
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2));
}
.courses-viktor .cv-pagehead-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  box-shadow: var(--cv-dn);
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1));
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--cv-blue);
  flex: none;
}
.courses-viktor .cv-pagehead h1 {
  font: 500 clamp(26px, 3.6vw, 42px)/1.12 var(--cv-fd);
  margin: 0 0 6px;
  color: var(--cv-ink);
  letter-spacing: -0.01em;
}
.courses-viktor .cv-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cv-mu);
  max-width: 70ch;
}
.courses-viktor .cv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}
.courses-viktor .cv-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: var(--cv-dn);
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1));
  color: var(--cv-mu);
  font-size: 14px;
}
.courses-viktor .cv-stat b {
  font: 500 28px/1 var(--cv-fd);
  color: var(--cv-blue);
}
[data-theme="dark"] .courses-viktor .cv-stat b { text-shadow: 0 0 14px #41f0ec88; }

/* Layout */
.courses-viktor .courses-catalog-layout,
.courses-viktor .cv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.courses-viktor .courses-platform-list,
.courses-viktor .cv-main { min-width: 0; }
.courses-viktor .courses-filter-sidebar,
.courses-viktor .cv-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 26px;
  min-width: 0;
}

/* Section head */
.courses-viktor .cv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.courses-viktor .cv-head h2,
.courses-viktor #platforms-title,
.courses-viktor #courses-title {
  font: 500 clamp(22px, 2.6vw, 30px)/1.2 var(--cv-fd);
  margin: 0;
  color: var(--cv-ink);
  letter-spacing: -0.01em;
}
.courses-viktor .cv-meta,
.courses-viktor .learning-platforms-page__results {
  margin: 0 0 16px;
  color: var(--cv-mu);
  font-size: 14.5px;
}

/* Sidebox / filters */
.courses-viktor .learning-platforms-page__filters,
.courses-viktor .cv-sidebox {
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}
.courses-viktor .learning-platforms-page__filters summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  font: 500 15px var(--cv-fd);
  color: var(--cv-ink);
}
.courses-viktor .learning-platforms-page__filters summary::-webkit-details-marker { display: none; }
.courses-viktor .learning-platforms-page__filters summary i { color: var(--cv-blue); font-size: 18px; }
.courses-viktor .learning-platforms-page__filters form.card,
.courses-viktor .learning-platforms-page__filters .card.card-body {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 20px 20px !important;
  margin: 0 !important;
}
.courses-viktor .learning-platforms-page__filters .form-label {
  color: var(--cv-mu);
  font: 600 13px var(--cv-fb);
  margin: 0 0 6px 4px;
}
.courses-viktor .learning-platforms-page__filters .form-control,
.courses-viktor .learning-platforms-page__filters .form-select {
  width: 100%;
  min-height: 46px;
  height: auto;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: var(--cv-dn) !important;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important;
  color: var(--cv-ink) !important;
  font: 500 15px/1.4 var(--cv-fb);
  padding: 10px 14px;
}
.courses-viktor .learning-platforms-page__filters .form-control::placeholder { color: var(--cv-mu); opacity: .9; }
.courses-viktor .learning-platforms-page__filters .btn {
  min-height: 44px;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 0 18px;
  font: 600 14px var(--cv-fb);
  box-shadow: var(--cv-up-s);
  transition: box-shadow .15s, color .15s, transform .12s;
}
.courses-viktor .learning-platforms-page__filters .btn-primary {
  background: var(--cv-blue) !important;
  color: var(--cv-onb) !important;
}
[data-theme="dark"] .courses-viktor .learning-platforms-page__filters .btn-primary {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important;
  color: #03171d !important;
  box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55;
}
.courses-viktor .learning-platforms-page__filters .btn-outline-secondary {
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
  color: var(--cv-ink) !important;
}
.courses-viktor .learning-platforms-page__filters .btn:hover { color: var(--cv-blue); }
.courses-viktor .learning-platforms-page__filters .btn-primary:hover { color: var(--cv-onb); }
.courses-viktor .learning-platforms-page__filters .btn:active { box-shadow: var(--cv-dn); transform: scale(.98); }

/* Grid & cards */
.courses-viktor .learning-platforms-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 12px 0 8px;
}
.courses-viktor .learning-platforms-page__card {
  border: 0 !important;
  border-radius: 26px !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
  box-shadow: var(--cv-up) !important;
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.courses-viktor .learning-platforms-page__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cv-up), 0 0 0 1px transparent;
}
.courses-viktor .courses-card-visual {
  position: relative;
  border-radius: 18px;
  box-shadow: var(--cv-dn);
  overflow: hidden;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1));
  aspect-ratio: 16 / 9;
  min-height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
[data-theme="dark"] .courses-viktor .courses-card-visual {
  background: linear-gradient(145deg, #0f4a58, #08202b);
}
.courses-viktor .courses-card-visual__label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  background: var(--cv-paper);
  color: var(--cv-pk);
  font: 500 12px/1 var(--cv-fd);
  padding: 8px 12px;
  border-radius: 10px 10px 10px 3px;
  box-shadow: 0 2px 6px #0004;
  max-width: calc(100% - 24px);
}
[data-theme="dark"] .courses-viktor .courses-card-visual__label {
  background-image: linear-gradient(160deg, #14485a, #0a2d3a);
  color: #dff6f6;
  box-shadow: 0 0 0 1px #41f0ec4d, 0 4px 10px #0007;
}
.courses-viktor .courses-card-visual .learning-platforms-page__logo,
.courses-viktor .courses-card-visual .courses-platform-mark {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 22px;
  border: 0;
  box-shadow: var(--cv-up-s);
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2));
  color: var(--cv-blue);
  display: grid;
  place-items: center;
  font: 600 28px/1 var(--cv-fd);
  overflow: hidden;
  padding: 10px;
}
.courses-viktor .courses-card-visual .learning-platforms-page__logo img {
  width: 100%; height: 100%; object-fit: contain;
}
.courses-viktor .learning-platforms-page__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 6px;
  min-width: 0;
  flex: 1;
}
.courses-viktor .learning-platforms-page__organization {
  color: var(--cv-mu);
  font: 600 12.5px var(--cv-fb);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.courses-viktor .learning-platforms-page__content h2,
.courses-viktor .learning-platforms-page__content h3 {
  font: 500 17px/1.4 var(--cv-fd);
  margin: 0;
  color: var(--cv-ink);
}
.courses-viktor .learning-platforms-page__content h2 a,
.courses-viktor .learning-platforms-page__content h3 a {
  color: inherit;
  text-decoration: none;
}
.courses-viktor .learning-platforms-page__content h2 a:hover,
.courses-viktor .learning-platforms-page__content h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.courses-viktor .learning-platforms-page__content p {
  margin: 0;
  color: var(--cv-mu);
  font-size: 14.5px;
  line-height: 1.6;
}
.courses-viktor .learning-platforms-page__meta,
.courses-viktor .learning-platforms-page__course-count {
  font-size: 13.5px;
  color: var(--cv-mu);
}
.courses-viktor .learning-platforms-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--cv-line);
}
.courses-viktor .learning-platforms-page__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font: 600 14px var(--cv-fb);
  box-shadow: var(--cv-up-s);
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2));
  color: var(--cv-ink);
}
.courses-viktor .learning-platforms-page__link:hover { color: var(--cv-blue); }
.courses-viktor .learning-platforms-page__actions .learning-platforms-page__link:first-child {
  color: var(--cv-blue);
}
[data-theme="dark"] .courses-viktor .learning-platforms-page__actions .learning-platforms-page__link:first-child {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6);
  color: #03171d;
  box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55;
}

/* Courses sub-section cards */
.courses-viktor #courses-title-section,
.courses-viktor section[aria-labelledby="courses-title"] {
  margin-top: 40px;
}
.courses-viktor section[aria-labelledby="courses-title"] > p {
  color: var(--cv-mu);
  margin: 0 0 14px;
  font-size: 15px;
}

/* Filter form tweaks */
.courses-viktor .learning-platforms-page__filters .mb-4 { margin-bottom: 0 !important; }
.courses-viktor .learning-platforms-page__filters .row { row-gap: 12px; }
.courses-viktor .learning-platforms-page__filters .d-flex.gap-2 { gap: 10px !important; }
.courses-viktor .cv-pagehead-icon img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.courses-viktor .cv-stat b.cv-text { font: 600 18px/1.2 var(--cv-fb); }

/* Empty / pagination */
.courses-viktor .learning-platforms-page__empty {
  border: 0 !important;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--cv-dn);
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important;
  color: var(--cv-mu);
}
.courses-viktor .courses-pagination,
.courses-viktor .pagination-wrap {
  margin-top: 24px;
}
.courses-viktor .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.courses-viktor .pagination .page-link {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-grid;
  place-items: center;
  border: 0 !important;
  border-radius: 14px !important;
  text-decoration: none;
  font: 600 14px var(--cv-fb);
  color: var(--cv-ink) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
  box-shadow: var(--cv-up-s);
}
.courses-viktor .pagination .page-link:hover { color: var(--cv-blue) !important; }
.courses-viktor .pagination .page-item.active .page-link {
  color: var(--cv-onb) !important;
  background: var(--cv-blue) !important;
}
[data-theme="dark"] .courses-viktor .pagination .page-item.active .page-link {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important;
  color: #03171d !important;
}
.courses-viktor .pagination .page-item.disabled .page-link { opacity: .45; }

/* Responsive */
@media (max-width: 1020px) {
  .courses-viktor .courses-catalog-layout,
  .courses-viktor .cv-layout { grid-template-columns: 1fr; gap: 24px; }
  .courses-viktor .courses-filter-sidebar,
  .courses-viktor .cv-sidebar { position: static; order: 2; width: 100%; }
  .courses-viktor .courses-platform-list,
  .courses-viktor .cv-main { order: 1; }
}
body[data-page="courses.index"] .courses-pagination { margin-top: 28px; }
body[data-page="courses.index"] .courses-pagination nav { margin: 0; }
body[data-page="courses.index"] .courses-pagination ul.pagination {
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none;
}
body[data-page="courses.index"] .courses-pagination .page-item .page-link {
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  background: #fff !important;
  color: #263449 !important;
  font: 600 14px/1 var(--cv-fb) !important;
  box-shadow: var(--cv-dn) !important;
}
body[data-page="courses.index"] .courses-pagination .page-item span.page-link { border-radius: 14px !important; }
body[data-page="courses.index"] .courses-pagination .page-item a.page-link:hover,
body[data-page="courses.index"] .courses-pagination .page-item.active .page-link {
  box-shadow: var(--cv-up-s) !important;
}
body[data-page="courses.index"] .courses-pagination .page-item.active .page-link {
  background: #fff !important;
  color: #263449 !important;
}
body[data-page="courses.index"] .courses-pagination .page-item.disabled .page-link { opacity: .45; }
[data-theme="dark"] body[data-page="courses.index"] .courses-pagination .page-item .page-link {
  background: var(--cv-bg) !important;
  color: var(--cv-ink) !important;
}
[data-theme="dark"] body[data-page="courses.index"] .courses-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #54d6e0, #79e5ea) !important;
  color: #06121d !important;
}

@media (max-width: 720px) {
  .courses-viktor .cv-pagehead { flex-direction: column; align-items: flex-start; padding: 18px 16px; gap: 14px; }
  .courses-viktor .learning-platforms-page__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .courses-viktor,
  .courses-viktor.learning-platforms-page.courses-catalog-page { width: calc(100% - 24px) !important; }
  .courses-viktor .learning-platforms-page__filters summary { padding: 16px; }
  .courses-viktor .learning-platforms-page__filters form.card { padding: 0 16px 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .courses-viktor .learning-platforms-page__card { transition: none; }
  .courses-viktor .learning-platforms-page__card:hover { transform: none; }
}
/* ===== Viktor soft page chrome (navbar/footer/sheet/theme controls) ===== */
.viktor-soft-page {
  --cv-bg: #e2e6ef; --cv-hi: #ffffff; --cv-lo: #a5afc4; --cv-g1: #f0f3f9; --cv-g2: #d1d8e6;
  --cv-ink: #222936; --cv-mu: #515c70; --cv-blue: #0b5fd1; --cv-onb: #fff; --cv-line: #2229361f;
  --cv-up: 12px 12px 26px var(--cv-lo), -12px -12px 26px var(--cv-hi);
  --cv-up-s: 6px 6px 14px var(--cv-lo), -6px -6px 14px var(--cv-hi);
  --cv-dn: inset 7px 7px 15px var(--cv-lo), inset -7px -7px 15px var(--cv-hi);
  --cv-fd: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --cv-fb: "Onest", "Segoe UI", system-ui, sans-serif;
  --cv-focus: #0b5fd1;
}
[data-theme="dark"].viktor-soft-page, [data-theme="dark"] .viktor-soft-page, .viktor-soft-page[data-theme="dark"] {
  --cv-bg: #071a23; --cv-hi: #14394a; --cv-lo: #01080c; --cv-g1: #0f2f3d; --cv-g2: #061821;
  --cv-ink: #e6f4f5; --cv-mu: #9cc2c7; --cv-blue: #41f0ec; --cv-onb: #03171d; --cv-line: #41f0ec2b;
  --cv-up: 0 0 0 1px #41f0ec4d, inset 0 1px 0 #ffffff14, 11px 11px 24px var(--cv-lo), -8px -8px 20px var(--cv-hi);
  --cv-up-s: 0 0 0 1px #41f0ec4d, inset 0 1px 0 #ffffff12, 6px 6px 13px var(--cv-lo), -4px -4px 11px var(--cv-hi);
  --cv-dn: inset 0 0 0 1px var(--cv-line), inset 7px 7px 14px var(--cv-lo), inset -5px -5px 12px var(--cv-hi);
  --cv-focus: #41f0ec;
}
body.viktor-soft-page, .viktor-soft-page body { background: var(--cv-bg) !important; color: var(--cv-ink); font-family: var(--cv-fb); }
.viktor-soft-page .vine-wrapper, .viktor-soft-page .vine-main { background: var(--cv-bg) !important; }
[data-theme="dark"] .viktor-soft-page .vine-wrapper, [data-theme="dark"] .viktor-soft-page .vine-main,
[data-theme="dark"].viktor-soft-page .vine-wrapper, [data-theme="dark"].viktor-soft-page .vine-main {
  background: radial-gradient(760px 520px at 90% -4%, #12606c47, transparent 70%), radial-gradient(600px 460px at -2% 34%, #0c4a5a3a, transparent 70%), var(--cv-bg) !important;
  background-attachment: fixed !important;
}
/* Navbar */
.viktor-soft-page .vine-navbar { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-top: 12px; }
.viktor-soft-page .vine-navbar__nav { background: transparent !important; }
.viktor-soft-page .vine-navbar__container {
  border-radius: 22px; box-shadow: var(--cv-up); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
  padding: 10px 16px; gap: 10px;
}
.viktor-soft-page .vine-navbar__brand, .viktor-soft-page .vine-navbar a, .viktor-soft-page .vine-navbar button { color: var(--cv-ink); }
.viktor-soft-page .vine-navbar__credit { color: var(--cv-mu) !important; }
.viktor-soft-page .vine-navbar .nav-link, .viktor-soft-page .vine-navbar .vine-navbar__link, .viktor-soft-page .vine-navbar .vine-mobile-link {
  border-radius: 14px; font: 600 14.5px var(--cv-fb); color: var(--cv-mu) !important;
}
.viktor-soft-page .vine-navbar .nav-link:hover, .viktor-soft-page .vine-navbar .nav-link:focus-visible,
.viktor-soft-page .vine-navbar .nav-link.active, .viktor-soft-page .vine-navbar [aria-current="page"] {
  color: var(--cv-blue) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; box-shadow: var(--cv-up-s);
}
.viktor-soft-page .vine-navbar .dropdown-menu, .viktor-soft-page .vine-navbar .vine-mega-menu {
  border: 0 !important; border-radius: 18px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; padding: 10px;
}
.viktor-soft-page .vine-navbar .dropdown-item { border-radius: 12px; color: var(--cv-ink) !important; font: 500 14px var(--cv-fb); }
.viktor-soft-page .vine-navbar .dropdown-item:hover, .viktor-soft-page .vine-navbar .dropdown-item:focus { color: var(--cv-blue) !important; background: transparent; box-shadow: var(--cv-dn); }
.viktor-soft-page .vine-navbar .btn, .viktor-soft-page .vine-navbar .vine-navbar__btn, .viktor-soft-page .vine-navbar .vine-search-trigger,
.viktor-soft-page .vine-navbar .navbar-toggler, .viktor-soft-page #theme-switcher.switcher {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .vine-navbar .btn:hover, .viktor-soft-page .vine-navbar .vine-search-trigger:hover, .viktor-soft-page .vine-navbar .navbar-toggler:hover,
.viktor-soft-page #theme-switcher.switcher:hover { color: var(--cv-blue) !important; }
.viktor-soft-page .vine-navbar .btn:active, .viktor-soft-page .vine-navbar .navbar-toggler:active { box-shadow: var(--cv-dn) !important; }
.viktor-soft-page .vine-navbar .btn-primary, .viktor-soft-page .vine-navbar .vine-navbar__cta {
  background: var(--cv-blue) !important; color: var(--cv-onb) !important;
}
[data-theme="dark"] .viktor-soft-page .vine-navbar .btn-primary, [data-theme="dark"] .viktor-soft-page .vine-navbar .vine-navbar__cta {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55 !important;
}
.viktor-soft-page .vine-navbar .form-control, .viktor-soft-page .vine-navbar input[type="search"] {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-dn) !important;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .vine-navbar .navbar-collapse, .viktor-soft-page .vine-navbar .offcanvas {
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; border: 0 !important;
}
@media (max-width: 1199.98px) {
  .viktor-soft-page .vine-navbar__container { border-radius: 18px; }
  .viktor-soft-page .vine-navbar .navbar-collapse {
    margin-top: 10px; padding: 14px; border-radius: 18px; box-shadow: var(--cv-dn);
  }
}
/* Floating switchers (theme/plasma) keep fixed but styled */
.viktor-soft-page .switcher { border: 0 !important; }
/* Footer */
.viktor-soft-page .site-footer { background: transparent !important; border: 0 !important; padding: 24px 0 36px; color: var(--cv-ink); }
.viktor-soft-page .site-footer__shell { width: min(1160px, 100% - 40px); margin: 0 auto; }
.viktor-soft-page .site-footer__container {
  border-radius: 28px; box-shadow: var(--cv-up); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
  padding: 28px !important; border: 0 !important;
}
.viktor-soft-page .site-footer a { color: var(--cv-mu); text-decoration: none; }
.viktor-soft-page .site-footer a:hover { color: var(--cv-blue); }
.viktor-soft-page .site-footer__brand-name, .viktor-soft-page .site-footer h2, .viktor-soft-page .site-footer h3 { color: var(--cv-ink); font-family: var(--cv-fd); }
.viktor-soft-page .site-footer__lead, .viktor-soft-page .site-footer p, .viktor-soft-page .site-footer li { color: var(--cv-mu); }
.viktor-soft-page .site-footer__grid a, .viktor-soft-page .site-footer__social a {
  display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 10px;
}
.viktor-soft-page .site-footer__grid a:hover, .viktor-soft-page .site-footer__social a:hover { box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); }
.viktor-soft-page .site-footer__bottom { border-top: 1px solid var(--cv-line) !important; margin-top: 18px; padding-top: 16px; color: var(--cv-mu); }
.viktor-soft-page .site-footer__chip, .viktor-soft-page .site-footer__tag {
  border: 0 !important; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-mu); border-radius: 999px;
}
/* Generic viktor content wrappers for blog/materials */
.viktor-soft-page .viktor-page {
  width: min(1160px, 100% - 40px); max-width: 1160px; margin: 0 auto; padding: 0 0 48px; color: var(--cv-ink); font: 400 17px/1.6 var(--cv-fb);
}
.viktor-soft-page .viktor-page h1, .viktor-soft-page .viktor-page h2, .viktor-soft-page .viktor-page h3 { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .viktor-page a { color: inherit; }
.viktor-soft-page .viktor-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--cv-focus); outline-offset: 3px; }

/* ===== Blog index (service-automation-catalog style) in Viktor soft pages ===== */
.viktor-soft-page .blog-index-page.service-automation-catalog,
.viktor-soft-page .blog-index-page.baton-catalog { background: transparent !important; }
.viktor-soft-page .blog-index-page .service-automation-catalog__tile,
.viktor-soft-page .blog-index-page .service-automation-catalog__hero,
.viktor-soft-page .blog-index-page .service-automation-catalog__stat,
.viktor-soft-page .blog-index-page .service-automation-catalog__filter-panel,
.viktor-soft-page .blog-index-page .service-automation-catalog__card,
.viktor-soft-page .blog-index-page .service-automation-catalog__result,
.viktor-soft-page .blog-index-page .blog-post-card {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .blog-index-page .service-automation-catalog__eyebrow,
.viktor-soft-page .blog-index-page .blog-catalog-sa__eyebrow { color: var(--cv-mu) !important; font: 600 13px var(--cv-fb); }
.viktor-soft-page .blog-index-page h1, .viktor-soft-page .blog-index-page h2 { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .blog-index-page p, .viktor-soft-page .blog-index-page .service-automation-catalog__description { color: var(--cv-mu); }
.viktor-soft-page .blog-index-page .service-automation-catalog__stat span { color: var(--cv-mu); font-size: 13px; }
.viktor-soft-page .blog-index-page .service-automation-catalog__stat strong { color: var(--cv-blue); font: 500 34px/1 var(--cv-fd); }
[data-theme="dark"] .viktor-soft-page .blog-index-page .service-automation-catalog__stat strong { text-shadow: 0 0 14px #41f0ec66; }
.viktor-soft-page .blog-index-page .service-automation-catalog__search,
.viktor-soft-page .blog-index-page .baton-search {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-dn) !important;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important;
}
.viktor-soft-page .blog-index-page input[type="search"], .viktor-soft-page .blog-index-page .service-automation-catalog__search input {
  background: transparent !important; border: 0 !important; color: var(--cv-ink) !important; box-shadow: none !important; font: 500 16px var(--cv-fb);
}
.viktor-soft-page .blog-index-page .service-automation-catalog__search-count { color: var(--cv-mu); }
.viktor-soft-page .blog-index-page .service-automation-catalog__search-count strong { color: var(--cv-blue); }
.viktor-soft-page .blog-index-page .service-automation-catalog__keyword,
.viktor-soft-page .blog-index-page .blog-topic,
.viktor-soft-page .baton-category {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .blog-index-page .service-automation-catalog__keyword:hover,
.viktor-soft-page .blog-index-page .service-automation-catalog__keyword[aria-current="page"],
.viktor-soft-page .blog-index-page .blog-topic:hover, .viktor-soft-page .blog-index-page .blog-topic[aria-current="page"],
.viktor-soft-page .baton-category:hover, .viktor-soft-page .baton-category[aria-current="page"] {
  color: var(--cv-blue) !important; box-shadow: var(--cv-dn) !important;
}
.viktor-soft-page .blog-index-page .service-automation-catalog__open-button,
.viktor-soft-page .blog-index-page .service-automation-catalog__details,
.viktor-soft-page .blog-index-page .blog-catalog-sa__page-links a,
.viktor-soft-page .blog-index-page .blog-catalog-sa__page-links span {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .blog-index-page .service-automation-catalog__open-button { color: var(--cv-blue) !important; }
[data-theme="dark"] .viktor-soft-page .blog-index-page .service-automation-catalog__open-button {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55;
}
.viktor-soft-page .blog-index-page .service-automation-catalog__open-button:hover { filter: brightness(1.02); }
.viktor-soft-page .blog-index-page .service-automation-catalog__publication-status { background: transparent; color: var(--cv-mu); }
.viktor-soft-page .blog-index-page .blog-post-title a { color: var(--cv-ink); text-decoration: none; font-family: var(--cv-fd); }
.viktor-soft-page .blog-index-page .blog-post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.viktor-soft-page .blog-index-page .service-automation-catalog__card-meta { color: var(--cv-mu); }
.viktor-soft-page .blog-index-page .service-automation-catalog__shortcut { box-shadow: var(--cv-up-s); border: 0; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-mu); border-radius: 8px; }
.viktor-soft-page .blog-search-status, .viktor-soft-page .baton-search-status { color: var(--cv-mu); }

/* Baton/postyads blog variant */
.viktor-soft-page .baton-catalog__container { width: min(1160px, 100% - 40px); margin: 0 auto; }
.viktor-soft-page .baton-hero, .viktor-soft-page .baton-card, .viktor-soft-page .baton-empty, .viktor-soft-page .baton-toolbar {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
}
.viktor-soft-page .baton-card__cover { border-radius: 18px; box-shadow: var(--cv-dn); overflow: hidden; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); }
.viktor-soft-page .baton-hero h1, .viktor-soft-page .baton-card h2 a { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .baton-breadcrumbs a, .viktor-soft-page .baton-breadcrumbs span { color: var(--cv-mu); }
.viktor-soft-page .baton-eyebrow, .viktor-soft-page .baton-card__category, .viktor-soft-page .baton-card__footer { color: var(--cv-mu); }
.viktor-soft-page .baton-card h2 a { text-decoration: none; }
.viktor-soft-page .baton-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.viktor-soft-page .baton-card__footer a { color: var(--cv-blue); text-decoration: none; font-weight: 600; }
.viktor-soft-page .baton-search__submit, .viktor-soft-page .baton-search__clear { border: 0; border-radius: 12px; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink); }
.viktor-soft-page .baton-book__image-frame { box-shadow: var(--cv-dn); border-radius: 20px; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); }

/* Materials index (library-bento) */
.viktor-soft-page .materials-bento.library-bento, .viktor-soft-page .library-page.library-bento { background: transparent !important; }
.viktor-soft-page .materials-bento { width: min(1160px, 100% - 40px) !important; max-width: 1160px !important; margin: 0 auto; padding: 0 0 48px !important; }
.viktor-soft-page .materials-bento .lb-breadcrumbs a, .viktor-soft-page .materials-bento .lb-breadcrumbs span { color: var(--cv-mu); }
.viktor-soft-page .materials-bento .lb-tile, .viktor-soft-page .materials-bento .lb-book-list, .viktor-soft-page .materials-bento .lb-empty {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .materials-bento h1, .viktor-soft-page .materials-bento h2, .viktor-soft-page .materials-bento h3 { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .materials-bento .lb-intro, .viktor-soft-page .materials-bento .lb-search-help, .viktor-soft-page .materials-bento p, .viktor-soft-page .materials-bento .mb-excerpt { color: var(--cv-mu); }
.viktor-soft-page .materials-bento .lb-count-tile strong { color: var(--cv-blue); font: 500 40px/1 var(--cv-fd); }
[data-theme="dark"] .viktor-soft-page .materials-bento .lb-count-tile strong { text-shadow: 0 0 14px #41f0ec66; }
.viktor-soft-page .materials-bento .lb-eyebrow, .viktor-soft-page .materials-bento .lb-tile-label { color: var(--cv-mu); }
.viktor-soft-page .materials-bento .lb-search-input {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-dn) !important;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important;
}
.viktor-soft-page .materials-bento .lb-search-input input { background: transparent !important; border: 0 !important; color: var(--cv-ink) !important; box-shadow: none !important; }
.viktor-soft-page .materials-bento .lb-search-input input::placeholder { color: var(--cv-mu); opacity: .9; }
.viktor-soft-page .materials-bento .lb-submit, .viktor-soft-page .materials-bento .lb-book-open, .viktor-soft-page .materials-bento .lb-reset, .viktor-soft-page .materials-bento .lb-clear {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink); text-decoration: none;
}
.viktor-soft-page .materials-bento .lb-submit, .viktor-soft-page .materials-bento .lb-book-open { color: var(--cv-blue); }
[data-theme="dark"] .viktor-soft-page .materials-bento .lb-submit { background-image: linear-gradient(145deg, #6ff7f3, #27c9c6); color: #03171d; box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55; }
.viktor-soft-page .materials-bento .lb-submit:hover, .viktor-soft-page .materials-bento .lb-book-open:hover { filter: brightness(1.02); }
.viktor-soft-page .materials-bento .lb-type, .viktor-soft-page .materials-bento .lb-sort-tile a, .viktor-soft-page .materials-bento .lb-active-filters a {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-up-s) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .materials-bento .lb-type[aria-current="true"], .viktor-soft-page .materials-bento .lb-sort-tile a[aria-current="true"],
.viktor-soft-page .materials-bento .lb-type:hover, .viktor-soft-page .materials-bento .lb-sort-tile a:hover { color: var(--cv-blue) !important; box-shadow: var(--cv-dn) !important; }
.viktor-soft-page .materials-bento .lb-book {
  border: 0 !important; border-bottom: 1px solid var(--cv-line) !important; border-radius: 0; background: transparent !important; box-shadow: none !important;
}
.viktor-soft-page .materials-bento .lb-book:last-child { border-bottom: 0 !important; }
.viktor-soft-page .materials-bento .mb-cover, .viktor-soft-page .materials-bento .lb-book .mb-cover {
  border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); overflow: hidden;
}
.viktor-soft-page .materials-bento .lb-book-type { color: var(--cv-mu); }
.viktor-soft-page .materials-bento .lb-book-copy h3 a { color: var(--cv-ink); text-decoration: none; }
.viktor-soft-page .materials-bento .lb-book-copy h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.viktor-soft-page .materials-bento .lb-book-meta { color: var(--cv-mu); }
.viktor-soft-page .materials-bento .lb-pagination a, .viktor-soft-page .materials-bento .lb-pagination span {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink);
}
.viktor-soft-page .materials-bento .lb-live-status { color: var(--cv-mu); }

/* Blog/material show (readers) */
.viktor-soft-page .material-page, .viktor-soft-page .material-reader, .viktor-soft-page .blog-post-reader, .viktor-soft-page .blog-post-page {
  width: min(960px, 100% - 40px) !important; max-width: 960px !important; margin: 0 auto; padding-bottom: 48px;
}
.viktor-soft-page .material-page > article, .viktor-soft-page .material-reader > article, .viktor-soft-page .blog-post-reader > article,
.viktor-soft-page .blog-post-page .content, .viktor-soft-page .material-documents, .viktor-soft-page .material-comments,
.viktor-soft-page .blog-post-documents, .viktor-soft-page .blog-post-related, .viktor-soft-page .baton-capacity-tool {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .material-page h1, .viktor-soft-page .material-reader h1, .viktor-soft-page .blog-post-reader h1, .viktor-soft-page .blog-post-page .tt,
.viktor-soft-page .material-page h2, .viktor-soft-page .material-reader h2, .viktor-soft-page .blog-post-reader h2 {
  font-family: var(--cv-fd); color: var(--cv-ink);
}
.viktor-soft-page .material-page .lead, .viktor-soft-page .material-reader .lead, .viktor-soft-page .material-reader__meta,
.viktor-soft-page .material-reader__breadcrumbs, .viktor-soft-page .material-reader__breadcrumbs a,
.viktor-soft-page .breadcrumbs, .viktor-soft-page .breadcrumbs a, .viktor-soft-page .text-muted { color: var(--cv-mu) !important; }
.viktor-soft-page .material-body, .viktor-soft-page .blog-body, .viktor-soft-page .material-body p, .viktor-soft-page .blog-body p { color: var(--cv-ink) !important; }
.viktor-soft-page .material-body a, .viktor-soft-page .blog-body a { color: var(--cv-blue); }
.viktor-soft-page .material-reader__figure, .viktor-soft-page .blog-post-cover, .viktor-soft-page .material-page__cover {
  border-radius: 20px; box-shadow: var(--cv-dn); overflow: hidden; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1));
}
.viktor-soft-page .material-reader__footer a, .viktor-soft-page .blog-post-related .related-card,
.viktor-soft-page .material-documents a, .viktor-soft-page .doc-download {
  border: 0; border-radius: 14px; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .material-reader__footer a:hover, .viktor-soft-page .blog-post-related .related-card:hover { color: var(--cv-blue) !important; }
.viktor-soft-page .blog-post-reader .material-body blockquote, .viktor-soft-page .blog-body blockquote {
  border-left: 4px solid var(--cv-blue); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); box-shadow: var(--cv-dn); color: var(--cv-mu); border-radius: 0 14px 14px 0;
}
.viktor-soft-page .blog-body pre { border: 0; border-radius: 16px; box-shadow: var(--cv-dn); }
.viktor-soft-page .material-comments .border, .viktor-soft-page .material-comments .list-group-item {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important;
}
.viktor-soft-page .material-comments .form-control, .viktor-soft-page .material-comments textarea, .viktor-soft-page .baton-capacity-tool input {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .material-comments .btn-primary, .viktor-soft-page .material-comments button[type="submit"] {
  border: 0; border-radius: 14px; box-shadow: var(--cv-up-s); background: var(--cv-blue); color: var(--cv-onb); font-weight: 600;
}
[data-theme="dark"] .viktor-soft-page .material-comments .btn-primary { background-image: linear-gradient(145deg, #6ff7f3, #27c9c6); color: #03171d; }
.viktor-soft-page .related-card__title { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .related-card__meta { color: var(--cv-mu); }
@media (max-width: 720px) {
  .viktor-soft-page .viktor-page, .viktor-soft-page .materials-bento, .viktor-soft-page .material-page, .viktor-soft-page .material-reader, .viktor-soft-page .blog-post-reader { width: calc(100% - 24px) !important; }
  .viktor-soft-page .site-footer__shell { width: calc(100% - 24px); }
}
/* ===== Data Hub (overview/catalog/index/category/resources/resource/matrix/sources/show/quiz) ===== */
.viktor-soft-page .data-hub-bento.library-bento,
.viktor-soft-page .data-overview.library-bento,
.viktor-soft-page .data-overview.data-category-catalog,
.viktor-soft-page .hub-page { background: transparent !important; color: var(--cv-ink); font-family: var(--cv-fb); }
.viktor-soft-page .data-hub-bento, .viktor-soft-page .data-category-catalog { width: min(1160px, 100% - 40px) !important; max-width: 1160px !important; margin: 0 auto; padding: 0 0 48px !important; }
.viktor-soft-page .data-wrap { width: 100%; }
.viktor-soft-page .data-hub-bento .lb-breadcrumbs a, .viktor-soft-page .data-hub-bento .lb-breadcrumbs span,
.viktor-soft-page .data-category-catalog .data-breadcrumb a, .viktor-soft-page .data-category-catalog .data-breadcrumb span,
.viktor-soft-page .hub-page .library-breadcrumbs a, .viktor-soft-page .hub-page .library-breadcrumbs span,
.viktor-soft-page .hub-page .material-reader__breadcrumbs a, .viktor-soft-page .hub-page .material-reader__breadcrumbs span { color: var(--cv-mu); text-decoration: none; }
.viktor-soft-page .data-hub-bento .lb-breadcrumbs a:hover, .viktor-soft-page .hub-page .library-breadcrumbs a:hover { color: var(--cv-blue); }

/* Bento/overview tiles */
.viktor-soft-page .data-hub-bento .lb-tile,
.viktor-soft-page .data-category-catalog .data-side-section,
.viktor-soft-page .data-category-catalog .data-bottom-banner,
.viktor-soft-page .data-category-catalog .data-catalog-empty {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .data-hub-bento h1, .viktor-soft-page .data-hub-bento h2, .viktor-soft-page .data-hub-bento h3,
.viktor-soft-page .data-category-catalog h1, .viktor-soft-page .data-category-catalog h2, .viktor-soft-page .data-category-catalog h3,
.viktor-soft-page .hub-page h1, .viktor-soft-page .hub-page h2, .viktor-soft-page .hub-page h3, .viktor-soft-page .hub-page h4, .viktor-soft-page .hub-page h5 { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .data-hub-bento .lb-intro, .viktor-soft-page .data-hub-bento p, .viktor-soft-page .data-hub-bento .lb-eyebrow,
.viktor-soft-page .data-category-catalog p, .viktor-soft-page .hub-page p, .viktor-soft-page .hub-page .text-muted,
.viktor-soft-page .hub-page .library-results, .viktor-soft-page .hub-page small { color: var(--cv-mu); }
.viktor-soft-page .data-hub-bento .lb-count-tile strong { color: var(--cv-blue); font: 500 40px/1 var(--cv-fd); }
[data-theme="dark"] .viktor-soft-page .data-hub-bento .lb-count-tile strong { text-shadow: 0 0 14px #41f0ec66; }
.viktor-soft-page .data-hub-bento .lb-sort-tile a,
.viktor-soft-page .data-hub-bento .data-hub-shortcuts a,
.viktor-soft-page .data-category-catalog .data-category-list a,
.viktor-soft-page .data-category-catalog .data-useful a,
.viktor-soft-page .data-category-catalog .data-tags a {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .data-hub-bento .lb-sort-tile a:hover, .viktor-soft-page .data-hub-bento .data-hub-shortcuts a:hover,
.viktor-soft-page .data-category-catalog .data-category-list a:hover, .viktor-soft-page .data-category-catalog .data-tags a:hover { color: var(--cv-blue) !important; box-shadow: var(--cv-dn); }
.viktor-soft-page .data-hub-search, .viktor-soft-page .data-search,
.viktor-soft-page .hub-page .library-search-input, .viktor-soft-page .hub-page .hub-catalog-filters .form-control,
.viktor-soft-page .hub-page .hub-catalog-filters .form-select {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-dn) !important;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .data-hub-search input, .viktor-soft-page .data-search input, .viktor-soft-page .hub-page .library-search-input input {
  background: transparent !important; border: 0 !important; color: var(--cv-ink) !important; box-shadow: none !important;
}
.viktor-soft-page .data-hub-search input::placeholder, .viktor-soft-page .data-search input::placeholder, .viktor-soft-page .hub-page .library-search-input input::placeholder { color: var(--cv-mu); opacity: .9; }
.viktor-soft-page .data-hub-search button, .viktor-soft-page .data-search button,
.viktor-soft-page .hub-page .library-button, .viktor-soft-page .hub-page .btn-primary, .viktor-soft-page .hub-page .hub-admin-actions a.btn-outline-primary {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: var(--cv-blue) !important; color: var(--cv-onb) !important; font-weight: 600;
}
[data-theme="dark"] .viktor-soft-page .data-hub-search button, [data-theme="dark"] .viktor-soft-page .data-search button,
[data-theme="dark"] .viktor-soft-page .hub-page .library-button, [data-theme="dark"] .viktor-soft-page .hub-page .btn-primary {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55;
}
.viktor-soft-page .hub-page .btn-outline-secondary, .viktor-soft-page .hub-page .btn-outline-primary, .viktor-soft-page .hub-page .hub-admin-actions a {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .hub-page .btn-outline-secondary:hover, .viktor-soft-page .hub-page .btn-outline-primary:hover { color: var(--cv-blue) !important; }

/* Tabs & cards (overview/catalog) */
.viktor-soft-page .data-tabs a, .viktor-soft-page .hub-page .library-category, .viktor-soft-page .hub-page .library-categories a {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink) !important; text-decoration: none;
}
.viktor-soft-page .data-tabs a.is-active, .viktor-soft-page .data-tabs a:hover, .viktor-soft-page .data-tabs a[aria-current="page"],
.viktor-soft-page .hub-page .library-category.is-active, .viktor-soft-page .hub-page .library-category:hover, .viktor-soft-page .hub-page .library-categories a[aria-current="page"] {
  color: var(--cv-blue) !important; box-shadow: var(--cv-dn);
}
.viktor-soft-page .data-card, .viktor-soft-page .data-recent a, .viktor-soft-page .data-side-section.lb-tile,
.viktor-soft-page .data-reference-directory.lb-tile, .viktor-soft-page .data-bottom-banner.lb-tile {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important;
}
.viktor-soft-page .data-card .data-card-art, .viktor-soft-page .data-card-art {
  border-radius: 18px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); overflow: hidden;
}
.viktor-soft-page .data-card h3 a, .viktor-soft-page .data-recent a strong { color: var(--cv-ink); text-decoration: none; font-family: var(--cv-fd); }
.viktor-soft-page .data-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.viktor-soft-page .data-card p, .viktor-soft-page .data-recent small, .viktor-soft-page .data-card-footer { color: var(--cv-mu); }
.viktor-soft-page .data-category-list a, .viktor-soft-page .data-useful a { box-shadow: var(--cv-up-s); }
.viktor-soft-page .data-recent a { box-shadow: var(--cv-dn); padding: 14px 16px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.viktor-soft-page .data-tags a { padding: 6px 12px; }
.viktor-soft-page .data-reference-directory summary { cursor: pointer; color: var(--cv-ink); font-weight: 600; }
.viktor-soft-page .data-reference-directory nav a { color: var(--cv-mu); text-decoration: none; }
.viktor-soft-page .data-reference-directory nav a:hover { color: var(--cv-blue); }
.viktor-soft-page .data-hub-owl-guide { border: 0; border-radius: 18px; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink); text-decoration: none; }

/* Hub pages (index/category/resources/resource/matrix/sources/show/quiz) */
.viktor-soft-page .hub-page { width: min(1160px, 100% - 40px) !important; max-width: 1160px !important; margin: 0 auto; padding: 0 0 48px !important; }
.viktor-soft-page .hub-page.container { padding-left: 0; padding-right: 0; }
.viktor-soft-page .hub-page .card, .viktor-soft-page .hub-page .hub-reference-card, .viktor-soft-page .hub-page .hub-reference-section,
.viktor-soft-page .hub-page .hub-reference-filters, .viktor-soft-page .hub-page .hub-reference-nav-collapse, .viktor-soft-page .hub-page .hub-catalog-filters,
.viktor-soft-page .hub-page .discipline-facets, .viktor-soft-page .hub-page .library-filters, .viktor-soft-page .hub-page .library-catalog-heading,
.viktor-soft-page .hub-page .hub-search-results, .viktor-soft-page .hub-page article.card {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .hub-page .card.card-body { padding: 20px; }
.viktor-soft-page .hub-page .hub-reference-card-top .hub-reference-type,
.viktor-soft-page .hub-page .hub-reference-status, .viktor-soft-page .hub-page .badge {
  border: 0; border-radius: 999px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-mu); font-weight: 600;
}
.viktor-soft-page .hub-page .hub-reference-status.is-identified { color: #1c7a45; }
[data-theme="dark"] .viktor-soft-page .hub-page .hub-reference-status.is-identified { color: #4be3a0; }
.viktor-soft-page .hub-page .hub-reference-link, .viktor-soft-page .hub-page .hub-reference-nav a,
.viktor-soft-page .hub-page .hub-discovery-nav a, .viktor-soft-page .hub-page .hub-reference-details summary,
.viktor-soft-page .hub-page .hub-reference-filters summary {
  border: 0; border-radius: 14px; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink); text-decoration: none;
}
.viktor-soft-page .hub-page .hub-reference-link:hover, .viktor-soft-page .hub-page .hub-reference-nav a:hover { color: var(--cv-blue); box-shadow: var(--cv-dn); }
.viktor-soft-page .hub-page .hub-reference-card h4, .viktor-soft-page .hub-page .hub-reference-card h5, .viktor-soft-page .hub-page .hub-reference-card .h5 { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .hub-page .hub-reference-notice, .viktor-soft-page .hub-page .hub-search-query { color: var(--cv-mu); }
.viktor-soft-page .hub-page .hub-reference-notice a, .viktor-soft-page .hub-page a { color: var(--cv-blue); }
.viktor-soft-page .hub-page .hub-reference-details, .viktor-soft-page .hub-page .hub-reference-filters { padding: 12px 14px; }
.viktor-soft-page .hub-page .hub-reference-details[open] summary, .viktor-soft-page .hub-page .hub-reference-filters[open] summary { box-shadow: var(--cv-dn); }
.viktor-soft-page .hub-page .form-control, .viktor-soft-page .hub-page .form-select, .viktor-soft-page .hub-page input, .viktor-soft-page .hub-page textarea, .viktor-soft-page .hub-page select {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .hub-page .form-control::placeholder, .viktor-soft-page .hub-page input::placeholder { color: var(--cv-mu); opacity: .9; }
.viktor-soft-page .hub-page .table-responsive, .viktor-soft-page .hub-page .hub-procurements-table {
  border: 0; border-radius: 20px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); overflow: hidden;
}
.viktor-soft-page .hub-page .table { color: var(--cv-ink); margin: 0; }
.viktor-soft-page .hub-page .table th, .viktor-soft-page .hub-page .table td { border-color: var(--cv-line); background: transparent; }
.viktor-soft-page .hub-page .table thead th { color: var(--cv-mu); font-weight: 600; }
.viktor-soft-page .hub-page .alert { border: 0; border-radius: 16px; box-shadow: var(--cv-dn); }
.viktor-soft-page .hub-page .alert-info, .viktor-soft-page .hub-page .alert-warning { background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-ink); }
.viktor-soft-page .hub-page .pagination, .viktor-soft-page .data-category-catalog .pagination { gap: 8px; }
.viktor-soft-page .hub-page .pagination .page-link, .viktor-soft-page .data-category-catalog .pagination .page-link, .viktor-soft-page .data-catalog-pagination .page-link, .viktor-soft-page .data-catalog-pagination a, .viktor-soft-page .data-catalog-pagination span {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; min-width: 40px; height: 40px; display: inline-grid; place-items: center;
}
.viktor-soft-page .hub-page .pagination .active .page-link, .viktor-soft-page .data-catalog-pagination .active span, .viktor-soft-page .data-catalog-pagination [aria-current="page"] { color: var(--cv-onb) !important; background: var(--cv-blue) !important; }
[data-theme="dark"] .viktor-soft-page .hub-page .pagination .active .page-link, [data-theme="dark"] .viktor-soft-page .data-catalog-pagination [aria-current="page"] { background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; }
.viktor-soft-page .hub-page .library-active-filters span, .viktor-soft-page .hub-page .library-link {
  border: 0; border-radius: 14px; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)); color: var(--cv-ink); text-decoration: none; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center;
}
.viktor-soft-page .hub-page .hub-reference-count { color: var(--cv-mu); }
.viktor-soft-page .hub-page .hub-money { font-family: var(--cv-fd); color: var(--cv-blue); }
.viktor-soft-page .hub-page fieldset.card { border: 0 !important; }
.viktor-soft-page .hub-page legend { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .hub-page label { color: var(--cv-mu); font-weight: 600; }
.viktor-soft-page .hub-page input[type="radio"] { accent-color: var(--cv-blue); box-shadow: none !important; }
@media (max-width: 720px) {
  .viktor-soft-page .data-hub-bento, .viktor-soft-page .data-category-catalog, .viktor-soft-page .hub-page { width: calc(100% - 24px) !important; }
}
/* ===== Library (index/show/read/compare) ===== */
.viktor-soft-page .library-page,
.viktor-soft-page .library-catalog,
.viktor-soft-page .library-bento,
.viktor-soft-page .disciplines-catalog,
.viktor-soft-page .disciplines-bento { background: transparent !important; color: var(--cv-ink); font-family: var(--cv-fb); }
.viktor-soft-page .library-page.library-bento,
.viktor-soft-page .disciplines-bento { width: min(1160px, 100% - 40px) !important; max-width: 1160px !important; margin: 0 auto; padding: 0 0 48px !important; }
.viktor-soft-page .library-page.library-book-page { width: min(1160px, 100% - 40px) !important; max-width: 1160px !important; margin: 0 auto; padding: 0 0 48px !important; }
.viktor-soft-page .library-breadcrumbs, .viktor-soft-page .lb-breadcrumbs { color: var(--cv-mu); font-size: 14px; margin: 8px 0 18px; }
.viktor-soft-page .library-breadcrumbs a, .viktor-soft-page .lb-breadcrumbs a { color: var(--cv-mu); text-decoration: none; }
.viktor-soft-page .library-breadcrumbs a:hover, .viktor-soft-page .lb-breadcrumbs a:hover { color: var(--cv-blue); }
.viktor-soft-page .library-breadcrumbs span[aria-hidden], .viktor-soft-page .lb-breadcrumbs span[aria-hidden] { opacity: .7; margin: 0 4px; }
.viktor-soft-page .library-page h1, .viktor-soft-page .library-page h2, .viktor-soft-page .library-page h3, .viktor-soft-page .library-page h4 { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .library-page p, .viktor-soft-page .library-page .lb-intro, .viktor-soft-page .library-page .text-muted, .viktor-soft-page .library-page .library-results, .viktor-soft-page .library-page .lb-eyebrow, .viktor-soft-page .library-page .library-eyebrow { color: var(--cv-mu); }
.viktor-soft-page .library-page a { color: var(--cv-blue); }
.viktor-soft-page .library-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--cv-focus); outline-offset: 3px; }

/* Bento tiles & layout (library/disciplines) */
.viktor-soft-page .library-page .lb-tile,
.viktor-soft-page .library-page .lb-book-list,
.viktor-soft-page .library-page .lb-empty,
.viktor-soft-page .library-page .library-filters,
.viktor-soft-page .library-page .discipline-search-form {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .library-page .lb-tile { padding: 18px 20px; }
.viktor-soft-page .library-page .lb-count-tile strong { color: var(--cv-blue); font: 500 40px/1 var(--cv-fd); }
[data-theme="dark"] .viktor-soft-page .library-page .lb-count-tile strong { text-shadow: 0 0 14px #41f0ec66; }
.viktor-soft-page .library-page .lb-tile-label { color: var(--cv-mu); font-size: 13px; margin: 0 0 8px; }
.viktor-soft-page .library-page .lb-search-input,
.viktor-soft-page .library-page .library-search-input {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-dn) !important;
  background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; display: flex; align-items: center; gap: 8px; padding: 10px 14px;
}
.viktor-soft-page .library-page .lb-search-input input,
.viktor-soft-page .library-page .library-search-input input {
  background: transparent !important; border: 0 !important; color: var(--cv-ink) !important; box-shadow: none !important; width: 100%; font: 500 16px var(--cv-fb);
}
.viktor-soft-page .library-page .lb-search-input input::placeholder,
.viktor-soft-page .library-page .library-search-input input::placeholder { color: var(--cv-mu); opacity: .9; }
.viktor-soft-page .library-page .lb-submit, .viktor-soft-page .library-page .library-button,
.viktor-soft-page .library-page .library-action, .viktor-soft-page .library-page .library-action--primary,
.viktor-soft-page .library-page .btn-primary {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: var(--cv-blue) !important; color: var(--cv-onb) !important; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; cursor: pointer;
}
[data-theme="dark"] .viktor-soft-page .library-page .lb-submit,
[data-theme="dark"] .viktor-soft-page .library-page .library-button,
[data-theme="dark"] .viktor-soft-page .library-page .library-action--primary,
[data-theme="dark"] .viktor-soft-page .library-page .btn-primary {
  background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; box-shadow: var(--cv-up-s), 0 0 18px #41f0ec55;
}
.viktor-soft-page .library-page .lb-reset, .viktor-soft-page .library-page .lb-clear, .viktor-soft-page .library-page .library-action:not(.library-action--primary),
.viktor-soft-page .library-page .lb-book-open, .viktor-soft-page .library-page .library-book__open, .viktor-soft-page .library-page .library-link,
.viktor-soft-page .library-page .btn-outline-primary, .viktor-soft-page .library-page .btn-outline-secondary {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px;
}
.viktor-soft-page .library-page .lb-book-open, .viktor-soft-page .library-page .library-book__open, .viktor-soft-page .library-page .lb-reset { color: var(--cv-blue) !important; }
.viktor-soft-page .library-page .lb-submit:hover, .viktor-soft-page .library-page .library-button:hover, .viktor-soft-page .library-page .lb-book-open:hover, .viktor-soft-page .library-page .library-action:hover { filter: brightness(1.02); }
.viktor-soft-page .library-page .lb-submit:active, .viktor-soft-page .library-page .library-button:active, .viktor-soft-page .library-page .library-action:active, .viktor-soft-page .library-page .lb-type:active { box-shadow: var(--cv-dn) !important; }
.viktor-soft-page .library-page .lb-types, .viktor-soft-page .library-page .library-categories { display: flex; flex-wrap: wrap; gap: 10px; }
.viktor-soft-page .library-page .lb-type, .viktor-soft-page .library-page .lb-sort-tile a, .viktor-soft-page .library-page .library-category, .viktor-soft-page .library-page .lb-active-filters a {
  border: 0 !important; border-radius: 16px !important; box-shadow: var(--cv-up-s) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none; padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px;
}
.viktor-soft-page .library-page .lb-type[aria-current="true"], .viktor-soft-page .library-page .lb-type:hover,
.viktor-soft-page .library-page .lb-sort-tile a[aria-current="true"], .viktor-soft-page .library-page .lb-sort-tile a:hover,
.viktor-soft-page .library-page .library-category.is-active, .viktor-soft-page .library-page .library-category:hover { color: var(--cv-blue) !important; box-shadow: var(--cv-dn) !important; }
.viktor-soft-page .library-page .lb-type-count { color: var(--cv-mu); font-weight: 600; }
.viktor-soft-page .library-page .lb-book-list { padding: 8px; }
.viktor-soft-page .library-page .lb-book, .viktor-soft-page .library-page .library-book {
  border: 0 !important; border-bottom: 1px solid var(--cv-line) !important; border-radius: 18px; background: transparent !important; box-shadow: none !important; padding: 16px; gap: 16px;
}
.viktor-soft-page .library-page .lb-book:last-child { border-bottom: 0 !important; }
.viktor-soft-page .library-page .lb-book:hover, .viktor-soft-page .library-page .library-book:hover { box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; }
.viktor-soft-page .library-page .library-book__cover, .viktor-soft-page .library-page .lb-book .mb-cover, .viktor-soft-page .library-page .lb-book > a:first-child {
  border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); overflow: hidden; display: block;
}
.viktor-soft-page .library-page .library-book__cover img, .viktor-soft-page .library-page .mb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viktor-soft-page .library-page .library-book__title a, .viktor-soft-page .library-page .lb-book-copy h3 a { color: var(--cv-ink); text-decoration: none; font-family: var(--cv-fd); }
.viktor-soft-page .library-page .library-book__title a:hover, .viktor-soft-page .library-page .lb-book-copy h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.viktor-soft-page .library-page .library-book__meta, .viktor-soft-page .library-page .library-book__excerpt, .viktor-soft-page .library-page .lb-book-meta, .viktor-soft-page .library-page .lb-book-type { color: var(--cv-mu); }
.viktor-soft-page .library-page .lb-pagination, .viktor-soft-page .library-page .library-pagination { margin-top: 18px; }
.viktor-soft-page .library-page .lb-pagination a, .viktor-soft-page .library-page .lb-pagination span,
.viktor-soft-page .library-page .pagination .page-link {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; min-width: 40px; height: 40px; display: inline-grid; place-items: center; text-decoration: none;
}
.viktor-soft-page .library-page .lb-pagination [aria-current="page"], .viktor-soft-page .library-page .pagination .active .page-link { color: var(--cv-onb) !important; background: var(--cv-blue) !important; }
[data-theme="dark"] .viktor-soft-page .library-page .lb-pagination [aria-current="page"], [data-theme="dark"] .viktor-soft-page .library-page .pagination .active .page-link { background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; }
.viktor-soft-page .library-page .lb-active-filters span { color: var(--cv-mu); }
.viktor-soft-page .library-page .lb-live-status { color: var(--cv-mu); }
.viktor-soft-page .library-page .lb-empty { padding: 24px; text-align: center; }
.viktor-soft-page .library-page .library-book-jacket { border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-ink); min-height: 100%; }
.viktor-soft-page .library-page .library-book-jacket__label, .viktor-soft-page .library-page .library-book-jacket__author, .viktor-soft-page .library-page .library-book-jacket__brand { color: var(--cv-mu); }
.viktor-soft-page .library-page .library-book-jacket__title { color: var(--cv-ink); font-family: var(--cv-fd); }

/* Library detail/show */
.viktor-soft-page .library-detail {
  border: 0 !important; border-radius: 28px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; padding: 24px; gap: 24px;
}
.viktor-soft-page .library-detail__visual, .viktor-soft-page .library-detail__cover {
  border-radius: 20px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); overflow: hidden;
}
.viktor-soft-page .library-detail__cover img { width: 100%; height: auto; display: block; }
.viktor-soft-page .library-detail__caption { color: var(--cv-mu); font-size: 13px; margin-top: 8px; display: block; }
.viktor-soft-page .library-detail__author, .viktor-soft-page .library-detail__description, .viktor-soft-page .library-meta-list, .viktor-soft-page .library-meta-list li { color: var(--cv-mu); }
.viktor-soft-page .library-meta-list { margin: 14px 0; padding-left: 18px; }
.viktor-soft-page .library-detail__actions, .viktor-soft-page .library-book-page__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.viktor-soft-page .library-topics, .viktor-soft-page .library-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.viktor-soft-page .library-topics span, .viktor-soft-page .library-topics__list span, .viktor-soft-page .library-topics li {
  border: 0; border-radius: 999px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-mu); padding: 6px 12px; list-style: none; font-size: 13px; font-weight: 600;
}
.viktor-soft-page .library-description, .viktor-soft-page .library-normative, .viktor-soft-page .library-compare-links, .viktor-soft-page .library-book-page .card, .viktor-soft-page .library-book-page .alert {
  border: 0 !important; border-radius: 20px !important; box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink); padding: 18px; margin-top: 16px;
}
.viktor-soft-page .library-description p, .viktor-soft-page .library-normative p, .viktor-soft-page .library-normative li { color: var(--cv-mu); }
.viktor-soft-page .library-normative h2, .viktor-soft-page .library-normative h3 { font-family: var(--cv-fd); color: var(--cv-ink); margin-top: 0; }
.viktor-soft-page .library-page .alert { border: 0; border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-ink); }

/* Library compare */
.viktor-soft-page .library-compare__heading, .viktor-soft-page .library-compare-form, .viktor-soft-page .library-compare__notice,
.viktor-soft-page .library-compare-table, .viktor-soft-page .library-compare-results, .viktor-soft-page .library-compare-empty {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important;
  background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink); padding: 20px; margin-bottom: 16px;
}
.viktor-soft-page .library-compare__notice { box-shadow: var(--cv-dn) !important; color: var(--cv-mu); }
.viktor-soft-page .library-compare-form .form-control, .viktor-soft-page .library-compare-form .form-select, .viktor-soft-page .library-compare-form select, .viktor-soft-page .library-compare-form input,
.viktor-soft-page .discipline-search-form .form-control, .viktor-soft-page .discipline-search-form .form-select, .viktor-soft-page .discipline-search-form select {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .library-compare-form label { color: var(--cv-mu); font-weight: 600; }
.viktor-soft-page .library-compare-table { overflow-x: auto; }
.viktor-soft-page .library-compare-table table { width: 100%; border-collapse: separate; border-spacing: 0; }
.viktor-soft-page .library-compare-table th, .viktor-soft-page .library-compare-table td { border-bottom: 1px solid var(--cv-line); padding: 12px 14px; color: var(--cv-ink); vertical-align: top; }
.viktor-soft-page .library-compare-table th { color: var(--cv-mu); font-family: var(--cv-fd); font-weight: 500; }
.viktor-soft-page .library-compare-table tr:last-child td, .viktor-soft-page .library-compare-table tr:last-child th { border-bottom: 0; }
.viktor-soft-page .library-compare-table .is-different { background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); box-shadow: inset 0 0 0 1px var(--cv-line); }
.viktor-soft-page .library-inline-form { margin: 0; }

/* Disciplines index/show */
.viktor-soft-page .disciplines-catalog .lb-discovery,
.viktor-soft-page .disciplines-bento .lb-discovery { align-items: stretch; }
.viktor-soft-page .disciplines-catalog .lb-search-tile,
.viktor-soft-page .disciplines-bento .lb-search-tile { display: flex; flex-direction: column; gap: 12px; }
.viktor-soft-page .disciplines-catalog .discipline-direction-filter,
.viktor-soft-page .disciplines-catalog select {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important; padding: 10px 14px; width: 100%;
}
.viktor-soft-page .disciplines-catalog .discipline-search-form { display: grid; gap: 12px; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
.viktor-soft-page .discipline-card, .viktor-soft-page .discipline-simple-card, .viktor-soft-page .disciplines-detail .library-detail,
.viktor-soft-page .discipline-hero, .viktor-soft-page .discipline-stats, .viktor-soft-page .discipline-themes, .viktor-soft-page .discipline-children,
.viktor-soft-page .discipline-courses, .viktor-soft-page .discipline-symbol-highlight, .viktor-soft-page .discipline-references-card {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .discipline-card, .viktor-soft-page .discipline-simple-card { padding: 18px; }
.viktor-soft-page .discipline-card__direction, .viktor-soft-page .discipline-simple-card__direction, .viktor-soft-page .discipline-hero__direction { color: var(--cv-mu); font-size: 13px; font-weight: 600; }
.viktor-soft-page .discipline-card__title a, .viktor-soft-page .discipline-simple-card__title a { color: var(--cv-ink); text-decoration: none; font-family: var(--cv-fd); }
.viktor-soft-page .discipline-card__title a:hover, .viktor-soft-page .discipline-simple-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.viktor-soft-page .discipline-card__description, .viktor-soft-page .discipline-simple-card__description, .viktor-soft-page .discipline-hero__description { color: var(--cv-mu); }
.viktor-soft-page .discipline-cover { border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-ink); padding: 18px; min-height: 100%; display: flex; flex-direction: column; gap: 8px; }
.viktor-soft-page .discipline-cover__direction, .viktor-soft-page .discipline-cover__brand { color: var(--cv-mu); font-size: 13px; }
.viktor-soft-page .discipline-cover strong { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .discipline-hero, .viktor-soft-page .discipline-stats, .viktor-soft-page .discipline-themes, .viktor-soft-page .discipline-children, .viktor-soft-page .discipline-courses, .viktor-soft-page .discipline-symbol-highlight { padding: 22px; margin-bottom: 16px; }
.viktor-soft-page .discipline-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.viktor-soft-page .discipline-stats__item { border: 0; border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); padding: 14px; }
.viktor-soft-page .discipline-stats__item strong { color: var(--cv-blue); font: 500 28px/1 var(--cv-fd); display: block; }
[data-theme="dark"] .viktor-soft-page .discipline-stats__item strong { text-shadow: 0 0 12px #41f0ec66; }
.viktor-soft-page .discipline-stats__item span { color: var(--cv-mu); font-size: 13px; }
.viktor-soft-page .discipline-themes ol, .viktor-soft-page .discipline-themes ul { margin: 0; padding-left: 20px; color: var(--cv-mu); }
.viktor-soft-page .discipline-themes li { margin: 6px 0; }
.viktor-soft-page .discipline-children__grid, .viktor-soft-page .discipline-children__list { display: grid; gap: 14px; }
.viktor-soft-page .discipline-references-card a, .viktor-soft-page .discipline-symbol-highlight a, .viktor-soft-page .disciplines-detail .library-link, .viktor-soft-page .disciplines-detail .library-action { text-decoration: none; }

/* Discipline references */
.viktor-soft-page .author-publications-page.food-references { width: min(1160px, 100% - 40px) !important; max-width: 1160px !important; margin: 0 auto; padding: 0 0 48px !important; }
.viktor-soft-page .food-references .author-publications__hero,
.viktor-soft-page .food-references .library-filters,
.viktor-soft-page .food-references .food-references__section,
.viktor-soft-page .food-references .food-references__group,
.viktor-soft-page .food-references .hub-reference-card,
.viktor-soft-page .food-references .card {
  border: 0 !important; border-radius: 24px !important; box-shadow: var(--cv-up) !important; background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink);
}
.viktor-soft-page .food-references .author-publications__hero { padding: 22px; margin-bottom: 16px; }
.viktor-soft-page .food-references .author-publications__eyebrow, .viktor-soft-page .food-references .library-results, .viktor-soft-page .food-references p, .viktor-soft-page .food-references .hub-reference-notice { color: var(--cv-mu); }
.viktor-soft-page .food-references .hub-reference-card, .viktor-soft-page .food-references .food-reference-card { padding: 18px; margin-bottom: 14px; }
.viktor-soft-page .food-references .hub-reference-card h3, .viktor-soft-page .food-references .hub-reference-card h4, .viktor-soft-page .food-references .food-reference-card__title { font-family: var(--cv-fd); color: var(--cv-ink); }
.viktor-soft-page .food-references .hub-reference-type, .viktor-soft-page .food-references .hub-reference-status, .viktor-soft-page .food-references .badge {
  border: 0; border-radius: 999px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); color: var(--cv-mu); padding: 4px 10px; font-weight: 600; font-size: 12px;
}
.viktor-soft-page .food-references .hub-reference-link, .viktor-soft-page .food-references .library-button, .viktor-soft-page .food-references .btn {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-up-s); background: linear-gradient(145deg, var(--cv-g1), var(--cv-g2)) !important; color: var(--cv-ink) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
}
.viktor-soft-page .food-references .btn-primary, .viktor-soft-page .food-references .library-button[type="submit"] { background: var(--cv-blue) !important; color: var(--cv-onb) !important; }
[data-theme="dark"] .viktor-soft-page .food-references .btn-primary, [data-theme="dark"] .viktor-soft-page .food-references .library-button[type="submit"] { background-image: linear-gradient(145deg, #6ff7f3, #27c9c6) !important; color: #03171d !important; }
.viktor-soft-page .food-references .form-control, .viktor-soft-page .food-references .form-select, .viktor-soft-page .food-references input, .viktor-soft-page .food-references select {
  border: 0 !important; border-radius: 14px !important; box-shadow: var(--cv-dn) !important; background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)) !important; color: var(--cv-ink) !important;
}
.viktor-soft-page .food-references details { border: 0; border-radius: 16px; box-shadow: var(--cv-dn); background: linear-gradient(145deg, var(--cv-g2), var(--cv-g1)); padding: 10px 14px; }
.viktor-soft-page .food-references summary { cursor: pointer; color: var(--cv-ink); font-weight: 600; }
@media (max-width: 720px) {
  .viktor-soft-page .library-page.library-bento, .viktor-soft-page .disciplines-bento, .viktor-soft-page .library-page.library-book-page, .viktor-soft-page .author-publications-page.food-references { width: calc(100% - 24px) !important; }
  .viktor-soft-page .library-detail { padding: 16px; }
}

/* ===== /courses prototype-aligned layout (Viktor soft, server-rendered) ===== */
.courses-viktor .chero{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;margin:18px 0 34px}
.courses-viktor .chero .bt.h,.courses-viktor .cv-hero-card{padding:32px;display:flex;flex-direction:row;gap:22px;align-items:center}
.courses-viktor .bt{border-radius:26px;padding:24px;display:flex;flex-direction:column;gap:10px;text-decoration:none;min-width:0;position:relative;transition:box-shadow .2s,transform .2s}
.courses-viktor .bt.sf{background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));box-shadow:var(--cv-up);color:var(--cv-ink)}
.courses-viktor .bt.pp{background:var(--cv-paper);color:var(--cv-pk);box-shadow:var(--cv-up-s)}
[data-theme="dark"] .courses-viktor .bt.pp{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6}
.courses-viktor .bt.pp h1,.courses-viktor .bt.pp p{color:inherit}
.courses-viktor .bt p{margin:0;font-size:16.5px;color:var(--cv-mu)}
.courses-viktor .bt.pp p{color:inherit;opacity:.92}
.courses-viktor .chero h1{font:500 clamp(28px,3.8vw,46px)/1.12 var(--cv-fd);margin:0 0 8px;max-width:none;color:inherit}
.courses-viktor .pic{width:68px;height:68px;border-radius:20px;box-shadow:var(--cv-dn);display:grid;place-items:center;font-size:30px;color:var(--cv-blue);flex:none;background:var(--cv-paper2)}
[data-theme="dark"] .courses-viktor .pic{background-image:linear-gradient(145deg,var(--cv-g2),var(--cv-g1));color:var(--cv-blue)}
.courses-viktor .cstat{display:grid;gap:24px}
.courses-viktor .cstat .bt{padding:18px 24px;flex-direction:row;align-items:center;gap:16px}
.courses-viktor .big{font:500 clamp(34px,3.6vw,46px)/1 var(--cv-fd);color:var(--cv-blue)}
[data-theme="dark"] .courses-viktor .big{text-shadow:0 0 14px #41f0ec88}
.courses-viktor .cstat p{margin:0;color:var(--cv-mu)}
.courses-viktor .cv-text.big,.courses-viktor .cstat .big.cv-text{font:600 clamp(18px,2vw,24px)/1.2 var(--cv-fb);letter-spacing:0}

.courses-viktor .play{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;align-items:start}
.courses-viktor .row.cv-row-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin:0 0 4px}
.courses-viktor h2.t{font:500 clamp(22px,2.6vw,30px)/1.2 var(--cv-fd);margin:0;color:var(--cv-ink)}
.courses-viktor .cnt{color:var(--cv-mu);font-size:14.5px}
.courses-viktor .cnt b{color:var(--cv-ink)}

.courses-viktor .cgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:20px}
.courses-viktor #platforms-grid { gap: 12px; margin-top: 14px; }
.courses-viktor #platforms-grid .learning-platforms-page__card {
  padding: 12px !important;
  border-radius: 18px !important;
  box-shadow: var(--cv-up-s) !important;
  gap: 8px;
}
.courses-viktor #platforms-grid .courses-card-visual {
  aspect-ratio: auto;
  height: 76px;
  min-height: 0;
  margin: 0;
  padding-inline: 8px;
  border-radius: 12px;
  justify-items: end;
}
.courses-viktor #platforms-grid .courses-card-visual__label {
  top: 8px;
  left: 8px;
  max-width: calc(100% - 66px);
  padding: 5px 7px;
  border-radius: 6px;
  font: 650 .75rem/1.3 var(--cv-fb);
  overflow-wrap: anywhere;
}
.courses-viktor #platforms-grid .courses-card-visual :is(.learning-platforms-page__logo, .courses-platform-mark) {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 5px;
  border-radius: 12px;
  font-size: 15px;
}
.courses-viktor #platforms-grid .courses-card-visual .learning-platforms-page__logo img { padding: 0; }
.courses-viktor #platforms-grid .pc :is(.meta, h3, .d, .pc-course-count, .tgs) { margin-inline: 2px; }
.courses-viktor #platforms-grid .pc h3 { font: 700 .9375rem/1.35 var(--cv-fb); overflow-wrap: anywhere; }
.courses-viktor #platforms-grid .pc .d { font-size: .875rem; line-height: 1.45; }
.courses-viktor #platforms-grid .tgs { gap: 5px; }
.courses-viktor #platforms-grid .tgs li { padding: 2px 8px; overflow-wrap: anywhere; }
.courses-viktor #platforms-grid .acts { gap: 8px; padding: 8px 2px 0; }
.courses-viktor #platforms-grid .acts .nb { min-height: 44px; padding: 6px 10px; font-size: .8125rem; }
.courses-viktor .pc,.courses-viktor .learning-platforms-page__card.pc{border:0 !important;border-radius:32px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2)) !important;box-shadow:var(--cv-up) !important;padding:16px !important;display:flex;flex-direction:column;gap:12px;min-width:0;height:auto}
.courses-viktor .pc:hover{transform:translateY(-3px)}
.courses-viktor .shot{position:relative;height:128px;border-radius:22px;box-shadow:var(--cv-dn);background:linear-gradient(145deg,var(--cv-g2),var(--cv-g1));display:grid;place-items:center;overflow:hidden;margin:0}
.courses-viktor .bdg{position:absolute;left:12px;top:12px;z-index:2;background:var(--cv-paper);color:var(--cv-pk);font:500 11.5px/1 var(--cv-fd);padding:7px 12px;border-radius:10px 10px 10px 3px;max-width:calc(100% - 24px)}
[data-theme="dark"] .courses-viktor .bdg{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6;box-shadow:0 0 0 1px #41f0ec4d,0 4px 10px #0007}
.courses-viktor .mono,.courses-viktor .mono-wrap{width:76px;height:76px;border-radius:22px;display:grid;place-items:center;font:600 26px var(--cv-fd);color:var(--cv-blue);box-shadow:var(--cv-up-s);background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));overflow:hidden}
.courses-viktor .mono-wrap img{width:100%;height:100%;object-fit:contain;padding:10px;display:block}
.courses-viktor .pc .meta{margin:4px 6px 0;font-size:12.5px;font-weight:700;color:var(--cv-mu);letter-spacing:.03em;text-transform:uppercase}
.courses-viktor .pc h3{font:500 18px/1.3 var(--cv-fd);margin:0 6px;color:var(--cv-ink)}
.courses-viktor .pc h3 a{color:inherit;text-decoration:none}
.courses-viktor .pc h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.courses-viktor .pc .d{margin:0 6px;font-size:14.5px;color:var(--cv-mu);line-height:1.55}
.courses-viktor .pc-course-count{margin:0 6px;font-size:13px;color:var(--cv-mu)}
.courses-viktor .tgs{display:flex;flex-wrap:wrap;gap:8px;margin:2px 6px 4px;padding:0;list-style:none}
.courses-viktor .tgs li{font-size:12.5px;font-weight:600;padding:3px 12px;border-radius:999px;box-shadow:var(--cv-dn);color:var(--cv-ink);background:linear-gradient(145deg,var(--cv-g2),var(--cv-g1))}
.courses-viktor .acts{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto;padding:12px 4px 2px;border-top:1px solid var(--cv-line)}
.courses-viktor .acts .nb{height:auto;min-height:42px;font-size:14px;padding:8px 16px;border-radius:14px}
.courses-viktor .acts .nb:first-child{color:var(--cv-blue)}

.courses-viktor .nb{min-width:46px;height:46px;padding:0 16px;border:0;border-radius:15px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));color:var(--cv-ink);box-shadow:var(--cv-up-s);font:600 15px var(--cv-fb);cursor:pointer;text-decoration:none;display:inline-grid;place-items:center;transition:box-shadow .15s,color .15s}
.courses-viktor .nb:hover{color:var(--cv-blue)}
.courses-viktor .nb:active{box-shadow:var(--cv-dn)}
.courses-viktor .nb.main{color:var(--cv-blue);font-weight:700}
[data-theme="dark"] .courses-viktor .nb.main{background-image:linear-gradient(145deg,#6ff7f3,#27c9c6);box-shadow:var(--cv-up-s),0 0 20px #41f0ec55;color:#03171d}
.courses-viktor .btn-p{display:inline-block;padding:13px 22px;border-radius:15px;background:var(--cv-pk);color:var(--cv-paper);font-weight:700;text-decoration:none;box-shadow:var(--cv-up-s)}
[data-theme="dark"] .courses-viktor .btn-p{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6;box-shadow:var(--cv-up-s),0 0 0 1px #41f0ec4d}

.courses-viktor .more-t{margin-top:26px;border-radius:6px 28px 28px 28px;background:var(--cv-paper);color:var(--cv-pk);padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;box-shadow:var(--cv-up-s)}
[data-theme="dark"] .courses-viktor .more-t{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6}
.courses-viktor .more-t b{font:500 17px var(--cv-fd)}
.courses-viktor .more-t p{margin:4px 0 0;opacity:.92}
.courses-viktor .cnone{padding:24px 0 4px}
.courses-viktor .cnone p{margin:0 0 14px;color:var(--cv-mu)}

.courses-viktor .side{position:sticky;top:96px;display:grid;gap:26px;min-width:0}
.courses-viktor .sbox{border-radius:24px;box-shadow:var(--cv-up);padding:20px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2))}
.courses-viktor .sbox h2{font:500 15px var(--cv-fd);margin:0 0 14px;color:var(--cv-ink)}
.courses-viktor .courses-search-box { padding: clamp(12px, 2vw, 18px); }
.courses-viktor .search.courses-search-form { display: block; margin: 0; max-width: none; }
.courses-viktor .courses-search-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 8px; }
.courses-viktor .courses-search-row label {
  min-width: 0;
  margin: 0;
  padding-inline: 11px;
  border-radius: 13px;
  background: var(--cv-bg);
  box-shadow: var(--cv-dn);
}
.courses-viktor .courses-search-row input {
  width: 100%;
  height: 46px;
  border: 0;
  padding: 0;
  background: transparent !important;
  color: var(--cv-ink);
  font: 500 1rem var(--cv-fb);
}
.courses-viktor .courses-search-row input::placeholder { color: var(--cv-mu); }
.courses-viktor .courses-search-row button { padding: 0; font-size: 1.25rem; }
.courses-viktor .courses-search-filters { margin-top: 10px; }
.courses-viktor .courses-search-filters summary {
  padding: 6px 0;
  color: var(--cv-ink);
  font: 650 .875rem/1.4 var(--cv-fb);
  cursor: pointer;
}
.courses-viktor .courses-directions summary { padding-block: 2px; }
.courses-viktor .courses-directions[open] summary { margin-bottom: 10px; }
.courses-viktor .fl-lbl{display:block;font:500 12.5px var(--cv-fd);color:var(--cv-mu);margin:16px 0 8px}
.courses-viktor .cform .search{display:block;margin:0;max-width:none}
.courses-viktor .cform .search label{display:block;flex:1;padding:0 14px;border-radius:16px;box-shadow:var(--cv-dn);background:linear-gradient(145deg,var(--cv-g2),var(--cv-g1))}
.courses-viktor .cform .search input{width:100%;height:46px;border:0;background:none;color:var(--cv-ink);font:500 15px var(--cv-fb)}
.courses-viktor .cform .search input:focus{outline:0}
.courses-viktor .cform .search label:focus-within{outline:3px solid var(--cv-focus);outline-offset:3px}
.courses-viktor .cv-select{width:100%;margin:0;height:46px;border:0;border-radius:14px;box-shadow:var(--cv-dn);background:linear-gradient(145deg,var(--cv-g2),var(--cv-g1));color:var(--cv-ink);padding:0 14px;font:600 14.5px var(--cv-fb);appearance:auto}
.courses-viktor .fbtns{display:flex;gap:12px;margin-top:18px}
.courses-viktor .fbtns .nb{flex:1;height:46px}
.courses-viktor .cats{list-style:none;margin:0;padding:0;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));box-shadow:var(--cv-dn);border-radius:16px;overflow:hidden}
.courses-viktor .cats li+li{border-top:1px solid var(--cv-line)}
.courses-viktor .cats .dir-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border:0;background:none;color:var(--cv-ink);font:600 14.5px var(--cv-fb);text-decoration:none}
.courses-viktor .cats .dir-link:hover{background:var(--cv-sh, #2229360d);color:var(--cv-blue)}
[data-theme="dark"] .courses-viktor .cats .dir-link:hover{background:#41f0ec14}
.courses-viktor .cats .dir-link.is-active,.courses-viktor .cats .dir-link[aria-current="true"]{background:var(--cv-blue);color:var(--cv-onb);box-shadow:inset 0 0 0 1px transparent}
[data-theme="dark"] .courses-viktor .cats .dir-link.is-active,[data-theme="dark"] .courses-viktor .cats .dir-link[aria-current="true"]{background-image:linear-gradient(145deg,#6ff7f3,#27c9c6);color:#03171d}

.courses-viktor .cv-courses-section{margin-top:40px}
.courses-viktor .cv-tags-box .tgs li{font-size:13px}
.courses-viktor .chero--detail .pic img{width:42px;height:42px;object-fit:contain;border-radius:10px}
.courses-viktor .cv-courses-grid{margin-top:20px}

@media(max-width:1020px){
  .courses-viktor .play{grid-template-columns:1fr}
  .courses-viktor .side{position:static}
}
@media(max-width:900px){
  .courses-viktor .chero{grid-template-columns:1fr}
  .courses-viktor .cstat{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .courses-viktor .cgrid{grid-template-columns:1fr}
  .courses-viktor .chero .bt.h,.courses-viktor .cv-hero-card{flex-direction:column;align-items:flex-start;padding:24px}
  .courses-viktor .cstat{grid-template-columns:1fr}
  .courses-viktor .more-t{padding:20px}
  .courses-viktor .acts{flex-direction:column}
  .courses-viktor .acts .nb{width:100%;justify-content:center}
}

@media (max-width: 720px) {
  [data-page="courses.index"] .courses-catalog-page { --courses-tile: #fff; }
  [data-theme="dark"] [data-page="courses.index"] .courses-catalog-page { --courses-tile: #102c39; }
  [data-page="courses.index"] .courses-catalog-page :is(.cv-crumbs, .cstat, .cv-hero-card p, .cv-hero-card .pic, .courses-search-filters) {
    display: none;
  }
  [data-page="courses.index"] .courses-catalog-page .chero { display: block; margin: 12px 0; }
  [data-page="courses.index"] .courses-catalog-page .chero .cv-hero-card {
    display: block;
    padding: 4px 0;
    background: none !important;
    box-shadow: none !important;
    text-align: center;
  }
  [data-page="courses.index"] .courses-catalog-page .cv-hero-card h1 {
    margin: 0;
    font: 650 21px/1.2 var(--cv-fb);
  }
  [data-page="courses.index"] .courses-catalog-page .play { gap: 16px; }
  [data-page="courses.index"] .courses-catalog-page .cv-sidebar { order: -1; }
  [data-page="courses.index"] .courses-catalog-page .courses-search-box {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  [data-page="courses.index"] .courses-catalog-page .courses-search-row {
    gap: 0;
    background: var(--courses-tile);
    border-radius: 14px;
  }
  [data-page="courses.index"] .courses-catalog-page .courses-search-row :is(label, button) {
    background: transparent !important;
    box-shadow: none !important;
  }
  [data-page="courses.index"] .courses-catalog-page .courses-search-row input { font-size: 16px; }
  [data-page="courses.index"] .courses-catalog-page #platforms-title { font: 650 16px/1.25 var(--cv-fb); }
  [data-page="courses.index"] .courses-catalog-page .cv-row-head { gap: 4px 12px; }
  [data-page="courses.index"] .courses-catalog-page .cv-row-head .cnt { font-size: 12px; }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .cnone { grid-column: 1 / -1; }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .pc {
    position: relative;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px !important;
    background: var(--courses-tile) !important;
    box-shadow: none !important;
    border-radius: 14px !important;
    text-align: center;
  }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .courses-card-visual {
    height: auto;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .pc :is(.courses-card-visual__label, .meta, .d, .tgs, .pc-course-count, .acts) {
    display: none;
  }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .pc h3 { font: 650 13px/1.3 var(--cv-fb); }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .pc h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
  }
  [data-page="courses.index"] .courses-catalog-page #platforms-grid .pc h3 a:focus-visible::after {
    outline: 2px solid var(--cv-focus);
    outline-offset: -2px;
  }
}

/* ===== Blog index (Viktor soft prototype-aligned, server-rendered) ===== */
.viktor-soft-page .blog-viktor{width:min(1160px,100% - 40px);max-width:1160px;margin:0 auto;padding:0 0 48px;color:var(--cv-ink);font:400 17px/1.6 var(--cv-fb)}
.viktor-soft-page .blog-viktor .cv-crumbs{margin:6px 0 0;color:var(--cv-mu);font-size:14.5px}
.viktor-soft-page .blog-viktor .cv-crumbs a{color:var(--cv-mu);text-decoration:none}
.viktor-soft-page .blog-viktor .cv-crumbs a:hover{color:var(--cv-blue)}
.viktor-soft-page .blog-viktor .bh{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;margin:22px 0 30px}
.viktor-soft-page .blog-viktor .bh .bt.h,.viktor-soft-page .blog-viktor .cv-hero-card{padding:34px;min-height:230px;display:flex;flex-direction:column;gap:10px;justify-content:flex-end;border-radius:26px;box-shadow:var(--cv-up-s)}
.viktor-soft-page .blog-viktor .bh .bt.pp{background:var(--cv-paper);color:var(--cv-pk)}
[data-theme="dark"] .viktor-soft-page .blog-viktor .bh .bt.pp{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6}
.viktor-soft-page .blog-viktor .bh h1{font:500 clamp(38px,6vw,72px)/1.05 var(--cv-fd);margin:12px 0 6px;color:inherit}
.viktor-soft-page .blog-viktor .bh .h p{font-size:17px;max-width:48ch;margin:0;color:inherit;opacity:.92}
.viktor-soft-page .blog-viktor .bst{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.viktor-soft-page .blog-viktor .bst .bt:last-child{grid-column:1/-1}
.viktor-soft-page .blog-viktor .bst .bt{padding:20px 22px;border-radius:24px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));box-shadow:var(--cv-up);display:flex;flex-direction:column;gap:6px}
.viktor-soft-page .blog-viktor .bst h3{font:500 15px var(--cv-fd);margin:0;color:var(--cv-mu)}
.viktor-soft-page .blog-viktor .bst .big{font:500 clamp(34px,3.6vw,48px)/1 var(--cv-fd);color:var(--cv-blue)}
[data-theme="dark"] .viktor-soft-page .blog-viktor .bst .big{text-shadow:0 0 14px #41f0ec88}
.viktor-soft-page .blog-viktor .bctl{display:flex;gap:16px;flex-wrap:wrap;align-items:center;border-radius:28px;box-shadow:var(--cv-up);padding:18px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));margin:0 0 8px}
.viktor-soft-page .blog-viktor .bctl .search{margin:0;flex:1 1 360px;max-width:none;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.viktor-soft-page .blog-viktor .bctl .search label{flex:1 1 260px;display:block}
.viktor-soft-page .blog-viktor .bctl input[type="search"]{width:100%;height:48px;border:0;border-radius:16px;box-shadow:var(--cv-dn);background:linear-gradient(145deg,var(--cv-g2),var(--cv-g1));color:var(--cv-ink);padding:0 16px;font:500 16px var(--cv-fb)}
.viktor-soft-page .blog-viktor .bctl .fnd{font-weight:700;color:var(--cv-mu);padding:0 8px;white-space:nowrap}
.viktor-soft-page .blog-viktor .bctl .fnd b{color:var(--cv-blue)}
.viktor-soft-page .blog-viktor .hint{font-size:13.5px;color:var(--cv-mu);margin:12px 6px 22px}
.viktor-soft-page .blog-viktor .tabs{display:flex;gap:6px;flex-wrap:wrap;padding-left:20px;position:relative;z-index:1}
.viktor-soft-page .blog-viktor .tab{border:0;padding:12px 22px;background:var(--cv-paper2);color:var(--cv-pk);border-radius:14px 14px 0 0;font:500 13.5px var(--cv-fd);cursor:pointer;position:relative;top:1px;opacity:.78;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.viktor-soft-page .blog-viktor .tab em{font:600 12px var(--cv-fb);font-style:normal;margin-left:8px;background:var(--cv-pk);color:var(--cv-paper);border-radius:9px;padding:1px 8px}
.viktor-soft-page .blog-viktor .tab[aria-current="page"],.viktor-soft-page .blog-viktor .tab[data-active="true"]{background:var(--cv-paper);opacity:1}
[data-theme="dark"] .viktor-soft-page .blog-viktor .tab{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6}
[data-theme="dark"] .viktor-soft-page .blog-viktor .tab em{background:#dff6f6;color:#08232d}
[data-theme="dark"] .viktor-soft-page .blog-viktor .tab[aria-current="page"],[data-theme="dark"] .viktor-soft-page .blog-viktor .tab[data-active="true"]{background-image:linear-gradient(160deg,#14485a,#0e3a49)}
.viktor-soft-page .blog-viktor .folder{background:var(--cv-paper);color:var(--cv-pk);border-radius:6px 22px 22px 22px;padding:30px;box-shadow:var(--cv-up);position:relative}
[data-theme="dark"] .viktor-soft-page .blog-viktor .folder{background-image:linear-gradient(160deg,#14485a,#0a2d3a);color:#dff6f6}
.viktor-soft-page .blog-viktor .folder .row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 4px}
.viktor-soft-page .blog-viktor .folder h2.t{font:500 22px/1.2 var(--cv-fd);margin:0;color:inherit}
.viktor-soft-page .blog-viktor .bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:20px}
.viktor-soft-page .blog-viktor .bp{border-radius:32px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));box-shadow:var(--cv-up);padding:26px;display:flex;flex-direction:column;gap:14px;min-width:0;color:var(--cv-ink)}
[data-theme="dark"] .viktor-soft-page .blog-viktor .bp{background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));color:var(--cv-ink)}
.viktor-soft-page .blog-viktor .bp .top2{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.viktor-soft-page .blog-viktor .rt{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--cv-mu)}
.viktor-soft-page .blog-viktor .rt .ic{width:28px;height:28px;border-radius:8px;font:600 12px var(--cv-fd);display:grid;place-items:center;background:var(--cv-blue);color:var(--cv-onb);box-shadow:var(--cv-up-s)}
[data-theme="dark"] .viktor-soft-page .blog-viktor .rt .ic{color:#03171d}
.viktor-soft-page .blog-viktor .new{font-size:12px;font-weight:700;padding:3px 12px;border-radius:999px;box-shadow:var(--cv-dn);color:var(--cv-blue);background:linear-gradient(145deg,var(--cv-g2),var(--cv-g1))}
.viktor-soft-page .blog-viktor .bp h2{font:500 clamp(16px,1.5vw,18px)/1.4 var(--cv-fd);margin:4px 0 0;color:var(--cv-ink)}
.viktor-soft-page .blog-viktor .bp h2 a{color:inherit;text-decoration:none}
.viktor-soft-page .blog-viktor .bp h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.viktor-soft-page .blog-viktor .bp p{margin:0;color:var(--cv-mu);font-size:15px}
.viktor-soft-page .blog-viktor .bp .ft{margin-top:auto;padding-top:14px;border-top:1px solid var(--cv-line);display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;color:var(--cv-mu);font-size:13.5px}
.viktor-soft-page .blog-viktor .bp-meta{font-size:13px;color:var(--cv-mu)}
.viktor-soft-page .blog-viktor .nb{min-width:46px;height:42px;padding:0 14px;border:0;border-radius:14px;background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));color:var(--cv-ink);box-shadow:var(--cv-up-s);font:600 14px var(--cv-fb);cursor:pointer;text-decoration:none;display:inline-grid;place-items:center}
.viktor-soft-page .blog-viktor .nb.main,.viktor-soft-page .blog-viktor .rd{color:var(--cv-blue)}
[data-theme="dark"] .viktor-soft-page .blog-viktor .nb.main{background-image:linear-gradient(145deg,#6ff7f3,#27c9c6);color:#03171d;box-shadow:var(--cv-up-s),0 0 18px #41f0ec55}
.viktor-soft-page .blog-viktor .bnone{padding:24px 0 4px}
.viktor-soft-page .blog-viktor .bnone p{margin:0 0 14px;color:var(--cv-mu)}
.viktor-soft-page .blog-viktor .pgn{margin:18px 0 0;color:var(--cv-mu);font-size:14px}
.viktor-soft-page .blog-viktor .blog-catalog-sa__pagination{margin-top:18px}
.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links{margin-top:10px}
.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links nav,.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links a,.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links span{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:14px;box-shadow:var(--cv-up-s);background:linear-gradient(145deg,var(--cv-g1),var(--cv-g2));color:var(--cv-ink);text-decoration:none}
.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links [aria-current="page"] span,.viktor-soft-page .blog-viktor .blog-catalog-sa__page-links .active span{color:var(--cv-blue);box-shadow:var(--cv-dn)}
.viktor-soft-page .blog-viktor .blog-search-status{margin-left:6px;color:var(--cv-mu)}
@media(max-width:980px){.viktor-soft-page .blog-viktor .bh{grid-template-columns:1fr}.viktor-soft-page .blog-viktor .bst{grid-template-columns:1fr 1fr}.viktor-soft-page .blog-viktor .bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.viktor-soft-page .blog-viktor{width:calc(100% - 24px)}.viktor-soft-page .blog-viktor .bst{grid-template-columns:1fr}.viktor-soft-page .blog-viktor .bgrid{grid-template-columns:1fr}.viktor-soft-page .blog-viktor .tabs{padding-left:0}.viktor-soft-page .blog-viktor .tab{border-radius:14px;top:0;opacity:1}.viktor-soft-page .blog-viktor .folder{border-radius:22px;padding:20px}.viktor-soft-page .blog-viktor .bh .bt.h,.viktor-soft-page .blog-viktor .cv-hero-card{min-height:0;padding:24px}.viktor-soft-page .blog-viktor .bh h1{font-size:clamp(34px,10vw,46px)}}

/* Baton (postyads) Viktor soft adjustments */
.viktor-soft-page .baton-catalog .bh-baton{margin-top:12px}
.viktor-soft-page .baton-catalog .baton-hero__copy.bt.pp.h{min-height:0}
.viktor-soft-page .baton-catalog .baton-toolbar.bctl{display:grid;gap:14px}
.viktor-soft-page .baton-catalog .baton-categories.tabs{padding-left:0}
.viktor-soft-page .baton-catalog .baton-grid.bgrid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.viktor-soft-page .baton-catalog .baton-grid-item{min-width:0}
.viktor-soft-page .baton-catalog .baton-card__cover-link{display:block;text-decoration:none}
.viktor-soft-page .baton-catalog .baton-card__placeholder{display:grid;place-items:center;height:100%;font-size:34px;color:var(--cv-blue)}
.viktor-soft-page .baton-catalog .baton-card__excerpt{color:var(--cv-mu);font-size:15px;margin:0}
.viktor-soft-page .baton-catalog .baton-search-status.fnd{padding:0}
/* Sitewide Viktor header moved to viktor-header.css (shared with author-publications) */
.wrap{width:min(1160px,100% - 40px);margin-inline:auto}
/* ===== Sitewide Viktor footer (footer.wrap.soft) ===== */
footer.wrap.soft {
  padding: 56px 0 40px;
  margin-top: 40px;
  color: var(--cv-ink, #222936);
}
footer.wrap.soft .lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 32px;
}
footer.wrap.soft .ios-t {
  margin: 22px 0 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cv-mu, #515c70);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--cv-fb, "Onest", system-ui, sans-serif);
}
footer.wrap.soft .ios {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cv-bg, #e2e6ef);
  box-shadow: var(--cv-up);
}
footer.wrap.soft .ios li + li { border-top: 1px solid var(--cv-line, #2229361f); }
footer.wrap.soft .ios a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  min-height: 54px;
  text-decoration: none;
  color: var(--cv-ink, #222936);
}
footer.wrap.soft .ios a:hover,
footer.wrap.soft .ios a:focus-visible {
  background: color-mix(in srgb, var(--cv-ink, #222936) 5%, transparent);
}
footer.wrap.soft .ios .tx { flex: 1; display: grid; min-width: 0; }
footer.wrap.soft .ios b { font-weight: 600; line-height: 1.35; }
footer.wrap.soft .chev { color: var(--cv-mu, #515c70); font-size: 24px; line-height: 1; }
footer.wrap.soft .soc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 14px;
}
footer.wrap.soft .soc a {
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: var(--cv-up-s);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cv-ink, #222936);
  background: linear-gradient(145deg, var(--cv-g1, #f0f3f9), var(--cv-g2, #d1d8e6));
}
footer.wrap.soft .soc a:hover,
footer.wrap.soft .soc a:focus-visible { box-shadow: var(--cv-dn); color: var(--cv-blue, #0b5fd1); }
footer.wrap.soft .legal {
  font-size: 13.5px;
  color: var(--cv-mu, #515c70);
  margin: 0;
  line-height: 1.6;
}
footer.wrap.soft .legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer.wrap.soft .legal a:hover { color: var(--cv-blue, #0b5fd1); }
footer.wrap.soft a:focus-visible {
  outline: 3px solid var(--cv-focus, #0b5fd1);
  outline-offset: 3px;
  border-radius: 12px;
}
@media (max-width: 767.98px) {
  footer.wrap.soft { padding: 40px 0 28px; margin-top: 28px; }
  footer.wrap.soft .lists { grid-template-columns: 1fr; gap: 8px 0; }
  footer.wrap.soft .soc a { padding: 10px 14px; }
}
body:not(.viktor-soft-page) footer.wrap.soft .ios {
  background: linear-gradient(145deg, var(--cv-g1, #f0f3f9), var(--cv-g2, #d1d8e6));
}
/* ===== Blog index mobile minimalist (courses-like, scoped) ===== */
@media (max-width: 720px) {
  [data-page="blog.index"] .wrap,
  [data-page="blog.category"] .wrap { --blog-tile: #fff; }
  [data-theme="dark"] [data-page="blog.index"] .wrap,
  [data-theme="dark"] [data-page="blog.category"] .wrap { --blog-tile: #102c39; }

  [data-page="blog.index"] .crumbs,
  [data-page="blog.category"] .crumbs,
  [data-page="blog.index"] .phead .lead,
  [data-page="blog.category"] .phead .lead,
  [data-page="blog.index"] .phead .pic,
  [data-page="blog.category"] .phead .pic,
  [data-page="blog.index"] .fc-sections,
  [data-page="blog.category"] .fc-sections,
  [data-page="blog.index"] .side,
  [data-page="blog.category"] .side,
  [data-page="blog.index"] .fc-about-links,
  [data-page="blog.category"] .fc-about-links,
  [data-page="blog.index"] .row .cnt,
  [data-page="blog.category"] .row .cnt { display: none !important; }

  [data-page="blog.index"] .phead,
  [data-page="blog.category"] .phead { display: block; margin: 12px 0; text-align: center; }
  [data-page="blog.index"] .phead h1,
  [data-page="blog.category"] .phead h1 { margin: 0; font: 650 21px/1.2 var(--cv-fb, "Onest", system-ui, sans-serif); }

  [data-page="blog.index"] .fc-calc-shell,
  [data-page="blog.category"] .fc-calc-shell { margin: 0 0 12px; padding: 0; background: none; box-shadow: none; }
  [data-page="blog.index"] .fc-calc-shell::before,
  [data-page="blog.category"] .fc-calc-shell::before { display: none; }
  [data-page="blog.index"] .fc-calc-head,
  [data-page="blog.category"] .fc-calc-head { display: none; }
  [data-page="blog.index"] .fc-calc-shell .fc-two,
  [data-page="blog.category"] .fc-calc-shell .fc-two { grid-template-columns: 1fr; gap: 8px; }
  [data-page="blog.index"] .fc-calc-shell .fc-field label,
  [data-page="blog.category"] .fc-calc-shell .fc-field label { display: none; }
  [data-page="blog.index"] .fc-calc-shell .fc-inp,
  [data-page="blog.category"] .fc-calc-shell .fc-inp { background: var(--blog-tile); box-shadow: none; border-radius: 14px; font-size: 16px; }
  [data-page="blog.index"] .fc-calc-actions,
  [data-page="blog.category"] .fc-calc-actions { display: flex; gap: 8px; }
  [data-page="blog.index"] .fc-calc-actions .nb,
  [data-page="blog.category"] .fc-calc-actions .nb { flex: 1; min-height: 44px; justify-content: center; }

  [data-page="blog.index"] .play,
  [data-page="blog.category"] .play { display: block; }
  [data-page="blog.index"] .row h2.t,
  [data-page="blog.category"] .row h2.t { font: 650 16px/1.25 var(--cv-fb, "Onest", system-ui, sans-serif); }

  [data-page="blog.index"] .fc-grid,
  [data-page="blog.category"] .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  [data-page="blog.index"] .fc-card,
  [data-page="blog.category"] .fc-card { position: relative; min-height: 112px; padding: 12px 8px; border-radius: 14px; background: var(--blog-tile); box-shadow: none; text-align: center; }
  [data-page="blog.index"] .fc-card .pcover,
  [data-page="blog.category"] .fc-card .pcover { aspect-ratio: auto; height: 52px; min-height: 52px; padding: 0; margin: 0 auto 8px; background: none !important; box-shadow: none; display: grid; place-items: center; }
  [data-page="blog.index"] .fc-card .fc-cover-inner,
  [data-page="blog.category"] .fc-card .fc-cover-inner { position: static; padding: 0; color: var(--cv-blue, #0b5fd1); justify-content: center; align-items: center; }
  [data-page="blog.index"] .fc-card .fc-cover-type,
  [data-page="blog.category"] .fc-card .fc-cover-type { margin: 0; font-size: 20px; opacity: 1; }
  [data-page="blog.index"] .fc-card .fc-cover-value,
  [data-page="blog.category"] .fc-card .fc-cover-value,
  [data-page="blog.index"] .fc-card .ptag,
  [data-page="blog.category"] .fc-card .ptag,
  [data-page="blog.index"] .fc-card .pb p,
  [data-page="blog.category"] .fc-card .pb p,
  [data-page="blog.index"] .fc-card .pf time,
  [data-page="blog.category"] .fc-card .pf time,
  [data-page="blog.index"] .fc-card .pf .nb,
  [data-page="blog.category"] .fc-card .pf .nb { display: none !important; }
  [data-page="blog.index"] .fc-card .pb,
  [data-page="blog.category"] .fc-card .pb { padding: 0; }
  [data-page="blog.index"] .fc-card .pb h3,
  [data-page="blog.category"] .fc-card .pb h3 { margin: 0; font: 650 13px/1.3 var(--cv-fb, "Onest", system-ui, sans-serif); }
  [data-page="blog.index"] .fc-card .pb h3 a::after,
  [data-page="blog.category"] .fc-card .pb h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
  [data-page="blog.index"] .fc-card .pb h3 a:focus-visible::after,
  [data-page="blog.category"] .fc-card .pb h3 a:focus-visible::after { outline: 2px solid var(--cv-focus, #0b5fd1); outline-offset: -2px; }
  [data-page="blog.index"] .fc-card .pf,
  [data-page="blog.category"] .fc-card .pf { min-height: 0; padding: 0; margin: 0; border: 0; }
  [data-page="blog.index"] .fc-empty,
  [data-page="blog.category"] .fc-empty { grid-column: 1 / -1; }

  [data-page="blog.index"] .lb-pagination,
  [data-page="blog.category"] .lb-pagination { margin-top: 16px !important; }
  [data-page="blog.index"] .lb-pagination .pagination,
  [data-page="blog.category"] .lb-pagination .pagination { gap: 8px; }
  [data-page="blog.index"] .lb-pagination .page-link,
  [data-page="blog.category"] .lb-pagination .page-link,
  [data-page="blog.index"] .lb-pagination .page-item span.page-link,
  [data-page="blog.category"] .lb-pagination .page-item span.page-link {
    min-width: 42px; height: 42px; padding: 0 12px; border-radius: 14px;
    background: transparent; box-shadow: none; color: var(--cv-ink, #222936);
    font: 600 14px var(--cv-fb, "Onest", system-ui, sans-serif);
  }
  [data-page="blog.index"] .lb-pagination .page-link:hover,
  [data-page="blog.category"] .lb-pagination .page-link:hover { color: var(--cv-blue, #0b5fd1); }
  [data-page="blog.index"] .lb-pagination .page-item.active .page-link,
  [data-page="blog.category"] .lb-pagination .page-item.active .page-link { background: var(--cv-blue, #0b5fd1); color: #fff; box-shadow: none; }
  [data-theme="dark"] [data-page="blog.index"] .lb-pagination .page-item.active .page-link,
  [data-theme="dark"] [data-page="blog.category"] .lb-pagination .page-item.active .page-link { background: #41f0ec; color: #03171d; }
  [data-page="blog.index"] .lb-pagination .page-item.disabled .page-link,
  [data-page="blog.category"] .lb-pagination .page-item.disabled .page-link { opacity: .45; }
}
