/**
 * _callouts.css — the kit's callouts: a tinted panel, a 1px border in the status color, a Lucide outline icon.
 * Owns: paragraphs styled .is-style-rl-callout-info | -success | -warning | -error.
 * Doesn't own: their ARIA role (inc/blocks.php adds role="note", or "alert" for Error, when they render).
 * Depends on: global/_tokens.css. Each status sets --rl-callout, --rl-callout-bg and --rl-callout-icon (Lucide paths as
 * SVG masks colored by --rl-callout). Start a callout with a bold phrase: its title.
 */
:is(.entry-content, .editor-styles-wrapper, [class^="astra-advanced-hook-"]) [class*="is-style-rl-callout-"] {
	--rl-callout: var(--rl-color-info);
	--rl-callout-bg: var(--rl-color-info-bg);
	--rl-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
	position: relative;
	padding: 20px 24px 20px 60px;
	border: 1px solid var(--rl-callout);
	border-radius: 0;
	background: var(--rl-callout-bg);
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-color-body);
}

:is(.entry-content, .editor-styles-wrapper, [class^="astra-advanced-hook-"]) [class*="is-style-rl-callout-"]::before {
	content: "";
	position: absolute;
	top: 21px;
	left: 24px;
	width: 22px;
	height: 22px;
	background: var(--rl-callout);
	-webkit-mask: var(--rl-callout-icon) center / contain no-repeat;
	mask: var(--rl-callout-icon) center / contain no-repeat;
}

/* The title: the callout's first bold phrase, on its own line, 18px in the status color. */
:is(.entry-content, .editor-styles-wrapper, [class^="astra-advanced-hook-"]) [class*="is-style-rl-callout-"] > strong:first-child {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
	color: var(--rl-callout);
}

:is(.entry-content, .editor-styles-wrapper, [class^="astra-advanced-hook-"]) .is-style-rl-callout-success {
	--rl-callout: var(--rl-color-success);
	--rl-callout-bg: var(--rl-color-success-bg);
	--rl-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

:is(.entry-content, .editor-styles-wrapper, [class^="astra-advanced-hook-"]) .is-style-rl-callout-warning {
	--rl-callout: var(--rl-color-warning);
	--rl-callout-bg: var(--rl-color-warning-bg);
	--rl-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}

:is(.entry-content, .editor-styles-wrapper, [class^="astra-advanced-hook-"]) .is-style-rl-callout-error {
	--rl-callout: var(--rl-color-error);
	--rl-callout-bg: var(--rl-color-error-bg);
	--rl-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E");
}
