/**
 * JMG Mega Menu — frontend styles (v5 design).
 *
 * Sharp editorial system: Archivo + Space Mono, black hairline rules,
 * red accent, numbered columns, ghost watermark labels.
 * Every designer-facing value is a CSS custom property on .jmg-mega-menu,
 * overridable from the Elementor widget style controls.
 */

.jmg-mega-menu {
	/* ---- theme tokens (Elementor controls override these) ---- */
	--jmg-font: "Archivo", system-ui, -apple-system, sans-serif;
	--jmg-mono: "Space Mono", ui-monospace, monospace;

	--jmg-accent: #d31820;
	--jmg-link-color: #6e727b;
	--jmg-link-hover: #111214;
	--jmg-link-active: #111214;
	--jmg-link-hover-bg: transparent;
	--jmg-item-gap: 2px;

	--jmg-panel-bg: #ffffff;
	--jmg-panel-border: #111214;
	--jmg-panel-divider: #ecedef;
	--jmg-panel-offset: 0px;
	--jmg-panel-max: 1440px;
	--jmg-shadow: 0 24px 48px -28px rgba(17, 18, 20, 0.18);

	--jmg-heading-color: #111214;
	--jmg-title-color: #41444b;
	--jmg-title-hover: var(--jmg-accent);
	--jmg-desc-color: #8a8d94;
	--jmg-num-color: var(--jmg-accent);
	--jmg-num-muted: #b7bac0;
	--jmg-ghost-color: rgba(17, 18, 20, 0.04);
	--jmg-hover-bg: transparent;
	--jmg-icon-color: var(--jmg-accent);
	--jmg-icon-bg: transparent;

	--jmg-feature-bg: #ffffff;
	--jmg-feature-title: #111214;
	--jmg-feature-desc: #5a5d64;

	--jmg-overlay-desktop: rgba(255, 255, 255, 0.6);

	--jmg-toggle-color: #111214;
	--jmg-toggle-bg: transparent;
	--jmg-toggle-size: 44px;

	--jmg-mobile-bg: #ffffff;
	--jmg-mobile-width: 360px;
	--jmg-mobile-link: #111214;
	--jmg-mobile-divider: #ecedef;
	--jmg-overlay-bg: rgba(17, 18, 20, 0.45);

	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	font-family: var(--jmg-font);
}

.jmg-mega-menu *,
.jmg-mega-menu *::before,
.jmg-mega-menu *::after {
	box-sizing: border-box;
}

.jmg-mega-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jmg-mega-menu a {
	text-decoration: none;
}

.jmg-mega-menu button {
	font: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	color: inherit;
}

.jmg-mega-menu :focus-visible {
	outline: 2px solid var(--jmg-accent);
	outline-offset: 2px;
}

.jmg-mega-menu--empty {
	padding: 12px 16px;
	border: 1px dashed #b7bac0;
	color: #6e727b;
	font-size: 14px;
}

/* =========================================================================
   Desktop menu bar
   ====================================================================== */

.jmg-nav {
	width: 100%;
}

.jmg-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--jmg-item-gap);
}

.jmg-item--top {
	position: relative;
}

.jmg-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 23px 13px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--jmg-link-color);
	background: var(--jmg-link-hover-bg, transparent);
	transition: color 0.12s ease, background-color 0.12s ease;
	white-space: nowrap;
}

.jmg-item--top:hover > .jmg-link,
.jmg-item--top.is-open > .jmg-link {
	color: var(--jmg-link-hover);
}

.jmg-item--top.jmg-current > .jmg-link,
.jmg-item--top.jmg-current-ancestor > .jmg-link {
	color: var(--jmg-link-active);
}

/* Red square indicator — lights up while the panel is open / item is current */
.jmg-dot {
	flex: 0 0 auto;
	width: 5px;
	height: 5px;
	background: transparent;
	transition: background 0.12s ease;
}

.jmg-item--top.is-open > .jmg-link .jmg-dot,
.jmg-item--top.jmg-current > .jmg-link .jmg-dot,
.jmg-mega-menu:not(.jmg--ready) .jmg-item--top:hover > .jmg-link .jmg-dot {
	background: var(--jmg-accent);
}

.jmg-link__icon {
	display: inline-flex;
	align-items: center;
	color: var(--jmg-icon-color);
	font-size: 1em;
}

.jmg-link__chevron {
	display: inline-flex;
	align-items: center;
	opacity: 0.55;
	transition: transform 0.14s ease, opacity 0.12s ease;
}

.jmg-item--top.is-open > .jmg-link .jmg-link__chevron,
.jmg-mega-menu:not(.jmg--ready) .jmg-item--top:hover > .jmg-link .jmg-link__chevron {
	transform: rotate(180deg);
	opacity: 1;
}

/* Optional animated hover underline (off by default in the v5 design) */
.jmg-underline-yes .jmg-menu > .jmg-item--top > .jmg-link .jmg-link__label {
	position: relative;
}

.jmg-underline-yes .jmg-menu > .jmg-item--top > .jmg-link .jmg-link__label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: var(--jmg-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.jmg-underline-yes .jmg-menu > .jmg-item--top:hover > .jmg-link .jmg-link__label::after,
.jmg-underline-yes .jmg-menu > .jmg-item--top.is-open > .jmg-link .jmg-link__label::after,
.jmg-underline-yes .jmg-menu > .jmg-item--top.jmg-current > .jmg-link .jmg-link__label::after {
	transform: scaleX(1);
}

/* Badges */
.jmg-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 2px 7px;
	background: var(--jmg-accent);
	color: #fff;
	font-family: var(--jmg-mono);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.5;
	white-space: nowrap;
}

/* =========================================================================
   Mega panel
   ====================================================================== */

.jmg-panel {
	position: absolute;
	top: 100%;
	left: var(--jmg-x, 0);
	width: var(--jmg-w, auto);
	min-width: 320px;
	padding-top: var(--jmg-panel-offset);
	z-index: 9999;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.14s ease-out, transform 0.14s ease-out, visibility 0s linear 0.14s;
}

.jmg-anim-fade-up .jmg-panel {
	transform: translateY(8px);
}

.jmg-anim-none .jmg-panel {
	transition: none;
}

.jmg-item--top.is-open > .jmg-panel,
.jmg-mega-menu:not(.jmg--ready) .jmg-item--top:hover > .jmg-panel {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 0s;
}

.jmg-panel__box {
	position: relative;
	background: var(--jmg-panel-bg);
	border-bottom: 1px solid var(--jmg-panel-border);
	overflow: hidden;
}

/* Contained ("wide"/"auto") panels get a hairline frame + soft shadow */
.jmg-panel-wide > .jmg-panel .jmg-panel__box,
.jmg-panel-auto > .jmg-panel .jmg-panel__box {
	border: 1px solid var(--jmg-panel-border);
	box-shadow: var(--jmg-shadow);
}

/* Oversized watermark label behind the panel content */
.jmg-panel__ghost {
	position: absolute;
	right: 24px;
	bottom: -34px;
	font-size: 170px;
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1;
	color: var(--jmg-ghost-color);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.jmg-ghost-hide-yes .jmg-panel__ghost {
	display: none;
}

.jmg-panel__inner {
	position: relative;
	padding: 40px 40px 48px;
}

.jmg-panel-full > .jmg-panel .jmg-panel__inner {
	max-width: var(--jmg-panel-max);
	margin: 0 auto;
}

.jmg-panel__grid {
	display: grid;
	grid-template-columns: repeat(var(--jmg-cols, 4), minmax(0, 1fr));
	gap: 36px 28px;
	align-items: start;
}

/* Two-column split of a flat item list (Company / Resources / Support) */
.jmg-panel__grid--duo {
	grid-template-columns: repeat(2, minmax(200px, 260px));
}

.jmg-panel__col {
	padding-right: 28px;
	border-right: 1px solid var(--jmg-panel-divider);
	min-width: 0;
}

.jmg-panel__col:last-child {
	padding-right: 0;
	border-right: 0;
}

/* Column header: mono numeral + uppercase title over a strong rule */
.jmg-col-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--jmg-panel-border);
}

.jmg-col-head__num {
	font-family: var(--jmg-mono);
	font-size: 10px;
	color: var(--jmg-num-color);
}

.jmg-col-heading {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jmg-heading-color);
	transition: color 0.12s ease;
}

a.jmg-col-heading:hover {
	color: var(--jmg-accent);
}

/* Panel links */
.jmg-col-links {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.jmg-col-link {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 5.5px 0;
	background: var(--jmg-hover-bg, transparent);
	transition: color 0.12s ease;
}

.jmg-col-link__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	color: var(--jmg-icon-color);
	font-size: 13px;
	line-height: 1;
}

.jmg-col-link__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.jmg-col-link__title {
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--jmg-title-color);
	transition: color 0.12s ease;
}

.jmg-col-link:hover .jmg-col-link__title {
	color: var(--jmg-title-hover);
}

.jmg-col-link__desc {
	font-size: 12px;
	line-height: 1.45;
	color: var(--jmg-desc-color);
}

/* 4th-level links: em-dash prefixed */
.jmg-col-sublinks {
	margin: 0 0 4px;
	padding-left: 16px;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.jmg-col-sublink {
	display: block;
	padding: 3px 0;
	font-size: 12.5px;
	color: var(--jmg-desc-color);
	transition: color 0.12s ease;
}

.jmg-col-sublink::before {
	content: "— ";
}

.jmg-col-sublink:hover {
	color: var(--jmg-accent);
}

/* "All →" column footer */
.jmg-col-all {
	display: inline-block;
	margin-top: 14px;
	font-family: var(--jmg-mono);
	font-size: 11px;
	color: var(--jmg-heading-color);
	border-bottom: 1px solid var(--jmg-panel-border);
	padding-bottom: 1px;
	transition: color 0.12s ease, border-color 0.12s ease;
}

.jmg-col-all:hover {
	color: var(--jmg-accent);
	border-bottom-color: var(--jmg-accent);
}

/* Big links list (v5 "Industries") */
.jmg-biglist {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 1000px;
}

.jmg-bigrow {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 13px 0;
	border-bottom: 1px solid var(--jmg-panel-divider);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--jmg-heading-color);
	transition: color 0.12s ease, padding-left 0.12s ease;
}

.jmg-bigrow:hover {
	color: var(--jmg-accent);
	padding-left: 8px;
}

.jmg-bigrow__num {
	font-family: var(--jmg-mono);
	font-size: 11px;
	color: var(--jmg-num-muted);
}

.jmg-bigrow__sub {
	font-size: 13px;
	font-weight: 400;
	color: var(--jmg-desc-color);
	margin-left: 6px;
}

/* Featured / CTA card — sharp, framed */
.jmg-panel__col--featured {
	align-self: stretch;
	border-right: 0;
	padding-right: 0;
}

.jmg-feature {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--jmg-panel-border);
	background: var(--jmg-feature-bg);
	overflow: hidden;
	transition: box-shadow 0.14s ease;
}

.jmg-feature:hover {
	box-shadow: var(--jmg-shadow);
}

.jmg-feature__media {
	display: block;
	width: 100%;
	border-bottom: 1px solid var(--jmg-panel-border);
}

.jmg-feature__media img {
	display: block;
	width: 100%;
	height: 130px;
	object-fit: cover;
}

.jmg-feature__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	flex: 1;
}

.jmg-feature__title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--jmg-feature-title);
	line-height: 1.35;
}

.jmg-feature__desc {
	font-size: 13px;
	line-height: 1.5;
	color: var(--jmg-feature-desc);
}

.jmg-feature__btn {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	align-self: flex-start;
	font-size: 13px;
	font-weight: 600;
	color: var(--jmg-feature-title);
	border-bottom: 1px solid var(--jmg-panel-border);
	padding-bottom: 2px;
	transition: color 0.12s ease, border-color 0.12s ease;
}

.jmg-feature:hover .jmg-feature__btn {
	color: var(--jmg-accent);
	border-bottom-color: var(--jmg-accent);
}

/* Elementor template inside a panel */
.jmg-panel__template {
	width: 100%;
	position: relative;
}

/* Hover media: image box on the right that swaps per hovered link */
.jmg-panel__inner--media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
	gap: 44px;
	align-items: stretch;
}

.jmg-panel__media {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--jmg-panel-border);
	background: #f4f4f6;
	min-height: 240px;
}

.jmg-panel__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.16s ease;
}

.jmg-panel__media.is-fading img {
	opacity: 0;
}

.jmg--mobile .jmg-panel__inner--media {
	display: block;
}

.jmg--mobile .jmg-panel__media {
	display: none;
}

/* =========================================================================
   Simple dropdowns (non-mega items with children)
   ====================================================================== */

.jmg-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding-top: var(--jmg-panel-offset);
	z-index: 9999;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.14s ease-out, transform 0.14s ease-out, visibility 0s linear 0.14s;
}

.jmg-anim-fade-up .jmg-dropdown {
	transform: translateY(6px);
}

.jmg-dropdown > li {
	position: relative;
}

.jmg-item.is-open > .jmg-dropdown,
.jmg-mega-menu:not(.jmg--ready) .jmg-item:hover > .jmg-dropdown {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 0s;
}

/* The visual card is painted by a ::before so the offset gap stays hoverable */
.jmg-dropdown::before {
	content: "";
	position: absolute;
	inset: var(--jmg-panel-offset) 0 0 0;
	background: var(--jmg-panel-bg);
	border: 1px solid var(--jmg-panel-border);
	box-shadow: var(--jmg-shadow);
	z-index: -1;
}

.jmg-dropdown > li {
	padding: 0 10px;
}

.jmg-dropdown > li:first-child {
	padding-top: 10px;
}

.jmg-dropdown > li:last-child {
	padding-bottom: 10px;
}

.jmg-drop-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--jmg-title-color);
	transition: color 0.12s ease;
}

.jmg-drop-link:hover {
	color: var(--jmg-title-hover);
}

.jmg-drop-link .jmg-link__chevron--flyout {
	margin-left: auto;
	transform: rotate(-90deg);
}

/* Flyout submenus open to the right */
.jmg-dropdown .jmg-dropdown {
	top: -10px;
	left: 100%;
	padding-top: 0;
	padding-left: 6px;
}

.jmg-dropdown .jmg-dropdown::before {
	inset: 0 0 0 6px;
}

/* =========================================================================
   Desktop page wash (shown below an open panel; closes menu on hover)
   ====================================================================== */

.jmg-overlay {
	display: none;
}

.jmg-overlay--panel {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0; /* JS sets the real top edge (below the menu bar) */
	z-index: 9990;
	background: var(--jmg-overlay-desktop);
	opacity: 0;
	transition: opacity 0.14s ease-out;
}

.jmg-overlay--panel.is-visible {
	opacity: 1;
}

.jmg-overlay[hidden] {
	display: none;
}

/* =========================================================================
   Hamburger button
   ====================================================================== */

.jmg-hamburger {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: var(--jmg-toggle-size);
	height: var(--jmg-toggle-size);
	background: var(--jmg-toggle-bg);
	color: var(--jmg-toggle-color);
	transition: background-color 0.14s ease;
}

.jmg-hamburger__line {
	display: block;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.24s ease, opacity 0.16s ease;
}

.jmg-hamburger.is-active .jmg-hamburger__line:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.jmg-hamburger.is-active .jmg-hamburger__line:nth-child(2) {
	opacity: 0;
}

.jmg-hamburger.is-active .jmg-hamburger__line:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================================================
   Mobile (.jmg--mobile is toggled by JS from the configured breakpoint)
   ====================================================================== */

.jmg-mobile-bar,
.jmg-subtoggle {
	display: none;
}

.jmg-mega-menu.jmg--mobile {
	justify-content: flex-end;
}

.jmg--mobile .jmg-hamburger {
	display: inline-flex;
}

.jmg--mobile .jmg-overlay {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 99998;
	background: var(--jmg-overlay-bg);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.jmg--mobile .jmg-overlay.is-visible {
	opacity: 1;
}

.jmg--mobile .jmg-overlay[hidden] {
	display: none;
}

/* --- Off-canvas drawer --- */
.jmg-mobile-offcanvas.jmg--mobile .jmg-nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(var(--jmg-mobile-width), 90vw);
	z-index: 99999;
	background: var(--jmg-mobile-bg);
	border-left: 1px solid var(--jmg-panel-border);
	display: flex;
	flex-direction: column;
	transform: translateX(110%);
	visibility: hidden;
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.34s;
	overflow: hidden;
}

.jmg-mobile-offcanvas.jmg--mobile .jmg-nav.is-open {
	transform: none;
	visibility: visible;
	transition-delay: 0s;
}

/* --- Dropdown mode (slides down under the header) --- */
.jmg-mobile-dropdown.jmg--mobile .jmg-nav {
	position: absolute;
	top: calc(100% + 8px);
	left: var(--jmg-x, 0);
	width: var(--jmg-w, 100%);
	z-index: 99999;
	background: var(--jmg-mobile-bg);
	border: 1px solid var(--jmg-panel-border);
	box-shadow: var(--jmg-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
	overflow: hidden auto;
	max-height: var(--jmg-max-h, 70vh);
}

.jmg-mobile-dropdown.jmg--mobile .jmg-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.jmg-mobile-dropdown.jmg--mobile .jmg-mobile-bar {
	display: none;
}

/* --- Shared mobile menu internals --- */
.jmg--mobile .jmg-mobile-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	padding: 16px 20px;
	border-bottom: 1px solid var(--jmg-panel-border);
}

.jmg-mobile-bar__title {
	font-family: var(--jmg-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--jmg-mobile-link);
}

.jmg-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--jmg-mobile-link);
	transition: color 0.14s ease;
}

.jmg-close:hover {
	color: var(--jmg-accent);
}

.jmg--mobile .jmg-menu {
	display: block;
	overflow-y: auto;
	flex: 1 1 auto;
	padding: 0 0 28px;
}

.jmg--mobile .jmg-item--top {
	position: static;
	border-bottom: 1px solid var(--jmg-mobile-divider);
}

.jmg--mobile .jmg-menu > .jmg-item--top > .jmg-link {
	display: flex;
	width: 100%;
	padding: 16px 20px;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: var(--jmg-mobile-link);
	white-space: normal;
}

.jmg--mobile .jmg-item--top.jmg-current > .jmg-link .jmg-dot {
	background: var(--jmg-accent);
}

.jmg--mobile .jmg-link__chevron {
	display: none;
}

.jmg--mobile .jmg-link .jmg-link__label::after {
	display: none;
}

/* Accordion toggles */
.jmg--mobile .jmg-subtoggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 6px;
	right: 12px;
	width: 38px;
	height: 38px;
	color: var(--jmg-mobile-link);
	opacity: 0.75;
	transition: transform 0.24s ease, color 0.14s ease;
}

.jmg--mobile .jmg-item {
	position: relative;
}

.jmg--mobile .jmg-subtoggle.is-open {
	transform: rotate(180deg);
	color: var(--jmg-accent);
	opacity: 1;
}

/* Panels & dropdowns become accordion sections (JS animates height) */
.jmg--mobile .jmg-panel,
.jmg--mobile .jmg-dropdown {
	position: static;
	display: none;
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	width: auto;
	min-width: 0;
	padding: 0;
	transition: none;
	overflow: hidden;
}

.jmg--mobile .jmg-dropdown::before {
	display: none;
}

.jmg--mobile .jmg-panel__box {
	background: transparent;
	border: 0;
	box-shadow: none;
}

.jmg--mobile .jmg-panel__ghost {
	display: none;
}

.jmg--mobile .jmg-panel__inner {
	padding: 6px 20px 20px;
	max-width: none;
}

.jmg--mobile .jmg-panel__grid,
.jmg--mobile .jmg-panel__grid--duo {
	grid-template-columns: 1fr;
	gap: 22px;
}

.jmg--mobile .jmg-panel__col {
	padding-right: 0;
	border-right: 0;
}

.jmg--mobile .jmg-col-head {
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.jmg--mobile .jmg-col-link {
	padding: 7px 0;
}

.jmg--mobile .jmg-biglist {
	max-width: none;
}

.jmg--mobile .jmg-bigrow {
	font-size: 19px;
	gap: 12px;
	padding: 11px 0;
}

.jmg--mobile .jmg-bigrow:hover {
	padding-left: 0;
}

.jmg--mobile .jmg-feature {
	max-width: 420px;
}

.jmg--mobile .jmg-dropdown {
	padding: 0 0 10px 14px;
}

.jmg--mobile .jmg-drop-link {
	padding: 9px 20px 9px 6px;
	font-size: 14px;
	color: var(--jmg-mobile-link);
}

.jmg--mobile .jmg-drop-link .jmg-link__chevron--flyout {
	display: none;
}

.jmg--mobile .jmg-dropdown .jmg-dropdown {
	padding-left: 14px;
}

/* Scroll lock while the drawer is open */
html.jmg-scroll-lock,
html.jmg-scroll-lock body {
	overflow: hidden !important;
}

/* =========================================================================
   Accessibility & misc
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
	.jmg-mega-menu *,
	.jmg-mega-menu *::before,
	.jmg-mega-menu *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
