/* MIC-33: убрать поиск, рассылку, комментарии */
#canvasSearch,
.offcanvas-search,
a.btn-find[href="#canvasSearch"],
.footer-newsletter,
.section-newsletter,
.newsletter-item,
.comments-area,
#comments {
    display: none !important;
}

body.smi-theme-light-only .toggle-switch-mode,
body.smi-theme-light-only .btn-find {
    display: none !important;
}

/* SMI Drozy theme: align imagery with template proportions */
.hero-banner .img-thumbs img,
.page-title .img-thumbs img,
.thumbs-post img,
.feature-post-item .img-style > img,
.feature-post-item.style-small .img-style img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
}

.feature-post-item.style-small .img-style {
    flex-shrink: 0;
}

.feature-post-item.style-small .img-style img {
    aspect-ratio: 4 / 3;
    max-width: 123px;
}

.feature-post-item.style-list .img-style > img,
.feature-post-item.style-list.v2 .img-style > img {
    aspect-ratio: 16 / 9;
}

.hero-banner .img-thumbs img {
    aspect-ratio: 1800 / 700;
    max-height: min(70vh, 700px);
}

.heading-post .thumbs-post img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
}

/* Infinite scroll: следующая статья в том же виде, визуальный разделитель */
.smi-infinite-scroll-article {
    border-top: 2px solid var(--Line, rgba(0, 0, 0, 0.14));
    margin-top: 4rem;
    padding-top: 4rem;
}

.smi-infinite-scroll-article .heading-post {
    padding-top: 0;
}

.section-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
}

/* Меню из админки (menuHeaderHtml / menuFooterHtml) внутри темы */
.header-menu .smi-site-menu-html.navigation > ul,
.header-menu .smi-site-menu-html ul.navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

/* MIC-118: десктоп-меню под логотипом — по левому краю, интервал между пунктами −20% */
@media (min-width: 992px) {
    .header-menu.style-default .header-inner {
        justify-content: flex-start;
    }

    .header-menu.style-default .main-menu .navigation {
        gap: 32px;
    }

    .header-menu.style-default .main-menu .navigation > li:not(:last-child)::before {
        right: -19px;
    }

    .header-menu .smi-site-menu-html.navigation > ul,
    .header-menu .smi-site-menu-html ul.navigation {
        justify-content: flex-start;
        gap: 0.5rem 1rem;
    }
}

.inner-mobile-nav .smi-site-menu-html ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inner-mobile-nav .smi-site-menu-html a {
    text-decoration: none;
}

.smi-site-footer-menu .footer-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .smi-site-footer-menu .footer-menu-list ul {
        justify-content: flex-start;
    }
}

/* MIC-32: типографика HTML из редактора (без классов на p/h2/ul в Trix) */
.smi-rich-content,
.smi-page-body {
    color: var(--On-surface);
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}

.smi-rich-content > * + * {
    margin-top: 1.75rem;
}

/* Trix часто отдаёт <div> вместо <p> — те же правила, что у абзаца в single-post */
.smi-rich-content > div {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: 400;
}

.smi-rich-content p {
    margin: 0 0 1.75rem;
}

.smi-rich-content p:last-child {
    margin-bottom: 0;
}

.smi-rich-content strong,
.smi-rich-content b {
    font-weight: 700;
}

.smi-rich-content h1,
.smi-rich-content h2,
.smi-rich-content h3,
.smi-rich-content h4,
.smi-rich-content h5,
.smi-rich-content h6 {
    font-family: inherit;
    font-weight: 700;
    color: var(--On-surface);
}

.smi-rich-content h1 {
    font-size: 30px;
    line-height: 42px;
    margin: 0 0 0.75rem;
}

.smi-rich-content h2 {
    font-size: 24px;
    line-height: 32px;
    margin: 3.5rem 0 18px;
}

.smi-rich-content > :first-child:is(h2) {
    margin-top: 0;
}

.smi-rich-content h3 {
    font-size: 22px;
    line-height: 30px;
    margin: 0 0 12px;
}

.smi-rich-content h4,
.smi-rich-content h5,
.smi-rich-content h6 {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 12px;
}

.smi-rich-content ul,
.smi-rich-content ol {
    padding-left: 30px;
    margin-bottom: 1.75rem;
}

.smi-rich-content ul li {
    list-style: disc;
}

.smi-rich-content ol li {
    list-style: decimal;
}

.smi-rich-content li + li {
    margin-top: 0.35rem;
}

.smi-rich-content a,
.smi-rich-content a:link,
.smi-rich-content a:visited {
    text-decoration: underline;
    color: var(--On-surface, #171412);
}

.smi-rich-content a:hover {
    opacity: 0.85;
    color: var(--On-surface, #171412);
}

.smi-rich-content img,
.smi-rich-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.smi-rich-content figure {
    margin: 0 0 1.75rem;
}

.smi-rich-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--Secondary2, #6b7280);
}

.smi-rich-content blockquote {
    margin: 0 0 1.75rem;
    padding-left: 40px;
    border-left: 1px solid var(--On-surface);
    font-style: italic;
}

.smi-rich-content table {
    width: 100%;
    margin-bottom: 1.75rem;
}

.smi-rich-content pre,
.smi-rich-content code {
    font-size: 0.9em;
}

/* Page — project-detail: text-body-1 (16/26) */
.project-detail .thumb-main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1920 / 800;
    max-height: min(50vh, 800px);
}

.project-detail .smi-rich-content,
.project-detail .smi-page-body {
    font-size: 16px;
    line-height: 26px;
}

.project-detail .smi-rich-content h2,
.project-detail .smi-rich-content h3,
.project-detail .smi-rich-content h4 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    margin: 0 0 12px;
}

.project-detail .smi-rich-content > p,
.project-detail .smi-rich-content > div {
    font-size: 16px;
    line-height: 26px;
}

.project-detail .smi-rich-content blockquote,
.project-detail .smi-rich-content .quote-project {
    margin: 0 0 1.75rem;
    padding: 0;
    border: none;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.project-detail .smi-rich-content blockquote p,
.project-detail .smi-rich-content .quote-project p {
    margin: 0 0 1rem;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.project-detail .tf-social.style-2 {
    gap: 0.75rem;
}

/* MIC-48: Page — без шерингов; шире на десктопе */
.smi-page-detail .share-bar {
    display: none !important;
}

@media (min-width: 1200px) {
    .smi-page-detail .smi-page-container {
        max-width: min(96vw, 1590px);
    }
}

/* MIC-33: список авторов (team.html) */
.section-team .team-item .img-style {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.section-team .team-item .img-style img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 368 / 490;
    transition: transform 0.35s ease;
}

.section-team .team-item.hover-image:hover .img-style img {
    transform: scale(1.05);
}

.section-team .team-item .info .name a {
    text-decoration: none;
}

.section-team .team-item .tf-social.style-1 {
    margin-top: 0.75rem;
}

/* MIC-33: контакты (contact.html без карты и формы) */
.smi-page-contact .map-box,
.smi-page-contact #map,
.smi-page-contact .form-contact {
    display: none !important;
}

.smi-page-contact .list-info .item h5 {
    margin-bottom: 0.75rem;
}

.smi-page-contact .smi-rich-content > * + * {
    margin-top: 1.25rem;
}

/* Material — post-details / single-post-1 (passage, mb_28) */
.post-details.smi-material-body > .smi-rich-content {
    margin-top: 0;
}

/* MIC-132: подзаголовки в теле (в т.ч. вложенные в div от Trix/RSS), не только прямые потомки */
.post-details .smi-rich-content h2,
.post-details .smi-rich-content h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    margin-top: 3.5rem;
    margin-bottom: 18px;
    color: var(--On-surface, #171412);
}

.post-details .smi-rich-content > :first-child:is(h2, h3) {
    margin-top: 0;
}

/* MIC-132: первый подзаголовок в теле — чуть больше воздуха от вводного текста */
.post-details .smi-rich-content h2:first-of-type,
.post-details .smi-rich-content h3:first-of-type {
    margin-top: 5rem;
    padding-top: 0;
    border-top: none;
}

.post-details .smi-rich-content h2:not(:first-of-type),
.post-details .smi-rich-content h3:not(:first-of-type) {
    margin-top: 5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--Line, rgba(0, 0, 0, 0.12));
}

.post-details .smi-rich-content a,
.post-details .smi-rich-content a:link,
.post-details .smi-rich-content a:visited {
    display: inline;
    color: var(--On-surface, #171412);
    text-decoration: underline;
}

.post-details .smi-rich-content ul,
.post-details .smi-rich-content ol {
    font-size: 18px;
    line-height: 30px;
}

.post-details .smi-rich-content ul + div,
.post-details .smi-rich-content ol + div,
.post-details .smi-rich-content > div + ul {
    margin-top: 1.25rem;
}

@media (max-width: 991.98px) {
    .smi-rich-content {
        font-size: 16px;
        line-height: 28px;
    }

    .project-detail .smi-rich-content,
    .project-detail .smi-page-body {
        font-size: 16px;
        line-height: 26px;
    }
}

.single-post .share-bar.sticky-top {
    top: 120px;
}

/* MIC-78 / MIC-119: мобильный шеринг — фиксированная полоса внизу, подпись + только иконки */
@media (max-width: 991.98px) {
    body.smi-material-page,
    body:has(.smi-material-sharing-mobile) {
        padding-bottom: calc(4.5rem + var(--smi-cookie-bar-offset, 0px) + env(safe-area-inset-bottom, 0px));
    }

    .smi-material-sharing-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--smi-cookie-bar-offset, 0px);
        z-index: 1000012;
        margin: 0 !important;
        padding: 0;
        max-width: none;
        min-height: 3.75rem;
        contain: layout style;
        background: var(--Surface, #fff);
        border-top: 1px solid rgba(23, 20, 18, 0.08);
        box-shadow: 0 -4px 20px rgba(23, 20, 18, 0.08);
    }

    .smi-material-sharing-mobile .smi-sharing-material,
    .smi-material-sharing-mobile .share-bar,
    .smi-material-sharing-mobile .smi-sharing-material .share-bar.lg-hide {
        display: block !important;
        max-width: 100%;
        margin: 0;
    }

    .smi-material-sharing-mobile .share-bar {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
        text-align: left;
    }

    .smi-material-sharing-mobile .share-bar.sticky-top {
        position: static;
        top: auto;
    }

    .smi-material-sharing-mobile .share-bar__label {
        flex: 0 0 auto;
        margin: 0 !important;
        white-space: nowrap;
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .smi-material-sharing-mobile .share-bar ul {
        display: flex !important;
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5rem;
        list-style: none;
        padding: 0;
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .smi-material-sharing-mobile .share-bar ul > li {
        margin: 0;
        padding: 0;
        flex: 0 0 auto;
    }

    .smi-material-sharing-mobile .share-bar .social-item {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        max-width: none;
        padding: 0;
        gap: 0;
        font-size: 0;
        white-space: nowrap;
        justify-content: center !important;
    }

    .smi-material-sharing-mobile .share-bar .social-item i {
        font-size: 1.125rem;
        line-height: 1;
        margin: 0;
    }
}

/* Страница автора (author-detail-1) */
.smi-author-biography p:last-child {
    margin-bottom: 0;
}

.smi-author-materials-grid .smi-ad-slot {
    grid-column: 1 / -1;
}

/* MIC-42: рекламные слоты */
.smi-list-feed-col .smi-ad-slot {
    width: 100%;
    margin: 1.5rem 0;
}

.smi-list-feed-col .smi-ad-slot .adsense-placeholder {
    margin: 0;
}

.smi-material-ad-before-related {
    margin-top: 10px;
    margin-bottom: 7px;
}

.smi-material-ad-before-related .smi-ad-slot,
.smi-material-ad-before-related .adsense-placeholder {
    width: 100%;
    margin: 0;
}

.smi-home-ad-slot-1,
.smi-home-ad-slot-2 {
    margin-bottom: 1.5rem;
}

.smi-home-ad-slot-1 .smi-ad-slot,
.smi-home-ad-slot-2 .smi-ad-slot,
.smi-home-ad-slot-1 .adsense-placeholder,
.smi-home-ad-slot-2 .adsense-placeholder {
    width: 100%;
    margin: 0;
}

.thumbs-post.smi-material-lead-figure figcaption {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--Secondary2, #6b7280);
}

.post-details.smi-material-body > .smi-material-lead {
    margin-bottom: 1.75rem;
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: var(--On-surface, #171412);
}

@media (max-width: 991.98px) {
    .post-details.smi-material-body > .smi-material-lead {
        font-size: 20px;
        line-height: 32px;
    }
}

@media (max-width: 767.98px) {
    .post-details.smi-material-body > .smi-material-lead {
        font-size: 18px;
        line-height: 28px;
    }
}

/* MIC-48: хлебные крошки — компактно, слева, перенос на мобиле */
ul.breadcrumb.breadcrumb--smi-sep {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem 0.5rem;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0.75rem 0;
    list-style: none;
}

ul.breadcrumb.breadcrumb--smi-sep > li {
    flex: 0 1 auto;
    max-width: 100%;
}

ul.breadcrumb.breadcrumb--smi-sep .breadcrumb__sep {
    flex: 0 0 auto;
    opacity: 0.65;
}

/* MIC-48: цитаты как h4 */
.smi-rich-content blockquote {
    margin: 0 0 1rem;
    padding-left: 0;
    border-left: none;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: var(--On-surface, #171412);
}

.smi-rich-content blockquote p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.share-bar .share-bar__label {
    display: block;
}

/* MIC-131: copy link — <a href="#"> + preventDefault в smi-sharing-copy-link.js */
.share-bar .social-item,
.share-bar a.social-item,
.share-bar a.social-item:link,
.share-bar a.social-item:visited,
.share-bar a.social-item.copyLink,
.share-bar button.social-item.copyLink {
    color: var(--On-surface, #171412);
    text-decoration: none;
}

.share-bar a.social-item.copyLink {
    cursor: pointer;
}

.share-bar button.social-item.copyLink {
    background-color: transparent;
    font: inherit;
    text-align: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.heading-post .user-post .avatar {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 50%;
}

.heading-post .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

/* MIC-77: вся шапка (topbar + десктоп-меню / моб. бургер) остаётся при скролле */
#wrapper > header.bg-surface-color {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: var(--Surface);
}

#wrapper > header.bg-surface-color.smi-header-pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--Surface);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Одно меню в потоке; не header-fixed (скрытое до скролла) */
header .header-menu.smi-header-menu-sticky {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: all;
}

/* MIC-95: запасная страховка для старого HTML с двумя .header-menu подряд */
header .header-menu.style-default + .header-menu.style-default {
    display: none !important;
}

/* MIC-48: мобильная шапка */
@media (max-width: 991.98px) {
    header .topbar-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    header .topbar-inner .site-logo {
        order: 2;
        flex: 1 1 auto;
        text-align: center;
    }

    header .topbar-inner .mobile-button {
        order: 1;
    }

    header .topbar-inner > .d-flex.justify-content-end {
        order: 3;
        width: 100%;
        justify-content: center !important;
    }

    header .header-menu.style-default + .header-menu.style-default {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .smi-author-materials-grid {
        margin-bottom: 2rem;
    }
}

/* MIC-33 сквозняк: светлая тема, без поиска / рассылки / переключателя темы */
html {
    color-scheme: light;
}

.toggle-switch-mode,
#canvasSearch,
.offcanvas-search,
.footer-newsletter,
.header-menu a[data-bs-target="#canvasSearch"],
.header-menu .icon-search {
    display: none !important;
}

/* Page — project-detail (Drozy): hero, типографика тела */
.project-detail .thumb-main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1920 / 800;
    max-height: min(50vh, 800px);
}

.project-detail .smi-rich-content,
.project-detail .smi-page-body {
    font-size: 16px;
    line-height: 26px;
}

.project-detail .smi-rich-content h2 {
    font-size: 22px;
    line-height: 30px;
}

.project-detail .smi-rich-content h3,
.project-detail .smi-rich-content h4 {
    font-size: 20px;
    line-height: 28px;
}

/* MIC-118: 29 / 22 / 22 / 27 / 25 — lead / home+lists / H1 / related */
.section-editor-pick .feature-post-item.item-grid > .content > h2.title {
    font-size: 29px;
    line-height: 38px;
}

.section-editor-pick h3.title,
.section-our-best h3.title,
.section-latest-news h3.title,
.list-features-post .feature-post-item .title,
.smi-author-materials-grid .feature-post-item .title {
    font-size: 22px;
    line-height: 29px;
}

.heading-post h1,
.page-title.style-default h1,
.page-title.style-1 .heading-title h1,
.smi-page-detail .heading-title h1.title,
.section-cta h1 {
    font-size: 27px;
    line-height: 36px;
}

.section-related-post .feature-post-item .title {
    font-size: 25px;
    line-height: 33px;
}

.smi-page-detail .heading-title .title {
    font-weight: 700;
}

.smi-page-lead {
    font-size: 18px;
    line-height: 30px;
}

.smi-page-updated {
    margin: 0 0 2.5rem;
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    text-align: left;
    color: var(--On-surface, #1a1a1a);
}

.smi-page-updated--footer {
    margin: 3rem 0 1.5rem;
}

.smi-page-body--footer {
    margin-top: 0;
}

.smi-page-conversation-cta {
    background: var(--Surface2, #f5f5f5);
    margin-top: 3rem;
    margin-bottom: 80px;
}

@media (max-width: 767px) {
    .smi-page-conversation-cta {
        margin-bottom: 50px;
    }
}

.tf-social a.smi-social-vk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    border-radius: 50%;
}

/* MIC-91: Reddit — нет глифа в icomoon, SVG-маска */
.icon-RedditLogo:before {
    font-family: inherit !important;
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("../icons/RedditLogo.svg") center / contain no-repeat;
    mask: url("../icons/RedditLogo.svg") center / contain no-repeat;
}

.section-related-post.tf-spacing-8 {
    padding-top: 10px;
}

/* Чипы Popular Tag — в сайдбаре (.sidebar) и в центре списка /topic/, /product/ */
.smi-popular-tag-chips .tag a,
.sidebar .smi-popular-tag-chips .tag a {
    padding: 4px 15px;
    border: 1px solid var(--Line);
    color: var(--Secondary);
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.smi-popular-tag-chips .tag:hover a,
.sidebar .smi-popular-tag-chips .tag:hover a {
    border-color: var(--On-surface);
    color: var(--On-surface);
}

/* Индекс таксономии: плашки в центральной колонке */
.smi-taxonomy-chips-main {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.smi-taxonomy-chips-main .smi-taxonomy-chips-block__title {
    text-align: center;
}

.smi-taxonomy-chips-main .smi-popular-tag-chips {
    justify-content: center;
}

/* MIC-71: описание категории/тега под H1 — абзацы из редактора */
.page-title.style-default .smi-taxonomy-description {
    margin-top: 1rem;
    max-width: 960px;
    font-size: 18px;
    line-height: 30px;
    color: var(--On-surface);
}

.page-title.style-default .smi-taxonomy-description > * + * {
    margin-top: 1.25rem;
}

.page-title.style-default .smi-taxonomy-description p {
    margin: 0 0 1.25rem;
}

.page-title.style-default .smi-taxonomy-description p:last-child {
    margin-bottom: 0;
}

/* MIC-71: бейдж «N articles» у H1 — ~1.5× ширина эталона (12px → 18px padding) */
.page-title.style-default .tag.smi-article-count-badge {
    padding: 2px 18px;
    white-space: nowrap;
}

/* MIC-94: меню — без flip-анимации (один .text вместо двух в Drozy), underline при hover */
.main-menu .navigation .text-menu .toggle {
    display: inline;
}

.main-menu .navigation .text-menu .toggle .text,
.main-menu .navigation .text-menu:hover .toggle .text:nth-child(1),
.main-menu .navigation .text-menu:hover .toggle .text:nth-child(2) {
    opacity: 1 !important;
    transform: none !important;
}

.main-menu .navigation .text-menu .toggle .text .char,
.main-menu .navigation .text-menu:hover .toggle .text .char {
    transform: none !important;
    transition: none;
}

.main-menu .navigation > li.text-menu > a:hover,
.main-menu .navigation > li.text-menu > a:focus-visible {
    color: var(--On-surface);
}

.main-menu .navigation > li.text-menu > a:hover::after,
.main-menu .navigation > li.text-menu > a:focus-visible::after {
    width: 100%;
}

/* MIC-94: visited — заголовки материалов на главной и в лентах категорий/тегов (не меню) */
.section-editor-pick .feature-post-item .title > a.link:visited,
.section-our-best .feature-post-item .title > a.link:visited,
.section-latest-news .feature-post-item .title > a.link:visited,
.list-features-post .feature-post-item .title > a.link:visited {
    color: var(--Secondary2, #a0a0a0);
}
