:root {
    --eg-navy: #0c2d4f;
    --eg-navy-deep: #08233f;
    --eg-gold: #d9a62a;
    --eg-gold-dark: #b88716;
    --eg-text: #243447;
    --eg-border: rgba(12,45,79,.12);
    --eg-white: #fff;
    --eg-header-height: 98px;
}

html { scroll-behavior: smooth; }
body.eg-theme-body { margin: 0; }
body.eg-theme-body #header-outer,
body.eg-theme-body #header-secondary-outer,
body.eg-theme-body #top .slide-out-widget-area-toggle,
body.eg-theme-body #header-space { display: none !important; }

.eg-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 99990;
    width: 100%;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--eg-border);
    box-shadow: 0 3px 18px rgba(0,0,0,.06);
}
.eg-header__inner {
    width: min(1440px, calc(100% - 40px));
    min-height: var(--eg-header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.eg-header__brand { display:flex; align-items:center; flex:0 0 auto; }
.eg-header__brand-link { display:flex; align-items:center; line-height:0; text-decoration:none; }
.eg-header__brand-image { display:block; width:auto; max-width:315px; height:auto; max-height:70px; object-fit:contain; }
.eg-header__menu { margin-left:18px; display:flex; align-items:center; }
.eg-header__nav { display:flex; align-items:center; }
.eg-header__nav .egpn-nav { width:auto; }
.eg-header__nav .egpn-nav > ul { display:flex; align-items:center; gap:0; margin:0; padding:0; list-style:none; }
.eg-header__nav .egpn-nav li { list-style:none; }
.eg-header__nav .egpn-nav .egpn-generated { position:relative; display:inline-flex; align-items:center; margin:0; padding:0; }
.eg-header__nav .egpn-nav .egpn-generated > a,
.eg-header__nav .egpn-nav .egpn-login > a,
.eg-header__nav .egpn-nav .egpn-register > a {
    display:inline-flex;
    align-items:center;
    padding:11px 8px;
    color:var(--eg-navy);
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    text-decoration:none;
    white-space:nowrap;
    border-radius:4px;
    transition:background .18s ease,color .18s ease;
}
.eg-header__nav .egpn-nav .egpn-generated > a:hover,
.eg-header__nav .egpn-nav .egpn-generated > a:focus-visible { color:var(--eg-navy-deep); background:rgba(12,45,79,.055); }
.eg-header__nav .egpn-chevron { margin-left:6px; font-size:10px; }
.eg-header__nav .egpn-submenu-toggle { display:none; }
.eg-header__nav .egpn-nav .egpn-generated > .sub-menu {
    position:absolute;
    top:100%;
    left:0;
    z-index:999999;
    min-width:235px;
    margin:0;
    padding:8px 0;
    background:#fff;
    border:1px solid var(--eg-border);
    border-radius:5px;
    box-shadow:0 16px 35px rgba(8,35,63,.16);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(5px);
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
    list-style:none;
}
.eg-header__nav .egpn-nav .egpn-generated:hover > .sub-menu,
.eg-header__nav .egpn-nav .egpn-generated:focus-within > .sub-menu,
.eg-header__nav .egpn-nav .egpn-generated.egpn-open > .sub-menu {
    opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
.eg-header__nav .egpn-nav .sub-menu li { display:block; margin:0; padding:0; }
.eg-header__nav .egpn-nav .sub-menu a {
    display:block;
    padding:10px 18px;
    color:var(--eg-text);
    font-size:13px;
    line-height:1.35;
    text-decoration:none;
    white-space:nowrap;
}
.eg-header__nav .egpn-nav .sub-menu a:hover,
.eg-header__nav .egpn-nav .sub-menu a:focus-visible { color:var(--eg-navy); background:#f5f7fa; }
.eg-header__nav .egpn-nav .egpn-login { margin-left:6px; }
.eg-header__nav .egpn-nav .egpn-register > a {
    margin-left:2px;
    padding:10px 14px;
    color:#fff;
    background:var(--eg-gold);
    border-radius:4px;
}
.eg-header__nav .egpn-nav .egpn-register > a:hover,
.eg-header__nav .egpn-nav .egpn-register > a:focus-visible { color:#fff; background:var(--eg-gold-dark); }
.eg-header__mobile-toggle { display:none; }
.eg-header__spacer { height:var(--eg-header-height); }
.eg-content-wrap { min-height:1px; }
.eg-header__nav-notice { font-size:13px; color:#777; }

@media (max-width: 1180px) {
    .eg-header__inner { width:min(100% - 28px, 1440px); gap:14px; }
    .eg-header__nav .egpn-nav .egpn-generated > a,
    .eg-header__nav .egpn-nav .egpn-login > a { padding-left:7px; padding-right:7px; font-size:13px; }
}

@media (max-width: 900px) {
    :root { --eg-header-height:88px; }
    .eg-header__inner { min-height:var(--eg-header-height); width:calc(100% - 28px); }
    .eg-header__brand-image { max-width:260px; max-height:54px; }
    .eg-header__mobile-toggle {
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:5px;
        width:42px;
        height:42px;
        margin-left:auto;
        padding:9px;
        border:1px solid var(--eg-border);
        border-radius:4px;
        background:#fff;
        cursor:pointer;
    }
    .eg-header__mobile-toggle span:not(.screen-reader-text) { display:block; width:100%; height:2px; background:var(--eg-navy); }
    .eg-header__menu { display:none; position:absolute; top:100%; left:0; right:0; max-height:calc(100vh - var(--eg-header-height)); overflow:auto; background:#fff; border-top:1px solid var(--eg-border); box-shadow:0 14px 30px rgba(0,0,0,.12); }
    .eg-header.is-open .eg-header__menu { display:block; }
    .eg-header__nav, .eg-header__nav .egpn-nav, .eg-header__nav .egpn-nav > ul { display:block; width:100%; }
    .eg-header__nav .egpn-nav .egpn-generated,
    .eg-header__nav .egpn-nav .egpn-login,
    .eg-header__nav .egpn-nav .egpn-register { display:block; width:100%; margin:0; }
    .eg-header__nav .egpn-nav .egpn-generated > a,
    .eg-header__nav .egpn-nav .egpn-login > a,
    .eg-header__nav .egpn-nav .egpn-register > a { display:flex; justify-content:space-between; width:100%; padding:15px 18px; border-radius:0; }
    .eg-header__nav .egpn-nav .egpn-register > a { margin:8px 12px 12px; width:calc(100% - 24px); justify-content:center; border-radius:4px; }
    .eg-header__nav .egpn-nav .egpn-generated > .sub-menu { position:static; min-width:0; width:100%; border:0; border-radius:0; box-shadow:none; transform:none; opacity:1; visibility:visible; pointer-events:auto; display:none; padding:0 0 6px 18px; }
    .eg-header__nav .egpn-nav .egpn-generated:hover > .sub-menu { display:none; }
    .eg-header__nav .egpn-nav .egpn-generated.egpn-open > .sub-menu,
    .eg-header__nav .egpn-nav .egpn-generated:focus-within > .sub-menu { display:block; }
    .eg-header__nav .egpn-nav .sub-menu a { padding:11px 18px; white-space:normal; }
    .eg-header__nav .egpn-submenu-toggle { display:block !important; position:absolute; right:8px; top:7px; width:42px; height:42px; border:0; background:transparent; color:var(--eg-navy); cursor:pointer; }
}

/* EG Theme 1.0.3 — tighter desktop header */
.eg-header__brand { min-width: 0; }
.eg-header__brand-link { max-width: 285px; }
.eg-header__brand-image { width: 285px; }
.eg-header__nav .egpn-nav > ul { gap: 0 !important; }
.eg-header__nav .egpn-nav .egpn-generated > a,
.eg-header__nav .egpn-nav .egpn-login > a,
.eg-header__nav .egpn-nav .egpn-register > a { letter-spacing: 0; }
@media (max-width: 1180px) {
    .eg-header__brand-link { max-width: 270px; }
    .eg-header__brand-image { width: 270px; }
}

/* EG Theme 1.0.4 — remove Salient's default content gap under the custom header */
.eg-theme-body #ajax-content-wrap,
.eg-theme-body #ajax-content-wrap > .container-wrap,
.eg-theme-body .container-wrap {
    margin-top: 0 !important;
}
.eg-theme-body #ajax-content-wrap > .container-wrap {
    padding-top: 0 !important;
}
.eg-theme-body .container-wrap.no-padding-top {
    padding-top: 0 !important;
}

/* Keep the hero/content immediately below the EG header spacer. */
.eg-header__spacer { margin: 0 !important; padding: 0 !important; }

/* Tighter navigation rhythm on desktop */
.eg-header__nav .egpn-nav > ul {
    gap: 0 !important;
}
.eg-header__nav .egpn-nav .egpn-generated > a,
.eg-header__nav .egpn-nav .egpn-login > a {
    padding-left: 6px;
    padding-right: 6px;
}
.eg-header__nav .egpn-nav .egpn-chevron {
    margin-left: 4px;
}
@media (max-width: 1180px) {
    .eg-header__menu { margin-left: 10px; }
    .eg-header__brand-link { max-width: 250px; }
    .eg-header__brand-image { width: 250px; }
}

/* EG Theme 1.0.5 — continuous hover path from parent item into dropdown */
@media (min-width: 901px) {
    .eg-header__nav .egpn-nav .egpn-generated > .sub-menu {
        top: 100% !important;
        margin-top: 0 !important;
    }

    /* Keeps a tiny invisible hover bridge without changing the visible dropdown. */
    .eg-header__nav .egpn-nav .egpn-generated > .sub-menu::before {
        content: "";
        position: absolute;
        top: -3px;
        left: 0;
        right: 0;
        height: 3px;
        background: transparent;
    }

    .eg-header__nav .egpn-nav .egpn-generated:hover > .sub-menu,
    .eg-header__nav .egpn-nav .egpn-generated:focus-within > .sub-menu,
    .eg-header__nav .egpn-nav .egpn-generated.egpn-open > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

/* EG Theme 1.0.6 — login button + 10px header height */
@media (min-width: 901px) {
    .eg-header__nav .egpn-nav .egpn-login {
        margin-left: 8px !important;
    }

    .eg-header__nav .egpn-nav .egpn-login > a {
        min-height: 38px;
        padding: 9px 16px !important;
        color: var(--eg-navy) !important;
        background: #fff !important;
        border: 1px solid rgba(12,45,79,.35);
        border-radius: 4px !important;
        font-weight: 700;
        box-shadow: 0 1px 2px rgba(8,35,63,.05);
    }

    .eg-header__nav .egpn-nav .egpn-login > a:hover,
    .eg-header__nav .egpn-nav .egpn-login > a:focus-visible {
        color: #fff !important;
        background: var(--eg-navy) !important;
        border-color: var(--eg-navy);
        box-shadow: 0 4px 12px rgba(8,35,63,.14);
    }

    .eg-header__nav .egpn-nav .egpn-login > a::before {
        content: "";
        width: 14px;
        height: 14px;
        margin-right: 7px;
        border: 1.5px solid currentColor;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        position: relative;
        opacity: .9;
    }

    .eg-header__nav .egpn-nav .egpn-register > a {
        min-height: 38px;
        padding: 9px 16px !important;
        margin-left: 6px !important;
        font-weight: 700;
        box-shadow: 0 2px 5px rgba(184,135,22,.18);
    }
}

/* Keep the mobile login as a full-width action rather than the desktop button. */
@media (max-width: 900px) {
    .eg-header__nav .egpn-nav .egpn-login > a {
        min-height: 0;
        padding: 15px 18px !important;
        border: 0;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none;
    }

    .eg-header__nav .egpn-nav .egpn-login > a::before {
        display: none;
    }
}

/* EG Theme 1.0.7 — refined menu arrows and login user icon */

/* Keep dropdown arrows visually close to their menu labels. */
.eg-header__nav .egpn-nav .egpn-chevron,
.eg-header__nav .egpn-nav .egpn-arrow,
.eg-header__nav .egpn-nav .menu-item-has-children > a::after,
.eg-header__nav .egpn-nav .egpn-generated > a::after {
    margin-left: 3px !important;
    padding-left: 0 !important;
}

/* Replace the login dot with a clean user/profile icon. */
@media (min-width: 901px) {
    .eg-header__nav .egpn-nav .egpn-login > a::before {
        content: "" !important;
        width: 15px !important;
        height: 15px !important;
        margin-right: 7px !important;
        display: inline-block !important;
        flex: 0 0 15px;
        border: 1.6px solid currentColor !important;
        border-radius: 50% 50% 45% 45% !important;
        box-sizing: border-box !important;
        background:
            radial-gradient(circle at 50% 34%, currentColor 0 2.5px, transparent 2.7px),
            radial-gradient(ellipse at 50% 100%, currentColor 0 5px, transparent 5.2px);
        background-size: 100% 100%, 100% 75%;
        background-position: center, center bottom;
        background-repeat: no-repeat;
        opacity: .95;
    }

    .eg-header__nav .egpn-nav .egpn-login > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }
}

/* EG Theme 1.0.8 — remove residual Salient/list marker before account item */
@media (min-width: 901px) {
    .eg-header__nav .egpn-nav ul,
    .eg-header__nav .egpn-nav li {
        list-style: none !important;
        font-size:14px !important;
        font-weight:bold;
    }

    .eg-header__nav .egpn-nav .egpn-login::before,
    .eg-header__nav .egpn-nav .egpn-login::after {
        content: none !important;
        display: none !important;
    }

    /* The account/login icon belongs inside the link, not beside the list item. */
    .eg-header__nav .egpn-nav .egpn-login > a::before {
        content: "" !important;
        display: inline-block !important;
        width: 15px !important;
        height: 15px !important;
        margin: 0 7px 0 0 !important;
        flex: 0 0 15px !important;
        border: 1.5px solid currentColor !important;
        border-radius: 50% 50% 45% 45% !important;
        box-sizing: border-box !important;
        background:
            radial-gradient(circle at 50% 34%, currentColor 0 2.4px, transparent 2.6px),
            radial-gradient(ellipse at 50% 100%, currentColor 0 5px, transparent 5.2px);
        background-repeat: no-repeat;
        opacity: .95;
    }

    .eg-header__nav .egpn-nav .egpn-login > a {
        list-style: none !important;
    }
}

/* EG Theme 1.0.9 — arrow sits immediately beside menu label */
@media (min-width: 901px) {
    .eg-header__nav .egpn-nav .egpn-generated > a {
        gap: 0 !important;
    }

    .eg-header__nav .egpn-nav .egpn-generated > a .egpn-chevron {
        display: inline-block !important;
        width: auto !important;
        min-width: 0 !important;
        margin-left: 1px !important;
        margin-right: 0 !important;
        padding: 0 !important;
        font-size: 8px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        transform: translateY(-1px) !important;
    }

    /* Prevent theme pseudo-elements from creating a second/far-away arrow. */
    .eg-header__nav .egpn-nav .egpn-generated > a::after {
        content: none !important;
        display: none !important;
    }
}

/* EG Theme 1.1.0 — navigation spacing, independent arrows, SVG user icon */
@media (min-width: 901px) {
    .eg-header__nav .egpn-nav > ul {
        gap: 0 !important;
    }

    .eg-header__nav .egpn-nav .egpn-generated {
        margin-right: 14px !important;
    }

    .eg-header__nav .egpn-nav .egpn-generated > a {
        padding-left: 2px !important;
        padding-right: 2px !important;
        background: transparent !important;
    }

    .eg-header__nav .egpn-nav .egpn-generated > a:hover,
    .eg-header__nav .egpn-nav .egpn-generated > a:focus-visible {
        background: rgba(12,45,79,.055) !important;
    }

    /* Arrow is a sibling of the link, so it never becomes part of the link's background. */
    .eg-header__nav .egpn-nav .egpn-generated > .egpn-chevron {
        position: static !important;
        display: inline-flex !important;
        width: 10px !important;
        min-width: 10px !important;
        height: 18px !important;
        margin: 0 0 0 2px !important;
        padding: 0 !important;
        background: transparent !important;
        color: currentColor !important;
        font-size: 8px !important;
        line-height: 1 !important;
        transform: translateY(0) !important;
    }

    /* Remove all old pseudo-element arrows and old login pseudo icon. */
    .eg-header__nav .egpn-nav .egpn-generated > a::after,
    .eg-header__nav .egpn-nav .egpn-login > a::before,
    .eg-header__nav .egpn-nav .egpn-login::before,
    .eg-header__nav .egpn-nav .egpn-login::after {
        content: none !important;
        display: none !important;
    }

    .eg-header__nav .egpn-nav .egpn-user-icon {
        display: inline-block !important;
        width: 16px !important;
        height: 16px !important;
        flex: 0 0 16px !important;
        margin: 0 7px 0 0 !important;
        color: currentColor !important;
        overflow: visible !important;
    }

    .eg-header__nav .egpn-nav .egpn-login {
        margin-left: 2px !important;
        margin-right: 8px !important;
    }

    .eg-header__nav .egpn-nav .egpn-account {
        margin-right: 0 !important;
    }

    .eg-header__nav .egpn-nav .egpn-register {
        margin-left: 2px !important;
    }
}

/* EG Theme 1.1.1 — final header spacing and icon refinement */
@media (min-width: 901px) {
    /* 20px more breathing room between the brand and first menu item. */
    .eg-header__menu {
        margin-left: 38px !important;
    }

    /* Menu labels +2px for better presence. */
    .eg-header__nav .egpn-nav .egpn-generated > a,
    .eg-header__nav .egpn-nav .egpn-login > a,
    .eg-header__nav .egpn-nav .egpn-register > a {
        font-size: 16px !important;
    }

    /* Slightly larger standalone arrow. */
    .eg-header__nav .egpn-nav .egpn-chevron,
    .eg-header__nav .egpn-nav .egpn-arrow {
        font-size: 10px !important;
        line-height: 1 !important;
        margin-left: 4px !important;
    }

    /* Larger profile icon. */
    .eg-header__nav .egpn-nav .egpn-login > a .egpn-user-icon,
    .eg-header__nav .egpn-nav .egpn-account-icon {
        width: 18px !important;
        height: 18px !important;
    }
}
@media (max-width: 900px) {
    .eg-header__menu {
        margin-left: 0 !important;
    }
}

/* ==========================================================
   EG Theme 1.2.0 — Homepage Hero
   ========================================================== */
.eg-hero {
    position: relative;
    height: 325px;
    min-height: 325px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(100deg, #082d50 0%, #0b426b 43%, #173f5b 100%);
    background-image: var(--eg-hero-image);
    background-size: cover;
    background-position: center center;
    isolation: isolate;
}
.eg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4,28,50,.94) 0%, rgba(5,38,67,.82) 38%, rgba(7,44,71,.28) 72%, rgba(7,44,71,.18) 100%);
}
.eg-hero__inner {
    width: min(1440px, calc(100% - 40px));
    height: 325px;
    margin: 0 auto;
    min-height: 325px;
    display: flex;
    align-items: center;
}
.eg-hero__content {
    width: min(650px, 58%);
    padding: 25px 0;
    color: #fff;
}
.eg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 17px;
    color: #e0b13a;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .18em;
}
.eg-hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    margin-right: 12px;
    background: #e0b13a;
}
.eg-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.025em;
}
.eg-hero h1 span {
    color: #fff;
}
.eg-hero__rule {
    width: 70px;
    height: 4px;
    margin: 23px 0 22px;
    background: #d4a72c;
}
.eg-hero__text {
    max-width: 590px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 15px;
    line-height: 1.4;
}
.eg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.eg-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 21px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.eg-hero__button span {
    margin-left: 9px;
    font-size: 17px;
}
.eg-hero__button--primary {
    color: #fff !important;
    background: #b88716;
    border: 1px solid #b88716;
}
.eg-hero__button--primary:hover {
    color: #fff !important;
    background: #9f7310;
    border-color: #9f7310;
    transform: translateY(-1px);
}
.eg-hero__button--secondary {
    color: #fff !important;
    background: transparent;
    border: 1px solid rgba(255,255,255,.72);
}
.eg-hero__button--secondary:hover {
    color: #092e50 !important;
    background: #fff;
    border-color: #fff;
    transform: translateY(-1px);
}
.eg-page-content {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}
.eg-footer {
    padding: 35px 20px;
    background: #062b4b;
    color: rgba(255,255,255,.75);
}
.eg-footer__inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}
@media (max-width: 900px) {
    .eg-hero,
    .eg-hero__inner {
        min-height: 570px;
    }
    .eg-hero__content {
        width: min(100%, 700px);
        padding: 60px 0;
    }
    .eg-hero__overlay {
        background: linear-gradient(90deg, rgba(4,28,50,.92), rgba(7,44,71,.62));
    }
}
@media (max-width: 600px) {
    .eg-hero,
    .eg-hero__inner {
        min-height: 600px;
    }
    .eg-hero__inner {
        width: min(100% - 32px, 1440px);
    }
    .eg-hero__content {
        padding: 48px 0;
    }
    .eg-hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }
    .eg-hero__text {
        font-size: 16px;
    }
    .eg-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .eg-hero__button {
        width: fit-content;
    }
}


/* EG Theme 1.2.2 — five-column quick-link strip */
.eg-five-columns {
    width: 100%;
    height: 75px;
    min-height: 75px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    background: #062f59;
    overflow: hidden;
}

.eg-five-columns__item {
    min-width: 0;
    height: 75px;
    min-height: 75px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none !important;
    border-right: 1px solid rgba(255,255,255,.16);
    transition: background .18s ease;
}

.eg-five-columns__item:first-child {
    border-left: 0;
}

.eg-five-columns__item:last-child {
    border-right: 0;
}

.eg-five-columns__item:hover,
.eg-five-columns__item:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.eg-five-columns__icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f1c85a;
}

.eg-five-columns__icon svg {
    width: 39px;
    height: 39px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eg-five-columns__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eg-five-columns__copy strong {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
}

.eg-five-columns__copy small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.9);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .eg-five-columns__item {
        gap: 8px;
        padding: 0 12px;
    }

    .eg-five-columns__icon,
    .eg-five-columns__icon svg {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .eg-five-columns__copy strong {
        font-size: 12px;
    }

    .eg-five-columns__copy small {
        font-size: 9px;
    }
}

@media (max-width: 700px) {
    .eg-five-columns {
        grid-template-columns: repeat(5, 220px);
        overflow-x: auto;
    }
}


/* ==========================================================
   EG Theme 1.3.0 — Homepage HR Solutions / Beyond Membership
   ========================================================== */
.eg-hr-solutions {
    background: #fff;
    padding: 78px 0 0;
}
.eg-hr-solutions__inner {
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
}
.eg-hr-solutions__heading {
    text-align: center;
    margin: 0 auto 34px;
}
.eg-section-eyebrow {
    display: inline-block;
    position: relative;
    margin-bottom: 17px;
    color: #1467d8;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .015em;
}
.eg-section-eyebrow::after {
    content: "";
    display: block;
    width: 43px;
    height: 3px;
    margin: 9px auto 0;
    background: #1467d8;
}
.eg-hr-solutions__heading h2 {
    max-width: 1120px;
    margin: 0 auto 17px;
    color: #0d1931;
    font-size: clamp(36px, 4vw, 49px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
}
.eg-hr-solutions__heading p {
    margin: 0;
    color: #343946;
    font-size: 20px;
    line-height: 1.5;
}
.eg-hr-solutions__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}
.eg-solution-card {
    position: relative;
    min-height: 504px;
    padding: 20px 32px 31px;
    border: 1px solid rgba(14, 56, 100, .09);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(18, 39, 72, .06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.eg-solution-card::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -15px;
    width: 130px;
    height: 150px;
    background-image: radial-gradient(circle, currentColor 1.7px, transparent 2px);
    background-size: 12px 12px;
    opacity: .075;
    pointer-events: none;
}
.eg-solution-card--blue { background: linear-gradient(145deg, #edf6ff 0%, #e6f1fc 100%); color: #1166d1; }
.eg-solution-card--green { background: linear-gradient(145deg, #effaf8 0%, #e8f6f3 100%); color: #119873; }
.eg-solution-card--purple { background: linear-gradient(145deg, #f5f1ff 0%, #f0ecff 100%); color: #5d32c8; }
.eg-solution-card__icon {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 7px 17px rgba(12, 45, 79, .10);
}
.eg-solution-card__icon svg {
    width: 61px;
    height: 61px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.eg-solution-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #0d1931;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.015em;
}
.eg-solution-card__rule {
    width: 51px;
    height: 3px;
    margin: 17px 0 18px;
    background: currentColor;
}
.eg-solution-card__intro {
    position: relative;
    z-index: 1;
    min-height: 61px;
    margin: 0 0 17px;
    color: #20283a;
    font-size: 17px;
    line-height: 1.52;
}
.eg-solution-card ul {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}
.eg-solution-card li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 31px;
    color: #20283a;
    font-size: 16px;
    line-height: 1.35;
}
.eg-solution-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: currentColor;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.eg-solution-card__button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    min-width: 218px;
    min-height: 48px;
    margin-top: auto;
    padding: 0 20px 0 24px;
    border-radius: 5px;
    color: #fff !important;
    background: currentColor;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: transform .18s ease, filter .18s ease;
}
.eg-solution-card__button span {
    margin-left: 20px;
    font-size: 28px;
    font-weight: 400;
    line-height: .7;
}
.eg-solution-card__button:hover,
.eg-solution-card__button:focus-visible {
    color: #fff !important;
    filter: brightness(.92);
    transform: translateY(-1px);
}
.eg-hr-solutions__partner {
    margin-top: 25px;
    padding: 25px 35px;
    display: grid;
    grid-template-columns: minmax(430px, 1.15fr) 2fr;
    align-items: center;
    gap: 25px;
    border-radius: 15px 15px 0 0;
    color: #fff;
    background: linear-gradient(105deg, #083c77 0%, #073d78 55%, #0b4b8f 100%);
    box-shadow: 0 10px 24px rgba(8, 49, 96, .13);
}
.eg-partner__intro {
    display: flex;
    align-items: center;
    gap: 38px;
}
.eg-partner__icon {
    width: 132px;
    height: 132px;
    flex: 0 0 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    color: #1268d7;
}
.eg-partner__icon svg {
    width: 74px;
    height: 74px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.eg-partner__intro h3 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 800;
}
.eg-partner__rule {
    width: 51px;
    height: 3px;
    margin: 12px 0 13px;
    background: #3da7ff;
}
.eg-partner__intro p {
    max-width: 370px;
    margin: 0;
    color: rgba(255,255,255,.91);
    font-size: 15px;
    line-height: 1.55;
}
.eg-partner__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.eg-partner__benefit {
    min-height: 166px;
    padding: 0 22px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.28);
}
.eg-partner__benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.eg-partner__benefit-icon svg {
    width: 41px;
    height: 41px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.eg-partner__benefit-icon--blue { background: #2787e7; }
.eg-partner__benefit-icon--green { background: #13a783; }
.eg-partner__benefit-icon--orange { background: #ff9718; }
.eg-partner__benefit-icon--purple { background: #7550d2; }
.eg-partner__benefit h4 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}
.eg-partner__benefit p {
    margin: 0 auto;
    max-width: 150px;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    line-height: 1.45;
}
.eg-page-template {
    min-height: 400px;
    padding-top: 60px;
    padding-bottom: 80px;
}

@media (max-width: 1150px) {
    .eg-hr-solutions__inner { width: min(100% - 48px, 1440px); }
    .eg-hr-solutions__cards { gap: 20px; }
    .eg-solution-card { padding-left: 25px; padding-right: 25px; }
    .eg-hr-solutions__partner { grid-template-columns: 1fr; }
    .eg-partner__intro { max-width: 650px; }
}
@media (max-width: 900px) {
    .eg-hr-solutions { padding-top: 60px; }
    .eg-hr-solutions__cards { grid-template-columns: 1fr; }
    .eg-solution-card { min-height: 0; }
    .eg-solution-card__intro { min-height: 0; }
    .eg-hr-solutions__partner { padding: 30px 24px; }
    .eg-partner__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
    .eg-partner__benefit:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
    .eg-hr-solutions__inner { width: min(100% - 32px, 1440px); }
    .eg-hr-solutions__heading h2 { font-size: 34px; }
    .eg-hr-solutions__heading p { font-size: 17px; }
    .eg-desktop-break { display: none; }
    .eg-solution-card { padding: 20px 24px 27px; }
    .eg-solution-card__icon { width: 98px; height: 98px; flex-basis: 98px; }
    .eg-solution-card h3 { font-size: 22px; }
    .eg-partner__intro { flex-direction: column; align-items: flex-start; gap: 20px; }
    .eg-partner__icon { width: 108px; height: 108px; flex-basis: 108px; }
    .eg-partner__intro h3 { font-size: 23px; }
    .eg-partner__benefits { grid-template-columns: 1fr; }
    .eg-partner__benefit,
    .eg-partner__benefit:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); padding-top: 24px; }
    .eg-partner__benefit:first-child { border-top: 0; }
}



/* ==========================================================
   EG Theme 1.3.5 — Compact Homepage Hero
   Keep the hero compact enough for the feature bar to remain
   visible within a standard desktop viewport.
   ========================================================== */

@media (min-width: 768px) {
    .eg-hero {
        height: 375px !important;
        min-height: 375px !important;
    }

    .eg-hero__inner {
        height: 375px !important;
        min-height: 375px !important;
    }

    .eg-hero__content {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .eg-hero__text {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        line-height: 1.35 !important;
    }

    .eg-hero__actions {
        margin-top: 12px !important;
    }
}


/* EG Theme 1.4.0 — Ensure the modular HR Solutions section is visible. */
.eg-hr-solutions {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    width: 100%;
    clear: both;
}
.eg-hr-solutions__inner,
.eg-hr-solutions__heading,
.eg-hr-solutions__cards,
.eg-hr-solutions__partner {
    visibility: visible;
    opacity: 1;
}


/* ==========================================================
   EG Theme 1.5.0 — Independent Membership Homepage Section
   ========================================================== */
.eg-membership {
    width: 100%;
    background: #f7f9fc;
    padding: 64px 0;
}

.eg-membership__inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.eg-membership__heading {
    max-width: 780px;
}

.eg-membership__eyebrow {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
}

.eg-membership__heading h2 {
    margin: 0 0 12px;
    color: #0d1931;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.eg-membership__heading p {
    margin: 0;
    color: #343946;
    font-size: 18px;
    line-height: 1.55;
}

.eg-membership__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

.eg-membership__button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

.eg-membership__button--primary {
    color: #fff;
    background: #0b477f;
}

.eg-membership__button--secondary {
    color: #0b477f;
    background: transparent;
    border: 1px solid #0b477f;
}

@media (max-width: 900px) {
    .eg-membership__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* v1.5.1: Membership is a native homepage component. */
[data-eg-homepage-section="membership"] { display: block; visibility: visible; }


/* v1.5.2 — hard-wired native homepage membership component */
.eg-homepage-membership {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    clear: both !important;
    z-index: 2 !important;
}
.eg-homepage-membership .eg-membership__inner {
    display: flex !important;
}


/* ==========================================================
   EG HOMEPAGE v1.5.5
   Membership + HR Solutions — mockup-matched presentation
   ========================================================== */

/* ---------- Membership ---------- */
.eg-homepage-membership {
    width: 100%;
    background: #fff;
    padding: 30px 0 26px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.eg-homepage-membership .eg-membership__inner {
    width: min(1285px, calc(100% - 60px));
    margin: 0 auto;
    display: block !important;
    box-sizing: border-box;
}

.eg-homepage-membership .eg-membership__heading {
    max-width: none;
    text-align: center;
    margin: 0 auto 34px;
}

.eg-homepage-membership .eg-membership__eyebrow {
    margin: 0 0 10px;
    color: #c38b13;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eg-homepage-membership .eg-membership__heading h2 {
    margin: 0 0 12px;
    color: #083b6c;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: .01em;
}

.eg-homepage-membership .eg-membership__heading p {
    margin: 0;
    color: #527094;
    font-size: 15.5px;
    line-height: 1.7;
    font-weight: 400;
}

.eg-membership__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
}

.eg-membership-card {
    min-height: 149px;
    padding: 20px 20px 17px;
    background: #fff;
    border: 1px solid #d9e1e9;
    border-radius: 11px;
    box-shadow: 0 11px 24px rgba(20,54,86,.07);
    box-sizing: border-box;
}

.eg-membership-card__icon {
    width: 34px;
    height: 34px;
    margin: 0 0 10px;
    color: #d19a17;
}

.eg-membership-card__icon svg {
    width: 34px;
    height: 34px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eg-membership-card h3 {
    margin: 0 0 4px;
    color: #063b6c;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 500;
}

.eg-membership-card p {
    margin: 0;
    max-width: 290px;
    color: #59728e;
    font-size: 13px;
    line-height: 1.55;
}

.eg-membership__cta {
    margin-top: 29px;
    text-align: center;
}

.eg-membership__cta a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 42px;
    padding: 0 23px;
    border-radius: 6px;
    background: #d39a0d;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    box-sizing: border-box;
    transition: background .18s ease, transform .18s ease;
}

.eg-membership__cta a:hover {
    background: #b98208;
    transform: translateY(-1px);
}

.eg-membership__cta a span {
    font-size: 17px;
    line-height: 1;
}

/* ---------- HR Solutions ---------- */
.eg-hr-solutions {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 30px 0 38px !important;
    background: #fff;
    box-sizing: border-box;
}

.eg-hr-solutions__inner {
    width: min(1425px, calc(100% - 110px));
    margin: 0 auto;
}

.eg-hr-solutions__heading {
    text-align: center;
    margin: 0 auto 25px;
}

.eg-hr-solutions .eg-section-eyebrow {
    margin: 0 0 10px;
    color: #1264cf;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .03em;
}

.eg-hr-solutions__heading h2 {
    margin: 0 0 14px;
    color: #0b1730;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.02em;
}

.eg-hr-solutions__heading p {
    margin: 0;
    color: #343942;
    font-size: 20px;
    line-height: 1.48;
}

.eg-hr-solutions__cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin: 0;
}

.eg-solution-card {
    position: relative;
    min-height: 504px;
    padding: 20px 31px 28px;
    border-radius: 16px;
    border: 1px solid rgba(90,110,145,.10);
    box-shadow: 0 10px 24px rgba(31,55,86,.035);
    box-sizing: border-box;
    overflow: hidden;
}

.eg-solution-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 135px;
    height: 155px;
    opacity: .5;
    pointer-events: none;
    background-image: radial-gradient(circle, currentColor 1.8px, transparent 2px);
    background-size: 12px 12px;
    mask-image: linear-gradient(135deg, transparent 8%, #000 75%);
    -webkit-mask-image: linear-gradient(135deg, transparent 8%, #000 75%);
}

.eg-solution-card--blue { background: #eef7ff; color: #1266d0; }
.eg-solution-card--green { background: #effaf8; color: #159879; }
.eg-solution-card--purple { background: #f4f1ff; color: #5631bd; }

.eg-solution-card__icon {
    width: 112px;
    height: 112px;
    margin: 0 0 21px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 17px rgba(19,48,80,.11);
    box-sizing: border-box;
}

.eg-solution-card__icon svg {
    width: 61px;
    height: 61px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eg-solution-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #07183a;
    font-size: 25px;
    line-height: 1.18;
    font-weight: 700;
}

.eg-solution-card__rule {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 3px;
    margin: 0 0 18px;
    background: currentColor;
}

.eg-solution-card__intro {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #202b3d;
    font-size: 16px;
    line-height: 1.65;
}

.eg-solution-card ul {
    position: relative;
    z-index: 1;
    list-style: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

.eg-solution-card li {
    position: relative;
    margin: 0 0 9px;
    padding: 0 0 0 30px;
    color: #1d293b;
    font-size: 16px;
    line-height: 1.5;
    list-style: none !important;
}

.eg-solution-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: #fff;
    background: currentColor;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
}

.eg-solution-card__button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 218px;
    min-height: 48px;
    margin-top: 2px;
    padding: 0 23px;
    border-radius: 5px;
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-sizing: border-box;
}

.eg-solution-card--blue .eg-solution-card__button { background: #0966d5; }
.eg-solution-card--green .eg-solution-card__button { background: #159d7b; }
.eg-solution-card--purple .eg-solution-card__button { background: #5631bd; }

.eg-solution-card__button span {
    font-size: 27px;
    line-height: .7;
    font-weight: 300;
}

/* ---------- Partner strip ---------- */
.eg-hr-solutions__partner {
    display: grid !important;
    grid-template-columns: minmax(450px, 1.15fr) minmax(0, 2fr);
    align-items: center;
    gap: 0;
    min-height: 238px;
    margin-top: 25px;
    padding: 25px 36px;
    border-radius: 16px;
    background: #073f78;
    color: #fff;
    box-sizing: border-box;
}

.eg-partner__intro {
    display: flex;
    align-items: center;
    gap: 42px;
    padding-right: 35px;
}

.eg-partner__icon {
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0764d2;
}

.eg-partner__icon svg {
    width: 78px;
    height: 78px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eg-partner__intro h3 {
    margin: 0 0 11px;
    color: #fff;
    font-size: 25px;
    line-height: 1.32;
    font-weight: 700;
}

.eg-partner__rule {
    width: 49px;
    height: 3px;
    margin-bottom: 12px;
    background: #2f9cf1;
}

.eg-partner__intro p {
    max-width: 430px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}

.eg-partner__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    align-items: stretch;
}

.eg-partner__benefit {
    min-height: 175px;
    padding: 0 25px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,.25);
    box-sizing: border-box;
}

.eg-partner__benefit-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.eg-partner__benefit-icon svg {
    width: 45px;
    height: 45px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eg-partner__benefit-icon--blue { background: #2684e2; }
.eg-partner__benefit-icon--green { background: #12a986; }
.eg-partner__benefit-icon--orange { background: #ff9817; }
.eg-partner__benefit-icon--purple { background: #7045cf; }

.eg-partner__benefit h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.eg-partner__benefit p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 1050px) {
    .eg-membership__cards,
    .eg-hr-solutions__cards {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .eg-hr-solutions__partner {
        grid-template-columns: 1fr;
    }
    .eg-partner__intro {
        padding-right: 0;
        margin-bottom: 25px;
    }
}

@media (max-width: 700px) {
    .eg-homepage-membership,
    .eg-hr-solutions {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .eg-homepage-membership .eg-membership__inner,
    .eg-hr-solutions__inner {
        width: min(100% - 28px, 650px);
    }
    .eg-membership__cards,
    .eg-hr-solutions__cards,
    .eg-partner__benefits {
        grid-template-columns: 1fr;
    }
    .eg-membership__desktop-break,
    .eg-desktop-break {
        display: none;
    }
    .eg-hr-solutions__heading h2 {
        font-size: 34px;
    }
    .eg-hr-solutions__heading p {
        font-size: 17px;
    }
    .eg-solution-card {
        min-height: auto;
    }
    .eg-partner__intro {
        flex-direction: column;
        text-align: center;
    }
    .eg-partner__benefit {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.25);
        padding: 20px;
    }
}

/* EG Theme v1.5.6 — five-background Hero slider */
.eg-hero--slider{position:relative;isolation:isolate}
.eg-hero--slider .eg-hero__slides{position:absolute;inset:0;z-index:-3;overflow:hidden}
.eg-hero--slider .eg-hero__slide{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;opacity:0;transform:scale(1.015);transition:opacity 1s ease,transform 6s ease}
.eg-hero--slider .eg-hero__slide.is-active{opacity:1;transform:scale(1)}
.eg-hero--slider .eg-hero__slide--fallback{opacity:1;background:linear-gradient(100deg,#082d50 0%,#0b426b 43%,#173f5b 100%)}
.eg-hero__dots{position:absolute;left:50%;bottom:12px;z-index:5;display:flex;gap:7px;transform:translateX(-50%)}
.eg-hero__dot{width:7px;height:7px;padding:0;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(255,255,255,.35);cursor:pointer}
.eg-hero__dot.is-active{background:#fff}
@media (prefers-reduced-motion:reduce){.eg-hero--slider .eg-hero__slide{transition:none;transform:none}}


/* v1.5.8 — explicit native homepage section rendering */
.eg-homepage > .eg-hr-solutions {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    clear: both !important;
}


/* ---------------------------------------------------------
 * EG Navigation — Final Typography Reference
 * --------------------------------------------------------- */
.eg-header__nav .egpn-nav .egpn-generated > a,
.eg-header__nav .egpn-nav .egpn-login > a,
.eg-header__nav .egpn-nav .egpn-register > a {
    font-size: 14px !important;
}

/* Login + Create Account navigation */
.eg-login-btn,
.eg-create-account-btn,
.eg-login-btn a,
.eg-create-account-btn a {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Create Account button */
.eg-create-account-btn {
    padding: 10px 16px !important;
}

/* Login */
.eg-login-btn {
    padding: 0 !important;
}



/* ==========================================================
   EG Homepage — HR Solutions Based on Membership CSS
   Reference v5
   IMPORTANT: Membership CSS is untouched.
   ========================================================== */

/* HR Solutions section uses the same section/container geometry
   as the Membership section. */
.eg-hr-solutions {
    width: 100%;
    background: #fff;
    padding: 30px 0 26px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.eg-hr-solutions__inner {
    width: min(1285px, calc(100% - 60px));
    margin: 0 auto;
    box-sizing: border-box;
}

/* Match Membership heading scale and spacing. */
.eg-hr-solutions__heading {
    max-width: none;
    text-align: center;
    margin: 0 auto 34px;
}

.eg-hr-solutions .eg-section-eyebrow {
    margin: 0 0 10px;
    color: #c38b13;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eg-hr-solutions__heading h2 {
    max-width: none;
    margin: 0 0 12px;
    color: #083b6c;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: .01em;
}

.eg-hr-solutions__heading p {
    margin: 0;
    color: #527094;
    font-size: 15.5px;
    line-height: 1.7;
    font-weight: 400;
}

/* Three HR cards use the same spacing and box treatment as the
   four Membership cards. The content remains HR-specific. */
.eg-hr-solutions__cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
    align-items: stretch;
}

.eg-hr-solutions .eg-solution-card {
    min-height: 0;
    height: 100%;
    padding: 20px 20px 17px;
    background: #fff;
    border: 1px solid #d9e1e9;
    border-radius: 11px;
    box-shadow: 0 11px 24px rgba(20,54,86,.07);
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

/* Keep the HR icons distinctive, but use the Membership card's
   spacing/alignment system. */
.eg-hr-solutions .eg-solution-card__icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    margin: 0 0 10px;
    align-self: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 7px 17px rgba(12,45,79,.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eg-hr-solutions .eg-solution-card__icon svg {
    width: 40px;
    height: 40px;
}

/* Text follows Membership's left-aligned card treatment. */
.eg-hr-solutions .eg-solution-card h3 {
    margin: 0 0 4px;
    color: #063b6c;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0;
}

.eg-hr-solutions .eg-solution-card__rule {
    width: 34px;
    height: 3px;
    margin: 0 0 10px;
    background: currentColor;
}

.eg-hr-solutions .eg-solution-card__intro {
    min-height: 0;
    margin: 0 0 10px;
    color: #59728e;
    font-size: 13px;
    line-height: 1.55;
}

.eg-hr-solutions .eg-solution-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eg-hr-solutions .eg-solution-card li {
    margin: 0 0 7px;
    padding-left: 23px;
    color: #59728e;
    font-size: 13px;
    line-height: 1.45;
}

.eg-hr-solutions .eg-solution-card li::before {
    left: 0;
    top: 0;
    width: 17px;
    height: 17px;
    font-size: 10px;
    line-height: 17px;
}

/* Center the CTA as a box, while keeping card text left-aligned. */
.eg-hr-solutions .eg-solution-card__button {
    align-self: center;
    min-width: 0;
    min-height: 42px;
    margin-top: auto;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.eg-hr-solutions .eg-solution-card__button span {
    margin-left: 10px;
    font-size: 20px;
}

/* Keep the partner block consistent with the section width,
   while leaving its own design intact. */
.eg-hr-solutions__partner {
    margin-top: 29px;
}

/* Responsive behavior follows the Membership breakpoint logic. */
@media (max-width: 900px) {
    .eg-hr-solutions__inner {
        width: min(100% - 60px, 1285px);
    }

    .eg-hr-solutions__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .eg-hr-solutions {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .eg-hr-solutions__inner {
        width: min(100% - 28px, 650px);
    }

    .eg-hr-solutions__cards {
        grid-template-columns: 1fr;
    }

    .eg-hr-solutions__heading h2 {
        font-size: 34px;
    }

    .eg-hr-solutions__heading p {
        font-size: 15.5px;
    }
}

/* ==========================================================
   EG Homepage — HR Solution Card Width Match
   Reference v6
   Membership remains unchanged.
   HR Solution cards use the same approximate fixed card width
   as the Membership cards and are centered as a group.
   ========================================================== */

.eg-hr-solutions .eg-hr-solutions__cards {
    grid-template-columns: repeat(3, minmax(0, 310px));
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.eg-hr-solutions .eg-solution-card {
    width: 100%;
    max-width: 310px;
    justify-self: center;
    box-sizing: border-box;
}

/* Keep the three HR boxes centered while allowing them to
   fit comfortably on smaller screens. */
@media (max-width: 1050px) {
    .eg-hr-solutions .eg-hr-solutions__cards {
        grid-template-columns: repeat(2, minmax(0, 310px));
    }
}

@media (max-width: 700px) {
    .eg-hr-solutions .eg-hr-solutions__cards {
        grid-template-columns: minmax(0, 310px);
    }

    .eg-hr-solutions .eg-solution-card {
        max-width: 310px;
    }
}

/* ==========================================================
   EG Homepage — HR Partner Strip Scale Match
   Reference v7
   Membership CSS remains untouched.
   The HR Partner strip is reduced to the same compact visual
   scale as the Membership section.
   ========================================================== */

.eg-hr-solutions .eg-hr-solutions__partner {
    margin-top: 29px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) 2fr;
    align-items: center;
    gap: 15px;
    border-radius: 11px;
    box-shadow: 0 11px 24px rgba(20,54,86,.07);
    box-sizing: border-box;
}

.eg-hr-solutions .eg-partner__intro {
    gap: 20px;
}

.eg-hr-solutions .eg-partner__icon {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
}

.eg-hr-solutions .eg-partner__icon svg {
    width: 48px;
    height: 48px;
}

.eg-hr-solutions .eg-partner__intro h3 {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.eg-hr-solutions .eg-partner__rule {
    width: 40px;
    height: 3px;
    margin: 8px 0 9px;
}

.eg-hr-solutions .eg-partner__intro p {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.5;
}

.eg-hr-solutions .eg-partner__benefit {
    min-height: 118px;
    padding: 0 12px;
}

.eg-hr-solutions .eg-partner__benefit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
}

.eg-hr-solutions .eg-partner__benefit-icon svg {
    width: 30px;
    height: 30px;
}

.eg-hr-solutions .eg-partner__benefit h4 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.eg-hr-solutions .eg-partner__benefit p {
    max-width: 125px;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .eg-hr-solutions .eg-hr-solutions__partner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eg-hr-solutions .eg-partner__intro {
        justify-content: center;
    }

    .eg-hr-solutions .eg-partner__benefit {
        min-height: 105px;
    }
}

@media (max-width: 700px) {
    .eg-hr-solutions .eg-hr-solutions__partner {
        padding: 16px 14px;
    }

    .eg-hr-solutions .eg-partner__intro {
        align-items: flex-start;
    }

    .eg-hr-solutions .eg-partner__icon {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .eg-hr-solutions .eg-partner__icon svg {
        width: 40px;
        height: 40px;
    }

    .eg-hr-solutions .eg-partner__intro h3 {
        font-size: 18px;
    }

    .eg-hr-solutions .eg-partner__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }
}

/* ==========================================================
   EG Homepage — HR Partner Benefit Text Centering
   Reference v8
   Membership CSS remains untouched.
   ========================================================== */

/* Center each benefit's complete content block, not just the
   text alignment. */
.eg-hr-solutions .eg-partner__benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Keep the icon centered above its heading. */
.eg-hr-solutions .eg-partner__benefit-icon {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
}

/* Center the heading and description within each benefit box. */
.eg-hr-solutions .eg-partner__benefit h4,
.eg-hr-solutions .eg-partner__benefit p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ==========================================================
   EG Homepage — HR Solution Button Alignment
   Reference v9
   Membership CSS remains untouched.
   ========================================================== */

/* Keep HR Solution buttons aligned to the left edge of the
   card content, while preserving the card's vertical layout. */
.eg-hr-solutions .eg-solution-card__button {
    align-self: flex-start;
    margin-left: 0;
    margin-right: 0;
}

/* ==========================================================
   EG Homepage — HR Solution Intro Spacing
   Reference v10
   ========================================================== */

.eg-hr-solutions .eg-solution-card__intro {
    min-height: 0;
    margin: 0 0 0px;
    color: #59728e;
    font-size: 13px;
    line-height: 1.55;
}
