/* GOV.TODAY Network — окрема шапка мережі BuddyPress (сайтова шапка на екранах мережі прихована). */

/* Сайтова шапка Kadence на екранах мережі не показується — у мережі своя. */
body.gv-network #masthead,
body.gv-network .gv-focus,
body.gv-network .gv-mk-bar,
body.gv-network .gv-topbar { display: none !important; }

.gv-netbar {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000;
	background: rgba(3, 8, 16, .9); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--ga-line, rgba(0, 212, 255, .14)); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	font-family: var(--gv-body, Inter, sans-serif);
}
body.gv-skin-light .gv-netbar { background: rgba(255, 255, 255, .94); border-bottom-color: #dce3ea; box-shadow: 0 8px 24px rgba(7, 23, 42, .06); }
@media screen and (max-width: 782px) { body.admin-bar .gv-netbar { top: 0; } }

.gv-netbar__inner { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.gv-netbar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; flex: 0 0 auto; }
.gv-netbar__mark {
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
	background: var(--ga-grad, linear-gradient(90deg, #2b6fff, #00d4ff, #00e5a0)); color: #030810;
	font-family: var(--gv-display, Inter, sans-serif); font-weight: 700; font-size: 1.1rem;
}
.gv-netbar__brand b { display: block; font-family: var(--gv-display, Inter, sans-serif); font-size: 1.05rem; letter-spacing: .02em; color: #f2f6fc; line-height: 1.1; }
.gv-netbar__brand small { display: block; font-family: var(--gv-label, monospace); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ga-cyan, #00d4ff); }
body.gv-skin-light .gv-netbar__brand b { color: #07172a; }
body.gv-skin-light .gv-netbar__brand small { color: #1d56f0; }

.gv-netbar__tabs { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gv-netbar__tabs::-webkit-scrollbar { display: none; }
.gv-netbar__tabs a {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 12px; border-radius: 8px;
	font-family: var(--gv-label, monospace); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ga-soft, #c3cfe1) !important; text-decoration: none !important; border: 1px solid transparent;
}
.gv-netbar__tabs a:hover { background: rgba(0, 212, 255, .07); color: #fff !important; }
.gv-netbar__tabs a.is-active { background: rgba(0, 212, 255, .12); border-color: var(--ga-line-strong, rgba(0, 212, 255, .28)); color: #fff !important; }
.gv-netbar__tabs a i { font-style: normal; min-width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--ga-green, #00e5a0); color: #030810; font-size: .64rem; letter-spacing: 0; }
body.gv-skin-light .gv-netbar__tabs a { color: #34445a !important; }
body.gv-skin-light .gv-netbar__tabs a:hover, body.gv-skin-light .gv-netbar__tabs a.is-active { background: #eef3ff; color: #1d56f0 !important; border-color: #c9d7ff; }

.gv-netbar__search input {
	width: 220px; min-height: 38px; padding: 7px 12px; border-radius: 8px;
	background: var(--ga-input, #081629) !important; color: var(--ga-text, #e4ebf7) !important;
	border: 1px solid var(--ga-line-strong, rgba(0, 212, 255, .28)) !important; font: 500 .82rem var(--gv-body, Inter, sans-serif);
}
body.gv-skin-light .gv-netbar__search input { background: #f3f6f8 !important; color: #07172a !important; border-color: #dce3ea !important; }

.gv-netbar__login, .gv-netbar__back {
	flex: 0 0 auto; white-space: nowrap; font-family: var(--gv-label, monospace); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important;
}
.gv-netbar__login { padding: 9px 14px; border-radius: 8px; background: linear-gradient(90deg, #2b6fff, #00b8f0); color: #fff !important; }
.gv-netbar__back { color: var(--ga-muted, #8a9bb5) !important; }
.gv-netbar__back:hover { color: var(--ga-cyan, #00d4ff) !important; }

/* Посилання на мережу у службовій смузі сайту. */
.gv-topbar__network { white-space: nowrap; font-weight: 700; color: var(--ga-cyan, #1d56f0) !important; text-decoration: none; }
.gv-topbar__network:hover { text-decoration: underline; }

/* Бічна панель мережі — під шапкою мережі. */
body.gv-network .gv-social-sidebar { top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px) !important; }

@media (max-width: 1100px) { .gv-netbar__search { display: none; } }
@media (max-width: 760px) {
	.gv-netbar__inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; padding-bottom: 6px; min-height: 0; }
	.gv-netbar__brand small { display: none; }
	.gv-netbar__tabs { order: 3; flex-basis: 100%; }
	.gv-netbar__back { margin-left: auto; }
}
