/**
 * JEL Header — mobile clean-up for the Beaver Themer site header (layout 3378).
 *
 * Loaded on every front-end page. Desktop is untouched. At the hamburger
 * breakpoint (768px, set by the PowerPack Advanced Menu module) the header
 * collapses to one row: the wordmark on the left, the hamburger on the right.
 * The phone strip and the phone/email icon buttons are hidden; the same links
 * live inside the off-canvas menu as "Call" and "Email" items (WP menu items
 * carrying the class .jel-mobile-only).
 *
 * Node ids are the header layout's own Beaver Builder node classes:
 *   5eb11ace1f642  top strip row (phone number)
 *   5eb123e00dd4d  brand row
 *   5eb123e00dfd5  brand row column group
 *   5eb123e00dfd8  wordmark column
 *   5eb123e00dfda  menu + icons column
 *   5eb123e00dfdb  nested group (hamburger | icons)
 *   5eb123e00dfdc  hamburger column
 *   5eb123e00dfde  phone/email icon column
 */

/* Call/Email menu items exist for the mobile menu only. */
@media (min-width: 769px) {
	.menu .jel-mobile-only { display: none !important; }
}

@media (max-width: 768px) {
	header.fl-builder-content-3378 .fl-node-5eb11ace1f642,
	header.fl-builder-content-3378 .fl-node-5eb123e00dfde { display: none !important; }

	header.fl-builder-content-3378 .fl-node-5eb123e00dd4d .fl-row-content-wrap {
		padding: 16px 20px !important;
		min-height: 0 !important;
	}
	header.fl-builder-content-3378 .fl-node-5eb123e00dfd5 {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 16px;
	}
	header.fl-builder-content-3378 .fl-node-5eb123e00dfd8,
	header.fl-builder-content-3378 .fl-node-5eb123e00dfda,
	header.fl-builder-content-3378 .fl-node-5eb123e00dfdb,
	header.fl-builder-content-3378 .fl-node-5eb123e00dfdc {
		width: auto !important;
		max-width: none !important;
		flex: 0 0 auto !important;
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	header.fl-builder-content-3378 .fl-node-5eb123e00dfd8 { flex: 1 1 auto !important; min-width: 0; }
	header.fl-builder-content-3378 .fl-node-5eb123e00dfdb { display: flex !important; }
	header.fl-builder-content-3378 .fl-module { margin: 0 !important; }

	/* Wordmark on one line. */
	header.fl-builder-content-3378 .heading-title,
	header.fl-builder-content-3378 .heading-title .title-text {
		font-size: 19px !important;
		line-height: 1.2 !important;
		letter-spacing: .08em !important;
		white-space: nowrap;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}
	header.fl-builder-content-3378 .pp-advanced-menu-mobile {
		justify-content: flex-end !important;
		text-align: right !important;
	}
	header.fl-builder-content-3378 .pp-advanced-menu-mobile-toggle {
		margin: 0 !important;
		padding: 6px 0 6px 6px !important;
	}

	/* Call / Email inside the off-canvas menu: Font Awesome 5 (loaded by
	   Beaver Builder) supplies the icons. */
	.pp-off-canvas-menu .menu .jel-mobile-only > a::before {
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		display: inline-block;
		width: 1.4em;
		margin-right: 6px;
		text-align: center;
	}
	.pp-off-canvas-menu .menu .jel-menu-call > a::before { content: "\f879"; }
	.pp-off-canvas-menu .menu .jel-menu-email > a::before { content: "\f0e0"; }
	.pp-off-canvas-menu .menu .jel-menu-call {
		margin-top: 18px !important;
		border-top: 1px solid rgba(43, 43, 40, .12);
		padding-top: 18px;
	}
}
@media (max-width: 360px) {
	header.fl-builder-content-3378 .heading-title,
	header.fl-builder-content-3378 .heading-title .title-text { font-size: 17px !important; }
}
