.jf-hub {
	--jf-hub-gold: #d4af37;
	--jf-hub-gold-soft: rgba(212, 175, 55, 0.16);
	--jf-hub-gold-deep: #9a7b1a;
	--jf-hub-gold-ink: #16120a;
	max-width: var(--jf-max, 72rem);
	margin-inline: auto;
	padding: clamp(1.25rem, 3vw, 2.25rem) var(--jf-space, 1.25rem) 3rem;
}

.jf-hub__head {
	text-align: center;
	margin-bottom: 1.75rem;
}

.jf-hub__title {
	margin: 0 0 0.45rem;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 750;
	color: var(--jf-hub-gold-deep);
}

html[data-theme="dark"] .jf-hub__title {
	color: var(--jf-hub-gold);
}

.jf-hub__lead {
	margin: 0 auto;
	max-width: 36rem;
	color: var(--jf-muted, #5b6b7c);
}

.jf-hub__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 1.5rem 1.75rem;
	align-items: start;
}

@media (max-width: 860px) {
	.jf-hub__grid {
		grid-template-columns: 1fr;
	}
}

.jf-hub__office-title {
	margin: 0 0 0.4rem;
	font-size: 1.2rem;
}

.jf-hub__address,
.jf-hub__hours,
.jf-hub__note {
	margin: 0 0 0.55rem;
	color: var(--jf-text, #172029);
	line-height: 1.55;
}

.jf-hub__calls {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 1rem 0 1.25rem;
}

.jf-hub__call {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.75rem 0.95rem;
	border-radius: 0.65rem;
	text-decoration: none;
	border: 1.5px solid rgba(212, 175, 55, 0.35);
	background: rgba(212, 175, 55, 0.07);
	color: inherit;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.jf-hub__call:hover {
	background: var(--jf-hub-gold-soft);
	border-color: var(--jf-hub-gold);
	transform: translateY(-1px);
	color: inherit;
}

.jf-hub__call-label {
	font-size: 0.8rem;
	font-weight: 650;
	color: var(--jf-hub-gold-deep);
}

html[data-theme="dark"] .jf-hub__call-label {
	color: var(--jf-hub-gold);
}

.jf-hub__call-num {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.jf-hub__map {
	width: 100%;
	height: min(420px, 55vh);
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid var(--jf-line, rgba(23, 32, 41, 0.12));
	background: var(--jf-surface, #e8eef3);
}

.jf-hub__nav,
.jf-hub__search,
.jf-hub__channels {
	margin-top: 1.1rem;
}

.jf-hub__nav-help {
	margin: 0 0 10px;
	font-size: 0.85rem;
	line-height: 1.45;
	opacity: 0.72;
}

.jf-hub__nav-title {
	margin: 0 0 0.55rem;
	font-size: 0.98rem;
	font-weight: 700;
}

.jf-hub__nav-list,
.jf-hub__search-targets,
.jf-hub__channel-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.jf-hub__nav-btn,
.jf-hub__channel {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.1rem;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 650;
	font-size: 0.86rem;
	border: 1.5px solid rgba(212, 175, 55, 0.38);
	background: rgba(212, 175, 55, 0.06);
	color: var(--jf-text, #172029);
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jf-hub__nav-btn:hover,
.jf-hub__channel:hover {
	background: linear-gradient(160deg, #e2c15a, var(--jf-hub-gold-deep));
	border-color: var(--jf-hub-gold-deep);
	color: var(--jf-hub-gold-ink);
}

.jf-hub__channel small {
	font-weight: 500;
	font-size: 0.72rem;
	opacity: 0.85;
}

.jf-hub__search-row {
	display: flex;
	gap: 0.45rem;
	margin-bottom: 0.55rem;
}

.jf-hub__search-row input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 0.8rem;
	border-radius: 0.55rem;
	border: 1.5px solid rgba(212, 175, 55, 0.3);
	font: inherit;
	background: var(--jf-bg-elevated, #fff);
	color: var(--jf-text, #172029);
}

.jf-hub__search-row input:focus {
	outline: none;
	border-color: var(--jf-hub-gold);
	box-shadow: 0 0 0 3px var(--jf-hub-gold-soft);
}

.jf-hub__search-go {
	appearance: none;
	border: 0;
	cursor: pointer;
	padding: 0.65rem 1rem;
	border-radius: 0.55rem;
	background: linear-gradient(160deg, #e2c15a, var(--jf-hub-gold-deep));
	color: var(--jf-hub-gold-ink);
	font: inherit;
	font-weight: 700;
}

html[data-theme="dark"] .jf-hub__call,
html[data-theme="dark"] .jf-hub__nav-btn,
html[data-theme="dark"] .jf-hub__channel {
	background: rgba(212, 175, 55, 0.1);
	border-color: rgba(212, 175, 55, 0.4);
}

html[data-theme="dark"] .jf-hub__search-row input {
	background: var(--jf-bg-elevated, #1a222c);
}

html[data-theme="dark"] .jf-hub__nav-btn:hover,
html[data-theme="dark"] .jf-hub__channel:hover {
	background: linear-gradient(160deg, #e8c96a, #b8921a);
	border-color: #f0d78c;
	color: #16120a;
}

.jf-hub__nav-btn.is-vpn {
	opacity: .78;
}

.jf-hub__nav-btn.is-vpn:hover,
.jf-hub__nav-btn.is-vpn:focus-visible {
	opacity: 1;
}

.jf-vpn-badge {
	display: inline-block;
	margin-inline-start: .45em;
	padding: .1em .5em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: .72em;
	line-height: 1.6;
	white-space: nowrap;
	vertical-align: middle;
	opacity: .85;
}
