/* JCC v1.1 - panel is portaled to body, outside Astra dropdown constraints. */
.chc-mega-trigger > .sub-menu,.chc-mega-trigger > .astra-full-megamenu-wrapper{display:none!important}
.chc-mega-trigger > .chc-toggle{border:0!important;background:transparent!important;color:inherit!important;cursor:pointer;padding:4px 8px!important;line-height:1!important;box-shadow:none!important}
.chc-mega-trigger > .chc-mega-panel{display:none!important}
body > .chc-mega-panel{display:none;position:fixed;left:0;right:0;top:var(--chc-top,100px);width:100vw;max-width:100vw;max-height:calc(100dvh - var(--chc-top,100px));overflow-y:auto;background:#fff;color:#182027;z-index:999999;box-shadow:0 14px 28px rgba(0,0,0,.14);border-top:1px solid #eee;box-sizing:border-box}
body > .chc-mega-panel.chc-visible{display:block}
body > .chc-mega-panel *{box-sizing:border-box;overflow-wrap:normal;word-break:normal;letter-spacing:normal}
body > .chc-mega-panel .chc-mega-inner{max-width:1500px;margin:0 auto;padding:36px 42px 44px}
body > .chc-mega-panel .chc-mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 30px}
body > .chc-mega-panel .chc-mega-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:16px;min-width:0}
body > .chc-mega-panel .chc-mega-logo{display:flex;align-items:center;justify-content:center;min-width:0;height:95px;padding:6px 15px;border-right:1px solid #d7dce0}
body > .chc-mega-panel .chc-mega-logo img{display:block;max-width:100%;max-height:85px;width:auto;height:auto;object-fit:contain}
body > .chc-mega-panel .chc-mega-logo strong{font-size:17px;line-height:1.35;text-align:center;white-space:normal}
body > .chc-mega-panel .chc-mega-info{min-width:0}
body > .chc-mega-panel .chc-mega-name{font-size:20px;line-height:1.3;margin:0 0 12px;color:#303940;font-weight:500;white-space:normal}
body > .chc-mega-panel .chc-mega-button{display:inline-block;min-width:125px;padding:9px 20px;border:1px solid #111a1e;border-radius:30px;background:#fff;color:#111a1e!important;font-size:14px;font-weight:600;line-height:1.3;text-align:center;text-decoration:none!important;white-space:nowrap}
body > .chc-mega-panel .chc-mega-button:hover,body > .chc-mega-panel .chc-mega-button:focus{background:#10191e;color:#fff!important}
@media(max-width:921px){body > .chc-mega-panel .chc-mega-inner{padding:22px 18px 30px}body > .chc-mega-panel .chc-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}body > .chc-mega-panel .chc-mega-card{grid-template-columns:1fr;text-align:center;gap:8px}body > .chc-mega-panel .chc-mega-logo{border-right:0;border-bottom:1px solid #eee;height:82px}body > .chc-mega-panel .chc-mega-logo img{max-height:68px}body > .chc-mega-panel .chc-mega-name{font-size:15px;margin-bottom:8px}body > .chc-mega-panel .chc-mega-button{min-width:0;font-size:12px}}
@media(max-width:480px){body > .chc-mega-panel .chc-mega-inner{padding:16px 12px 26px}body > .chc-mega-panel .chc-mega-grid{gap:20px 10px}body > .chc-mega-panel .chc-mega-logo{height:70px;padding:5px}body > .chc-mega-panel .chc-mega-logo img{max-height:56px}body > .chc-mega-panel .chc-mega-name{font-size:13px}}

/* v1.2 compact three-across, two-down layout */
body > .chc-mega-panel .chc-mega-inner{max-width:1320px;padding:18px 28px 22px}
body > .chc-mega-panel .chc-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px}
body > .chc-mega-panel .chc-mega-card{grid-template-columns:minmax(110px,44%) minmax(0,1fr);gap:14px;min-height:78px}
body > .chc-mega-panel .chc-mega-logo{height:72px;padding:5px 14px 5px 2px}
body > .chc-mega-panel .chc-mega-logo img{max-height:60px;max-width:100%}
body > .chc-mega-panel .chc-mega-name{font-size:16px;line-height:1.25;margin:0 0 8px}
body > .chc-mega-panel .chc-mega-button{min-width:105px;padding:7px 16px;font-size:12px}
/* Astra's original submenu caret is unnecessary beside our toggle */
.chc-mega-trigger > .ast-menu-toggle{display:none!important}
@media (max-width:921px){body > .chc-mega-panel .chc-mega-inner{padding:18px 16px 22px}body > .chc-mega-panel .chc-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body > .chc-mega-panel .chc-mega-card{grid-template-columns:1fr;gap:6px;text-align:center}body > .chc-mega-panel .chc-mega-logo{height:66px;border-right:0;border-bottom:1px solid #eee;padding:4px}body > .chc-mega-panel .chc-mega-logo img{max-height:54px}body > .chc-mega-panel .chc-mega-name{font-size:14px;margin:0 0 6px}}
@media (max-width:480px){body > .chc-mega-panel .chc-mega-inner{padding:12px 10px 16px}body > .chc-mega-panel .chc-mega-grid{gap:14px 10px}body > .chc-mega-panel .chc-mega-logo{height:58px}body > .chc-mega-panel .chc-mega-logo img{max-height:48px}body > .chc-mega-panel .chc-mega-name{font-size:13px}body > .chc-mega-panel .chc-mega-button{min-width:96px}}

/* v1.3: logo-only tiles, clickable logos, centered navigation alignment */
body > .chc-mega-panel .chc-mega-inner{max-width:1160px;padding:20px 28px 24px}
body > .chc-mega-panel .chc-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 24px}
body > .chc-mega-panel .chc-mega-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:112px;text-align:center}
body > .chc-mega-panel .chc-mega-logo{display:flex;align-items:center;justify-content:center;width:100%;height:58px;padding:0;border:0!important;text-decoration:none!important}
body > .chc-mega-panel .chc-mega-logo img{max-height:52px;max-width:195px;width:auto;height:auto;object-fit:contain;transition:transform .2s ease}
body > .chc-mega-panel a.chc-mega-logo:hover img{transform:scale(1.05)}
body > .chc-mega-panel .chc-mega-button{display:inline-flex;align-items:center;justify-content:center;min-width:126px;padding:7px 15px;font-size:12px}
/* Don't let the extra trigger button create a second line in Astra navigation. */
.ast-desktop .ast-primary-header-bar .chc-mega-trigger{position:relative;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-height:100%}
.ast-desktop .ast-primary-header-bar .chc-mega-trigger > .menu-link{display:inline-flex!important;align-items:center!important;height:100%!important;white-space:nowrap}
.ast-desktop .ast-primary-header-bar .chc-mega-trigger > .chc-toggle{position:absolute!important;right:0;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;justify-content:center;width:22px;height:26px;padding:0!important;font-size:14px}
.ast-desktop .ast-primary-header-bar .chc-mega-trigger > .menu-link{padding-right:28px!important}
/* Astra's built-in caret and submenu must not add duplicate arrows. */
.ast-desktop .ast-primary-header-bar .chc-mega-trigger > .menu-link .dropdown-menu-toggle{display:none!important}
.ast-desktop .ast-primary-header-bar .chc-mega-trigger > .menu-link .ast-icon{display:none!important}
@media(max-width:921px){body > .chc-mega-panel .chc-mega-inner{padding:18px 14px 22px}body > .chc-mega-panel .chc-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body > .chc-mega-panel .chc-mega-card{min-height:104px;gap:7px}body > .chc-mega-panel .chc-mega-logo{height:54px;border:0!important}body > .chc-mega-panel .chc-mega-logo img{max-height:48px;max-width:155px}}
@media(max-width:480px){body > .chc-mega-panel .chc-mega-inner{padding:14px 10px 18px}body > .chc-mega-panel .chc-mega-grid{gap:12px 8px}body > .chc-mega-panel .chc-mega-logo{height:48px}body > .chc-mega-panel .chc-mega-logo img{max-height:43px;max-width:135px}body > .chc-mega-panel .chc-mega-button{min-width:0;padding:6px 12px;font-size:11px}}
