news-letters {
    display: flex;
}

.parent-news-letters-page {
    background-color: var(--white);
    padding: 16px;
    margin: 80px auto;
    border-radius: 8px;
}

h1 {
    font-size: 16pt;
    margin:16px 0;
}

h1::before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: var(--textBlack);
    -webkit-mask-image: url(/Icon/News.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    vertical-align: text-top;
    margin-left: 8px;
}

.box-text-news {
    width: 78%;
    margin-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.titr-date-time {
    display: flex;
    justify-content: space-between;
}

.box-news-letter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid #e8e8e8;
    padding: 16px 0;
}

.box-news-letter:hover img {
    scale: 1.1;
}
.box-news-letter:hover .titr-news-letter{
    color: #483fcd;
}

.titr-news-letter {
    width: 64%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 25px;
    font-size: 14pt;
    font-weight: bold;
}

.box-data-news {
    display: flex;
    gap: 16px;
    font-size: 12pt;
}

.box-data-news span::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: var(--textBlack);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    vertical-align: sub;
    margin-left: 4px;
}

.box-data-news .date::before {
    -webkit-mask-image: url(/Icon/Calendar.svg);
}

.box-data-news .time::before {
    -webkit-mask-image: url(/Icon/Wall_clock.svg);
}

.box-data-news .view::before {
    -webkit-mask-image: url(/Icon/Eyes.svg);
    vertical-align: -webkit-baseline-middle;
}

.parent-img-news {
    width: 200px;
    height: 170px;
    overflow: hidden;
    border-radius: 8px;
}

.parent-img-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.full-text-news {
    display: -webkit-box;
    font-size: 12pt;
    line-height: 26pt;
    text-align: justify;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 100px;
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    grid-news{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2 , 1fr);
        gap: 16px;
    }
    .box-news-letter{
        background-color: var(--white);
        border-radius: 8px;
        box-shadow: 0 3px 22px -11px #0000009c;
        flex-direction: column;
        padding: 0;
    }
    .parent-img-news{
        width: 100%;
    }
    .box-text-news{
        width: unset;
        margin: 0;
        padding: 8px;
    }
    .titr-date-time{
        flex-direction: column-reverse;
        margin-bottom: 16px;
        gap: 16px;
    }
    .box-data-news{
        place-self: self-end;
    }
    .titr-news-letter{
        width: unset;
    }
}

@media screen and (min-width: 0) and (max-width: 600px) {
    .box-news-letter {
        flex-direction: column;
    }

    .parent-img-news,
    .box-text-news,
    .titr-news-letter {
        width: 100%;
    }

    .box-text-news {
        margin-right: 0;
    }

    .titr-date-time {
        flex-direction: column-reverse;
        align-items: center;
        margin: 8px 0;
        gap: 8px;
    }
}