/* Comments are off on posts (R15): the recent-posts widget's comment line would only say so. */
.recent-blog-posts-li .post_comments { display: none; }

/* Related posts block under a post. */
.ntv-related-row { margin-top: 30px; }
.ntv-related__title { margin: 0 0 15px; font-size: 1.3em; }

/* ---- Varied list (option ntv_post_list_layout = v2; markup in inc/blog.php) ---- */

/* The list pages have no sidebar: widen layout.php's centred 10/12 column to the full row. */
.ntv-list-v2-page .row.align-center > .large-10.col {
	flex-basis: 100%;
	max-width: 100%;
}

/* Shared pieces: 16:9 image, category label, clamped title and excerpt, date. */
.ntv-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #fde8ec;
}
.ntv-thumb__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.ntv-post:hover .ntv-thumb__img { transform: scale(1.03); }
.ntv-thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
}
.ntv-thumb__logo {
	width: 40%;
	max-width: 160px;
	height: auto;
	opacity: 0.6;
	mix-blend-mode: multiply; /* the logo file has a white background */
}
.ntv-post__body { min-width: 0; }
.ntv-post__cat {
	margin: 0 0 4px;
	color: #f46c84;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.ntv-post__title {
	margin: 0 0 6px;
	font-size: 17px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.ntv-post__title a { color: #333; }
.ntv-post__title a:hover { color: #f46c84; }
.ntv-post__excerpt {
	margin: 0 0 6px;
	color: #666;
	font-size: 14px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.ntv-post__date {
	display: block;
	color: #999;
	font-size: 13px;
}

/* Hero: the lead post (2/3) beside three compact rows (1/3). */
.ntv-hero {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
}
.ntv-post--lead .ntv-thumb { margin-bottom: 14px; }
.ntv-post--lead .ntv-post__title {
	font-size: 26px;
	line-height: 1.3;
	-webkit-line-clamp: 3;
}
.ntv-post--lead .ntv-post__excerpt {
	font-size: 15px;
	-webkit-line-clamp: 2;
}
.ntv-hero__side {
	display: flex;
	flex-direction: column;
}
/* Desktop: the side column stretches to the lead's height and its four rows share it equally,
   each centred in its slot, so the dividers fall at even intervals. */
@media (min-width: 850px) {
	.ntv-hero__side .ntv-post--row {
		flex: 1 1 0;
		align-items: center;
		padding: 10px 0;
	}
	.ntv-hero__side .ntv-post--row:first-child { padding-top: 0; }
	.ntv-hero__side .ntv-post--row:last-child { padding-bottom: 0; }
}
.ntv-post--row {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
}
.ntv-post--row:first-child { padding-top: 0; }
.ntv-post--row:last-child { border-bottom: 0; }
.ntv-post--row .ntv-thumb {
	flex: 0 0 130px;
	border-radius: 6px;
}
.ntv-post--row .ntv-post__title {
	font-size: 15px;
	-webkit-line-clamp: 3;
}

/* Grid of equal cards. */
.ntv-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 24px;
	margin-bottom: 30px;
}
.ntv-post--card .ntv-thumb { margin-bottom: 12px; }

/* Tablets: the hero stacks, the grid has two columns. */
@media (max-width: 849px) {
	.ntv-hero { grid-template-columns: 1fr; gap: 16px; }
	.ntv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.ntv-post--lead .ntv-post__title { font-size: 22px; }
}

/* Phones: every card becomes a compact row, small image on the left, no excerpt. */
@media (max-width: 549px) {
	.ntv-hero { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
	.ntv-post--lead .ntv-post__title { font-size: 20px; }
	.ntv-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.ntv-post--card,
	.ntv-post--row {
		display: flex;
		gap: 12px;
		padding: 14px 0;
		border-top: 1px solid #eee;
		border-bottom: 0;
	}
	.ntv-post--row:first-child { padding-top: 14px; }
	.ntv-post--card .ntv-thumb,
	.ntv-post--row .ntv-thumb {
		flex: 0 0 120px;
		margin: 0;
		border-radius: 6px;
	}
	.ntv-post--card .ntv-post__title,
	.ntv-post--row .ntv-post__title {
		font-size: 15px;
		-webkit-line-clamp: 3;
	}
	.ntv-post--card .ntv-post__excerpt { display: none; }
}

/* Phones: related posts as one swipeable row. */
@media (max-width: 549px) {
	.ntv-related .row {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}
	.ntv-related .row > .col {
		flex: 0 0 80%;
		max-width: 80%;
		scroll-snap-align: start;
	}
}
