/* MB dark palette for blog page 324: header as on homepage hero, blog tabs. Colors only. */
.header { background: linear-gradient(180deg,rgba(15,19,22,.98),rgba(15,19,22,.88) 65%,rgba(15,19,22,0)); }
.header .logo__img img { filter: brightness(0) invert(1); }
.header .logo__text, .header .rating__t { color: var(--mb-muted) !important; }
.header .menu, .header .header__call a { color: var(--mb-text) !important; }
.header .info__btns svg path, .header .header__call svg path { fill: #b9c3c8 !important; }
.header .menu svg path { stroke: var(--mb-text) !important; }
.header .stars svg path { fill: var(--mb-accent) !important; }
.header .rating__n { background: var(--mb-accent) !important; color: #11170a !important; }
.header .rating__n::after {
  border-left-color: var(--mb-accent) !important;
  border-right-color: var(--mb-accent) !important;
  border-bottom-color: var(--mb-bg) !important;
}
.header .dropdown-toggle { border-color: var(--mb-text) !important; }
.header .dropdown-menu { background-color:#161b20; color:var(--mb-text); }
.header .kr-text {
  background: rgba(196,242,61,.10) !important;
  box-shadow: inset 0 0 0 1px rgba(196,242,61,.25);
}
.header .kr-text .white { color: var(--mb-accent) !important; }
.header .kr-text__cir { background: var(--mb-accent) !important; }
.blog h1 { color: var(--mb-text) !important; }
.blog-tabs { background-color: var(--mb-bg) !important; border-color: var(--mb-line) !important; }
.blog-tabs__item { color: var(--mb-muted) !important; }
.blog-tabs__item:hover,
.blog-tabs__item.current-menu-item {
  background: var(--mb-accent) !important;
  color: var(--mb-ink) !important;
  box-shadow: 0 0 25px rgba(196,242,61,.25) !important;
}
.blog__line { background-color: var(--mb-line) !important; }
/* Footer and menu icons: theme hover red -> accent. */
body .info .info__ico:hover path,
body .info .info__link:hover path,
body .info__btns a:hover svg path,
body .info-fixed .info__ico:hover path,
body .info-fixed .info__link:hover path { fill: var(--mb-accent) !important; }
body .info .info__link:hover .info__link-text,
body .info .info__item li a:hover { color: var(--mb-accent) !important; }
body .wheel-modal-close:hover svg path { stroke: var(--mb-accent) !important; }
/* Blog list cards. The first card tag "Все" exists only for the theme filter, so it is hidden. */
.tab-cont__right { background: var(--mb-surface) !important; box-shadow: inset 0 0 0 1px var(--mb-line) !important; }
.tab-cont__header { color: var(--mb-text) !important; }
.tab-cont__header:hover { color: var(--mb-accent) !important; }
.tab-cont__date, .tab-cont__watch .tsm13 { color: var(--mb-muted) !important; }
.tab-cont__watch:has(.tsm13:empty), .article-info__item:has(.tsm13:empty) { display: none !important; }
.options__item { background: var(--mb-raised) !important; color: var(--mb-muted) !important; }
.tab-cont__item .options__item:first-child { display: none !important; }
.blog-more .indicators__back, .indicators__right { color: var(--mb-text) !important; }
.blog-more:hover .indicators__back { color: var(--mb-accent) !important; }
img[src*="/new/watch.png"], img[src*="/new/date.png"], img[src*="/new/next.png"], img[src*="/new/ref.png"], img[src*="/new/left-arrow.png"],
.article-cont__red img, .article-cont__red-sm img { filter: var(--mb-artwork-accent) !important; }
/* Article page */
.article-info .tsm13 { color: var(--mb-muted) !important; }
.article-cont__left { background: var(--mb-surface) !important; }
.article-cont__left a { color: var(--mb-text) !important; }
.article-cont__left a:hover, .article-basic__left a { color: var(--mb-accent) !important; }
.article__social { background: var(--mb-surface) !important; box-shadow: inset 0 0 0 1px var(--mb-line) !important; }
.article__line { background-color: var(--mb-line) !important; }
.article__social-links a[href=""] { display: none !important; }
.article__social-links svg path { fill: var(--mb-muted) !important; }
.article__social-links a:hover svg path { fill: var(--mb-accent) !important; }
/* Theme placeholder banner "ВАШИ БОНУСЫ" has no real offer. */
.article-bonus { display: none !important; }
a.indicators__back { border-bottom-color: var(--mb-accent) !important; }
.article__social-img img { border-radius: 50% !important; box-shadow: 0 0 0 4px var(--mb-bg), 0 0 0 5px var(--mb-line) !important; }
/* Decorative shapes and footer art stick out to the right; clip them instead of a sideways scroll. */
html, body { overflow-x: clip !important; }
.article__social-links a .article__svg:hover, .article__social-links a .article__svg:hover path, .article__social-links a .article__svg:hover .st0,
.article__social-links a:hover .article__svg path, .article__social-links a:hover .article__svg .st0 { fill: var(--mb-accent) !important; }
/* "Другие популярные статьи": the current article is excluded in mb-dark-blog.php; with nothing left the empty block is hidden. */
.article-paper:not(:has(.article-paper__item)) { display: none !important; }
.article-paper__header { color: var(--mb-text) !important; }
.article-paper__header:hover { color: var(--mb-accent) !important; }
/* Theme card hover glow is red (rgba(191,31,29,.29)); keep the glow, accent color. */
body .tab-cont__item:hover { box-shadow: -7px -3px 74px rgba(196,242,61,.14) !important; }
/* Article images with captions (figure.mb-figure in post content). */
.article-basic__left .mb-figure { margin: 32px 0 36px; }
.article-basic__left .mb-figure img { display: block; max-width: 100%; max-height: 640px; width: auto; height: auto; margin: 0 auto; border-radius: 16px; }
.article-basic__left .mb-figure a { display: block; }
.article-basic__left .mb-figure a:hover img { box-shadow: 0 0 0 2px var(--mb-accent); }
.article-basic__left .mb-figure figcaption { margin-top: 12px; color: var(--mb-muted); font-size: 15px; line-height: 1.4; text-align: center; }
/* Blog CTA blocks (mb-blog-cta.php): Telegram in the middle, lead form at the end. */
.article-basic__left .mb-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; margin: 36px 0; padding: 26px 30px; border-radius: 18px; background: var(--mb-surface); box-shadow: inset 0 0 0 1px var(--mb-line); }
.article-basic__left .mb-cta_lead { margin-top: 44px; background: linear-gradient(135deg, #1d2a16, var(--mb-surface) 60%); box-shadow: inset 0 0 0 1px rgba(196,242,61,.35); }
.article-basic__left .mb-cta__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.article-basic__left .mb-cta__text strong { color: var(--mb-text); font-size: 20px; line-height: 1.25; }
.article-basic__left .mb-cta__text span { color: var(--mb-muted); font-size: 16px; line-height: 1.4; }
.article-basic__left .mb-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.article-basic__left a.mb-cta__btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 14px 24px; border-radius: 40px; background: var(--mb-accent); color: var(--mb-ink) !important; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: box-shadow .2s, transform .2s; }
.article-basic__left a.mb-cta__btn:hover { box-shadow: 0 0 24px rgba(196,242,61,.35); transform: translateY(-1px); color: var(--mb-ink) !important; }
.article-basic__left a.mb-cta__btn_ghost { background: transparent; color: var(--mb-text) !important; box-shadow: inset 0 0 0 1px var(--mb-line); }
.article-basic__left a.mb-cta__btn_ghost:hover { color: var(--mb-accent) !important; box-shadow: inset 0 0 0 1px var(--mb-accent); }
@media (max-width: 767px) {
  .article-basic__left .mb-cta { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  .article-basic__left .mb-cta__btns { flex-direction: column; }
  .article-basic__left a.mb-cta__btn { white-space: normal; text-align: center; }
}
