/*
 * The two blocks' frames. What is inside them is the wiki's own look - its custom.css -
 * so this is only their size and where they sit in a post.
 */

.wp-block-frontier-wiki .frontier-wiki-frame {
	display: block;
	width: 100%;
	min-height: 70vh;
	border: 0;
}

/* Sized by the wiki itself once it has drawn; until then, a screen's worth. */
.wp-block-frontier-wiki .frontier-wiki-frame.is-sized {
	min-height: 0;
}

/* A stat block sits beside the words, as an encyclopaedia's box does. */
.wp-block-frontier-stat-block {
	width: 320px;
	max-width: 100%;
	margin-block: 0.25em 1em;
}
.wp-block-frontier-stat-block.alignright {
	float: right;
	margin-inline: 1.5em 0;
}
.wp-block-frontier-stat-block.alignleft {
	float: left;
	margin-inline: 0 1.5em;
}
.wp-block-frontier-stat-block.aligncenter {
	margin-inline: auto;
}
.wp-block-frontier-stat-block .frontier-wiki-frame {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
	background: transparent;
}

/* On a phone there is no beside: the box takes the column. */
@media (max-width: 600px) {
	.wp-block-frontier-stat-block.alignright,
	.wp-block-frontier-stat-block.alignleft {
		float: none;
		width: 100%;
		margin-inline: 0;
	}
}

.frontier-wiki-unset {
	padding: 0.75em 1em;
	border: 1px dashed currentColor;
	opacity: 0.8;
}
