/* LH Mega Menu — structural styles. Colours/typography are overridable via the widget's Elementor style controls. */

.lhm { font-family: 'Public Sans', system-ui, sans-serif; line-height: 1.6; position: relative; }
.lhm *, .lhm *::before, .lhm *::after { box-sizing: border-box; }
.lhm .lhm-ic { flex: none; display: inline-block; vertical-align: middle; }
.lhm .lhm-green { color: #0f7a4d; }
.lhm a, .lhm a:visited, .lhm a:hover, .lhm a:focus { text-decoration: none; }
/* Hold each link's colour against the theme's link/visited (orange) styling. */
.lhm .lhm-nav-item, .lhm .lhm-nav-item:visited { color: #37433a; }
.lhm .lhm-sublink, .lhm .lhm-sublink:visited { color: #37433a; }
.lhm .lhm-group-head a, .lhm .lhm-group-head a:visited { color: #0f7a4d; }
.lhm .lhm-rail-cta, .lhm .lhm-rail-cta:visited { color: #fff; }
.lhm .lhm-m-links a, .lhm .lhm-m-links a:visited { color: #4b574d; }
.lhm .lhm-m-contact, .lhm .lhm-m-contact:visited { color: #0c3826; }
.lhm .lhm-m-cta, .lhm .lhm-m-cta:visited { color: #fff; }
.lhm .lhm-round-phone, .lhm .lhm-round-phone:visited { color: #e2b25c; }
.lhm button { font: inherit; background: none; border: none; cursor: pointer; }
/* Neutralize the active theme's button hover/focus/active styling (it leaks a red
   fill onto our menu buttons). Intended states below use classes and win on specificity. */
.lhm button:hover, .lhm button:focus, .lhm button:active, .lhm button:focus-visible {
	background-color: transparent; box-shadow: none; outline: none;
}
.lhm .lhm-cat-ic { display: inline-flex; align-items: center; color: #0f7a4d; }
.lhm .lhm-cat-ic i { font-size: 16px; color: inherit; }
/* Category icons render as Elementor inline SVGs whose paths default to black;
   force currentColor so they take the green icon colour consistently. */
.lhm .lhm-cat-ic svg { width: 17px; height: 17px; fill: currentColor; }
.lhm .lhm-cat-ic svg path { fill: currentColor; }

/* ---------- Desktop nav bar ---------- */
.lhm-bar { border-top: 1px solid rgba(12, 56, 38, .08); background: #f7faf8; position: relative; }
.lhm-nav { max-width: 1400px; margin: 0 auto; padding: 0 18px; display: flex; align-items: stretch; gap: 2px; font-size: 13.5px; font-weight: 600; color: #37433a; }
.lhm-nav-item { display: flex; align-items: center; gap: 5px; padding: 14px 9px; color: #37433a; border-bottom: 3px solid transparent; white-space: nowrap; transition: color .15s; }
.lhm-nav-item:hover, .lhm-nav-item.is-active { color: #0f7a4d; }
.lhm-chev { opacity: .55; }

/* ---------- Mega panel ---------- */
.lhm-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid rgba(12, 56, 38, .1); border-bottom: 1px solid rgba(12, 56, 38, .12); box-shadow: 0 30px 60px -30px rgba(10, 45, 30, .4); z-index: 95; }
.lhm-panel-in { max-width: 1400px; margin: 0 auto; padding: 22px 24px; display: flex; gap: 28px; }
.lhm-rail { width: 320px; flex: none; display: flex; flex-direction: column; gap: 4px; }
.lhm-rail-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; color: #37433a; font-weight: 700; font-size: 15.5px; padding: 15px 16px; border-radius: 12px; transition: background .15s, color .15s; }
.lhm-rail-btn .lhm-rail-title { flex: 1; }
.lhm-rail-btn .lhm-rail-count { font-size: 12px; font-weight: 600; color: #7a8f80; }
.lhm .lhm-rail-btn.is-active,
.lhm .lhm-rail-btn.is-active:hover,
.lhm .lhm-rail-btn.is-active:focus { background-color: #0f7a4d; color: #fff; }
.lhm-rail-btn.is-active .lhm-rail-count { color: rgba(255, 255, 255, .8); }
.lhm-rail-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 14px; border-radius: 12px; background: #0c3826; color: #fff; font-weight: 700; font-size: 14px; }
.lhm-rail-cta:hover { background: #0f7a4d; color: #fff; }

.lhm-links { flex: 1; min-width: 0; border-left: 1px solid rgba(12, 56, 38, .1); padding-left: 28px; }
.lhm-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.lhm-group-head h4 { font-family: 'Spectral', Georgia, serif; font-weight: 700; font-size: 22px; color: #0c3826; margin: 0; line-height: 1.2; }
.lhm-group-head a { font-size: 13px; font-weight: 700; color: #0f7a4d; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.lhm-group-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 28px; }
.lhm-col { display: flex; flex-direction: column; }
.lhm-sublink { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #37433a; transition: background .15s, color .15s; }
.lhm-sublink:hover { background: #e7f2eb; color: #0c3826; }

/* ---------- Mobile bar (round phone + burger, floated up into the logo row) ---------- */
.lhm-mobilebar { display: none; position: absolute; top: -61px; right: 20px; align-items: center; gap: 10px; z-index: 96; }
/* High-specificity + explicit states so the theme's button focus/active styles can't leak through. */
.lhm .lhm-round { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; transition: background-color .15s, border-color .15s, color .15s; }
.lhm .lhm-round:focus { outline: none; }
.lhm .lhm-round:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(15, 122, 77, .28); }

/* Phone button — dark green fill, gold icon */
.lhm .lhm-round-phone { background: #0c3826; border: 0; color: #e2b25c; }
.lhm .lhm-round-phone:hover, .lhm .lhm-round-phone:active { background: #0f7a4d; color: #e2b25c; }

/* Burger — outlined circle, dark-green icon */
.lhm .lhm-burger { background: transparent; border: 1.5px solid rgba(12, 56, 38, .18); color: #0c3826; }
.lhm .lhm-burger:hover, .lhm .lhm-burger:active { background: #e7f2eb; border-color: rgba(12, 56, 38, .3); color: #0c3826; }
/* Open state — filled dark green with white X (holds through hover/focus) */
.lhm.is-open .lhm-burger,
.lhm.is-open .lhm-burger:hover,
.lhm.is-open .lhm-burger:focus { background: #0c3826; border-color: #0c3826; color: #fff; }
.lhm .lhm-burger .lhm-ic { color: currentColor; }
.lhm .lhm-burger svg { stroke: currentColor; }

.lhm-burger-close { display: none; }
.lhm.is-open .lhm-burger-open { display: none; }
.lhm.is-open .lhm-burger-close { display: inline-flex; }

/* ---------- Mobile drawer ---------- */
.lhm-drawer { border-top: 1px solid rgba(12, 56, 38, .1); background: #fff; max-height: 75vh; overflow-y: auto; }
.lhm-drawer-in { padding: 10px 20px 18px; display: flex; flex-direction: column; }
.lhm-drawer-label { padding: 14px 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0f7a4d; }
.lhm-m-cat { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 4px; font-weight: 700; font-size: 15px; color: #0c3826; border-bottom: 1px solid rgba(12, 56, 38, .06); }
.lhm-m-cat .lhm-m-cat-label { flex: 1; }
.lhm-m-chev { color: #5c6a5e; transition: transform .18s; }
.lhm-m-cat[aria-expanded="true"] .lhm-m-chev { transform: rotate(180deg); }
.lhm-m-groups { padding: 2px 0 8px 12px; border-bottom: 1px solid rgba(12, 56, 38, .06); }
.lhm-m-group { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 4px; font-weight: 700; font-size: 13.5px; color: #0f7a4d; }
.lhm-m-group span { flex: 1; }
.lhm-m-group .lhm-ic { transition: transform .18s; }
.lhm-m-group[aria-expanded="true"] .lhm-ic { transform: rotate(45deg); }
.lhm-m-links { display: flex; flex-direction: column; padding: 0 0 8px 14px; }
.lhm-m-links a { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13.5px; font-weight: 500; color: #4b574d; }
.lhm-m-contact { padding: 14px 4px; font-weight: 700; font-size: 15px; color: #0c3826; display: flex; align-items: center; gap: 12px; }
.lhm-m-cta { margin-top: 12px; text-align: center; background: #0f7a4d; color: #fff; font-weight: 700; padding: 14px; border-radius: 100px; }
.lhm-m-cta:hover { background: #0c6340; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.lhm-nav, .lhm-mega { display: none; }
	.lhm-bar { border-top: 0; background: transparent; }
	.lhm-mobilebar { display: flex; }
}
