/*
 * Native page pilot: mechanics only. Theme.json controls all visual choices.
 * This file is loaded for eligible pages on both the frontend and block editor.
 */
.gw-native-content .is-style-gw-checks {
	list-style: none;
}

.gw-native-content .is-style-gw-checks li::before {
	color: currentColor;
	content: "✓ ";
}

.gw-native-content .is-style-gw-checks li:has(> em:first-child)::before,
.gw-native-content .is-style-gw-checks li:has(> mark:first-child)::before,
.gw-native-content .is-style-gw-checks li:has(> s:first-child)::before {
	content: "– ";
}

.gw-native-content .is-style-gw-faq > summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none;
}

.gw-native-content .is-style-gw-faq > summary::-webkit-details-marker {
	display: none;
}

.gw-native-content .is-style-gw-faq > summary::after {
	color: currentColor;
	content: "+";
}

.gw-native-content .is-style-gw-faq[open] > summary::after {
	content: "−";
}

.gw-native-content :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption):not(.has-text-color) {
	color: inherit;
}

/* The legacy palette slug "border" collides with Core's border-support class.
 * A border must not change the text color. Explicit text choices still win. */
.gw-native-content .has-border-color:not(.has-text-color) {
	color: inherit !important;
}

.wp-block-post-content > .gw-native-content.alignfull {
	margin-inline: calc(-1 * var(--wp--style--root--padding-left));
	max-width: none;
	width: calc(100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
}
