/**
 * Site utility top bar — matches jccncmachining.com top-header.
 */

.jcmold-top-header {
	background-color: #1a1a1a;
	color: #fff;
	padding: 10px 0;
	font-size: 13px;
	line-height: 1.4;
	border-bottom: 1px solid #333;
	position: relative;
	z-index: 1000;
}

.jcmold-top-header-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 16px;
	gap: 8px;
	box-sizing: border-box;
}

.jcmold-top-header-left,
.jcmold-top-header-right {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.jcmold-top-header-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #f0f0f0;
	text-decoration: none;
	font-weight: 400;
}

a.jcmold-top-header-item:hover {
	color: #fff;
	text-decoration: underline;
}

.jcmold-top-header i {
	color: #f0f0f0;
	font-size: 12px;
	display: inline-block;
	min-width: 1em;
	line-height: 1;
}

.jcmold-top-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #333;
	padding: 4px 10px;
	border-radius: 3px;
	font-weight: 500;
	color: #f0f0f0;
	font-size: 12px;
}

/* Match CNC: top bar scrolls away; main nav sticks under it after scroll. */
body.bricks-is-frontend.has-jcmold-top-header {
	padding-top: 0 !important;
}

body.bricks-is-frontend.has-jcmold-top-header #brx-header {
	position: sticky !important;
	top: 0 !important;
	left: 0;
	width: 100%;
	z-index: 999;
}

@media (max-width: 768px) {
	.jcmold-top-header {
		font-size: 0.8rem;
		padding: 8px 0;
	}

	.jcmold-top-header-container {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.jcmold-top-header-left,
	.jcmold-top-header-right {
		justify-content: center;
		gap: 12px;
	}

	.jcmold-top-header-cta {
		font-size: 0.75rem;
	}
}

@media (max-width: 576px) {
	.jcmold-top-header {
		font-size: 0.75rem;
		padding: 6px 0;
	}

	.jcmold-top-header-item {
		font-size: 0.85rem;
	}

	.jcmold-top-header-item .jcmold-top-header-label {
		display: none;
	}
}
