/* AutoPower Nyheter — article-specific overrides */

/* Hero image for news articles — clean, no text overlay */
.nyheter-hero {
	margin-bottom: 1.5rem;
}
.nyheter-hero img {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	border-radius: 8px;
	border: solid 1px #ccc;
}

/* Article body images — contextual, placed inline with text */
.nyheter-bild {
	margin: 1.5rem 0;
}
.nyheter-bild img {
	width: 100%;
	border-radius: 6px;
	border: solid 1px #ccc;
}
.nyheter-bild figcaption {
	font-size: 0.8rem;
	color: #6c757d;
	margin-top: 0.4rem;
}

/* Two images side by side on desktop */
.nyheter-bildpar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 1.5rem 0;
}
.nyheter-bildpar img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 6px;
	border: solid 1px #ccc;
}
@media (max-width: 576px) {
	.nyheter-bildpar {
		grid-template-columns: 1fr;
	}
}
