/* Astra button and link states, including the preserved builder variants. */
.sp-front .entry-content .ma-button {
	border-color: var(--sp-navy);
	transition: color .2s linear, background-color .2s linear, border-color .2s linear;
}

.sp-front .entry-content .ma-button.ast-button {
	--sp-cta-hover: var(--sp-teal);
}

.sp-front .entry-content .ma-button.ast-button:hover {
	border-color: var(--sp-teal);
}

.sp-front .entry-content [data-spectra-id="spectra-msd8zau4-r0nudo"] .ast-button.ma-button:hover {
	border-color: var(--sp-navy);
}

.sp-front .entry-content .ma-button.ast-outline-button {
	border-color: #fff;
}

.sp-front .entry-content .ma-button.ast-outline-button:focus {
	background-color: #fff;
	color: var(--sp-navy);
}

.sp-content .entry-content .ma-button:is(.ast-button, .ast-outline-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0 solid var(--sp-navy);
	border-radius: 6px;
	padding: 15px 30px;
	background: var(--sp-navy);
	color: #fff;
	font: 500 16px/16px var(--sp-body);
	letter-spacing: 2px;
	transition: color .2s linear, background-color .2s linear, border-color .2s linear;
}

.sp-content .entry-content .ma-button.ast-button:hover {
	background-color: var(--sp-teal);
	border-color: var(--sp-teal);
}

.sp-content .entry-content .ma-button.ast-outline-button {
	background: transparent;
	color: var(--sp-navy);
	border-width: 1px;
}

.sp-content .entry-content .ma-button.ast-outline-button:is(:hover, :focus) {
	background-color: #fff;
	border-color: #fff;
}

.sp-consult .sp-consult-actions > .sp-button,
.sp-content .sp-card-more,
.schaller-inquiry input.wpcf7-submit {
	transition: color .2s linear, background-color .2s linear, border-color .2s linear;
}

.sp-consult .sp-consult-actions > .sp-button:focus {
	color: var(--sp-navy);
	background-color: #fff;
}

.schaller-inquiry input.wpcf7-submit:hover,
.ma-location-block-map-img .directions_form input[type="submit"]:hover {
	background-color: var(--sp-teal);
}

.sp-content :is(.entry-content, .sp-card, .sp-sidebar, .pagination, .post-navigation) :where(a),
.sp-consult :where(.sp-office-address) {
	transition: color .2s linear;
}

.sp-content .sp-card h2 a:hover {
	color: inherit;
	text-decoration: none;
}

.sp-content .sp-card-more {
	border-color: var(--sp-navy);
}

.sp-content .sp-card-more:hover {
	border-color: var(--sp-teal);
}

.sp-content .sp-card-more:focus-visible:not(:hover) {
	background-color: var(--sp-navy);
}

.sp-content .entry-content :is(.wp-elements-1, .wp-elements-2).has-ast-global-color-8-color :where(p a:not(.ma-button, .wp-block-button__link)) {
	color: #fff;
}

.sp-content .entry-content :is(.wp-elements-1, .wp-elements-2).has-ast-global-color-8-color :where(p a:not(.ma-button, .wp-block-button__link)):hover {
	color: #fff;
}

.sp-front .entry-content .ma-button:focus-visible,
.sp-content .entry-content .ma-button:focus-visible,
.sp-content .sp-card-more:focus-visible,
.sp-consult .sp-consult-actions > .sp-button:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 4px;
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px #1a1a1a;
}

@media (prefers-reduced-motion: reduce) {
	.sp-front .entry-content .ma-button,
	.sp-content :is(.entry-content, .sp-card, .sp-sidebar, .pagination, .post-navigation) :where(a),
	.sp-consult :is(.sp-office-address, .sp-consult-actions > .sp-button),
	.schaller-inquiry input.wpcf7-submit {
		transition-duration: 0s;
	}
}
