*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Vazirmatn',sans-serif;
    direction:rtl;
    background:#111;
    color:#fff;
    margin:0;
    min-height:100vh;
    overflow-x:hidden;

}
h1{

    color:var(--secondary);
    margin-bottom:20px;

}

p{

    font-size:18px;

}

.container{

    width:90%;
    margin:auto;

}



main{

    text-align:center;
    padding:120px 20px;

}

.footer{

    text-align:center;
    padding:20px;
background:var(--footer);
border-top:2px solid var(--secondary);
}

.home{
    width:90%;
    max-width:1400px;
    margin:40px auto;
}

.hero{
    background:#1c1c1c;
border:1px solid var(--secondary);
    border-radius:18px;
    padding:60px 30px;
    text-align:center;
    margin-bottom:40px;
}

.hero h1{
    color:var(--secondary);
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    color:#ddd;
    font-size:18px;
}

.latest-news h2{
    color:var(--secondary);
    margin-bottom:20px;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.header{

background:var(--header);
border-bottom:2px solid var(--secondary);
    position:sticky;
    top:0;
    z-index:1000;

}

.header-container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:75px;

}

.logo{

    text-decoration:none;
    font-size:30px;
    font-weight:bold;

}

.logo-gold{

    color:var(--secondary);

}

.logo-white{

    color:#ffffff;

}

.main-menu ul{

    display:flex;
    list-style:none;
    gap:28px;

}

.main-menu a{

    color:#ffffff;
    text-decoration:none;
    transition:.3s;

}

.main-menu a:hover{

    color:var(--secondary);

}

.header-tools{

    display:flex;
    gap:12px;

}

.header-tools button{

    width:42px;
    height:42px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    background:#252525;
    color:var(--secondary);
    font-size:18px;
}

.hero{

    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:40px;
    align-items:center;

}

.hero-content h1{

    font-size:54px;
    margin:20px 0;

}

.hero-badge{

    background:var(--secondary);
    color:#111;
    padding:8px 16px;
    border-radius:50px;
    font-size:14px;
    font-weight:bold;

}

.hero-content p{

    color:#d6d6d6;
    line-height:2;
    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    gap:15px;

}

.btn{

    text-decoration:none;
    padding:14px 26px;
    border-radius:12px;
    transition:.3s;
    font-weight:bold;

}

.btn-gold{

    background:#16a3ab;
    color:#111;

}

.btn-dark{

    background:#272727;
    color:#fff;

}

.btn:hover{

    transform:translateY(-3px);

}

.hero-card{

    background:#1f1f1f;
    border:1px solid #16a3ab;
    border-radius:20px;
    padding:35px;

}

.live{

    color:#ff4d4d;
    font-weight:bold;

}

.hero-card h3{

    margin:20px 0;
    color:#16a3ab;

}

.hero-card p{

    color:#ddd;
    line-height:1.9;

}

.breaking-news{

    width:100%;
    background:#16a3ab;
    color:#111;

    display:flex;
    align-items:center;

}

.breaking-title{

    background:#111;
    color:#fff;

    padding:15px 25px;

    font-weight:bold;

}

.breaking-content{

    flex:1;

    padding:0 20px;

    font-weight:600;

}

.breaking-content marquee{

    padding:14px 0;

}

.header,
.breaking-news,
.home,
.footer{

    width:100%;

}

.home{

    max-width:1400px;
    margin:40px auto;
    padding:0 20px;

}

.news-card{

    background:#1c1c1c;
    border:1px solid #2d2d2d;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;

}

.news-card:hover{

    transform:translateY(-8px);
    border-color:#16a3ab;

}

.news-image{

    height:220px;
    background:linear-gradient(135deg,#2b2b2b,#444);

}

.news-body{

    padding:20px;

}

.news-category{

    display:inline-block;
    background:#16a3ab;
    color:#111;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    font-weight:bold;

}

.news-body h3{

    margin:18px 0 12px;

}

.news-body p{

    color:#bdbdbd;
    line-height:1.8;

}

.read-more{

    display:inline-block;
    margin-top:18px;
    color:#16a3ab;
    text-decoration:none;
    font-weight:bold;

}

.top-bar{

    background:#0d0d0d;
    border-bottom:1px solid #2f2f2f;
    color:#ddd;
    font-size:14px;

}

.top-bar-container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:42px;

}

.top-left a{

    color:#16a3ab;
    text-decoration:none;

}

.top-left a:hover{

    color:#ffffff;

}

.search-box{

    display:none;

    width:100%;

    background:#1a1a1a;

    border-top:1px solid #2d2d2d;

    padding:20px;

}

.search-box form{

    max-width:900px;

    margin:auto;

    display:flex;

    gap:15px;

}

.search-box input{

    flex:1;

    height:48px;

    border:none;

    outline:none;

    border-radius:12px;

    padding:0 18px;

    background:#2a2a2a;

    color:#fff;

}

.search-box button{

    width:130px;

    border:none;

    border-radius:12px;

    background:#16a3ab;

    color:#111;

    font-weight:bold;

    cursor:pointer;

}



::selection{

    background:#16a3ab;
    color:#111;

}

html{

    scroll-behavior:smooth;

}

img{

    max-width:100%;
    display:block;

}

a{

    transition:.3s;

}

.login-box{

    width:400px;
    margin:120px auto;
    background:#1c1c1c;
    border:1px solid #16a3ab;
    border-radius:16px;
    padding:30px;

}

.login-box h2{

    text-align:center;
    color:#16a3ab;
    margin-bottom:25px;

}

.login-box input{

    width:100%;
    height:48px;
    margin-bottom:15px;
    padding:0 15px;
    border:none;
    border-radius:10px;
    background:#2b2b2b;
    color:#2b2b2b;

}

.login-box button{

    width:100%;
    height:48px;
    border:none;
    border-radius:10px;
    background:#16a3ab;
    color:#111;
    font-weight:bold;
    cursor:pointer;

}

.login-error{

    background:#7a1c1c;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:15px;
    text-align:center;

}

.dashboard{

    width:90%;
    max-width:900px;
    margin:80px auto;
    background:#1c1c1c;
    border:1px solid #16a3ab;
    border-radius:16px;
    padding:35px;

}

.dashboard h1{

    margin-bottom:15px;
    color:#16a3ab;

}

.dashboard hr{

    margin:25px 0;
    border:1px solid #333;

}

.dashboard-btn{

    display:inline-block;
    padding:12px 22px;
    background:#16a3ab;
    color:#111;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;

}

.admin-wrapper{

    display:flex;
    min-height:100vh;

}

.admin-sidebar{

    width:260px;
    background:#161616;
    border-left:2px solid #16a3ab;
    padding:25px;

}

.admin-sidebar h2{

    color:#16a3ab;
    text-align:center;
    margin-bottom:30px;

}

.admin-sidebar ul{

    list-style:none;

}

.admin-sidebar li{

    margin-bottom:10px;

}

.admin-sidebar a{

    display:block;
    padding:12px 15px;
    color:#fff;
    text-decoration:none;
    border-radius:10px;

}

.admin-sidebar a:hover{

    background:#16a3ab;
    color:#111;

}

.admin-content{

    flex:1;
    min-width:0;
    padding:35px;

}

.page-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;

}

.admin-table{

    width:100%;
    border-collapse:collapse;
    background:#1d1d1d;
    border-radius:12px;
    overflow:hidden;

}

.admin-table th{

    background:#16a3ab;
    color:#111;
    padding:15px;

}

.admin-table td{

    padding:15px;
    border-bottom:1px solid #333;
    text-align:center;

}

.admin-table tr:hover{

    background:#272727;

}

.admin-form{

    max-width:900px;

}

.admin-form input,
.admin-form select,
.admin-form textarea{

    width:100%;
    margin-bottom:15px;
    padding:12px;
    border:1px solid #333;
    border-radius:10px;
    background:#222;
    color:#fff;

}

.admin-form button{

    background:#16a3ab;
    color:#111;
    border:none;
    padding:14px 25px;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;

}

.btn-delete{

    background:#d32f2f;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;

}

.btn-delete:hover{

    background:#b71c1c;

}

.news-image{

    height:220px;
    overflow:hidden;

}

.news-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;

}

.news-card:hover img{

    transform:scale(1.08);

}

.dashboard-cards{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:30px;

}

.stat-card{

    background:#1f1f1f;
    border:1px solid #16a3ab;
    border-radius:16px;
    padding:25px;
    text-align:center;
    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-5px);

}

.stat-card h2{

    color:#16a3ab;
    font-size:36px;
    margin-bottom:10px;

}

.stat-card p{

    color:#ddd;

}

.btn-edit{

    display:inline-block;
    background:#1976d2;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    margin-left:8px;

}

.btn-edit:hover{

    background:#1565c0;

}

.thumb{

    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #16a3ab;

}

.single-news{

    max-width:1000px;
    margin:40px auto;
    background:#1b1b1b;
    border:1px solid #16a3ab;
    border-radius:18px;
    padding:30px;

}

.single-image{

    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:25px;

}

.single-category{

    background:#16a3ab;
    color:#111;
    padding:6px 14px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;

}

.single-meta{

    margin:20px 0;
    color:#999;

}

.single-summary{

    font-size:18px;
    color:#ddd;
    line-height:2;
    margin-bottom:30px;

}

.single-content{

    line-height:2.2;
    color:#eee;

}

.contact-box{

    max-width:900px;
    margin:50px auto;
    background:#1c1c1c;
    border:1px solid #16a3ab;
    border-radius:18px;
    padding:40px;
    text-align:center;

}


.contact-box h1{

    color:#16a3ab;
    margin-bottom:20px;

}


.contact-box p{

    color:#ddd;
    line-height:2;
    margin-bottom:30px;

}

.news-thumb{

    width:90px;
    height:70px;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #16a3ab;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#222;

}


.news-thumb img{

    width:100%;
    height:100%;
    object-fit:cover;

}


.news-thumb span{

    font-size:12px;
    color:#aaa;

}

.admin-table td{

    vertical-align:middle;

}


.news-thumb{

    width:90px;
    height:70px;
    display:block;
    overflow:hidden;
    border-radius:10px;
    border:1px solid #16a3ab;

}


.news-thumb img{

    width:90px;
    height:70px;
    display:block;
    object-fit:cover;

}

.actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
    align-items:center;
}

.actions a{
    text-decoration:none;
    padding:8px 14px;
    border-radius:8px;
    font-size:13px;
    font-weight:bold;
    transition:.3s;
    color:#fff;
}

.btn-edit{
    background:#2196f3;
}

.btn-approve{
    background:#4caf50;
}

.btn-reject{
    background:#ff9800;
}

.btn-delete{
    background:#f44336;
}

.actions a:hover{
    transform:translateY(-2px);
    opacity:.9;
}

.badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:bold;
    color:#fff;
}

.badge.green{
    background:#4caf50;
}

.badge.red{
    background:#f44336;
}

.badge.orange{
    background:#ff9800;
}

.news-thumb{
    width:90px;
    height:60px;
    border-radius:8px;
    overflow:hidden;
    margin:auto;
    border:1px solid #ddd;
}

.news-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
    align-items:center;
}

.actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:75px;
    padding:8px 12px;
    border-radius:8px;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
}

.btn-edit{
    background:#1976d2;
}

.btn-approve{
    background:#2e7d32;
}

.btn-reject{
    background:#f57c00;
}

.btn-delete{
    background:#d32f2f;
}

.badge{
    display:inline-block;
    padding:6px 10px;
    border-radius:20px;
    color:#fff;
    font-size:12px;
    font-weight:bold;
}

.badge.green{
    background:#2e7d32;
}

.badge.red{
    background:#d32f2f;
}

.badge.orange{
    background:#f57c00;
}

.news-thumb{
    width:90px;
    height:60px;
    overflow:hidden;
    border-radius:8px;
    border:1px solid #444;
    margin:auto;
}

.news-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.actions{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:nowrap;
    white-space:nowrap;
}

.actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 12px;
    border-radius:8px;
    text-decoration:none;
    font-size:13px;
}

.admin-wrapper{
    width:100%;
    max-width:100%;
}

.admin-table{
    width:100% !important;
}

.actions{
    max-width:100%;
}

.news-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:5px;
    flex-wrap:wrap;
    max-width:250px;
    margin:auto;
}

.news-actions a{
    padding:6px 10px;
    font-size:12px;
    white-space:nowrap;
}

.category-news-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:30px;

}


.category-card{

background:#fff;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,.08);
transition:.3s;

}


.category-card:hover{

transform:translateY(-5px);

}



.category-card img{

width:100%;
height:200px;
object-fit:cover;

}



.category-card-content{

padding:20px;

}



.category-card h2{

font-size:18px;
margin-bottom:15px;

}



.category-card p{

color:#666;
line-height:2;

}



.category-card a{

display:inline-block;
margin-top:15px;
padding:8px 18px;
background:#16a3ab;
color:#fff;
border-radius:8px;
text-decoration:none;

}


@media(max-width:900px){

.category-news-grid{

grid-template-columns:1fr;

}

}

.read-more{

display:inline-block;
margin-top:15px;
padding:10px 20px;
background:#16a3ab;
color:#fff;
border-radius:8px;
text-decoration:none;
font-size:14px;
font-weight:bold;
transition:.3s;

}


.read-more:hover{

opacity:.85;
transform:translateY(-2px);

}

.related-news{

margin-top:50px;

}


.related-news h2{

font-size:25px;
margin-bottom:25px;

}

.advertise-box{

margin:50px auto;
padding:35px;
background:#111;
border-radius:18px;
text-align:center;
color:#fff;

}


.advertise-box h2{

color:#16a3ab;
font-size:28px;

}


.advertise-box p{

font-size:16px;
margin:15px 0;

}


.advertise-box a{

display:inline-block;
padding:10px 25px;
background:#16a3ab;
color:#fff;
border-radius:8px;
text-decoration:none;

}

.hero-news{

display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
margin:40px 0;

}


.hero-main{

position:relative;
height:420px;
overflow:hidden;
border-radius:20px;

}


.hero-main img{

width:100%;
height:100%;
object-fit:cover;

}


.hero-overlay{

position:absolute;
bottom:0;
right:0;
left:0;
padding:30px;
color:#fff;
background:linear-gradient(transparent,rgba(0,0,0,.8));

}


.hero-overlay h1{

font-size:32px;

}



.hero-overlay span{

background:#16a3ab;
padding:5px 15px;
border-radius:20px;

}



.hero-side{

display:flex;
flex-direction:column;
gap:15px;

}



.hero-small{

background:#fff;
padding:20px;
border-radius:15px;
box-shadow:0 5px 20px #0001;

}


.hero-small h3{

font-size:18px;

}



@media(max-width:768px){

.hero-news{

grid-template-columns:1fr;

}

}

.hero-overlay a{

display:inline-block;
margin-top:15px;
padding:10px 25px;
background:#16a3ab;
color:#fff;
border-radius:10px;
text-decoration:none;
font-size:14px;
font-weight:bold;
transition:.3s;

}


.hero-overlay a:hover{

background:#fff;
color:#111;
transform:translateY(-3px);

}

.popular-section{

margin:50px 0;

}


.section-title h2{

font-size:28px;

}



.popular-list{

display:flex;
flex-direction:column;
gap:15px;

}



.popular-item{

display:flex;
gap:20px;
align-items:center;

background:#fff;

padding:18px;

border-radius:15px;

box-shadow:0 5px 20px #0001;

}



.popular-number{

font-size:30px;
font-weight:bold;
color:#16a3ab;
min-width:45px;

}



.popular-item h3{

margin:8px 0;

}



.popular-item a{

color:#16a3ab;
text-decoration:none;
font-weight:bold;

}

/* =========================
   Popular News Dark Style
========================= */

.popular-section{

    margin:60px 0;
    padding:35px;

    background:#0f172a;

    border-radius:25px;

}


.popular-section h2{

    color:#fff;

    margin-bottom:30px;

    font-size:28px;

    border-right:5px solid #16a3ab;

    padding-right:15px;

}



.popular-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}



.popular-item{

    display:flex;

    align-items:center;

    gap:20px;

    background:#1e293b;

    padding:20px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    transition:.3s;

}



.popular-item:hover{

    transform:translateY(-5px);

    border-color:#16a3ab;

}



.popular-number{

    min-width:55px;

    height:55px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#16a3ab;

    color:#111;

    border-radius:50%;

    font-size:24px;

    font-weight:800;

}



.popular-item h3{

    color:#fff;

    margin:10px 0;

}



.popular-item a{

    color:#16a3ab;

    text-decoration:none;

    font-weight:bold;

}



.popular-item .news-category{

    background:#16a3ab;

    color:#111;

    padding:5px 12px;

    border-radius:20px;

    font-size:12px;

}



@media(max-width:768px){

.popular-list{

    grid-template-columns:1fr;

}

}

.more-news-btn{

text-align:center;

margin-top:35px;

}


.more-news-btn a{

display:inline-block;

padding:12px 35px;

background:#16a3ab;

color:#111;

border-radius:12px;

text-decoration:none;

font-weight:bold;

transition:.3s;

}


.more-news-btn a:hover{

transform:translateY(-3px);

background:#111;

color:#fff;

}

.all-news-page{

margin:50px 0;

}


.all-news-page h1{

font-size:32px;

margin-bottom:30px;

border-right:5px solid #16a3ab;

padding-right:15px;

}

.pagination{

display:flex;

justify-content:center;

gap:10px;

margin:50px 0;

}

.pagination a{

width:45px;

height:45px;

display:flex;

align-items:center;

justify-content:center;

background:#1e293b;

color:#fff;

border-radius:12px;

text-decoration:none;

transition:.3s;

}

.pagination a:hover{

background:#16a3ab;

color:#111;

}

.pagination .active{

background:#16a3ab;

color:#111;

font-weight:bold;

}

.search-form{

display:flex;

align-items:center;

gap:10px;

}


.search-form input{

width:230px;

padding:10px 15px;

border:none;

border-radius:10px;

outline:none;

background:#fff;

}


.search-form button{

width:45px;

height:45px;

border:none;

cursor:pointer;

background:#16a3ab;

border-radius:10px;

font-size:18px;

transition:.3s;

}


.search-form button:hover{

background:#111;

color:#fff;

}

.empty-box{

padding:60px;

text-align:center;

background:#1e293b;

color:#fff;

border-radius:20px;

font-size:20px;

margin:40px 0;

}

.alert-success{

background:#16a34a;

color:#fff;

padding:15px 20px;

border-radius:10px;

margin-bottom:20px;

font-weight:bold;

}

.site-logo{

height:160px;
width:auto;
display:block;
object-fit:contain;
transition:.3s;

}

.site-logo:hover{

transform:scale(1.05);

}

.logo-text{

font-size:30px;

font-weight:800;

color:#16a3ab;

}

body:not(.admin-body){

background:var(--primary);

}


.login-page{
    background:linear-gradient(135deg,#111,#1c1c1c) !important;
    min-height:100vh;
}

.admin-table{
    width:100%;
    margin-top:20px;
    border-collapse:collapse;
    background:#1c1c1c;
    border-radius:15px;
    overflow:hidden;
}

.admin-table th{
    background:#16a3ab;
    color:#111;
    padding:15px;
}

.admin-table td{
    padding:14px;
    border-bottom:1px solid #333;
    color:#fff;
}

.admin-table tr:hover{
    background:#252525;
}

/*==========================
        COMMENTS
==========================*/

.comments-wrapper{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    margin:50px auto;
    width:100%;

}

.comments-list{

    width:68%;
    background:#1b1b1b;
    border:1px solid #16a3ab;
    border-radius:16px;
    padding:25px;

max-height:420px;
    overflow-y:auto;

}

.comment-form-box{

    width:32%;
    background:#1b1b1b;
    border:1px solid #16a3ab;
    border-radius:16px;
    padding:25px;
    position:sticky;
    top:20px;

}

.comments-list h2,
.comment-form-box h2{

    color:#16a3ab;
    margin:0 0 20px;
    font-size:22px;

}

.comment-card{

    background:#242424;
    border-right:4px solid #16a3ab;
    border-radius:12px;
    padding:18px;
    margin-bottom:18px;

}

.comment-header{

    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;

}

.comment-avatar{

    width:48px;
    height:48px;
    border-radius:50%;
    background:#16a3ab;
    color:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    font-weight:bold;

}

.comment-text{

    color:#ddd;
    line-height:2;

}

.comment-header strong{

    color:#fff;

}

.comment-header small{

    color:#999;

}

.comment-form input,
.comment-form textarea{

    width:100%;
    background:#2b2b2b;
    color:#fff;
    border:1px solid #333;
    border-radius:10px;
    padding:12px;
    margin-bottom:15px;
    box-sizing:border-box;
    font-family:inherit;

}

.comment-form textarea{

    height:160px;
    resize:vertical;

}

.comment-form button{

    width:100%;
    height:48px;
    background:#16a3ab;
    color:#111;
    border:none;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;

}

.comment-success{

    background:#1d6d33;
    color:#fff;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;

}

.no-comment{

    text-align:center;
    color:#999;
    padding:40px 0;

}

@media(max-width:992px){

    .comments-wrapper{

        flex-direction:column;

    }

    .comments-list,
    .comment-form-box{

        width:100%;

    }

}

/* اسکرول بخش نظرات */

.comments-list::-webkit-scrollbar{

    width:8px;

}

.comments-list::-webkit-scrollbar-track{

    background:#222;
    border-radius:10px;

}

.comments-list::-webkit-scrollbar-thumb{

    background:#16a3ab;
    border-radius:10px;

}

.comments-list::-webkit-scrollbar-thumb:hover{

    background:#c39b2d;

}

.admin-reply{

    margin-top:15px;
    background:#2c2c2c;
    border-right:4px solid #2ecc71;
    padding:15px;
    border-radius:10px;

}

.reply-title{

    color:#2ecc71;
    font-weight:bold;
    margin-bottom:8px;

}

.reply-text{

    color:#ddd;
    line-height:2;

}

.btn-reply{

    display:inline-block;
    padding:8px 14px;
    background:#0d6efd;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    margin:0 5px;

}

.btn-reply:hover{

    opacity:.9;

}

.reply-box{

    background:#1b1b1b;
    border:1px solid #16a3ab;
    border-radius:15px;
    padding:25px;
    max-width:700px;

}

.original-comment{

    background:#2b2b2b;
    color:#fff;
    padding:15px;
    border-radius:10px;
    margin:15px 0;

}

.reply-box textarea{

    width:100%;
    height:180px;
    background:#2b2b2b;
    color:#fff;
    border:1px solid #444;
    border-radius:10px;
    padding:12px;
    box-sizing:border-box;
    margin-bottom:15px;

}

.reply-box button{

    background:#16a3ab;
    color:#111;
    border:none;
    padding:12px 25px;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;

}

/*========== Breaking News ==========*/

.breaking-news{

display:flex;

align-items:center;

overflow:hidden;

background:#181818;

border:1px solid rgba(255,255,255,.08);

border-radius:16px;

margin:25px auto;

width:90%;

max-width:1400px;

box-shadow:0 10px 30px rgba(0,0,0,.25);

}

.breaking-label{

background:#16a3ab;

color:#fff;

font-weight:700;

padding:18px 25px;

display:flex;

align-items:center;

gap:10px;

white-space:nowrap;

font-size:15px;

}

.live-dot{

width:10px;

height:10px;

background:#fff;

border-radius:50%;

animation:blink 1s infinite;

}

@keyframes blink{

0%{opacity:1;}

50%{opacity:.3;}

100%{opacity:1;}

}

.breaking-slider{

overflow:hidden;

flex:1;

padding:0 20px;

}

.breaking-track{

display:flex;

align-items:center;

gap:35px;

width:max-content;

animation:breakingMove 28s linear infinite;

}

.breaking-track:hover{

animation-play-state:paused;

}

.breaking-track a{

color:#fff;

text-decoration:none;

font-size:15px;

transition:.3s;

}

.breaking-track a:hover{

color:var(--secondary);

}

.breaking-track span{

color:var(--secondary);

font-size:13px;

}

@keyframes breakingMove{

0%{

transform:translateX(100%);

}

100%{

transform:translateX(-100%);

}

}

@media(max-width:768px){

.breaking-news{

flex-direction:column;

}

.breaking-label{

width:100%;

justify-content:center;

}

.breaking-slider{

padding:15px;

}

}

/* ==========================
      NAMAVARAN SLIDER
========================== */

.na-slider{

    width:100%;
    height:480px;
    position:relative;
    overflow:hidden;
    border-radius:20px;
    margin:40px 0;
    background:#111;

}


.na-slide{

    width:100%;
    height:100%;
    position:absolute;
    top:0;
    right:0;
    opacity:0;
    transition:.6s ease;

}


.na-slide.active{

    opacity:1;
    z-index:2;

}


.na-slide img{

    width:100%;
    height:100%;
    object-fit:cover;

}



.na-slide::after{

    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        0deg,
        rgba(0,0,0,.85),
        transparent
    );

}



.na-slider-content{

    position:absolute;
    bottom:40px;
    right:40px;
    z-index:3;
    max-width:650px;

}


.na-slider-category{

    display:inline-block;
    background:#16a3ab;
    color:#111;
    padding:6px 15px;
    border-radius:20px;
    font-size:14px;
    margin-bottom:15px;

}



.na-slider-content h2{

    color:#fff;
    font-size:38px;
    line-height:1.5;
    margin:10px 0;

}



.na-slider-content p{

    color:#ddd;
    font-size:17px;

}



/* دکمه ها */

.na-slider-btn{

    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;

    width:45px;
    height:45px;

    border-radius:50%;
    border:none;

    background:#16a3ab;
    color:#111;

    cursor:pointer;
    font-size:22px;

}



.na-slider-next{

    right:20px;

}



.na-slider-prev{

    left:20px;

}



/* نقطه ها */

.na-slider-dots{

    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:5;

    display:flex;
    gap:10px;

}



.na-dot{

    width:12px;
    height:12px;
    border-radius:50%;
    background:#aaa;
    cursor:pointer;

}



.na-dot.active{

    background:#16a3ab;

}



/* موبایل */

@media(max-width:768px){

.na-slider{

    height:350px;

}


.na-slider-content{

    right:20px;
    bottom:25px;

}


.na-slider-content h2{

    font-size:24px;

}


}

/* HERO SLIDER */

.hero-slider{

    width:90%;
    margin:40px auto;
    height:480px;

}


.slider-wrapper{

    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:20px;

}


.hero-slide{

    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:.5s;

}


.hero-slide.active{

    opacity:1;

}


.hero-slide img{

    width:100%;
    height:100%;
    object-fit:cover;

}


.hero-overlay{

    position:absolute;
    right:0px;
    bottom:0px;
    color:#fff;
    z-index:5;
    max-width:1300px;

    background:rgba(0,0,0,.55);

    padding:10px;
    border-radius:15px;

}





.hero-category{

    background:#16a3ab;
    color:#111;
    padding:7px 15px;
    border-radius:20px;

}


.hero-overlay h1{

    font-size:38px;
    line-height:1.6;

}


.hero-btn{

    display:inline-block;
    background:#16a3ab;
    color:#111;
    padding:10px 25px;
    border-radius:10px;
    text-decoration:none;

}


.hero-prev,
.hero-next{

    position:absolute;
    top:30%;
    transform:translateY(-50%);

    z-index:10;

    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#16a3ab;
    color:#111;

    border:none;
    border-radius:50%;

    cursor:pointer;

    font-size:20px;

}

.hero-prev{
    left:20px;
}

.hero-next{
    right:20px;
}



.hero-prev{

    left:20px;

}


.hero-next{

    right:20px;

}


.hero-dots{

    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:5;

}


.hero-dot{

    display:inline-block;
    width:12px;
    height:12px;
    background:#aaa;
    border-radius:50%;
    margin:5px;

}


.hero-dot.active{

    background:#16a3ab;

}

.news-video{

    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;

}

.single-video{

    width:100%;
    max-height:600px;
    border-radius:18px;
    object-fit:cover;
    margin-bottom:25px;

}

/* ===========================
   Mobile Responsive
=========================== */

@media (max-width:768px){

.container{
    width:95%;
}

.hero-slider{
    width:100%;
    height:280px;
    border-radius:15px;
}

.hero-overlay{
    left:15px;
    right:15px;
    bottom:15px;
    max-width:100%;
    padding:15px;
}

.hero-overlay h1{
    font-size:20px;
    line-height:1.5;
}

.hero-overlay p{
    font-size:14px;
    display:none;
}

.hero-btn{
    padding:8px 15px;
    font-size:13px;
}

.hero-prev,
.hero-next{
    width:38px;
    height:38px;
    top:40%;
}

.latest-news .news-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.news-card{
    width:100%;
}

.single-news{
    padding:20px;
}

.single-image,
.single-video{
    width:100%;
    height:auto;
}

.comments-wrapper{
    flex-direction:column;
}

.comment-form-box,
.comments-list{
    width:100%;
    max-width:100%;
}

.admin-table{
    display:block;
    overflow-x:auto;
}

}

/* ===========================
   Mobile Header
=========================== */

.mobile-menu-btn{

    display:none;

    width:45px;
    height:45px;

    border:none;
    border-radius:8px;

    background:#16a3ab;
    color:#111;

    font-size:24px;
    cursor:pointer;

}


@media(max-width:768px){

.header-container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;

}

.mobile-menu-btn{

    display:block;

}

.main-menu{

    display:none;

    width:100%;

    margin-top:15px;

}

.main-menu.active{

    display:block;

}

.main-menu ul{

    display:flex;
    flex-direction:column;

    background:#111;

    border-radius:10px;

    overflow:hidden;

}

.main-menu li{

    border-bottom:1px solid #2d2d2d;

}

.main-menu li:last-child{

    border-bottom:none;

}

.main-menu a{

    display:block;

    padding:15px 20px;

}

.header-tools{

    width:100%;

    margin-top:15px;

}

.search-form{

    width:100%;

}

.search-form input{

    width:100%;

}

}

/*==========================
        FOOTER
==========================*/

.footer{

    background:#111;
    margin-top:60px;
    color:#ddd;

}

.footer-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;

    padding:50px 0;

}

.footer-box h3{

    color:#16a3ab;
    margin-bottom:20px;

}

.footer-box p{

    line-height:2;

}

.footer-box ul{

    list-style:none;
    padding:0;
    margin:0;

}

.footer-box li{

    margin-bottom:12px;

}

.footer-box a{

    color:#ddd;
    text-decoration:none;
    transition:.3s;

}

.footer-box a:hover{

    color:#16a3ab;

}

.footer-bottom{

    border-top:1px solid #2d2d2d;

    text-align:center;

    padding:20px;

    color:#999;

    font-size:14px;

}

/* موبایل */

@media(max-width:768px){

.footer-grid{

    grid-template-columns:1fr;

    text-align:center;

}

}

/*==========================
      SOCIAL FOOTER
==========================*/

.footer-social{

    text-align:center;
    padding:35px 0;

    border-top:1px solid #2d2d2d;

}

.footer-social h3{

    color:#16a3ab;
    margin-bottom:20px;

}

.social-icons{

    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;

}

.social{

    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#222;

    color:#fff;

    text-decoration:none;

    font-size:22px;

    transition:.35s;

}

.social:hover{

    transform:translateY(-6px);

}

.telegram:hover{

    background:#27A7E7;

}

.instagram:hover{

    background:#E1306C;

}

.whatsapp:hover{

    background:#25D366;

}

.youtube:hover{

    background:#FF0000;

}

.twitter:hover{

    background:#000;

}

.social img{

    width:28px;
    height:28px;
    display:block;

}

.aparat:hover{

    background:#ED1C24;

}

.rubika:hover{

    background:#1B66FF;

}

.eitaa:hover{

    background:#F57C00;

}

/* ==========================
   LOGIN PAGE FIX
========================== */


body.login-page{

    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#111;

}


.login-page .login-box{

    width:400px;
    max-width:90%;
    background:#1c1c1c;
    border:1px solid #16a3ab;
    border-radius:18px;
    padding:35px;

}



.login-page .login-box h2{

    text-align:center;
    color:#16a3ab;
    margin-bottom:25px;

}



.login-page .login-box input{

    width:100%;
    height:50px;
    margin-bottom:15px;
    padding:0 15px;
    border-radius:12px;
    border:1px solid #333;
    background:#252525;
    color:white;

}



.login-page .login-box input:focus{

    outline:none;
    border-color:#16a3ab;

}



.login-page .login-box button{

    width:100%;
    height:50px;
    border:none;
    border-radius:12px;
    background:#16a3ab;
    color:#111;
    font-weight:bold;
    cursor:pointer;

}



.login-page .login-error{

    background:#7a1c1c;
    color:white;
    padding:12px;
    border-radius:10px;
    margin-bottom:20px;
    text-align:center;

}



@media(max-width:600px){

    .login-page .login-box{

        width:95%;
        padding:25px;

    }

}

.admin-login{

min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
background:#111;

}


.login-container{

width:100%;
padding:20px;

}


.login-card{

max-width:420px;
margin:auto;
background:#1c1c1c;
border:1px solid #16a3ab;
border-radius:20px;
padding:40px;
text-align:center;

}


.login-icon{

width:90px;
height:90px;
margin:auto;
border-radius:50%;
background:#16a3ab;
display:flex;
align-items:center;
justify-content:center;
font-size:35px;
color:#111;

}


.login-card h2{

color:#16a3ab;
margin:20px 0 10px;

}


.login-card p{

color:#aaa;

}


.login-input{

position:relative;
margin:20px 0;

}


.login-input input{

width:100%;
padding:15px 45px;
border-radius:12px;
border:1px solid #333;
background:#222;
color:white;

}


.login-input i{

position:absolute;
right:15px;
top:50%;
transform:translateY(-50%);
color:#16a3ab;

}


#showPass{

position:absolute;
left:15px;
cursor:pointer;

}


.login-card button{

width:100%;
padding:15px;
border:0;
border-radius:12px;
background:#16a3ab;
font-weight:bold;
cursor:pointer;

}


.login-error{

background:#7a1c1c;
padding:12px;
border-radius:10px;
margin-top:20px;

}

/* ==========================
   NAMAVARAN RESPONSIVE CSS
========================== */


/* تبلت */
@media(max-width:1024px){


.container{
    width:95%;
}


.news-grid{
    grid-template-columns:repeat(2,1fr);
}


.hero{
    grid-template-columns:1fr;
    text-align:center;
}


.hero-content h1{
    font-size:40px;
}


.dashboard-cards{
    grid-template-columns:repeat(2,1fr);
}


.footer-grid{
    grid-template-columns:repeat(2,1fr);
}


.admin-sidebar{
    width:220px;
}


}



/* موبایل */
@media(max-width:768px){


body{
    overflow-x:hidden;
}


/* HEADER */

.header-container{

    flex-wrap:wrap;
    padding:15px;

}


.logo{

    font-size:24px;

}


.mobile-menu-btn{

    display:flex;
    align-items:center;
    justify-content:center;

}


.main-menu{

    display:none;
    width:100%;

}


.main-menu.active{

    display:block;

}


.main-menu ul{

    flex-direction:column;
    gap:0;
    background:#111;
    border-radius:12px;

}


.main-menu li{

    border-bottom:1px solid #333;

}


.main-menu a{

    padding:15px;
    display:block;

}


.header-tools{

    width:100%;
    justify-content:center;
    margin-top:15px;

}



/* HERO */

.hero-slider{

    width:100%;
    height:300px;
    margin:20px auto;

}


.hero-overlay{

    right:10px;
    left:10px;
    bottom:10px;
    padding:15px;

}


.hero-overlay h1{

    font-size:22px;

}


.hero-overlay p{

    display:none;

}


.hero-prev,
.hero-next{

    width:35px;
    height:35px;
    font-size:16px;

}



/* NEWS */

.news-grid{

    grid-template-columns:1fr;
    gap:20px;

}


.news-image{

    height:200px;

}


.news-body h3{

    font-size:20px;

}



/* SINGLE NEWS */

.single-news{

    width:95%;
    padding:20px;

}


.single-image{

    height:auto;

}



/* SEARCH */

.search-box form{

    flex-direction:column;

}


.search-box button{

    width:100%;

}



/* FOOTER */

.footer-grid{

    grid-template-columns:1fr;
    text-align:center;
    gap:25px;

}


.social-icons{

    gap:12px;

}



/* ADMIN */

.admin-wrapper{

    flex-direction:column;

}


.admin-sidebar{

    width:100%;
    border-left:none;
    border-bottom:2px solid #16a3ab;

}


.admin-content{

    padding:20px;

}


.admin-table{

    display:block;
    overflow-x:auto;

}



/* LOGIN */

.login-card,
.login-page .login-box{

    width:95%;
    padding:25px;

}


}



/* موبایل کوچک */
@media(max-width:480px){


.logo{

    font-size:20px;

}


.hero-slider{

    height:250px;

}


.hero-overlay h1{

    font-size:18px;

}


.news-body p{

    font-size:15px;

}


.dashboard-cards{

    grid-template-columns:1fr;

}


.footer-social h3{

    font-size:18px;

}


}

@media(max-width:768px){

.mobile-menu-btn{
    display:flex;
}


.main-menu{
    display:none;
}


.main-menu.active{
    display:block;
}

}

.home-ad{

    width:100%;
    margin:45px 0;

}

.home-ad img{

    width:100%;

    border-radius:18px;

    display:block;

    transition:.3s;

}

.home-ad img:hover{

    transform:scale(1.02);

}

/* ==========================
        HOME AD
========================== */

.home-ad{

    margin:50px 0;

}

.home-ad img{

    width:100%;
    display:block;

    border-radius:18px;

    border:1px solid #16a3ab;

    transition:.3s;

}

.home-ad img:hover{

    transform:scale(1.02);

}

.home-ad .section-title{

    margin-bottom:20px;

    color:#16a3ab;

    font-size:24px;

}

.badge{
display:inline-block;
padding:6px 12px;
border-radius:30px;
font-size:13px;
font-weight:bold;
color:#fff;
}

.badge-success{
background:#28a745;
}

.badge-danger{
background:#dc3545;
}

.admin-table img{
display:block;
}

.ads-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

margin-top:20px;

}

.ad-item{

display:block;

transition:.3s;

}

.ad-item:hover{

transform:translateY(-5px);

}

.ad-item img{

width:100%;

display:block;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,.15);

}

.contact-page{

padding:60px 0;

}

.contact-form{

max-width:800px;

margin:auto;

display:flex;

flex-direction:column;

gap:18px;

}

.contact-form input,
.contact-form textarea{

padding:14px;

border:1px solid #ddd;

border-radius:10px;

font-family:inherit;

font-size:15px;

}

.contact-form button{

padding:14px;

border:none;

border-radius:10px;

cursor:pointer;

font-size:16px;

background:#c00;

color:#fff;

transition:.3s;

}

.contact-form button:hover{

opacity:.9;

}

.alert-success{

background:#d4edda;

color:#155724;

padding:15px;

border-radius:10px;

margin-bottom:20px;

}

.alert-danger{

background:#f8d7da;

color:#721c24;

padding:15px;

border-radius:10px;

margin-bottom:20px;

}


.admin-card{

background:#fff;

padding:25px;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.message-box{

background:#f7f7f7;

padding:20px;

border-radius:10px;

line-height:2;

white-space:pre-wrap;

margin-top:15px;

}

.admin-card{

background:#ffffff;

color:#222;

padding:25px;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.admin-card p,
.admin-card h1,
.admin-card h2,
.admin-card h3,
.admin-card strong{

color:#222 !important;

}

.message-box{

background:#f7f7f7;

color:#222 !important;

padding:20px;

border-radius:10px;

line-height:2;

white-space:pre-wrap;

border:1px solid #ddd;

}

.about-page{

padding:60px 0;

}

.about-box{

background:#fff;

padding:35px;

border-radius:15px;

box-shadow:0 5px 20px rgba(0,0,0,.08);

line-height:2;

}

.about-box h1{

margin-bottom:25px;

}

.about-box h2{

margin-top:30px;

}

.about-box ul{

padding-right:20px;

}

.about-box li{

margin:10px 0;

}

.about-box{
    color:#222 !important;
    background:#fff;
}

.about-box h1,
.about-box h2,
.about-box p{
    color:#222 !important;
}
/* ================================
   eRasaneh Trust Seal
================================ */

.erasaneh-trustseal {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px 0 25px;
}

.erasaneh-trustseal > div {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 180px;
    min-height: 100px;

    padding: 15px 25px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition: all 0.3s ease;
}

.erasaneh-trustseal > div:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 255, 255, 0.22);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* جلوگیری از بزرگ شدن لوگو */

.erasaneh-trustseal img {
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    max-height: 100px !important;

    display: block;
}

/* موبایل */

@media (max-width: 600px) {

    .erasaneh-trustseal {
        margin: 25px 0 20px;
    }

    .erasaneh-trustseal > div {
        min-width: 150px;
        min-height: 85px;

        padding: 12px 18px;

        border-radius: 14px;
    }

    .erasaneh-trustseal img {
        max-width: 150px !important;
        max-height: 85px !important;
    }

}
