/* Shared front-end/editor foundation for native editable sections. */
:where(#main, [id]) {
	scroll-margin-top: calc(var(--nav-h, 68px) + 1rem);
}
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}
.cetrad-editable-page :where(.wp-block-group, .wp-block-column) {
	min-width: 0;
}
.cetrad-editable-page :where(h1, h2, h3, h4, p, a) {
	overflow-wrap: anywhere;
}
.cetrad-editable-page :where(img, video, iframe) {
	max-width: 100%;
}
.cetrad-editable-page .wp-block-image img {
	height: auto;
}
.cetrad-editable-page .wp-block-table {
	overflow-x: auto;
}
.cetrad-editable-page .wp-block-group > :where(p, h2, h3, h4):first-child {
	margin-block-start: 0;
}
.cetrad-share-status {
	font-size: 0.875rem;
	overflow-wrap: anywhere;
}
.cetrad-share-status input {
	max-width: 100%;
}
@media (max-width: 767px) {
	.cetrad-editable-page :where(.svc-grid, .services-nav-grid, .g3, .g2, .about-partner-grid, .academic-grid, .research-thrust-grid) {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
