.ysn-newsfeed {
	box-sizing: border-box;
	clear: both;
	margin: 16px 0 20px;
	overflow: hidden;
	background: #111111;
	border: 1px solid #2b2b2b;
	border-radius: 9px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
}

.ysn-newsfeed *,
.ysn-newsfeed *::before,
.ysn-newsfeed *::after {
	box-sizing: border-box;
}

.ysn-newsfeed__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 17px 13px;
	border-top: 4px solid #fecc59;
}

.ysn-newsfeed__header h2 {
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.ysn-newsfeed__all-link,
.ysn-newsfeed__all-link:visited {
	flex: 0 0 auto;
	color: #fecc59;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.ysn-newsfeed__all-link:hover,
.ysn-newsfeed__all-link:focus {
	color: #ffffff;
	text-decoration: underline;
}

.ysn-newsfeed__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 0 16px 16px;
}

.ysn-newsfeed__card {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #ffffff;
	border-radius: 7px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.ysn-newsfeed__card-link,
.ysn-newsfeed__card-link:visited {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	color: #151515;
	text-decoration: none;
}

.ysn-newsfeed__card-link:hover,
.ysn-newsfeed__card-link:focus {
	color: #151515;
	text-decoration: none;
}

.ysn-newsfeed__card-link:focus-visible {
	outline: 3px solid #fecc59;
	outline-offset: -3px;
}

.ysn-newsfeed__image-wrap,
.ysn-newsfeed__placeholder {
	display: block;
	width: 100%;
	height: 145px;
	overflow: hidden;
	background: #292929;
}

.ysn-newsfeed__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease-out;
}

.ysn-newsfeed__card-link:hover .ysn-newsfeed__image,
.ysn-newsfeed__card-link:focus .ysn-newsfeed__image {
	transform: scale(1.025);
}

.ysn-newsfeed__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fecc59;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.ysn-newsfeed__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 12px 13px 14px;
}

.ysn-newsfeed__date {
	display: block;
	margin: 0 0 5px;
	color: #717171;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
}

.ysn-newsfeed__title {
	display: -webkit-box;
	overflow: hidden;
	color: #151515;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ysn-newsfeed__excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 8px;
	color: #555555;
	font-size: 12px;
	line-height: 1.42;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ysn-newsfeed__read {
	display: block;
	margin-top: auto;
	padding-top: 11px;
	color: #8b6500;
	font-size: 12px;
	font-weight: 700;
}

.ysn-newsfeed__card-link:hover .ysn-newsfeed__read,
.ysn-newsfeed__card-link:focus .ysn-newsfeed__read {
	color: #151515;
	text-decoration: underline;
}

@supports (aspect-ratio: 16 / 9) {
	.ysn-newsfeed__image-wrap,
	.ysn-newsfeed__placeholder {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 900px) {
	.ysn-newsfeed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ysn-newsfeed__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.ysn-newsfeed__grid {
		grid-template-columns: 1fr;
	}

	.ysn-newsfeed__card-link {
		display: grid;
		grid-template-columns: 125px minmax(0, 1fr);
	}

	.ysn-newsfeed__image-wrap,
	.ysn-newsfeed__placeholder {
		height: 100%;
		min-height: 135px;
		aspect-ratio: auto;
	}

	.ysn-newsfeed__excerpt {
		display: none;
	}
}

@media (max-width: 420px) {
	.ysn-newsfeed__card-link {
		grid-template-columns: 105px minmax(0, 1fr);
	}

	.ysn-newsfeed__image-wrap,
	.ysn-newsfeed__placeholder {
		min-height: 125px;
	}

	.ysn-newsfeed__title {
		font-size: 14px;
		-webkit-line-clamp: 4;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ysn-newsfeed__image {
		transition: none;
	}
}
