/* Base styles so the blocks work with any theme. The Asiamines Ore theme refines them. */

.amo-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.amo-metrics__list,
.amo-contact-details__list {
	margin: 0;
}

.amo-metrics__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1.5rem;
}

.amo-metric dd,
.amo-contact-details dd {
	margin: 0;
}

.amo-contact-details__item + .amo-contact-details__item {
	margin-block-start: 0.75rem;
}

.amo-map iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	border: 0;
}

.amo-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.amo-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1rem 1.25rem;
}

.amo-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
}

.amo-form__field--full {
	grid-column: 1 / -1;
}

.amo-form__consent {
	flex-direction: row;
	align-items: flex-start;
}

.amo-form input:not([type="checkbox"]),
.amo-form select,
.amo-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	padding: 0.7rem 0.8rem;
}

.amo-form__error {
	font-size: 0.875em;
	color: #b3261e;
}

.amo-form__notice {
	padding: 1rem 1.25rem;
	margin-block-end: 1.5rem;
	border-inline-start: 3px solid currentColor;
}

.amo-form__anchor {
	display: block;
	scroll-margin-top: 6rem;
}

.amo-tenders__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.amo-tender + .amo-tender {
	margin-block-start: 1.5rem;
}

.amo-tender-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
}

.amo-tender-meta dd {
	margin: 0;
}

.amo-editor-inert {
	pointer-events: none;
}
