.SEARCH .b-frame {
	max-width: 800rem;
}

.SEARCH input:not([type="submit"]) {
	width: calc(100% - 171rem) !important;
	box-sizing: border-box;
	padding: 0 16rem;
	line-height: 60rem;
	height: 60rem;
	background: var(--light-grey);
	box-shadow: inset 0 -1rem 0 var(--dark-navy);
	border-radius: 0;
	margin-right: 16rem;
	transition: box-shadow 0.25s;
	border: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.SEARCH .b-button {
	width: 150rem;
}

.SEARCH .result {
	margin-bottom: 60rem;
	position: relative;
	border-radius: 6rem;
	transition: box-shadow 0.25s, background-color 0.25s;
}

.SEARCH .result:hover {
    box-shadow: 0 0 0 16rem var(--light-orange);
    background: var(--light-orange);
}

.SEARCH .result h3 {
	text-wrap: unset;
}

.SEARCH .result a:hover{
	color: var(--dark-navy);
}

.SEARCH .result a::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.SEARCH .pagination:not(nav) {
	margin: 64rem 0 0;
	text-align: center;
}

.SEARCH .pagination .page-numbers {
	width: 32rem;
	height: 32rem;
	font-size: 16rem;
	font-weight: 500;
	line-height: 32rem;
	text-align: center;
	display: inline-block;
	border-radius: 8rem;
	color: var(--navy);
}

.SEARCH .pagination a.page-numbers:hover {color: var(--green);}
.SEARCH .pagination .page-numbers.current {background: var(--light-green); box-shadow: inset 0 0 0 2rem var(--green);}

.SEARCH .pagination .next,
.SEARCH .pagination .prev {text-indent: -9999rem; position: relative;}
.SEARCH .pagination .next::after,
.SEARCH .pagination .prev::after {
	content: "";
	display: block;
	width: 6rem;
	height: 6rem;
	border: 1rem solid currentColor;
	border-width: 0 1rem 1rem 0;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -3rem 0 0 -3rem;
}
.SEARCH .pagination .next::after {transform: rotate(-45deg);}
.SEARCH .pagination .prev::after {transform: rotate(135deg);}

.SEARCH .screen-reader-text {
	display: none;
}

@media screen and (max-width: 960px){
	.SEARCH .b-frame {max-width: var(--frame-width);}
	.SEARCH input:not([type="submit"]) {width: 100% !important; margin-bottom: 16rem;}
	.SEARCH .b-button {width: 100% !important;}
}
