.rs-17 .rs-news{
	padding-top: 10px;
	padding-bottom: 30px;
}
.rs-17 .rs-news .section-title{
	position: relative;
	margin-top: 13px;
	font-size: 36px;
	font-weight: 400;
}
.rs-17 .rs-news .section-title--text {
	display: inline-block;
	font-size: 36px;
	font-weight: 300;
	background-color: #fff;
	width: auto;
	padding: 10px;
	text-transform: uppercase;
	position: relative;
	z-index: 2;
}
.rs-17 .rs-news .section-title:after {
	background: #DDDDDD;
    content: "";
    display: block;
    height: 1px;
    margin-left: 16%;
    position: absolute;
    top: 30px;
    width: 68%;
    z-index: 1;
}

.rs-17 .rs-news .section-descr {
    width: 70%;
    text-align: center;
    margin: 35px auto 50px;
}
.rs-17 .rs-news .section-descr p {
    font-size: 18px;
    color: #616161;
    text-align: center;
}
.rs-17 .rs-news  .news-item{
    display: block;
	background-color: #fafafa;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    margin-bottom: 15px;
    height: 440px;
	border-radius: 6px 6px 0 0;
	overflow: hidden;
}
.rs-17 .rs-news  .news-title h3 {
    min-height: 53px;
    overflow: hidden;
    display: block;
    line-height: 21px;
    margin: 25px 0 7px;
    padding: 0 5px;
}
.rs-17 .rs-news  .news-title h3 a {
    font-weight: 700;
    color: #424242;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
}
.rs-17 .rs-news .news-date{
	color: #616161;
	font-weight: 300;
}
.rs-17 .rs-news .news-content{
	margin-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

.rs-17 .rs-news .news-item{
    display: block;
    height: auto;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    text-align: center;
	overflow: hidden;
}

.rs-17 .rs-news .news-image{
    display: block;
    overflow: hidden;
    position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
    height: 215px;
}

.rs-17 .rs-news .news-more {
    border: 0;
    display: block;
    height: auto;
    padding: 5px 0 30px;
    width: 100%;
	
}
.rs-17 .rs-news .news-content p{
	color: #616161;
	overflow: hidden;
}

.rs-17 .rs-news .btn-outline{
	border-color: #9e9e9e;
	color: #616161;
	text-shadow: none;
	font-weight: 600;
}
.rs-17 .rs-news .btn-outline:hover,
.rs-17 .rs-news .btn-outline:focus{
	background-color: #818181;
	color: #fff;
	border-color: #818181;
}
.rs-17 .rs-news .rs-news-inner{
	padding-top: 5px;
	padding-bottom: 25px;
}
.rs-17 .rs-news .rs-news-inner  .news-item{
	margin-bottom: 30px;
}
@media (max-width: 991px){
	.rs-17 .rs-news .news-item{
		float: none;
		display: inline-block;
		vertical-align: top;
		margin-left: -4px;
	}
}
@media (max-width: 767px){
	.rs-17 .rs-news .section-title--text{
		font-size: 28px;
	}
	.rs-17 .rs-news .section-descr{
		width: 100%;
	}
}
@media (max-width: 544px){
	.rs-17 .rs-news .news-block{
		width: 100%;
	}
}

/* ============================================================
   Archive news: override old 3-item flex layout with CSS grid
   ============================================================ */

.post-type-archive-news .rs-media-news__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 20px;
	max-width: none;
	justify-content: unset;
	align-items: unset;
}

.post-type-archive-news .rs-media-news__item {
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.post-type-archive-news .rs-media-news__item a {
	display: block;
	text-decoration: none;
	color: inherit;
}

@media (max-width: 991px) {
	.post-type-archive-news .rs-media-news__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.post-type-archive-news .rs-media-news__list {
		grid-template-columns: 1fr;
	}
}

/* Archive card image: 2:3 ratio */
.post-type-archive-news .rs-media-news__img {
	aspect-ratio: 2 / 3;
	overflow: hidden;
}

.post-type-archive-news .rs-media-news__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-type-archive-news .rs-media-news__item:hover .rs-media-news__img img {
	transform: scale(1.04);
}

/* Head: title left, filter right */
.rs-media-news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

/* Filter tabs */
.rs-media-news__filter {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.rs-media-news__filter-item {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	text-decoration: none;
	color: #1a1a1a;
	border: 1px solid #d0d0d0;
	white-space: nowrap;
	transition: background 0.2s, border-color 0.2s;
}

.rs-media-news__filter-item._active,
.rs-media-news__filter-item:hover {
	background: #1a1a1a;
	color: #fff;
	border-color: #1a1a1a;
}

/* Card meta */
.post-type-archive-news .rs-media-news__date {
	font-size: 12px;
	color: #8c8c8c;
	margin-top: 10px;
	margin-bottom: 6px;
}

.post-type-archive-news .rs-media-news__description p {
	font-size: 13px;
	color: #616161;
	margin-top: 5px;
	line-height: 1.45;
}

@media (max-width: 767px) {
	.rs-media-news__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

.rs-news-single__hero img {
	display: block;
	width: 100%;
	height: auto;
}

.rs-news-single__header {
	margin-bottom: 32px;
}

.rs-news-single__title {
	margin-top: 24px;
	margin-bottom: 8px;
}

.rs-news-single__date {
	color: #8c8c8c;
	margin-bottom: 20px;
}

.rs-news-block {
	margin-bottom: 32px;
}

.rs-news-block-photos {
	display: grid;
	gap: 16px;
}

.rs-news-block-photos--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rs-news-block-photos--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rs-news-block-photos__item {
	aspect-ratio: 2 / 3;
	overflow: hidden;
}

.rs-news-block-photos__item--4-5 {
	aspect-ratio: 4 / 5;
}

.rs-news-block-photos__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rs-news-block-video__player,
.rs-news-block-video__embed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
}

@media (max-width: 991px) {
	.rs-news-block-photos--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.rs-media-news__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.rs-news-block-photos--3,
	.rs-news-block-photos--4 {
		grid-template-columns: 1fr;
	}
}