.rm-news {
    &-col {
        transition: box-shadow $mainTransition;
        position: relative;
        z-index: 1;

        &:hover {
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
            z-index: 20;
        }

        .rm-news-item-bottom {
            border-bottom: $mainBorder;
        }

        &:not(:nth-child(4n+4)) {
            .rm-news-item-bottom {
                border-right: $mainBorder;
            }
        }
    }

    &-item {
        background-color: #FFFFFF;

        &-top {
            position: relative;
            z-index: 1;

            img {
                transition: opacity $mainTransition;
                width: 100%;
            }
        }

        &-date {
            position: absolute;
            z-index: 3;
            top: 30px;
            right: 30px;
            padding: 4px 11px;
            background: $primaryColor;
            color: #FFFFFF;
            border-radius: 4px;
        }

        &-bottom {
            padding: 20px;
            @media (min-width: $break-md) {
                padding: 30px;
            }
        }

        &-title {
            display: block;
            margin-bottom: 30px;
            font-weight: 500;
            text-decoration: underline;
            @media (max-width: $break-sm-max) {
                font-size: 15px;
                line-height: 24px;
            }

            &:hover {
                text-decoration: none;
            }
        }

        &:hover &-title {
            color: $linksColor;
        }

        &:hover &-top img {
            opacity: 0.95;
        }

        &-text {
            font-size: 13px;
            line-height: 20px;
            color: $lightTextColor;
        }
    }
}
