.rmUInews {
    display: flex;
    flex-direction: column;
}

.rmUInews__content {
    display: flex;
    flex-direction: column;
    padding: 0px 25px;
    margin-bottom: 100px;
}

.rmUInews__content-news-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rmUInews-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 14px;
    box-shadow: 0 0 7px rgba(255, 255, 255, 0.3);
}

.rmUInews-block__image-block {
    width: 100%;
    height: 350px; 
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 17px;
    flex-shrink: 0;
}

.rmUInews-block__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rmUInews-block__text-block {
    display: flex;
    flex-direction: column;
    padding: 0px 14px;
    flex: 1;
    color: #000;
}

.rmUInews-block-text__date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #787878;
    text-align: left;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.rmUInews-block-text__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #000;
    margin-bottom: 17px;
    transition: all 0.4s;

    display: -webkit-box;
    flex-shrink: 0;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmUInews-block-text__title:hover {
    color: #1b51a0;
}

.rmUInews-block-text__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #666;
    margin-bottom: 21px;

    display: -webkit-box;
    -webkit-line-clamp: 13;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}


.rmUInews-block__button-wrapper {
    padding: 0px 14px;
    flex-shrink: 0;
    margin-bottom: 14px;
    margin-top: auto;
}

.rmUInews-block__button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    padding: 11px 0px;
    background-color: #1b51a0;
    border-radius: 8px;
    width: 100%;
    transition: all 0.4s;
    user-select: none;
}

.rmUInews-block__button:hover {
    background-color: #071b36;
}

.rmUInews__content-more-button__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.rmUInews__content-more-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    padding: 11px 76px;
    background-color: #004AAD;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    user-select: none;
}

.rmUInews__content-more-button:hover {
    background-color: #003a8a;
}

.rmUInews__content-more-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.rmUInews__content-more-button:hover::before {
    left: 125%;
}

.rmUInews__content-more-button:active::before,
.rmUInews__content-more-button:not(:hover)::before {
    transition: left 0.6s ease;
}



/* НОВОСТЬ */
.rmUInovost {
    display: flex;
    flex-direction: column;
}

.rmUInovost__content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.rmUInovost__content-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    margin-bottom: 20px;
    border-radius: 25px;
}

.rmUInovost__content-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 17px;
    text-align: left;
    margin-bottom: 16px;
}

.rmUInovost__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 60px;
    text-align: left;
    line-height: 1;
    margin-bottom: 76px;
    cursor: pointer;
    transition: all 0.4s;
}

.rmUInovost__content-title:hover {
    color: #1b51a0;
}

.rmUInovost__content-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #666;
    font-size: 17px;
    text-align: left;
    margin-bottom: 36px;
    white-space: pre-line;
}


/* НАЗАД */
.go-back-button__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.go-back__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    color: #ffffff;
    padding: 14px 0px;
    background-color: #004AAD;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 60px;
    user-select: none;
}

.go-back__button:hover {
    background-color: #003a8a;
}

.go-back__button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.go-back__button:hover::before {
    left: 125%;
}

.go-back__button:active::before,
.go-back__button:not(:hover)::before {
    transition: left 0.6s ease;
}