/**
 * NameDB visual refresh — палитра и приёмы как в new_frontend
 * Подключается после style.css / getPageCss().
 */

:root {
    --ndb-bg: #FBF6EC;
    --ndb-bg-alt: #F3EBDA;
    --ndb-surface: #FFFFFF;
    --ndb-line: #E7DECC;
    --ndb-teal: #163B3A;
    --ndb-teal-600: #1F5452;
    --ndb-teal-500: #2C6B68;
    --ndb-teal-100: #DCE7E5;
    --ndb-ink: #26251F;
    --ndb-ink-soft: #5C574C;
    --ndb-ink-faint: #8A8578;
    --ndb-terracotta: #B4602C;
    --ndb-terracotta-soft: #EFDCC9;
    --ndb-blush: #F4DCD6;
    --ndb-blush-ink: #8C4B3E;
    --ndb-gold: #B8912E;
    --ndb-silver: #9AA3A2;
    --ndb-bronze: #B08561;
    --ndb-blue: #DDE7E6;
    --ndb-blue-ink: #2C5654;
    --ndb-font: 'Manrope', Verdana, Arial, sans-serif;
    --ndb-serif: 'PT Serif', Georgia, serif;
    --ndb-radius-sm: 10px;
    --ndb-radius-md: 16px;
    --ndb-radius-lg: 26px;
    --ndb-shadow-sm: 0 1px 3px rgba(38, 37, 31, 0.06), 0 6px 20px rgba(22, 59, 58, 0.06);
    --ndb-shadow-md: 0 10px 34px rgba(22, 59, 58, 0.10);
    --ndb-scroll-offset: 90px;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

[id] {
    scroll-margin-top: var(--ndb-scroll-offset);
}

body.blue-grey.lighten-5,
body {
    background-color: var(--ndb-bg) !important;
    color: var(--ndb-ink);
    font-family: var(--ndb-font);
    /* style.css: overflow-x:hidden ломает position:sticky у сайдбара */
    overflow-x: clip;
}

a { color: var(--ndb-teal-600); }
a:hover { color: var(--ndb-terracotta); }

a.def-link { color: var(--ndb-ink) !important; }
a.def-link:hover { color: var(--ndb-terracotta) !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ndb-font);
    color: var(--ndb-ink);
}

input[type="button"],
input[type="submit"],
button,
.btn {
    background: var(--ndb-terracotta);
    color: var(--ndb-bg);
    border-radius: var(--ndb-radius-sm);
    font-family: var(--ndb-font);
}

input[type="button"]:hover,
input[type="submit"]:hover,
button:hover,
.btn:hover {
    background: var(--ndb-blush-ink);
}

/* Убираем белые «коробки» у контента — фон страницы просвечивает */
.space_block,
.space_block_margin,
#mainWrapper > section > .page,
#mainWrapper > section > .news,
#mainPage div.content-wrapper,
body.page:not([class^="home"]) #mainWrapper h1,
body.single-news #mainWrapper .page-title,
body.tax-countries #mainWrapper h1,
body.page:not([class^="home"]) #mainWrapper h1.page-title,
#mainWrapper.search-page h1.page-title.firstname,
#mainWrapper.tax-countries > main > h1,
#mainWrapper.tax-countries > main .term-desc,
#mainWrapper.tax-gender .names-list,
.page-template-template-news-list #mainWrapper h1,
.page-template-template-news-list #mainWrapper #listing,
p#breadcrumbs,
.crp_related,
#nameHoroscope,
#mainWrapper > div > article > div.r-symbols-block {
    background: transparent !important;
}

body.page .type-page h1 {
    background: transparent !important;
    border-bottom: none !important;
}

/* ═══════════════════════════════════════════
   Header — ndb-site-header (референс new_frontend)
   ═══════════════════════════════════════════ */

.ndb-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 246, 236, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ndb-line);
}

.ndb-header-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (min-width: 1028px) {
    .ndb-header-container {
        max-width: 1400px;
    }
}

.ndb-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 58px;
}

.ndb-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--ndb-teal);
    font-family: var(--ndb-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.ndb-logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='14.5' stroke='%23163B3A' stroke-width='1.3'/%3E%3Cpath d='M16 9v7l5 3' stroke='%23163B3A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='16' r='1.4' fill='%23B4602C'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.ndb-nav-primary {
    display: none;
    align-items: center;
    margin-left: auto;
    margin-right: 8px;
}

.ndb-nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ndb-nav-list > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Невидимый «мост» — чтобы успеть довести мышь до подменю */
.ndb-nav-list > li.menu-item-has-children::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.ndb-nav-link {
    display: inline-block;
    font-family: var(--ndb-font);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ndb-ink);
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}

.ndb-nav-link:hover,
.ndb-nav-list > .menu-item.current-menu-item > .ndb-nav-link,
.ndb-nav-list > .menu-item.current_page_item > .ndb-nav-link {
    color: var(--ndb-terracotta);
}

.ndb-nav-list > .menu-item:first-child > .ndb-nav-link,
.ndb-nav-link-highlight {
    color: var(--ndb-terracotta);
}

.ndb-nav-submenu,
.ndb-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    list-style: none;
    margin: 0;
    padding: 8px 0 6px;
    background: var(--ndb-surface);
    border: 1px solid var(--ndb-line);
    border-radius: 0 0 var(--ndb-radius-sm) var(--ndb-radius-sm);
    box-shadow: var(--ndb-shadow-sm);
    z-index: 60;
}

.ndb-nav-list > li:hover > .ndb-nav-submenu,
.ndb-nav-list > li:focus-within > .ndb-nav-submenu,
.ndb-nav-list > li:hover > .sub-menu,
.ndb-nav-list > li:focus-within > .sub-menu {
    display: block;
}

.ndb-nav-submenu .ndb-nav-link,
.ndb-nav-list .sub-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 600;
    white-space: normal;
    color: var(--ndb-ink);
}

.ndb-nav-submenu .ndb-nav-link:hover,
.ndb-nav-list .sub-menu a:hover {
    color: var(--ndb-terracotta);
    background: var(--ndb-bg-alt);
}

.ndb-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ndb-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ndb-bg-alt);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.ndb-icon-btn:hover {
    background: var(--ndb-line);
}

.ndb-icon {
    width: 18px;
    height: 18px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.ndb-icon-search {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23163B3A' stroke-width='2'/%3E%3Cpath d='M21 21l-4.3-4.3' stroke='%23163B3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ndb-icon-burger {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16' stroke='%23163B3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ndb-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 8px 0 18px;
    border-top: 1px solid var(--ndb-line);
}

.ndb-mobile-menu.is-open {
    display: flex;
}

.ndb-mobile-menu > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ndb-mobile-link {
    display: block;
    padding: 12px 4px;
    font-family: var(--ndb-font);
    font-weight: 600;
    font-size: 15.5px;
    color: var(--ndb-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ndb-line);
}

.ndb-mobile-link:hover,
.ndb-mobile-link-highlight,
.ndb-mobile-menu > .menu-item:first-child > .ndb-mobile-link {
    color: var(--ndb-terracotta);
}

.ndb-mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
}

.ndb-mobile-link-sub {
    padding-left: 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ndb-ink-soft);
    border-bottom: none;
}

.ndb-search-panel {
    display: none;
    border-top: 1px solid var(--ndb-line);
    background: rgba(251, 246, 236, 0.98);
    box-shadow: 0 6px 20px rgba(22, 59, 58, 0.1);
}

.ndb-search-panel.is-open {
    display: block;
}

.ndb-search-panel-inner {
    padding: 14px 0 16px;
}

.ndb-search-form {
    padding: 0;
    margin: 0;
}

.ndb-search-field {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 100%;
    margin: 0;
    position: relative;
}

.ndb-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--ndb-line);
    border-radius: var(--ndb-radius-sm);
    background: var(--ndb-surface);
    color: var(--ndb-ink);
    font-family: var(--ndb-font);
    font-size: 15px;
    padding: 10px 16px;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    height: auto;
}

.ndb-search-input:focus {
    border-color: var(--ndb-teal-500);
    box-shadow: 0 0 0 3px rgba(22, 59, 58, 0.08);
}

.ndb-search-input::placeholder {
    color: var(--ndb-ink-soft);
}

.ndb-search-submit {
    flex-shrink: 0;
    border: none;
    border-radius: var(--ndb-radius-sm);
    background: var(--ndb-terracotta);
    color: #fff;
    font-family: var(--ndb-font);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    cursor: pointer;
    height: auto;
    line-height: 1.2;
}

.ndb-search-submit:hover {
    background: var(--ndb-blush-ink);
}

.ndb-search-field #searchResults {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-width: 100%;
    background: var(--ndb-surface);
    border: 1px solid var(--ndb-line);
    border-radius: 0 0 var(--ndb-radius-sm) var(--ndb-radius-sm);
    box-shadow: var(--ndb-shadow-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 70;
    max-height: 280px;
    overflow-y: auto;
}

.ndb-search-letters {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ndb-line);
}

.ndb-search-panel #ruLetters {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 4px;
    justify-content: flex-start;
}

.ndb-search-panel #ruLetters li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 0 !important;
    line-height: 1 !important;
    background: none !important;
}

.ndb-search-panel #ruLetters a.ru-letters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    font-family: var(--ndb-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--ndb-teal);
    text-decoration: none;
    border-radius: 8px;
    background: var(--ndb-surface);
    border: 1px solid var(--ndb-line);
    box-sizing: border-box;
}

.ndb-search-panel #ruLetters a.ru-letters:hover {
    color: var(--ndb-terracotta);
    border-color: var(--ndb-terracotta-soft);
    background: var(--ndb-bg-alt);
    text-decoration: none !important;
}

.ndb-search-panel #ruLetters a.ru-letters.active {
    color: #fff;
    background: var(--ndb-terracotta);
    border-color: var(--ndb-terracotta);
}

.ndb-search-field #searchResults li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ndb-search-field #searchResults .search-item {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--ndb-ink);
    text-decoration: none;
}

.ndb-search-field #searchResults .search-item:hover {
    background: var(--ndb-bg-alt);
    color: var(--ndb-teal);
}

.ndb-legacy-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (min-width: 760px) {
    .ndb-header-row {
        height: 64px;
    }

    .ndb-nav-primary {
        display: flex;
    }

    .ndb-burger {
        display: none;
    }

    .ndb-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 759px) {
    .ndb-logo-text {
        font-size: 17px;
    }

    .ndb-logo-mark {
        width: 26px;
        height: 26px;
    }
}

/* Legacy header overrides (старые шаблоны) */
header.header {
    background: transparent;
    box-shadow: none;
}

.nav.nav-main,
.nav.nav-main.cyan,
header .cyan.lighten-1,
.name-slider .cyan.lighten-1 {
    background-color: rgba(251, 246, 236, 0.92) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ndb-line);
    box-shadow: none;
}

header .cyan.darken-2,
.name-slider .cyan.darken-2,
.name-slider {
    background-color: var(--ndb-bg-alt) !important;
    border-bottom: 1px solid var(--ndb-line);
}

.nav.nav-main .brand-logo > div.bnn a {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--ndb-teal);
    font-family: var(--ndb-serif);
    font-weight: 700;
}

.nav.nav-main .brand-logo > div.bnn a img {
    display: none;
}

.nav.nav-main .brand-logo > div.bnn a::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='14.5' stroke='%23163B3A' stroke-width='1.3'/%3E%3Cpath d='M16 9v7l5 3' stroke='%23163B3A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='16' r='1.4' fill='%23B4602C'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.nav.nav-main .brand-logo > div.bnn a::after {
    content: 'NameDB';
    font-family: var(--ndb-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--ndb-teal);
    letter-spacing: -0.01em;
}

.nav.nav-main .brand-logo p {
    display: none;
}

.nav-wrapper,
.nav-wrapper.cyan,
.nav-wrapper.cyan.lighten-1 {
    background: transparent !important;
    box-shadow: none;
}

.nav-wrapper > ul > li > a,
.nav-wrapper > ul > li > ul > li > a {
    color: var(--ndb-ink) !important;
    font-family: var(--ndb-font);
    font-weight: 600;
    font-size: 14.5px;
    text-transform: none;
    text-decoration: none;
}

.nav-wrapper > ul > li:first-child > a,
.nav-wrapper > ul > li > a:hover,
.nav-wrapper > ul > li.current-menu-item > a,
.nav-wrapper > ul > li.current_page_item > a {
    color: var(--ndb-terracotta) !important;
}

.nav.nav-main .nav-wrapper .hide-on-med-and-down li > ul {
    background: var(--ndb-bg);
    border: 1px solid var(--ndb-line);
    border-radius: 0 0 var(--ndb-radius-sm) var(--ndb-radius-sm);
    box-shadow: var(--ndb-shadow-sm);
}

.nav.nav-main .nav-wrapper .hide-on-med-and-down li > ul a {
    color: var(--ndb-ink) !important;
}

.nav.nav-main .nav-wrapper .hide-on-med-and-down li > ul a:hover {
    color: var(--ndb-terracotta) !important;
    background: var(--ndb-bg-alt);
}

.material-icons.search {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--ndb-bg-alt);
    color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23163B3A' stroke-width='2'/%3E%3Cpath d='M21 21l-4.3-4.3' stroke='%23163B3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
}

.button-collapse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--ndb-bg-alt);
}

.name-slider .search-button {
    background: var(--ndb-terracotta);
    border-radius: var(--ndb-radius-sm);
    color: #fff;
}

.name-slider .search-button:hover {
    background-color: var(--ndb-blush-ink);
}

.name-slider .filter-by-letter a,
.name-slider #ruLetters a {
    color: var(--ndb-teal) !important;
}

.search-form-nav {
    background: var(--ndb-surface);
    border: 1px solid var(--ndb-line);
}

.search-form-nav ::-webkit-input-placeholder { color: var(--ndb-ink-soft); }
.search-form-nav ::-moz-placeholder          { color: var(--ndb-ink-soft); }
.search-form-nav :-ms-input-placeholder      { color: var(--ndb-ink-soft); }

/* ═══════════════════════════════════════════
   Sidebar — side-card как в Rating-obzor
   ═══════════════════════════════════════════ */

aside.sidebar,
#mainWrapper.container .sidebar {
    background: transparent !important;
}

.sidebar > .row {
    background: transparent !important;
    margin: 0 0 18px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Sticky sidebar как в Rating-obzor (.sidebar { position:sticky; top:80px }) */
@media screen and (min-width: 1000px) {
    #mainWrapper.container,
    #mainWrapper.ndb-article-archive,
    #mainWrapper.horo {
        align-items: flex-start;
    }

    aside.sidebar,
    #mainWrapper.container > .sidebar,
    #mainWrapper.container .sidebar,
    #mainWrapper.ndb-article-archive > .sidebar,
    #mainWrapper.horo > .sidebar,
    #mainWrapper > .sidebar {
        position: sticky !important;
        top: 80px;
        align-self: flex-start;
        z-index: 5;
        height: fit-content;
        max-height: none;
    }
}

/* Materialize .row/.col ломают side-card — сбрасываем */
.sidebar > .row,
.sidebar #right-menu,
.sidebar .menu-list,
.sidebar .blog-side {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sidebar .col,
.sidebar .sidebar-widget.col {
    float: none !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.sidebar .widget,
.sidebar .row.z-depth-1,
.sidebar #right-menu,
.sidebar .menu-list,
.sidebar .blog-side,
.sidebar #blogSide,
.sidebar .compatibility-form,
.sidebar .ndb-articles--sidebar {
    background: var(--ndb-surface) !important;
    border: none !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm) !important;
    margin: 0 !important;
    overflow: hidden;
    padding: 18px !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Формы совместимости: не обрезать select */
.sidebar .compatibility-form {
    overflow: visible !important;
}

.sidebar .widget-title,
.sidebar p.heading,
.sidebar h3,
.sidebar .compatibility-form > h3,
.sidebar .compatibility-form > h4,
.sidebar .compatibility-form > p.heading,
.sidebar .ndb-articles--sidebar .ndb-articles-title {
    font-family: var(--ndb-font) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--ndb-teal) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    border: none !important;
    display: block;
    line-height: 1.3 !important;
}

/* TOP-3: оболочка прозрачная — стили у .side-top3-card как в .toc-desktop */
.sidebar .widget_top_experts,
body.single-article .widget_top_experts.mobile {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* Старый дубль заголовка «ТОП-3 ЭЗОТЕРИКОВ» — скрыть */
.widget_top_experts > .widget-title,
.sidebar .widget_top_experts > .widget-title {
    display: none !important;
}

.sidebar .widget_top_experts .widget-content,
body.single-article .widget_top_experts.mobile .widget-content {
    padding: 0 !important;
}

.sidebar .sidebar-widget {
    padding: 0 !important;
}

.sidebar #right-menu .sidebar-widget ul,
.sidebar .menu-list .sidebar-widget ul {
    margin: 0;
    padding: 0;
}

.sidebar #right-menu .sidebar-widget ul li,
.sidebar .menu-list .sidebar-widget ul li,
.sidebar .sidebar-widget ul li {
    margin: 0;
    min-height: 0;
    max-height: none;
    line-height: 1.35;
    overflow: visible;
    background: none !important;
    padding-left: 0 !important;
}

.sidebar ul li a,
.sidebar .sidebar-widget ul li a {
    background: transparent !important;
    color: var(--ndb-ink-soft) !important;
    font-family: var(--ndb-font);
    font-size: 13.5px;
    font-weight: 500;
    text-transform: none;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 0;
    line-height: 1.35;
}

.sidebar .sidebar-widget ul li.current-menu-item a,
.sidebar .sidebar-widget ul li a:hover {
    background-color: transparent !important;
    color: var(--ndb-teal) !important;
}

/* ─── TOP-3 = .toc-desktop .side-top3-card (single-obzor) ─── */

.side-card.side-top3-card {
    background: linear-gradient(145deg, var(--ndb-teal), var(--ndb-teal-600));
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-md);
    padding: 16px;
}

.side-card.side-top3-card .side-top3-title {
    font-family: var(--ndb-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ndb-terracotta-soft);
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.side-card.side-top3-card .side-top3-title svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
}

.side-top3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-expert {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: var(--ndb-radius-sm);
    background: var(--ndb-surface);
    box-shadow: var(--ndb-shadow-sm);
    flex-wrap: wrap;
}

.side-expert.r1 { border: 1px solid var(--ndb-gold); }
.side-expert.r2 { border: 1px solid var(--ndb-silver); }
.side-expert.r3 { border: 1px solid var(--ndb-bronze); }

.side-expert .srank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ndb-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.side-expert.r1 .srank { background: var(--ndb-gold); }
.side-expert.r2 .srank { background: var(--ndb-silver); }
.side-expert.r3 .srank { background: var(--ndb-bronze); }

.side-expert .side-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--ndb-teal-100);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.side-expert .side-id {
    min-width: 0;
    flex: 1 1 auto;
}

.side-expert .side-name {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ndb-teal);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.side-expert .side-name:hover {
    color: var(--ndb-terracotta);
}

.side-expert .side-meta {
    font-size: 11px;
    color: var(--ndb-ink-soft);
    margin-top: 1px;
    line-height: 1.3;
}

.side-expert-actions {
    display: flex !important;
    gap: 6px;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 2px;
    visibility: visible !important;
    opacity: 1 !important;
}

.side-expert-actions .ndb-btn,
.side-expert-actions a.ndb-btn {
    flex: 1 1 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 8px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    font-family: var(--ndb-font) !important;
    min-height: 32px !important;
    height: auto !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit;
}

.side-expert-actions .ndb-btn:hover,
.side-expert-actions .ndb-btn:focus,
.side-expert-actions a.ndb-btn:hover,
.side-expert-actions a.ndb-btn:focus {
    transform: none !important;
    box-shadow: none !important;
}

.side-expert-actions .ndb-btn-primary,
.side-expert-actions a.ndb-btn-primary {
    background: var(--ndb-teal) !important;
    color: #fff !important;
}

.side-expert-actions .ndb-btn-primary:hover,
.side-expert-actions a.ndb-btn-primary:hover {
    background: var(--ndb-teal-600) !important;
    color: #fff !important;
}

.side-expert-actions .ndb-btn-outline,
.side-expert-actions a.ndb-btn-outline {
    background: transparent !important;
    border-color: var(--ndb-teal) !important;
    color: var(--ndb-teal) !important;
}

.side-expert-actions .ndb-btn-outline:hover,
.side-expert-actions a.ndb-btn-outline:hover {
    background: var(--ndb-teal-100) !important;
    color: var(--ndb-teal) !important;
}

.side-expert-actions .ndb-btn-ghost,
.side-expert-actions a.ndb-btn-ghost {
    background: var(--ndb-bg-alt) !important;
    color: var(--ndb-ink) !important;
    border-color: transparent !important;
}

.side-expert-actions .ndb-btn-ghost:hover,
.side-expert-actions a.ndb-btn-ghost:hover {
    background: var(--ndb-line) !important;
    color: var(--ndb-ink) !important;
}

@media screen and (max-width: 759px) {
    .side-top3 {
        gap: 6px;
    }

    .side-expert {
        padding: 7px;
        gap: 7px;
    }

    .side-expert-actions .ndb-btn,
    .side-expert-actions a.ndb-btn {
        min-height: 28px !important;
        padding: 5px 6px !important;
    }
}

/* ─── Убрать белый фон у .horo колонок ─── */
.horo .horo-left,
.horo .horo-right,
#mainWrapper.horo .horo-left,
#mainWrapper.horo .horo-right,
body.single-article .horo-left {
    background: transparent !important;
    background-color: transparent !important;
}

/* Sidebar publications ≈ .side-card + .side-articles (Rating-obzor) */
.sidebar .ndb-articles--sidebar,
.ndb-articles.ndb-articles--sidebar {
    background: var(--ndb-surface) !important;
    border: none !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm) !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow: hidden;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

.ndb-articles--sidebar .ndb-articles-head {
    margin: 0;
    padding: 0;
}

.ndb-articles--sidebar .ndb-articles-title {
    font-family: var(--ndb-font) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--ndb-teal) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    border: none !important;
    line-height: 1.3 !important;
}

.ndb-side-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ndb-side-article {
    display: flex;
    gap: 10px;
    text-decoration: none;
    align-items: flex-start;
    color: inherit;
}

.ndb-side-article .ndb-simg {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background-color: transparent;
    background-image: linear-gradient(135deg, var(--ndb-teal-100), var(--ndb-bg-alt));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    display: block;
}

.ndb-side-article-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ndb-side-article .ndb-stitle {
    font-family: var(--ndb-font);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ndb-teal);
    line-height: 1.35;
}

.ndb-side-article:hover .ndb-stitle {
    color: var(--ndb-terracotta);
}

.ndb-side-article .ndb-sdate {
    font-family: var(--ndb-font);
    font-size: 11px;
    color: var(--ndb-ink-faint);
    margin-top: 3px;
    line-height: 1.3;
}

/* В референсе нет «Смотреть все» */
.ndb-articles--sidebar .ndb-see-all {
    display: none !important;
}

@media screen and (max-width: 759px) {
    .sidebar .ndb-articles--sidebar,
    .ndb-articles.ndb-articles--sidebar {
        padding: 16px !important;
    }

    .ndb-articles--sidebar .ndb-articles-title {
        font-size: 12px !important;
        margin: 0 0 12px !important;
    }

    .ndb-side-articles {
        gap: 10px;
    }

    .ndb-side-article {
        gap: 9px;
    }

    .ndb-side-article .ndb-simg {
        width: 44px;
        height: 44px;
    }

    .ndb-side-article .ndb-stitle {
        font-size: 12px;
    }

    .ndb-side-article .ndb-sdate {
        font-size: 10.5px;
        margin-top: 2px;
    }
}

/* ─── Compatibility forms = Rating-obzor .side-card + .side-form ─── */

.compatibility-form.global-compatibility-form,
.compatibility-form.zodiac-compatibility-form,
.sidebar .compatibility-form {
    background: var(--ndb-surface) !important;
    border: none !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm) !important;
    padding: 18px !important;
    margin: 0 0 16px !important;
    overflow: visible !important;
    box-sizing: border-box;
    font-family: var(--ndb-font);
}

.compatibility-form.global-compatibility-form > h3,
.compatibility-form.zodiac-compatibility-form > h3,
.compatibility-form.global-compatibility-form > h4,
.compatibility-form.zodiac-compatibility-form > h4,
.sidebar .compatibility-form > h3,
.sidebar .compatibility-form > h4 {
    font-family: var(--ndb-font) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--ndb-teal) !important;
    background: transparent !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
    display: block !important;
}

.compatibility-form.global-compatibility-form form,
.compatibility-form.zodiac-compatibility-form form,
.sidebar .compatibility-form form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

/* Сброс старого grid / серых рядов / оранжевых точек из style.css */
.compatibility-form.global-compatibility-form form > div,
.compatibility-form.zodiac-compatibility-form form > div,
.sidebar .compatibility-form form > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    grid-template-columns: none !important;
    grid-gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    position: relative;
}

.compatibility-form.global-compatibility-form form > div::before,
.compatibility-form.zodiac-compatibility-form form > div::before,
.sidebar .compatibility-form form > div::before {
    content: none !important;
    display: none !important;
}

.compatibility-form.global-compatibility-form form > div:first-child,
.compatibility-form.zodiac-compatibility-form form > div:first-child,
.sidebar .compatibility-form form > div:first-child {
    margin-bottom: 0 !important;
}

.compatibility-form.global-compatibility-form label,
.compatibility-form.zodiac-compatibility-form label,
.sidebar .compatibility-form label {
    display: block !important;
    font-family: var(--ndb-font) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--ndb-ink) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.compatibility-form.global-compatibility-form .sl-wrap,
.compatibility-form.zodiac-compatibility-form .sl-wrap,
.compatibility-form.global-compatibility-form .sl,
.compatibility-form.zodiac-compatibility-form .sl,
.sidebar .compatibility-form .sl-wrap,
.sidebar .compatibility-form .sl {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
}

/* Кастомная стрелка не перекрывает текст */
.compatibility-form.global-compatibility-form .sl::after,
.compatibility-form.zodiac-compatibility-form .sl::after,
.sidebar .compatibility-form .sl::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    width: 0 !important;
    height: 0 !important;
    margin-top: -2px !important;
    border: 5px solid transparent !important;
    border-top-color: var(--ndb-teal) !important;
    border-bottom: none !important;
    background: none !important;
    pointer-events: none !important;
    z-index: 2;
}

.compatibility-form.global-compatibility-form select,
.compatibility-form.zodiac-compatibility-form select,
.sidebar .compatibility-form select,
.compatibility-form.global-compatibility-form input[type="text"],
.compatibility-form.zodiac-compatibility-form input[type="text"],
.sidebar .compatibility-form input[type="text"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    padding: 10px 36px 10px 12px !important;
    margin: 0 !important;
    border: 1px solid var(--ndb-line) !important;
    border-radius: var(--ndb-radius-sm) !important;
    background: var(--ndb-surface) !important;
    background-image: none !important;
    color: var(--ndb-ink) !important;
    font-family: var(--ndb-font) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    text-indent: 0 !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.compatibility-form.global-compatibility-form select:focus,
.compatibility-form.zodiac-compatibility-form select:focus,
.sidebar .compatibility-form select:focus,
.compatibility-form.global-compatibility-form input[type="text"]:focus,
.compatibility-form.zodiac-compatibility-form input[type="text"]:focus,
.sidebar .compatibility-form input[type="text"]:focus {
    border-color: var(--ndb-teal-500) !important;
    box-shadow: 0 0 0 3px rgba(22, 59, 58, 0.1) !important;
}

.compatibility-form.global-compatibility-form select option,
.compatibility-form.zodiac-compatibility-form select option,
.sidebar .compatibility-form select option {
    font-size: 13px;
    line-height: 1.4;
    padding: 8px;
    color: var(--ndb-ink);
    background: var(--ndb-surface);
}

.compatibility-form.global-compatibility-form input[type="button"],
.compatibility-form.zodiac-compatibility-form input[type="button"],
.compatibility-form.global-compatibility-form input[type="submit"],
.compatibility-form.zodiac-compatibility-form input[type="submit"],
.compatibility-form.global-compatibility-form button,
.compatibility-form.zodiac-compatibility-form button,
.compatibility-form.global-compatibility-form .btn,
.compatibility-form.zodiac-compatibility-form .btn,
.compatibility-form.global-compatibility-form a.btn,
.compatibility-form.zodiac-compatibility-form a.btn,
.sidebar .compatibility-form input[type="button"],
.sidebar .compatibility-form input[type="submit"],
.sidebar .compatibility-form button,
.sidebar .compatibility-form .btn,
.sidebar .compatibility-form a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 40px !important;
    height: auto !important;
    line-height: 1.2 !important;
    margin: 4px 0 0 !important;
    padding: 10px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: var(--ndb-teal) !important;
    background-color: var(--ndb-teal) !important;
    background-image: none !important;
    color: #fff !important;
    font-family: var(--ndb-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: var(--ndb-shadow-md) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: background-color 0.2s, box-shadow 0.2s !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.compatibility-form.global-compatibility-form input[type="button"]:hover,
.compatibility-form.zodiac-compatibility-form input[type="button"]:hover,
.compatibility-form.global-compatibility-form button:hover,
.compatibility-form.zodiac-compatibility-form button:hover,
.compatibility-form.global-compatibility-form .btn:hover,
.compatibility-form.zodiac-compatibility-form .btn:hover,
.compatibility-form.global-compatibility-form .btn-primary:hover,
.compatibility-form.zodiac-compatibility-form .btn-primary:hover,
.sidebar .compatibility-form input[type="button"]:hover,
.sidebar .compatibility-form button:hover,
.sidebar .compatibility-form .btn:hover,
.sidebar .compatibility-form .btn-primary:hover {
    background: var(--ndb-teal-600) !important;
    background-color: var(--ndb-teal-600) !important;
    color: #fff !important;
    box-shadow: var(--ndb-shadow-md) !important;
    transform: none !important;
}

.compatibility-form.global-compatibility-form .btn-primary,
.compatibility-form.zodiac-compatibility-form .btn-primary,
.sidebar .compatibility-form .btn-primary {
    background: var(--ndb-teal) !important;
    background-color: var(--ndb-teal) !important;
    color: #fff !important;
}


.compatibility-form.global-compatibility-form div.error,
.compatibility-form.zodiac-compatibility-form div.error,
.sidebar .compatibility-form div.error {
    background: var(--ndb-blush) !important;
    border-radius: var(--ndb-radius-sm);
    padding: 8px !important;
}

.compatibility-form.global-compatibility-form div.error select,
.compatibility-form.zodiac-compatibility-form div.error select,
.sidebar .compatibility-form div.error select {
    border-color: #b71c1c !important;
}

/* ─── Content TOP-3 = single-obzor-mob (<600) + single-obzor (≥600) ─── */

@keyframes top3-star-spin {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
    50% { transform: scale(1.25) rotate(20deg); opacity: 1; }
}

.inline-top3-block {
    background: linear-gradient(145deg, var(--ndb-teal), var(--ndb-teal-600));
    border-radius: var(--ndb-radius-lg);
    padding: 16px;
    margin: 16px 0;
    box-shadow: var(--ndb-shadow-md);
}

.inline-top3-block .inline-top3-title {
    font-family: var(--ndb-font) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    color: var(--ndb-terracotta-soft) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    background: none !important;
    border: none !important;
}

.inline-top3-block .top3-star-icon {
    color: var(--ndb-terracotta-soft);
    flex-shrink: 0;
    animation: top3-star-spin 5s ease-in-out infinite;
    transform-origin: center;
}

.inline-top3-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inline-expert {
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    padding: 10px;
    padding-top: 14px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    box-shadow: var(--ndb-shadow-sm);
}

.inline-expert.r1 { border: 1px solid var(--ndb-gold); }
.inline-expert.r2 { border: 1px solid var(--ndb-silver); }
.inline-expert.r3 { border: 1px solid var(--ndb-bronze); }

.inline-expert .irank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ndb-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inline-expert.r1 .irank { background: var(--ndb-gold); }
.inline-expert.r2 .irank { background: var(--ndb-silver); }
.inline-expert.r3 .irank { background: var(--ndb-bronze); }

.inline-expert .iav {
    width: 44px;
    height: 44px;
    margin-left: 26px;
    border-radius: 50%;
    background-color: var(--ndb-teal-100);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.inline-expert .inline-expert-id {
    flex: 1;
    min-width: 100px;
    min-height: 0;
}

.inline-expert .iname {
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ndb-teal);
    display: block;
    text-decoration: none;
    line-height: 1.25;
}

.inline-expert .iname:hover {
    color: var(--ndb-terracotta);
}

.inline-expert .ispec {
    font-size: 11px;
    color: var(--ndb-ink-soft);
    background: var(--ndb-bg-alt);
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.3;
    display: inline-block;
    margin-top: 2px;
}

.inline-expert .irating {
    font-size: 12.5px;
    color: var(--ndb-terracotta);
    font-weight: 700;
    width: 100%;
    line-height: 1.3;
}

.inline-expert .iactions {
    display: flex !important;
    gap: 6px;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.inline-top3-block .iactions .btn,
.inline-top3-block .iactions a.btn {
    flex: 1 1 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 32px !important;
    padding: 6px !important;
    margin: 0 !important;
    font-family: var(--ndb-font) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    background-image: none !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.inline-top3-block .iactions .btn:hover,
.inline-top3-block .iactions .btn:focus,
.inline-top3-block .iactions a.btn:hover,
.inline-top3-block .iactions a.btn:focus {
    transform: none !important;
    box-shadow: none !important;
}

.inline-top3-block .iactions .btn-primary,
.inline-top3-block .iactions a.btn-primary {
    background: var(--ndb-teal) !important;
    background-color: var(--ndb-teal) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.inline-top3-block .iactions .btn-primary:hover,
.inline-top3-block .iactions a.btn-primary:hover {
    background: var(--ndb-teal-600) !important;
    background-color: var(--ndb-teal-600) !important;
    color: #fff !important;
}

.inline-top3-block .iactions .btn-outline,
.inline-top3-block .iactions a.btn-outline {
    background: transparent !important;
    background-color: transparent !important;
    border-color: var(--ndb-teal) !important;
    color: var(--ndb-teal) !important;
}

.inline-top3-block .iactions .btn-outline:hover,
.inline-top3-block .iactions a.btn-outline:hover {
    background: var(--ndb-teal-100) !important;
    background-color: var(--ndb-teal-100) !important;
    color: var(--ndb-teal) !important;
}

.inline-top3-block .iactions .btn-ghost,
.inline-top3-block .iactions a.btn-ghost {
    background: var(--ndb-bg-alt) !important;
    background-color: var(--ndb-bg-alt) !important;
    color: var(--ndb-ink) !important;
    border-color: transparent !important;
}

.inline-top3-block .iactions .btn-ghost:hover,
.inline-top3-block .iactions a.btn-ghost:hover {
    background: var(--ndb-line) !important;
    background-color: var(--ndb-line) !important;
    color: var(--ndb-ink) !important;
}

@media screen and (min-width: 600px) {
    .inline-top3-block {
        padding: 22px;
        margin: 20px 0;
    }

    .inline-top3-grid {
        flex-direction: row;
        gap: 12px;
    }

    .inline-expert {
        flex: 1;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
        padding-top: 24px;
        gap: 12px;
    }

    .inline-expert .irank {
        top: 10px;
        left: 10px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .inline-expert .iav {
        width: 64px;
        height: 64px;
        margin-left: 0;
    }

    .inline-expert .inline-expert-id {
        flex: 0 1 auto;
        min-width: 0;
        width: 100%;
    }

    .inline-expert .iname {
        width: 100%;
    }

    .inline-expert .ispec {
        margin-top: 4px;
    }



    .inline-expert .iactions {
        gap: 8px;
    }

    .inline-top3-block .iactions .btn,
    .inline-top3-block .iactions a.btn {
        min-height: 36px !important;
        padding: 8px !important;
        font-size: 12px !important;
    }
}
.inline-expert .irating {
    text-align: center;
}
.ndb-stars {
    color: var(--ndb-line);
    letter-spacing: 1px;
    font-size: 15px;
}

.ndb-stars .filled {
    color: var(--ndb-terracotta);
}

/* ─── Последние публикации (home + sidebar) ─── */

.ndb-articles {
    margin: 0 0 24px;
}

.ndb-articles-head {
    margin: 0 0 14px;
}

.ndb-articles-title {
    font-family: var(--ndb-font);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--ndb-teal);
    margin: 0;
    letter-spacing: -0.01em;
}

.ndb-articles-grid {
    display: grid;
    gap: 16px;
}

.ndb-articles--home .ndb-articles-grid {
    grid-template-columns: repeat(2, 1fr);
}

.ndb-article-card {
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.ndb-article-img {
    display: block;
    height: 170px;
    background: linear-gradient(135deg, var(--ndb-teal-100), var(--ndb-bg-alt));
    background-size: cover;
    background-position: center;
}

.ndb-article-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ndb-article-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ndb-terracotta);
}

.ndb-article-title {
    margin: 0;
    font-family: var(--ndb-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.ndb-article-title a {
    color: var(--ndb-teal);
    text-decoration: none;
}

.ndb-article-title a:hover {
    color: var(--ndb-terracotta);
}

.ndb-article-excerpt {
    margin: 0;
    font-size: 13.5px;
    color: var(--ndb-ink-soft);
    line-height: 1.45;
}

.ndb-article-date {
    font-size: 12px;
    color: var(--ndb-ink-faint);
    margin-top: auto;
}

.ndb-see-all {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-weight: 700;
    color: var(--ndb-teal);
    font-size: 14.5px;
    text-decoration: none;
}

.ndb-see-all:hover {
    color: var(--ndb-terracotta);
}

@media screen and (max-width: 700px) {
    .ndb-articles--home .ndb-articles-grid {
        grid-template-columns: 1fr;
    }

    .ndb-article-img {
        height: 150px;
    }
}

/* legacy mystical widget — прячем если вдруг остался в кеше */
.top-experts-mystical-widget {
    display: none !important;
}

/* ═══════════════════════════════════════════
   Home — без белых коробок, лёгкие секции
   ═══════════════════════════════════════════ */

#mainWrapper.home [id^="main-content"],
#mainWrapper.home .z-depth-1 {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 8px 4px 20px;
    margin-bottom: 8px;
}

#mainWrapper.home #main-content-1,
#mainWrapper.home #main-content-2,
#mainWrapper.home #main-content-3,
#mainWrapper.home #main-content-4,
#mainWrapper.home #main-content-5,
#mainWrapper.home #main-content-6,
#mainWrapper.home #main-content-7,
#mainWrapper.home #main-content-8,
#mainWrapper.home #main-content-news {
    border-bottom: 1px solid var(--ndb-line);
}

#mainWrapper.home #main-content-2,
#mainWrapper.home #main-content-3 {
    background: transparent;
}

#mainWrapper.home h1,
#mainWrapper.home h2 {
    font-family: var(--ndb-font);
    font-weight: 700;
    color: var(--ndb-teal);
    letter-spacing: -0.01em;
}

#mainWrapper.home h3.orange-text,
#mainWrapper.home .orange-text.text-accent-3 {
    color: var(--ndb-terracotta) !important;
    font-family: var(--ndb-font);
    font-weight: 700;
    text-transform: none;
}

#mainWrapper.home #main-content-2 .to-more,
#mainWrapper.home #main-content-3 .to-more,
#mainWrapper.home #main-content-6 .to-more,
#mainWrapper.home #main-content-7 .to-more,
#mainWrapper.home #main-content-8 .to-more {
    background: var(--ndb-teal);
    color: #fff;
    border-radius: 999px;
    font-family: var(--ndb-font);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 9px 16px;
    transition: background-color 0.2s, color 0.2s;
}

#mainWrapper.home #main-content-2 .to-more {
    background: var(--ndb-terracotta);
}

#mainWrapper.home #main-content-2 .to-more:hover {
    background: var(--ndb-blush-ink);
    color: #fff;
}

#mainWrapper.home #main-content-3 .to-more:hover,
#mainWrapper.home #main-content-6 .to-more:hover,
#mainWrapper.home #main-content-7 .to-more:hover,
#mainWrapper.home #main-content-8 .to-more:hover {
    background: var(--ndb-teal-600);
    color: #fff;
}

#mainWrapper.home #main-content-6 ul li a,
#mainWrapper.home #main-content-7 ul li a,
#mainWrapper.home #main-content-8 ul li a {
    color: var(--ndb-ink-soft);
    border-radius: 6px;
}

#mainWrapper.home #main-content-6 ul li a:hover,
#mainWrapper.home #main-content-7 ul li a:hover,
#mainWrapper.home #main-content-8 ul li a:hover {
    background: var(--ndb-bg-alt);
    color: var(--ndb-teal);
}

#mainWrapper.home .news-block .all-news {
    border-top-color: var(--ndb-line);
}

#mainWrapper.home .news-block .all-news a {
    background: var(--ndb-teal);
    color: #fff;
    border-radius: 999px;
}

#mainWrapper.home #main-content-news article h3 a,
#mainWrapper.home .latest-name header > p > a,
#mainWrapper.home .main-news header > p > a {
    color: var(--ndb-terracotta);
    text-transform: none;
    font-family: var(--ndb-font);
}

#mainWrapper.home #main-content-news article time,
#mainWrapper.home .main-news time {
    background: var(--ndb-teal);
    color: #fff;
    border-radius: 6px;
}

body.home blockquote,
#mainWrapper.home blockquote {
    background: var(--ndb-bg-alt);
    border: none;
    border-left: 3px solid var(--ndb-terracotta);
    border-radius: 0 var(--ndb-radius-sm) var(--ndb-radius-sm) 0;
    color: var(--ndb-ink-soft);
    font-family: var(--ndb-serif);
}

#mainWrapper.home .row > div.brd {
    border-left-color: var(--ndb-line);
}

/* ─── Internal ─── */

blockquote {
    border-left-color: var(--ndb-terracotta);
    background: var(--ndb-bg-alt);
}

#mainWrapper > div > article h1.first-name,
article h1.first-name {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ndb-line);
    border-radius: 0;
    padding: 8px 0 14px;
}

body.single article.type-post,
body.single article.type-article,
body.single-names article,
body.single-article article,
main.container > .col > article.post,
main.container > .col > article.type-article {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.__breadcrumbs li {
    border-radius: 6px;
}

.__breadcrumbs {
    padding: 0;
    margin: 0;
    list-style: none;
}

.__breadcrumbs li {
    display: inline;
    margin: 0;
}

.__breadcrumbs li:not(:last-child)::after {
    content: '→';
    display: inline-block;
    margin: 0 8px;
    color: var(--ndb-ink-faint);
    font-size: 13px;
}

.__breadcrumbs li > a { color: var(--ndb-ink-soft); }
.__breadcrumbs li > a:hover { color: var(--ndb-terracotta); }

.__breadcrumbs li:last-child > span,
.__breadcrumbs li:last-child > a {
    color: var(--ndb-teal);
    font-weight: 600;
    text-decoration: none;
}

.__breadcrumbs li > a {
    font-size: 13px;
    text-decoration: none;
    padding: 0;
    background: transparent !important;
}

p#breadcrumbs > span > span > span > a {
    background: var(--ndb-teal-500);
    color: #fff;
}

/* Единый разделитель крошек по сайту: → */
p#breadcrumbs span.separator {
    background: none !important;
    background-image: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: inherit !important;
    font-size: 13px !important;
    color: var(--ndb-ink-faint) !important;
    vertical-align: baseline !important;
    margin: 0 6px !important;
    padding: 0 !important;
}

/* Пустой .separator (кастомные крошки) — подставляем стрелку */
p#breadcrumbs span.separator:empty::before {
    content: '→';
}

p#breadcrumbs span.separator::after {
    content: none !important;
}

#wc-comment-header { color: var(--ndb-teal); }

/* ═══════════════════════════════════════════
   Отзывы / Comments — как #comments в single-obzor
   (структура WP / wpDiscuz без изменений)
   ═══════════════════════════════════════════ */

#comments.comments,
div#comments,
body.single-article #comments,
body.single-article #wpcomm,
#nameComments {
    margin: 55px 0 20px;
    padding: 0;
    background: transparent !important;
    font-family: var(--ndb-font);
    color: var(--ndb-ink);
}

#comments > h2,
#comments .comments-title,
#respond .comment-reply-title,
#wc-comment-header,
#wpcomm .wc-comment-header,
#nameComments h3,
body.single-article #comments h2 {
    font-family: var(--ndb-serif) !important;
    font-size: clamp(20px, 3.6vw, 26px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--ndb-teal) !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.single-article #comments .section-head,
body.single-article #comments .ndb-reviews-head {
    margin: 0 0 26px;
}
body.single-article #comments .ndb-reviews-head {

}
body.single-article #comments .section-head h2,
body.single-article #comments .ndb-reviews-head h2 {
    font-size: clamp(20px, 3vw, 24px) !important;
    margin: 0 !important;
    margin-bottom: 10px !Important;
}

body.single-article #comments .ndb-reviews-lead {
    font-size: 14.5px;
    color: var(--ndb-ink-soft);
    margin: 8px 0 0;
    line-height: 1.55;
}

body.single-article #comments .comments-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 26px;
}

body.single-article #comments .comments-summary .rating-big {
    font-family: var(--ndb-serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--ndb-teal);
    line-height: 1;
}

body.single-article #comments .comments-summary .rating-meta .stars {
    color: var(--ndb-terracotta);
    font-size: 16px;
    line-height: 1.2;
}

body.single-article #comments .comments-summary .rating-meta .review-count {
    font-size: 13px;
    color: var(--ndb-ink-faint);
    display: block;
    margin-top: 2px;
}

#comments .comment-list,
#comments > ul,
#comments .comment-list > ul,
#comments .comment-list ul,
#wcThreadWrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

#comments > ul > li.comment,
#comments ul li.comment,
#comments .comment,
#comments li.comment-card,
#wcThreadWrapper .wc-comment,
#wpcomm .wc-comment {
    background: var(--ndb-surface) !important;
    border: none !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm) !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    list-style: none !important;
    position: relative;
}

#comments .comment-body,
#wpcomm .wc-comment-right {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 !important;
    background: transparent !important;
}

body.single-article #comments li.comment-card .comment-body {
    display: block;
}

body.single-article #comments li.comment-card .comment-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 0 0 10px;
    width: 100%;
}

body.single-article #comments .comment-avatar-wrap {
    flex-shrink: 0;
    line-height: 0;
}

body.single-article #comments .comment-avatar-wrap img.avatar,
body.single-article #comments .comment-avatar-wrap img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border: none !important;
    background: var(--ndb-teal-100);
}

body.single-article #comments .comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ndb-teal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ndb-teal);
    font-size: 14px;
    flex-shrink: 0;
}

body.single-article #comments .comment-meta-block {
    min-width: 0;
    flex: 1 1 auto;
}

body.single-article #comments .comment-top .comment-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ndb-teal);
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

body.single-article #comments .comment-top .comment-date {
    font-size: 12px;
    color: var(--ndb-ink-faint);
    line-height: 1.3;
    margin: 0;
    padding: 0;
    margin-top: 4px !Important;
}

body.single-article #comments .comment-stars {
    color: var(--ndb-terracotta);
    font-size: 13px;
    line-height: 1;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

body.single-article #comments li.comment-card .comment-text,
body.single-article #comments li.comment-card .comment-text p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: var(--ndb-ink) !important;
    min-height: 0 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

body.single-article #comments li.comment-card .comment-text p + p {
    margin-top: 8px !important;
}

body.single-article #comments li.comment-card .comment-awaiting-moderation {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--ndb-ink-soft);
}

body.single-article #comments li.comment-card .reply {
    margin: 10px 0 0;
    padding: 0;
    width: 100%;
    text-align: left;
}

body.single-article #comments li.comment-card .reply a.comment-reply-link {
    display: inline-block;
    color: var(--ndb-terracotta) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.single-article #comments li.comment-card .reply a.comment-reply-link:hover {
    color: var(--ndb-blush-ink) !important;
}

body.single-article #comments li.comment-card > #respond,
body.single-article #comments li.comment-card .comment-body + #respond {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ndb-line);
}

body.single-article #comments li.comment-card #respond .comment-reply-title {
    font-size: 15px !important;
    margin: 0 0 10px !important;
}

body.single-article #comments .children li.comment-card {
    background: var(--ndb-bg) !important;
    box-shadow: none !important;
    border: 1px solid var(--ndb-line) !important;
}

@media screen and (max-width: 520px) {
    body.single-article #comments li.comment-card .comment-top {
        flex-wrap: wrap;
    }

    body.single-article #comments .comment-stars {
        width: 100%;
        margin-left: 48px;
        margin-top: -2px;
    }
}

#comments .comment-author {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
}

#comments .comment-author img.avatar,
#comments .comment-author img,
#wpcomm .wc-comment-left img,
#wpcomm .avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    object-fit: cover;
    background: var(--ndb-teal-100);
    margin: 0 !important;
}

#comments .comment-author::after {
    display: none !important;
}

#comments .comment-content {
    flex: 1;
    min-width: 0;
}

#comments .comment-meta-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 0 2px;
}

#comments .comment-author-name,
#comments .comment-author-name.h3,
#comments .comment-author-name a,
#wcThreadWrapper .wc-comment-author,
#wpcomm .wc-comment-author,
#wpcomm .wc-comment-author a {
    font-family: var(--ndb-font) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: var(--ndb-teal) !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    line-height: 1.3 !important;
}

#comments .comment-date,
#comments .comment-date a,
#comments .comment-meta.commentmetadata,
#comments .comment-meta.commentmetadata a,
#wpcomm .wc-comment-date,
#wpcomm .wc-comment-link {
    font-size: 12px !important;
    color: var(--ndb-ink-faint) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin: 0 !important;
}

#comments .comment-text,
#comments .comment-text p,
#wpcomm .wc-comment-text,
#wpcomm .wc-comment-text p,
#wcThreadWrapper .wc-comment-text {
    font-size: 14px !important;
    color: var(--ndb-ink-soft) !important;
    line-height: 1.55 !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

#comments .reply,
#wpcomm .wc-comment-footer {
    position: static !important;
    margin-top: 10px !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    right: auto !important;
    top: auto !important;
}

#comments .reply a,
#wpcomm .wc-reply,
#wpcomm .wc-reply-button {
    color: var(--ndb-terracotta) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
}

#comments .reply a:hover,
#wpcomm .wc-reply:hover {
    color: var(--ndb-blush-ink) !important;
}

#comments .children,
#comments ul.children {
    list-style: none !important;
    margin: 12px 0 0 !important;
    padding: 0 0 0 16px !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    flex: 0 0 100%;
}

#comments .children .comment,
#comments ul.children > li {
    background: var(--ndb-bg) !important;
    box-shadow: none !important;
    border: 1px solid var(--ndb-line) !important;
}

#comments em.comment-awaiting-moderation {
    color: var(--ndb-terracotta) !important;
    font-size: 13px;
    margin: 6px 0 0;
    display: block;
}

/* Форма отзыва ≈ .review-form */
#respond,
#comments #respond,
#comments #respond.review-form-wrap,
#wpcomm .wc-form-wrapper,
#wpcomm .wpdiscuz-form-wrap,
#nameComments .wc-form-wrapper {
    background: var(--ndb-surface) !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm) !important;
    padding: 20px !important;
    margin: 0 0 20px !important;
    max-width: none !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none !important;
}

body.single-article #comments .comment-list + .load-more-comments + #respond,
body.single-article #comments .comment-list + #respond,
body.single-article #comments .load-more-comments + #respond {
    margin-top: 0 !important;
}

body.single-article #comments .load-more-comments {
    display: flex;
    justify-content: center;
    margin: 0 0 16px;
}

body.single-article #comments .load-more-comments .btn2,
body.single-article #comments .load-more-comments #show-all-Link {
    margin: 0 !important;
}

#respond .comment-reply-title {
    font-family: var(--ndb-font) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--ndb-ink) !important;
    margin: 0 0 4px !important;
}

#respond label,
#wpcomm .wc-field-group label,
#wpcomm label {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--ndb-ink) !important;
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
}

#respond textarea,
#respond input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
#wpcomm textarea,
#wpcomm input[type="text"],
#wpcomm input[type="email"],
#wpcomm .wpdiscuz-textarea-wrap,
#nameComments textarea,
#nameComments input[type="text"],
#nameComments input[type="email"] {
    width: 100% !important;
    max-width: none !important;
    padding: 11px 12px !important;
    border: 1px solid var(--ndb-line) !important;
    border-radius: var(--ndb-radius-sm) !important;
    font-family: var(--ndb-font) !important;
    font-size: 14px !important;
    background: var(--ndb-bg) !important;
    color: var(--ndb-ink) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
}

#respond textarea,
#wpcomm textarea {
    min-height: 100px !important;
    resize: vertical;
}

#respond .form-submit {
    margin: 4px 0 0 !important;
}

#respond #submit,
#respond input[type="submit"],
#wpcomm .wc_comm_submit,
#wpcomm input[type="submit"],
#wpcomm .wc-button-wrapper button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 160px;
    min-height: 40px !important;
    height: auto !important;
    padding: 10px 22px !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: var(--ndb-teal) !important;
    background-color: var(--ndb-teal) !important;
    color: #fff !important;
    font-family: var(--ndb-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: var(--ndb-shadow-md) !important;
    cursor: pointer !important;
}

#comments #show-all-Link,
#comments .btn2,
button#show-all-Link.btn2 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 260px !important;
    max-width: 360px !important;
    min-height: 48px !important;
    height: auto !important;
    margin: 16px auto 24px !important;
    padding: 14px 28px !important;
    border: 1px solid var(--ndb-teal) !important;
    border-radius: 999px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--ndb-teal) !important;
    font-family: var(--ndb-font) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

#respond #submit:hover,
#wpcomm .wc_comm_submit:hover,
#wpcomm input[type="submit"]:hover {
    background: var(--ndb-teal-600) !important;
    background-color: var(--ndb-teal-600) !important;
    color: #fff !important;
}

#comments #show-all-Link:hover,
#comments .btn2:hover,
button#show-all-Link.btn2:hover {
    background: var(--ndb-teal-100) !important;
    color: var(--ndb-teal) !important;
}

/* wpDiscuz chrome */
.wpdiscuz-form-top-bar,
.wpdiscuz-form-bottom-bar,
#wpcomm .wc-form-footer,
#wpcomm .wc-comment-left .wc-follow-link,
#nameComments .by-wpdiscuz {
    display: none !important;
}

#wpcomm .wc-comment-header {
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    border: none !important;
    background: transparent !important;
}

#wcThreadWrapper .wc-comment {
    padding: 16px 18px !important;
    border-top: none !important;
}

@media screen and (max-width: 700px) {
    #comments > ul > li.comment,
    #comments .comment,
    #wcThreadWrapper .wc-comment,
    #wpcomm .wc-comment {
        padding: 14px !important;
    }

    #respond,
    #wpcomm .wc-form-wrapper {
        padding: 16px !important;
    }

    #comments .comment-author img.avatar,
    #comments .comment-author img {
        width: 34px !important;
        height: 34px !important;
    }
}

/* ═══════════════════════════════════════════
   Footer — Rating-obzor footer.site
   (перебивает тёмный footer из style.css)
   ═══════════════════════════════════════════ */

footer.page-footer.site,
footer.page-footer {
    background-color: var(--ndb-bg-alt) !important;
    color: var(--ndb-ink-soft);
    font-family: var(--ndb-font);
    font-size: 13.5px;
    margin-top: 40px;
    padding: 28px 0 20px;
}

footer.page-footer a {
    color: var(--ndb-ink-soft);
    text-decoration: none;
}

footer.page-footer a:hover {
    color: var(--ndb-teal);
    text-decoration: none;
}

footer.page-footer .ndb-footer-shell,
footer.page-footer .container.ndb-footer-shell {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

footer.page-footer .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

footer.page-footer .footer-brand .logo,
footer.page-footer .ndb-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    font-family: var(--ndb-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--ndb-teal) !important;
    text-decoration: none;
}

footer.page-footer .footer-brand .logo:hover,
footer.page-footer .ndb-footer-logo:hover {
    color: var(--ndb-teal-600) !important;
}

footer.page-footer .footer-brand .ndb-logo-mark,
footer.page-footer .footer-brand .mark {
    display: inline-block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

footer.page-footer .footer-brand p {
    max-width: 280px;
    line-height: 1.6;
    margin: 0;
    color: var(--ndb-ink-soft);
    font-size: 13.5px;
}

footer.page-footer .footer-col {
    height: auto !important;
    min-height: 0;
}

footer.page-footer .footer-col h4,
footer.page-footer .footer-col h4 a,
footer.page-footer .footer-col h5,
footer.page-footer .footer-col h5 a {
    display: block;
    height: auto;
    line-height: 1.3;
    font-family: var(--ndb-font);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ndb-teal) !important;
    margin: 0 0 12px;
    text-decoration: none;
}

footer.page-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer.page-footer .footer-col ul li {
    margin: 0;
    padding-left: 0 !important;
}

footer.page-footer .footer-col a {
    color: var(--ndb-ink-soft);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.4;
}

footer.page-footer .footer-col a:hover {
    color: var(--ndb-teal);
}

footer.page-footer .footer-socials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer.page-footer .footer-socials > span {
    color: var(--ndb-ink-soft);
    font-size: 13.5px;
}

footer.page-footer .footer-social-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 !important;
}

footer.page-footer .footer-social-list li {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    margin: 0 !important;
}

footer.page-footer .footer-social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--ndb-ink-soft);
    background: none !important;
    opacity: 1;
    transition: color 0.2s ease;
}

footer.page-footer .footer-social-list a:hover {
    color: var(--ndb-teal);
}

footer.page-footer .footer-social-list a svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

footer.page-footer .footer-bottom {
    border-top: 1px solid var(--ndb-line);
    margin-top: 32px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    color: var(--ndb-ink-faint);
}

footer.page-footer .footer-bottom a {
    color: var(--ndb-ink-faint);
    text-decoration: none;
}

footer.page-footer .footer-bottom a:hover {
    color: var(--ndb-teal);
}

@media screen and (min-width: 760px) {
    footer.page-footer {
        padding: 48px 0 24px;
    }

    footer.page-footer .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 28px;
    }

    footer.page-footer .footer-brand {
        grid-column: 1 / -1;
    }

    footer.page-footer .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media screen and (min-width: 1100px) {
    footer.page-footer .footer-top {
        grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
        gap: 24px;
    }

    footer.page-footer .footer-brand {
        grid-column: auto;
    }
}

#goToTop {
    background-color: var(--ndb-terracotta);
    border-radius: 50%;
}

#goToTop:hover {
    background-color: var(--ndb-blush-ink);
}

/* ═══════════════════════════════════════════
   Cookie banner — single-obzor cookie-banner
   ═══════════════════════════════════════════ */

.cookies-info.cookie-banner,
.cookies-info {
    position: fixed !important;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: auto;
    margin: 0 auto;
    padding: 14px 16px;
    box-sizing: border-box;
    background: var(--ndb-surface);
    border: 1px solid var(--ndb-line);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-md);
    color: var(--ndb-ink-soft);
    font-family: var(--ndb-font);
}

.cookies-info > div {
    all: unset;
    display: contents;
}

.cookies-info p {
    margin: 0;
    padding-right: 18px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ndb-ink-soft);
}

.cookies-info p a {
    color: var(--ndb-teal);
    text-decoration: underline;
}

.cookies-info .cookie-actions {
    display: flex;
    gap: 8px;
}

.cookies-info .cookie-actions .btn,
.cookies-info .cookie-actions a.btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px;
    min-height: 38px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--ndb-font);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookies-info .cookie-actions .btn-primary,
.cookies-info .cookie-actions button.btn-primary {
    background: var(--ndb-teal) !important;
    color: #fff !important;
    box-shadow: var(--ndb-shadow-md);
}

.cookies-info .cookie-actions .btn-primary:hover,
.cookies-info .cookie-actions button.btn-primary:hover {
    background: var(--ndb-teal-600) !important;
    color: #fff !important;
}

.cookies-info .cookie-actions .btn-ghost,
.cookies-info .cookie-actions a.btn-ghost {
    background: var(--ndb-bg-alt) !important;
    color: var(--ndb-ink) !important;
}

.cookies-info .cookie-actions .btn-ghost:hover,
.cookies-info .cookie-actions a.btn-ghost:hover {
    background: var(--ndb-line) !important;
    color: var(--ndb-ink) !important;
}

.cookies-info .cookie-close,
.cookies-info .close_policy.cookie-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    background: none !important;
    box-shadow: none;
    font-size: 16px;
    line-height: 1;
    color: var(--ndb-ink-faint);
    cursor: pointer;
}

.cookies-info .cookie-close:hover,
.cookies-info .close_policy.cookie-close:hover {
    background: none !important;
    color: var(--ndb-teal);
}

.cookies-info .cookie-close::before {
    content: none;
}

@media only screen and (max-width: 640px) {
    .cookies-info.cookie-banner,
    .cookies-info {
        display: flex !important;
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
}

.side-ad,
.ad-sidebar,
.ad-in-bottom,
.compatib-ad {
    background: transparent;
}

@media screen and (max-width: 992px) {
    .sidebar .widget,
    .sidebar .row.z-depth-1,
    .sidebar #right-menu,
    .sidebar .compatibility-form,
    .sidebar .widget_top_experts {
        margin-bottom: 16px;
    }
}

/* ═══════════════════════════════════════════
   Archive / Blog listing — Rating-obzor list-card
   (.ndb-article-archive: /article/ и /blog/)
   ═══════════════════════════════════════════ */

/* Сетка архива: колонка листинга + сайдбар 361px */
#mainWrapper.ndb-article-archive {
    margin-top: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    overflow: visible;
}

/* Materialize .row даёт отрицательные margin — из‑за них листинг вылезает */
#mainWrapper.ndb-article-archive.row {
    margin-left: auto !important;
    margin-right: auto !important;
}

#mainWrapper.ndb-article-archive > .ndb-rating-list,
#mainWrapper.ndb-article-archive > .col.l9 {
    float: none !important;
    width: calc(100% - 373px) !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
}

#mainWrapper.ndb-article-archive > .sidebar {
    float: none !important;
    flex: 0 0 361px;
    width: 361px !important;
    max-width: 361px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

@media screen and (max-width: 1000px) {
    #mainWrapper.ndb-article-archive > .ndb-rating-list,
    #mainWrapper.ndb-article-archive > .col.l9,
    #mainWrapper.ndb-article-archive > .sidebar {
        width: 100% !important;
        max-width: none !important;
        flex: 1 1 100%;
    }
}

.ndb-archive-hero {
    background: transparent;
    border-bottom: none;
    padding: 10px 0 6px;
    margin: 0 0 8px;
    overflow: visible;
}

.ndb-archive-hero .container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.ndb-archive-hero .intro {
    padding: 0;
}

.ndb-archive-hero .eyebrow,
.ndb-archive-hero .ndb-eyebrow {
    display: inline-block;
    font-family: var(--ndb-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ndb-terracotta);
    margin: 0 0 8px;
}

.ndb-archive-hero h1 {
    font-family: var(--ndb-font);
    font-size: clamp(26px, 4.5vw, 38px);
    font-weight: 700;
    color: var(--ndb-teal);
    margin: 8px 0 0;
    line-height: 1.16;
    letter-spacing: -0.02em;
    background: transparent !important;
    border: none;
    padding: 0;
}

.ndb-archive-hero .lead,
.ndb-archive-hero .ndb-archive-lead {
    margin: 12px 0 0;
    max-width: 680px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ndb-ink-soft);
}

.ndb-archive-hero .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 16px;
}

.ndb-archive-hero .meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--ndb-ink-soft);
    font-weight: 600;
    font-family: var(--ndb-font);
}

.ndb-archive-hero .meta-item svg {
    color: var(--ndb-teal-500);
    flex-shrink: 0;
}

.ndb-archive-hero .ndb-listing-breadcrumb,
.ndb-listing-footer .ndb-listing-breadcrumb {
    display: block;
    font-size: 13px;
    color: var(--ndb-ink-faint);
    padding: 14px 0 0;
    margin: 0;
    font-family: var(--ndb-font);
    /* сброс Materialize nav (.breadcrumb / nav { background:#ee6e73; height:56px }) */
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.45 !important;
    width: auto !important;
    min-height: 0 !important;
    color: var(--ndb-ink-faint) !important;
}

.ndb-archive-hero .ndb-listing-breadcrumb::before,
.ndb-archive-hero .ndb-listing-breadcrumb::after,
.ndb-listing-footer .ndb-listing-breadcrumb::before,
.ndb-listing-footer .ndb-listing-breadcrumb::after {
    content: none !important;
    display: none !important;
}

.ndb-archive-hero .ndb-listing-breadcrumb a,
.ndb-listing-footer .ndb-listing-breadcrumb a {
    color: var(--ndb-ink-faint) !important;
    text-decoration: none;
    background: transparent !important;
    line-height: inherit !important;
    height: auto !important;
    display: inline;
    padding: 0;
}

.ndb-archive-hero .ndb-listing-breadcrumb a:hover,
.ndb-listing-footer .ndb-listing-breadcrumb a:hover {
    color: var(--ndb-teal) !important;
}

.ndb-archive-hero .ndb-listing-breadcrumb span {
    color: var(--ndb-ink-faint);
}

.ndb-archive-hero .updated {
    font-size: 12.5px;
    color: var(--ndb-ink-faint);
    margin-top: 10px;
}

.ndb-archive-hero .trust-note {
    background: var(--ndb-teal-100);
    border-radius: var(--ndb-radius-md);
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13.5px;
    color: var(--ndb-teal);
    margin-top: 18px;
    max-width: 680px;
}

.ndb-archive-hero .trust-note svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.ndb-archive-hero .trust-note b {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.ndb-archive-hero .trust-note a {
    font-weight: 700;
    text-decoration: underline;
}

.ndb-rating-shell {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.ndb-listing-desc {
    margin: 24px 0 8px;
    padding: 18px 20px;
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ndb-ink-soft);
}

.ndb-listing-desc p:first-child { margin-top: 0; }
.ndb-listing-desc p:last-child { margin-bottom: 0; }

/* Top-3 expert cards (Rating-obzor) */
.ndb-article-archive .ndb-top3-section {
    padding: 0 0 8px;
    margin: 0 0 8px;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.ndb-article-archive .top3-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    width: 100%;
    padding-top: 48px; /* место под avatar margin-top:-56px */
    box-sizing: border-box;
    overflow: visible;
}

.ndb-article-archive .expert-card {
    background: var(--ndb-surface) !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm);
    padding: 36px 22px 22px !important;
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    border: none;
    border-bottom: none !important;
    box-sizing: border-box;
    overflow: visible;
}

.ndb-article-archive .expert-card.rank-1 {
    border: 1px solid var(--ndb-gold) !important;
    box-shadow: var(--ndb-shadow-md);
}

.ndb-article-archive .expert-card.rank-2 {
    border: 1px solid var(--ndb-silver) !important;
}

.ndb-article-archive .expert-card.rank-3 {
    border: 1px solid var(--ndb-bronze) !important;
}

.ndb-article-archive .expert-card .rank-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ndb-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    z-index: 1;
}

.ndb-article-archive .expert-card.rank-1 .rank-badge { background: var(--ndb-gold); }
.ndb-article-archive .expert-card.rank-2 .rank-badge { background: var(--ndb-silver); }
.ndb-article-archive .expert-card.rank-3 .rank-badge { background: var(--ndb-bronze); }

.ndb-article-archive .expert-card .expert-av {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background-color: var(--ndb-teal-100);
    background-size: cover;
    background-position: center;
    margin-top: -56px;
    border: 4px solid var(--ndb-surface);
    box-shadow: var(--ndb-shadow-sm);
    display: block;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.ndb-article-archive section#top3 {
    padding-bottom: 0;
}

.ndb-article-archive section#top3 + .ndb-list-cards {
    margin-top: 20px;
}

.ndb-article-archive .expert-card .expert-name {
    font-family: var(--ndb-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--ndb-teal);
    margin-top: 6px;
    text-decoration: none;
    line-height: 1.25;
}

.ndb-article-archive .expert-card .expert-name:hover {
    color: var(--ndb-terracotta);
}

.ndb-article-archive .expert-card .expert-spec {
    font-size: 12.5px;
    color: var(--ndb-ink-soft);
    background: var(--ndb-bg-alt);
    padding: 3px 12px;
    border-radius: 999px;
}

.ndb-article-archive .expert-card .expert-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ndb-article-archive .expert-card .stars,
.ndb-article-archive .ndb-list-rating .stars {
    color: var(--ndb-terracotta);
    font-size: 15px;
    letter-spacing: 1px;
}

.ndb-article-archive .expert-card .rating-num,
.ndb-article-archive .ndb-list-rating .rating-num,
.ndb-article-archive .ndb-list-rating b {
    font-weight: 800;
    font-size: 15px;
    color: var(--ndb-ink);
}

.ndb-article-archive .expert-card .review-count,
.ndb-article-archive .ndb-list-reviews {
    font-size: 12.5px;
    color: var(--ndb-ink-faint);
}

.ndb-article-archive .expert-actions {
    display: flex !important;
    gap: 10px;
    width: 100%;
}

.ndb-article-archive .expert-actions .btn,
.ndb-article-archive .expert-actions a.btn,
.ndb-article-archive .ndb-list-actions .btn,
.ndb-article-archive .ndb-list-actions a.btn,
.ndb-article-archive .ndb-list-actions .ndb-btn {
    flex: 1 1 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 12px !important;
    min-height: 44px !important;
    height: auto !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    font-family: var(--ndb-font) !important;
    border-radius: 999px !important;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
    line-height: 1.2 !important;
}

.ndb-article-archive .expert-actions .btn-primary,
.ndb-article-archive .expert-actions a.btn-primary {
    background: var(--ndb-teal) !important;
    color: #fff !important;
    box-shadow: var(--ndb-shadow-md) !important;
}

.ndb-article-archive .expert-actions .btn-outline,
.ndb-article-archive .expert-actions a.btn-outline,
.ndb-article-archive .ndb-list-actions .btn-outline,
.ndb-article-archive .ndb-list-actions .ndb-btn-outline,
.ndb-article-archive .ndb-list-actions a.ndb-btn-outline {
    background: transparent !important;
    border-color: var(--ndb-teal) !important;
    color: var(--ndb-teal) !important;
}

.ndb-article-archive .expert-actions .btn-ghost,
.ndb-article-archive .expert-actions a.btn-ghost,
.ndb-article-archive .ndb-list-actions .btn-ghost,
.ndb-article-archive .ndb-list-actions .ndb-btn-ghost,
.ndb-article-archive .ndb-list-actions a.ndb-btn-ghost {
    background: var(--ndb-bg-alt) !important;
    color: var(--ndb-ink) !important;
    border-color: transparent !important;
}

@media screen and (max-width: 759px) {
    .ndb-archive-hero .meta-row {
        flex-direction: column;
        gap: 8px;
        margin-top: 14px;
    }

    .ndb-archive-hero .meta-item {
        font-size: 12px;
    }

    .ndb-archive-hero h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .ndb-archive-hero .lead {
        font-size: 14px;
    }

    .ndb-article-archive .top3-grid {
        gap: 24px;
        padding-top: 40px;
    }

    .ndb-article-archive .expert-card {
        padding: 30px 16px 16px !important;
        gap: 10px;
        max-width: none;
    }

    .ndb-article-archive .expert-card .rank-badge {
        top: 12px;
        left: 12px;
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .ndb-article-archive .expert-card .expert-av {
        width: 78px;
        height: 78px;
        margin-top: -48px;
    }

    .ndb-article-archive .expert-card .expert-name {
        font-size: 16.5px;
    }
}

@media screen and (min-width: 760px) {
    .ndb-article-archive .top3-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: center;
        gap: 12px;
        padding-top: 48px;
    }

    /* Карточки сжимаются под ширину колонки (не фиксированные 300×3) */
    .ndb-article-archive .expert-card {
        flex: 1 1 0;
        min-width: 0;
        max-width: 300px;
        width: auto;
    }
}

.ndb-article-archive .ndb-rating-list {
    padding-top: 12px;
}

.ndb-article-archive .ndb-archive-head {
    margin: 0 0 18px;
}

.ndb-article-archive .ndb-archive-head h1 {
    font-family: var(--ndb-font);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    color: var(--ndb-teal);
    margin: 0;
    letter-spacing: -0.02em;
    background: transparent !important;
    border: none;
    padding: 0;
}

.ndb-article-archive .ndb-list-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* !important: бьём #mainWrapper.__articles article из style.css */
#mainWrapper.ndb-article-archive article.ndb-list-card,
#mainWrapper.__articles.ndb-article-archive article.ndb-list-card,
.ndb-article-archive .ndb-list-card {
    background: var(--ndb-surface) !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: var(--ndb-radius-md) !important;
    box-shadow: var(--ndb-shadow-sm);
    padding: 16px !important;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    width: 100%;
    box-sizing: border-box;
}

#mainWrapper.__articles.ndb-article-archive article.ndb-list-card:nth-child(even),
#mainWrapper.__articles.ndb-article-archive article.ndb-list-card:nth-child(odd) {
    background: var(--ndb-surface) !important;
}

.ndb-article-archive .ndb-list-card-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ndb-article-archive .ndb-list-rank {
    width: 28px;
    flex-shrink: 0;
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 15px;
    color: var(--ndb-ink-faint);
    text-align: center;
}

.ndb-article-archive .ndb-list-av {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--ndb-teal-100);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: block;
}

.ndb-article-archive .ndb-list-id {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.ndb-article-archive .ndb-list-name {
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 16.5px;
    color: var(--ndb-teal);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ndb-article-archive .ndb-list-name:hover {
    color: var(--ndb-terracotta);
}

.ndb-article-archive .ndb-list-spec {
    font-size: 12px;
    color: var(--ndb-ink-soft);
    background: var(--ndb-bg-alt);
    padding: 2px 10px;
    border-radius: 999px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ndb-article-archive .ndb-list-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    padding-left: 40px;
    color: var(--ndb-ink-soft);
    flex-wrap: wrap;
}

.ndb-article-archive .ndb-stars {
    color: var(--ndb-line);
    letter-spacing: 1px;
}

.ndb-article-archive .ndb-stars .filled {
    color: var(--ndb-terracotta);
}

.ndb-article-archive .ndb-list-rating b {
    color: var(--ndb-ink);
    font-weight: 800;
}

.ndb-article-archive .ndb-list-reviews {
    color: var(--ndb-ink-faint);
}

.ndb-article-archive .ndb-list-actions {
    display: flex;
    gap: 8px;
}

.ndb-article-archive .ndb-list-rating .ndb-stars {
    color: var(--ndb-line);
    font-size: 15px;
    letter-spacing: 1px;
}

.ndb-article-archive .ndb-list-rating .ndb-stars .filled {
    color: var(--ndb-terracotta);
}

/* Desktop: горизонтальный list-card как в Rating-obzor */
@media screen and (min-width: 760px) {
    #mainWrapper.ndb-article-archive article.ndb-list-card,
    #mainWrapper.__articles.ndb-article-archive article.ndb-list-card,
    .ndb-article-archive .ndb-list-card {
        flex-direction: row;
        align-items: center;
        padding: 14px 20px !important;
        gap: 16px;
    }

    .ndb-article-archive .ndb-list-card-top {
        flex: 1;
        min-width: 0;
    }

    .ndb-article-archive .ndb-list-rating {
        padding-left: 0;
        flex: 0 0 170px;
        justify-content: center;
    }

    .ndb-article-archive .ndb-list-actions {
        flex: 0 0 220px;
        flex-shrink: 0;
    }

    .ndb-article-archive .ndb-list-actions .ndb-btn {
        padding: 11px 10px;
        min-height: 44px;
        font-size: 13px;
    }
}

.ndb-article-archive .ndb-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--ndb-font);
    min-height: 44px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    box-sizing: border-box;
}

.ndb-article-archive .ndb-btn-primary {
    background: var(--ndb-teal);
    color: #fff;
    box-shadow: var(--ndb-shadow-sm);
}

.ndb-article-archive .ndb-btn-primary:hover {
    background: var(--ndb-teal-600);
    color: #fff;
}

.ndb-article-archive .ndb-btn-ghost {
    background: var(--ndb-bg-alt);
    color: var(--ndb-ink);
}

.ndb-article-archive .ndb-btn-ghost:hover {
    background: var(--ndb-line);
    color: var(--ndb-ink);
}

.ndb-article-archive .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 22px 0 10px;
    flex-wrap: wrap;
}

.ndb-article-archive .pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ndb-ink-soft);
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    padding: 0 8px;
    box-sizing: border-box;
}

.ndb-article-archive .pagination .page-numbers.current {
    background: var(--ndb-teal);
    color: #fff;
}

.ndb-article-archive .pagination .page-numbers:hover:not(.current) {
    background: var(--ndb-bg-alt);
}

.ndb-article-archive .pagination .prev,
.ndb-article-archive .pagination .next {
    background: var(--ndb-bg-alt);
    border-radius: 999px;
    padding: 0 14px;
    min-width: auto;
}

@media screen and (max-width: 600px) {
    .ndb-article-archive .ndb-list-card {
        padding: 14px;
        gap: 10px;
    }

    .ndb-article-archive .ndb-list-rank {
        width: 22px;
        font-size: 14px;
    }

    .ndb-article-archive .ndb-list-av {
        width: 48px;
        height: 48px;
    }

    .ndb-article-archive .ndb-list-name {
        font-size: 15px;
    }

    .ndb-article-archive .ndb-list-rating {
        padding-left: 34px;
    }
}

/* Footer blocks листинга: methodology, FAQ, final-nav */
.ndb-listing-footer {
    padding: 8px 0 32px;
    font-family: var(--ndb-font);
}

.ndb-listing-footer .container {
    max-width: 1400px;
}

.ndb-listing-footer section {
    padding: 24px 0;
}

.ndb-listing-footer .section-head {
    max-width: 640px;
    margin: 0 0 16px;
}

.ndb-listing-footer .section-head h2 {
    font-family: var(--ndb-font);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: var(--ndb-teal);
    margin: 0;
    letter-spacing: -0.02em;
}

.ndb-listing-footer .method-block,
.ndb-listing-desc.method-block {
    max-width: 720px;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ndb-ink-soft);
}

.ndb-listing-footer .method-block h2,
.ndb-listing-desc.method-block h2 {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--ndb-teal);
}

.ndb-listing-footer .method-block h3,
.ndb-listing-desc.method-block h3 {
    font-family: var(--ndb-font);
    font-size: 15px;
    color: var(--ndb-teal);
    margin: 20px 0 8px;
}

.ndb-listing-footer .method-block p,
.ndb-listing-desc.method-block p {
    margin: 0 0 12px;
}

.ndb-listing-footer .method-block ul,
.ndb-listing-desc.method-block ul {
    padding-left: 20px;
    margin: 0 0 12px;
    line-height: 1.7;
}

.ndb-listing-footer .faq {
    max-width: 720px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ndb-listing-footer .faq-item {
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    overflow: hidden;
}

.ndb-listing-footer .faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 18px;
    font-family: var(--ndb-font);
    font-weight: 700;
    font-size: 15px;
    color: var(--ndb-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
}

.ndb-listing-footer .faq-q::-webkit-details-marker {
    display: none;
}

.ndb-listing-footer .faq-q svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ndb-listing-footer .faq-item[open] .faq-q svg {
    transform: rotate(45deg);
}

.ndb-listing-footer .faq-a {
    padding: 0 18px 16px;
    color: var(--ndb-ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

.ndb-listing-footer .faq-a p:first-child {
    margin-top: 0;
}

.ndb-listing-footer .faq-a p:last-child {
    margin-bottom: 0;
}

.ndb-listing-footer .final-nav {
    background: var(--ndb-teal-100);
    border-radius: var(--ndb-radius-lg);
    padding: 28px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 720px;
}

.ndb-listing-footer .final-nav h3 {
    font-family: var(--ndb-font);
    font-size: clamp(19px, 3vw, 23px);
    font-weight: 700;
    color: var(--ndb-teal);
    max-width: 480px;
    margin: 0;
}

.ndb-listing-footer .final-nav p {
    color: var(--ndb-teal-600, var(--ndb-teal));
    font-size: 14.5px;
    max-width: 480px;
    margin: 0;
    line-height: 1.5;
}

.ndb-listing-footer .final-nav .links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   Single article — expert-heading-widget ≈ .profile-card
   ═══════════════════════════════════════════ */

body.single-article #mainWrapper._article {
    margin-top: 12px;
}

body.single-article .__breadcrumbs {
    margin-bottom: 8px;
}

body.single-article .expert-heading-widget {
    background: var(--ndb-surface);
    border: none;
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    padding: 22px;
    margin: 12px 0 20px;
    font-family: var(--ndb-font);
    transform: none !important;
    transition: none !important;
}

body.single-article .expert-heading-widget .expert-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

body.single-article .expert-heading-widget .avatar-image,
body.single-article .expert-heading-widget .avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    border: none;
    background-color: var(--ndb-teal-100);
    object-fit: cover;
}

body.single-article .expert-heading-widget .avatar-fallback {
    background: var(--ndb-teal);
    color: #fff;
}

body.single-article .expert-heading-widget .expert-info {
    width: 100%;
    flex: 1;
    min-width: 0;
}

body.single-article .expert-heading-widget .expert-name-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

body.single-article .expert-heading-widget .expert-name,
body.single-article .expert-heading-widget .expert-name.h1 {
    font-family: var(--ndb-serif);
    font-size: 24px;
    font-weight: 700 !important;
    color: var(--ndb-teal);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 !important;
    padding: 0;
    background: transparent !important;
    border: none !important;
    text-transform: none !important;
}

body.single-article .expert-heading-widget .expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    background: var(--ndb-teal-100) !important;
    color: var(--ndb-teal-600) !important;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: none;
}

body.single-article .expert-heading-widget .expert-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

body.single-article .expert-heading-widget .expert-title {
    font-size: 13px;
    color: var(--ndb-ink-soft);
    background: var(--ndb-bg-alt);
    padding: 4px 14px;
    border-radius: 999px;
    display: inline-block;
    margin: 6px 0 0;
    font-weight: 500;
}

body.single-article .expert-heading-widget .expert-title:empty {
    display: none;
}

body.single-article .expert-heading-widget .expert-rating-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 6px;
}

body.single-article .expert-heading-widget .rating-stars {
    display: flex;
    align-items: center;
    font-size: 26px;
    gap: 4px;
    color: var(--ndb-line);
    line-height: 1;
}

body.single-article .expert-heading-widget .star {
    color: var(--ndb-line);
}

body.single-article .expert-heading-widget .star.filled {
    color: var(--ndb-terracotta);
}

body.single-article .expert-heading-widget .rating-number {
    font-size: 15px;
    font-weight: 800;
    color: var(--ndb-ink);
    margin-left: 8px;
}

body.single-article .expert-heading-widget .review-count {
    text-decoration: underline;
    font-weight: 700;
    color: var(--ndb-teal);
    font-size: 13px;
}

body.single-article .expert-heading-widget .review-count:hover {
    color: var(--ndb-terracotta);
}

body.single-article .expert-heading-widget .expert-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

body.single-article .expert-heading-widget .expert-actions .ndb-btn,
body.single-article .expert-heading-widget .expert-actions a.ndb-btn,
body.single-article .expert-heading-widget .expert-actions .tg-link-heading-widget,
body.single-article .expert-heading-widget .expert-actions a.tg-link-heading-widget {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 30px !important;
    height: auto !important;
    padding: 6px 22px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-family: var(--ndb-font) !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s !important;
}

body.single-article .expert-heading-widget .expert-actions .ndb-btn-primary,
body.single-article .expert-heading-widget .expert-actions a.ndb-btn-primary {
    background: var(--ndb-teal) !important;
    color: #fff !important;
    box-shadow: var(--ndb-shadow-md) !important;
}

body.single-article .expert-heading-widget .expert-actions .ndb-btn-primary:hover,
body.single-article .expert-heading-widget .expert-actions a.ndb-btn-primary:hover {
    background: var(--ndb-teal-600) !important;
    color: #fff !important;
}

body.single-article .expert-heading-widget .expert-actions .ndb-btn-outline,
body.single-article .expert-heading-widget .expert-actions a.ndb-btn-outline,
body.single-article .expert-heading-widget .expert-actions .tg-link-heading-widget,
body.single-article .expert-heading-widget .expert-actions a.tg-link-heading-widget,
body.single-article .expert-heading-widget .expert-actions .tg-link-heading-widget--max,
body.single-article .expert-heading-widget .expert-actions a.tg-link-heading-widget--max {
    background: transparent !important;
    border-color: var(--ndb-teal) !important;
    color: var(--ndb-teal) !important;
    box-shadow: none !important;
}

body.single-article .expert-heading-widget .expert-actions .ndb-btn-outline:hover,
body.single-article .expert-heading-widget .expert-actions a.ndb-btn-outline:hover,
body.single-article .expert-heading-widget .expert-actions .tg-link-heading-widget:hover,
body.single-article .expert-heading-widget .expert-actions a.tg-link-heading-widget:hover,
body.single-article .expert-heading-widget .expert-actions .tg-link-heading-widget--max:hover {
    background: var(--ndb-teal-100) !important;
    color: var(--ndb-teal) !important;
    transform: none !important;
}

body.single-article article > header h1 {
    font-family: var(--ndb-serif);
    color: var(--ndb-teal);
    font-size: clamp(22px, 4vw, 30px);
}

/* Контент обзора ≈ .article из single-obzor */
body.single-article .article-content,
body.single-article [itemprop="articleBody"] {
    color: var(--ndb-ink);
    font-family: var(--ndb-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.single-article .article-content > section,
body.single-article [itemprop="articleBody"] > section {
    padding: 14px 0;
}

body.single-article .article-content h2,
body.single-article [itemprop="articleBody"] h2,
body.single-article .article-content > section > h2,
body.single-article [itemprop="articleBody"] > section > h2 {
    font-family: var(--ndb-serif) !important;
    font-weight: 700 !important;
    font-size: clamp(20px, 3vw, 24px) !important;
    color: var(--ndb-teal) !important;
    letter-spacing: -0.01em;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-transform: none !important;
    scroll-margin-top: 90px;
    line-height: 1.25;
}

body.single-article .article-content h3,
body.single-article [itemprop="articleBody"] h3 {
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 16.5px;
    color: var(--ndb-teal);
    letter-spacing: -0.01em;
    margin: 10px 0 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    line-height: 1.3;
}

body.single-article .article-content h4,
body.single-article [itemprop="articleBody"] h4 {
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ndb-teal);
    margin: 14px 0 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

body.single-article .article-content p,
body.single-article [itemprop="articleBody"] p,
body.single-article .article-content > section > p,
body.single-article [itemprop="articleBody"] > section > p {
    font-family: var(--ndb-font);
    font-size: 15.5px;
    color: var(--ndb-ink-soft);
    margin: 10px 0 0;
    line-height: 1.65;
    padding: 0;
}

body.single-article .article-content ul,
body.single-article .article-content ol,
body.single-article [itemprop="articleBody"] ul,
body.single-article [itemprop="articleBody"] ol {
    color: var(--ndb-ink-soft);
    font-size: 15px;
    padding-left: 20px;
    margin: 12px 0 0;
    line-height: 1.7;
}

body.single-article .article-content li,
body.single-article [itemprop="articleBody"] li {
    margin: 0 0 4px;
    color: var(--ndb-ink-soft);
}

body.single-article .article-content a,
body.single-article [itemprop="articleBody"] a {
    color: var(--ndb-terracotta);
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.single-article .article-content a:hover,
body.single-article [itemprop="articleBody"] a:hover {
    color: var(--ndb-blush-ink);
}

body.single-article .article-content strong,
body.single-article .article-content b,
body.single-article [itemprop="articleBody"] strong,
body.single-article [itemprop="articleBody"] b {
    color: var(--ndb-ink);
    font-weight: 700;
}

body.single-article .article-content blockquote,
body.single-article [itemprop="articleBody"] blockquote {
    border-left: 3px solid var(--ndb-terracotta);
    margin: 18px 0 0;
    padding: 6px 0 6px 16px;
    color: var(--ndb-ink);
    font-style: italic;
    font-size: 15px;
    background: transparent;
}

body.single-article .article-content img,
body.single-article [itemprop="articleBody"] img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ndb-radius-sm);
    margin: 14px 0 0;
}

body.single-article .article-content .hr-divider,
body.single-article [itemprop="articleBody"] .hr-divider,
body.single-article span.hr-divider {
    display: block;
    height: 1px;
    background: var(--ndb-line);
    margin: 22px 0;
    border: none;
}

body.single-article .widget_top_experts.mobile {
    margin-bottom: 16px;
}

@media screen and (min-width: 760px) {
    body.single-article .article-content > section,
    body.single-article [itemprop="articleBody"] > section {
        padding: 20px 0;
    }

    body.single-article .expert-heading-widget {
        padding: 28px;
    }

    body.single-article .expert-heading-widget .expert-container {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    body.single-article .expert-heading-widget .avatar-image,
    body.single-article .expert-heading-widget .avatar-fallback {
        width: 110px;
        height: 110px;
    }

    body.single-article .expert-heading-widget .expert-name,
    body.single-article .expert-heading-widget .expert-name.h1 {
        font-size: 26px;
    }

    body.single-article .expert-heading-widget .expert-name-section {
        justify-content: flex-start;
    }

    body.single-article .expert-heading-widget .expert-rating-section {
        justify-content: flex-start;
    }

    body.single-article .expert-heading-widget .expert-actions {
        max-width: 200px;
        width: auto;
        margin-left: auto;
        align-self: center;
        flex-shrink: 0;
    }
}

.article-content h1,.article-content h2,.article-content h3,.article-content h4 {
    text-transform: none;
    font-weight: 700 !important;
}

.article-content img.aligncenter {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.compatibility-form.global-compatibility-form label, .compatibility-form.zodiac-compatibility-form label, .sidebar .compatibility-form label {
    margin-bottom: 10px !important;
}

.horo .main-horo-list>ul>li:hover {
    background: 0 !important;
}

/* ---------- Editorial verdict (single-obzor) ---------- */
body.single-article .verdict-card {
    background: var(--ndb-teal-100);
    border-radius: var(--ndb-radius-md);
    padding: 20px 44px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin: 0 0 24px;
    font-family: var(--ndb-font);
    box-sizing: border-box;
}

body.single-article .verdict-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ndb-teal);
    margin: 0;
    padding: 0;
}

body.single-article .verdict-text {
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ndb-teal-600);
    margin: 0;
    padding: 0;
}

body.single-article .verdict-status {
    display: inline-flex;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    background: var(--ndb-surface);
    color: var(--ndb-teal);
    padding: 5px 12px;
    border-radius: 999px;
    margin: 0;
}

body.single-article .verdict-warning {
    background: #FBE9E7;
    border: 1px solid #E8998C;
}

body.single-article .verdict-warning .verdict-title {
    color: #9C3B2E;
}

body.single-article .verdict-warning .verdict-text {
    color: #7A2F24;
}

body.single-article .verdict-status-warning {
    background: #F5C6BC;
    color: #8C2C1E;
}

body.single-article .verdict-icon {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 26px;
    height: 26px;
    color: #C0392B;
    opacity: 0.9;
    pointer-events: none;
}

body.single-article .verdict-icon svg {
    display: block;
    width: 26px;
    height: 26px;
}

@media (prefers-reduced-motion: no-preference) {
    body.single-article .verdict-icon {
        animation: ndb-verdict-pulse 2.4s ease-in-out infinite;
    }
}

@keyframes ndb-verdict-pulse {
    0%, 100% {
        opacity: 0.65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

body.single-article .article-content h2, body.single-article [itemprop="articleBody"] h2, body.single-article .article-content > section > h2, body.single-article [itemprop="articleBody"] > section > h2 {
    margin: 30px 0 20px !important;
}

.article-content h1 {
    font-size: clamp(22px, 3vw, 26px) !important;
}

body.single-article .article-content a, body.single-article [itemprop="articleBody"] a.iname {
    color: #163B3A;
    text-decoration: none;
}

body.single-article .article-content a, body.single-article [itemprop="articleBody"] a.iname:hover {
    color: var(--ndb-terracotta);
}

/* ---------- Disclaimer / материалы по теме (после формы отзыва) ---------- */
body.single-article .ndb-review-disclaimer-section {
    margin: 20px 0 0;
}

body.single-article .disclaimer-box {
    background: var(--ndb-bg-alt);
    border-radius: var(--ndb-radius-md);
    padding: 18px 20px;
    font-size: 13px;
    color: var(--ndb-ink-soft);
    line-height: 1.55;
}

.ndb-related-articles-section {
    margin: 28px 0 20px;
}

.ndb-related-articles-section .section-head {
    margin: 0 0 14px;
}

.ndb-related-articles-section .section-title {
    font-family: var(--ndb-serif);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ndb-teal);
    margin: 0;
}

.ndb-related-articles-section .articles-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ndb-related-articles-section a.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    overflow: hidden;
}

.ndb-related-articles-section a.article-card:hover .article-title {
    color: var(--ndb-terracotta);
}

.ndb-related-articles-section .article-img {
    height: 150px;
    background: linear-gradient(135deg, var(--ndb-teal-100), var(--ndb-bg-alt));
    background-size: cover;
    background-position: center;
}

.ndb-related-articles-section .article-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ndb-related-articles-section .article-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ndb-terracotta);
}

.ndb-related-articles-section .article-title {
    font-family: var(--ndb-serif);
    font-size: 16.5px;
    color: var(--ndb-teal);
    font-weight: 700;
    line-height: 1.3;
}

.ndb-related-articles-section .article-excerpt {
    font-size: 13px;
    color: var(--ndb-ink-soft);
    margin: 0;
    line-height: 1.5;
}

.ndb-related-articles-section .article-date {
    font-size: 11.5px;
    color: var(--ndb-ink-faint);
}

.ndb-related-articles-section.ndb-similar-posts .articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 600px) {
    body.single-article .ndb-related-articles-section:not(.ndb-similar-posts) .articles-grid {
        flex-direction: row;
    }

    body.single-article .ndb-related-articles-section:not(.ndb-similar-posts) a.article-card {
        flex: 1;
    }
}

@media (min-width: 700px) {
    .ndb-related-articles-section.ndb-similar-posts .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ad-between-mini {
    display: none;
}

nav.ndb-nav-primary {
    background: 0;
    width: auto;
    box-shadow: none;
}
.horo .horo-left {
    padding-left: 15px;
}

/* ═══════════════════════════════════════════
   Pages — единый формат как обзор (single-article)
   ═══════════════════════════════════════════ */

body.ndb-unified-content #mainWrapper.ndb-page,
body.page #mainWrapper.ndb-page,
body.ndb-unified-content #mainWrapper.horo.row {
    margin-top: 12px;
}

body.ndb-unified-content .ndb-page-breadcrumbs-wrap,
body.ndb-unified-content .__breadcrumbs,
body.ndb-unified-content #breadcrumbs {
    margin: 0 0 8px;
}

body.ndb-unified-content .ndb-page-header {
    margin: 0 0 16px;
}

body.ndb-unified-content .ndb-page-title,
body.ndb-unified-content #mainContent > h1,
body.ndb-unified-content #mainContent h1.page-title,
body.ndb-unified-content #mainContent h1.z-depth-1,
body.ndb-unified-content .horo-left > article > header h1,
body.ndb-unified-content .horo-left > article > h1,
body.ndb-unified-content .name-item header h1 {
    font-family: var(--ndb-serif) !important;
    color: var(--ndb-teal) !important;
    font-size: clamp(22px, 4vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body.ndb-unified-content .ndb-prose,
body.ndb-unified-content .ndb-page-content,
body.ndb-unified-content [itemprop="articleBody"],
body.ndb-unified-content #mainContent article.contenter,
body.ndb-unified-content #mainContent article.name-item,
body.ndb-unified-content #mainPage .content-wrapper {
    color: var(--ndb-ink);
    font-family: var(--ndb-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.ndb-unified-content .ndb-prose h2,
body.ndb-unified-content .ndb-page-content h2,
body.ndb-unified-content [itemprop="articleBody"] h2,
body.ndb-unified-content .ndb-subpages-title,
body.ndb-unified-content #mainContent .sub-title {
    font-family: var(--ndb-serif) !important;
    font-weight: 700 !important;
    font-size: clamp(20px, 3vw, 24px) !important;
    color: var(--ndb-teal) !important;
    letter-spacing: -0.01em;
    margin: 20px 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-transform: none !important;
    line-height: 1.25;
}

body.ndb-unified-content .ndb-prose h3,
body.ndb-unified-content .ndb-page-content h3,
body.ndb-unified-content [itemprop="articleBody"] h3 {
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 16.5px;
    color: var(--ndb-teal);
    margin: 16px 0 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

body.ndb-unified-content .ndb-prose h4,
body.ndb-unified-content .ndb-page-content h4,
body.ndb-unified-content [itemprop="articleBody"] h4 {
    font-family: var(--ndb-serif);
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ndb-teal);
    margin: 14px 0 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

body.ndb-unified-content .ndb-prose p,
body.ndb-unified-content .ndb-page-content p,
body.ndb-unified-content [itemprop="articleBody"] p {
    font-family: var(--ndb-font);
    font-size: 15.5px;
    color: var(--ndb-ink-soft);
    margin: 10px 0 0;
    line-height: 1.65;
    padding: 0;
}

body.ndb-unified-content .ndb-prose ul,
body.ndb-unified-content .ndb-prose ol,
body.ndb-unified-content .ndb-page-content ul,
body.ndb-unified-content .ndb-page-content ol,
body.ndb-unified-content [itemprop="articleBody"] ul,
body.ndb-unified-content [itemprop="articleBody"] ol {
    margin: 10px 0 0;
    padding-left: 1.25em;
}

body.ndb-unified-content .ndb-prose li,
body.ndb-unified-content .ndb-page-content li,
body.ndb-unified-content [itemprop="articleBody"] li {
    font-size: 15.5px;
    color: var(--ndb-ink-soft);
    line-height: 1.6;
    margin: 4px 0 0;
}

body.ndb-unified-content .ndb-prose a,
body.ndb-unified-content .ndb-page-content a,
body.ndb-unified-content [itemprop="articleBody"] a {
    color: var(--ndb-teal-600);
    text-decoration: none;
}

body.ndb-unified-content .ndb-prose a:hover,
body.ndb-unified-content .ndb-page-content a:hover,
body.ndb-unified-content [itemprop="articleBody"] a:hover {
    color: var(--ndb-terracotta);
}

body.ndb-unified-content .ndb-prose img,
body.ndb-unified-content .ndb-page-content img,
body.ndb-unified-content [itemprop="articleBody"] img,
body.ndb-unified-content .ndb-page-featured img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ndb-radius-sm);
}

body.ndb-unified-content .ndb-page-featured {
    margin: 0 0 16px;
}

body.ndb-unified-content .ndb-page-datetime,
body.ndb-unified-content p.datetime {
    margin: 20px 0 0;
    padding: 0;
    font-size: 12.5px;
    color: var(--ndb-ink-faint);
    background: transparent !important;
}

body.ndb-unified-content .ndb-subpages-list {
    list-style: none;
    margin: 12px 0 20px !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.ndb-unified-content .ndb-subpages-list > li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: none !important;
}

body.ndb-unified-content .ndb-subpages-list > li > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 10px 12px 10px 60px !important;
    position: relative;
    background: var(--ndb-surface) !important;
    border: 1px solid var(--ndb-line);
    border-radius: var(--ndb-radius-sm);
    box-shadow: var(--ndb-shadow-sm);
    color: var(--ndb-teal) !important;
    font-family: var(--ndb-font);
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    text-decoration: none;
    overflow: hidden;
    max-height: none !important;
}

body.ndb-unified-content .ndb-subpages-list > li > a:hover {
    color: var(--ndb-terracotta) !important;
    border-color: var(--ndb-terracotta-soft);
    background: var(--ndb-bg-alt) !important;
}

body.ndb-unified-content .ndb-subpages-list > li > a::before {
    opacity: 1 !important;
}

body.ndb-unified-content #listing,
body.ndb-unified-content #mainContent #listing {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    margin: 16px 0 0;
}

body.ndb-unified-content .__faq .section_element,
body.ndb-unified-content .__faq section {
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    padding: 18px 20px;
    margin: 0 0 14px;
}

body.ndb-unified-content .__faq h2 {
    margin-top: 0 !important;
}

body.ndb-unified-content .__faq h3 {
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 1px solid var(--ndb-line);
    margin: 0 !important;
}

body.ndb-unified-content .__faq li.faq_expanded h3 {
    color: var(--ndb-terracotta);
    border-bottom-color: transparent;
}

@media screen and (max-width: 600px) {
    body.ndb-unified-content .ndb-subpages-list {
        grid-template-columns: 1fr;
    }

    body.ndb-unified-content .ndb-subpages-list > li > a {
        font-size: 13px !important;
    }
}

/* Gender archive, single names, 404 — доп. элементы */
body.ndb-unified-content #mainContent article.names-list,
body.ndb-unified-content #mainContent article.contenter,
body.ndb-unified-content #mainContent article.name-item {
    background: transparent !important;
    box-shadow: none !important;
    border: none;
    padding: 0;
}

/* Оглавление — единый .ndb-toc (референс single-obzor .toc-list) */
.ndb-toc {
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    margin: 0 0 16px;
    overflow: hidden;
}

.ndb-toc__head {
    padding: 14px 16px;
    font-family: var(--ndb-font);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ndb-teal);
    border-bottom: 1px solid var(--ndb-line);
}

.ndb-toc__list {
    list-style: none;
    margin: 0;
    padding: 10px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ndb-toc__item {
    margin: 0;
    padding: 0;
}

.ndb-toc__item a {
    display: block;
    padding: 10px 12px;
    font-family: var(--ndb-font);
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ndb-ink-soft);
    text-decoration: none;
    border-radius: var(--ndb-radius-sm);
    background: transparent !important;
}

.ndb-toc__item a:hover {
    background: var(--ndb-bg-alt);
    color: var(--ndb-teal);
}

.ndb-toc__item--sub a {
    padding-left: 24px;
    font-size: 13px;
}

/* FAQ-блоки section.more — как .__faq */
body.ndb-unified-content section.more.ndb-faq-block,
body.ndb-unified-content section#FAQ.more {
    background: var(--ndb-surface);
    border-radius: var(--ndb-radius-md);
    box-shadow: var(--ndb-shadow-sm);
    padding: 18px 20px;
    margin: 24px 0 0;
    border: none;
}

body.ndb-unified-content section.more.ndb-faq-block > h2,
body.ndb-unified-content section#FAQ.more > h2 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ndb-line);
}

body.ndb-unified-content section.more.ndb-faq-block > div,
body.ndb-unified-content section#FAQ.more > div {
    border-bottom: 1px solid var(--ndb-line);
    padding: 0;
    margin: 0;
}

body.ndb-unified-content section.more.ndb-faq-block > div:last-child,
body.ndb-unified-content section#FAQ.more > div:last-child {
    border-bottom: none;
}

body.ndb-unified-content section.more.ndb-faq-block h3,
body.ndb-unified-content section#FAQ.more h3 {
    cursor: default;
    padding: 12px 0 8px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    font-family: var(--ndb-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--ndb-teal);
    line-height: 1.35;
}

body.ndb-unified-content section.more.ndb-faq-block > div > div,
body.ndb-unified-content section.more.ndb-faq-block > div > div > div,
body.ndb-unified-content section.more.ndb-faq-block > div > p,
body.ndb-unified-content section#FAQ.more > div > div,
body.ndb-unified-content section#FAQ.more > div > div > div,
body.ndb-unified-content section#FAQ.more > div > p {
    padding: 0 0 12px;
    margin: 0;
    font-family: var(--ndb-font);
    font-size: 15.5px;
    color: var(--ndb-ink-soft);
    line-height: 1.65;
}

body.ndb-unified-content section.more.ndb-faq-block > div > div > div > div,
body.ndb-unified-content section#FAQ.more > div > div > div > div {
    padding: 0;
}

body.ndb-unified-content section.more.ndb-faq-block p,
body.ndb-unified-content section#FAQ.more p {
    margin: 0 0 8px;
}

body.ndb-unified-content .names-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

body.ndb-unified-content .names-table th,
body.ndb-unified-content .names-table td {
    border: 1px solid var(--ndb-line);
    padding: 8px 10px;
    font-size: 14px;
}

body.ndb-unified-content .names-table caption {
    margin-bottom: 8px;
    text-align: left;
    font-family: var(--ndb-serif);
    font-weight: 700;
    color: var(--ndb-teal);
}

body.ndb-unified-content.error404 #post-404 {
    background: transparent !important;
    padding: 0;
    margin: 0;
}

body.ndb-unified-content.error404 .ndb-404-image {
    margin: 16px 0 0;
}

body.ndb-unified-content.error404 .ndb-404-image img {
    border-radius: var(--ndb-radius-sm);
}

body.ndb-unified-content.error404 .ndb-404-home {
    margin: 20px 0 0;
    text-align: center;
}

body.ndb-unified-content.error404 .ndb-404-home a {
    display: inline-block;
    padding: 12px 24px;
    background: var(--ndb-teal);
    color: #fff;
    border-radius: var(--ndb-radius-sm);
    font-weight: 600;
    text-decoration: none;
}

body.ndb-unified-content.error404 .ndb-404-home a:hover {
    background: var(--ndb-terracotta);
    color: #fff;
}
nav ul li.active, nav ul li:hover {
    background: 0 !important;
}

nav.ndb-toc {
    margin: 30px 0;
}

nav.ndb-toc ul.ndb-toc__list,.ndb-toc__list li.ndb-toc__item, body.tax-gender #mainWrapper .ndb-toc__list li.ndb-toc__item {
    list-style-type: none !important;
    margin: 0 !important;
}

.ndb-toc__item a {
    padding: 6px 0;
}

.cookies-info .cookie-actions .btn-primary, .cookies-info .cookie-actions button.btn-primary {
    text-indent: -99999px !important;
    display: none;
}

footer.page-footer .footer-col h4 {
    margin-top: 0 !important;
}

.ndb-home.home+footer.page-footer.site {
    margin-top: 0 !important;
}