/* NICHO Trabalho · KIT B · Pôster */

.nx-pt-media {
	position: relative;
	display: block;
	flex-shrink: 0;
	overflow: hidden;
}

.nx-pt-h2 {
	font-family: var(--nx-display);
	font-size: 72px;
	font-weight: 800;
	line-height: 0.96;
	text-transform: uppercase;
	text-wrap: balance;
}

.nx-pt-section {
	padding: 64px 0 48px;
}

.nx-pt-section .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Capa: matéria principal em pôster na cor do site --------------------------- */
.nx-pt-hero {
	padding: 56px 0 64px;
	background: var(--nx-accent);
	color: var(--nx-on-accent);
}

.nx-pt-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 48px;
	row-gap: 32px;
	align-items: center;
}

.nx-pt-hero__body {
	grid-column: span 7;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.nx-pt-hero__tag {
	padding: 3px 8px;
	background: var(--nx-ink);
	color: #fff;
	font-family: var(--nx-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nx-pt-hero__title {
	font-family: var(--nx-display);
	font-size: 58px;
	font-weight: 800;
	line-height: 0.92;
	text-transform: uppercase;
	text-wrap: balance;
	/* título traduzido (alemão etc.) pode ter palavra longa: quebra com hífen em vez de passar por baixo da foto */
	overflow-wrap: anywhere;
	hyphens: auto;
}

.nx-pt-hero__title a {
	color: inherit !important;
	text-decoration: none;
}

.nx-pt-hero__text {
	max-width: 620px;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.45;
}

.nx-pt-hero__media {
	grid-column: span 5;
	height: 480px;
	border: 0;
	box-shadow: var(--float);
}

/* Mais lidas agora: faixa preta com números grandes --------------------------- */
.nx-pt-top {
	padding: 32px 0;
	background: var(--nx-ink);
	color: #fff;
}

.nx-pt-top__grid {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

.nx-pt-top__title {
	font-family: var(--nx-display);
	font-size: 34px;
	font-weight: 800;
	line-height: 0.95;
	text-transform: uppercase;
}

.nx-pt-top__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-pt-top__list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.nx-pt-top__num {
	font-family: var(--nx-display);
	font-size: 56px;
	font-weight: 800;
	line-height: 0.85;
	color: color-mix(in oklab, var(--nx-accent) 70%, #fff);
}

.nx-pt-top__list a {
	min-width: 0; /* palavra longa (tradução) quebra aqui em vez de invadir o item do lado */
	overflow-wrap: anywhere;
	hyphens: auto;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	text-decoration: none;
}

.nx-pt-top__list a:hover {
	text-decoration: underline;
}

/* Destaques ------------------------------------------------------------------- */
.nx-pt-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

.nx-pt-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nx-pt-card__media {
	height: 230px;
}

.nx-pt-card__title,
.nx-pt-row__title {
	font-family: var(--nx-display);
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	text-wrap: balance;
}

.nx-pt-card__title a,
.nx-pt-row__title a {
	color: var(--nx-ink);
	text-decoration: none;
}

.nx-pt-card__title a:hover,
.nx-pt-row__title a:hover {
	color: var(--nx-accent-ink);
}

/* Por assunto ------------------------------------------------------------------ */
.nx-pt-section--tint {
	padding: 64px 0;
	background: var(--nx-tint-12);
}

.nx-pt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nx-pt-chips a {
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 18px;
	border: 0;
	box-shadow: var(--float-sm);
	color: var(--nx-ink);
	font-family: var(--nx-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.nx-pt-chips a.is-first,
.nx-pt-chips a:hover {
	background: var(--nx-ink);
	color: #fff;
}

.nx-pt-rows {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 40px;
}

.nx-pt-row {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.nx-pt-row__media {
	height: 104px;
}

.nx-pt-row__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nx-pt-row .nx-kicker {
	font-size: 15px;
}

.nx-pt-row__title {
	font-size: 22px;
}

/* Ferramentas: três blocos (cor do site, preto e contorno) ------------------------ */
.nx-pt-section--tools {
	padding: 64px 0 80px;
}

.nx-pt-tools {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.nx-pt-tool {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 280px;
	padding: 32px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nx-pt-tool:hover {
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 var(--nx-ink);
}

.nx-pt-tool--0 {
	background: var(--nx-accent);
	color: var(--nx-on-accent) !important;
}

.nx-pt-tool--1 {
	background: var(--nx-ink);
	color: #fff !important;
}

.nx-pt-tool--1:hover {
	box-shadow: 6px 6px 0 var(--nx-accent);
}

.nx-pt-tool--2 {
	border: 0;
	box-shadow: var(--float);
	background: #fff;
	color: var(--nx-ink) !important;
}

.nx-pt-tool__title {
	font-family: var(--nx-display);
	font-size: 42px;
	font-weight: 800;
	line-height: 0.92;
	text-transform: uppercase;
}

.nx-pt-tool__text {
	font-size: 16px;
	line-height: 1.5;
}

.nx-pt-tool__cta {
	margin-top: auto;
	font-family: var(--nx-display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Responsivo ------------------------------------------------------------------------ */
@media (max-width: 1180px) {
	.nx-pt-hero__title {
		font-size: 48px;
	}

	.nx-pt-hero__media {
		height: 400px;
	}

	.nx-pt-top__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.nx-pt-top__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nx-pt-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nx-pt-rows {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nx-pt-h2 {
		font-size: 60px;
	}
}

@media (max-width: 860px) {
	/* 12 colunas com espaço largo não cabem no celular: vira 1 coluna */
	.nx-pt-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-pt-hero {
		padding: 32px 0 40px;
	}

	.nx-pt-hero__body,
	.nx-pt-hero__media {
		grid-column: 1 / -1;
	}

	.nx-pt-hero__body {
		gap: 16px;
	}

	.nx-pt-hero__title {
		font-size: 40px;
		line-height: 0.92;
	}

	.nx-pt-hero__text {
		font-size: 18px;
	}

	.nx-pt-hero__media {
		height: 240px;
	}

	.nx-pt-top__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.nx-pt-top__num {
		width: 36px;
		font-size: 44px;
	}

	.nx-pt-section {
		padding: 44px 0 32px;
	}

	.nx-pt-section .nx-wrap {
		gap: 20px;
	}

	.nx-pt-h2 {
		font-size: 44px;
	}

	.nx-pt-cards {
		gap: 24px 16px;
	}

	.nx-pt-card__media {
		height: 140px;
	}

	.nx-pt-card__title {
		font-size: 22px;
	}

	.nx-pt-section--tint {
		padding: 44px 0;
	}

	.nx-pt-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.nx-pt-chips::-webkit-scrollbar {
		display: none;
	}

	.nx-pt-rows {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.nx-pt-row {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 14px;
	}

	.nx-pt-row__media {
		height: 84px;
	}

	.nx-pt-row__title {
		font-size: 20px;
	}

	.nx-pt-tools {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.nx-pt-tool {
		min-height: 0;
		padding: 24px;
	}

	.nx-pt-tool__title {
		font-size: 34px;
	}
}

@media (max-width: 560px) {
	.nx-pt-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-pt-card__media {
		height: 200px;
	}
}
