/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 08 2026 | 15:00:47 */
/* =====================================================
   HOME PAGE - NEWS
   ===================================================== */


/* =====================================================
   NEWS PANEL LAYOUT
   ===================================================== */

.home-news-panel {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}


/*
 * Shortcode container fills all remaining space
 * below the "Новости" heading.
 */
.home-news-panel .wp-block-shortcode {
    display: flex !important;
    flex-direction: column !important;

    flex: 1 1 0 !important;
    min-height: 0 !important;

    overflow: hidden !important;

    margin: 0 !important;
}


/* =====================================================
   NEWS LIST - SCROLL
   ===================================================== */

/*
 * Actual news list is the scrollable area.
 */
.home-news-panel .shop-news-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;

    height: 100% !important;
    max-height: 100% !important;

    overflow-y: scroll !important;
    overflow-x: hidden !important;

    padding-right: 8px !important;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 255, 255, 0.45)
        rgba(255, 255, 255, 0.08);
}


/* Chrome / Safari / Edge */

.home-news-panel .shop-news-list::-webkit-scrollbar {
    width: 6px;
}

.home-news-panel .shop-news-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.home-news-panel .shop-news-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 6px;
}

.home-news-panel .shop-news-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.65);
}


/* =====================================================
   NEWS ITEMS
   ===================================================== */

.shop-news-item {
    margin: 0;
    padding: 0 0 12px 0;
}


/*
 * Separator between news items.
 */
.shop-news-item + .shop-news-item {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 12px;
}


/* =====================================================
   NEWS TITLE
   ===================================================== */

.shop-news-title {
    display: block;

    color: #ffffff !important;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;

    text-decoration: none !important;

    margin-bottom: 4px;
}

.shop-news-title:hover {
    color: #70a7ff !important;
}


/* =====================================================
   NEWS DATE
   ===================================================== */

.shop-news-date {
    font-size: 12px;
    line-height: 1.3;

    color: rgba(255, 255, 255, 0.60);

    margin-bottom: 7px;
}


/* =====================================================
   NEWS CONTENT
   ===================================================== */

.home-news-panel .shop-news-excerpt {
    font-size: 16px;
    line-height: 1.45;

    color: rgba(255, 255, 255, 0.88);
}


/* =====================================================
   NEWS CONTENT FORMATTING
   Paragraphs and lists from WordPress posts
   ===================================================== */

.shop-news-excerpt p {
    margin: 0 0 6px 0 !important;
}

.shop-news-excerpt p:last-child {
    margin-bottom: 0 !important;
}


/* Numbered and bullet lists */

.shop-news-excerpt ol,
.shop-news-excerpt ul {
    margin: 5px 0 5px 20px !important;
    padding: 0 !important;
}

.shop-news-excerpt li {
    margin: 2px 0 !important;
    padding: 0 !important;
}


/* Bold text */

.shop-news-excerpt strong {
    color: #fff;
    font-weight: 600;
}

