/*
 * News category archive (Figma: desktop 1440, mobile 390).
 * Header, footer and proposal form come from editorial-home.css (body.zp-editorial-home).
 */

.zp-news {
	--news-brown: #4a3a31;
	--news-body: #6f5b4a;
	--news-sand: #f3ece4;
	--news-paper: #fcf8f3;
	--news-taupe: #ad9278;
	--news-line: rgba(173, 146, 120, 0.45);
	--news-serif: 'Wittgenstein', Georgia, serif;
	--news-sans: 'Rethink Sans', system-ui, sans-serif;
	--news-pad: clamp(24px, 5.556vw, 80px);
}

.zp-news p,
.zp-news h1,
.zp-news h2,
.zp-news h3 {
	margin: 0;
}

.zp-news a {
	color: inherit;
	text-decoration: none;
}

.zp-news a:hover {
	text-decoration: underline;
}

/* Editorial container: the .ed-inner frame (1440px) used by the header and footer; section backgrounds stay full width. */

.zp-news .news-container {
	padding-inline: var(--news-pad);
}

/* Intro */

.zp-news .news-intro {
	padding-block: var(--news-pad);
	background: var(--news-sand);
	text-align: center;
}

.zp-news .news-intro__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.zp-news .news-intro__eyebrow {
	font-family: var(--news-sans);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.55;
	color: var(--news-body);
}

.zp-news .news-intro__title {
	font-family: var(--news-serif);
	font-weight: 800;
	font-size: clamp(36px, 3.889vw, 56px);
	line-height: 1.25;
	color: var(--news-brown);
}

.zp-news .news-intro__lead {
	font-family: var(--news-sans);
	font-size: clamp(16px, 1.389vw, 20px);
	line-height: 1.55;
	color: var(--news-body);
	max-width: 800px;
}

/* Rubric chips */

.zp-news .news-chips {
	background: var(--news-paper);
	padding: 40px var(--news-pad) 0;
}

.zp-news .news-chips__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zp-news .news-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 12px 20px;
	border: 1px solid var(--news-line);
	border-radius: 2px;
	font-family: var(--news-sans);
	font-size: 14px;
	line-height: 20px;
	color: var(--news-brown);
	white-space: nowrap;
}

.zp-news .news-chip--active {
	background: var(--news-brown);
	border-color: var(--news-brown);
	color: #fff;
	font-weight: 700;
}

/* Din activitate */

.zp-news .news-activity {
	padding-block: var(--news-pad);
	background: var(--news-paper);
}

.zp-news .news-activity__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.zp-news .news-activity__title {
	font-family: var(--news-serif);
	font-weight: 800;
	font-size: clamp(30px, 2.778vw, 40px);
	line-height: 1.25;
	color: var(--news-brown);
	text-align: center;
}

.zp-news .news-activity .news-chips {
	padding: 0;
	background: none;
}

.zp-news .news-activity__list {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
}

.zp-news .news-row {
	display: flex;
	align-items: center;
	gap: 48px;
}

.zp-news .news-row--reverse {
	flex-direction: row-reverse;
}

.zp-news .news-row__media {
	flex: 0 0 640px;
	height: 420px;
	overflow: hidden;
	display: block;
}

.zp-news .news-row__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zp-news .news-row__body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.zp-news .news-row__eyebrow {
	font-family: var(--news-sans);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.55;
	color: var(--news-body);
}

.zp-news .news-row__title {
	font-family: var(--news-serif);
	font-weight: 800;
	font-size: clamp(30px, 2.778vw, 40px);
	line-height: 1.25;
	color: var(--news-brown);
	max-width: 592px;
}

.zp-news .news-row__excerpt {
	font-family: var(--news-sans);
	font-size: 18px;
	line-height: 1.55;
	color: var(--news-body);
	max-width: 550px;
}

.zp-news .news-row__link,
.zp-news .news-card__link,
.zp-news .news-list__all {
	font-family: var(--news-sans);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.55;
	color: var(--news-brown);
}

/* List */

.zp-news .news-list {
	background: var(--news-sand);
	padding-block: var(--news-pad);
}

.zp-news .news-list__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.zp-news .news-list__title {
	font-family: var(--news-serif);
	font-weight: 800;
	font-size: clamp(30px, 2.778vw, 40px);
	line-height: 1.25;
	color: var(--news-brown);
}

.zp-news .news-list__lead {
	font-family: var(--news-sans);
	font-size: 18px;
	line-height: 1.55;
	color: var(--news-body);
}

.zp-news .news-list__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.zp-news .news-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.zp-news .news-card__media {
	display: block;
	height: 280px;
	overflow: hidden;
}

.zp-news .news-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zp-news .news-card__eyebrow {
	font-family: var(--news-sans);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.55;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--news-body);
}

.zp-news .news-card__title {
	font-family: var(--news-serif);
	font-weight: 800;
	font-size: 26px;
	line-height: 1.25;
	color: var(--news-brown);
}

.zp-news .news-card__excerpt {
	font-family: var(--news-sans);
	font-size: 16px;
	line-height: 1.55;
	color: var(--news-body);
}

.zp-news .news-list__all {
	align-self: flex-start;
}

/* Tablet and mobile */

@media (max-width: 1023px) {
	.zp-news .news-row,
	.zp-news .news-row--reverse {
		flex-direction: column;
	}

	.zp-news .news-row__media {
		flex: 0 0 auto;
		width: 100%;
		height: 360px;
	}

	.zp-news .news-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.zp-news .news-intro,
	.zp-news .news-activity,
	.zp-news .news-list {
		padding-block: 40px;
	}

	.zp-news .news-intro__inner {
		gap: 12px;
	}

	.zp-news .news-intro__title {
		font-size: 36px;
		line-height: 45px;
	}

	.zp-news .news-intro__lead {
		font-size: 17px;
		line-height: 26px;
	}

	.zp-news .news-chips {
		padding: 32px 24px 0;
	}

	.zp-news .news-chips__list {
		gap: 8px;
	}

	.zp-news .news-chip {
		height: 44px;
		padding: 10px 12px;
		font-size: 13px;
	}

	.zp-news .news-row {
		gap: 22px;
	}

	.zp-news .news-row__media {
		height: 209px;
	}

	.zp-news .news-row__title {
		font-size: 30px;
		line-height: 37px;
	}

	.zp-news .news-row__excerpt {
		font-size: 16px;
		line-height: 24px;
	}

	.zp-news .news-activity__title,
	.zp-news .news-list__title {
		font-size: 30px;
		line-height: 37px;
	}

	.zp-news .news-list__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.zp-news .news-card__media {
		height: 209px;
	}

	.zp-news .news-card__title {
		font-size: 22px;
		line-height: 28px;
	}

	.zp-news .news-card__excerpt {
		font-size: 16px;
		line-height: 24px;
	}
}

.zp-news .news-list__empty,
.zp-news .news-activity__empty {
	margin: 0;
	font-family: var(--news-sans, "Rethink Sans", system-ui, sans-serif);
	font-size: 18px;
	line-height: 28px;
	color: #6f5b4a;
}
