/* HAMBURGER BUTTON ELEMENTOR ELEMENT */
.elementor.elementor .e-con > .elementor-widget.elementor-widget-jjll-hamburger-button,
.e-con.e-con > .e-con-inner > .elementor-widget.elementor-widget-jjll-hamburger-button,
.elementor.elementor .elementor-element.elementor-widget.elementor-widget-jjll-hamburger-button {
	/* Prevent a flex parent from influencing the width of the hamburger button by explcitly setting this widget's width */
	width: max-content;
	min-width: max-content;
	max-width: max-content;
	/* Suppress the widget container from adding unwanted height in sticky headers */
	line-height: 0;
}

/* HAMBURGER BUTTON WRAPPER */
.jjll-hamburger-wrap {
	display: inline-block;
	line-height: 0;
}

/* HAMBURGER BUTTON */
.jjll-hamburger-wrap .hamburger {
	display: inline-flex;
	flex-direction: var(--jjll-hamburger-label-direction, row);
	align-items: center;
	gap: var(--jjll-hamburger-label-gap, 8px);
}
.jjll-hamburger-wrap .hamburger:hover {
	opacity: unset; /* hamburgers.css uses opacity for the hover state, but we will use a color selector in the elementor controls instead */
	cursor: pointer;
}
.jjll-hamburger-wrap .hamburger-box {
	height: auto;
	aspect-ratio: 1 / 1;
}

/* HAMBURGER LABEL */
/* :where() keeps this below the Typography control's specificity; overrides the line-height: 0 inherited from the wrapper */
.jjll-hamburger-wrap :where(.hamburger-label) {
	line-height: normal;
}
/*
 * Unset label colors fall back to the hamburger's color for that state (--jjll-hamburger-color, set by the color controls).
 * An unset hover color falls back to the label's own color for that tab first.
 */
.jjll-hamburger-wrap .hamburger .hamburger-label {
	color: var(--jjll-hamburger-label-color, var(--jjll-hamburger-color, #000));
}
.jjll-hamburger-wrap .hamburger:hover .hamburger-label {
	color: var(--jjll-hamburger-label-color-hover, var(--jjll-hamburger-label-color, var(--jjll-hamburger-color, #000)));
}
.jjll-hamburger-wrap .hamburger.is-active .hamburger-label {
	color: var(--jjll-hamburger-label-color-active, var(--jjll-hamburger-color, #000));
}
.jjll-hamburger-wrap .hamburger.is-active:hover .hamburger-label {
	color: var(--jjll-hamburger-label-color-active-hover, var(--jjll-hamburger-label-color-active, var(--jjll-hamburger-color, #000)));
}
