/**
 * Single review / comparison / buying-guide article layout.
 */

.bcm-article-hero {
	padding-block: var(--bcm-space-6);
}

.bcm-article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bcm-space-4);
	align-items: center;
	font-size: var(--bcm-fs-sm);
	color: var(--bcm-text-muted);
	margin-block: var(--bcm-space-4);
}

.bcm-article-hero__image {
	border-radius: var(--bcm-radius-lg);
	overflow: hidden;
	margin-top: var(--bcm-space-5);
	box-shadow: var(--bcm-shadow-md);
}

.bcm-article-body {
	max-width: var(--bcm-container-narrow);
	font-size: var(--bcm-fs-md);
}

.bcm-article-body h2 {
	margin-top: var(--bcm-space-7);
	scroll-margin-top: calc(var(--bcm-header-height) + var(--bcm-space-4));
}

.bcm-article-body h3 {
	scroll-margin-top: calc(var(--bcm-header-height) + var(--bcm-space-4));
}

/* Overall score summary card, top of review */
.bcm-score-summary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--bcm-space-6);
	align-items: center;
	background: var(--bcm-color-surface);
	border: 1px solid var(--bcm-border-color);
	border-radius: var(--bcm-radius-lg);
	padding: var(--bcm-space-6);
	box-shadow: var(--bcm-shadow-sm);
}

@media (max-width: 640px) {
	.bcm-score-summary {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}
}

.bcm-score-summary__label {
	font-size: var(--bcm-fs-sm);
	color: var(--bcm-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Who should / shouldn't buy */
.bcm-buyer-fit {
	display: grid;
	gap: var(--bcm-space-4);
	grid-template-columns: 1fr;
	margin-block: var(--bcm-space-6);
}

@media (min-width: 700px) {
	.bcm-buyer-fit {
		grid-template-columns: 1fr 1fr;
	}
}

.bcm-buyer-fit__col {
	border: 1px solid var(--bcm-border-color);
	border-radius: var(--bcm-radius-md);
	padding: var(--bcm-space-5);
}

/* Gallery */
.bcm-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: var(--bcm-space-3);
}

.bcm-gallery__item {
	border-radius: var(--bcm-radius-sm);
	overflow: hidden;
	aspect-ratio: 1;
	cursor: zoom-in;
}

.bcm-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

/* Related products grid */
.bcm-related {
	margin-block: var(--bcm-space-7);
}

/* Price history sparkline placeholder */
.bcm-price-history {
	display: flex;
	align-items: center;
	gap: var(--bcm-space-3);
	font-size: var(--bcm-fs-sm);
	color: var(--bcm-text-muted);
}

/* Print styling entry point loaded via print.css; article-only tweaks: */
@media print {
	.bcm-article-body img {
		break-inside: avoid;
	}
}
