/* ==========================================================
   JoomGallery: информация под фотографией в LightGallery
   ========================================================== */

.lg-sub-html .jg-rich-caption {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4px 16px 8px;

    text-align: left;
    color: #fff;
}


/* Название фотографии */

.lg-sub-html .jg-rich-title {
    margin-bottom: 4px;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}


/* Описание */

.lg-sub-html .jg-rich-description {
    margin-bottom: 7px;

    font-size: 14px;
    line-height: 1.45;

    color: rgba(255,255,255,.88);
}


/* Строка метаданных */

.lg-sub-html .jg-rich-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 4px 18px;

    font-size: 13px;
    line-height: 1.4;

    color: rgba(255,255,255,.72);
}


/* Отдельный параметр */

.lg-sub-html .jg-rich-meta-item {
    white-space: nowrap;
}


/* "Альбом:", "Загрузил:" и т.п. */

.lg-sub-html .jg-rich-label {
    color: rgba(255,255,255,.55);
}


/* Ссылка на альбом */

.lg-sub-html .jg-rich-category {
    color: rgba(255,255,255,.9);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
    text-underline-offset: 2px;
}

.lg-sub-html .jg-rich-category:hover {
    color: #fff;
    text-decoration-color: #fff;
}


/* Телефон */

@media (max-width: 767px) {

    .lg-sub-html .jg-rich-caption {
        padding-left: 8px;
        padding-right: 8px;
    }

    .lg-sub-html .jg-rich-title {
        font-size: 16px;
    }

    .lg-sub-html .jg-rich-description {
        font-size: 13px;
    }

    .lg-sub-html .jg-rich-meta {
        gap: 3px 12px;
        font-size: 12px;
    }
}

.article-list .article .featured-article-badge {
    display: none !important;
    visibility: hidden !important;
}

.article-details .featured-article-badge {
    display: none !important;
    visibility: hidden !important;
}



/* JComments — ссылка на комментарии в списке материалов */

.jcomments-count-link {
    font-size: 15px;
    font-style: italic;
    font-weight: 500;

    color: #2457b2;

    text-decoration: none;
}

.jcomments-count-link:hover {
    color: #173f8f;
    text-decoration: underline;
}