/**
 * Archive Feed (blog + case studies).
 *
 * Brand colours: ink #1E1F1E · slate #454645 · brand #119100 ·
 *                sky #35AFC9 · cloud #F3EFE3
 */

.nops-feed {
	position: relative;
	width: 100%;
	background: #454645; /* slate */
	color: #f3efe3; /* cloud */
	padding-bottom: 118px;
}

.nops-feed-inner {
	padding-top: 310px; /* main heading 310px from top */
}

/* ---- Head (centred) ---- */
.nops-feed-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.nops-feed-heading {
	margin: 0;
	font-weight: 400;
	line-height: 1.1;
	color: #f3efe3;
	font-size: clamp(2.5rem, 3.75vw, 72px); /* 72px */
}

.nops-feed-text {
	margin-top: 10px; /* 10px below heading */
	font-size: clamp(1rem, 1.04vw, 20px); /* 20px */
	line-height: 28px;
	color: #f3efe3;
}

.nops-feed-text p { margin: 0; }

/* ---- Featured box ---- */
.nops-feed-featured {
	margin-top: 62px; /* 62px below text block */
	gap: 32px;
	padding: 18px 45px 18px 18px;
	text-decoration: none;
	color: #f3efe3;
	/* translucent blurred panel (XD: ~50% blur, 10% opacity) */
	background: rgba(243, 239, 227, 0.1);
	backdrop-filter: blur(50px);
}

.nops-feed-featured-image {
	flex: 0 0 58%; /* ~60% of the featured box */
	min-width: 0;
	align-self: stretch;
	aspect-ratio: 1113 / 537; /* ≈ artwork proportions */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #3a3b3a;
}

@media (max-width: 1024px) {
	.nops-feed-featured-image {
		flex: none;
		width: 100%;
	}
}

.nops-feed-featured-body {
	min-width: 0;
	padding-top: 45px; /* tagline 45px from top of div */
	padding-bottom: 18px;
}

.nops-feed-featured-tagline {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f3efe3;
}

.nops-feed-featured-headline {
	margin: 32px 0 0; /* 32px below tagline */
	font-weight: 400;
	line-height: 1.1;
	color: #f3efe3;
	font-size: clamp(2rem, 2.8vw, 54px); /* 54px */
}

.nops-feed-featured-text {
	margin-top: 42px; /* 42px below headline */
	font-size: clamp(1rem, 1.04vw, 20px); /* 20px */
	line-height: 28px;
	color: #f3efe3;
}

.nops-feed-featured-text p { margin: 0; }
.nops-feed-featured-text p + p { margin-top: 30px; } /* 30px between paragraphs */

/* ---- Next section title ---- */
.nops-feed-section-title {
	margin: 106px 0 0; /* 106px below the featured box */
	text-align: center;
	font-weight: 400;
	line-height: 1.1;
	color: #f3efe3;
	font-size: clamp(2rem, 2.6vw, 50px); /* 50px */
}

/* ---- Filters ---- */
.nops-feed-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 54px; /* 54px between */
	margin-top: 44px; /* 44px below the section title */
}

.nops-feed-filter {
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	font-size: 14px; /* 14px */
	letter-spacing: 0.04em;
	color: #f3efe3;
}

.nops-feed-filter.is-active {
	padding: 9px 22px; /* 9 top/bottom, 22 left/right */
	border: 1px solid #35afc9; /* blue box */
}

/* ---- Grid ---- */
.nops-feed-grid {
	gap: 40px;
	margin-top: 26px; /* 26px below the filters */
}

.nops-feed-card {
	display: block;
	padding: 18px 18px 32px; /* 18 top, 18 l/r, 32 bottom */
	text-decoration: none;
	color: #f3efe3;
	background: rgba(243, 239, 227, 0.04);
}

.nops-feed-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 896 / 476; /* ≈ artwork proportions */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #3a3b3a;
}

.nops-feed-card-tagline {
	display: block;
	margin-top: 32px; /* 32px below image */
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f3efe3;
}

.nops-feed-card-headline {
	margin: 32px 0 0; /* 32px below tagline */
	font-weight: 400;
	line-height: 1.2;
	color: #f3efe3;
	font-size: clamp(1.5rem, 1.56vw, 30px); /* 30px */
}

.nops-feed-card-excerpt {
	margin-top: 12px; /* 12px below headline */
	font-size: 18px; /* 18px */
	line-height: 26px;
	color: #f3efe3;
}

/* ---- Load more ---- */
.nops-feed-more-wrap {
	margin-top: 118px; /* 118px below the cols */
	display: flex;
	justify-content: center;
}

.nops-feed-more {
	display: inline-flex;
	align-items: center;
	padding: 14px 59px;
	font-size: 18px;
	letter-spacing: 0.04em;
	color: #ffffff;
	background: none;
	border: 1px solid #35afc9; /* sky */
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nops-feed-more:hover {
	background: #35afc9;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.nops-feed-inner {
		padding-top: 180px;
	}

	.nops-feed-head {
		max-width: 100%;
	}

	.nops-feed-featured-image {
		min-height: 280px;
	}

	.nops-feed-featured-body {
		padding-top: 24px;
	}

	.nops-feed-section-title {
		margin-top: 64px;
	}

	.nops-feed-more-wrap {
		margin-top: 64px;
	}
}

@media (max-width: 640px) {
	.nops-feed-filters {
		gap: 24px;
	}
}
