/* Keep the document trail and heading aligned with the existing content shell. */
body.starlab-ui .starlab-breadcrumbs.starlab-shell {
	width: min(1300px, calc(100% - 48px));
	margin: 24px auto 0;
	padding: 0;
}
body.starlab-ui .starlab-breadcrumbs + .starlab-main { padding-top: 28px; }
body.starlab-ui .starlab-breadcrumbs + .starlab-document-heading { padding-top: 28px; }
/* R1's original end-aligned tall image pushed its introduction below the fold. */
body.starlab-ui #main .ur1-hero { padding-top: 32px; }
body.starlab-ui #main .ur1-hero-grid { align-items: center; }
body.starlab-ui #main .ur1-hero-copy { padding-bottom: 36px; }
body.starlab-ui #main .ur1-hero-visual .ur1-photo img { max-height: 560px; object-fit: contain; }
/* Reserve the capped grid-column width before lazy-loaded R1 images arrive. */
body.starlab-ui #main :is(.ur1-motion-visual, .ur1-apps-visual, .ur1-dev-visual, .ur1-batt-visual, .ur1-lab-visual) {
	width: 100%;
}
/* Keep category, author and date readable in the bilingual news cards. */
body.starlab-ui:is(.page-id-9467, .page-id-13362) .starlab-query-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}
body.starlab-ui:is(.page-id-9467, .page-id-13362) .starlab-query-card__meta a {
	color: #645a70;
}
@media (max-width: 600px) {
	/* Keep the PA-400 comparison readable inside its own scrolling region. */
	body.starlab-ui.postid-16681 .elementor-element-5794dce .elementor-heading-title {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	/* Long Russian headings must fit the existing narrow content column. */
	body.starlab-ui.postid-18181 .elementor-element-71c13bd .elementor-heading-title {
		overflow-wrap: anywhere;
		hyphens: auto;
	}
	body.starlab-ui .starlab-breadcrumbs.starlab-shell { width: calc(100% - 32px); margin-top: 18px; }
	body.starlab-ui #main .ur1-hero { padding-top: 16px; }
	body.starlab-ui #main .ur1-hero-copy { padding-bottom: 24px; }
}
