*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:sans-serif;
}

body{
    direction:rtl;
    background:#f4f6f9;
    color:#333;
}

.container{
    width:95%;
    max-width:1200px;
    margin:40px auto;
}

/* Top Bar */

.top-bar{
    margin-bottom:30px;
}

.back-btn{
    display:inline-block;
    text-decoration:none;
    background:#053734;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    transition:.3s;
    font-weight:bold;
}

.back-btn:hover{
    background:#086058;
    transform:translateY(-2px);
}

/* Page Title */

h1{
    text-align:center;
    color:#053734;
    margin:20px 0 35px;
    font-size:40px;
}

/* News Card */

.news-card{
    display:flex;
    gap:25px;
    align-items:stretch;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    margin-bottom:35px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;
}

.news-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 35px rgba(0,0,0,.15);
}

/* Image */

.news-card img{

    width:260px;
    height:220px;

    object-fit:cover;

    flex-shrink:0;

}

/* Content */

.news-content{

    flex:1;

    padding:25px;

    display:flex;

    flex-direction:column;

}

.news-content h2{

    color:#053734;

    font-size:30px;

    margin-bottom:15px;

}

.news-content p{

    color:#555;

    line-height:2;

    text-align:justify;

}

.date{

    margin-top:15px;

    color:#888;

    font-size:14px;

}

/* Read More Button */

.read-btn{

    margin-top:20px;

    align-self:flex-start;

    padding:12px 22px;

    border:none;

    border-radius:10px;

    background:#053734;

    color:#fff;

    cursor:pointer;

    font-size:15px;

    transition:.3s;

}

.read-btn:hover{

    background:#086058;

    transform:translateY(-2px);

}

/* Full News */

.full-news{

    max-height:0;

    overflow:hidden;

    transition:max-height .6s ease,padding .4s ease;

    border-top:1px solid #eee;

}

.full-news.open{

    max-height:2000px;

    padding-top:20px;

}

.full-news p{

    line-height:2.1;

    color:#444;

    text-align:justify;

}

.full-news img{

    width:100%;

    max-height:500px;

    object-fit:cover;

    border-radius:12px;

    margin:25px 0;

}

/* Scroll Animation */

.news-card{

    animation:fadeUp .5s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Tablet */

@media(max-width:992px){

    .news-card{

        flex-direction:column;

    }

    .news-card img{

        width:100%;

        height:300px;

    }

}

/* Mobile */

@media(max-width:768px){

    .container{

        width:97%;

        margin:20px auto;

    }

    h1{

        font-size:30px;

    }

    .back-btn{

        display:block;

        text-align:center;

        margin-bottom:20px;

    }

    .news-card{

        flex-direction:column;

    }

    .news-card img{

        width:100%;

        height:220px;

    }

    .news-content{

        padding:18px;

    }

    .news-content h2{

        font-size:24px;

    }

    .news-content p{

        font-size:15px;

    }

    .read-btn{

        width:100%;

        text-align:center;

    }

}

/* Small Phones */

@media(max-width:480px){

    h1{

        font-size:24px;

    }

    .news-card img{

        height:180px;

    }

    .news-content h2{

        font-size:20px;

    }

    .news-content p{

        font-size:14px;

    }

}

/* ===========================
   Search
=========================== */

.news-search{

    width:100%;

    margin:30px auto;

}

.news-search input{

    width:100%;

    padding:15px 20px;

    font-size:16px;

    border:2px solid #D4AF37;

    border-radius:12px;

    background:#fff;

    outline:none;

    transition:.3s;

}

.news-search input:focus{

    border-color:#053734;

    box-shadow:0 0 10px rgba(5,55,52,.2);

}


/* ===========================
   Important News Badge
=========================== */

.important-badge{

    display:inline-block;

    background:#D4AF37;

    color:#053734;

    font-weight:bold;

    padding:6px 14px;

    border-radius:20px;

    margin-bottom:15px;

    font-size:14px;

}


/* ===========================
   Read More Animation
=========================== */

.full-news{

    max-height:0;

    overflow:hidden;

    transition:max-height .45s ease;

}

.full-news.open{

    max-height:1500px;

}

.full-news img{

    width:100%;

    margin:20px 0;

    border-radius:12px;

}


/* ===========================
   Responsive
=========================== */

@media(max-width:768px){

.news-search input{

    font-size:15px;

    padding:14px;

}

.important-badge{

    font-size:13px;

    padding:5px 12px;

}

}

@media(max-width:480px){

.news-search{

    margin:20px auto;

}

.news-search input{

    padding:12px;

}

}