/* SMM News ----------------------------------------------------------------- */

.smm-news {
	max-width: 1000px;
	margin: 0 auto;
	line-height: 1.6;
}

.smm-news__heading {
	text-align: center;
	color: #da4444;
	margin-bottom: 6px;
}

.smm-news__intro {
	text-align: center;
	color: #666;
	margin-bottom: 35px;
}

.smm-news__grid {
	display: grid;
	gap: 30px;
	margin-bottom: 25px;
}

.smm-news__thumb {
	display: block;
	position: relative;
	padding-bottom: 60%;
	overflow: hidden;
	border-radius: 8px;
	background: #eee;
}

.smm-news__thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.smm-news__thumb:hover img,
.smm-news__thumb:focus img {
	transform: scale(1.04);
}

.smm-news__title {
	margin: 14px 0 4px;
	font-size: 1.1em;
}

.smm-news__title a {
	color: #333;
	text-decoration: none;
}

.smm-news__title a:hover,
.smm-news__title a:focus {
	color: #da4444;
	text-decoration: underline;
}

.smm-news__date {
	margin: 0 0 6px;
	color: #da4444;
	font-size: 0.82em;
	font-weight: 700;
}

.smm-news__excerpt {
	margin: 0;
	color: #666;
	font-size: 0.92em;
}

.smm-news__link,
.smm-news__empty {
	text-align: center;
	margin: 0;
}

.smm-news__link a {
	color: #da4444;
	font-size: 0.95em;
}

/* Posts with no photograph still occupy the same space, so a row of cards
   lines up instead of one title riding higher than its neighbours. */
.smm-news__thumb--empty {
	background: repeating-linear-gradient(
		45deg,
		#f2f2f2,
		#f2f2f2 10px,
		#ebebeb 10px,
		#ebebeb 20px
	);
	cursor: default;
}

.smm-news__thumb--empty:hover {
	transform: none;
}
