/* ---------- Hero ---------- */
.nrt-hero {
	position: relative;
	display: block;
	margin-bottom: 24px;
	border-radius: 6px;
	overflow: hidden;
	background: #111;
}
.nrt-hero-media img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	display: block;
	opacity: 0.85;
}
.nrt-hero-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px 30px 24px;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
}
.nrt-hero-title {
	margin: 10px 0 8px;
	font-size: 32px;
	line-height: 1.25;
}
.nrt-hero-title a {
	color: #fff;
	text-decoration: none;
}
.nrt-hero-excerpt {
	color: #eee;
	font-size: 15px;
	max-width: 700px;
	margin: 0 0 10px;
}
.nrt-hero-meta {
	color: #ccc;
	font-size: 13px;
	display: flex;
	gap: 16px;
}

@media (max-width: 768px) {
	.nrt-hero-media img { height: 280px; }
	.nrt-hero-title { font-size: 22px; }
}

/* ---------- Category sections ---------- */
.nrt-section {
	margin: 40px 0;
}
.nrt-section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}
.nrt-section-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #222;
	white-space: nowrap;
}
.nrt-section-square {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	border-radius: 2px;
}
.nrt-section-line {
	flex: 1;
	height: 1px;
	background: #ddd;
}
.nrt-section-viewall {
	font-size: 13px;
	color: #555;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}
.nrt-section-viewall:hover {
	text-decoration: underline;
}
.nrt-section-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

/* ---------- Cards (horizontal: image left, text right) ---------- */
.nrt-card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	text-decoration: none;
	color: inherit;
}
.nrt-card-media {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	border-radius: 4px;
	overflow: hidden;
}
.nrt-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.nrt-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 2px;
}
.nrt-card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}
.nrt-card-meta {
	font-size: 12px;
	color: #888;
}

/* ---------- Vertical card variant (image on top, title+date below) ---------- */
/* Applied to alternating sections via the .nrt-card-vertical class */
.nrt-card.nrt-card-vertical {
	flex-direction: column;
}
.nrt-card.nrt-card-vertical .nrt-card-media {
	width: 100%;
	height: 170px;
}
.nrt-card.nrt-card-vertical .nrt-card-body {
	padding-top: 10px;
}
