/* Community navigation: separate browsing, article writing, and account tools. */
.gcom .gcom-nav-polished {
	padding:14px 18px;
	background:#fff;
	border-radius:15px 15px 0 0;
	z-index:5;
}
.gcom .gcom-nav-polished .gcom-nav-links {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:12px 18px;
	width:100%;
	min-width:0;
}
.gcom .gcom-nav-polished .gcom-nav-topic-links,
.gcom .gcom-nav-polished .gcom-nav-actions {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:4px;
	min-width:0;
}
.gcom .gcom-nav-polished .gcom-nav-topic-links { flex:1 1 400px; }
.gcom .gcom-nav-polished .gcom-nav-actions { flex:0 1 auto; margin-left:auto; gap:8px; }
.gcom .gcom-nav-polished .gcom-nav-links a,
.gcom .gcom-nav-polished .gcom-nav-other > summary {
	display:flex;
	align-items:center;
	min-height:44px;
	padding:8px 11px;
	border-radius:8px;
	font-size:.875rem;
	font-weight:650;
	line-height:1.35;
	letter-spacing:0;
	text-decoration:none;
	text-transform:none;
	box-shadow:none;
	white-space:nowrap;
}
.gcom .gcom-nav-polished .gcom-nav-links a { border-bottom:0; }
.gcom .gcom-nav-polished .gcom-nav-links a:hover,
.gcom .gcom-nav-polished .gcom-nav-other > summary:hover {
	background:var(--gcom-paper);
	color:var(--gcom-ink);
	text-decoration:none;
}
.gcom .gcom-nav-polished .gcom-nav-links a[aria-current="page"],
.gcom .gcom-nav-polished .gcom-nav-other.is-current > summary {
	background:var(--gcom-tint);
	color:var(--gcom-active-text);
}
.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write {
	justify-content:center;
	background:var(--gcom-button);
	color:var(--gcom-button-text);
	border:1px solid var(--gcom-button);
	padding:9px 15px;
}
.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write:hover,
.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write[aria-current="page"] {
	background:var(--gcom-button-hover);
	color:var(--gcom-button-text);
	border-color:var(--gcom-button-hover);
}
.gcom .gcom-nav-polished .gcom-member-menu {
	margin:0;
	padding:0;
	border:0;
}
.gcom .gcom-nav-polished .gcom-member-menu > summary {
	justify-content:center;
	border:1px solid var(--gcom-line);
	background:#fff;
}
.gcom .gcom-nav-polished .gcom-nav-other[open] { flex-basis:auto; }
.gcom .gcom-nav-polished .gcom-nav-other[open] > summary { background:var(--gcom-paper); }
.gcom .gcom-nav-polished .gcom-nav-other-links {
	position:absolute;
	right:0;
	left:auto;
	top:calc(100% + 8px);
	z-index:20;
	display:block;
	width:280px;
	max-width:min(320px,calc(100vw - 36px));
	max-height:70vh;
	overflow:auto;
	margin:0;
	padding:9px;
	list-style:none;
	background:#fff;
	border:1px solid var(--gcom-line);
	border-radius:12px;
	box-shadow:0 12px 30px rgba(23,45,62,.12);
}
.gcom .gcom-nav-polished .gcom-topic-menu > .gcom-nav-other-links { left:0; right:auto; }
.gcom .gcom-nav-polished .gcom-nav-other-links > li { margin:0; padding:0; list-style:none; }
.gcom .gcom-nav-polished .gcom-nav-other-links a {
	min-height:40px;
	padding:9px 11px;
	font-weight:550;
	white-space:normal;
	overflow-wrap:anywhere;
}
.gcom .gcom-nav-polished .gcom-nav-other-links > .gcom-nav-menu-heading {
	padding:8px 11px 5px;
	color:var(--gcom-muted);
	font-size:.6875rem;
	font-weight:750;
	line-height:1.4;
	letter-spacing:.08em;
	text-transform:uppercase;
}
.gcom .gcom-nav-polished .gcom-nav-other-links > .gcom-nav-menu-divider {
	margin-top:7px;
	padding-top:11px;
	border-top:1px solid var(--gcom-line);
}
.gcom .gcom-nav-polished .gcom-nav-other-links > .gcom-nav-signout { padding-top:6px; }
.gcom .gcom-nav-polished .gcom-nav-signout > a { color:var(--gcom-muted); }

@container (max-width:760px) {
	.gcom .gcom-nav-polished { padding:12px; }
	.gcom .gcom-nav-polished .gcom-nav-links { display:block; }
	.gcom .gcom-nav-polished .gcom-nav-topic-links { width:100%; margin-bottom:10px; gap:3px; }
	.gcom .gcom-nav-polished .gcom-nav-actions { width:100%; margin:0; gap:8px; }
	.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write,
	.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-member-menu { flex:1 1 0; min-width:0; }
	.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write { white-space:normal; text-align:center; }
	.gcom .gcom-nav-polished .gcom-member-menu > summary { width:100%; }
	.gcom .gcom-nav-polished .gcom-nav-other[open] { flex-basis:100%; }
	.gcom .gcom-nav-polished .gcom-nav-other-links,
	.gcom .gcom-nav-polished .gcom-topic-menu > .gcom-nav-other-links {
		position:static;
		width:100%;
		max-width:none;
		max-height:none;
		margin:7px 0 0;
		box-shadow:none;
	}
}
@media (max-width:640px) {
	.gcom .gcom-nav-polished { padding:10px; }
	.gcom .gcom-nav-polished .gcom-nav-links { display:block; }
	.gcom .gcom-nav-polished .gcom-nav-topic-links { width:100%; margin-bottom:10px; gap:2px; }
	.gcom .gcom-nav-polished .gcom-nav-links a,
	.gcom .gcom-nav-polished .gcom-nav-other > summary { padding:8px 10px; }
	.gcom .gcom-nav-polished .gcom-nav-actions { width:100%; margin:0; gap:8px; }
	.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write,
	.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-member-menu { flex:1 1 0; min-width:0; }
	.gcom .gcom-nav-polished .gcom-nav-actions > .gcom-nav-write { white-space:normal; text-align:center; }
	.gcom .gcom-nav-polished .gcom-member-menu > summary { width:100%; }
	.gcom .gcom-nav-polished .gcom-nav-other[open] { flex-basis:100%; }
	.gcom .gcom-nav-polished .gcom-nav-other-links,
	.gcom .gcom-nav-polished .gcom-topic-menu > .gcom-nav-other-links {
		position:static;
		width:100%;
		max-width:none;
		max-height:none;
		margin:7px 0 0;
		box-shadow:none;
	}
}
