.elementor-8 .elementor-element.elementor-element-a501777{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-4f1bdfe *//* Engramm header/footer additions. Load AFTER engramm-site.css.
   Uses the same .eg.eg specificity and --u / --f* / colour tokens as the base file. */

/* ================= HEADER ================= */

/* Spec: sticky on scroll -> stays visible (base file hides it while scrolling down) */
.eg.eg.eg-header.is-hidden{transform:none}

/* Centre menu: logo | nav (centred) | actions */
.eg.eg .egh-nav{margin-inline:auto;align-self:stretch}
.eg.eg .egh-item{position:relative;display:flex;align-items:center}

/* Dropdown caret */
.eg.eg .egh-has-dd>a{display:inline-flex;align-items:center;gap:calc(10 * var(--u))}
.eg.eg .egh-has-dd>a:before{content:"";order:2;flex:none;width:6px;height:6px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .3s var(--ease)}
.eg.eg .egh-has-dd:is(:hover,:focus-within)>a:before{margin-top:3px;transform:rotate(225deg)}

/* Dropdown panel */
.eg.eg .egh-dd{position:absolute;top:100%;left:50%;z-index:5;min-width:max(220px,calc(340 * var(--u)));margin-top:calc(10 * var(--u) + 10px);padding:calc(12 * var(--u));display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:var(--r28);box-shadow:0 18px 50px -22px #00091b59;opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .25s,transform .35s var(--ease),visibility 0s .25s}
.eg.eg .egh-dd:before{content:"";position:absolute;left:0;right:0;top:calc(-10 * var(--u) - 10px);height:calc(10 * var(--u) + 10px)}
.eg.eg .egh-has-dd:is(:hover,:focus-within) .egh-dd{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .25s,transform .35s var(--ease)}
.eg.eg .egh-dd a{display:block;padding:calc(16 * var(--u)) calc(24 * var(--u));border-radius:var(--r14);font-size:max(14px,calc(22 * var(--u)));line-height:1.2;white-space:nowrap;transition:background-color .25s,color .25s}
.eg.eg .egh-dd a:after{display:none}
.eg.eg .egh-dd a:where(:hover,:focus-visible){background:var(--mist);color:var(--red)}

/* Right: Log in + Enrol now */
.eg.eg .egh-actions{flex:none;display:flex;align-items:center;gap:calc(32 * var(--u))}
.eg.eg .egh-login{font-size:max(14px,calc(22 * var(--u)));line-height:1.2;color:var(--black);padding-block:6px;white-space:nowrap;background:linear-gradient(var(--red),var(--red)) 0 100%/0 2px no-repeat;transition:background-size .35s var(--ease)}
.eg.eg .egh-login:where(:hover,:focus-visible){background-size:100% 2px}

/* Tablet + mobile: nav collapses to burger, Log in / Enrol now stay in the bar */
@media (max-width:1199px){
  .eg.eg .egh-actions{margin-left:auto}
  .eg.eg .egh-actions .egh-cta{margin-left:0}
}
@media (max-width:600px){
  .eg.eg .egh-bar{gap:10px;padding-left:16px}
  .eg.eg .egh-logo{width:104px}
  .eg.eg .egh-actions{gap:12px}
  .eg.eg .egh-actions .egh-cta{display:grid;min-width:0;min-height:40px;padding-inline:16px;font-size:14px}
  .eg.eg .egh-login{font-size:14px}
  .eg.eg .egh-burger{margin-left:0}
}
@media (max-width:400px){
  .eg.eg .egh-logo{width:92px}
  .eg.eg .egh-actions{gap:8px}
  .eg.eg .egh-actions .egh-cta{padding-inline:12px;font-size:13px}
  .eg.eg .egh-login{font-size:13px}
}

/* Mobile drawer: expandable groups */
.eg.eg .egh-drawer summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;font-size:18px;font-weight:600;line-height:1.3;padding:14px 4px;border-bottom:1px solid rgba(0,9,27,.1);opacity:0;transform:translateY(12px);transition:opacity .4s,transform .5s var(--ease)}
.eg.eg .egh-drawer.is-open summary{opacity:1;transform:none}
.eg.eg .egh-drawer summary::-webkit-details-marker{display:none}
.eg.eg .egh-drawer summary:after{content:"+";font-size:24px;font-weight:400;line-height:1}
.eg.eg .egh-drawer details[open] summary:after{content:"–"}
.eg.eg .egh-drawer details a{padding-left:20px;font-size:16px;font-weight:400}

/* ================= FOOTER ================= */
.eg.eg .egf-grid{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)) minmax(0,1.25fr);column-gap:calc(40 * var(--u))}
.eg.eg .egf-tag{max-width:max(260px,calc(480 * var(--u)));margin-top:calc(38 * var(--u));font-size:var(--f28);line-height:1.2}
.eg.eg .egf-brand .egf-social{margin-top:calc(32 * var(--u))}
.eg.eg .egf-col h3{font-size:var(--f28);font-weight:700;line-height:1.2}
.eg.eg .egf-col span{width:auto}

.eg.eg .egf-legal{display:flex;align-items:center;flex-wrap:wrap;gap:calc(32 * var(--u))}
.eg.eg .egf-legal a{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .35s var(--ease),color .3s}
.eg.eg .egf-legal a:where(:hover,:focus-visible){background-size:100% 1px;color:var(--red)}
.eg.eg .egf-pay{display:flex;flex-wrap:wrap;align-items:center;gap:calc(12 * var(--u))}
.eg.eg .egf-pay li{padding:calc(8 * var(--u)) calc(18 * var(--u));border:1px solid var(--ink);border-radius:999px;font-size:var(--f21);line-height:1.2;white-space:nowrap}
.eg.eg .egf-tm{max-width:calc(1300 * var(--u));margin-top:calc(32 * var(--u));padding-inline:calc(20 * var(--u));font-size:var(--f21);line-height:1.4;color:var(--muted)}

@media (max-width:1199px){
  .eg.eg .egf-grid{grid-template-columns:1fr 1fr;gap:40px 24px}
  .eg.eg .egf-bottom{flex-direction:column;align-items:flex-start}
  .eg.eg .egf-legal{gap:12px}
  .eg.eg .egf-tm{padding-inline:var(--gut);max-width:none}
}
@media (max-width:767px){
  .eg.eg .egf-grid{grid-template-columns:1fr}
  .eg.eg .egf-legal{gap:8px 20px}
}/* End custom CSS */