/*==================================================
=                    فرم پست                        =
==================================================*/

.post-form{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.post-form label{
    font-weight:600;
    margin-bottom:6px;
}

.post-form .form-control,
.post-form .form-select{
    border-radius:10px;
}

.post-form textarea{
    resize:vertical;
}

/*==================================================
=                  لیست پست‌ها                     =
==================================================*/

.post-list-card{
    background:#fff;
    border-radius:16px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    overflow:hidden;
}

.post-list-card table{
    margin-bottom:0;
}

.post-list-card th{
    background:#f7f9fb;
    text-align:center;
    vertical-align:middle;
}

.post-list-card td{
    vertical-align:middle;
}

/*==================================================
=                    تصویر شاخص                    =
==================================================*/

.post-thumbnail{
    width:90px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
}

/*==================================================
=                    خلاصه متن                     =
==================================================*/

.post-summary{
    max-width:350px;
	max-height: 50px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/*==================================================
=                    وضعیت پست                     =
==================================================*/

.post-status{
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

.post-status-published{
    background:#d8f3dc;
    color:#1b4332;
}

.post-status-draft{
    background:#fff3cd;
    color:#856404;
}

/*==================================================
=                    عملیات                        =
==================================================*/

.post-actions{
    display:flex;
    gap:6px;
    justify-content:center;
    align-items:center;
}
/*==================================================
=                    اسلایدر                        =
==================================================*/
.slider{
    position:absolute;
    cursor:pointer;
    inset:0;
    background:#ccc;
    transition:.3s;
    border-radius:26px;
}

.slider:before{
    position:absolute;
    content:"";
    width:20px;
    height:20px;
    left:3px;
    bottom:3px;
    background:#fff;
    transition:.3s;
    border-radius:50%;
}
/*==================================================
=                    اخبار                         =
==================================================*/

.news-card{
    background:#fff;
    border:none;
    border-radius:5px;
    overflow:hidden;
    margin-bottom:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.5s;
}

.news-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.news-header{
    background:linear-gradient(90deg,#d7e4c7,#95d5b2);
    color:#fff;
    padding:8px 10px;
}

.news-header h4{
    margin:0;
    font-size:20px;
    font-weight:bold;
		font-family:'B Koodak',Tahoma,sans-serif;

}

.news-summary{
	margin-bottom:-20px;
	height:30px;
    line-height:0;
    color:#555;
    font-size:15px;
    white-space:pre-wrap;
}

.news-badge{
    background:#fff;
    color:#1976d2;
    padding:4px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:bold;
}

.news-body{
    padding:25px;
    line-height:2.2;
    font-size:15px;
}

.news-body img{
    max-width:100%;
    border-radius:12px;
    margin:15px 0;
}

.news-footer{
    background:linear-gradient(90deg,#f8f9fa,#e8f9fa);
    border-top:1px solid #eee;
    padding:5px 20px;
}