/* Links row between the site title and the category menu (Settings > News Feed). */
.g100nf-sites-row {
	background: #f2f6fc;
	border-top: 1px solid #e1e8f2;
	border-bottom: 1px solid #e1e8f2;
}

.g100nf-sites {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	min-height: 44px;
	padding: 6px 0;
}

.g100nf-sites-label {
	color: #5b6b80;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.g100nf-sites ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g100nf-sites li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.g100nf-sites a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border: 1px solid #c9d6e8;
	border-radius: 999px;
	background: #fff;
	color: #0b1f3f;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.g100nf-sites a:hover,
.g100nf-sites a:focus-visible {
	border-color: #1670e0;
	background: #eef4fc;
	color: #1670e0;
}

.g100nf-sites .g100nf-icon {
	width: 12px;
	height: 12px;
	opacity: 0.7;
}

/* Phone menu: the same links under their own heading, after the news categories. */
.cm-mobile-nav li.g100nf-mm-heading {
	margin-top: 6px;
	padding: 14px 20px 6px;
	border-top: 1px solid rgba(140, 160, 190, 0.45);
	color: #8fa6c4;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.cm-mobile-nav li.g100nf-mm-site a {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cm-mobile-nav li.g100nf-mm-site .g100nf-icon {
	width: 12px;
	height: 12px;
	opacity: 0.7;
}

.g100nf-sites .g100nf-sr,
.g100nf-mm-site .g100nf-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Phones (the theme's phone header is used up to 768px): a compact copy of the row below the logo. */
.g100nf-sites-row--mobile {
	display: none;
}

@media (max-width: 768px) {
	.g100nf-sites-row--desktop {
		display: none;
	}

	.g100nf-sites-row--mobile {
		display: block;
	}

	.g100nf-sites-row--mobile .cm-container {
		padding: 0 8px;
	}

	.g100nf-sites-row--mobile .g100nf-sites {
		flex-direction: column;
		gap: 5px;
		min-height: 0;
		padding: 6px 0 7px;
	}

	.g100nf-sites-row--mobile .g100nf-sites-label {
		font-size: 10.5px;
	}

	.g100nf-sites-row--mobile .g100nf-sites ul {
		flex-wrap: nowrap;
		gap: 10px;
		width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.g100nf-sites-row--mobile .g100nf-sites ul::-webkit-scrollbar {
		display: none;
	}

	.g100nf-sites-row--mobile .g100nf-sites li {
		flex: 0 0 auto;
	}

	.g100nf-sites-row--mobile .g100nf-sites li:first-child {
		margin-left: auto;
	}

	.g100nf-sites-row--mobile .g100nf-sites li:last-child {
		margin-right: auto;
	}

	.g100nf-sites-row--mobile .g100nf-sites a {
		padding: 4px 8px;
		font-size: 12px;
		white-space: nowrap;
	}

	.g100nf-sites-row--mobile .g100nf-sites .g100nf-icon {
		display: none;
	}
}

@media (max-width: 380px) {
	.g100nf-sites-row--mobile .cm-container {
		padding: 0 6px;
	}

	.g100nf-sites-row--mobile .g100nf-sites ul {
		gap: 8px;
	}

	.g100nf-sites-row--mobile .g100nf-sites a {
		padding: 4px 7px;
		font-size: 11px;
	}
}
