.coe-tests-hero-overlay {
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}

.coe-tests-hero-content {
	z-index: 2;
}

.coe-test-card {
	background: #fff;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.coe-test-card:hover,
.coe-test-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.coe-test-card-image {
	height: 170px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.coe-test-app {
	scroll-margin-top: 2rem;
}

.coe-tests-archive .btn,
.coe-test-single .btn,
.coe-action-btn,
.coe-answer-option {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	line-height: 1.2;
}

.coe-action-btn,
.coe-tests-archive .btn-lg {
	font-size: 1rem;
	font-weight: 600;
	min-height: 42px;
	padding: .55rem 1.1rem;
}

.coe-tests-archive .lead,
.coe-test-single .lead {
	margin-left: auto;
	margin-right: auto;
	max-width: 850px;
}

.coe-question legend {
	float: none;
	width: auto;
	font-size: 1rem;
	line-height: 1.45;
}

.coe-answer-grid {
	display: grid;
	gap: .55rem;
	grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.coe-answer-option {
	font-size: .95rem;
	min-height: 40px;
	padding: .5rem .85rem;
	white-space: normal;
}

.coe-test-progress {
	min-width: 120px;
}

.coe-test-result h3 {
	color: var(--bs-danger, #dc3545);
}

.coe-test-result ul {
	margin-bottom: 0;
}

@media (max-width: 575.98px) {
	.coe-answer-grid {
		grid-template-columns: 1fr;
	}

	.coe-action-btn,
	.coe-tests-archive .btn-lg {
		font-size: .95rem;
		min-height: 40px;
		padding: .5rem .9rem;
	}
}
