/* Chemistry finder wizard */
.esteem-finder {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.esteem-finder.is-active {
	display: flex;
}

.esteem-finder__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(16, 24, 40, .48);
}

.esteem-finder__panel {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	color: #212529;
	border-radius: 12px;
	padding: 32px 28px 24px;
	box-shadow: 0 24px 48px rgba(16, 24, 40, .18);
	font-family: 'Montserrat', sans-serif;
}

.esteem-finder__close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #111827;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.esteem-finder__close:hover,
.esteem-finder__close:focus {
	color: #0e76bb;
}

.esteem-finder__title {
	margin: 0 0 8px;
	padding-right: 40px;
	font-size: 28px;
	font-weight: 500;
	color: #111827;
	text-transform: none;
}

.esteem-finder__title:after {
	display: none !important;
	content: none !important;
}

.esteem-finder__lead,
.esteem-finder__step {
	margin: 0 0 16px;
	color: #5b6570;
	font-size: 15px;
	line-height: 1.55;
}

.esteem-finder__step {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #0e76bb;
}

.esteem-finder__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.esteem-finder__choice {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 14px;
	border: 1px solid #e8ecf0;
	border-top: 3px solid #0e76bb;
	border-radius: 8px;
	background: #fff;
	color: #111827;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.esteem-finder__choice:hover,
.esteem-finder__choice:focus {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(14, 118, 187, .12);
	border-color: #cfe4f3;
	border-top-color: #0e76bb;
	outline: none;
}

.esteem-finder__results {
	display: grid;
	gap: 10px;
}

.esteem-finder__card {
	display: block;
	padding: 16px 16px 14px;
	background: #fff;
	border: 1px solid #e8ecf0;
	border-top: 3px solid #0e76bb;
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
}

.esteem-finder__card:hover,
.esteem-finder__card:focus {
	text-decoration: none;
	color: inherit;
	box-shadow: 0 8px 18px rgba(14, 118, 187, .1);
}

.esteem-finder__card h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 500;
	color: #111827;
	text-transform: none;
}

.esteem-finder__card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #5b6570;
}

.esteem-finder__note {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #5b6570;
}

.esteem-finder__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.esteem-finder__cta a {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.esteem-finder__cta a:first-child {
	background: #0e76bb;
	color: #fff;
}

.esteem-finder__cta a:first-child:hover,
.esteem-finder__cta a:first-child:focus {
	background: #0a5f96;
	color: #fff;
}

.esteem-finder__cta a:last-child {
	border: 1px solid #0e76bb;
	color: #0e76bb;
	background: #fff;
}

.esteem-finder__nav {
	display: flex;
	gap: 12px;
	margin-top: 18px;
}

.esteem-finder__back,
.esteem-finder__reset {
	border: 0;
	background: transparent;
	padding: 0;
	color: #0e76bb;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.esteem-finder-inline {
	display: inline;
	margin-left: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: #0e76bb;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

@media (min-width: 640px) {
	.esteem-finder__choices {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.esteem-finder__panel {
		padding: 28px 18px 20px;
	}
	.esteem-finder__title {
		font-size: 22px;
	}
}

body.esteem-finder-open {
	overflow: hidden;
}
