﻿.latest-posts-widget, .latest-posts-widget * { box-sizing: border-box; }
    .latest-posts-widget { width: 100%; min-width: 0; overflow: hidden; margin: 0 0 20px; padding: 14px; border: 1px solid #e5ebf0; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(31,55,75,.06); direction: rtl; }
    .latest-posts-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 0 1px 12px; border-bottom: 1px solid #edf1f4; color: #34495e; font-size: 14px; font-weight: 700; line-height: 1.7; }
    .latest-posts-heading .glyphicon { color: #21845a; font-size: 15px; }
    .latest-posts-list { display: grid; gap: 11px; min-width: 0; }
    .latest-post-card { display: block; width: 100%; min-width: 0; overflow: hidden; border: 1px solid #e2eaf0; border-radius: 9px; background: #fff; color: inherit; text-decoration: none !important; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
    .latest-post-card:hover, .latest-post-card:focus { border-color: #b9d9ca; box-shadow: 0 5px 14px rgba(31,55,75,.09); color: inherit; text-decoration: none !important; transform: translateY(-1px); }
    .latest-post-title { display: -webkit-box; overflow: hidden; margin: 0; padding: 10px 12px; background: #f3f8f6; color: #34495e; font-size: 12px; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; word-break: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .latest-post-image-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 112px; overflow: hidden; padding: 10px; background: #fbfcfd; }
    .latest-post-image { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
    .latest-post-description { display: -webkit-box; overflow: hidden; margin: 0; padding: 10px 12px 12px; border-top: 1px solid #f0f3f5; color: #748395; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; word-break: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
    .latest-posts-more { display: block; margin-top: 12px; padding: 9px 11px; border: 1px solid #e5ebf0; border-radius: 8px; color: #526a7d; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none !important; transition: background .18s ease, color .18s ease; }
    .latest-posts-more:hover, .latest-posts-more:focus { background: #f3f8f6; color: #20764f; text-decoration: none !important; }
    .latest-posts-empty { padding: 18px 10px; border: 1px dashed #d7e0e7; border-radius: 8px; color: #8190a0; font-size: 12px; line-height: 1.8; text-align: center; }
