/*
 * Pojedynczy artykuł — mockup NewsArticle.html (.article).
 * Warstwa templates (deklaracja w build/theme.css).
 */

@layer templates {

.article {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 var(--sec-px, 80px);
	box-sizing: border-box;
}

.article .back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-sans);
	font-size: 16px;
	color: var(--ink, #050505);
	text-decoration: none;
	transition: color 0.2s ease;
}

.article .back-link:hover {
	color: var(--accent, #ff5b22);
}

.article .back-link svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.article .art-title {
	font-family: var(--font-display, 'Poppins', Helvetica, Arial, sans-serif);
	font-weight: 400;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.1;
	letter-spacing: -0.5px;
	color: var(--ink, #050505);
	margin: 0;
	margin-top: 14px;
	max-width: 900px;
}

.article .art-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans);
	font-size: 14px;
	letter-spacing: 0.02em;
	color: rgb(5 5 5 / 0.55);
	margin-top: 18px;
}

.article .art-meta-brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.article .art-meta-brand-icon {
	display: block;
	width: 15px;
	height: 15px;
	flex: none;
	object-fit: contain;
	filter: brightness(0) opacity(0.45);
}

.article .art-meta-brand-label {
	line-height: 1.2;
}

.article .art-meta-sep {
	color: inherit;
}

.article .art-meta-date {
	line-height: 1.2;
}

.article .art-hero {
	margin-top: 36px;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 7;
	background: #1a1714;
}

.article .art-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.article .art-body {
	max-width: 780px;
	margin: 56px auto 0;
}

.article .art-body > :first-child {
	margin-top: 0;
}

.article .art-body p {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	color: rgb(5 5 5 / 0.82);
	margin: 0 0 22px;
}

.article .art-body h2,
.article .art-body h3 {
	font-family: var(--font-sans);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.3;
	color: var(--ink, #050505);
	margin: 46px 0 16px;
	scroll-margin-top: 110px;
}

.article .art-body h2:first-child,
.article .art-body h3:first-child {
	margin-top: 0;
}

.article .art-body a {
	color: var(--accent, #ff5b22);
	text-decoration: none;
}

.article .art-body a:hover {
	text-decoration: underline;
}

.article .art-body blockquote,
.article .art-body .wp-block-quote {
	margin: 36px 0;
	padding: 6px 0 6px 28px;
	border: none;
	border-left: 3px solid var(--accent, #ff5b22);
	font-family: var(--font-display, 'Poppins', Helvetica, Arial, sans-serif);
	font-size: 24px;
	line-height: 1.45;
	color: var(--ink, #050505);
	font-style: normal;
}

.article .art-body blockquote p,
.article .art-body .wp-block-quote p {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
}

.article .art-body blockquote cite,
.article .art-body .wp-block-quote cite {
	display: block;
	margin-top: 12px;
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.5;
	color: rgb(5 5 5 / 0.55);
	font-style: normal;
}

.article .art-body .wp-block-image,
.article .art-body figure.wp-block-image {
	margin: 32px 0;
	border-radius: 16px;
	overflow: hidden;
	background: #1a1714;
}

.article .art-body .wp-block-image img,
.article .art-body figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.article .art-body .wp-block-image figcaption,
.article .art-body figure.wp-block-image figcaption {
	margin: 0;
	padding: 12px 16px;
	font-family: var(--font-sans);
	font-size: 13px;
	line-height: 1.45;
	color: rgb(5 5 5 / 0.55);
	background: rgb(5 5 5 / 0.03);
}

@media (max-width: 1040px) {
	.article {
		margin-top: var(--sec-gap, 80px);
		padding: 0 var(--sec-px, 24px);
	}

	.article .art-hero {
		aspect-ratio: 16 / 10;
	}

	.article .art-body blockquote,
	.article .art-body .wp-block-quote {
		font-size: 20px;
		padding-left: 20px;
	}
}

}
