/* Shared buttons and text links for sections built with alg-* markup, and brand text selection.
   Buttons share the hero button shape: 4px corners, uppercase Avenir heavy. */
::selection {
	background: #C5A867;
	color: #1F2350;
}

.alg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	margin: 0;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-family: 'Avenir heavy', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none !important; /* beats theme link underline */
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1);
}
.alg-btn:active {
	transform: scale(.98);
}
.alg-btn:focus-visible,
.alg-link:focus-visible {
	outline: 3px solid #C5A867;
	outline-offset: 3px;
}
.alg-btn svg {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
}

/* Outline on white */
.alg-btn--navy {
	border-color: #1F2350;
	background: transparent;
	color: #1F2350 !important; /* beats theme link colors */
}

/* Text link with a gold rule under it ("See all case results") */
.alg-link {
	display: inline-block;
	margin: 0;
	padding: 6px 0;
	border-bottom: 2px solid rgba(151, 119, 58, .35);
	color: #1F2350 !important;
	font-family: 'Avenir heavy', Arial, sans-serif;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: border-color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.alg-btn--navy:hover {
		background: #1F2350;
		color: #fff !important;
	}
	.alg-link:hover {
		border-bottom-color: #97773A;
	}
}
