.news-page {
    background: rgba(242, 244, 248, 1);
}
.news-wrapper a {
    color: rgba(64, 82, 103, 1) !important;
}

.news-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0 2rem;

    @media (min-width: 1340px) {
        grid-template-columns: 2fr 1fr;
        padding: 2rem 0rem;
    }
}

.main-side {
    background-color: rgba(255, 255, 255, 1);
    padding: 2rem;
    border-radius: 2px;
}

.right-side {
    background-color: rgba(255, 255, 255, 1);
    padding: 2rem;
    border-radius: 2px;

    @media (min-width: 1340px) {
        height: fit-content;
        position: sticky;
        top: 1rem;
    }
}

.main-block {
    margin: 2rem 0;

    @media (max-width: 1339px) {
        grid-template-columns: 1fr !important;
    }
}

.news-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.news-block > .main-news-image {
    min-height: 15rem;
    max-height: 25rem;
}

.news-block-image {
    min-height: 8rem;
    max-height: 8rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.news-block-date {
    background-color: rgba(255, 255, 255, 1);
    padding: 0.25rem;
    width: fit-content;
    font-size: 0.625rem;
}

.news-block > .main-news-content {
    padding: 2.25rem 1.5rem;
    gap: 1rem;
    min-height: 15rem;
    max-height: 25rem;
}

.news-block-content {
    padding: 1rem;
    background: rgba(242, 246, 252, 1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(64, 82, 103, 1);

    min-height: 8rem;
    max-height: 8rem;
}

.news-block-content > h2 {
    color: rgba(20, 20, 20, 1);
}

.news-block-content > h4 {
    font-size: 0.8em;
    color: rgba(20, 20, 20, 1);
}

.main-news-content > p {
    font-size: 0.875rem;
}

.news-text {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.75rem;
}

.news-list {
    display: grid;

    grid-template-columns: 1fr;

    gap: 1.5rem 1.5rem;
    margin: 2rem 0 0;

    @media (min-width: 1340px) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.side-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.side-news-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.8rem;
}

.side-news-image {
    min-height: 5rem;
    max-height: 6rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.side-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.side-news-topic {
    font-weight: 700;
    font-size: 0.9rem;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.side-news-text {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.65rem;
}

.side-news-date {
    background-color: rgba(242, 244, 248, 1);
    padding: 0.25rem;
    width: fit-content;
    font-size: 0.5rem;
}

.news-full-content p {
    color: rgba(64, 82, 103, 1);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    line-height: 1.5;
    text-align: justify;
}

.news-full-content > .side-news-date {
    background: rgba(32, 62, 117, 1);
    color: rgba(255, 255, 255, 1);
    margin-bottom: 1rem;
}
