/* The decision-point diamond: the site's small recurring mark (a flowchart "decision" node).
   It is quiet on purpose: a bullet, a marker before a sub-heading, a dot in a callout.
   Colour = --dba-diamond (the accent by default). Filled = a real cost or a firm choice, hollow = a cheap or optional one.

   Use it three ways:
   - <span class="dba-diamond"></span> (add dba-diamond--hollow for the outline version)
   - a list with the "Diamond bullets" block style (is-style-dba-diamond), or the class dba-diamond-list
   - the components below (.dba-log__head, .dba-log__verdict) that draw it with ::before */

:root {
	--dba-diamond: var(--dba-accent);
}

.dba-diamond,
.dba-log__head::before,
.dba-log__verdict::before {
	content: "";
	display: inline-block;
	flex: none;
	box-sizing: border-box;
	width: 0.5em;
	height: 0.5em;
	border-radius: 12%;
	background: var(--dba-diamond);
	transform: rotate(45deg);
}

.dba-diamond--hollow {
	background: transparent;
	border: 0.14em solid var(--dba-diamond);
}

/* Inline use sits on the text line */
.dba-diamond {
	vertical-align: 0.08em;
}

/* Lists with diamond bullets */
.dba-diamond-list,
ul.is-style-dba-diamond {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dba-diamond-list > li,
ul.is-style-dba-diamond > li {
	position: relative;
	padding-left: 1.45em;
}

.dba-diamond-list > li::before,
ul.is-style-dba-diamond > li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0.2em;
	box-sizing: border-box;
	width: 0.5em;
	height: 0.5em;
	border-radius: 12%;
	background: var(--dba-diamond);
	transform: rotate(45deg);
}
