/* ════════════════════════════════════════════════════════
   SIDEBAR.CSS — AZ24SAAT.ORG  |  Premium 2025
════════════════════════════════════════════════════════ */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.widget {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .055);
    padding: 22px;
    border: 1px solid #e8eaf0
}

.widget h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f1221;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2.5px solid #e30613;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -.2px
}

/* ── Recent Posts List ── */
.recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0
}

.recent-posts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s
}

.recent-posts li:first-child {
    padding-top: 0
}

.recent-posts li:last-child {
    padding-bottom: 0;
    border-bottom: none
}

.recent-posts img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f3f4f6;
    transition: transform .3s
}

.recent-posts li:hover img {
    transform: scale(1.04)
}

.post-info {
    flex: 1;
    min-width: 0
}

.post-info a {
    font-size: .85rem;
    font-weight: 600;
    color: #0f1221;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition: color .2s
}

.post-info a:hover {
    color: #e30613
}

.post-meta {
    font-size: .72rem;
    color: #9ca3af;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 600;
    transition: all .2s
}

.category-badge:hover {
    background: #e30613;
    color: #fff
}

/* ── Telegram Widget ── */
.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0088cc, #006fa1);
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: .9rem;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(0, 136, 204, .3)
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, .35)
}