.elementor-895 .elementor-element.elementor-element-fc58b66{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-895 .elementor-element.elementor-element-cf4f84b{margin:50px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:start;}.elementor-895 .elementor-element.elementor-element-cf4f84b .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:#000000;}.elementor-895 .elementor-element.elementor-element-92d3950{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-posts .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__title, .elementor-widget-posts .elementor-post__title a{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-posts .elementor-post__meta-data{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .elementor-post__excerpt p{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-posts .elementor-post__read-more{color:var( --e-global-color-accent );}.elementor-widget-posts a.elementor-post__read-more{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__card .elementor-post__badge{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-895 .elementor-element.elementor-element-7486570{--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-895 .elementor-element.elementor-element-7486570 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-895 .elementor-element.elementor-element-7486570:after{content:"0.66";}.elementor-895 .elementor-element.elementor-element-7486570 .elementor-post__thumbnail__link{width:100%;}.elementor-895 .elementor-element.elementor-element-7486570 .elementor-post__meta-data span + span:before{content:"///";}.elementor-895 .elementor-element.elementor-element-7486570.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{margin-right:20px;}.elementor-895 .elementor-element.elementor-element-7486570.elementor-posts--thumbnail-right .elementor-post__thumbnail__link{margin-left:20px;}.elementor-895 .elementor-element.elementor-element-7486570.elementor-posts--thumbnail-top .elementor-post__thumbnail__link{margin-bottom:20px;}.elementor-895 .elementor-element.elementor-element-7486570 .elementor-post__read-more{color:#0026D3;}.elementor-895 .elementor-element.elementor-element-905af03{margin:50px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:start;}.elementor-895 .elementor-element.elementor-element-905af03 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:#000000;}.elementor-895 .elementor-element.elementor-element-e329593{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-895 .elementor-element.elementor-element-32aa945{--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-895 .elementor-element.elementor-element-32aa945 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-895 .elementor-element.elementor-element-32aa945:after{content:"0.66";}.elementor-895 .elementor-element.elementor-element-32aa945 .elementor-post__thumbnail__link{width:100%;}.elementor-895 .elementor-element.elementor-element-32aa945 .elementor-post__meta-data span + span:before{content:"///";}.elementor-895 .elementor-element.elementor-element-32aa945.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{margin-right:20px;}.elementor-895 .elementor-element.elementor-element-32aa945.elementor-posts--thumbnail-right .elementor-post__thumbnail__link{margin-left:20px;}.elementor-895 .elementor-element.elementor-element-32aa945.elementor-posts--thumbnail-top .elementor-post__thumbnail__link{margin-bottom:20px;}.elementor-895 .elementor-element.elementor-element-32aa945 .elementor-post__read-more{color:#0026D3;}.elementor-895 .elementor-element.elementor-element-550ddce2{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-895 .elementor-element.elementor-element-3674f8d3{font-family:"Roboto", Sans-serif;font-weight:400;}@media(max-width:767px){.elementor-895 .elementor-element.elementor-element-7486570 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-895 .elementor-element.elementor-element-7486570:after{content:"0.5";}.elementor-895 .elementor-element.elementor-element-7486570 .elementor-post__thumbnail__link{width:100%;}.elementor-895 .elementor-element.elementor-element-32aa945 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-895 .elementor-element.elementor-element-32aa945:after{content:"0.5";}.elementor-895 .elementor-element.elementor-element-32aa945 .elementor-post__thumbnail__link{width:100%;}}/* Start custom CSS for posts, class: .elementor-element-7486570 *//* Превращаем список в сетку */
.custom-news-grid .elementor-posts-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch !important;
}

/* --- ОБЩИЕ НАСТРОЙКИ ДЛЯ ВСЕХ КАРТОЧЕК --- */
.custom-news-grid .elementor-posts-container .elementor-post {
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    display: flex !important; 
    flex-direction: column !important;
    position: relative !important;
    margin: 0 !important;
}

/* --- БОЛЬШАЯ КАРТОЧКА (1-я новость) --- */
.custom-news-grid .elementor-posts-container .elementor-post:first-child {
    grid-row: span 3;
}

.custom-news-grid .elementor-posts-container .elementor-post:first-child .elementor-post__thumbnail {
    flex-grow: 1 !important;
    min-height: 300px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.custom-news-grid .elementor-posts-container .elementor-post:first-child .elementor-post__text {
    padding: 20px !important; 
    background: #fff !important;
    position: relative !important;
    z-index: 2 !important;
}

/* --- МАЛЕНЬКИЕ КАРТОЧКИ (2, 3, 4) --- */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) {
    flex-direction: row !important; 
    height: 180px !important; /* УВЕЛИЧИЛИ ВЫСОТУ до 180px */
    padding: 0 !important;
    margin: 0 !important;
}

/* Картинка слева (40%) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__thumbnail {
    width: 100% !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    height: 180px !important; /* Высота картинки тоже 180px */
}

/* Текст справа (60%) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__text {
    width: 100% !important; 
    padding: 0 !important; 
    margin: 25px !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important; 
    position: relative !important;
    z-index: 2 !important;
}

/* Обертка для текста (отступы) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__text > * {
    padding-left: 15px !important; 
    padding-right: 25px !important; 
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important; 
}

/* --- СТИЛИ ДЛЯ EXCERPT (ОПИСАНИЯ) --- */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__excerpt {
    font-size: 12px !important; 
    line-height: 1.3 !important;
    color: #555 !important; 
    margin: 5px 0 5px 0 !important;
    padding: 0 !important;
    
    /* Ограничиваем описание двумя строками */
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Заголовок (делаем компактнее) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__title {
    font-size: 14px !important; 
    line-height: 1.3 !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Заголовок тоже максимум 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word; 
}

/* Дата */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__meta-data {
    font-size: 11px !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    color: #888 !important; 
}

/* Кнопка "Подробнее" */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__read-more {
    font-size: 13px !important;
    margin: 0 !important;
}/* End custom CSS */
/* Start custom CSS for posts, class: .elementor-element-32aa945 *//* Превращаем список в сетку */
.custom-news-grid .elementor-posts-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch !important;
}

/* --- ОБЩИЕ НАСТРОЙКИ ДЛЯ ВСЕХ КАРТОЧЕК --- */
.custom-news-grid .elementor-posts-container .elementor-post {
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    display: flex !important; 
    flex-direction: column !important;
    position: relative !important;
    margin: 0 !important;
}

/* --- БОЛЬШАЯ КАРТОЧКА (1-я новость) --- */
.custom-news-grid .elementor-posts-container .elementor-post:first-child {
    grid-row: span 3;
}

.custom-news-grid .elementor-posts-container .elementor-post:first-child .elementor-post__thumbnail {
    flex-grow: 1 !important;
    min-height: 300px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.custom-news-grid .elementor-posts-container .elementor-post:first-child .elementor-post__text {
    padding: 20px !important; 
    background: #fff !important;
    position: relative !important;
    z-index: 2 !important;
}

/* --- МАЛЕНЬКИЕ КАРТОЧКИ (2, 3, 4) --- */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) {
    flex-direction: row !important; 
    height: 180px !important; /* УВЕЛИЧИЛИ ВЫСОТУ до 180px */
    padding: 0 !important;
    margin: 0 !important;
}

/* Картинка слева (40%) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__thumbnail {
    width: 100% !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    height: 180px !important; /* Высота картинки тоже 180px */
}

/* Текст справа (60%) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__text {
    width: 100% !important; 
    padding: 0 !important; 
    margin: 25px !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important; 
    position: relative !important;
    z-index: 2 !important;
}

/* Обертка для текста (отступы) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__text > * {
    padding-left: 15px !important; 
    padding-right: 25px !important; 
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important; 
}

/* --- СТИЛИ ДЛЯ EXCERPT (ОПИСАНИЯ) --- */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__excerpt {
    font-size: 12px !important; 
    line-height: 1.3 !important;
    color: #555 !important; 
    margin: 5px 0 5px 0 !important;
    padding: 0 !important;
    
    /* Ограничиваем описание двумя строками */
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Заголовок (делаем компактнее) */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__title {
    font-size: 14px !important; 
    line-height: 1.3 !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Заголовок тоже максимум 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word; 
}

/* Дата */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__meta-data {
    font-size: 11px !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    color: #888 !important; 
}

/* Кнопка "Подробнее" */
.custom-news-grid .elementor-posts-container .elementor-post:not(:first-child) .elementor-post__read-more {
    font-size: 13px !important;
    margin: 0 !important;
}

/* --- СЕТКА ДЛЯ ОБЪЯВЛЕНИЙ --- */
.custom-ads-grid .elementor-posts-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    align-items: stretch !important; 
}

/* Карточка объявления */
.custom-ads-grid .elementor-post {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important; 
    border-radius: 8px !important;
    padding: 25px !important; 
    display: flex !important;
    flex-direction: column !important;
    /* Убираем фиксированную высоту, чтобы Grid сам их выровнял */
    height: 100% !important; 
    box-shadow: none !important; 
}

/* Зеленая плашка (Рубрика/Badge) */
.custom-ads-grid .elementor-post__badge {
    background-color: #5c8a35 !important; 
    color: #fff !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: normal !important;
    margin: 0 0 15px 0 !important; 
    display: inline-block !important;
    width: fit-content !important; 
    text-transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Убираем позиционирование, которое прячет плашку */
    position: static !important; 
}

/* Заголовок объявления */
.custom-ads-grid .elementor-post__title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    font-weight: bold !important;
    color: #000 !important;
}

.custom-ads-grid .elementor-post__title a {
    text-decoration: none !important;
    color: #000 !important;
}

/* СКРЫВАЕМ ДАТУ И КОММЕНТАРИИ НАСМЕРТЬ */
.custom-ads-grid .elementor-post__meta-data {
    display: none !important;
}

/* Кнопка "Подробнее" - прижимаем к низу */
.custom-ads-grid .elementor-post__read-more {
    margin-top: auto !important; 
    font-size: 14px !important;
    text-decoration: none !important;
    color: #0056b3 !important; 
    display: inline-block !important;
}

/* Убираем подчеркивание у кнопки */
.custom-ads-grid .elementor-post__read-more:hover {
    text-decoration: underline !important;
}/* End custom CSS */