a , a:hover , a:link , a:active{
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.parent-news{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}
.news-details{
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.box-data-news{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.parent-img-news{
    width: 100%;
    height: 400px;
}
.parent-img-news img{
    width: 100%;
    height: 100%;
    border-radius: 50px;
    object-fit: cover;
}
.text-news{
    font-size: 16pt;
    text-align: justify;
    line-height: 30pt;
}

/* لیست اخبار */

.list-news{
    width: 35%;
}
.title-list-news{
    font-size: 20pt;
    margin-bottom: 16px;
}

.box-list-news{
    display: flex;
    background-color: var(--lightGrey);
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
}
.news-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    border-bottom: 1px solid var(--black);
    padding-bottom: 16px;
    color: var(--black);
}
.news-box .titr-news{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px;
    width: 70%;
    font-size: 15pt;
    text-align: justify;
}
.news-box:last-of-type{
    border-bottom: none;
    padding-bottom: unset;
}
.news-box .box-img-list{
    width: 120px;
    height: 105px;
}
.news-box .box-img-list img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.news-box .btn-detial-news{
    display: block;
    position: absolute;
    left: 0;
    bottom: 16px;
    color: var(--accent);
    transition: all ease 0.3s;
    cursor: pointer;
    font-size: 11pt;
}

.news-box .btn-detial-news::after{
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 2px;
    display: inline-block;
    -webkit-mask-image: url('../Icons/Arrow Left.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    background-color: var(--accent);
    vertical-align: middle;
}
.news-box .btn-detial-news:hover:after{
    transform: translateX(-5px);
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .parent-news{
        flex-direction: column;
    }
    .news-details,
    .list-news{
        width: 100%;
    }
    .box-img-list{
        width: 30%!important;
    }

}

@media screen and (min-width: 0) and (max-width: 600px) {
    .parent-news,
    .box-data-news{
        flex-direction: column;
        gap: 16px;
    }
    .news-details,
    .list-news{
        width: 100%;
    }
    .parent-img-news {
        height: 300px;
    }
}