/* Карточки постов блога и блока «Новостная лента» на главной.
   Алекс, 06.10.2026. Подключается из head.tpl (blog-cards.css?v=N) */

/* ── 1. Список блога: заголовок крупнее и целиком ───────────────────────── */
#smartblogcat .row-sdsarticleCat .sdsarticleCat .smart-blog-posts-title,
#smartblogcat .row-sdsarticleCat .sdsarticleCat .smart-blog-posts-title a,
#smartblog-list .sdsblog-box .smart-blog-posts-title,
#smartblog-list .sdsblog-box .smart-blog-posts-title a,
.smart-blog-post-single-item .smart-blog-posts-title,
.smart-blog-post-single-item .smart-blog-posts-title a {
    font-size: 21px !important;
    line-height: 1.35 !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    display: block !important;
    white-space: normal !important;
    text-overflow: clip !important;
}

/* ── 2. Список блога: «Читать полностью» — газетная ссылка ──────────────── */
#smartblogcat .row-sdsarticleCat .sdsarticleCat .sdsreadMore a,
#smartblog-list .sdsblog-box .read-more,
.smart-blog-post-single-item .sdsreadMore a,
.smart-blog-post-single-item .read-more {
    background: transparent !important;
    background-color: transparent !important;
    color: #2d5a27 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    display: inline !important;
}

#smartblogcat .row-sdsarticleCat .sdsarticleCat .sdsreadMore a:hover,
#smartblog-list .sdsblog-box .read-more:hover,
.smart-blog-post-single-item .sdsreadMore a:hover,
.smart-blog-post-single-item .read-more:hover {
    background: transparent !important;
    color: #4a8c42 !important;
}

/* ── 3. Блок «Новостная лента» на главной: заголовок карточки ───────────── */
.pos-latestposts-widget .post-item .post-title,
.pos-latestposts-widget .post-item .post-inner .post-title,
.pos-latestposts-widget .post-item .post-content .post-title {
    font-size: 21px !important;
    line-height: 1.35 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    color: #121111 !important;
}

/* ── 4. Блок «Новостная лента»: «Подробнее» — газетная ссылка, без плашки ─ */
/* ── 4. Блок «Новостная лента»: «Подробнее» — газетная ссылка, без плашки ─ */
/* 4а. Обёртка кнопки: именно она была тёмной плашкой с отступами */
.pos-latestposts-widget .post-item .post-content .read_more,
.pos-latestposts-widget .read_more,
.smart-blog-post-single-item .sdsreadMore {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pos-latestposts-widget .post-item .post-content .read_more a,
.pos-latestposts-widget .read_more a {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #2d5a27 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    display: inline !important;
}

.pos-latestposts-widget .post-item .post-content .read_more a:hover,
.pos-latestposts-widget .read_more a:hover {
    background: transparent !important;
    border: none !important;
    color: #4a8c42 !important;
}

/* ── 5. Заголовки в карточках — без жирности (Алекс, 06.10.2026) ─────────── */
.smart-blog-post-single-item .smart-blog-posts-title,
.smart-blog-post-single-item .smart-blog-posts-title a,
#smartblogcat .row-sdsarticleCat .sdsarticleCat .smart-blog-posts-title,
#smartblogcat .row-sdsarticleCat .sdsarticleCat .smart-blog-posts-title a,
#smartblog-list .sdsblog-box .smart-blog-posts-title,
#smartblog-list .sdsblog-box .smart-blog-posts-title a,
.pos-latestposts-widget .post-item .post-title,
.pos-latestposts-widget .post-item .post-inner .post-title,
.pos-latestposts-widget .post-item .post-content .post-title,
.pos-latestposts-widget .post-item .post-content .post-title a {
    font-weight: 400 !important;
    font-style: normal !important;
}

/* ── 8. Белый фон вместо серого у блоков вокруг постов (Алекс, 06.10.2026) ─ */
.elementor-element-lofqbgx,
.elementor-element-lofqbg,
.elementor-element-17gn72e,
.elementor-element-dscvhyr {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* ── 9. Убрать сиреневый градиент у блока «Друзья, приветствуем вас…» (06.10.2026) */
.elementor-element-krfo0b4,
.elementor-element-krfo0b4 .elementor-widget-container,
.elementor-element-krfo0b4 .elementor-text-editor {
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* ── 6. Первое слово(а) заголовка — наклоном (Алекс, 06.10.2026) ─────────── */
.smart-blog-post-single-item .smart-blog-posts-title em,
.pos-latestposts-widget .post-item .post-title em,
.post-item .post-title em {
    font-style: italic !important;
    font-weight: inherit !important;
}

/* ── 7. Карточки: одинаковая рамка для картинок ──────────────────────────── */
.smart-blog-post-single-item .post-image img,
.smart-blog-post-single-item .sdsarticle-img img,
.smart-blog-post-single-item img.imageFeatured,
.sdsarticleCat .post-image img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}
