/* Mobile drill-down menu. Navy #1b2432, red #ed1c24. Desktop mega menu is untouched above 980px. */
.eib-mm-bar, .eib-mm { display: none; }

@media (max-width: 980px) {
	/* Compact red bar replaces the Divi Theme Builder header on phones and tablets. */
	header.et-l--header { display: none !important; }
	body { padding-top: 66px; }
	.eib-mm-bar { display: flex; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; z-index: 99990; box-sizing: border-box; height: 66px; padding: 0 6px 0 16px; background: #ed1c24; }
	.admin-bar .eib-mm-bar { top: 46px; }
	.eib-mm-logo { display: flex; align-items: center; height: 100%; }
	.eib-mm-logo img { display: block; width: auto; height: 46px; max-width: 62vw; }
	.eib-mm-actions { display: flex; align-items: center; }
	.eib-mm-ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; border-radius: 4px; color: #fff; cursor: pointer; }
	.eib-mm-bars { display: block; width: 24px; }
	.eib-mm-bars i { display: block; height: 2px; margin: 5px 0; background: #fff; }
	.eib-mm-ico:focus-visible, .eib-mm-close:focus-visible, .eib-mm-row:focus-visible, .eib-mm-call:focus-visible, .eib-mm-foot a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
	.eib-mm-row:focus-visible, .eib-mm-foot a:focus-visible { outline-color: #ed1c24; }
	.eib-mm-call { display: flex; align-items: center; flex: 0 0 auto; box-sizing: border-box; min-height: 52px; padding: 0 20px; background: #ed1c24; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
	.eib-mm-foot { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #f6f6f7; border-top: 1px solid #e8e9eb; }
	.eib-mm-foot a { color: #1b2432; font-size: 14px; font-weight: 500; text-decoration: none; }
	.eib-mm-foot .eib-mm-region { color: #ed1c24; font-size: 12px; font-style: italic; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

	.eib-mm { position: fixed; inset: 0; z-index: 100000; flex-direction: column; background: #fff; color: #1b2432; font-family: inherit; }
	.eib-mm.is-open { display: flex; }
	.eib-mm[hidden] { display: none; }
	.eib-mm-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; height: 60px; padding: 0 8px 0 20px; background: #1b2432; color: #fff; }
	.eib-mm-title { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
	.eib-mm-close { width: 44px; height: 44px; padding: 0; background: none; border: 0; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }

	.eib-mm-views { position: relative; flex: 1 1 auto; overflow: hidden; }
	.eib-mm-view { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: #fff; visibility: hidden; transform: translateX(100%); transition: transform .25s ease, visibility 0s linear .25s; }
	.eib-mm-view[data-view="root"] { transform: translateX(-30%); }
	.eib-mm-view.is-active { visibility: visible; transform: none; transition: transform .25s ease; }
	.eib-mm-view.is-left { transform: translateX(-30%); }

	.eib-mm-list { margin: 0; padding: 0; list-style: none; }
	.eib-mm-list li { margin: 0; padding: 0; }
	.eib-mm-row { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; width: 100%; min-height: 56px; margin: 0; padding: 0 20px; background: none; border: 0; border-bottom: 1px solid #e8e9eb; border-radius: 0; color: #1b2432; font: inherit; font-size: 17px; font-weight: 700; line-height: 1.25; text-align: left; text-decoration: none; text-transform: uppercase; cursor: pointer; }
	.eib-mm-row:active { background: #f6f6f7; }
	.eib-mm-all { color: #ed1c24; }
	.eib-mm-back { justify-content: flex-start; gap: 10px; min-height: 52px; background: #f6f6f7; font-size: 14px; letter-spacing: .06em; }
	.eib-mm-sep { margin-top: 12px !important; border-top: 1px solid #e8e9eb; }
	.eib-mm-sep .eib-mm-row, .eib-mm-sep ~ li .eib-mm-row { font-size: 15px; font-weight: 700; text-transform: none; }
	.eib-mm-info { padding: 24px 20px 28px; }
	.eib-mm-info h3 { margin: 0 0 6px; padding: 0; color: #ed1c24; font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
	.eib-mm-info p { margin: 0 0 20px; padding: 0; color: #1b2432; font-size: 15px; line-height: 1.5; }
	.eib-mm-info p:last-child { margin-bottom: 0; }
	.eib-mm-info a { color: #1b2432; text-decoration: underline; text-underline-offset: 2px; }
	.eib-mm-chev { width: 9px; height: 9px; border-top: 2px solid #ed1c24; border-right: 2px solid #ed1c24; transform: rotate(45deg); flex: 0 0 auto; }
	.eib-mm-chev-l { transform: rotate(-135deg); }

	html.eib-mm-lock, html.eib-mm-lock body { overflow: hidden; }

}

@media (prefers-reduced-motion: reduce) {
	.eib-mm-view, .eib-mm-view.is-active { transition: none; }
}
