/* ==========================================================================
   HW Mega Menu
   Scoped to .hw-mega-nav — no dependency on Divi selectors.
   Consumes brand CSS vars defined in edigi/style.css:
     --main-orange: #f26322
     --main-gray:   #3e4042
     --dark-gray:   #231f20
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Utilities
   -------------------------------------------------------------------------- */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   1. Component isolation — neutralise Divi's global element resets
      Scoped to #hw-mega-menu (desktop) and #hw-mobile-drawer (mobile)
      so nothing leaks to the rest of the page.
   -------------------------------------------------------------------------- */

:where(#hw-mega-menu, #hw-mobile-drawer) * {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

:where(#hw-mega-menu, #hw-mobile-drawer) ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Override Divi's .et-l--header ul rule (specificity 0,1,1) which sets
   list-style-type:disc, padding:0 0 23px 1em, line-height:26px.
   ID selectors (1,0,1) win over class selectors (0,1,1). */
#hw-mega-menu ul,
#hw-mobile-drawer ul {
	list-style: none;
	padding: 0;
	line-height: inherit;
}

:where(#hw-mega-menu, #hw-mobile-drawer) a {
	text-decoration: none;
	color: inherit;
}

:where(#hw-mega-menu, #hw-mobile-drawer) button {
	font-family: inherit;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
}

:where(#hw-mega-menu) img {
	display: block;
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   2. Root nav wrapper
   -------------------------------------------------------------------------- */

.hw-site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hw-mega-nav__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.hw-mega-nav__logo img {
	display: block;
	height: 40px;
	width: auto;
}

.hw-mega-nav {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: auto;
}

.hw-mega-nav__list {
	display: flex;
	align-items: center;
	list-style: none !important;
	margin: 0;
	padding: 0;
	gap: 0;
}

/* --------------------------------------------------------------------------
   2. Top-level nav items
   -------------------------------------------------------------------------- */

.hw-nav-item {
	position: relative;
	list-style: none !important;
}

/* Trigger button (items with children) */
.hw-mega-trigger {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0 16px;
	height: 66px;
	font-family: 'Brandon Grotesque woff', 'Brandon Grotesque', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--main-gray, #3e4042);
	white-space: nowrap;
	transition: color 0.2s ease;
}

.hw-mega-trigger:hover,
.hw-mega-trigger[aria-expanded="true"] {
	color: var(--main-orange, #f26322);
}

/* Chevron icon */
.hw-trigger-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.hw-mega-trigger[aria-expanded="true"] .hw-trigger-chevron {
	transform: rotate(180deg);
}

/* Plain link (leaf items) */
.hw-nav-link {
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	height: 66px;
	font-family: 'Brandon Grotesque woff', 'Brandon Grotesque', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--main-gray, #3e4042);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.hw-nav-link:hover,
.hw-nav-link[aria-current="page"] {
	color: var(--main-orange, #f26322);
}

/* --------------------------------------------------------------------------
   3. Standard dropdown
   -------------------------------------------------------------------------- */

.hw-dropdown-wrap {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	z-index: 9999;
	/* Hidden state */
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.hw-dropdown-wrap[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.hw-dropdown {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	border-top: 3px solid var(--main-orange, #f26322);
}

.hw-dropdown-item {
	position: relative;
}

.hw-dropdown-link {
	display: block;
	padding: 9px 20px;
	font-family: 'Jost', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: var(--main-gray, #3e4042);
	text-decoration: none;
	transition: color 0.15s ease, background 0.15s ease;
	white-space: nowrap;
}

.hw-dropdown-link:hover,
.hw-dropdown-link[aria-current="page"] {
	color: var(--main-orange, #f26322);
	background: #fdf3ee;
}

/* Nested dropdown */
.hw-dropdown--nested {
	position: absolute;
	top: 0;
	left: 100%;
	min-width: 200px;
}

/* --------------------------------------------------------------------------
   4. Mega panel
   -------------------------------------------------------------------------- */

.hw-mega-panel {
	position: fixed;
	top: var(--hw-nav-bottom, 66px);
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	background: #f5f5f5;
	border-top: 3px solid var(--main-orange, #f26322);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
	/* Hidden state */
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.hw-mega-panel[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.hw-mega-panel__inner {
	max-width: var(--hw-content-width, 1380px);
	margin: 0 auto;
	padding: 32px 40px 36px;
}

.hw-mega-panel__heading {
	font-family: Montserrat, Helvetica, Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dark-gray, #231f20);
	margin: 0 0 20px;
}

/* --------------------------------------------------------------------------
   4a. Column-based panel layout
   -------------------------------------------------------------------------- */

.hw-mega-panel__columns {
	display: flex;
	gap: 64px;
	align-items: flex-start;
}

/* Each column — flex-grow set by inline style from PHP */
.hw-mega-col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hw-mega-col__heading {
	font-family: Montserrat, Helvetica, Arial, sans-serif !important;
	font-size: 18px;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dark-gray, #231f20) !important;
	margin: 0 0 4px;
	padding-bottom: 10px !important;
	border-bottom: 1px solid #ddd;
}

/* Menu list — rendered by HW_Mega_Col_Walker */
.hw-mega-menu-list,
.hw-mega-menu-list__sub {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hw-mega-menu-list li {
	list-style: none !important;
}

.hw-mega-menu-list__item {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}

/* All links */
.hw-mega-menu-list__link {
	display: block !important;
	padding: 8px 0 !important;
	font-family: 'Jost', Helvetica, Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: var(--dark-gray, #231f20) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
	line-height: 1.3;
}

/* Top-level items — same as all links, no special treatment */
.hw-mega-menu-list__item--top > .hw-mega-menu-list__link--top {
	font-size: 16px !important;
	font-weight: 500 !important;
}

.hw-mega-menu-list__link:hover,
.hw-mega-menu-list__link[aria-current="page"] {
	color: var(--main-orange, #f26322) !important;
}

/* Sub-items — hidden by default, animated open/close via JS-set max-height */
.hw-mega-menu-list__sub {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
	flex-basis: 100%;
	padding: 0 0 0 14px !important;
	margin: 0 !important;
}

/* Parent items with children — full-width row layout */
.hw-mega-menu-list__item.menu-item-has-children {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

/* Link in split items stretches to fill row, pushing chevron right */
.hw-mega-menu-list__item.menu-item-has-children > .hw-mega-menu-list__link {
	flex: 1;
}

/* Chevron toggle button */
.hw-mega-sub-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px 6px;
	color: var(--main-gray, #3e4042);
	transition: color 0.15s ease;
	flex-shrink: 0;
}

.hw-mega-sub-toggle:hover {
	color: var(--main-orange, #f26322);
}

.hw-mega-sub-toggle svg {
	display: block;
	transition: transform 0.2s ease;
}

.hw-mega-sub-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

/* Bordered chevron on split items (has real URL) */
.hw-mega-menu-list__item.menu-item-has-children > .hw-mega-sub-toggle:not(.hw-mega-sub-toggle--full) {
	border: 1px solid #d0d0d0;
	border-radius: 0;
	padding: 0;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.hw-mega-menu-list__item.menu-item-has-children > .hw-mega-sub-toggle:not(.hw-mega-sub-toggle--full):hover {
	border-color: var(--main-orange, #f26322);
}

/* Full-width button: spans entire row as label + chevron, matches link--top styling */
.hw-mega-sub-toggle--full {
	flex: 1;
	justify-content: space-between;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: var(--dark-gray, #231f20) !important;
	text-align: left;
	padding: 8px 0;
	transition: color 0.15s ease;
}

/* Bordered chevron inside full-width buttons — visually matches split-item chevron box */
.hw-mega-sub-toggle--full svg {
	box-sizing: border-box;
	border: 1px solid #d0d0d0;
	border-radius: 0;
	width: 32px;
	height: 32px;
	padding: 10px;
	transition: border-color 0.15s ease;
	flex-shrink: 0;
}

/* Hover / open state — orange chevron border */
.hw-mega-sub-toggle--full:hover {
	color: var(--main-orange, #f26322) !important;
}

.hw-mega-sub-toggle--full:hover svg {
	border-color: var(--main-orange, #f26322);
}

.hw-mega-menu-list__sub .hw-mega-menu-list__link {
	font-size: 15px !important;
	font-weight: 400 !important;
	padding: 6px 0 !important;
	color: var(--main-gray, #3e4042) !important;
}

.hw-mega-menu-list__sub .hw-mega-menu-list__link:hover {
	color: var(--main-orange, #f26322) !important;
}

/* Empty state */
.hw-mega-panel__empty {
	font-family: 'Jost', Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #8c8f94;
	font-style: italic;
	margin: 0;
}

/* --------------------------------------------------------------------------
   4aa. Content block types
   -------------------------------------------------------------------------- */

.hw-block { width: 100%; }

/* Button block */
.hw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 10px 20px;
	border-radius: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
	line-height: 1;
}

.hw-btn--primary {
	background: var(--main-orange, #f26322);
	color: #fff;
	border: 2px solid var(--main-orange, #f26322);
}
.hw-btn--primary:hover {
	background: #d4521a;
	border-color: #d4521a;
	color: #fff;
}

.hw-btn--secondary {
	background: var(--main-gray, #3e4042);
	color: #fff;
	border: 2px solid var(--main-gray, #3e4042);
}
.hw-btn--secondary:hover {
	background: var(--dark-gray, #231f20);
	border-color: var(--dark-gray, #231f20);
	color: #fff;
}

.hw-btn--outline {
	background: transparent;
	color: var(--main-orange, #f26322);
	border: 2px solid var(--main-orange, #f26322);
}
.hw-btn--outline:hover {
	background: var(--main-orange, #f26322);
	color: #fff;
}

/* Image block */
.hw-block--image { line-height: 0; }

.hw-block-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
}

/* Icon + Text block */
.hw-block--icon-text {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.hw-block-icon {
	flex-shrink: 0;
	color: var(--main-orange, #f26322);
	margin-top: 2px;
}

.hw-block-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hw-block-heading {
	font-family: 'Brandon Grotesque woff', 'Brandon Grotesque', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--dark-gray, #231f20);
}

.hw-block-text {
	font-family: 'Jost', Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: var(--main-gray, #3e4042);
	line-height: 1.4;
}

/* HTML block */
.hw-block--html {
	font-family: 'Jost', Helvetica, Arial, sans-serif;
	font-size: 16px;
	max-width: 35ch;
	color: var(--main-gray, #3e4042);
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4b. Panel alignment modifiers
   -------------------------------------------------------------------------- */

/* -- Dropdown alignment -- */
.hw-dropdown-wrap--left   { left: 0; right: auto; }
.hw-dropdown-wrap--right  { left: auto; right: 0; }
.hw-dropdown-wrap--center {
	left: 50%;
	right: auto;
	transform: translateX(-50%) translateY(-6px);
}
.hw-dropdown-wrap--center[aria-hidden="false"] {
	transform: translateX(-50%) translateY(0);
}

/* Mega panel is always full-width — alignment modifiers are no-ops */

/* --------------------------------------------------------------------------
   5. Focus styles (accessibility)
   -------------------------------------------------------------------------- */

.hw-mega-trigger:focus,
.hw-nav-link:focus,
.hw-dropdown-link:focus,
.hw-mega-col-link:focus,
.hw-mega-menu-list__link:focus,
.hw-mega-sub-toggle:focus {
	outline: 2px solid var(--main-orange, #f26322);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Suppress outline on mouse click for browsers that support :focus-visible */
.hw-mega-trigger:focus:not(:focus-visible),
.hw-nav-link:focus:not(:focus-visible),
.hw-dropdown-link:focus:not(:focus-visible),
.hw-mega-col-link:focus:not(:focus-visible),
.hw-mega-menu-list__link:focus:not(:focus-visible),
.hw-mega-sub-toggle:focus:not(:focus-visible) {
	outline: none;
}

/* --------------------------------------------------------------------------
   6. Mobile toggle (hamburger) — hidden on desktop
   -------------------------------------------------------------------------- */

.hw-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	margin-left: auto;
}

.hw-mobile-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--main-orange, #f26322);
	border-radius: 2px;
	transform-origin: center;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* X state */
.hw-mobile-toggle[aria-expanded="true"] .hw-mobile-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.hw-mobile-toggle[aria-expanded="true"] .hw-mobile-toggle__bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.hw-mobile-toggle[aria-expanded="true"] .hw-mobile-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hw-mobile-toggle:focus {
	outline: 2px solid var(--main-orange, #f26322);
	outline-offset: 2px;
	border-radius: 2px;
}
.hw-mobile-toggle:focus:not(:focus-visible) {
	outline: none;
}

/* --------------------------------------------------------------------------
   7. Mobile drawer
   -------------------------------------------------------------------------- */

#hw-drawer-overlay {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(35, 31, 32, 0.5);
	z-index: 99998;
}

#hw-drawer-overlay.hw-is-open {
	display: block;
}

#hw-mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 320px;
	max-width: 85vw;
	height: 100vh;
	height: 100dvh;
	background: #fff;
	z-index: 99999;
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

#hw-mobile-drawer[aria-hidden="false"] {
	transform: translateX(0);
}

.hw-mobile-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #ebebeb;
	flex-shrink: 0;
}

.hw-mobile-drawer__close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: var(--main-gray, #3e4042);
	line-height: 1;
}

.hw-mobile-drawer__close:focus {
	outline: 2px solid var(--main-orange, #f26322);
	outline-offset: 2px;
	border-radius: 2px;
}
.hw-mobile-drawer__close:focus:not(:focus-visible) {
	outline: none;
}

.hw-mobile-drawer__nav {
	flex: 1;
	padding: 0 0 32px;
}

.hw-mobile-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Mobile items */
.hw-mobile-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid #d0d0d0;
}

.hw-mobile-link,
.hw-mobile-sublink {
	flex: 1;
	padding: 15px 20px;
	color: var(--dark-gray, #231f20);
	text-decoration: none;
	transition: color 0.15s ease;
}

.hw-mobile-link {
	font-family: Montserrat, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hw-mobile-sublink {
	font-family: 'Jost', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	padding: 15px 20px 15px 32px;
}

/* Nested sub-link (children of menu items inside mega panel) */
.hw-mobile-sublink--nested {
	padding-left: 44px;
	font-size: 13px;
	color: #595d63;
}

/* Column heading inside mega accordion panel — mirrors desktop style */
.hw-mobile-item--col-heading {
	border-bottom: none !important; /* span carries the full-width border; suppress panel rule */
	padding: 0;
	margin-top: 12px;
}

.hw-mobile-col-heading {
	display: block;
	width: 100%; /* stretch to full <li> width so border-bottom spans edge-to-edge */
	padding: 14px 20px 10px 32px;
	font-family: Montserrat, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dark-gray, #231f20) !important;
	border-bottom: 1px solid #d0d0d0;
}

/* Icon+text block */
.hw-mobile-item--meta {
	align-items: flex-start;
}

.hw-mobile-sublink--meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hw-mobile-meta-heading {
	font-weight: 600 !important;
}

.hw-mobile-meta-sub {
	font-size: 12px !important;
	color: #595d63 !important;
	font-weight: 400 !important;
}

/* Button block */
.hw-mobile-item--button {
	padding: 12px 20px 12px 32px;
}

/* Image block */
.hw-mobile-item--image {
	padding: 12px 20px 12px 32px;
}

.hw-mobile-mega-img-link {
	display: block;
}

.hw-mobile-mega-img {
	display: block;
	width: 100%;
	max-width: 280px;
	height: auto;
	border-radius: 3px;
}

/* HTML block */
.hw-mobile-item--html {
	padding: 12px 20px 12px 32px;
	font-size: 15px;
	color: var(--main-gray, #3e4042);
	display: block;
}

/* CTA button link inside mega accordion */
.hw-mobile-sublink--cta {
	color: var(--main-orange, #f26322);
	font-weight: 700;
}

.hw-mobile-link:hover,
.hw-mobile-sublink:hover,
.hw-mobile-link[aria-current="page"],
.hw-mobile-sublink[aria-current="page"] {
	color: var(--main-orange, #f26322);
}

/* Accordion toggle button */
.hw-accordion-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 15px 20px;
	color: var(--main-gray, #3e4042);
	transition: color 0.15s ease, transform 0.2s ease;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hw-accordion-toggle svg {
	display: block;
	transition: transform 0.2s ease;
}

.hw-accordion-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

/* Top border on open accordion panel — visually separates the trigger row from its content */
.hw-accordion-panel:not([hidden]) {
	border-top: 1px solid #d0d0d0;
}

.hw-accordion-toggle:focus {
	outline: 2px solid var(--main-orange, #f26322);
	outline-offset: 2px;
	border-radius: 2px;
}
.hw-accordion-toggle:focus:not(:focus-visible) {
	outline: none;
}

/* Vertical divider: separates the navigable link from the chevron toggle.
   Color matches the horizontal item separators at each level. */
.hw-has-real-link > .hw-accordion-toggle {
	align-self: stretch;
	border-left: 1px solid #d0d0d0;
}

/* Full-row toggle: used when the parent has no real URL.
   Replaces the <a> + <button> pair with a single button that spans the row. */
.hw-accordion-toggle--full {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-align: left;
	padding: 15px 20px;
	font-family: Montserrat, Helvetica, Arial, sans-serif;
	font-size: 16px !important;
	font-weight: 700 !important;
	/* letter-spacing: 0.1em; */
	/* text-transform: uppercase; */
	color: var(--dark-gray, #231f20) !important;
}

.hw-accordion-toggle--full:hover {
	color: var(--main-orange, #f26322) !important;
}

/* Sub-level full-row toggle (depth 1 — inside a mega/accordion panel) */
.hw-accordion-panel .hw-accordion-toggle--full {
	padding: 15px 20px 15px 32px;
	font-family: 'Jost', Helvetica, Arial, sans-serif;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: var(--dark-gray, #231f20) !important;
}

/* Deeper nested full-row toggle (depth 2+) */
.hw-accordion-panel .hw-accordion-panel .hw-accordion-toggle--full {
	padding-left: 40px;
	font-size: 14px !important;
	color: #595d63 !important;
}

/* Accordion panel */
.hw-accordion-panel {
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	/* max-height driven by JS for animation */
	transition: max-height 0.3s ease;
}

/* First-level panel gets the same grey background as the desktop mega panel */
.hw-mobile-drawer__list > .hw-mobile-item > .hw-accordion-panel {
	background: #f5f5f5;
}

/* Level-2+ panels — darker background + left accent border for depth separation */
.hw-accordion-panel .hw-accordion-panel {
	background: #ebebeb;
	border-left: 3px solid #d0d0d0;
}

.hw-accordion-panel .hw-mobile-item {
	border-bottom: 1px solid #d0d0d0;
}

/* No separator on non-nav block types */
.hw-accordion-panel .hw-mobile-item--button,
.hw-accordion-panel .hw-mobile-item--html,
.hw-accordion-panel .hw-mobile-item--image,
.hw-accordion-panel .hw-mobile-item--meta {
	border-bottom: none;
}

.hw-accordion-panel .hw-mobile-item:last-child {
	border-bottom: none;
}

/* Accordion toggle inside a panel — match sub-link vertical padding */
.hw-accordion-panel .hw-accordion-toggle {
	padding-top: 15px;
	padding-bottom: 15px;
}

/* Nested panel (depth 2+) — add left indent so items align with their parent link */
.hw-accordion-panel .hw-accordion-panel .hw-mobile-sublink {
	padding-left: 52px;
}

.hw-accordion-panel .hw-accordion-panel .hw-accordion-panel .hw-mobile-sublink {
	padding-left: 64px;
}

/* --------------------------------------------------------------------------
   8. Responsive — mobile breakpoint (matches Divi: 980px)
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
	/* Hide desktop menu list */
	.hw-mega-nav__list {
		display: none;
	}

	/* Show hamburger */
	.hw-mobile-toggle {
		display: flex;
	}
}

/* --------------------------------------------------------------------------
   9. Reduced motion
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   WordPress admin toolbar offset (logged-in users)
   WP toolbar is 32px tall above 782px and 46px tall at ≤782px.
   -------------------------------------------------------------------------- */

.admin-bar #hw-mobile-drawer {
	top: 32px;
	height: calc(100vh - 32px);
	height: calc(100dvh - 32px);
}

.admin-bar #hw-drawer-overlay {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar #hw-mobile-drawer {
		top: 46px;
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
	}

	.admin-bar #hw-drawer-overlay {
		top: 46px;
	}
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.hw-mega-panel,
	.hw-dropdown-wrap,
	.hw-trigger-chevron,
	.hw-mobile-toggle__bar,
	.hw-accordion-toggle svg,
	.hw-accordion-panel,
	.hw-mega-menu-list__sub,
	#hw-mobile-drawer {
		transition: none !important;
		animation: none !important;
	}
}
