/* Trojanka Nowości: sekcja pod nagłówkiem strony głównej. Kolory i czcionki jak na stronie. */
.tn-nowosci {
	--tn-red: #cc1c38;
	--tn-plum: #4f2433;
	--tn-ink: #111518;
	--tn-muted: #5d5458;
	--tn-line: #f0e4df;
	--tn-cream: #fff9f6;
	max-width: 1290px;
	margin: 0 auto;
	padding: 72px 0 24px;
	box-sizing: border-box;
}
.tn-nowosci *, .tn-nowosci *::before, .tn-nowosci *::after { box-sizing: border-box; }

.tn-head { text-align: center; margin: 0 auto 36px; max-width: 680px; }
.tn-eyebrow { margin: 0 0 8px; color: var(--tn-red); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.tn-title { margin: 0; font-family: Poppins, sans-serif; font-weight: 700; font-size: clamp(28px, 4vw, 35px); line-height: 1.2; color: var(--tn-ink); }
.tn-sub { margin: 12px 0 0; color: var(--tn-muted); font-size: 16px; line-height: 1.6; }

.tn-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tn-cols-2 .tn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.tn-cols-3 .tn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; }

.tn-card { background: #fff; border: 1px solid var(--tn-line); border-radius: 14px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.tn-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(79, 36, 51, .12); }
.tn-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.tn-link:hover, .tn-link:focus { color: inherit; text-decoration: none; }
.tn-link:focus-visible { outline: 3px solid var(--tn-red); outline-offset: 2px; border-radius: 14px; }

.tn-img { position: relative; aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px; }
.tn-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tn-badge { position: absolute; top: 14px; left: 14px; background: var(--tn-red); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 10px; border-radius: 3px; line-height: 1.2; }

.tn-body { padding: 4px 20px 22px; text-align: center; border-top: 1px solid var(--tn-line); }
.tn-name { margin: 16px 0 6px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--tn-plum); }
.tn-desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--tn-muted); }

@media (max-width: 1024px) {
	.tn-cols-3 .tn-grid, .tn-cols-4 .tn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tn-nowosci { padding-top: 48px; }
	.tn-nowosci .tn-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.tn-card { transition: none; }
	.tn-card:hover { transform: none; }
}
