/* HK Site Essentials: sticky mobile action bar. Shown below 768px only. */
.hkse-bar { display: none; }

@media (max-width: 767px) {
	.hkse-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99990;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		background: #16234f;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
	.hkse-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 60px;
		color: #fff !important;
		text-decoration: none !important;
		font: 700 13px/1.2 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	}
	.hkse-bar__item--primary {
		background: #E8A33D;
		color: #16234f !important;
	}
	.hkse-bar__item:focus-visible {
		outline: 3px solid #E8A33D;
		outline-offset: -3px;
	}
	.hkse-bar__item--primary:focus-visible { outline-color: #fff; }
	body.hkse-has-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }
	/* Keep the theme's back-to-top button and the UserWay button above the bar. */
	body.hkse-has-bar #edgtf-back-to-top,
	body.hkse-has-bar .uwy.userway_p1 .uai,
	body.hkse-has-bar .uwy .uai { bottom: 76px !important; }
}

@media print { .hkse-bar { display: none !important; } }
