/*
 * Innovation Desk posts only (body.innodesk-post is added just for them).
 *
 * Posts arrive with each heading, paragraph and list in its own container that
 * already carries its spacing inline. This finishes the job on themes that
 * restyle bare tags: some add their own padding under every paragraph (which
 * doubled the gaps), and some remove list bullets and indentation entirely
 * (which made lists look like paragraphs). Fonts and colours are left to the
 * theme on purpose.
 */

/* The container sets the spacing; the element inside it shouldn't add more. */
.innodesk-post .innodesk-block > :last-child,
.innodesk-post .innodesk-block > .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}
.innodesk-post .innodesk-block > :first-child,
.innodesk-post .innodesk-block > .wp-block-group__inner-container > :first-child {
	margin-top: 0;
	padding-top: 0;
}

/* The first container shouldn't push the article down from its title. */
.innodesk-post .entry-content > .innodesk-block:first-child {
	margin-top: 0 !important;
}

/* Visible bullets and numbers, indented, whatever the theme resets. */
.innodesk-post ul.innodesk-list,
.innodesk-post ol.innodesk-list {
	margin: 0;
	padding: 0 0 0 1.4em;
}
.innodesk-post ul.innodesk-list {
	list-style: disc outside;
}
.innodesk-post ol.innodesk-list {
	list-style: decimal outside;
}
.innodesk-post .innodesk-list > li {
	display: list-item;
	list-style: inherit;
	margin: 0 0 0.45em;
	padding: 0;
}
.innodesk-post .innodesk-list > li:last-child {
	margin-bottom: 0;
}
.innodesk-post .innodesk-list > li::before {
	/* Some themes draw their own bullet with ::before; with real bullets back, it would double up. */
	content: none;
}

/* "Key takeaways" / "Sources": the section-heading font, a size smaller. */
.innodesk-post .innodesk-box-title {
	margin: 0 0 0.6em;
	padding: 0;
}
