/* ---------------------------------------------------------------- 404 and search */

/* 404: 200px above and below; "404" 128px, "not found", a 16px black sad face. */
.ioa-404 {
	padding-block: 200px;
}
.ioa-404 .ioa-404__title {
	font-size: 128px;
	line-height: 1;
	margin-bottom: 11px;
}
.ioa-404 .ioa-404__text {
	margin-bottom: 15px;
}
.ioa-404__icon {
	background: #000;
	height: 16px;
	-webkit-mask: url(../images/icons/sad.svg) 0 0 / 100% 100% no-repeat;
	mask: url(../images/icons/sad.svg) 0 0 / 100% 100% no-repeat;
	width: 16px;
}

/* Search: h1 with 56px under it; cards two across (one on phones), 20px apart. */
.ioa-search .ioa-search__title {
	margin-bottom: 56px;
}
.ioa-search .wp-block-post-template.ioa-search__grid {
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 767px) {
	.ioa-search .wp-block-post-template.ioa-search__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
.ioa-search__grid > li {
	border-radius: 4px;
	box-shadow: rgba(0, 0, 0, 0.06) 2px 4px 20px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
}
.ioa-search__image {
	margin: 0;
}
.ioa-search__image img {
	object-fit: cover;
}
.ioa-search__wrap {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
}
.ioa-search .ioa-search__post-title {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 20px;
}
.ioa-search__post-title a {
	color: inherit;
	text-decoration: none;
}
.ioa-search__meta {
	font-size: 13px;
	gap: 0;
	margin: 0 0 15px;
}
.ioa-search__meta > * + *::before {
	content: " / ";
	white-space: pre;
}
.ioa-search .ioa-search__excerpt {
	font-size: 14px;
	margin: 0 0 20px;
}
.ioa-search .ioa-search__excerpt p {
	margin: 0;
}
.ioa-search .wp-block-read-more.ioa-search__button {
	background: var(--wp--preset--color--brand);
	border: 1px solid transparent;
	border-radius: 3px;
	color: #fff;
	font-weight: 500;
	line-height: 1;
	padding: 14px 24px;
	text-decoration: none;
}
.ioa-search .wp-block-query-pagination {
	margin-top: 50px;
}
.ioa-search__image--empty {
	aspect-ratio: 16 / 9;
	background: #e5e7eb;
	position: relative;
	width: 100%;
}
.ioa-search__image--empty::after {
	background: #d1d5db;
	content: "";
	height: 30%;
	left: 50%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M448 80c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h384zM64 32C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 160a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm152 48l-80 112-32-40-64 80h320L296 240z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M448 80c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h384zM64 32C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 160a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm152 48l-80 112-32-40-64 80h320L296 240z'/%3E%3C/svg%3E") center / contain no-repeat;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 30%;
}
