/* mfcatnav — лента «Темы» вместо плиток */
.top-content-block.mfcn-on .sections-list { display: none; }
.top-content-block.mfcn-on.mfcn-open .sections-list { display: block; margin-top: 16px; }
.top-content-block.mfcn-on.mfcn-open .sections-list__wrapper { display: block !important; }
.top-content-block.mfcn-on .cmore, .top-content-block.mfcn-on .sections-list + .more, .top-content-block.mfcn-on [class*="show-more"] { display: none !important; }
.mfcn-rib { position: relative; margin: 0 0 18px; font-family: inherit; }
.mfcn-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 6px; scroll-padding: 2px; }
.mfcn-track::-webkit-scrollbar { display: none; }
.mfcn-c { flex: 0 0 172px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; text-decoration: none !important; color: #1f2329 !important; background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; }
.mfcn-im { display: flex; align-items: center; justify-content: center; width: 172px; height: 118px; border-radius: 14px; overflow: hidden; background: #f1eee9; margin-bottom: 5px; }
.mfcn-im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.mfcn-c:hover .mfcn-im img { transform: scale(1.05); }
.mfcn-c b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.mfcn-c:hover b { color: var(--theme-base-color, #e5303d); }
.mfcn-c small { font-size: 12px; color: #8a8f98; min-height: 15px; }
.mfcn-c--all .mfcn-im { background: #fff; border: 1.5px dashed #cfd3d9; color: #5b6370; }
.mfcn-c--all:hover .mfcn-im { border-color: var(--theme-base-color, #e5303d); color: var(--theme-base-color, #e5303d); }
.mfcn-arr { position: absolute; top: 47px; z-index: 2; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: #1f2329; box-shadow: 0 2px 10px rgba(15,18,24,.18); cursor: pointer; transition: opacity .15s; }
.mfcn-arr:hover { color: var(--theme-base-color, #e5303d); }
.mfcn-arr--l { left: -14px; } .mfcn-arr--r { right: -14px; }
.mfcn-rib.at-start .mfcn-arr--l, .mfcn-rib.at-end .mfcn-arr--r { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
  .mfcn-arr { display: none; }
  .mfcn-track { gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 16px; }
  .mfcn-c { flex-basis: 132px; }
  .mfcn-im { width: 132px; height: 92px; border-radius: 12px; }
  .mfcn-c b { font-size: 14px; }
}

/* список «Категория»: поиск, группы, «Ещё N» */
.mfcn-side { font-family: inherit; }
.mfcn-find { position: relative; display: block; margin: 4px 0 12px; }
.mfcn-find svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a8f98; pointer-events: none; }
.mfcn-find input { display: block; width: 100%; height: 42px; padding: 0 12px 0 36px; border: 1.5px solid #e2e5e9; border-radius: 12px; background: #fff; font: inherit; font-size: 14px; color: #1f2329; outline: none; box-sizing: border-box; }
.mfcn-find input:focus { border-color: var(--theme-base-color, #e5303d); }
.mfcn-g { margin: 0 0 14px; }
.mfcn-g[hidden], .mfcn-side li[hidden], .mfcn-more[hidden] { display: none !important; }
.mfcn-gh { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a8f98; margin: 0 0 4px 10px; }
.mfcn-side ul.side-menu { margin: 0; }
.mfcn-side .link-wrapper { display: flex !important; align-items: center; }
.mfcn-side .link-wrapper > a { flex: 1 1 auto; min-width: 0; }
.mfcn-n { flex: none; margin: 0 10px 0 6px; font-size: 12px; color: #a3a8b0; font-variant-numeric: tabular-nums; }
.mfcn-side li.mfcn-active > .link-wrapper > a, .mfcn-side li.mfcn-active > .link-wrapper > a:hover { color: var(--theme-base-color, #e5303d) !important; font-weight: 600; }
.mfcn-side li.mfcn-active > .link-wrapper { background: color-mix(in srgb, var(--theme-base-color, #e5303d) 7%, #fff); border-radius: 8px; }
.mfcn-more { display: inline-block; margin: 2px 0 0 10px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--theme-base-color, #e5303d); cursor: pointer; }
.mfcn-more:hover { text-decoration: underline; }
.mfcn-none { font-size: 13px; line-height: 1.45; color: #5b6370; margin: 0 0 12px 4px; }
.mfcn-none a { color: var(--theme-base-color, #e5303d); }
