
:root{
  --nexpats-red:#ee4036;
  --nexpats-red-dark:#d8372f;
  --nexpats-blue:#123f91;
  --nexpats-blue-dark:#103c87;
  --nexpats-text:#173e7a;
  --nexpats-muted:#61728f;
  --nexpats-bg:#fbfcfe;
  --nexpats-card:#ffffff;
  --nexpats-line:#dfe7f2;
  --nexpats-shadow:0 10px 24px rgba(18,63,145,.08);
  --nexpats-radius:18px;
  --global--color-background:#fbfcfe;
  --global--color-primary:#123f91;
  --global--color-secondary:#ee4036;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--nexpats-bg);color:var(--nexpats-text);font-family:Inter,"Helvetica Neue",Arial,sans-serif}
body:before{display:none!important}
body,html,#page,.site,.site-content,.site-main,.content-area,.wp-site-blocks,.site-content-contain,.site-header,.entry-content{background:#fbfcfe!important}
img{display:block;max-width:100%;height:auto}
a{color:var(--nexpats-blue)}
a:hover{color:var(--nexpats-blue-dark)}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0!important;border:0!important;height:1px!important;width:1px!important;overflow:hidden}
.nexpats-shell{width:min(1440px,calc(100% - 48px));margin:0 auto}
body.admin-bar .nexpats-site-header{top:32px}
@media (max-width:782px){body.admin-bar .nexpats-site-header{top:46px}}
.site-main{padding-bottom:38px}

/* Header */
.nexpats-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(219,228,240,.9)}
.nexpats-header-inner{min-height:92px;display:flex;align-items:center;gap:22px}
.nexpats-branding{flex:0 0 auto}
.nexpats-brand-link{display:block;text-decoration:none}
.nexpats-logo-fallback img{width:auto;height:62px}
.nexpats-primary-nav{flex:1 1 auto;min-width:0}
.nexpats-menu-list{list-style:none;display:flex;align-items:center;justify-content:flex-start;gap:2px;padding:0;margin:0}
.nexpats-menu-list li{position:relative;margin:0}
.nexpats-menu-list a{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:10px;color:var(--nexpats-text);text-decoration:none;font-weight:700;font-size:.95rem;line-height:1.15;white-space:nowrap;transition:.2s ease}
.nexpats-menu-list a:hover,.nexpats-menu-list a:focus{background:#f3f7fd;color:var(--nexpats-blue)}
.nexpats-menu-list .current-menu-item>a,.nexpats-menu-list .current_page_item>a{color:var(--nexpats-blue);box-shadow:inset 0 -3px 0 var(--nexpats-red)}
.nexpats-menu-list .menu-item-has-children>a::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-1px);opacity:.65}
.nexpats-menu-list .sub-menu{position:absolute;top:calc(100% + 12px);left:0;min-width:220px;display:none;list-style:none;padding:10px;margin:0;background:#fff;border:1px solid var(--nexpats-line);border-radius:16px;box-shadow:var(--nexpats-shadow)}
.nexpats-menu-list li:hover>.sub-menu,.nexpats-menu-list li:focus-within>.sub-menu{display:block}
.nexpats-menu-list .sub-menu li{width:100%}
.nexpats-menu-list .sub-menu a{display:flex;justify-content:flex-start;width:100%;padding:11px 12px;font-size:.94rem}
.nexpats-header-actions-wrap{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.nexpats-header-search,.nexpats-header-link,.nexpats-header-cta,.nexpats-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:12px;font-weight:700;transition:.2s ease}
.nexpats-header-search{width:40px;height:40px;color:var(--nexpats-blue)}
.nexpats-header-search svg{width:18px;height:18px}
.nexpats-header-link{min-height:46px;padding:0 22px;border:2px solid #bccce3;background:#fff;color:var(--nexpats-blue)}
.nexpats-header-link:hover{background:#f4f8ff;color:var(--nexpats-blue-dark)}
.nexpats-header-cta{min-height:46px;padding:0 20px;border:2px solid var(--nexpats-red);background:var(--nexpats-red);color:#fff;box-shadow:0 10px 20px rgba(238,64,54,.12)}
.nexpats-header-cta:hover{background:var(--nexpats-red-dark);color:#fff}
.nexpats-menu-toggle{display:none;width:60px;height:60px;padding:0;border:0;border-radius:18px;background:#fff;box-shadow:0 10px 22px rgba(18,63,145,.12);cursor:pointer}
.nexpats-menu-toggle span{display:block;width:26px;height:3px;background:var(--nexpats-blue);margin:5px auto;border-radius:999px}

/* Hero */
.nexpats-home-hero-v35{padding:0;background:#f7f9fc}
.nexpats-hero-composed{position:relative;background-color:#f0f5fb;background-repeat:no-repeat;background-size:100% 100%;background-position:center top;overflow:hidden}
.nexpats-hero-composed::before{content:"";position:absolute;inset:0;pointer-events:none}
.nexpats-hero-composed-desktop{min-height:449px;border-top:0;border-bottom:0}
.nexpats-hero-composed-desktop::before{background:linear-gradient(90deg,rgba(251,253,255,.98) 0%,rgba(251,253,255,.97) 29%,rgba(251,253,255,.90) 41%,rgba(251,253,255,.64) 53%,rgba(251,253,255,.10) 67%,rgba(251,253,255,0) 76%)}
.nexpats-hero-composed-shell{min-height:449px;display:flex;align-items:flex-start}
.nexpats-hero-copy-v35{position:relative;z-index:2;max-width:610px}
.nexpats-hero-copy-v35-desktop{padding:50px 0 96px}
.nexpats-hero-copy-v35 h1{margin:0;max-width:560px;font-size:clamp(2.45rem,3.15vw,4rem);line-height:1.08;font-weight:800;color:var(--nexpats-blue-dark);letter-spacing:-.035em}
.nexpats-hero-copy-v35 .nexpats-hero-text{max-width:530px;margin:0 0 22px;color:var(--nexpats-muted);font-size:1.02rem;line-height:1.7}
.nexpats-hero-copy-v35 .nexpats-hero-tabs{display:flex;gap:18px 22px;flex-wrap:wrap;margin:0 0 24px;padding:0;max-width:560px}
.nexpats-hero-copy-v35 .nexpats-hero-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.nexpats-hero-composed-mobile{display:none;min-height:690px;background-position:center top;background-size:100% 100%}
.nexpats-hero-composed-mobile::before{background:linear-gradient(180deg,rgba(251,253,255,.96) 0%,rgba(251,253,255,.93) 24%,rgba(251,253,255,.75) 42%,rgba(251,253,255,.18) 60%,rgba(251,253,255,0) 70%),linear-gradient(90deg,rgba(251,253,255,.97) 0%,rgba(251,253,255,.94) 40%,rgba(251,253,255,.50) 62%,rgba(251,253,255,0) 78%)}
.nexpats-hero-composed-shell-mobile{min-height:690px;display:flex;align-items:flex-start}
.nexpats-hero-copy-v35-mobile{padding:28px 0 122px;max-width:62%}

.nexpats-home-hero{padding:0;background:#fbfcfe}
.nexpats-hero-exact-desktop{display:none;background:#fbfcfe}
.nexpats-hero-exact-visual{position:relative;max-width:2048px;margin:0 auto;background:#fbfcfe}
.nexpats-hero-exact-visual img{display:block;width:100%;height:auto}
.nexpats-hero-exact-link{position:absolute;display:block;border-radius:18px;background:transparent;z-index:2}
.nexpats-hero-exact-link-primary{left:5.4%;top:63.2%;width:12.4%;height:16.2%}
.nexpats-hero-exact-link-secondary{left:15.45%;top:63.2%;width:17.9%;height:16.2%}
.nexpats-hero-panel-mobile{display:none}
.nexpats-hero-panel{position:relative;background:linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);overflow:hidden;border-bottom:1px solid rgba(220,230,242,.9)}
.nexpats-hero-panel::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 22%, rgba(255,255,255,.95) 0 14%, rgba(255,255,255,0) 34%), radial-gradient(circle at 82% 24%, rgba(255,255,255,.85) 0 10%, rgba(255,255,255,0) 34%), radial-gradient(circle at 50% 75%, rgba(255,255,255,.55) 0 8%, rgba(255,255,255,0) 30%);opacity:.55;pointer-events:none}
.nexpats-hero-grid{position:relative;z-index:2;width:min(1680px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:minmax(520px,.78fr) minmax(0,1.22fr);align-items:end;gap:0}
.nexpats-hero-copy{padding:42px 28px 96px 0;position:relative;z-index:3}
.nexpats-hero-copy h1{margin:0;max-width:700px;font-size:clamp(3rem,3.65vw,4.35rem);line-height:1.05;font-weight:800;letter-spacing:-.03em;color:var(--nexpats-blue-dark)}
.nexpats-title-underline{width:78px;height:4px;border-radius:999px;background:var(--nexpats-red);margin:20px 0 18px}
.nexpats-hero-text{margin:0 0 28px;max-width:660px;font-size:1.14rem;line-height:1.65;color:#596b86}
.nexpats-hero-tabs{display:flex;flex-wrap:wrap;gap:16px 22px;margin:0 0 28px}
.nexpats-hero-tab{display:inline-flex;align-items:center;gap:9px;font-size:1rem;font-weight:700;color:var(--nexpats-blue)}
.nexpats-tab-icon,.nexpats-strip-icon,.nexpats-resource-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.nexpats-tab-icon{width:28px;height:28px;color:var(--nexpats-blue)}
.nexpats-tab-icon svg,.nexpats-strip-icon svg,.nexpats-resource-icon svg{width:22px;height:22px}
.nexpats-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.nexpats-button{min-height:56px;padding:0 24px;font-size:1rem;border-radius:12px}
.nexpats-button.is-primary{background:var(--nexpats-red);color:#fff;box-shadow:0 12px 22px rgba(238,64,54,.16)}
.nexpats-button.is-primary:hover{background:var(--nexpats-red-dark);color:#fff}
.nexpats-button.is-secondary{background:#fff;color:var(--nexpats-blue);border:2px solid #bfd0e8;box-shadow:0 10px 20px rgba(18,63,145,.06)}
.nexpats-button.is-secondary:hover{background:#f7faff}
.nexpats-hero-visual{position:relative;display:flex;align-items:flex-end;justify-content:flex-end;min-height:438px;padding-top:0;overflow:visible}
.nexpats-hero-visual picture,.nexpats-hero-visual img{display:block;width:100%}
.nexpats-hero-visual img{width:calc(100% + 170px);max-width:none;margin-left:auto;margin-right:-165px;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 16px 28px rgba(18,63,145,.06))}
.nexpats-hero-wave{position:absolute;left:0;right:0;bottom:-1px;height:102px;z-index:1;pointer-events:none}
.nexpats-hero-wave span{position:absolute;left:-2%;width:104%;display:block;border-radius:50% 50% 0 0/100% 100% 0 0}
.nexpats-wave-red{height:72px;bottom:24px;background:var(--nexpats-red)}
.nexpats-wave-white{height:66px;bottom:16px;background:#fff}
.nexpats-wave-blue{height:78px;bottom:-5px;background:#0f499e}

/* Feature strip */
.nexpats-feature-strip-wrap{position:relative;z-index:8;margin-top:-54px}
.nexpats-feature-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:#fff;border:1px solid #e2e9f3;border-radius:18px;box-shadow:0 12px 28px rgba(18,63,145,.08);overflow:hidden}
.nexpats-feature-strip-item{display:flex;align-items:flex-start;gap:16px;padding:22px 18px;border-right:1px solid #edf2f8}
.nexpats-feature-strip-item:last-child{border-right:0}
.nexpats-strip-icon{width:48px;height:48px;border-radius:999px;background:#f2f6fc;color:var(--nexpats-blue)}
.nexpats-feature-strip-item h3{margin:0 0 6px;font-size:1.03rem;line-height:1.2;color:var(--nexpats-blue-dark)}
.nexpats-feature-strip-item p{margin:0;font-size:.95rem;line-height:1.45;color:var(--nexpats-muted)}

/* Sections */
.nexpats-home-section{padding:16px 0 0}
.nexpats-home-grid{display:grid;gap:14px}
.nexpats-home-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.nexpats-home-card,.nexpats-resource-card,.nexpats-inner-hero-card,.nexpats-page-card,.nexpats-page-card-v28,.nexpats-feature-card,.nexpats-business-card,.nexpats-post-card,.nexpats-contact-card,.nexpats-panel,.nexpats-cta-box{background:var(--nexpats-card);border:1px solid #e6edf6;border-radius:18px;box-shadow:0 6px 18px rgba(18,63,145,.04)}
.nexpats-home-card{padding:18px 16px 10px}
.nexpats-card-head,.nexpats-section-head,.nexpats-entry-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.nexpats-card-head h2,.nexpats-section-head h2,.nexpats-entry-title{margin:0;font-size:1.2rem;line-height:1.2;color:var(--nexpats-blue-dark)}
.nexpats-card-head a,.nexpats-section-head a{font-size:.92rem;font-weight:700;text-decoration:none;color:var(--nexpats-blue)}
.nexpats-list-stack{display:flex;flex-direction:column;gap:6px}
.nexpats-list-row,.nexpats-business-row,.nexpats-discussion-row{display:flex;align-items:center;gap:14px;padding:11px 0;border-top:1px solid #edf2f8}
.nexpats-list-stack > :first-child{border-top:0;padding-top:0}
.nexpats-thumb-box{width:58px;height:40px;border-radius:10px;flex:0 0 auto;background:#dce8f8;border:1px solid #d8e3f2}
.nexpats-thumb-image{object-fit:cover}
.nexpats-list-copy{min-width:0;flex:1 1 auto}
.nexpats-list-copy strong{display:block;font-size:1rem;line-height:1.3;color:#1e407e}
.nexpats-list-copy span{display:block;margin-top:4px;font-size:.9rem;line-height:1.35;color:var(--nexpats-muted)}
.nexpats-row-arrow{margin-left:auto;color:#93a6c2;font-size:1.2rem;font-weight:700}
.nexpats-business-row{align-items:center}
.nexpats-brand-logo{width:64px;height:44px;object-fit:contain;flex:0 0 auto;border-radius:10px;background:#fff}
.nexpats-meta-note{font-size:.88rem;color:var(--nexpats-muted);white-space:nowrap;margin-left:6px}
.nexpats-avatar-image{width:42px;height:42px;border-radius:999px;object-fit:cover;flex:0 0 auto}
.nexpats-count-pill{min-width:32px;height:32px;padding:0 10px;border-radius:999px;background:#eef4fd;color:var(--nexpats-blue);display:inline-flex;align-items:center;justify-content:center;font-size:.88rem;font-weight:800;margin-left:auto}

.nexpats-home-section-resources{padding-top:12px}
.nexpats-card-head.is-main-head{margin-bottom:16px}
.nexpats-resource-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.nexpats-resource-card{padding:20px 18px;min-height:164px}
.nexpats-resource-icon{width:56px;height:56px;border-radius:999px;background:#f2f6fc;color:var(--nexpats-blue);margin-bottom:16px}
.nexpats-resource-card h3{margin:0 0 8px;font-size:1.05rem;color:var(--nexpats-blue-dark)}
.nexpats-resource-card p{margin:0;font-size:.92rem;line-height:1.5;color:var(--nexpats-muted)}

/* Inner pages */
.nexpats-inner-hero{padding:28px 0 0}
.nexpats-inner-hero-card{padding:36px;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.84)),url('../images/reference-exact-desktop.png') right center/cover no-repeat}
.nexpats-section-kicker{display:inline-flex;align-items:center;justify-content:center;padding:7px 14px;border-radius:999px;background:#eef4fd;color:var(--nexpats-blue);font-size:.78rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.nexpats-inner-hero-card .entry-title{font-size:clamp(2rem,2.6vw,3rem)!important;line-height:1.08;margin:12px 0 14px;max-width:760px}
.nexpats-inner-hero-text{max-width:760px;margin:0;color:var(--nexpats-muted);line-height:1.75;font-size:1.03rem}
.nexpats-page-section{padding:18px 0 0}
.nexpats-page-card,.nexpats-page-card-v28{padding:34px;background:#fff;border:1px solid #e6edf6;border-radius:20px;box-shadow:0 10px 24px rgba(18,63,145,.05)}
.entry-content,.entry-content p,.entry-content li{color:var(--nexpats-text);font-size:1rem;line-height:1.75}
.entry-content h2,.entry-content h3,.entry-content h4{color:var(--nexpats-blue-dark)}
.entry-content a{font-weight:700}
.entry-content input,.entry-content textarea,.entry-content select{width:100%;padding:12px 14px;border:1px solid var(--nexpats-line);border-radius:12px;background:#fff}
.entry-content button,.entry-content input[type=submit],.entry-content .button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border:0;border-radius:12px;background:var(--nexpats-red);color:#fff;font-weight:700}
.entry-content button:hover,.entry-content input[type=submit]:hover,.entry-content .button:hover{background:var(--nexpats-red-dark)}

/* CTA */
.nexpats-cta-section{padding-top:28px}
.nexpats-cta-box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;background:linear-gradient(135deg,#fff 0%,#f6f9fd 100%)}
.nexpats-cta-box h2{margin:8px 0 12px;font-size:2rem;color:var(--nexpats-blue-dark)}
.nexpats-cta-box p{margin:0;max-width:760px;color:var(--nexpats-muted);line-height:1.7}
.nexpats-cta-actions{display:flex;gap:12px;flex-wrap:wrap}

/* Footer */
.nexpats-site-footer{margin-top:46px;background:#11489c!important;color:#e5efff;padding:40px 0 16px}
.nexpats-footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:42px;align-items:flex-start}
.nexpats-footer-logo{height:44px;width:auto;margin-bottom:14px}
.nexpats-footer-brand p,.nexpats-footer-menu a,.nexpats-footer-list li{color:#dce9ff;font-size:.95rem;line-height:1.66}
.nexpats-footer-heading{font-size:1.08rem;color:#fff;font-weight:800;margin-bottom:12px}
.nexpats-footer-menu,.nexpats-footer-list{list-style:none;padding:0!important;margin:0;display:flex;flex-direction:column;gap:8px}
.nexpats-footer-menu a{text-decoration:none}
.nexpats-footer-menu a:hover{color:#fff}
.nexpats-subfooter{display:flex;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.14);margin-top:24px;padding-top:16px;color:#c0d3f7;font-size:.92rem}
.nexpats-back-to-top{position:fixed;right:18px;bottom:18px;width:48px;height:48px;border:0;border-radius:999px;background:var(--nexpats-red);color:#fff;font-size:1.2rem;box-shadow:0 14px 28px rgba(238,64,54,.24);cursor:pointer;opacity:0;visibility:hidden;transition:.2s ease;z-index:999}
.nexpats-back-to-top.is-visible{opacity:1;visibility:visible}

/* Legacy/template support */
.nexpats-section{padding:28px 0}
.nexpats-section-head p{margin:0;color:var(--nexpats-muted);line-height:1.68}
.nexpats-card-grid,.nexpats-business-grid,.nexpats-post-grid,.nexpats-contact-box,.nexpats-two-col{display:grid;gap:18px}
.nexpats-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.nexpats-business-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.nexpats-post-grid,.nexpats-contact-box,.nexpats-two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.nexpats-feature-card,.nexpats-business-card,.nexpats-post-card,.nexpats-contact-card,.nexpats-panel{padding:24px}
.nexpats-bullet-list,.nexpats-check-list{padding-left:18px}
.nexpats-bullet-list li,.nexpats-check-list li{margin:0 0 8px}
.nexpats-post-card .nexpats-read-more{font-weight:700;text-decoration:none}
.nexpats-user-menu,.nexpats-user-dropdown,.nexpats-header-top,.nexpats-header-bottom,.nexpats-brand-text,.nexpats-site-tagline{display:none!important}

@media (max-width:1320px){
  .nexpats-shell{width:min(100% - 34px,1440px)}
  .nexpats-header-inner{gap:16px}
  .nexpats-logo-fallback img{height:56px}
  .nexpats-menu-list a{padding:10px 9px;font-size:.9rem}
  .nexpats-hero-grid{width:min(100% - 34px,1660px);grid-template-columns:minmax(420px,.78fr) minmax(0,1.22fr)}
  .nexpats-hero-copy h1{font-size:clamp(2.8rem,3.5vw,4rem)}
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
  .nexpats-home-grid-three{grid-template-columns:1fr 1fr}
  .nexpats-home-grid-three>:last-child{grid-column:1/-1}
  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:1080px){
  .nexpats-menu-list a{padding:10px 7px;font-size:.86rem}
  .nexpats-header-search{display:none}
  .nexpats-hero-grid{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
  .nexpats-hero-copy{padding:34px 18px 88px 0}
  .nexpats-hero-copy h1{font-size:2.7rem}
  .nexpats-hero-visual{min-height:400px}
  .nexpats-feature-strip-item{padding:18px 12px}
}

@media (max-width:960px){
  .nexpats-feature-strip-wrap{display:block;margin-top:-32px}
  .nexpats-hero-composed-desktop{display:none}
  .nexpats-hero-composed-mobile{display:block}

  .nexpats-header-inner{min-height:88px;gap:12px}
  .nexpats-logo-fallback img{height:52px}
  .nexpats-primary-nav{position:absolute;left:17px;right:17px;top:calc(100% + 8px);display:none;background:#fff;border:1px solid var(--nexpats-line);border-radius:16px;box-shadow:var(--nexpats-shadow);padding:14px}
  .nexpats-primary-nav.is-open{display:block}
  .nexpats-menu-list{flex-direction:column;align-items:stretch;gap:6px}
  .nexpats-menu-list a{justify-content:flex-start;padding:12px 14px;font-size:.96rem}
  .nexpats-menu-list .sub-menu{position:static;display:block;min-width:0;border:0;box-shadow:none;padding:6px 0 0 12px}
  .nexpats-header-search,.nexpats-header-link,.nexpats-header-cta{display:none}
  .nexpats-menu-toggle{display:block}

  .nexpats-hero-grid{width:min(100% - 26px,1660px);grid-template-columns:1fr;gap:0}
  .nexpats-hero-copy{padding:28px 0 0}
  .nexpats-hero-copy h1{font-size:2.5rem;max-width:600px}
  .nexpats-hero-text{font-size:1rem;margin-bottom:20px}
  .nexpats-hero-tabs{gap:12px 18px;margin-bottom:18px}
  .nexpats-hero-tab{font-size:.92rem}
  .nexpats-hero-actions{align-items:flex-start}
  .nexpats-button{min-height:54px}
  .nexpats-hero-visual{min-height:0;padding-top:8px}
  .nexpats-hero-wave{height:86px}
  .nexpats-wave-red{height:62px;bottom:21px}
  .nexpats-wave-white{height:56px;bottom:15px}
  .nexpats-wave-blue{height:66px;bottom:-4px}

  .nexpats-feature-strip-wrap{margin-top:-18px}
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
  .nexpats-feature-strip-item{padding:16px 8px;gap:8px;flex-direction:column;align-items:center;text-align:center}
  .nexpats-feature-strip-item p{display:none}
  .nexpats-feature-strip-item h3{margin:0;font-size:.82rem;line-height:1.35}
  .nexpats-strip-icon{width:42px;height:42px}

  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nexpats-cta-box,.nexpats-footer-grid{display:grid;grid-template-columns:1fr}
  .nexpats-subfooter{flex-direction:column;align-items:flex-start}
}

@media (max-width:640px){
  .nexpats-hero-composed-mobile{min-height:640px}
  .nexpats-hero-composed-shell-mobile{min-height:640px}
  .nexpats-hero-copy-v35-mobile{padding:24px 0 108px;max-width:64%}

  .nexpats-shell{width:min(100% - 20px,1440px)}
  .nexpats-header-inner{min-height:86px}
  .nexpats-logo-fallback img{height:48px}
  .nexpats-menu-toggle{width:58px;height:58px;border-radius:18px}

  .nexpats-home-hero{padding-bottom:6px}
  .nexpats-hero-grid{width:min(100% - 20px,1520px)}
  .nexpats-hero-copy h1{font-size:2.05rem;line-height:1.12}
  .nexpats-title-underline{width:70px;margin:14px 0 16px}
  .nexpats-hero-text{font-size:.96rem;line-height:1.55}
  .nexpats-hero-tabs{gap:10px 14px}
  .nexpats-hero-tab{font-size:.86rem}
  .nexpats-tab-icon{width:24px;height:24px}
  .nexpats-tab-icon svg{width:18px;height:18px}
  .nexpats-hero-actions{flex-direction:column;align-items:flex-start}
  .nexpats-button{width:100%;max-width:360px}
  .nexpats-hero-visual{margin-top:8px}
  .nexpats-hero-visual img{max-width:none;width:100%;margin-right:0}

  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
  .nexpats-feature-strip-item{padding:14px 6px}
  .nexpats-feature-strip-item h3{font-size:.74rem}
  .nexpats-strip-icon{width:38px;height:38px}
  .nexpats-strip-icon svg{width:18px;height:18px}

  .nexpats-card-head,.nexpats-section-head,.nexpats-entry-header{flex-direction:column;align-items:flex-start}
  .nexpats-card-head a,.nexpats-section-head a{white-space:normal}
  .nexpats-home-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nexpats-home-grid-three>:last-child{grid-column:1/-1}
  .nexpats-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nexpats-list-row,.nexpats-business-row,.nexpats-discussion-row{align-items:flex-start}
  .nexpats-business-row,.nexpats-discussion-row{display:grid;grid-template-columns:60px 1fr auto;gap:12px}
  .nexpats-meta-note{grid-column:2;white-space:normal;margin:0}
  .nexpats-count-pill,.nexpats-row-arrow{margin-left:0}
  .nexpats-page-card,.nexpats-page-card-v28,.nexpats-inner-hero-card{padding:24px}
}

@media (max-width:480px){
  .nexpats-hero-composed-mobile{min-height:600px}
  .nexpats-hero-composed-shell-mobile{min-height:600px}
  .nexpats-hero-copy-v35-mobile{padding:18px 0 96px;max-width:66%}

  .nexpats-logo-fallback img{height:40px}
  .nexpats-menu-toggle{width:54px;height:54px;border-radius:16px}
  .nexpats-hero-copy{padding-top:22px}
  .nexpats-hero-copy h1{font-size:1.9rem}
  .nexpats-hero-text{font-size:.92rem}
  .nexpats-button{min-height:50px;max-width:none}
  .nexpats-hero-wave{height:72px}
  .nexpats-wave-red{height:54px;bottom:18px}
  .nexpats-wave-white{height:48px;bottom:13px}
  .nexpats-wave-blue{height:58px}
  .nexpats-home-card{padding:16px 14px 8px}
  .nexpats-thumb-box{width:52px;height:38px}
  .nexpats-brand-logo{width:52px;height:38px}
  .nexpats-list-copy strong{font-size:.94rem}
  .nexpats-list-copy span{font-size:.84rem}
  .nexpats-resource-card{padding:16px 14px;min-height:0}
  .nexpats-resource-card h3{font-size:.98rem}
  .nexpats-resource-card p{font-size:.86rem}
}

@media (max-width:991px){
  .nexpats-hero-exact-desktop{display:none}
  .nexpats-hero-panel-mobile{display:block}
  .nexpats-home-hero{background:#fff}
}
@media (min-width:992px){
  .nexpats-hero-panel-mobile{display:none}
  .nexpats-hero-composed-desktop{display:block}
  .nexpats-hero-composed-mobile{display:none}
}

.nexpats-home-hero img{border:0}

.nexpats-hero-exact-link:focus-visible{outline:3px solid #123f91;outline-offset:2px}

@media (max-width:640px){
  .nexpats-hero-copy-v35 h1{font-size:2.2rem;max-width:none}
  .nexpats-hero-copy-v35 .nexpats-hero-text{max-width:none;font-size:.96rem;line-height:1.58}
  .nexpats-hero-copy-v35 .nexpats-hero-tabs{gap:10px 14px;max-width:none}
  .nexpats-hero-copy-v35 .nexpats-hero-actions{flex-direction:column;align-items:flex-start}
  .nexpats-hero-copy-v35 .nexpats-button{width:100%;max-width:290px}
  .nexpats-feature-strip{border-radius:16px}
  .nexpats-feature-strip-item{min-height:116px}
  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:480px){
  .nexpats-feature-strip-wrap{margin-top:-28px}
  .nexpats-hero-copy-v35 h1{font-size:2rem}
  .nexpats-hero-copy-v35-mobile{max-width:68%}
  .nexpats-home-grid-three{grid-template-columns:1fr 1fr}
  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:390px){
  .nexpats-hero-copy-v35-mobile{max-width:70%}
  .nexpats-feature-strip-item h3{font-size:.7rem}
}


/* =========================
   v36 Hero/header refinement
   ========================= */
.site-main{padding-bottom:38px;padding-top:0!important}
.nexpats-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:0;box-shadow:0 6px 22px rgba(17,72,156,.06)}
.nexpats-header-inner{min-height:86px}
.nexpats-brand-link{line-height:0}
.nexpats-home-hero-v36{position:relative;padding:0;background:#f4f8fe;margin-top:0}
.nexpats-hero-v36{position:relative;overflow:hidden}
.nexpats-hero-v36-media{position:relative;z-index:1}
.nexpats-hero-v36-media img{display:block;width:100%;height:auto}
.nexpats-hero-v36-shell{position:absolute;inset:0;z-index:2;display:flex;align-items:center}
.nexpats-hero-v36-copy{max-width:560px;padding:34px 0 40px}
.nexpats-hero-v36-copy h1{margin:0;max-width:540px;font-size:clamp(2.45rem,3vw,4rem);line-height:1.05;font-weight:800;color:var(--nexpats-blue-dark);letter-spacing:-.035em;text-wrap:balance}
.nexpats-hero-v36-copy .nexpats-hero-text{max-width:520px;margin:0 0 22px;color:#5e7192;font-size:1.02rem;line-height:1.72}
.nexpats-hero-v36-copy .nexpats-hero-tabs{display:flex;gap:18px 22px;flex-wrap:wrap;margin:0 0 24px;padding:0;max-width:560px}
.nexpats-hero-v36-copy .nexpats-hero-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.nexpats-hero-v36-copy .nexpats-button{min-height:52px;padding:0 26px;border-radius:14px}
.nexpats-hero-v36-copy .nexpats-button.is-secondary{border:2px solid #c6d4e7;background:rgba(255,255,255,.92);color:var(--nexpats-blue)}
.nexpats-hero-v36-copy .nexpats-button.is-secondary:hover{background:#fff;color:var(--nexpats-blue-dark)}
.nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-26px;position:relative;z-index:5}
.nexpats-title-underline{width:74px;height:5px;border-radius:999px;background:var(--nexpats-red);margin:16px 0 18px}

/* Desktop hero */
.nexpats-hero-v36-desktop{display:block}
.nexpats-hero-v36-mobile{display:none}
.nexpats-hero-v36-desktop .nexpats-hero-v36-shell::before{content:"";position:absolute;left:0;top:0;bottom:0;width:min(48%,700px);background:linear-gradient(90deg,rgba(248,251,255,.98) 0%, rgba(248,251,255,.96) 58%, rgba(248,251,255,.80) 78%, rgba(248,251,255,0) 100%);pointer-events:none}
.nexpats-hero-v36-desktop .nexpats-hero-v36-copy{position:relative;z-index:2}

/* Make sections slightly tighter */
.nexpats-home-section{padding:42px 0}
.nexpats-home-section-resources{padding-top:30px}
.nexpats-cta-section{padding-top:30px}
.nexpats-feature-strip-item{min-height:112px}

/* Tablet/mobile hero with dedicated layout */
@media (max-width:991px){
  .nexpats-site-header{position:sticky}
  .nexpats-header-inner{min-height:80px}
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-22px}
  .nexpats-hero-v36-desktop{display:none}
  .nexpats-hero-v36-mobile{display:block;background:linear-gradient(180deg,#eff5fd 0%,#f7fafe 100%)}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-shell{position:absolute;inset:0;display:flex;align-items:flex-start}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-shell::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(248,251,255,.96) 0%,rgba(248,251,255,.93) 26%,rgba(248,251,255,.74) 48%,rgba(248,251,255,.16) 66%,rgba(248,251,255,0) 78%),linear-gradient(90deg,rgba(248,251,255,.98) 0%,rgba(248,251,255,.96) 58%,rgba(248,251,255,.55) 78%,rgba(248,251,255,0) 100%);pointer-events:none}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{position:relative;z-index:2;max-width:72%;padding:24px 0 108px}
  .nexpats-hero-v36-copy h1{font-size:clamp(2.15rem,6vw,3rem);max-width:none}
  .nexpats-hero-v36-copy .nexpats-hero-text{max-width:none;font-size:.98rem;line-height:1.58}
  .nexpats-hero-v36-copy .nexpats-hero-tabs{gap:10px 14px;max-width:none}
  .nexpats-hero-v36-copy .nexpats-hero-actions{flex-direction:column;align-items:flex-start;gap:12px}
  .nexpats-hero-v36-copy .nexpats-button{width:100%;max-width:300px}
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
  .nexpats-feature-strip-item{padding:16px 8px;gap:8px;flex-direction:column;align-items:center;text-align:center;min-height:116px}
  .nexpats-feature-strip-item p{display:none}
  .nexpats-feature-strip-item h3{margin:0;font-size:.8rem;line-height:1.35}
}
@media (max-width:640px){
  .nexpats-header-inner{min-height:76px}
  .nexpats-logo-fallback img{height:46px}
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-18px}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{max-width:74%;padding:18px 0 96px}
  .nexpats-hero-v36-copy h1{font-size:2rem;line-height:1.08}
  .nexpats-title-underline{width:66px;height:4px;margin:14px 0 14px}
  .nexpats-hero-v36-copy .nexpats-hero-text{font-size:.93rem;line-height:1.5;margin-bottom:16px}
  .nexpats-hero-v36-copy .nexpats-hero-tabs{gap:8px 12px;margin-bottom:16px}
  .nexpats-hero-v36-copy .nexpats-hero-tab{font-size:.84rem}
  .nexpats-hero-v36-copy .nexpats-tab-icon{width:24px;height:24px}
  .nexpats-hero-v36-copy .nexpats-tab-icon svg{width:17px;height:17px}
  .nexpats-hero-v36-copy .nexpats-button{max-width:none;min-height:50px}
  .nexpats-feature-strip{border-radius:16px}
  .nexpats-feature-strip-item{min-height:108px;padding:14px 6px}
  .nexpats-feature-strip-item h3{font-size:.72rem}
}
@media (max-width:480px){
  .nexpats-logo-fallback img{height:40px}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{max-width:78%;padding:14px 0 84px}
  .nexpats-hero-v36-copy h1{font-size:1.82rem}
  .nexpats-hero-v36-copy .nexpats-hero-tab{font-size:.8rem}
  .nexpats-feature-strip-wrap{display:block}
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
  .nexpats-home-grid-three{grid-template-columns:1fr}
  .nexpats-home-grid-three>:last-child{grid-column:auto}
  .nexpats-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:390px){
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{max-width:82%;padding-bottom:78px}
  .nexpats-hero-v36-copy h1{font-size:1.7rem}
}


/* =========================
   v37 compact layout refinements
   ========================= */
.nexpats-hero-v36-copy{padding:30px 0 22px}
.nexpats-hero-v36-copy .nexpats-hero-text{margin:0 0 18px}
.nexpats-hero-v36-copy .nexpats-hero-tabs{margin:0 0 20px}
.nexpats-hero-v36-copy .nexpats-hero-actions{margin:0;padding:0;background:transparent}
.nexpats-hero-v36-copy .nexpats-button{position:relative;z-index:3;box-shadow:0 8px 18px rgba(18,63,145,.08)}

/* lift the feature bar so it slightly overlaps the hero like the reference */
.nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-44px;position:relative;z-index:8}
.nexpats-feature-strip{box-shadow:0 12px 26px rgba(18,63,145,.10)}
.nexpats-feature-strip-item{min-height:98px;padding:18px 16px}
.nexpats-feature-strip-item h3{margin:0 0 4px;font-size:1rem}
.nexpats-feature-strip-item p{font-size:.9rem;line-height:1.4}

/* make the homepage more compact like the reference */
.site-main{padding-bottom:24px}
.nexpats-home-section{padding:14px 0 0}
.nexpats-home-section-resources{padding-top:10px}
.nexpats-cta-section{padding-top:18px}
.nexpats-home-grid{gap:10px}
.nexpats-resource-grid{gap:10px}
.nexpats-card-grid,.nexpats-business-grid,.nexpats-post-grid,.nexpats-contact-box,.nexpats-two-col{gap:14px}
.nexpats-home-card{padding:16px 15px 8px}
.nexpats-resource-card{padding:18px 16px;min-height:146px}
.nexpats-resource-card h3{margin:0 0 6px}
.nexpats-resource-card p{font-size:.9rem;line-height:1.45}
.nexpats-cta-box{padding:18px 18px}
.nexpats-site-footer{margin-top:18px}

@media (max-width:991px){
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-34px}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{padding:22px 0 96px}
  .nexpats-feature-strip-item{min-height:108px;padding:15px 8px}
  .nexpats-home-section{padding:12px 0 0}
  .nexpats-home-section-resources{padding-top:8px}
  .nexpats-cta-section{padding-top:14px}
}
@media (max-width:640px){
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-26px}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{padding:16px 0 86px}
  .nexpats-home-grid{gap:8px}
  .nexpats-resource-grid{gap:8px}
}
@media (max-width:480px){
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-20px}
  .nexpats-feature-strip-item{min-height:102px;padding:12px 6px}
}


/* =========================
   v38 transparent hero copy background fix
   ========================= */
.nexpats-home-hero-v36,
.nexpats-hero-v36,
.nexpats-hero-v36-shell,
.nexpats-hero-v36-copy,
.nexpats-hero-v36-copy .nexpats-hero-actions,
.nexpats-hero-v36-copy .nexpats-hero-tabs{
  background:transparent !important;
}

/* Remove the semi-white overlay behind hero text/buttons */
.nexpats-hero-v36-desktop .nexpats-hero-v36-shell::before,
.nexpats-hero-v36-mobile .nexpats-hero-v36-shell::before{
  content:none !important;
  display:none !important;
  background:transparent !important;
}

/* Keep buttons solid and readable */
.nexpats-hero-v36-copy .nexpats-button.is-primary{
  background:linear-gradient(180deg,#ff5b47 0%,#ef4335 100%) !important;
  color:#fff !important;
  border-color:#ef4335 !important;
}
.nexpats-hero-v36-copy .nexpats-button.is-secondary{
  background:rgba(255,255,255,.96) !important;
  color:var(--nexpats-blue) !important;
  border:2px solid #c6d4e7 !important;
}

/* Hard reset any accidental white panel around hero content */
.nexpats-hero-v36-copy::before,
.nexpats-hero-v36-copy::after,
.nexpats-hero-v36-shell::after{
  content:none !important;
  display:none !important;
}


/* =========================
   v39 homepage polish / compact layout / mobile refinement
   ========================= */

/* Header: logo iets groter, grijze scheidslijn rustiger */
.nexpats-site-header{
  background:rgba(255,255,255,.985) !important;
  box-shadow:0 4px 16px rgba(17,72,156,.04) !important;
}
.nexpats-header-inner{min-height:82px !important}
.nexpats-logo-fallback img{height:68px !important;width:auto}
.nexpats-home-hero-v36{margin-top:-1px}

/* Desktop hero and feature strip closer to reference */
.nexpats-hero-v36-copy{padding:28px 0 20px !important}
.nexpats-hero-v36-copy h1{max-width:520px}
.nexpats-hero-v36-copy .nexpats-hero-text{max-width:500px;margin:0 0 16px !important}
.nexpats-hero-v36-copy .nexpats-hero-tabs{margin:0 0 18px !important;gap:14px 20px !important}
.nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-54px !important}
.nexpats-feature-strip{border-radius:20px;box-shadow:0 14px 28px rgba(18,63,145,.11) !important}
.nexpats-feature-strip-item{min-height:94px !important;padding:18px 16px !important}
.nexpats-feature-strip-item h3{font-size:.98rem !important;margin:0 0 3px !important}
.nexpats-feature-strip-item p{font-size:.88rem !important;line-height:1.38 !important}

/* Homepage blocks tighter from top to bottom */
.site-main{padding-bottom:18px !important}
.nexpats-home-section{padding:10px 0 0 !important}
.nexpats-home-section-resources{padding-top:8px !important}
.nexpats-cta-section{padding-top:12px !important}
.nexpats-home-grid{gap:8px !important}
.nexpats-resource-grid{gap:8px !important}
.nexpats-home-card{padding:15px 14px 8px !important}
.nexpats-resource-card{padding:16px 14px !important;min-height:136px !important}
.nexpats-cta-box{padding:16px 18px !important}
.nexpats-site-footer{margin-top:14px !important}

/* Keep inner pages clean rather than repeating the full hero everywhere */
.nexpats-page-card,.nexpats-page-card-v28,.nexpats-inner-hero-card{box-shadow:0 6px 18px rgba(18,63,145,.04)}

/* Tablet/mobile polish */
@media (max-width:991px){
  .nexpats-header-inner{min-height:78px !important}
  .nexpats-logo-fallback img{height:58px !important}
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-40px !important}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{
    max-width:56% !important;
    padding:18px 0 84px !important;
  }
  .nexpats-hero-v36-copy h1{font-size:clamp(1.95rem,5.2vw,2.6rem) !important;line-height:1.08 !important}
  .nexpats-hero-v36-copy .nexpats-hero-text{font-size:.92rem !important;line-height:1.5 !important;margin-bottom:14px !important}
  .nexpats-hero-v36-copy .nexpats-hero-tabs{gap:8px 12px !important;margin-bottom:14px !important}
  .nexpats-hero-v36-copy .nexpats-hero-tab{font-size:.82rem !important}
  .nexpats-hero-v36-copy .nexpats-button{max-width:270px !important;min-height:48px !important}

  /* mobile feature bar like reference: still with short descriptions */
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr)) !important}
  .nexpats-feature-strip-item{
    min-height:150px !important;
    padding:14px 8px !important;
    gap:8px !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }
  .nexpats-feature-strip-item p{display:block !important;font-size:.77rem !important;line-height:1.32 !important}
  .nexpats-feature-strip-item h3{font-size:.84rem !important;line-height:1.28 !important;margin:0 !important}
  .nexpats-strip-icon{width:42px !important;height:42px !important}

  .nexpats-home-section{padding:8px 0 0 !important}
  .nexpats-home-section-resources{padding-top:6px !important}
  .nexpats-cta-section{padding-top:10px !important}
}

@media (max-width:640px){
  .nexpats-header-inner{min-height:74px !important}
  .nexpats-logo-fallback img{height:54px !important}
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-32px !important}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{
    max-width:58% !important;
    padding:14px 0 76px !important;
  }
  .nexpats-hero-v36-copy h1{font-size:1.78rem !important}
  .nexpats-title-underline{width:60px !important;margin:12px 0 12px !important}
  .nexpats-hero-v36-copy .nexpats-hero-text{font-size:.88rem !important;line-height:1.46 !important}
  .nexpats-hero-v36-copy .nexpats-hero-actions{gap:10px !important}
  .nexpats-feature-strip-item{min-height:144px !important;padding:12px 6px !important}
  .nexpats-feature-strip-item h3{font-size:.78rem !important}
  .nexpats-feature-strip-item p{font-size:.72rem !important}

  /* Mobile homepage layout must stay compact like reference */
  .nexpats-home-grid-three{grid-template-columns:1fr 1fr !important}
  .nexpats-home-grid-three > :last-child{grid-column:1 / -1 !important}
  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .nexpats-home-card{padding:14px 12px 8px !important}
  .nexpats-card-head h2{font-size:1.28rem !important}
  .nexpats-list-copy strong{font-size:.92rem !important}
  .nexpats-list-copy span{font-size:.8rem !important}
  .nexpats-business-row,.nexpats-discussion-row{display:grid;grid-template-columns:52px 1fr auto !important;gap:10px !important}
  .nexpats-thumb-box,.nexpats-brand-logo{width:50px !important;height:38px !important}
  .nexpats-avatar-image{width:40px !important;height:40px !important}
  .nexpats-resource-card{min-height:124px !important;padding:14px 10px !important}
  .nexpats-resource-card h3{font-size:.92rem !important}
  .nexpats-resource-card p{font-size:.78rem !important;line-height:1.34 !important}
}

@media (max-width:480px){
  .nexpats-logo-fallback img{height:50px !important}
  .nexpats-menu-toggle{width:52px !important;height:52px !important}
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-28px !important}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{
    max-width:60% !important;
    padding:12px 0 70px !important;
  }
  .nexpats-hero-v36-copy h1{font-size:1.62rem !important;line-height:1.08 !important}
  .nexpats-hero-v36-copy .nexpats-hero-tab{font-size:.76rem !important}
  .nexpats-hero-v36-copy .nexpats-button{min-height:46px !important;font-size:.96rem !important}
  .nexpats-feature-strip{border-radius:16px !important}
  .nexpats-feature-strip-item{min-height:136px !important}
  .nexpats-feature-strip-item h3{font-size:.74rem !important}
  .nexpats-feature-strip-item p{font-size:.68rem !important}

  /* keep the two top cards beside each other, like the supplied mobile example */
  .nexpats-home-grid-three{grid-template-columns:1fr 1fr !important}
  .nexpats-home-grid-three > :last-child{grid-column:1 / -1 !important}
  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}

@media (max-width:380px){
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{max-width:62% !important;padding-bottom:64px !important}
  .nexpats-hero-v36-copy h1{font-size:1.5rem !important}
  .nexpats-feature-strip-item{min-height:128px !important}
  .nexpats-feature-strip-item p{display:none !important}
}


/* =========================
   v40 mobile hero correction
   ========================= */
.nexpats-hero-v36-mobile{
  background:none !important;
}
.nexpats-hero-v36-mobile .nexpats-hero-v36-media img{
  width:100%;
  height:auto;
  display:block;
}
.nexpats-hero-v36-mobile .nexpats-hero-v36-shell::before{
  content:none !important;
  display:none !important;
  background:none !important;
}

@media (max-width:991px){
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-38px !important}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{
    max-width:56% !important;
    padding:18px 0 84px !important;
  }
  .nexpats-hero-v36-copy h1{
    font-size:clamp(2rem,5.5vw,2.7rem) !important;
    line-height:1.08 !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-text{
    font-size:.93rem !important;
    line-height:1.5 !important;
    max-width:none !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-tabs{
    gap:9px 12px !important;
    margin:0 0 14px !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-tab{
    font-size:.8rem !important;
  }
  .nexpats-hero-v36-copy .nexpats-button{
    max-width:250px !important;
    min-height:46px !important;
    font-size:.95rem !important;
  }
  .nexpats-feature-strip-item{
    min-height:142px !important;
    padding:12px 8px !important;
  }
  .nexpats-feature-strip-item h3{
    font-size:.8rem !important;
  }
  .nexpats-feature-strip-item p{
    display:block !important;
    font-size:.74rem !important;
    line-height:1.3 !important;
  }
}

@media (max-width:640px){
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-30px !important}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{
    max-width:58% !important;
    padding:14px 0 74px !important;
  }
  .nexpats-hero-v36-copy h1{
    font-size:1.76rem !important;
  }
  .nexpats-title-underline{
    width:58px !important;
    margin:10px 0 10px !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-text{
    font-size:.86rem !important;
    line-height:1.44 !important;
    margin-bottom:12px !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-tabs{
    margin-bottom:12px !important;
    gap:8px 10px !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-tab{
    font-size:.76rem !important;
  }
  .nexpats-hero-v36-copy .nexpats-button{
    min-height:44px !important;
    max-width:240px !important;
  }
  .nexpats-feature-strip{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  }
  .nexpats-feature-strip-item{
    min-height:132px !important;
    padding:10px 6px !important;
  }
  .nexpats-feature-strip-item h3{
    font-size:.74rem !important;
  }
  .nexpats-feature-strip-item p{
    font-size:.68rem !important;
  }
  .nexpats-home-grid-three{
    grid-template-columns:1fr 1fr !important;
  }
  .nexpats-home-grid-three > :last-child{
    grid-column:1 / -1 !important;
  }
  .nexpats-resource-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width:480px){
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-24px !important}
  .nexpats-hero-v36-mobile .nexpats-hero-v36-copy{
    max-width:60% !important;
    padding:12px 0 66px !important;
  }
  .nexpats-hero-v36-copy h1{
    font-size:1.58rem !important;
    line-height:1.08 !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-text{
    font-size:.82rem !important;
    margin-bottom:10px !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-tabs{
    gap:7px 9px !important;
  }
  .nexpats-hero-v36-copy .nexpats-hero-tab{
    font-size:.72rem !important;
  }
  .nexpats-hero-v36-copy .nexpats-button{
    max-width:225px !important;
    font-size:.92rem !important;
  }
  .nexpats-feature-strip-item{
    min-height:124px !important;
  }
  .nexpats-feature-strip-item p{
    font-size:.64rem !important;
  }
}


/* v41 layout refresh */

body{background:#f6f8fc;}
.nexpats-site-main,.site-main{background:transparent;}
.nexpats-logo{position:relative;display:inline-flex;align-items:center;}
.nexpats-logo::after{content:"";position:absolute;left:0;right:-30px;bottom:-4px;height:8px;background:#fff;pointer-events:none;}
.nexpats-site-header{box-shadow:0 10px 26px rgba(22,51,107,.06);}
.nexpats-page-hero-v41{padding:26px 0 8px;}
.nexpats-page-hero-v41 .nexpats-page-hero-grid{background:linear-gradient(135deg,#ffffff 0%,#f4f8ff 55%,#fff7f6 100%);border:1px solid rgba(36,82,163,.08);border-radius:32px;padding:34px 34px 30px;gap:28px;align-items:stretch;box-shadow:0 18px 40px rgba(17,38,73,.06);position:relative;overflow:hidden;}
.nexpats-page-hero-v41 .nexpats-page-hero-grid::before{content:"";position:absolute;right:-80px;top:-80px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(40,109,214,.12) 0%,rgba(40,109,214,0) 70%);}
.nexpats-page-hero-v41 .nexpats-page-hero-grid::after{content:"";position:absolute;left:-50px;bottom:-80px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(244,92,72,.10) 0%,rgba(244,92,72,0) 72%);}
.nexpats-page-hero-copy,.nexpats-page-hero-card{position:relative;z-index:1;}
.nexpats-page-hero h1{font-size:clamp(2.4rem,4.8vw,4.5rem);line-height:1.02;letter-spacing:-.04em;max-width:14ch;margin-bottom:16px;}
.nexpats-intro{max-width:60ch;font-size:1.06rem;color:#486183;}
.nexpats-page-hero-card{background:#fff;border:1px solid rgba(40,109,214,.12);border-radius:24px;padding:24px;box-shadow:0 14px 30px rgba(24,49,94,.08);align-self:center;}
.nexpats-page-hero-card .nexpats-check-list li{font-size:.98rem;color:#28405f;margin-bottom:14px;}
.nexpats-hero-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;}
.nexpats-mini-stat{background:rgba(255,255,255,.82);border:1px solid rgba(35,84,164,.10);border-radius:18px;padding:14px 16px;box-shadow:0 10px 20px rgba(22,47,88,.05);}
.nexpats-mini-stat strong{display:block;font-size:.96rem;color:#16336b;margin-bottom:4px;}
.nexpats-mini-stat span{display:block;font-size:.88rem;line-height:1.45;color:#5e7390;}
.nexpats-section{padding:26px 0;}
.nexpats-section-tight{padding-top:10px;}
.nexpats-section-head.is-compact{margin-bottom:18px;max-width:760px;}
.nexpats-section-head.is-compact h2{font-size:clamp(1.8rem,3vw,2.7rem);margin-bottom:10px;line-height:1.08;}
.nexpats-section-head.is-compact p{font-size:1rem;color:#617794;}
.nexpats-page-card,.nexpats-panel,.nexpats-contact-card,.nexpats-feature-card{background:#fff;border:1px solid rgba(42,81,153,.10);border-radius:24px;box-shadow:0 16px 32px rgba(16,38,73,.05);}
.nexpats-feature-card{padding:24px;}
.nexpats-feature-card h3{font-size:1.6rem;line-height:1.1;margin-bottom:12px;}
.nexpats-two-col{gap:24px;align-items:start;}
.nexpats-community-network{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:24px;align-items:start;}
.nexpats-community-main,.nexpats-community-sidebar{min-width:0;}
.nexpats-community-sidebar{display:grid;gap:18px;}
.nexpats-stats-v41 .ne-community-stats,.nexpats-stats-v41 .nexpats-stat-grid{margin:0;}
.nexpats-contact-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px;align-items:start;}
.nexpats-contact-card{padding:26px;}
.nexpats-contact-card.is-form-card{padding:28px;}
.nexpats-contact-card h3{font-size:2rem;line-height:1.08;margin-bottom:16px;}
.nexpats-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.nexpats-field{margin-bottom:16px;}
.nexpats-field label{display:block;font-weight:700;color:#1b3153;margin-bottom:8px;font-size:.96rem;}
.nexpats-field input,.nexpats-field textarea,.nexpats-field select,.nexpats-form input,.nexpats-form textarea,.nexpats-form select{width:100%;display:block;border:1px solid #d3dced;background:#fff;border-radius:14px;padding:13px 15px;font-size:1rem;line-height:1.4;box-shadow:none;min-height:52px;}
.nexpats-field textarea,.nexpats-form textarea{min-height:170px;resize:vertical;}
.nexpats-field input:focus,.nexpats-field textarea:focus,.nexpats-form input:focus,.nexpats-form textarea:focus,.nexpats-form select:focus{outline:none;border-color:#2458c6;box-shadow:0 0 0 4px rgba(36,88,198,.10);}
.nexpats-event-card .nexpats-event-meta{font-size:.9rem;color:#2458c6;font-weight:700;margin-top:12px;}
.nexpats-card-badge.is-soft{background:rgba(36,88,198,.09);color:#2458c6;}
.nexpats-footer-list a{color:#fff;text-decoration:none;}
.nexpats-footer-list a:hover{opacity:.85;}
.nexpats-home-hero-v41-mobile{display:none;}
@media (max-width: 1024px){
 .nexpats-page-hero-v41 .nexpats-page-hero-grid,.nexpats-community-network,.nexpats-contact-layout{grid-template-columns:1fr;}
 .nexpats-page-hero h1{max-width:none;}
 .nexpats-hero-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 767px){
 .nexpats-home-hero-v36:not(.nexpats-home-hero-v41-mobile){display:none !important;}
 .nexpats-home-hero-v41-mobile{display:block !important;padding:14px 0 6px;}
 .nexpats-mobile-hero-card{background:linear-gradient(180deg,#ffffff 0%,#f4f8ff 100%);border:1px solid rgba(36,88,198,.09);border-radius:26px;box-shadow:0 14px 34px rgba(16,38,73,.10);overflow:hidden;}
 .nexpats-mobile-hero-copy{padding:18px 18px 10px;}
 .nexpats-mobile-hero-copy h1{font-size:2.1rem;line-height:1.04;letter-spacing:-.04em;color:#16336b;margin:10px 0 12px;}
 .nexpats-mobile-hero-copy p{font-size:.98rem;line-height:1.55;color:#4f6481;}
 .nexpats-mobile-hero-art img{display:block;width:100%;height:auto;}
 .nexpats-mobile-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px;}
 .nexpats-mobile-hero-actions .nexpats-button{justify-content:center;width:100%;}
 .nexpats-hero-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
 .nexpats-hero-tabs span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#fff;border:1px solid rgba(36,88,198,.10);font-size:.84rem;color:#20457b;font-weight:700;}
 .nexpats-page-hero-v41{padding-top:14px;}
 .nexpats-page-hero-v41 .nexpats-page-hero-grid{padding:22px 18px 18px;border-radius:24px;gap:18px;}
 .nexpats-page-hero h1{font-size:2.25rem;line-height:1.04;}
 .nexpats-intro{font-size:.98rem;}
 .nexpats-hero-mini-grid{grid-template-columns:1fr;gap:10px;margin-top:16px;}
 .nexpats-section{padding:18px 0;}
 .nexpats-feature-card,.nexpats-page-card,.nexpats-panel,.nexpats-contact-card{border-radius:20px;padding:18px;}
 .nexpats-form-row,.nexpats-card-grid.is-three{grid-template-columns:1fr;}
 .nexpats-community-network,.nexpats-contact-layout,.nexpats-two-col{grid-template-columns:1fr;gap:18px;}
 .nexpats-contact-card h3{font-size:1.5rem;}
 .nexpats-logo::after{right:-10px;height:6px;}
}


/* =========================
   v43 final polish
   ========================= */

/* Header desktop: cleaner proportions */
.nexpats-site-header{
  border-bottom:0 !important;
  box-shadow:0 6px 18px rgba(17,72,156,.04) !important;
}
.nexpats-header-inner{
  min-height:76px !important;
  gap:14px !important;
}
.nexpats-logo-fallback img{
  height:52px !important;
  width:auto !important;
}
.nexpats-primary-nav{min-width:0 !important}
.nexpats-menu-list{gap:0 !important}
.nexpats-menu-list a{
  padding:10px 8px !important;
  font-size:.86rem !important;
}
.nexpats-header-search{
  display:none !important;
}
.nexpats-header-actions-wrap{gap:10px !important}
.nexpats-header-link,
.nexpats-header-cta{
  min-height:42px !important;
  padding:0 16px !important;
  font-size:.94rem !important;
  border-radius:12px !important;
}
@media (min-width:992px) and (max-width:1260px){
  .nexpats-logo-fallback img{height:48px !important}
  .nexpats-menu-list a{padding:9px 6px !important;font-size:.82rem !important}
  .nexpats-header-link,.nexpats-header-cta{padding:0 14px !important;font-size:.9rem !important}
}

/* All page hero titles smaller and more elegant */
.nexpats-page-hero-v41{
  padding:20px 0 6px !important;
}
.nexpats-page-hero-v41 .nexpats-page-hero-grid{
  padding:24px 26px 22px !important;
  gap:22px !important;
  border-radius:28px !important;
}
.nexpats-page-hero h1{
  font-size:clamp(2rem,3.2vw,3.35rem) !important;
  line-height:1.05 !important;
  letter-spacing:-.035em !important;
  max-width:16ch !important;
  margin-bottom:12px !important;
}
.nexpats-intro{
  font-size:.98rem !important;
  line-height:1.6 !important;
}
.nexpats-page-hero-card{
  padding:20px !important;
  border-radius:22px !important;
}
.nexpats-hero-mini-grid{
  gap:10px !important;
  margin-top:16px !important;
}
.nexpats-mini-stat{
  padding:12px 14px !important;
  border-radius:16px !important;
}
.nexpats-section{
  padding:18px 0 !important;
}
.nexpats-section-head.is-compact{
  margin-bottom:14px !important;
}
.nexpats-section-head.is-compact h2{
  font-size:clamp(1.5rem,2.3vw,2.2rem) !important;
}
.nexpats-contact-card h3,
.nexpats-feature-card h3,
.nexpats-panel-heading{
  line-height:1.15 !important;
}
.nexpats-form input,
.nexpats-form textarea,
.nexpats-form select,
.nexpats-field input,
.nexpats-field textarea,
.nexpats-field select{
  width:100% !important;
  display:block !important;
}

/* Mobile homepage: rebuild to match approved reference */
@media (max-width:767px){
  .nexpats-home-hero-v36:not(.nexpats-home-hero-v41-mobile){
    display:none !important;
  }
  .nexpats-home-hero-v41-mobile{
    display:block !important;
    padding:10px 0 6px !important;
  }
  .nexpats-hero-v36-mobile{
    display:block !important;
    background:transparent !important;
  }
  .nexpats-mobile-hero-card{
    display:flex !important;
    flex-direction:column !important;
    background:linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%) !important;
    border:1px solid rgba(36,88,198,.10) !important;
    border-radius:26px !important;
    overflow:hidden !important;
    box-shadow:0 16px 32px rgba(16,38,73,.10) !important;
  }
  .nexpats-mobile-hero-copy{
    padding:18px 18px 0 !important;
  }
  .nexpats-hero-badge{
    display:inline-flex !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    background:#edf4ff !important;
    color:#1f4ea1 !important;
    font-size:.72rem !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
    letter-spacing:.04em !important;
  }
  .nexpats-mobile-hero-copy h1{
    font-size:2rem !important;
    line-height:1.05 !important;
    letter-spacing:-.04em !important;
    color:#16336b !important;
    margin:12px 0 12px !important;
    max-width:none !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-text{
    font-size:.92rem !important;
    line-height:1.5 !important;
    color:#4f6481 !important;
    margin:0 0 14px !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-tabs{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px 10px !important;
    margin:0 0 14px !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-tab{
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    color:#21457a !important;
    font-size:.8rem !important;
    font-weight:700 !important;
  }
  .nexpats-mobile-hero-copy .nexpats-tab-icon{
    width:20px !important;
    height:20px !important;
  }
  .nexpats-mobile-hero-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin:0 0 14px !important;
  }
  .nexpats-mobile-hero-actions .nexpats-button{
    width:100% !important;
    min-height:48px !important;
    justify-content:center !important;
    font-size:.96rem !important;
  }
  .nexpats-mobile-hero-art{
    margin-top:0 !important;
  }
  .nexpats-mobile-hero-art img{
    display:block !important;
    width:100% !important;
    height:auto !important;
  }
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{
    margin-top:-22px !important;
    position:relative !important;
    z-index:6 !important;
  }
  .nexpats-feature-strip{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    border-radius:18px !important;
  }
  .nexpats-feature-strip-item{
    min-height:138px !important;
    padding:12px 8px !important;
    gap:8px !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }
  .nexpats-feature-strip-item h3{
    font-size:.78rem !important;
    line-height:1.28 !important;
  }
  .nexpats-feature-strip-item p{
    display:block !important;
    font-size:.68rem !important;
    line-height:1.28 !important;
  }
  .nexpats-strip-icon{
    width:40px !important;
    height:40px !important;
  }

  .nexpats-home-grid-three{
    grid-template-columns:1fr 1fr !important;
  }
  .nexpats-home-grid-three > :last-child{
    grid-column:1 / -1 !important;
  }
  .nexpats-resource-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .nexpats-home-card{
    padding:14px 12px 8px !important;
  }
  .nexpats-resource-card{
    min-height:120px !important;
    padding:14px 10px !important;
  }
  .nexpats-card-head h2{
    font-size:1.22rem !important;
  }
  .nexpats-list-copy strong{
    font-size:.9rem !important;
  }
  .nexpats-list-copy span{
    font-size:.78rem !important;
  }
  .nexpats-business-row,
  .nexpats-discussion-row{
    display:grid !important;
    grid-template-columns:48px 1fr auto !important;
    gap:10px !important;
  }
  .nexpats-thumb-box,
  .nexpats-brand-logo{
    width:48px !important;
    height:36px !important;
  }
  .nexpats-avatar-image{
    width:38px !important;
    height:38px !important;
  }

  .nexpats-page-hero-v41{
    padding-top:12px !important;
  }
  .nexpats-page-hero-v41 .nexpats-page-hero-grid{
    padding:20px 18px 18px !important;
    border-radius:24px !important;
  }
  .nexpats-page-hero h1{
    font-size:2rem !important;
    line-height:1.06 !important;
    max-width:none !important;
  }
  .nexpats-intro{
    font-size:.92rem !important;
  }
  .nexpats-page-hero-card{
    padding:18px !important;
  }
  .nexpats-page-hero-card .nexpats-check-list li{
    font-size:.9rem !important;
    margin-bottom:10px !important;
  }
  .nexpats-hero-mini-grid{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
  .nexpats-community-network,
  .nexpats-contact-layout,
  .nexpats-two-col{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
}

@media (max-width:480px){
  .nexpats-header-inner{
    min-height:72px !important;
    gap:10px !important;
  }
  .nexpats-logo-fallback img{
    height:46px !important;
  }
  .nexpats-menu-toggle{
    width:52px !important;
    height:52px !important;
  }
  .nexpats-home-hero-v41-mobile{
    padding-top:8px !important;
  }
  .nexpats-mobile-hero-copy{
    padding:16px 16px 0 !important;
  }
  .nexpats-mobile-hero-copy h1{
    font-size:1.78rem !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-text{
    font-size:.86rem !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-tab{
    font-size:.74rem !important;
  }
  .nexpats-feature-strip-item{
    min-height:128px !important;
    padding:10px 6px !important;
  }
  .nexpats-feature-strip-item h3{
    font-size:.72rem !important;
  }
  .nexpats-feature-strip-item p{
    font-size:.62rem !important;
  }
  .nexpats-page-hero h1{
    font-size:1.78rem !important;
  }
}



/* =========================
   v44 final force fixes
   ========================= */

/* Header */
.nexpats-site-header{
  background:rgba(255,255,255,.985) !important;
  border-bottom:0 !important;
  box-shadow:0 4px 14px rgba(17,72,156,.04) !important;
}
.nexpats-header-inner{
  min-height:74px !important;
  gap:12px !important;
}
.nexpats-logo-fallback img{
  height:50px !important;
  width:auto !important;
}
.nexpats-primary-nav{
  flex:1 1 auto !important;
}
.nexpats-menu-list{
  gap:0 !important;
}
.nexpats-menu-list a{
  padding:9px 8px !important;
  font-size:.83rem !important;
  line-height:1.1 !important;
}
.nexpats-header-search{display:none !important;}
.nexpats-header-actions-wrap{gap:10px !important;}
.nexpats-header-link,
.nexpats-header-cta{
  min-height:42px !important;
  padding:0 15px !important;
  font-size:.92rem !important;
  border-radius:12px !important;
}
@media (min-width:992px) and (max-width:1280px){
  .nexpats-logo-fallback img{height:46px !important;}
  .nexpats-menu-list a{padding:8px 6px !important;font-size:.79rem !important;}
  .nexpats-header-link,.nexpats-header-cta{padding:0 13px !important;font-size:.88rem !important;}
}

/* Homepage compact */
.nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-40px !important;}
.nexpats-home-section{padding:8px 0 0 !important;}
.nexpats-home-section-resources{padding-top:6px !important;}
.nexpats-cta-section{padding-top:10px !important;}
.nexpats-home-grid{gap:6px !important;}
.nexpats-resource-grid{gap:6px !important;}
.nexpats-home-card{padding:14px 14px 8px !important;}
.nexpats-resource-card{min-height:128px !important;padding:14px 12px !important;}
.nexpats-cta-box{padding:16px 18px !important;}
.nexpats-site-footer{margin-top:10px !important;}

/* All page hero titles use homepage feel */
.nexpats-page-hero-v41{padding:14px 0 4px !important;}
.nexpats-page-hero-v41 .nexpats-page-hero-grid{
  padding:20px 22px 18px !important;
  gap:18px !important;
  border-radius:24px !important;
}
.nexpats-page-hero h1{
  color:var(--nexpats-blue-dark) !important;
  font-weight:800 !important;
  font-size:clamp(1.95rem,2.7vw,3.1rem) !important;
  line-height:1.06 !important;
  letter-spacing:-.035em !important;
  max-width:13ch !important;
  margin:0 0 12px !important;
}
.nexpats-intro{
  max-width:56ch !important;
  font-size:.96rem !important;
  line-height:1.55 !important;
  color:#566f90 !important;
}
.nexpats-section{padding:14px 0 !important;}
.nexpats-section-head.is-compact{margin-bottom:12px !important;}
.nexpats-section-head.is-compact h2{
  color:var(--nexpats-blue-dark) !important;
  font-weight:800 !important;
  font-size:clamp(1.35rem,2vw,1.95rem) !important;
  line-height:1.08 !important;
}
.nexpats-section-head.is-compact p{
  font-size:.94rem !important;
  line-height:1.5 !important;
}
.nexpats-page-card,
.nexpats-panel,
.nexpats-contact-card,
.nexpats-feature-card{
  border-radius:20px !important;
  padding:18px !important;
}
.nexpats-community-network,
.nexpats-contact-layout,
.nexpats-two-col{
  gap:16px !important;
}
.nexpats-hero-mini-grid{gap:8px !important;margin-top:14px !important;}
.nexpats-mini-stat{padding:10px 12px !important;}
.nexpats-page-hero-card{padding:18px !important;border-radius:20px !important;}
.nexpats-page-hero-card .nexpats-check-list li{font-size:.9rem !important;line-height:1.45 !important;margin-bottom:10px !important;}
.nexpats-contact-card h3,
.nexpats-feature-card h3,
.nexpats-panel-heading{
  color:var(--nexpats-blue-dark) !important;
  font-weight:800 !important;
}
.nexpats-contact-card h3{font-size:1.45rem !important;}

/* Mobile: show the actual hero, not just the strip/cards */
@media (max-width:767px){
  .nexpats-home-hero.nexpats-home-hero-v36{display:block !important;}
  .nexpats-home-hero.nexpats-home-hero-v36 > .nexpats-hero-v36-desktop{display:none !important;}
  .nexpats-home-hero.nexpats-home-hero-v36 > .nexpats-hero-v36-mobile.nexpats-home-hero-v41-mobile{display:block !important;}

  .nexpats-header-inner{
    min-height:72px !important;
    gap:10px !important;
  }
  .nexpats-logo-fallback img{height:44px !important;}
  .nexpats-menu-toggle{width:52px !important;height:52px !important;}

  .nexpats-home-hero-v41-mobile{padding:8px 0 4px !important;}
  .nexpats-mobile-hero-card{
    display:flex !important;
    flex-direction:column !important;
    background:linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%) !important;
    border:1px solid rgba(36,88,198,.10) !important;
    border-radius:24px !important;
    overflow:hidden !important;
    box-shadow:0 14px 28px rgba(16,38,73,.09) !important;
  }
  .nexpats-mobile-hero-copy{padding:16px 16px 0 !important;}
  .nexpats-mobile-hero-copy h1{
    font-size:1.78rem !important;
    line-height:1.06 !important;
    letter-spacing:-.04em !important;
    max-width:none !important;
    margin:10px 0 10px !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-text{
    font-size:.84rem !important;
    line-height:1.45 !important;
    margin:0 0 12px !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-tabs{gap:8px 10px !important;margin:0 0 12px !important;}
  .nexpats-mobile-hero-copy .nexpats-hero-tab{font-size:.74rem !important;}
  .nexpats-mobile-hero-copy .nexpats-tab-icon{width:18px !important;height:18px !important;}
  .nexpats-mobile-hero-actions{gap:10px !important;margin:0 0 12px !important;}
  .nexpats-mobile-hero-actions .nexpats-button{
    width:100% !important;
    min-height:46px !important;
    font-size:.94rem !important;
  }
  .nexpats-mobile-hero-art img{display:block !important;width:100% !important;height:auto !important;}

  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:-20px !important;z-index:8 !important;}
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr)) !important;border-radius:16px !important;}
  .nexpats-feature-strip-item{
    min-height:128px !important;
    padding:10px 6px !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    gap:8px !important;
  }
  .nexpats-feature-strip-item h3{font-size:.72rem !important;line-height:1.24 !important;}
  .nexpats-feature-strip-item p{display:block !important;font-size:.62rem !important;line-height:1.24 !important;}
  .nexpats-strip-icon{width:38px !important;height:38px !important;}

  .nexpats-home-grid-three{grid-template-columns:1fr 1fr !important;}
  .nexpats-home-grid-three > :last-child{grid-column:1 / -1 !important;}
  .nexpats-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important;}
  .nexpats-home-card{padding:12px 10px 8px !important;}
  .nexpats-resource-card{min-height:114px !important;padding:12px 8px !important;}
  .nexpats-card-head h2{font-size:1.12rem !important;}
  .nexpats-list-copy strong{font-size:.84rem !important;}
  .nexpats-list-copy span{font-size:.74rem !important;}
  .nexpats-business-row,
  .nexpats-discussion-row{grid-template-columns:44px 1fr auto !important;gap:8px !important;}
  .nexpats-thumb-box,.nexpats-brand-logo{width:44px !important;height:34px !important;}
  .nexpats-avatar-image{width:34px !important;height:34px !important;}

  .nexpats-page-hero-v41{padding-top:10px !important;}
  .nexpats-page-hero-v41 .nexpats-page-hero-grid{padding:16px !important;border-radius:20px !important;}
  .nexpats-page-hero h1{font-size:1.72rem !important;max-width:none !important;}
  .nexpats-intro{font-size:.88rem !important;}
  .nexpats-page-hero-card{padding:16px !important;}
  .nexpats-hero-mini-grid{grid-template-columns:1fr !important;gap:8px !important;}
  .nexpats-community-network,
  .nexpats-contact-layout,
  .nexpats-two-col{grid-template-columns:1fr !important;gap:14px !important;}
}


/* =========================
   v45 focused fixes: header logo + mobile hero
   ========================= */
.nexpats-logo::after,
.nexpats-branding::after,
.nexpats-brand-link::after{content:none !important;display:none !important;}
.nexpats-brand-link{display:flex !important;align-items:center !important;overflow:visible !important;padding-left:8px !important;}
.nexpats-logo-fallback{display:flex !important;align-items:center !important;overflow:visible !important;}
.nexpats-logo-fallback img{display:block !important;height:50px !important;width:auto !important;max-width:none !important;object-fit:contain !important;}
.nexpats-site-header{border-bottom:0 !important;background:#fff !important;box-shadow:0 6px 18px rgba(17,72,156,.04) !important;}
.nexpats-header-inner{min-height:74px !important;}

@media (min-width:768px){
  .nexpats-logo-fallback img{height:54px !important;}
}
@media (max-width:767px){
  .nexpats-logo-fallback img{height:44px !important;}
  .nexpats-header-inner{min-height:72px !important;gap:10px !important;}
  .nexpats-home-hero.nexpats-home-hero-v36 > .nexpats-hero-v36-desktop{display:none !important;}
  .nexpats-home-hero.nexpats-home-hero-v36 > .nexpats-hero-v36-mobile.nexpats-home-hero-v41-mobile{display:block !important;}

  .nexpats-home-hero-v41-mobile{padding:8px 0 4px !important;}
  .nexpats-mobile-hero-card{
    position:relative !important;
    display:block !important;
    min-height:610px !important;
    border-radius:24px !important;
    overflow:hidden !important;
    background-image:url('../images/hero-mobile-bg-v45.png') !important;
    background-size:cover !important;
    background-position:center top !important;
    border:1px solid rgba(36,88,198,.10) !important;
    box-shadow:0 16px 32px rgba(16,38,73,.10) !important;
  }
  .nexpats-mobile-hero-card::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    background:
      linear-gradient(90deg, rgba(248,251,255,.96) 0%, rgba(248,251,255,.94) 38%, rgba(248,251,255,.75) 55%, rgba(248,251,255,.12) 72%, rgba(248,251,255,0) 84%),
      linear-gradient(180deg, rgba(248,251,255,.10) 0%, rgba(248,251,255,0) 100%) !important;
    z-index:1 !important;
  }
  .nexpats-mobile-hero-art{display:none !important;}
  .nexpats-mobile-hero-copy{
    position:relative !important;
    z-index:2 !important;
    max-width:54% !important;
    padding:18px 16px 70px !important;
  }
  .nexpats-hero-badge{
    display:none !important;
  }
  .nexpats-mobile-hero-copy h1{
    font-size:1.86rem !important;
    line-height:1.06 !important;
    margin:2px 0 12px !important;
    color:#16336b !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-text{
    font-size:.88rem !important;
    line-height:1.5 !important;
    margin:0 0 14px !important;
    color:#4b6382 !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-tabs{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px 10px !important;
    margin:0 0 14px !important;
  }
  .nexpats-mobile-hero-copy .nexpats-hero-tab{
    display:inline-flex !important;
    align-items:center !important;
    gap:5px !important;
    background:transparent !important;
    border:0 !important;
    padding:0 !important;
    font-size:.76rem !important;
    font-weight:700 !important;
    color:#21457a !important;
  }
  .nexpats-mobile-hero-copy .nexpats-tab-icon{width:18px !important;height:18px !important;}
  .nexpats-mobile-hero-copy .nexpats-tab-icon svg{width:16px !important;height:16px !important;}
  .nexpats-mobile-hero-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin:0 !important;
    max-width:250px !important;
  }
  .nexpats-mobile-hero-actions .nexpats-button{
    width:100% !important;
    justify-content:center !important;
    min-height:46px !important;
    font-size:.94rem !important;
  }
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{
    margin-top:-22px !important;
    position:relative !important;
    z-index:8 !important;
  }
  .nexpats-feature-strip{grid-template-columns:repeat(5,minmax(0,1fr)) !important;border-radius:18px !important;}
  .nexpats-feature-strip-item{min-height:134px !important;padding:10px 6px !important;gap:8px !important;}
  .nexpats-feature-strip-item h3{font-size:.72rem !important;line-height:1.25 !important;}
  .nexpats-feature-strip-item p{display:block !important;font-size:.64rem !important;line-height:1.24 !important;}
}


/* v46 final header cleanup */
.nexpats-branding,.nexpats-brand-link,.nexpats-logo-fallback{overflow:visible !important;background:transparent !important;}
.nexpats-brand-link{padding-left:0 !important;}
.nexpats-logo-fallback img{background:transparent !important;display:block !important;max-width:none !important;object-fit:contain !important;}
.nexpats-site-header,.nexpats-header-inner{background:#fff !important;border-bottom:0 !important;}
@media (min-width:768px){
  .nexpats-logo-fallback img{height:58px !important;}
}
@media (max-width:767px){
  .nexpats-menu-toggle{background:#fff !important;border:1px solid #d9e3f3 !important;box-shadow:0 8px 18px rgba(18,63,145,.10) !important;}
  .nexpats-menu-toggle span{background:var(--nexpats-blue) !important;}
}

/* =========================
   v47 mobile-only cover header fix
   Gebruik de aangeleverde coverfoto volledig zichtbaar bovenaan mobiel.
   Desktop, inhoud en verdere structuur blijven ongemoeid.
   ========================= */
.nexpats-mobile-cover-header{display:none;}

@media (max-width:767px){
  .nexpats-home-hero.nexpats-home-hero-v36 > .nexpats-hero-v36-desktop{display:none !important;}
  .nexpats-home-hero.nexpats-home-hero-v36 > .nexpats-hero-v36-mobile.nexpats-home-hero-v41-mobile{display:block !important;}
  .nexpats-home-hero-v41-mobile{padding:8px 0 6px !important;background:#fff !important;}
  .nexpats-mobile-hero-card{display:block !important;min-height:0 !important;height:auto !important;overflow:hidden !important;border-radius:18px !important;background:#fff !important;background-image:none !important;border:1px solid rgba(36,88,198,.10) !important;box-shadow:0 10px 24px rgba(16,38,73,.08) !important;}
  .nexpats-mobile-hero-card::before,.nexpats-mobile-hero-card::after{content:none !important;display:none !important;}
  .nexpats-mobile-cover-header{display:block !important;width:100% !important;max-width:100% !important;margin:0 !important;padding:0 !important;line-height:0 !important;background:#fff !important;}
  .nexpats-mobile-cover-header img{display:block !important;width:100% !important;height:auto !important;max-height:none !important;object-fit:contain !important;object-position:center top !important;margin:0 !important;padding:0 !important;}
  .nexpats-mobile-hero-copy{position:relative !important;z-index:2 !important;max-width:none !important;width:100% !important;padding:10px 12px 12px !important;background:#fff !important;}
  .nexpats-mobile-hero-copy .nexpats-hero-badge,.nexpats-mobile-hero-copy h1,.nexpats-mobile-hero-copy .nexpats-hero-text,.nexpats-mobile-hero-copy .nexpats-hero-tabs{display:none !important;}
  .nexpats-mobile-hero-actions{display:grid !important;grid-template-columns:1fr 1fr !important;gap:8px !important;max-width:none !important;width:100% !important;margin:0 !important;}
  .nexpats-mobile-hero-actions .nexpats-button{width:100% !important;min-height:42px !important;padding:0 10px !important;border-radius:12px !important;font-size:.84rem !important;line-height:1.15 !important;white-space:normal !important;text-align:center !important;}
  .nexpats-mobile-hero-art{display:none !important;}
  .nexpats-home-hero-v36 + .nexpats-feature-strip-wrap{margin-top:8px !important;position:relative !important;z-index:8 !important;}
}
@media (max-width:390px){.nexpats-mobile-hero-actions{grid-template-columns:1fr !important;}}
