/* granulos-blog-meta-views-v2
   Просмотры и лайк — в правом верхнем углу шапки статьи.
   Перебивает унаследованные правила .news_detail span. */

#blog.news_detail .blog-meta__views {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    width: max-content !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #6b6b70 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums;
}

#blog.news_detail .blog-meta__views svg {
    display: block !important;
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: currentColor;
}

#blog.news_detail .blog-meta__views > span:not(.visually-hidden) {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
}

#blog.news_detail .blog-meta__views .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#blog.news_detail .blog-meta__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
    margin: 0;
}

#blog.news_detail .blog-meta__actions .gr-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    margin: 0;
    padding: 2px 11px;
    border: 1px solid #d8d9d6;
    border-radius: 999px;
    background: #fff;
    color: #1d211c;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

#blog.news_detail .blog-meta__actions .gr-like:hover {
    border-color: #e3261c;
    color: #e3261c;
}

#blog.news_detail .blog-meta__actions .gr-like.is-liked {
    border-color: #e3261c;
    background: #fdeceb;
    color: #e3261c;
}

#blog.news_detail .blog-meta__actions .gr-like svg {
    display: block;
    width: 18px;
    height: 18px;
}

#blog.news_detail .blog-meta__actions .gr-like__count {
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    #blog.news_detail > .blog-meta {
        grid-template-columns: max-content max-content max-content minmax(0, 1fr) !important;
        column-gap: clamp(12px, 2vw, 28px) !important;
    }

    #blog.news_detail .blog-meta__actions {
        justify-self: end;
    }
}
