/**
 * Closing mark: the sign after the last word of an article.
 * Colour, size and spacing come from Theme Options as custom properties.
 *
 * @package Bismika_Allahuma
 * @since   3.0.1
 */

.bismika-mark {
	--bm-mark-gap: .3em;
	--bm-mark-colour: var(--bm-accent);
	--bm-mark-size: 16px;
	display: inline;
	margin-left: var(--bm-mark-gap);
	white-space: nowrap;
	line-height: 1;
	color: var(--bm-mark-colour);
	-webkit-user-select: none;
	user-select: none;
}

.bismika-mark__sign {
	display: inline-block;
	font-family: var(--bm-serif);
	font-size: .85em;
	font-style: normal;
	font-weight: 400;
	vertical-align: .02em;
	text-indent: 0;
}

.bismika-mark__seal {
	display: inline-block;
	width: 1.05em;
	height: 1.05em;
	vertical-align: -.16em;
	fill: currentColor;
}

.bismika-mark__img {
	display: inline-block;
	width: var(--bm-mark-size) !important;
	height: auto !important;
	max-height: 1.2em;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	vertical-align: -.1em;
	float: none !important;
}

/* A mark placed on its own line (block, or after the notes) closes the line on the right. */
.wp-block-bismika-closing-mark,
.bismika-prose > .bismika-mark {
	display: block;
	margin: .5em 0 0;
	text-align: right;
}

@media print {
	.bismika-mark { color: #000; }
}
