/**
 * Name: Beemo Google Preferred Source styles
 * Version: 1.2
 * Release Date: 2026-08-24
 * Usage: Styles the site-wide Google Preferred Sources integration.
 * Description: Adds a centered, accessible Beemo button linking to Google's
 * Preferred Sources tool.
 */

.beemo-preferred-source {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	padding: 28px 8%;
	border-top: 3px solid #0080c3;
	background: #eaf0f8;
}

.beemo-preferred-source__inner {
	display: flex;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
}

.beemo-preferred-source__link {
	display: inline-flex;
	box-sizing: border-box;
	min-height: 48px;
	max-width: 100%;
	padding: 11px 22px;
	align-items: center;
	justify-content: center;
	border: 2px solid #0080c3;
	border-radius: 999px;
	background: #ffffff;
	color: #173f63;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.beemo-preferred-source__link:hover,
.beemo-preferred-source__link:focus-visible {
	background: #0080c3;
	color: #ffffff;
	text-decoration: none;
}

.beemo-preferred-source__link:focus-visible {
	outline: 3px solid #173f63;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.beemo-preferred-source {
		padding: 22px 20px;
	}

	.beemo-preferred-source__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.beemo-preferred-source *,
	.beemo-preferred-source *::before,
	.beemo-preferred-source *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
