/* Keep the theme's "Skip to content" link available to screen readers only. */
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ait-grs-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 4px;
	vertical-align: middle;
}

.ait-grs-google-host {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.ait-grs-google-host > div {
	transform: scale(0.92);
	transform-origin: right center;
}

.ait-grs-fallback {
	border: 1px solid #ddd;
	background: #fff;
	color: #111;
	border-radius: 3px;
	font-size: 11px;
	padding: 5px 8px;
	white-space: nowrap;
	cursor: pointer;
}

.ait-grs-news-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 11px;
	line-height: 1;
	padding: 4px 2px;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
}

.ait-grs-news-btn:hover,
.ait-grs-news-btn:focus {
	text-decoration: underline;
	outline: none;
}

.ait-grs-news-icon {
	font-size: 15px;
}

.m-header .ait-grs-news-label {
	display: none;
}

.m-header .ait-grs-google-host > div {
	transform-origin: left center;
}

.ait-grs-signed-in {
	gap: 8px;
}

.ait-grs-account {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	line-height: 1;
	white-space: nowrap;
}

.ait-grs-account-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #d9edff;
	color: #124f8a;
	font-weight: 700;
	font-size: 11px;
}

.ait-grs-account-link,
.ait-grs-logout {
	color: inherit;
	font-size: 11px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
}

.ait-grs-account-link:hover,
.ait-grs-logout:hover {
	text-decoration: underline;
}

.m-header .ait-grs-account-name,
.m-header .ait-grs-account-link {
	display: none;
}

.ait-grs-inline {
	margin: 8px 0;
}

.ait-grs-inline .ait-grs-google-host > div {
	transform: none;
}

.ait-grs-modal[hidden],
.ait-grs-modal [hidden] {
	display: none !important;
}

.ait-grs-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.ait-grs-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.ait-grs-modal__box {
	position: relative;
	width: min(100%, 430px);
	background: #fff;
	color: #1a1a1a;
	border-radius: 10px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
	padding: 26px 24px 22px;
	font-size: 14px;
	line-height: 1.55;
}

.ait-grs-modal__box h3 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.3;
}

.ait-grs-modal__box p {
	margin: 0 0 14px;
}

.ait-grs-modal__x {
	position: absolute;
	top: 6px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.ait-grs-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 12px 0 18px;
	cursor: pointer;
}

.ait-grs-check input {
	margin-top: 3px;
	flex: 0 0 auto;
}

.ait-grs-modal__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ait-grs-btn-primary {
	border: 0;
	border-radius: 5px;
	background: #111;
	color: #fff;
	padding: 9px 16px;
	font-size: 14px;
	cursor: pointer;
}

.ait-grs-btn-link {
	border: 0;
	background: transparent;
	color: #555;
	text-decoration: underline;
	cursor: pointer;
	font-size: 13px;
	padding: 9px 4px;
}

.ait-grs-modal input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px 12px;
	font-size: 15px;
}

.ait-grs-nl-shortcode p {
	margin: 0 0 8px;
}

@media (max-width: 991px) {
	.ait-grs-wrap {
		margin-left: 0;
	}

	.ait-grs-google-host > div {
		transform: scale(0.86);
	}
}
