/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 28 2026 | 18:34:23 */
/* ============================================
   ВИДЖЕТ "НЕДАВНИЕ СТАТЬИ" — Юридический журнал
   ============================================ */

/* Заголовок виджета "Недавние статьи" НЕ трогаем —
   пусть оформляется темой как все остальные виджеты */

/* --- Сброс обёрток темы --- */
#custom-posts-tabs-4 .cmsmasters_tabs,
#custom-posts-tabs-4 .cmsmasters_tabs_wrap,
#custom-posts-tabs-4 .cmsmasters_tab {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* --- Список --- */
#custom-posts-tabs-4 ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}

/* --- ОДНА СТАТЬЯ (li) — убираем ВСЕ лишние линии --- */
#custom-posts-tabs-4 .cmsmasters_tab ul li,
#custom-posts-tabs-4 ul li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 0 !important;
    margin: 0 !important;

    /* Убираем ВСЕ возможные линии */
    border: none !important;
    border-top: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: none !important;
    background: none !important;
    background-image: none !important;

    list-style: none !important;
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
}

/* Убираем все возможные псевдо-линии */
#custom-posts-tabs-4 ul li::before,
#custom-posts-tabs-4 ul li::after,
#custom-posts-tabs-4 .cmsmasters_tab ul li::before,
#custom-posts-tabs-4 .cmsmasters_tab ul li::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}

#custom-posts-tabs-4 ul li:first-child {
    padding-top: 0 !important;
    border-top: none !important;
}

#custom-posts-tabs-4 ul li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* --- МИНИАТЮРА --- */
#custom-posts-tabs-4 .cmsmasters_lpr_tabs_img {
    position: static !important;
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    order: 1 !important;
    border: none !important;
    box-shadow: none !important;
}

#custom-posts-tabs-4 .cmsmasters_lpr_tabs_img figure,
#custom-posts-tabs-4 .cmsmasters_lpr_tabs_img .cmsmasters_img_wrap {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    width: 80px !important;
    height: 80px !important;
    position: static !important;
}

#custom-posts-tabs-4 .cmsmasters_lpr_tabs_img img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 2px;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    border: none !important;
    box-shadow: none !important;
    transition: opacity 0.25s ease;
}

#custom-posts-tabs-4 .cmsmasters_lpr_tabs_img a {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    border: none !important;
    text-decoration: none !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

#custom-posts-tabs-4 .cmsmasters_lpr_tabs_img a:hover img {
    opacity: 0.85;
}

/* --- БЛОК С ЗАГОЛОВКОМ СТАТЬИ --- */
#custom-posts-tabs-4 .cmsmasters_lpr_tabs_cont {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 95px) !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    order: 2 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Заголовок статьи — 18px, до 7 строк, без подчёркиваний */
#custom-posts-tabs-4 .cmsmasters_lpr_tabs_cont a {
    display: -webkit-box !important;
    -webkit-line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
    line-clamp: 7;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;

    /* Убираем ВСЕ линии/подчёркивания */
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
    background: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transition: color 0.25s ease !important;
}

#custom-posts-tabs-4 .cmsmasters_lpr_tabs_cont a:hover {
    color: #c9a961 !important;

    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
    background: none !important;
}

/* --- Скрываем пустую дату и все возможные лишние элементы --- */
#custom-posts-tabs-4 abbr,
#custom-posts-tabs-4 .cmsmasters_lpr_tabs_cont abbr,
#custom-posts-tabs-4 .published,
#custom-posts-tabs-4 time,
#custom-posts-tabs-4 .post-date,
#custom-posts-tabs-4 hr {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    border: none !important;
}