/*==============================

PREMIUM NEWS TEMPLATE

Version 1.0

===============================*/


*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}


body{

    font-family:"Vazirmatn",sans-serif;

    background:#f6f8fc;

    color:#222;

    overflow-x:hidden;

    line-height:2;

}


/*==============================*/

.page-bg{

    position:fixed;

    width:900px;

    height:900px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(37,99,235,.08),
    transparent 70%);

    top:-350px;

    left:-250px;

    z-index:-2;

    animation:bgMove 18s infinite alternate;

    filter:blur(40px);

}


@keyframes bgMove{

    0%{

        transform:translateX(0);

    }

    100%{

        transform:translateX(250px);

    }

}


/*==============================*/

.news-wrapper{

    width:min(1120px,92%);

    margin:70px auto;

    background:white;

    border-radius:30px;

    padding:55px;

    box-shadow:

            0 20px 60px rgba(15,23,42,.08);

    position:relative;

    overflow:hidden;

}


/*==============================*/

.news-wrapper::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    border-radius:50%;

    background:

            radial-gradient(circle,

            rgba(37,99,235,.08),

            transparent);

    left:-150px;

    top:-150px;

}


/*==============================*/

.breadcrumb{

    display:flex;

    gap:12px;

    align-items:center;

    font-size:14px;

    margin-bottom:30px;

    color:#94a3b8;

    flex-wrap:wrap;

}


.breadcrumb a{

    text-decoration:none;

    color:#64748b;

    transition:.3s;

}

.breadcrumb a:hover{

    color:#2563eb;

}


/*==============================*/

.news-category{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

    background:

            linear-gradient(135deg,

            #2563eb,

            #0ea5e9);

    color:white;

    font-weight:700;

    margin-bottom:25px;

    box-shadow:

            0 15px 30px rgba(37,99,235,.25);

    animation:float 5s infinite;

}


@keyframes float{

    50%{

        transform:translateY(-5px);

    }

}


/*==============================*/

.news-title{

    font-size:46px;

    font-weight:900;

    line-height:1.7;

    color:#0f172a;

    margin-bottom:30px;

    letter-spacing:-1px;

    animation:titleAnimation .8s;

}


@keyframes titleAnimation{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:none;

    }

}
/*==============================
Meta
==============================*/

.news-meta{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    margin:35px 0 45px;

}


.meta-item{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 20px;

    background:#fff;

    border:1px solid #edf1f7;

    border-radius:60px;

    font-size:15px;

    font-weight:600;

    color:#64748b;

    transition:.35s;

    box-shadow:

            0 10px 25px rgba(15,23,42,.05);

}

.meta-item:hover{

    transform:translateY(-6px);

    border-color:#2563eb;

    color:#2563eb;

    box-shadow:

            0 20px 40px rgba(37,99,235,.15);

}
/*==============================
Hero Image
==============================*/

.hero-image{

    position:relative;

    width:100%;
    max-width:900px;

    margin:0 auto 55px;

    overflow:hidden;

    border-radius:24px;

    box-shadow:
            0 25px 70px rgba(0,0,0,.18);

    aspect-ratio:16/9;

    background:#eee;

}
.hero-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:

            transform 1.3s cubic-bezier(.22,.61,.36,1),

            filter .9s;

}

.hero-image:hover img{

    transform:scale(1.08);

    filter:

            brightness(1.05)

            contrast(1.08)

            saturate(1.15);

}
.hero-image::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;

    background:

            linear-gradient(

                    110deg,

                    transparent,

                    rgba(255,255,255,.55),

                    transparent

            );

    z-index:5;

    transform:skewX(-25deg);

    animation:shine 6s infinite;

}

@keyframes shine{

    100%{

        left:180%;

    }

}
.hero-image::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:180px;

    background:

            linear-gradient(

                    transparent,

                    rgba(0,0,0,.65)

            );

}
/*==============================
Summary
==============================*/

.summary-box{

    position:relative;

    padding:38px;

    margin:20px auto 60px;

    background:

            linear-gradient(

                    145deg,

                    #ffffff,

                    #f7fbff

            );

    border-radius:24px;

    overflow:hidden;

    border:1px solid #edf2f8;

    box-shadow:

            0 25px 60px rgba(15,23,42,.06);

    transition:.4s;

}
.summary-box::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:

            rgba(37,99,235,.08);

    top:-130px;

    left:-120px;

}

.summary-box::after{

    content:"";

    position:absolute;

    width:170px;

    height:170px;

    border-radius:50%;

    background:

            rgba(14,165,233,.08);

    bottom:-70px;

    right:-70px;

}
.summary-head{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    border-radius:50px;

    background:

            linear-gradient(

                    135deg,

                    #2563eb,

                    #0ea5e9

            );

    color:white;

    font-size:16px;

    font-weight:800;

    margin-bottom:22px;

    box-shadow:

            0 12px 25px rgba(37,99,235,.25);

}

.summary-head::before{

    content:"✦";

    font-size:14px;

}
.summary-box p{

    position:relative;

    z-index:3;

    font-size:20px;

    font-weight:500;

    line-height:2.3;

    color:#334155;

}
.hero-image{

    opacity:0;

    transform:translateY(50px);

    animation:imageFade .9s forwards;

    animation-delay:.3s;

}

.summary-box{

    opacity:0;

    transform:translateY(50px);

    animation:imageFade .9s forwards;

    animation-delay:.6s;

}

@keyframes imageFade{

    to{

        opacity:1;

        transform:none;

    }

}
/*==================================
   ARTICLE CONTENT
===================================*/

.news-content{

    position:relative;

    max-width:850px;

    margin:auto;

    color:#2b3445;

    font-size:21px;

    font-weight:400;

    line-height:2.55;

    text-align:justify;

    text-wrap:pretty;

    animation:fadeUp 1s;



}

.news-content p{

    margin-bottom:35px;

}

.news-content h2{

    position:relative;

    margin:75px 0 30px;

    padding-right:25px;

    font-size:34px;

    font-weight:900;

    color:#0f172a;

}

.news-content h2::before{

    content:"";

    position:absolute;

    right:0;

    top:8px;

    width:7px;

    height:40px;

    border-radius:30px;

    background:linear-gradient(#2563eb,#06b6d4);

}

.news-content h2::after{

    content:"";

    position:absolute;

    bottom:-12px;

    right:0;

    width:120px;

    height:4px;

    border-radius:20px;

    background:linear-gradient(90deg,#2563eb,#06b6d4);

}
.news-content h3{

    margin:45px 0 20px;

    font-size:26px;

    color:#111827;

    font-weight:800;

}
.news-content a{

    color:#2563eb;

    text-decoration:none;

    font-weight:700;

    position:relative;

}

.news-content a::after{

    content:"";

    position:absolute;

    right:0;

    bottom:-3px;

    width:0;

    height:2px;

    transition:.35s;

    background:#2563eb;

}

.news-content a:hover::after{

    width:100%;

}
.news-content strong{

    color:#0f172a;

    font-weight:800;

}
.news-content ul{

    list-style:none;

    margin:30px 0;

    padding:0;

}

.news-content li{

    position:relative;

    padding-right:38px;

    margin-bottom:18px;

}

.news-content li::before{

    content:"✔";

    position:absolute;

    right:0;

    color:#2563eb;

    font-size:18px;

    font-weight:bold;

}
