.newsevents {
    margin-bottom: 155px;
}

.newsevents__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-left: 16px;
}

.newsevents__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.newsevents__element {
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 16px;
    background: #FFF;
    min-height: 0;
    overflow: hidden;
    gap: 16px;
}

.newsevents__element-content {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.newsevents__element-img {
    height: 100%;
    aspect-ratio: 1.78/1;
    width: 50%;
    object-fit: cover;
    object-position: right;
    flex-shrink: 0;
    border-radius: 12px;
}

.newsevents__element-data {
    width: fit-content;
    padding: 8px 12px;
    color: #03F;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    border-radius: 40px;
    background: linear-gradient(93deg, #EDECF6 0%, #DCE3FC 100%);
}

.newsevents__element-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.newsevents__element-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 990px) {
    .newsevents__grid {
        display: block;
        margin: 0;
    }
  
    .newsevents__element {
        margin: 0 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .newsevents__element-img {
        margin-bottom: 16px;
    }
    
    .newsevents__element-content {
        width: 100%;
    }
    
    .newsevents__element-img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .newsevents__title {
        font-size: 20px;
        margin-bottom: 16px;
        padding-left: 0;
    }
}