/* core/group, style "checklist": a Group of Heading 3 + paragraph pairs, each with a check mark, lines between them
   (the open look of Figma's "Specification Accordian"). Used in a photo + text section (image-accordion.css).
   Figma: Event Structures Careers › Benefits 7026:30682 */

.wp-block-group.is-style-checklist {
	padding-block-end: 0.8125rem;
	box-shadow: inset 0 -1px var(--wp--preset--color--border);
}

.wp-block-group.is-style-checklist > * {
	margin: 0;
	padding-inline-start: 2.6875rem; /* 30px icon + 13px */
}

.wp-block-group.is-style-checklist > h3.wp-block-heading {
	position: relative;
	padding-block-start: 0.8125rem;
	box-shadow: inset 0 1px var(--wp--preset--color--border);
	line-height: 1.3;
}

.wp-block-group.is-style-checklist > :not(h3) + h3 {
	margin-block-start: 0.8125rem;
}

.wp-block-group.is-style-checklist > h3::before {
	content: "";
	position: absolute;
	top: 0.8125rem;
	left: 0;
	inline-size: 1.875rem;
	block-size: 1.875rem;
	background: url("../../icons/check.svg") center / contain no-repeat;
}

.wp-block-group.is-style-checklist > h3 + * {
	margin-block-start: 0.3125rem;
}

.wp-block-group.is-style-checklist > p {
	line-height: 1.5;
}
