/**
 * ==========================================================================
 * MultiPress Enterprise Sidebar
 * ==========================================================================
 */

.article-sidebar{
    align-self:start;
}

.sidebar{
    position:sticky;
    top:100px;
}

.sidebar-inner{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.widget{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:22px;
    box-shadow:0 8px 22px rgba(0,0,0,.05);
}

.widget-title{
    margin:0 0 18px;
    padding-bottom:12px;
    border-bottom:3px solid #2563eb;
    font-size:1.1rem;
    font-weight:700;
    color:#111827;
}

/* Trending */

.mp-sidebar-post{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:14px 0;
    border-bottom:1px solid #edf2f7;
}

.mp-sidebar-post:last-child{
    border-bottom:none;
}

.mp-sidebar-post__number{
    width:34px;
    height:34px;
    flex-shrink:0;
    border-radius:50%;
    background:#dc2626;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.mp-sidebar-post__image{
    width:95px;
    height:75px;
    overflow:hidden;
    border-radius:10px;
    flex-shrink:0;
}

.mp-sidebar-post__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.3s;
}

.mp-sidebar-post:hover img{
    transform:scale(1.06);
}

.mp-sidebar-post__content{
    flex:1;
}

.mp-sidebar-post__content h4{
    margin:0 0 8px;
    font-size:.92rem;
    line-height:1.45;
}

.mp-sidebar-post__content h4 a{
    color:#111827;
    text-decoration:none;
}

.mp-sidebar-post__content h4 a:hover{
    color:#2563eb;
}

.mp-sidebar-post__meta{
    color:#6b7280;
    font-size:.78rem;
}

/* Editors */

.mp-sidebar-link{
    margin:0;
    padding:12px 0;
    border-bottom:1px solid #edf2f7;
}

.mp-sidebar-link:last-child{
    border-bottom:none;
}

.mp-sidebar-link a{
    text-decoration:none;
    color:#111827;
    line-height:1.6;
}

.mp-sidebar-link a:hover{
    color:#2563eb;
}

/* Categories */

.mp-sidebar-categories{
    list-style:none;
    margin:0;
    padding:0;
}

.mp-sidebar-categories li{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #edf2f7;
}

.mp-sidebar-categories li:last-child{
    border-bottom:none;
}

.mp-sidebar-categories a{
    text-decoration:none;
    color:#111827;
}

.mp-sidebar-categories a:hover{
    color:#2563eb;
}

/* Newsletter */

.mp-newsletter{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mp-newsletter input{
    padding:12px 14px;
    border:1px solid #d1d5db;
    border-radius:10px;
}

.mp-newsletter button{
    border:none;
    padding:12px;
    border-radius:10px;
    background:#2563eb;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.mp-newsletter button:hover{
    background:#1d4ed8;
}

/* Ad */

.mp-ad-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:250px;
    border:2px dashed #cbd5e1;
    border-radius:12px;
    color:#64748b;
    font-weight:700;
}

@media(max-width:1200px){

    .sidebar{
        position:static;
    }

}
