
: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 .8fr;gap:36px;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;}}


/* v1.49 Qavirio Legal Launch polish */
.nexpats-page-hero-legal .nexpats-page-hero-card,
.nexpats-legal-summary {
  border-color: rgba(18,63,145,.18);
}
.nexpats-legal-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
}
.nexpats-legal-card h2,
.nexpats-legal-note h2 {
  margin-top: 0;
  color: var(--nexpats-blue-dark);
}
.nexpats-legal-table {
  width: 100%;
  border-collapse: collapse;
}
.nexpats-legal-table th,
.nexpats-legal-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--nexpats-line);
  vertical-align: top;
  text-align: left;
}
.nexpats-legal-table th {
  width: 34%;
  color: var(--nexpats-blue-dark);
}
.nexpats-legal-note {
  margin-top: 24px;
}
.nexpats-legal-page a.nexpats-button,
.nexpats-page-hero-legal a.nexpats-button {
  text-decoration: none !important;
}
.nexpats-page-hero-legal a.nexpats-button.is-primary {
  background: var(--nexpats-red) !important;
  border-color: var(--nexpats-red) !important;
  color: #ffffff !important;
}
.nexpats-page-hero-legal a.nexpats-button.is-secondary {
  background: #ffffff !important;
  border-color: #bccce3 !important;
  color: var(--nexpats-blue) !important;
}
.nexpats-page-hero-legal a.nexpats-button:hover,
.nexpats-page-hero-legal a.nexpats-button:focus {
  transform: translateY(-1px);
  box-shadow: var(--nexpats-shadow);
}
.nexpats-site-footer .nexpats-footer-list a,
.nexpats-site-footer .nexpats-footer-menu a {
  color: #dce9ff !important;
}
.nexpats-subfooter {
  gap: 10px;
  flex-wrap: wrap;
}

.nexpats-legal-card-primary{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);}
.nexpats-legal-lead{color:var(--nexpats-text-soft);margin-bottom:18px;}
.nexpats-legal-facts{display:grid;gap:14px;margin-top:20px;}
.nexpats-legal-fact{padding:16px 18px;background:#f8fbff;border:1px solid #dbe7f5;border-radius:18px;}
.nexpats-legal-fact.is-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.nexpats-legal-label{display:block;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;font-weight:800;color:#5f7aa3;margin-bottom:7px;}
.nexpats-legal-value{font-size:1rem;line-height:1.6;color:var(--nexpats-blue-dark);font-weight:600;}
.nexpats-legal-value a{color:var(--nexpats-blue);font-weight:700;text-decoration:none;}
.nexpats-legal-highlight{padding:18px 20px;background:#f8fbff;border:1px solid #dbe7f5;border-radius:18px;margin:16px 0 18px;}
.nexpats-legal-highlight p:last-child{margin-bottom:0;}
.nexpats-legal-stack{display:grid;gap:16px;}
.nexpats-legal-mini-card{padding:18px 20px;background:#fff;border:1px solid #dbe7f5;border-radius:18px;box-shadow:0 8px 18px rgba(18,63,145,.04);}
.nexpats-legal-mini-card h3{margin:8px 0 10px;color:var(--nexpats-blue-dark);font-size:1.55rem;}
.nexpats-subfooter a{color:#ffffff !important;font-weight:700;text-decoration:none;}
.nexpats-subfooter a:hover{text-decoration:underline;}
@media (max-width:760px){.nexpats-legal-fact.is-inline{grid-template-columns:1fr;}}
@media (max-width: 1100px) {
  .nexpats-footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .nexpats-legal-grid,
  .nexpats-footer-grid {
    grid-template-columns: 1fr;
  }
  .nexpats-legal-table th,
  .nexpats-legal-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .nexpats-legal-table th {
    padding-top: 14px;
    border-bottom: 0;
  }
  .nexpats-page-hero-legal .nexpats-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nexpats-page-hero-legal .nexpats-button {
    width: 100%;
  }
}

/* v1.52 Strategic reset: cleaner forum platform, smaller homepage-style page headers, safer community feed. */
:root{
  --ne-v52-blue:#1457b8;
  --ne-v52-blue-dark:#0f3f8d;
  --ne-v52-red:#ee4d4d;
  --ne-v52-soft:#f5f8fd;
  --ne-v52-card:#ffffff;
  --ne-v52-line:#dce7f4;
  --ne-v52-text:#0f2344;
  --ne-v52-muted:#60738f;
  --ne-v52-shadow:0 16px 38px rgba(20,87,184,.08);
}
.nexpats-menu-list-v52{gap:8px!important;justify-content:center!important}
.nexpats-menu-list-v52 a{font-weight:800!important;color:#12345d!important;padding:10px 13px!important;border-radius:999px!important}
.nexpats-menu-list-v52 a:hover{background:#edf5ff!important;color:var(--ne-v52-blue)!important}
.nexpats-header-search{display:none!important}
.nexpats-header-link,.nexpats-header-cta{white-space:nowrap!important}

/* Inner pages now use one compact, consistent homepage-inspired header style. */
.nexpats-inner-hero,
.nexpats-page-hero-v41,
.nexpats-page-hero-v52,
.nexpats-page-hero-community,
.nexpats-page-hero-business,
.nexpats-page-hero-auth,
.nexpats-page-hero-entrepreneurs,
.nexpats-page-hero-adverteren{
  padding:34px 0 10px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f4f8fe 100%)!important;
}
.nexpats-inner-hero-card,
.nexpats-page-hero-grid{
  position:relative!important;
  overflow:hidden!important;
  border-radius:28px!important;
  border:1px solid rgba(36,82,163,.10)!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.92) 48%,rgba(255,255,255,.78) 100%),
    url('../images/hero-visual-v36-desktop.png') right center/cover no-repeat!important;
  box-shadow:var(--ne-v52-shadow)!important;
  padding:36px 34px!important;
  min-height:220px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.72fr)!important;
  gap:24px!important;
  align-items:center!important;
}
.nexpats-inner-hero-card::before,
.nexpats-page-hero-grid::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 86% 22%,rgba(20,87,184,.10),transparent 42%);pointer-events:none;}
.nexpats-page-hero-copy,.nexpats-page-hero-card,.nexpats-inner-hero-card>*{position:relative;z-index:1;}
.nexpats-page-hero h1,
.nexpats-inner-hero-card .entry-title{font-size:clamp(2rem,3.2vw,3.8rem)!important;max-width:14ch!important;letter-spacing:-.04em!important;line-height:1.02!important;margin:10px 0 12px!important;color:#0d3168!important;}
.nexpats-page-hero .nexpats-intro,
.nexpats-inner-hero-text{font-size:1.02rem!important;line-height:1.7!important;color:#35506f!important;max-width:720px!important;}
.nexpats-page-hero-card{background:rgba(255,255,255,.94)!important;border:1px solid rgba(20,87,184,.12)!important;border-radius:22px!important;padding:22px!important;box-shadow:0 12px 28px rgba(20,87,184,.08)!important;}

/* v52 country forum hub */
.nexpats-v52-country-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;}
.nexpats-v52-country-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;align-items:center;background:#fff;border:1px solid var(--ne-v52-line);border-radius:18px;padding:16px;text-decoration:none!important;color:var(--ne-v52-text)!important;box-shadow:0 10px 24px rgba(20,87,184,.045);transition:.2s ease;}
.nexpats-v52-country-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(20,87,184,.10);border-color:rgba(20,87,184,.28);}
.nexpats-v52-country-card strong{font-size:1rem;line-height:1.15;color:#0d3168;}
.nexpats-v52-country-card small{grid-column:2;display:block;color:var(--ne-v52-muted);line-height:1.45;font-size:.86rem;}
.nexpats-v52-flag{width:42px;height:42px;border-radius:14px;background:#f1f6ff;display:inline-flex;align-items:center;justify-content:center;font-size:1.35rem;box-shadow:inset 0 0 0 1px #dbe8f8;grid-row:1/span 2;}
.nexpats-v52-category-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.nexpats-v52-category-chips a{display:inline-flex;align-items:center;border:1px solid #d8e6f7;background:#fff;color:#12345d!important;text-decoration:none!important;border-radius:999px;padding:8px 12px;font-weight:800;font-size:.88rem;}
.nexpats-v52-category-chips a:hover{background:#eef6ff;color:var(--ne-v52-blue)!important;}
.nexpats-v52-current-forum h2{font-size:1.55rem;margin:.35rem 0;color:#0d3168;}
.nexpats-v52-forum-start{padding-top:22px!important;}
.nexpats-v52-community-board .nexpats-community-network{grid-template-columns:minmax(0,1.55fr) minmax(280px,.78fr)!important;gap:22px!important;align-items:start!important;}
.nexpats-community-main,.nexpats-community-sidebar{min-width:0!important;}
.nexpats-community-sidebar{display:grid!important;gap:16px!important;}
.nexpats-social-composer-card,.nexpats-community-sidepanel{border-radius:18px!important;border:1px solid var(--ne-v52-line)!important;box-shadow:0 12px 26px rgba(20,87,184,.055)!important;background:#fff!important;}
.nexpats-profile-photo-note{background:linear-gradient(135deg,#fff,#fff7f6)!important;}

/* Safe feed: never clamp the container that contains several posts. */
.nexpats-v52-safe-feed{display:grid;gap:16px;}
.nexpats-v52-safe-feed .nexpats-long-post-body{position:relative;max-height:250px;overflow:hidden;}
.nexpats-v52-safe-feed .nexpats-long-post-body::after{content:"";position:absolute;left:0;right:0;bottom:0;height:68px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 70%);pointer-events:none;}
.nexpats-v52-safe-feed .nexpats-long-post-body.is-expanded{max-height:none;}
.nexpats-v52-safe-feed .nexpats-long-post-body.is-expanded::after{display:none;}
.nexpats-read-more-button{display:inline-flex!important;align-items:center;justify-content:center;margin-top:8px;border:0!important;border-radius:999px!important;background:#eaf3ff!important;color:#1457b8!important;padding:7px 12px!important;font-weight:800!important;font-size:.86rem!important;cursor:pointer;}
.nexpats-read-more-button:hover{background:#dcecff!important;}

/* Member directory cards must not break or let action buttons escape. */
.nexpats-members-sidepanel .ne-member-directory,
.nexpats-members-sidepanel [class*="member-directory"],
.nexpats-members-sidepanel [class*="members"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
.nexpats-members-sidepanel article,
.nexpats-members-sidepanel .ne-member-card,
.nexpats-members-sidepanel [class*="member-card"],
.nexpats-members-sidepanel [class*="member"]{max-width:100%!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important;}
.nexpats-members-sidepanel a,
.nexpats-members-sidepanel button,
.nexpats-members-sidepanel input[type="submit"]{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;}

/* Advertising packages */
.nexpats-v52-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px;}
.nexpats-v52-package{position:relative;background:#fff;border:1px solid var(--ne-v52-line);border-radius:22px;padding:24px;box-shadow:0 14px 32px rgba(20,87,184,.06);display:flex;flex-direction:column;min-height:100%;}
.nexpats-v52-package.is-featured{background:linear-gradient(180deg,#0f3f8d,#12345d);color:#fff;border-color:#0f3f8d;transform:translateY(-6px);box-shadow:0 22px 42px rgba(20,87,184,.18);}
.nexpats-v52-package h3{font-size:1.35rem;margin:0 0 8px;color:inherit;}
.nexpats-v52-price{font-size:1.55rem;font-weight:900;color:#1457b8;margin-bottom:10px;}
.nexpats-v52-package.is-featured .nexpats-v52-price{color:#fff;}
.nexpats-v52-package p{color:inherit;opacity:.82;line-height:1.6;}
.nexpats-v52-package ul{margin:14px 0 20px;padding:0;list-style:none;display:grid;gap:10px;}
.nexpats-v52-package li{position:relative;padding-left:22px;line-height:1.48;}
.nexpats-v52-package li::before{content:"✓";position:absolute;left:0;color:#12a46a;font-weight:900;}
.nexpats-v52-package.is-featured li::before{color:#6ee7b7;}
.nexpats-v52-badge{position:absolute;right:18px;top:18px;background:#fff;color:#0f3f8d;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:900;}
.nexpats-v52-package-link{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#1457b8;color:#fff!important;text-decoration:none!important;font-weight:900;padding:11px 15px;}
.nexpats-v52-package.is-featured .nexpats-v52-package-link{background:#fff;color:#0f3f8d!important;}
.nexpats-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}

/* Registration/profile: if the plugin exposes country/photo fields, make the front end clearer. */
.nexpats-embed-card input[type="file"],.nexpats-embed-card select{max-width:100%;}
.nexpats-v52-required-hint{background:#eef6ff;border:1px solid #cfe3ff;border-radius:14px;padding:10px 12px;margin:10px 0;color:#12345d;font-weight:750;}

@media (max-width:900px){
  .nexpats-inner-hero-card,.nexpats-page-hero-grid{grid-template-columns:1fr!important;min-height:0!important;padding:26px 20px!important;background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.91)),url('../images/hero-visual-v36-mobile.png') right center/cover no-repeat!important;}
  .nexpats-v52-country-grid,.nexpats-v52-packages,.nexpats-v52-community-board .nexpats-community-network,.nexpats-two-col{grid-template-columns:1fr!important;}
  .nexpats-v52-package.is-featured{transform:none;}
}
@media (max-width:720px){
  .nexpats-menu-list-v52{align-items:stretch!important;gap:6px!important;}
  .nexpats-menu-list-v52 a{justify-content:flex-start!important;width:100%!important;border-radius:12px!important;}
  .nexpats-page-hero h1,.nexpats-inner-hero-card .entry-title{font-size:2rem!important;max-width:none!important;}
  .nexpats-v52-country-card{padding:14px;}
}

/* v1.53 Forum rebuild: compact Facebook-like country boards, rubrics left, feed center, ads right. */
:root{
  --ne-v53-blue:#1457b8;
  --ne-v53-blue-dark:#0f3f8d;
  --ne-v53-red:#ee4d4d;
  --ne-v53-ink:#10284b;
  --ne-v53-muted:#5e718d;
  --ne-v53-soft:#f4f8fe;
  --ne-v53-line:#dce7f4;
  --ne-v53-card:#ffffff;
}
.nexpats-page-hero-v53,
.nexpats-page-hero-v52,
.nexpats-page-hero-community{padding:22px 0 8px!important;background:linear-gradient(180deg,#fff 0%,#f4f8fe 100%)!important;}
.nexpats-v53-compact-hero.nexpats-page-hero-grid{
  min-height:170px!important;
  padding:28px 30px!important;
  border-radius:26px!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.965) 0%,rgba(255,255,255,.93) 52%,rgba(255,255,255,.76) 100%),
    url('../images/reference-exact-desktop.png') right center/cover no-repeat!important;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.62fr)!important;
}
.nexpats-v53-compact-hero h1{max-width:none!important;font-size:clamp(2rem,3vw,3.25rem)!important;}
.nexpats-v53-mini-card{padding:18px!important;border-radius:18px!important;}
.nexpats-v53-mini-card p{margin:8px 0 14px!important;color:#425b7b!important;line-height:1.55!important;font-size:.96rem!important;}
.nexpats-v53-context-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.nexpats-v53-context-line span{display:inline-flex;border:1px solid #d8e6f7;background:#fff;border-radius:999px;padding:8px 12px;color:#12345d;font-weight:850;font-size:.88rem;}
.nexpats-v53-board-section{padding-top:18px!important;}
.nexpats-v53-board{
  display:grid;
  grid-template-columns:250px minmax(0,1fr) 260px;
  gap:18px;
  align-items:start;
}
.nexpats-v53-left-rail,
.nexpats-v53-right-rail{display:grid;gap:14px;position:sticky;top:92px;}
.nexpats-v53-panel,
.nexpats-v53-ad-card,
.nexpats-v53-ad-slot,
.nexpats-v53-composer,
.nexpats-v53-forum-head,
.nexpats-v53-feed-note,
.nexpats-v53-empty{
  background:#fff!important;
  border:1px solid var(--ne-v53-line)!important;
  border-radius:18px!important;
  box-shadow:0 10px 24px rgba(20,87,184,.055)!important;
}
.nexpats-v53-panel{padding:16px!important;}
.nexpats-v53-panel h3,
.nexpats-v53-forum-head h2,
.nexpats-v53-ad-card h3{margin:0 0 8px;color:#0d3168;line-height:1.08;}
.nexpats-v53-panel p,
.nexpats-v53-ad-card p,
.nexpats-v53-ad-slot small{color:var(--ne-v53-muted);line-height:1.55;}
.nexpats-v53-continent-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px;}
.nexpats-v53-continent-tabs a{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8e6f7;background:#fff;color:#12345d!important;text-decoration:none!important;border-radius:999px;padding:8px 11px;font-weight:850;font-size:.86rem;line-height:1.1;}
.nexpats-v53-continent-tabs a:hover,.nexpats-v53-continent-tabs a.is-active{background:#1457b8;color:#fff!important;border-color:#1457b8;}
.nexpats-v53-mini-countries .nexpats-v52-country-grid{grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important;max-height:390px;overflow:auto;padding-right:3px;}
.nexpats-v53-mini-countries .nexpats-v52-country-card{border-radius:14px!important;padding:10px!important;gap:5px 9px!important;box-shadow:none!important;}
.nexpats-v53-mini-countries .nexpats-v52-country-card small{display:none!important;}
.nexpats-v53-mini-countries .nexpats-v52-flag{width:34px!important;height:34px!important;border-radius:11px!important;font-size:1.1rem!important;}
.nexpats-v53-rubric-list{display:grid;gap:8px;}
.nexpats-v53-rubric-list a{display:block;text-decoration:none!important;border:1px solid #dce7f4;background:#fff;color:#12345d!important;border-radius:14px;padding:11px 12px;}
.nexpats-v53-rubric-list a span{display:block;font-weight:900;line-height:1.15;}
.nexpats-v53-rubric-list a small{display:block;color:#60738f;font-size:.78rem;line-height:1.35;margin-top:3px;}
.nexpats-v53-rubric-list a:hover,.nexpats-v53-rubric-list a.is-active{background:#eef6ff;border-color:#9fc3f7;}
.nexpats-v53-feed-column{display:grid;gap:14px;min-width:0;}
.nexpats-v53-forum-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px!important;}
.nexpats-v53-forum-head p{margin:0;color:#60738f;line-height:1.45;}
.nexpats-v53-small-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef6ff;color:#1457b8!important;text-decoration:none!important;padding:9px 13px;font-weight:900;white-space:nowrap;}
.nexpats-v53-composer{padding:18px 20px!important;}
.nexpats-v53-composer .nexpats-panel-heading{font-size:1.25rem!important;margin-bottom:4px!important;}
.nexpats-v53-composer .nexpats-panel-intro{font-size:.92rem!important;margin-bottom:10px!important;color:#60738f!important;}
.nexpats-v53-composer form{display:grid!important;gap:10px!important;margin:0!important;}
.nexpats-v53-composer input[type="text"],
.nexpats-v53-composer input[type="email"],
.nexpats-v53-composer input[type="url"],
.nexpats-v53-composer select,
.nexpats-v53-composer textarea,
.nexpats-v53-feed textarea,
.nexpats-v53-feed input[type="text"]{
  min-height:0!important;
  border-radius:12px!important;
  border:1px solid #d5e2f2!important;
  padding:10px 12px!important;
  font-size:.95rem!important;
  line-height:1.35!important;
  box-shadow:none!important;
  background:#fff!important;
  color:#10284b!important;
}
.nexpats-v53-composer textarea{min-height:104px!important;max-height:180px!important;}
.nexpats-v53-composer label{font-size:.83rem!important;font-weight:850!important;color:#1457b8!important;margin-bottom:4px!important;}
.nexpats-v53-composer button,
.nexpats-v53-composer input[type="submit"],
.nexpats-v53-feed button,
.nexpats-v53-feed input[type="submit"]{min-height:38px!important;border-radius:12px!important;padding:9px 14px!important;font-weight:900!important;font-size:.9rem!important;}
.nexpats-v53-feed-note{padding:11px 14px!important;color:#4c6280;font-size:.9rem;line-height:1.45;background:#f8fbff!important;}
.nexpats-v53-feed{display:grid;gap:13px;}
.nexpats-v53-feed-inner{display:grid;gap:13px;}
.nexpats-v53-feed article,
.nexpats-v53-feed .ne-community-post,
.nexpats-v53-feed .ne-community-feed-item,
.nexpats-v53-feed .ne-post,
.nexpats-v53-feed .ne-activity,
.nexpats-v53-feed .ne-feed-card,
.nexpats-v53-feed .ne-card{background:#fff!important;border:1px solid #dce7f4!important;border-radius:18px!important;box-shadow:0 8px 20px rgba(20,87,184,.045)!important;overflow:hidden!important;}
.nexpats-v53-feed article,
.nexpats-v53-feed .ne-community-post,
.nexpats-v53-feed .ne-community-feed-item,
.nexpats-v53-feed .ne-post,
.nexpats-v53-feed .ne-activity,
.nexpats-v53-feed .ne-feed-card,
.nexpats-v53-feed .ne-card{padding:16px!important;}
.nexpats-v53-post-preview{position:relative;max-height:235px;overflow:hidden;}
.nexpats-v53-post-preview::after{content:"";position:absolute;left:0;right:0;bottom:0;height:64px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 75%);pointer-events:none;}
.nexpats-v53-post-preview.is-expanded{max-height:none;}
.nexpats-v53-post-preview.is-expanded::after{display:none;}
.nexpats-v53-filtered-out{display:none!important;}
.nexpats-v53-forum-marker{display:inline-flex;gap:6px;margin:0 0 10px;padding:6px 9px;border-radius:999px;background:#eef6ff;color:#1457b8;font-weight:900;font-size:.78rem;}
.nexpats-read-more-button{display:inline-flex!important;margin:8px 0 0!important;border:0!important;border-radius:999px!important;background:#eaf3ff!important;color:#1457b8!important;padding:7px 12px!important;font-weight:900!important;font-size:.86rem!important;cursor:pointer!important;}
.nexpats-v53-empty{padding:24px!important;text-align:center;color:#60738f;}
.nexpats-v53-empty h3{margin-top:0;color:#0d3168;}
.nexpats-v53-ad-card{padding:18px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;}
.nexpats-v53-ad-card span{display:block;color:#1457b8;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:950;margin-bottom:8px;}
.nexpats-v53-ad-card a{display:inline-flex;margin-top:8px;border-radius:999px;background:#1457b8;color:#fff!important;text-decoration:none!important;padding:10px 13px;font-weight:900;font-size:.88rem;}
.nexpats-v53-ad-slot{padding:16px!important;min-height:92px;background:repeating-linear-gradient(135deg,#fff,#fff 10px,#f8fbff 10px,#f8fbff 20px)!important;}
.nexpats-v53-ad-slot strong{display:block;color:#0d3168;margin-bottom:6px;}
.nexpats-v53-countries-page .nexpats-v53-continent-tabs{margin-bottom:22px;}
.nexpats-v53-continent-groups{display:grid;gap:28px;}
.nexpats-v53-continent-group{display:grid;gap:12px;}
.nexpats-v53-continent-intro{background:#fff;border:1px solid #dce7f4;border-radius:18px;padding:18px 20px;box-shadow:0 8px 20px rgba(20,87,184,.045);margin:0 0 14px;}
.nexpats-v53-continent-intro h3{margin:0 0 6px;color:#0d3168;}
.nexpats-v53-continent-intro p{margin:0;color:#60738f;line-height:1.55;}
.nexpats-v53-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
@media (max-width:1180px){
  .nexpats-v53-board{grid-template-columns:230px minmax(0,1fr);}
  .nexpats-v53-right-rail{position:static;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));}
  .nexpats-v53-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:900px){
  .nexpats-v53-compact-hero.nexpats-page-hero-grid{grid-template-columns:1fr!important;padding:22px 18px!important;background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.91)),url('../images/reference-exact-mobile.png') right center/cover no-repeat!important;}
  .nexpats-v53-board{grid-template-columns:1fr;}
  .nexpats-v53-left-rail,.nexpats-v53-right-rail{position:static;grid-template-columns:1fr;}
  .nexpats-v53-mini-countries .nexpats-v52-country-grid{max-height:none;}
  .nexpats-v53-rubric-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .nexpats-v53-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .nexpats-v53-compact-hero h1{font-size:1.75rem!important;}
  .nexpats-v53-forum-head{display:grid;padding:15px!important;}
  .nexpats-v53-rubric-list,.nexpats-v53-countries-page .nexpats-v52-country-grid{grid-template-columns:1fr!important;}
  .nexpats-v53-panel,.nexpats-v53-composer,.nexpats-v53-ad-card,.nexpats-v53-ad-slot{border-radius:16px!important;}
}

/* v1.54 - Wereldwijd forum: rubrieken bovenaan, landpagina compact en rechts advertenties */
.nexpats-menu-list-v52{gap:12px!important;}
.nexpats-page-hero-v54{background:linear-gradient(180deg,#f3f7fd 0%,#fff 100%)!important;}
.nexpats-v54-country-hero.nexpats-page-hero-grid{
  min-height:178px!important;
  padding:30px 34px!important;
  border-radius:26px!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 56%,rgba(255,255,255,.77) 100%),
    url('../images/hero-exact-top-v32-desktop.png') right center/cover no-repeat!important;
  grid-template-columns:minmax(0,1.15fr) minmax(270px,.58fr)!important;
  box-shadow:0 16px 45px rgba(20,87,184,.075)!important;
}
.nexpats-v54-country-hero h1{font-size:clamp(2.1rem,3.2vw,3.65rem)!important;line-height:.95!important;max-width:760px!important;}
.nexpats-v54-country-hero .nexpats-intro{max-width:650px!important;font-size:1rem!important;line-height:1.55!important;}
.nexpats-v54-mini-card{padding:18px!important;border-radius:18px!important;background:rgba(255,255,255,.94)!important;}
.nexpats-v54-mini-card p{margin:8px 0 14px!important;color:#425b7b!important;font-size:.94rem!important;line-height:1.55!important;}
.nexpats-v54-board-section{padding-top:20px!important;}
.nexpats-v54-board{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 292px!important;
  gap:18px!important;
  align-items:start!important;
}
.nexpats-v54-rubrics-top{grid-column:1/-1;background:#fff;border:1px solid #dce7f4;border-radius:22px;padding:18px 18px 16px;box-shadow:0 10px 26px rgba(20,87,184,.055);}
.nexpats-v54-rubrics-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px;}
.nexpats-v54-rubrics-head h2{margin:0;color:#0d3168;font-size:1.35rem;line-height:1.1;}
.nexpats-v54-rubrics-head a{color:#1457b8!important;text-decoration:none!important;font-weight:900;font-size:.9rem;background:#eef6ff;border-radius:999px;padding:8px 12px;white-space:nowrap;}
.nexpats-v54-rubrics-top .nexpats-v53-rubric-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;}
.nexpats-v54-rubrics-top .nexpats-v53-rubric-list a{border-radius:14px;padding:10px 11px;min-height:78px;background:linear-gradient(180deg,#fff,#f8fbff);}
.nexpats-v54-rubrics-top .nexpats-v53-rubric-list a span{font-size:.92rem;}
.nexpats-v54-rubrics-top .nexpats-v53-rubric-list a small{font-size:.73rem;line-height:1.25;}
.nexpats-v54-rubrics-top .nexpats-v53-rubric-list a.is-active{background:linear-gradient(135deg,#1457b8,#0d3168)!important;border-color:#1457b8!important;color:#fff!important;box-shadow:0 10px 22px rgba(20,87,184,.22);}
.nexpats-v54-rubrics-top .nexpats-v53-rubric-list a.is-active small{color:rgba(255,255,255,.78)!important;}
.nexpats-v54-feed-column{display:grid;gap:13px;min-width:0;}
.nexpats-v54-right-rail{display:grid;gap:14px;position:sticky;top:92px;min-width:0;}
.nexpats-v54-forum-head{padding:16px 18px!important;border-radius:18px!important;}
.nexpats-v54-forum-head h2{font-size:1.35rem!important;}
.nexpats-v54-composer{padding:16px 18px!important;border-radius:18px!important;}
.nexpats-v54-composer .nexpats-panel-heading{font-size:1.18rem!important;}
.nexpats-v54-composer .nexpats-panel-intro{font-size:.88rem!important;margin-bottom:8px!important;}
.nexpats-v54-composer form{gap:8px!important;}
.nexpats-v54-composer textarea{min-height:88px!important;max-height:148px!important;}
.nexpats-v54-feed-note{font-size:.86rem!important;padding:10px 13px!important;}
.nexpats-v53-feed article,
.nexpats-v53-feed .ne-community-post,
.nexpats-v53-feed .ne-community-feed-item,
.nexpats-v53-feed .ne-post,
.nexpats-v53-feed .ne-activity,
.nexpats-v53-feed .ne-feed-card,
.nexpats-v53-feed .ne-card{border-radius:17px!important;padding:14px!important;}
.nexpats-v53-post-preview{max-height:172px!important;overflow:hidden!important;}
.nexpats-v53-post-preview::after{height:54px!important;}
.nexpats-v53-post-preview.is-expanded{max-height:none!important;}
.nexpats-v54-right-rail .nexpats-v53-ad-card,.nexpats-v54-right-rail .nexpats-v53-ad-slot,.nexpats-v54-right-rail .nexpats-v53-panel{border-radius:18px!important;}
.nexpats-v54-right-rail .nexpats-v53-ad-card{background:linear-gradient(180deg,#0d3168,#1457b8)!important;color:#fff!important;border:0!important;}
.nexpats-v54-right-rail .nexpats-v53-ad-card span,.nexpats-v54-right-rail .nexpats-v53-ad-card h3{color:#fff!important;}
.nexpats-v54-right-rail .nexpats-v53-ad-card p{color:rgba(255,255,255,.84)!important;}
.nexpats-v54-right-rail .nexpats-v53-ad-card a{background:#fff!important;color:#1457b8!important;}
.nexpats-v54-country-search-wrap{background:#fff;border:1px solid #dce7f4;border-radius:18px;padding:14px 16px;margin:0 0 18px;box-shadow:0 8px 20px rgba(20,87,184,.045);display:grid;gap:7px;}
.nexpats-v54-country-search-wrap label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:#1457b8;}
.nexpats-v54-country-search-wrap input{width:100%;border:1px solid #d5e2f2!important;border-radius:12px!important;padding:11px 13px!important;font-size:.95rem!important;color:#10284b!important;box-shadow:none!important;background:#f8fbff!important;}
.nexpats-v54-countries-page .nexpats-v53-continent-groups{gap:22px!important;}
.nexpats-v54-countries-page .nexpats-v53-continent-intro{padding:16px 18px!important;margin-bottom:12px!important;}
.nexpats-v54-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;}
.nexpats-v54-countries-page .nexpats-v52-country-card{padding:12px!important;border-radius:16px!important;min-height:116px!important;}
.nexpats-v54-countries-page .nexpats-v52-country-card strong{font-size:.96rem!important;}
.nexpats-v54-countries-page .nexpats-v52-country-card small{font-size:.76rem!important;line-height:1.3!important;}
.nexpats-v54-countries-page .nexpats-v52-flag{width:38px!important;height:38px!important;border-radius:12px!important;font-size:1.18rem!important;}
@media (max-width:1240px){
  .nexpats-v54-rubrics-top .nexpats-v53-rubric-list{grid-template-columns:repeat(4,minmax(0,1fr));}
  .nexpats-v54-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media (max-width:980px){
  .nexpats-v54-country-hero.nexpats-page-hero-grid{grid-template-columns:1fr!important;padding:22px 18px!important;background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.9)),url('../images/hero-exact-top-v32-desktop.png') right center/cover no-repeat!important;}
  .nexpats-v54-board{grid-template-columns:1fr!important;}
  .nexpats-v54-right-rail{position:static;grid-template-columns:repeat(2,minmax(0,1fr));}
  .nexpats-v54-rubrics-top .nexpats-v53-rubric-list{grid-template-columns:repeat(3,minmax(0,1fr));}
  .nexpats-v54-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:700px){
  .nexpats-v54-country-hero h1{font-size:1.9rem!important;}
  .nexpats-v54-rubrics-head{display:grid;align-items:start;}
  .nexpats-v54-rubrics-top .nexpats-v53-rubric-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .nexpats-v54-right-rail{grid-template-columns:1fr;}
  .nexpats-v54-countries-page .nexpats-v52-country-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:480px){
  .nexpats-v54-rubrics-top .nexpats-v53-rubric-list,.nexpats-v54-countries-page .nexpats-v52-country-grid{grid-template-columns:1fr!important;}
}

/* v55 – werkend land/rubriekforum, compactere formulieren, advertenties en contact. */
.nexpats-page-hero-v55,
.nexpats-page-hero-v54{
  background: linear-gradient(135deg, rgba(239,246,255,.95), rgba(248,251,255,.98));
}
.nexpats-v55-forum-form,
.nexpats-v55-business-form,
.nexpats-v55-pretty-form{
  display:block;
}
.nexpats-v55-form-grid,
.nexpats-v55-business-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-bottom:14px;
}
.nexpats-v55-business-grid .nexpats-full,
.nexpats-v55-form-grid .nexpats-full{ grid-column: 1 / -1; }
.nexpats-field label,
.nexpats-v55-business-form label,
.nexpats-v55-forum-form label,
.nexpats-v55-pretty-form label{
  display:block;
  margin:0 0 7px;
  color:#0b4aa2 !important;
  font-weight:800;
  font-size:13px;
  letter-spacing:.01em;
}
.nexpats-v55-forum-form input,
.nexpats-v55-forum-form select,
.nexpats-v55-forum-form textarea,
.nexpats-v55-business-form input,
.nexpats-v55-business-form select,
.nexpats-v55-business-form textarea,
.nexpats-v55-pretty-form input,
.nexpats-v55-pretty-form textarea,
.nexpats-v55-pretty-form select,
.nexpats-form input,
.nexpats-form textarea,
.nexpats-form select{
  width:100%;
  border:1px solid rgba(15,66,126,.14) !important;
  border-radius:16px !important;
  background:#fff !important;
  color:#0b1f3a !important;
  padding:13px 15px !important;
  font-size:15px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 24px rgba(15,66,126,.05);
  box-sizing:border-box;
}
.nexpats-v55-forum-form textarea,
.nexpats-v55-business-form textarea,
.nexpats-v55-pretty-form textarea{ min-height:112px; resize:vertical; }
.nexpats-v55-forum-form small,
.nexpats-v55-business-form small{ display:block; margin-top:6px; color:#63738a; font-size:12px; }
.nexpats-v55-forum-post-card{
  background:#fff;
  border:1px solid rgba(15,66,126,.10);
  border-radius:22px;
  padding:18px;
  margin:0 0 16px;
  box-shadow:0 18px 48px rgba(15,66,126,.08);
  overflow:hidden;
}
.nexpats-v55-post-head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.nexpats-v55-post-head img,
.nexpats-v55-avatar{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.nexpats-v55-post-head strong{ display:block; color:#102a4c; font-size:14px; }
.nexpats-v55-post-head span{ display:block; color:#6d7b90; font-size:12px; }
.nexpats-v55-forum-post-card h3{ margin:8px 0 8px; font-size:20px; color:#0b2f6b; }
.nexpats-v55-post-content{ color:#21324a; font-size:15px; line-height:1.62; }
.nexpats-v55-post-content.is-collapsed{ max-height:185px; overflow:hidden; position:relative; }
.nexpats-v55-post-content.is-collapsed:after{ content:""; position:absolute; left:0; right:0; bottom:0; height:52px; background:linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.nexpats-v55-readmore{ border:0; background:#edf5ff; color:#0b4aa2; font-weight:800; border-radius:999px; padding:8px 12px; margin:8px 0 0; cursor:pointer; }
.nexpats-v55-post-actions{ display:flex; align-items:center; gap:12px; border-top:1px solid rgba(15,66,126,.08); padding-top:12px; margin-top:12px; color:#6b788d; font-size:13px; }
.nexpats-v55-like-button{ border:0; background:#edf5ff; color:#0b4aa2; border-radius:999px; padding:8px 12px; font-weight:800; cursor:pointer; }
.nexpats-v55-like-button.is-liked{ background:#0b4aa2; color:#fff; }
.nexpats-v55-comments{ margin-top:12px; display:grid; gap:8px; }
.nexpats-v55-comment{ background:#f5f8fc; border-radius:15px; padding:10px 12px; }
.nexpats-v55-comment strong{ display:block; color:#0b2f6b; font-size:13px; margin-bottom:4px; }
.nexpats-v55-comment p{ margin:0; font-size:14px; color:#24344c; }
.nexpats-v55-comment-form{ margin-top:12px; display:grid; gap:8px; }
.nexpats-v55-comment-form textarea{ width:100%; border:1px solid rgba(15,66,126,.13); border-radius:14px; padding:11px 12px; min-height:62px; background:#fff; }
.nexpats-v55-comment-form button{ border:0; border-radius:999px; padding:10px 14px; background:#17253c; color:#fff; font-weight:800; cursor:pointer; justify-self:end; }
.nexpats-v55-empty-feed,
.nexpats-v55-login-note{ background:#fff; border:1px solid rgba(15,66,126,.10); border-radius:20px; padding:20px; box-shadow:0 12px 32px rgba(15,66,126,.08); }
.nexpats-v55-ad-rail-head,
.nexpats-v55-empty-ad-slot,
.nexpats-v55-ad-listing{
  background:#fff;
  border:1px solid rgba(15,66,126,.10);
  border-radius:20px;
  padding:15px;
  box-shadow:0 12px 34px rgba(15,66,126,.07);
  margin-bottom:12px;
}
.nexpats-v55-ad-rail-head span{ color:#ef4444; font-weight:900; text-transform:uppercase; font-size:11px; letter-spacing:.08em; }
.nexpats-v55-ad-rail-head h3{ margin:6px 0 6px; color:#0b2f6b; font-size:20px; }
.nexpats-v55-ad-rail-head p{ margin:0; color:#617089; font-size:13px; }
.nexpats-v55-ad-listings{ display:grid; gap:12px; }
.nexpats-v55-ad-listing{ padding:10px; overflow:hidden; }
.nexpats-v55-ad-listing img{ width:100%; aspect-ratio: 3 / 2; object-fit:cover; border-radius:14px; display:block; margin-bottom:10px; }
.nexpats-v55-ad-listing strong{ display:block; color:#0b2f6b; font-size:15px; margin-bottom:4px; }
.nexpats-v55-ad-listing p{ margin:0 0 8px; color:#617089; font-size:13px; line-height:1.45; }
.nexpats-v55-ad-listing a,
.nexpats-v55-ad-cta{ display:inline-flex; align-items:center; justify-content:center; text-decoration:none; border-radius:999px; background:#0b4aa2; color:#fff !important; font-weight:800; padding:10px 13px; font-size:13px; }
.nexpats-v55-empty-ad-slot{ border-style:dashed; background:#f8fbff; }
.nexpats-v55-empty-ad-slot strong{ color:#0b2f6b; display:block; }
.nexpats-v55-empty-ad-slot small{ color:#617089; display:block; margin-top:4px; }
.nexpats-v55-business-form-wrap,
.nexpats-v55-contact-form-card,
.nexpats-v55-contact-copy{ background:#fff; border:1px solid rgba(15,66,126,.10); border-radius:26px; padding:24px; box-shadow:0 18px 48px rgba(15,66,126,.08); }
.nexpats-v55-contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:22px; align-items:start; }
.nexpats-v55-form-note{ color:#64748b; margin:12px 0 0; font-size:13px; }
.nexpats-v54-board{ align-items:start; }
.nexpats-v54-rubrics-top{ grid-column:1 / -1; }
.nexpats-v53-rubric-list{ gap:8px !important; }
.nexpats-v53-rubric-list a{ min-height:auto !important; padding:12px 13px !important; border-radius:16px !important; }
.nexpats-v53-rubric-list a small{ font-size:11px !important; line-height:1.35; }
.nexpats-social-composer-card{ padding:18px !important; }
.nexpats-v53-feed-note{ padding:10px 12px !important; border-radius:14px !important; font-size:13px !important; }
@media (max-width: 920px){
  .nexpats-v55-form-grid,
  .nexpats-v55-business-grid,
  .nexpats-v55-contact-grid{ grid-template-columns:1fr; }
  .nexpats-v55-business-form-wrap,
  .nexpats-v55-contact-form-card,
  .nexpats-v55-contact-copy{ padding:18px; border-radius:20px; }
}

/* v56 – homepage sluit aan op landenforumconcept, kennisbank uit beeld, compactere forumtypografie en footerlogo. */
.nexpats-home-section-resources .nexpats-card-head.is-main-head{
  justify-content:center;
  text-align:center;
  margin-bottom:22px;
}
.nexpats-home-section-resources .nexpats-card-head.is-main-head h2{
  max-width:760px;
  margin-inline:auto;
}
.nexpats-home-card .nexpats-card-head h2,
.nexpats-resource-card h3{
  letter-spacing:-.025em;
}
.nexpats-list-row,
.nexpats-business-row,
.nexpats-discussion-row{
  min-height:66px;
  border-radius:16px;
}
.nexpats-business-row .nexpats-brand-logo,
.nexpats-discussion-row .nexpats-avatar-image{
  width:42px;
  height:42px;
  object-fit:contain;
  border-radius:13px;
  background:#f5f8fd;
}
.nexpats-v55-forum-post-card h3{
  font-size:17px!important;
  line-height:1.28!important;
  letter-spacing:-.015em;
  color:#123f91!important;
}
.nexpats-v55-post-content,
.nexpats-v55-post-content p,
.nexpats-v55-comment p,
.nexpats-v55-comment-form textarea{
  font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.58!important;
  color:#24344c!important;
  font-weight:500!important;
}
.nexpats-v55-post-content p{margin:0 0 10px!important;}
.nexpats-v55-comment{
  background:#f7faff!important;
  border:1px solid rgba(18,63,145,.08);
}
.nexpats-v55-comment strong{
  font-size:12.5px!important;
  color:#123f91!important;
}
.nexpats-v55-forum-form input,
.nexpats-v55-forum-form select,
.nexpats-v55-forum-form textarea,
.nexpats-v55-comment-form textarea{
  font-size:14px!important;
  border-radius:14px!important;
}
.nexpats-footer-logo{
  height:46px!important;
  width:auto!important;
  object-fit:contain!important;
}
.nexpats-site-footer .nexpats-footer-brand img{
  background:transparent!important;
}

/* v57 – rustige teksten, footerlogo en homepage-conceptblokken */
.nexpats-v55-empty-feed,
.nexpats-v53-empty{
  padding:14px 16px!important;
  border-radius:16px!important;
  text-align:left!important;
  background:#ffffff!important;
  color:#66758d!important;
  box-shadow:0 8px 20px rgba(15,66,126,.045)!important;
}
.nexpats-v55-empty-feed h3,
.nexpats-v53-empty h3{
  margin:0 0 4px!important;
  font-size:15px!important;
  line-height:1.25!important;
  color:#0b2f6b!important;
  letter-spacing:-.01em!important;
}
.nexpats-v55-empty-feed p,
.nexpats-v53-empty p{
  margin:0!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:#66758d!important;
  font-weight:500!important;
}
.nexpats-v54-forum-head h2,
.nexpats-v53-forum-head h2{
  font-size:1.18rem!important;
  letter-spacing:-.02em!important;
}
.nexpats-v54-forum-head p,
.nexpats-v53-feed-note{
  font-size:13px!important;
  line-height:1.45!important;
  color:#66758d!important;
}
.nexpats-footer-logo{
  height:50px!important;
  max-width:310px!important;
  width:auto!important;
  object-fit:contain!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.nexpats-footer-brand p{
  max-width:360px;
}
.nexpats-home-world-section{
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}
.nexpats-home-concept-head{
  max-width:850px;
  margin:0 auto 24px;
  text-align:center;
}
.nexpats-home-concept-head h2{
  margin:6px auto 10px;
  color:#0b2f6b;
  font-size:clamp(2rem,3.2vw,3.35rem);
  line-height:.98;
  letter-spacing:-.05em;
}
.nexpats-home-concept-head p{
  margin:0 auto;
  max-width:720px;
  color:#53657f;
  font-size:1rem;
  line-height:1.7;
  font-weight:500;
}
.nexpats-home-concept-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.nexpats-home-concept-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:330px;
  padding:24px;
  border-radius:28px;
  background:#ffffff;
  border:1px solid rgba(15,66,126,.10);
  box-shadow:0 18px 44px rgba(15,66,126,.075);
  overflow:hidden;
}
.nexpats-home-concept-card:before{
  content:"";
  position:absolute;
  inset:auto -70px -95px auto;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(20,87,184,.07);
  pointer-events:none;
}
.nexpats-home-concept-card.is-blue{
  background:linear-gradient(135deg,#0b2f6b 0%,#1457b8 100%);
  color:#fff;
  border:0;
}
.nexpats-home-concept-card.is-ad-card{
  background:linear-gradient(180deg,#fff 0%,#fff8f4 100%);
  border-color:#ffe0c7;
}
.nexpats-concept-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  margin-bottom:18px;
  border-radius:14px;
  background:#eef6ff;
  color:#1457b8;
  font-weight:950;
  font-size:13px;
}
.nexpats-home-concept-card.is-blue .nexpats-concept-number{
  background:rgba(255,255,255,.15);
  color:#fff;
}
.nexpats-home-concept-card h3{
  margin:0 0 10px;
  color:#0b2f6b;
  font-size:1.55rem;
  line-height:1.05;
  letter-spacing:-.035em;
}
.nexpats-home-concept-card.is-blue h3,
.nexpats-home-concept-card.is-blue p,
.nexpats-home-concept-card.is-blue a{
  color:#fff!important;
}
.nexpats-home-concept-card p{
  margin:0 0 18px;
  color:#53657f;
  line-height:1.6;
  font-size:.98rem;
  font-weight:500;
}
.nexpats-concept-pills,
.nexpats-concept-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:2px 0 20px;
}
.nexpats-concept-pills span,
.nexpats-concept-tags span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:7px 10px;
  border-radius:999px;
  background:#eef6ff;
  color:#1457b8;
  font-size:12px;
  line-height:1;
  font-weight:900;
}
.nexpats-home-concept-card.is-blue .nexpats-concept-pills span{
  background:rgba(255,255,255,.13);
  color:#fff;
}
.nexpats-concept-list{
  display:grid;
  gap:9px;
  margin:2px 0 20px;
  padding:0;
  list-style:none;
  color:#53657f;
  font-size:.93rem;
  line-height:1.45;
  font-weight:700;
}
.nexpats-concept-list li{
  position:relative;
  padding-left:19px;
}
.nexpats-concept-list li:before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff8b20;
}
.nexpats-home-concept-card a{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#1457b8!important;
  text-decoration:none!important;
  font-weight:950;
}
.nexpats-home-concept-card.is-ad-card a{color:#d4560a!important;}
@media (max-width: 980px){
  .nexpats-home-concept-grid{grid-template-columns:1fr;}
  .nexpats-home-concept-card{min-height:0;}
}
@media (max-width: 640px){
  .nexpats-home-concept-card{padding:20px;border-radius:22px;}
  .nexpats-home-concept-head{text-align:left;}
}

/* v58 – ledengerichte homepagecopy en nieuwe stijl voor aanmelden/dashboard/profiel. */
.nexpats-home-concept-head h2{
  max-width:840px;
}
.nexpats-home-concept-head p{
  max-width:820px;
  font-size:1.04rem;
  line-height:1.72;
}
.nexpats-v58-account-hero{
  padding:28px 0 8px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f4f8fe 100%)!important;
}
.nexpats-v58-member-hero-grid{
  min-height:250px!important;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.72fr)!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 47%,rgba(255,255,255,.84) 100%),
    url('../images/hero-visual-v36-desktop.png') right center/cover no-repeat!important;
  border-radius:30px!important;
  padding:34px!important;
}
.nexpats-v58-account-hero .nexpats-kicker,
.nexpats-v58-form-intro .nexpats-section-kicker{
  display:inline-flex;
  color:#1457b8!important;
  background:#eef6ff!important;
  border-radius:999px;
  padding:7px 13px;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.nexpats-v58-account-hero h1{
  max-width:16ch!important;
  font-size:clamp(2.25rem,3.4vw,4rem)!important;
  color:#0b2f6b!important;
  letter-spacing:-.055em!important;
}
.nexpats-v58-account-hero .nexpats-intro{
  max-width:680px!important;
  color:#465b78!important;
  font-size:1.02rem!important;
  line-height:1.7!important;
}
.nexpats-v58-hero-preview-card,
.nexpats-v58-profile-preview,
.nexpats-v58-dashboard-cards{
  position:relative;
  z-index:2;
  align-self:stretch;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(20,87,184,.12);
  border-radius:24px;
  padding:14px;
  box-shadow:0 18px 42px rgba(15,66,126,.10);
  overflow:hidden;
}
.nexpats-v58-cover-preview,
.nexpats-v58-profile-cover{
  width:100%;
  aspect-ratio:16/7;
  border-radius:18px;
  overflow:hidden;
  background:#eef5ff;
  border:1px solid rgba(20,87,184,.10);
}
.nexpats-v58-cover-preview img,
.nexpats-v58-profile-cover img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
.nexpats-v58-mini-profile,
.nexpats-v58-profile-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  padding:12px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid rgba(20,87,184,.08);
}
.nexpats-v58-avatar-dot{
  width:46px;
  height:46px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#1457b8,#ee4d4d);
  color:#fff;
  font-weight:950;
  box-shadow:0 10px 22px rgba(20,87,184,.18);
  flex:0 0 auto;
}
.nexpats-v58-mini-profile strong,
.nexpats-v58-profile-row strong{
  display:block;
  color:#0b2f6b;
  font-size:15px;
  line-height:1.2;
}
.nexpats-v58-mini-profile small,
.nexpats-v58-profile-row small{
  display:block;
  color:#617089;
  font-size:12px;
  line-height:1.35;
  margin-top:2px;
}
.nexpats-v58-checks{
  list-style:none;
  display:grid;
  gap:8px;
  margin:12px 0 0;
  padding:0;
}
.nexpats-v58-checks li{
  position:relative;
  padding-left:22px;
  color:#334967;
  font-size:13px;
  line-height:1.42;
  font-weight:750;
}
.nexpats-v58-checks li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#ee4d4d;
  font-weight:950;
}
.nexpats-v58-dashboard-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.nexpats-v58-dashboard-cards div{
  min-height:96px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid rgba(20,87,184,.08);
  padding:14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.nexpats-v58-dashboard-cards strong{
  color:#1457b8;
  font-size:13px;
  font-weight:950;
}
.nexpats-v58-dashboard-cards span{
  color:#0b2f6b;
  font-size:14px;
  line-height:1.25;
  font-weight:850;
}
.nexpats-v58-account-section{
  padding-top:26px!important;
  background:#f4f8fe!important;
}
.nexpats-v58-form-shell{
  display:grid;
  grid-template-columns:minmax(260px,.42fr) minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.nexpats-v58-form-intro,
.nexpats-v58-profile-note{
  background:#fff;
  border:1px solid rgba(20,87,184,.10);
  border-radius:24px;
  padding:22px;
  box-shadow:0 14px 34px rgba(15,66,126,.07);
}
.nexpats-v58-form-intro h2{
  margin:10px 0 8px;
  color:#0b2f6b;
  font-size:1.9rem;
  line-height:1.03;
  letter-spacing:-.04em;
}
.nexpats-v58-form-intro p,
.nexpats-v58-profile-note{
  color:#53657f;
  font-size:14px;
  line-height:1.6;
  font-weight:550;
}
.nexpats-v58-embed-card{
  padding:24px!important;
  border-radius:26px!important;
  border:1px solid rgba(20,87,184,.10)!important;
  box-shadow:0 18px 44px rgba(15,66,126,.075)!important;
}
.nexpats-v58-embed-card input,
.nexpats-v58-embed-card textarea,
.nexpats-v58-embed-card select,
.nexpats-v58-profile-stage input,
.nexpats-v58-profile-stage textarea,
.nexpats-v58-profile-stage select{
  border-radius:14px!important;
  border:1px solid #d9e6f5!important;
  background:#fff!important;
  color:#0f2344!important;
  font-size:14px!important;
  min-height:44px;
}
.nexpats-v58-embed-card button,
.nexpats-v58-embed-card input[type="submit"],
.nexpats-v58-profile-stage button,
.nexpats-v58-profile-stage input[type="submit"]{
  border-radius:999px!important;
  background:#1457b8!important;
  color:#fff!important;
  font-weight:900!important;
  border:0!important;
  padding:11px 16px!important;
}
.nexpats-v58-profile-stage{
  background:#f4f8fe!important;
}
.nexpats-v58-profile-stage .nexpats-shell > *:not(.nexpats-v58-profile-note){
  background:#fff;
  border:1px solid rgba(20,87,184,.10);
  border-radius:26px;
  box-shadow:0 18px 44px rgba(15,66,126,.075);
  padding:22px;
  overflow:hidden;
}
.nexpats-v58-profile-note{
  margin-bottom:16px;
}
.nexpats-v58-profile-stage [class*="cover"],
.nexpats-v58-profile-stage [class*="banner"],
.nexpats-v58-profile-stage [class*="Cover"],
.nexpats-v58-profile-stage [class*="Banner"]{
  border-radius:20px!important;
  overflow:hidden!important;
  background:#eef5ff!important;
}
.nexpats-v58-profile-stage [class*="cover"] img,
.nexpats-v58-profile-stage [class*="banner"] img,
.nexpats-v58-profile-stage [class*="Cover"] img,
.nexpats-v58-profile-stage [class*="Banner"] img{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:20px!important;
}
@media (max-width: 920px){
  .nexpats-v58-member-hero-grid,
  .nexpats-v58-form-shell{
    grid-template-columns:1fr!important;
  }
  .nexpats-v58-dashboard-cards{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 640px){
  .nexpats-v58-member-hero-grid{
    padding:22px 18px!important;
    border-radius:24px!important;
  }
  .nexpats-v58-account-hero h1{
    max-width:none!important;
    font-size:2rem!important;
  }
  .nexpats-v58-dashboard-cards{
    grid-template-columns:1fr;
  }
  .nexpats-v58-hero-preview-card,
  .nexpats-v58-profile-preview,
  .nexpats-v58-dashboard-cards,
  .nexpats-v58-embed-card,
  .nexpats-v58-form-intro,
  .nexpats-v58-profile-note{
    border-radius:20px!important;
  }
}

/* v59 – uniforme leden/profiel stijl en brede polish voor account/community plugin output. */
.nexpats-v59-soft-hero{
  padding:26px 0 10px!important;
  background:linear-gradient(180deg,#fff 0%,#f3f7fd 100%)!important;
}
.nexpats-v59-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.55fr)!important;
  gap:26px!important;
  align-items:center!important;
  min-height:238px!important;
  border-radius:30px!important;
  padding:34px!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.985) 0%,rgba(255,255,255,.94) 50%,rgba(255,255,255,.82) 100%),
    url('../images/hero-visual-v36-desktop.png') right center/cover no-repeat!important;
  border:1px solid rgba(20,87,184,.10)!important;
  box-shadow:0 18px 42px rgba(15,66,126,.08)!important;
  overflow:hidden!important;
}
.nexpats-v59-soft-hero .nexpats-kicker,
.nexpats-v59-section-head .nexpats-section-kicker,
.nexpats-v59-profile-side .nexpats-section-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 13px!important;
  border-radius:999px!important;
  background:#edf5ff!important;
  color:#1457b8!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.nexpats-v59-soft-hero h1{
  max-width:18ch!important;
  color:#0b2f6b!important;
  font-size:clamp(2.2rem,3.3vw,4rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  margin:14px 0 14px!important;
}
.nexpats-v59-soft-hero .nexpats-intro{
  max-width:700px!important;
  color:#465b78!important;
  font-size:1rem!important;
  line-height:1.72!important;
}
.nexpats-v59-member-preview,
.nexpats-v59-profile-mock{
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(20,87,184,.11)!important;
  border-radius:24px!important;
  padding:14px!important;
  box-shadow:0 16px 38px rgba(15,66,126,.09)!important;
  overflow:hidden!important;
}
.nexpats-v59-preview-cover,
.nexpats-v59-mock-cover{
  width:100%!important;
  aspect-ratio:16/7!important;
  border-radius:18px!important;
  background:
    linear-gradient(110deg,rgba(20,87,184,.88),rgba(238,77,77,.72)),
    url('../images/hero-visual-v36-desktop.png') center/cover no-repeat!important;
  border:1px solid rgba(20,87,184,.10)!important;
}
.nexpats-v59-preview-row,
.nexpats-v59-mock-profilebar{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin-top:12px!important;
  padding:12px!important;
  border-radius:18px!important;
  background:#f8fbff!important;
  border:1px solid rgba(20,87,184,.08)!important;
}
.nexpats-v59-avatar{
  width:44px!important;
  height:44px!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font-weight:950!important;
  box-shadow:0 10px 22px rgba(20,87,184,.16)!important;
  flex:0 0 auto!important;
}
.nexpats-v59-avatar.is-red{background:linear-gradient(135deg,#ee4d4d,#1457b8)!important;}
.nexpats-v59-avatar.is-blue{background:linear-gradient(135deg,#1457b8,#0b2f6b)!important;}
.nexpats-v59-preview-row strong,
.nexpats-v59-mock-profilebar strong{
  display:block!important;
  color:#0b2f6b!important;
  font-size:15px!important;
  line-height:1.2!important;
}
.nexpats-v59-preview-row small,
.nexpats-v59-mock-profilebar small{
  display:block!important;
  margin-top:3px!important;
  color:#65748b!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.nexpats-v59-preview-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:12px!important;
}
.nexpats-v59-preview-pills span{
  display:inline-flex!important;
  border-radius:999px!important;
  padding:6px 9px!important;
  background:#eef5ff!important;
  color:#1457b8!important;
  font-size:12px!important;
  font-weight:850!important;
}
.nexpats-v59-directory-section,
.nexpats-v59-profile-section{
  background:#f4f8fe!important;
  padding:34px 0 54px!important;
}
.nexpats-v59-section-head{
  max-width:760px!important;
  margin:0 auto 22px!important;
  text-align:center!important;
}
.nexpats-v59-section-head h2{
  margin:10px 0 8px!important;
  color:#0b2f6b!important;
  font-size:clamp(1.7rem,2.8vw,2.7rem)!important;
  line-height:1.04!important;
  letter-spacing:-.045em!important;
}
.nexpats-v59-section-head p{
  color:#53657f!important;
  font-size:15px!important;
  line-height:1.7!important;
  margin:0!important;
}
.nexpats-v59-directory-card,
.nexpats-v59-shortcode-card{
  background:#fff!important;
  border:1px solid rgba(20,87,184,.10)!important;
  border-radius:28px!important;
  box-shadow:0 18px 44px rgba(15,66,126,.075)!important;
  padding:26px!important;
  overflow:hidden!important;
}
.nexpats-v59-profile-layout{
  display:grid!important;
  grid-template-columns:minmax(220px,.34fr) minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
}
.nexpats-v59-profile-side{
  position:sticky!important;
  top:96px!important;
}
.nexpats-v59-side-card{
  background:#fff!important;
  border:1px solid rgba(20,87,184,.10)!important;
  border-radius:24px!important;
  box-shadow:0 14px 34px rgba(15,66,126,.07)!important;
  padding:22px!important;
}
.nexpats-v59-side-card h2{
  color:#0b2f6b!important;
  font-size:1.55rem!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
  margin:12px 0 12px!important;
}
.nexpats-v59-side-card ul{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  gap:9px!important;
}
.nexpats-v59-side-card li{
  position:relative!important;
  padding-left:22px!important;
  color:#445873!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
.nexpats-v59-side-card li:before{
  content:'✓'!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  color:#ee4d4d!important;
  font-weight:950!important;
}
.nexpats-v59-empty{
  background:#f8fbff!important;
  border:1px dashed rgba(20,87,184,.25)!important;
  border-radius:18px!important;
  color:#53657f!important;
  padding:18px!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1.55!important;
}

/* v59 – plugin/shortcode output consistent maken op leden, profiel, dashboard, berichten, meldingen en groepen. */
.nexpats-v59-shortcode-card,
.nexpats-v58-embed-card,
.nexpats-page-card{
  color:#0f2344!important;
  font-family:inherit!important;
}
.nexpats-v59-shortcode-card *:not(svg):not(path),
.nexpats-v58-embed-card *:not(svg):not(path),
.nexpats-v58-profile-stage *:not(svg):not(path){
  box-sizing:border-box!important;
}
.nexpats-v59-shortcode-card h1,
.nexpats-v59-shortcode-card h2,
.nexpats-v59-shortcode-card h3,
.nexpats-v59-shortcode-card h4,
.nexpats-v58-embed-card h1,
.nexpats-v58-embed-card h2,
.nexpats-v58-embed-card h3,
.nexpats-v58-embed-card h4,
.nexpats-v59-profile-app h1,
.nexpats-v59-profile-app h2,
.nexpats-v59-profile-app h3{
  color:#0b2f6b!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
.nexpats-v59-shortcode-card p,
.nexpats-v59-shortcode-card li,
.nexpats-v59-shortcode-card span,
.nexpats-v58-embed-card p,
.nexpats-v58-embed-card li,
.nexpats-v58-embed-card span,
.nexpats-v59-profile-app p,
.nexpats-v59-profile-app li,
.nexpats-v59-profile-app span{
  font-size:14px!important;
  line-height:1.55!important;
}
.nexpats-v59-shortcode-card a,
.nexpats-v58-embed-card a,
.nexpats-v59-profile-app a{
  color:#0b2f6b!important;
  text-decoration:none!important;
  font-weight:850!important;
}
.nexpats-v59-shortcode-card input,
.nexpats-v59-shortcode-card textarea,
.nexpats-v59-shortcode-card select,
.nexpats-v58-embed-card input,
.nexpats-v58-embed-card textarea,
.nexpats-v58-embed-card select,
.nexpats-v59-profile-app input,
.nexpats-v59-profile-app textarea,
.nexpats-v59-profile-app select{
  width:100%;
  border-radius:14px!important;
  border:1px solid #d9e6f5!important;
  background:#fff!important;
  color:#0f2344!important;
  min-height:42px!important;
  padding:10px 12px!important;
  font-size:14px!important;
}
.nexpats-v59-shortcode-card button,
.nexpats-v59-shortcode-card input[type='submit'],
.nexpats-v58-embed-card button,
.nexpats-v58-embed-card input[type='submit'],
.nexpats-v59-profile-app button,
.nexpats-v59-profile-app input[type='submit'],
.nexpats-v59-shortcode-card a[class*='friend'],
.nexpats-v59-shortcode-card a[class*='Friend'],
.nexpats-v59-shortcode-card a[class*='request'],
.nexpats-v59-shortcode-card a[class*='Request'],
.nexpats-v59-shortcode-card a[class*='button'],
.nexpats-v59-profile-app a[class*='button']{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  white-space:normal!important;
  text-align:center!important;
  border-radius:12px!important;
  background:#17263a!important;
  color:#fff!important;
  border:0!important;
  font-weight:900!important;
  padding:10px 13px!important;
  min-height:40px!important;
  line-height:1.15!important;
  text-decoration:none!important;
}

/* v59 – ledenkaarten zoals een rustige directory in plaats van losse lompe blokken. */
.nexpats-v59-directory-card > div,
.nexpats-v59-directory-card .ne-member-directory,
.nexpats-v59-directory-card [class*='directory'],
.nexpats-v59-directory-card [class*='Directory'],
.nexpats-v59-directory-card [class*='members'],
.nexpats-v59-directory-card [class*='Members']{
  max-width:980px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.nexpats-v59-directory-card [class*='grid'],
.nexpats-v59-directory-card [class*='list'],
.nexpats-v59-directory-card [class*='cards'],
.nexpats-v59-directory-card [class*='Cards']{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  gap:16px!important;
}
.nexpats-v59-directory-card article,
.nexpats-v59-directory-card .member,
.nexpats-v59-directory-card [class*='member-card'],
.nexpats-v59-directory-card [class*='MemberCard'],
.nexpats-v59-directory-card [class*='profile-card'],
.nexpats-v59-directory-card [class*='ProfileCard'],
.nexpats-v59-directory-card li{
  min-width:0!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid rgba(20,87,184,.12)!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(15,66,126,.055)!important;
  padding:18px!important;
}
.nexpats-v59-directory-card img,
.nexpats-v59-profile-app img{
  max-width:100%!important;
  height:auto!important;
  border-radius:18px!important;
}
.nexpats-v59-directory-card img.avatar,
.nexpats-v59-directory-card [class*='avatar'] img,
.nexpats-v59-directory-card [class*='Avatar'] img,
.nexpats-v59-profile-app img.avatar,
.nexpats-v59-profile-app [class*='avatar'] img,
.nexpats-v59-profile-app [class*='Avatar'] img{
  width:58px!important;
  height:58px!important;
  object-fit:cover!important;
  border-radius:50%!important;
}

/* v59 – profielpagina Facebook-achtig: cover bovenaan, profielinfo eronder, geen gigantische coverfoto. */
.nexpats-v59-profile-app{
  padding:0!important;
  overflow:hidden!important;
}
.nexpats-v59-profile-app > *{
  max-width:100%!important;
}
.nexpats-v59-profile-app [class*='cover'],
.nexpats-v59-profile-app [class*='Cover'],
.nexpats-v59-profile-app [class*='banner'],
.nexpats-v59-profile-app [class*='Banner']{
  width:100%!important;
  max-height:330px!important;
  min-height:180px!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#eaf2fd!important;
  border:1px solid rgba(20,87,184,.10)!important;
  margin:0 0 18px!important;
}
.nexpats-v59-profile-app [class*='cover'] img,
.nexpats-v59-profile-app [class*='Cover'] img,
.nexpats-v59-profile-app [class*='banner'] img,
.nexpats-v59-profile-app [class*='Banner'] img,
.nexpats-v59-profile-app > img:first-child{
  width:100%!important;
  height:clamp(180px,26vw,330px)!important;
  max-height:330px!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:22px!important;
  display:block!important;
}
.nexpats-v59-profile-app > div,
.nexpats-v59-profile-app > section,
.nexpats-v59-profile-app > article{
  border-radius:22px!important;
}
.nexpats-v59-profile-app > div:not(:first-child),
.nexpats-v59-profile-app > section:not(:first-child),
.nexpats-v59-profile-app > article:not(:first-child){
  margin:14px!important;
}
.nexpats-v59-profile-app table,
.nexpats-v59-shortcode-card table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
}
.nexpats-v59-profile-app td,
.nexpats-v59-profile-app th,
.nexpats-v59-shortcode-card td,
.nexpats-v59-shortcode-card th{
  border:0!important;
  padding:10px!important;
  background:#f8fbff!important;
  color:#334967!important;
  font-size:14px!important;
}

/* v59 – overige pluginpagina's zachter maken zonder specifieke shortcodekennis. */
body.page-aanmelden .entry-content,
body.page-dashboard .entry-content,
body.page-profiel .entry-content,
body.page-leden .entry-content,
body.page-berichten .entry-content,
body.page-meldingen .entry-content,
body.page-groepen .entry-content{
  color:#0f2344!important;
}
body.page-berichten .nexpats-page-card,
body.page-meldingen .nexpats-page-card,
body.page-groepen .nexpats-page-card{
  border-radius:28px!important;
  border:1px solid rgba(20,87,184,.10)!important;
  box-shadow:0 18px 44px rgba(15,66,126,.075)!important;
  background:#fff!important;
}
@media (max-width:980px){
  .nexpats-v59-hero-grid,
  .nexpats-v59-profile-layout{
    grid-template-columns:1fr!important;
  }
  .nexpats-v59-profile-side{position:static!important;}
}
@media (max-width:640px){
  .nexpats-v59-hero-grid{padding:22px 18px!important;border-radius:24px!important;}
  .nexpats-v59-soft-hero h1{font-size:2.05rem!important;max-width:none!important;}
  .nexpats-v59-directory-card,.nexpats-v59-shortcode-card{padding:18px!important;border-radius:22px!important;}
  .nexpats-v59-directory-card [class*='grid'],
  .nexpats-v59-directory-card [class*='list'],
  .nexpats-v59-directory-card [class*='cards'],
  .nexpats-v59-directory-card [class*='Cards']{grid-template-columns:1fr!important;}
}

/* v60 – harde stijlreset voor profiel, dashboard en pluginpagina's. */
.nexpats-v60-profile-page{padding:46px 0 70px!important;background:linear-gradient(180deg,#f3f8ff 0%,#f8fbff 100%)!important;}
.nexpats-v60-profile-shell{max-width:1180px!important;}
.nexpats-v60-profile-facebook-card{padding:0!important;border:1px solid rgba(20,87,184,.14)!important;border-radius:28px!important;background:#fff!important;box-shadow:0 28px 70px rgba(10,36,78,.10)!important;overflow:hidden!important;}
.nexpats-v60-profile-facebook-card > *{max-width:100%!important;box-sizing:border-box!important;}
.nexpats-v60-profile-facebook-card [class*='cover'],
.nexpats-v60-profile-facebook-card [class*='Cover'],
.nexpats-v60-profile-facebook-card [class*='banner'],
.nexpats-v60-profile-facebook-card [class*='Banner'],
.nexpats-v60-profile-facebook-card .nexpats-v60-detected-cover{display:block!important;width:100%!important;height:clamp(220px,34vw,420px)!important;min-height:220px!important;max-height:420px!important;border-radius:0!important;overflow:hidden!important;background:#eaf3ff!important;margin:0!important;border:0!important;position:relative!important;}
.nexpats-v60-profile-facebook-card [class*='cover'] img,
.nexpats-v60-profile-facebook-card [class*='Cover'] img,
.nexpats-v60-profile-facebook-card [class*='banner'] img,
.nexpats-v60-profile-facebook-card [class*='Banner'] img,
.nexpats-v60-profile-facebook-card img.nexpats-v60-detected-cover{width:100%!important;height:clamp(220px,34vw,420px)!important;max-height:420px!important;object-fit:cover!important;object-position:center center!important;border-radius:0!important;display:block!important;}
.nexpats-v60-profile-facebook-card > img:not(.nexpats-v60-detected-cover),
.nexpats-v60-profile-facebook-card img.avatar,
.nexpats-v60-profile-facebook-card [class*='avatar'] img,
.nexpats-v60-profile-facebook-card [class*='Avatar'] img,
.nexpats-v60-profile-facebook-card [class*='profile-photo'] img,
.nexpats-v60-profile-facebook-card [class*='ProfilePhoto'] img,
.nexpats-v60-profile-facebook-card img.nexpats-v60-detected-avatar{width:118px!important;height:118px!important;min-width:118px!important;max-width:118px!important;border-radius:999px!important;object-fit:cover!important;object-position:center center!important;border:6px solid #fff!important;box-shadow:0 14px 36px rgba(10,36,78,.18)!important;background:#fff!important;display:block!important;}
.nexpats-v60-profile-facebook-card img.nexpats-v60-detected-avatar{margin:-62px 0 14px 34px!important;position:relative!important;z-index:3!important;}
.nexpats-v60-profile-facebook-card > div:not([class*='cover']):not([class*='Cover']):not([class*='banner']):not([class*='Banner']),
.nexpats-v60-profile-facebook-card > section:not([class*='cover']):not([class*='Cover']):not([class*='banner']):not([class*='Banner']),
.nexpats-v60-profile-facebook-card > article:not([class*='cover']):not([class*='Cover']):not([class*='banner']):not([class*='Banner']){padding-left:34px!important;padding-right:34px!important;}
.nexpats-v60-profile-facebook-card h1,
.nexpats-v60-profile-facebook-card h2,
.nexpats-v60-profile-facebook-card h3{font-family:var(--ne-heading-font,inherit)!important;color:#0b3577!important;letter-spacing:-.03em!important;line-height:1.05!important;margin-top:12px!important;}
.nexpats-v60-profile-facebook-card p,
.nexpats-v60-profile-facebook-card li,
.nexpats-v60-profile-facebook-card span{font-family:var(--ne-body-font,inherit)!important;color:#496587!important;font-size:.96rem!important;line-height:1.62!important;}
.nexpats-v60-profile-help-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-top:18px!important;}
.nexpats-v60-help-card{border:1px solid rgba(20,87,184,.12)!important;background:#fff!important;border-radius:18px!important;padding:18px!important;box-shadow:0 18px 42px rgba(10,36,78,.07)!important;}
.nexpats-v60-help-card strong{display:block!important;color:#0b3577!important;font-weight:850!important;margin-bottom:6px!important;}
.nexpats-v60-help-card span{display:block!important;color:#55708e!important;font-size:.92rem!important;line-height:1.55!important;}
.nexpats-v60-profile-empty{padding:34px!important;}

/* v60 – eigen berichten beheren in forumfeed. */
.nexpats-v60-forum-post-card{position:relative!important;}
.nexpats-v60-post-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;}
.nexpats-v60-inline-delete{display:inline-flex!important;margin:0!important;padding:0!important;}
.nexpats-v60-mini-action,.nexpats-v60-inline-delete button{border:1px solid rgba(20,87,184,.16)!important;background:#fff!important;color:#0b3577!important;border-radius:999px!important;padding:7px 10px!important;font-size:.78rem!important;font-weight:850!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;}
.nexpats-v60-mini-action.is-danger,.nexpats-v60-inline-delete .is-danger{color:#c52828!important;border-color:rgba(238,77,77,.24)!important;background:#fff7f7!important;}
.nexpats-v60-edit-form{margin:12px 0 16px!important;padding:14px!important;border:1px solid rgba(20,87,184,.14)!important;border-radius:18px!important;background:#f7fbff!important;}
.nexpats-v60-edit-form label{display:block!important;font-weight:850!important;color:#0b3577!important;font-size:.86rem!important;margin-bottom:10px!important;}
.nexpats-v60-edit-form input,.nexpats-v60-edit-form textarea{display:block!important;width:100%!important;margin-top:5px!important;border:1px solid rgba(20,87,184,.18)!important;border-radius:14px!important;padding:11px 12px!important;background:#fff!important;color:#10233f!important;font:inherit!important;}
.nexpats-v60-feed-notice{margin:0 0 14px!important;border:1px solid rgba(18,194,164,.30)!important;background:#effffb!important;color:#0b6c5a!important;border-radius:16px!important;padding:12px 14px!important;font-weight:800!important;}

/* v60 – dashboard beheerblokken. */
.nexpats-v60-dashboard-panel{margin-top:24px!important;padding:22px!important;border-radius:24px!important;border:1px solid rgba(20,87,184,.12)!important;background:#fff!important;box-shadow:0 18px 44px rgba(10,36,78,.06)!important;}
.nexpats-v60-dashboard-panel h2{margin:4px 0 12px!important;color:#0b3577!important;font-size:1.35rem!important;letter-spacing:-.035em!important;}
.nexpats-v60-muted{color:#5e7491!important;font-size:.95rem!important;}
.nexpats-v60-request-list{display:grid!important;gap:10px!important;}
.nexpats-v60-request-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;border:1px solid rgba(20,87,184,.10)!important;background:#f8fbff!important;border-radius:16px!important;padding:14px!important;}
.nexpats-v60-request-card strong{display:block!important;color:#0b3577!important;font-weight:850!important;}
.nexpats-v60-request-card span,.nexpats-v60-request-card small{display:block!important;color:#647a98!important;font-size:.86rem!important;line-height:1.45!important;}
.nexpats-v60-request-card a,.nexpats-v60-request-card button{border:0!important;border-radius:999px!important;background:#142235!important;color:#fff!important;padding:9px 12px!important;font-weight:850!important;font-size:.82rem!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;}
.nexpats-v60-request-card form{margin:0!important;}

/* v60 – brede zachte stijl voor alle bestaande shortcode/plugin pagina's. */
.nexpats-embed-card,.nexpats-v58-embed-card,.nexpats-v59-shortcode-card,.nexpats-v60-shortcode-surface{font-family:var(--ne-body-font,inherit)!important;color:#183153!important;}
.nexpats-embed-card input,.nexpats-embed-card textarea,.nexpats-embed-card select,
.nexpats-v58-embed-card input,.nexpats-v58-embed-card textarea,.nexpats-v58-embed-card select,
.nexpats-v59-shortcode-card input,.nexpats-v59-shortcode-card textarea,.nexpats-v59-shortcode-card select,
.nexpats-v60-shortcode-surface input,.nexpats-v60-shortcode-surface textarea,.nexpats-v60-shortcode-surface select{border:1px solid rgba(20,87,184,.16)!important;background:#fff!important;border-radius:14px!important;color:#183153!important;padding:11px 12px!important;box-shadow:none!important;font:inherit!important;}
.nexpats-embed-card button,.nexpats-embed-card input[type='submit'],.nexpats-embed-card a[class*='button'],
.nexpats-v58-embed-card button,.nexpats-v58-embed-card input[type='submit'],.nexpats-v58-embed-card a[class*='button'],
.nexpats-v59-shortcode-card button,.nexpats-v59-shortcode-card input[type='submit'],.nexpats-v59-shortcode-card a[class*='button'],
.nexpats-v60-shortcode-surface button,.nexpats-v60-shortcode-surface input[type='submit'],.nexpats-v60-shortcode-surface a[class*='button']{border-radius:14px!important;min-height:38px!important;box-sizing:border-box!important;}
.nexpats-v59-directory-card [class*='member'],.nexpats-v59-directory-card article,.nexpats-v59-directory-card li{box-shadow:0 14px 32px rgba(10,36,78,.07)!important;}

@media (max-width: 860px){
  .nexpats-v60-profile-page{padding:22px 0 44px!important;}
  .nexpats-v60-profile-shell{padding-left:12px!important;padding-right:12px!important;}
  .nexpats-v60-profile-facebook-card{border-radius:22px!important;}
  .nexpats-v60-profile-facebook-card [class*='cover'],
  .nexpats-v60-profile-facebook-card [class*='Cover'],
  .nexpats-v60-profile-facebook-card [class*='banner'],
  .nexpats-v60-profile-facebook-card [class*='Banner'],
  .nexpats-v60-profile-facebook-card .nexpats-v60-detected-cover,
  .nexpats-v60-profile-facebook-card [class*='cover'] img,
  .nexpats-v60-profile-facebook-card [class*='Cover'] img,
  .nexpats-v60-profile-facebook-card [class*='banner'] img,
  .nexpats-v60-profile-facebook-card [class*='Banner'] img,
  .nexpats-v60-profile-facebook-card img.nexpats-v60-detected-cover{height:210px!important;min-height:210px!important;}
  .nexpats-v60-profile-facebook-card img.nexpats-v60-detected-avatar{width:96px!important;height:96px!important;min-width:96px!important;max-width:96px!important;margin:-50px 0 12px 18px!important;border-width:5px!important;}
  .nexpats-v60-profile-facebook-card > div:not([class*='cover']):not([class*='Cover']):not([class*='banner']):not([class*='Banner']),
  .nexpats-v60-profile-facebook-card > section:not([class*='cover']):not([class*='Cover']):not([class*='banner']):not([class*='Banner']),
  .nexpats-v60-profile-facebook-card > article:not([class*='cover']):not([class*='Cover']):not([class*='banner']):not([class*='Banner']){padding-left:18px!important;padding-right:18px!important;}
  .nexpats-v60-profile-help-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .nexpats-v60-request-card{grid-template-columns:1fr!important;}
  .nexpats-v60-request-card a,.nexpats-v60-request-card button{width:100%!important;text-align:center!important;}
  .nexpats-v53-board,.nexpats-v59-profile-layout{gap:12px!important;}
}

/* v61 – definitieve leden-, profiel- en dashboardstijl. */
.nexpats-v61-members-hero,.nexpats-v61-dashboard-hero{padding:34px 0 22px!important;background:linear-gradient(180deg,#fff,#eef6ff)!important;}
.nexpats-v61-members-hero-grid,.nexpats-v61-dashboard-hero-grid{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)!important;gap:26px!important;align-items:center!important;min-height:260px!important;border:1px solid rgba(20,87,184,.10)!important;border-radius:28px!important;padding:34px!important;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.82)),url('../images/hero-visual-v36-desktop.png') right center/cover no-repeat!important;box-shadow:0 24px 70px rgba(10,36,78,.09)!important;overflow:hidden!important;}
.nexpats-v61-hero-mini-profile{border:1px solid rgba(20,87,184,.12)!important;background:#fff!important;border-radius:24px!important;padding:12px!important;box-shadow:0 20px 56px rgba(10,36,78,.10)!important;max-width:380px!important;margin-left:auto!important;}
.nexpats-v61-mini-cover{height:130px!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(20,87,184,.72),rgba(238,77,77,.58)),url('../images/hero-visual-v36-desktop.png') center/cover no-repeat!important;}
.nexpats-v61-mini-row{display:grid!important;grid-template-columns:46px 1fr!important;gap:10px!important;align-items:center!important;margin-top:10px!important;background:#f5f9ff!important;border:1px solid rgba(20,87,184,.10)!important;border-radius:16px!important;padding:10px!important;}
.nexpats-v61-mini-row span{grid-row:span 2!important;width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:linear-gradient(135deg,#1457b8,#ee4d4d)!important;color:#fff!important;font-weight:900!important;}
.nexpats-v61-mini-row strong{display:block!important;color:#0b3577!important;font-weight:900!important;line-height:1.1!important;}
.nexpats-v61-mini-row small{color:#637d9e!important;font-weight:700!important;}
.nexpats-v61-members-section{padding-top:44px!important;}
.nexpats-v61-section-head{text-align:center!important;max-width:760px!important;margin:0 auto 22px!important;}
.nexpats-v61-section-head h2{font-size:clamp(1.7rem,3vw,2.35rem)!important;line-height:1.05!important;color:#0b3577!important;letter-spacing:-.045em!important;margin:6px 0 8px!important;}
.nexpats-v61-section-head p{font-size:.98rem!important;color:#55708e!important;line-height:1.6!important;margin:0!important;}
.nexpats-v61-member-directory{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(20,87,184,.10)!important;border-radius:28px!important;padding:22px!important;box-shadow:0 22px 64px rgba(10,36,78,.08)!important;}
.nexpats-v61-member-card{min-width:0!important;border:1px solid rgba(20,87,184,.12)!important;border-radius:20px!important;background:#fff!important;padding:16px!important;display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;box-shadow:0 16px 34px rgba(10,36,78,.06)!important;overflow:hidden!important;}
.nexpats-v61-member-avatar{width:62px!important;height:62px!important;border-radius:50%!important;object-fit:cover!important;border:4px solid #f1f6ff!important;background:#e8eef7!important;box-shadow:0 12px 24px rgba(10,36,78,.10)!important;}
.nexpats-v61-member-info{min-width:0!important;}
.nexpats-v61-member-info h3{font-size:1rem!important;line-height:1.15!important;color:#0b3577!important;font-weight:900!important;letter-spacing:-.02em!important;margin:2px 0 3px!important;overflow-wrap:anywhere!important;}
.nexpats-v61-member-info span{display:block!important;color:#ee4d4d!important;font-size:.78rem!important;font-weight:850!important;margin-bottom:7px!important;}
.nexpats-v61-member-info p{color:#5b7391!important;font-size:.84rem!important;line-height:1.45!important;margin:0!important;}
.nexpats-v61-member-actions{grid-column:1/-1!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:2px!important;}
.nexpats-v61-member-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;border-radius:12px!important;padding:9px 12px!important;background:#142235!important;color:#fff!important;text-decoration:none!important;font-size:.82rem!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;max-width:100%!important;}
.nexpats-v61-member-actions a.is-muted{background:#f3f7ff!important;color:#0b3577!important;border:1px solid rgba(20,87,184,.12)!important;}
.nexpats-v61-empty-state{grid-column:1/-1!important;text-align:center!important;padding:30px!important;color:#55708e!important;}

.nexpats-v61-profile-page{padding:34px 0 66px!important;background:linear-gradient(180deg,#eef6ff,#f9fbff)!important;}
.nexpats-v61-profile-card{border:1px solid rgba(20,87,184,.12)!important;border-radius:30px!important;background:#fff!important;box-shadow:0 28px 80px rgba(10,36,78,.11)!important;overflow:hidden!important;}
.nexpats-v61-cover{height:clamp(260px,32vw,430px)!important;background:#e8f2ff!important;position:relative!important;overflow:hidden!important;}
.nexpats-v61-cover img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center center;}
.nexpats-v61-profile-main{display:grid!important;grid-template-columns:150px minmax(0,1fr) auto!important;gap:18px!important;align-items:end!important;padding:0 34px 24px!important;margin-top:-74px!important;position:relative!important;z-index:2!important;}
.nexpats-v61-profile-avatar{width:148px!important;height:148px!important;border-radius:50%!important;object-fit:cover!important;border:7px solid #fff!important;background:#fff!important;box-shadow:0 18px 46px rgba(10,36,78,.18)!important;}
.nexpats-v61-profile-title{min-width:0!important;padding-top:74px!important;}
.nexpats-v61-pill{display:inline-flex!important;border-radius:999px!important;background:#edf5ff!important;color:#1457b8!important;font-size:.73rem!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.08em!important;padding:7px 10px!important;margin-bottom:7px!important;}
.nexpats-v61-profile-title h1{font-size:clamp(2.2rem,5vw,4rem)!important;line-height:.95!important;letter-spacing:-.065em!important;color:#0b3577!important;margin:0!important;}
.nexpats-v61-profile-title p{color:#55708e!important;font-size:1rem!important;font-weight:750!important;margin:8px 0 2px!important;}
.nexpats-v61-profile-title strong{display:block!important;color:#142235!important;font-size:.98rem!important;margin-top:4px!important;}
.nexpats-v61-profile-actions{padding-top:74px!important;}
.nexpats-v61-profile-content{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important;padding:0 34px 34px!important;}
.nexpats-v61-about,.nexpats-v61-stats{border:1px solid rgba(20,87,184,.10)!important;background:#f8fbff!important;border-radius:20px!important;padding:20px!important;}
.nexpats-v61-about h2{color:#0b3577!important;font-size:1.25rem!important;margin:0 0 8px!important;letter-spacing:-.03em!important;}
.nexpats-v61-about p{color:#496587!important;line-height:1.62!important;font-size:.96rem!important;margin:0!important;}
.nexpats-v61-stats{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-content:start!important;}
.nexpats-v61-stats div{background:#fff!important;border:1px solid rgba(20,87,184,.10)!important;border-radius:16px!important;padding:14px!important;}
.nexpats-v61-stats strong{display:block!important;color:#0b3577!important;font-size:1.2rem!important;font-weight:950!important;line-height:1.1!important;}
.nexpats-v61-stats span{display:block!important;color:#647a98!important;font-size:.78rem!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.06em!important;margin-top:3px!important;}
.nexpats-v61-login-card{border:1px solid rgba(20,87,184,.12)!important;border-radius:24px!important;background:#fff!important;padding:26px!important;text-align:center!important;box-shadow:0 20px 56px rgba(10,36,78,.09)!important;}

.nexpats-v61-dashboard-section{padding-top:42px!important;}
.nexpats-v61-dashboard-hero-grid{min-height:245px!important;}
.nexpats-v61-dashboard-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
.nexpats-v61-dashboard-steps div{min-height:86px!important;border:1px solid rgba(20,87,184,.12)!important;background:rgba(255,255,255,.78)!important;border-radius:18px!important;padding:14px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;}
.nexpats-v61-dashboard-steps strong{color:#1457b8!important;font-weight:950!important;font-size:.8rem!important;}
.nexpats-v61-dashboard-steps span{color:#0b3577!important;font-weight:900!important;font-size:.92rem!important;line-height:1.2!important;}
.nexpats-v61-dashboard{display:grid!important;gap:18px!important;}
.nexpats-v61-dashboard-top{display:grid!important;grid-template-columns:1.4fr .8fr .8fr!important;gap:12px!important;}
.nexpats-v61-account-card,.nexpats-v61-stat-card,.nexpats-v61-panel,.nexpats-v60-dashboard-panel{border:1px solid rgba(20,87,184,.11)!important;background:#fff!important;border-radius:22px!important;padding:18px!important;box-shadow:0 18px 50px rgba(10,36,78,.07)!important;}
.nexpats-v61-account-card{display:flex!important;gap:14px!important;align-items:center!important;}
.nexpats-v61-account-card img{width:72px!important;height:72px!important;border-radius:16px!important;object-fit:cover!important;background:#eef4ff!important;}
.nexpats-v61-account-card span,.nexpats-v61-stat-card span{display:block!important;color:#1457b8!important;font-size:.72rem!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin-bottom:5px!important;}
.nexpats-v61-account-card h2{font-size:1.45rem!important;line-height:1.05!important;color:#0b3577!important;margin:0!important;letter-spacing:-.035em!important;}
.nexpats-v61-account-card p{color:#647a98!important;margin:4px 0 0!important;font-size:.9rem!important;}
.nexpats-v61-stat-card strong{display:block!important;color:#0b3577!important;font-size:2rem!important;line-height:1!important;}
.nexpats-v61-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr)!important;gap:14px!important;align-items:start!important;}
.nexpats-v61-panel h2,.nexpats-v61-profile-form h2{font-size:1.5rem!important;line-height:1.05!important;color:#0b3577!important;letter-spacing:-.04em!important;margin:4px 0 12px!important;}
.nexpats-v61-panel p{color:#55708e!important;font-size:.95rem!important;line-height:1.55!important;}
.nexpats-v61-form-preview{position:relative!important;margin:10px 0 16px!important;}
.nexpats-v61-form-cover{width:100%!important;height:150px!important;border-radius:18px!important;object-fit:cover!important;background:#e8f2ff!important;display:block!important;}
.nexpats-v61-form-avatar{position:absolute!important;left:16px!important;bottom:-24px!important;width:72px!important;height:72px!important;border-radius:50%!important;border:5px solid #fff!important;object-fit:cover!important;box-shadow:0 12px 26px rgba(10,36,78,.14)!important;background:#fff!important;}
.nexpats-v61-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;margin-top:32px!important;}
.nexpats-v61-form-grid label,.nexpats-v61-profile-form label{display:block!important;color:#0b3577!important;font-weight:850!important;font-size:.82rem!important;line-height:1.25!important;}
.nexpats-v61-form-grid .is-full{grid-column:1/-1!important;}
.nexpats-v61-profile-form input,.nexpats-v61-profile-form select,.nexpats-v61-profile-form textarea{width:100%!important;margin-top:5px!important;border:1px solid rgba(20,87,184,.16)!important;border-radius:13px!important;background:#fff!important;color:#183153!important;padding:10px 11px!important;min-height:42px!important;font-size:.93rem!important;line-height:1.35!important;box-shadow:none!important;}
.nexpats-v61-profile-form textarea{min-height:96px!important;max-height:150px!important;resize:vertical!important;}
.nexpats-v61-profile-form input[type='file']{padding:8px!important;min-height:42px!important;background:#f8fbff!important;}
.nexpats-v61-profile-form .nexpats-button{margin-top:14px!important;width:100%!important;justify-content:center!important;}
.nexpats-v61-panel-post{min-height:360px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
/* Dashboard/plugin restanten compacter maken. */
.nexpats-v61-dashboard textarea,.nexpats-v61-dashboard .nexpats-form textarea,.nexpats-v61-dashboard .nexpats-field textarea{min-height:92px!important;max-height:150px!important;}
.nexpats-v61-dashboard input,.nexpats-v61-dashboard select,.nexpats-v61-dashboard textarea{font-size:.93rem!important;}
.nexpats-v61-dashboard .nexpats-v60-dashboard-panel{margin-top:0!important;padding:18px!important;border-radius:22px!important;}
.nexpats-v61-dashboard .nexpats-v60-dashboard-panel h2{font-size:1.25rem!important;}

@media (max-width: 980px){
  .nexpats-v61-members-hero-grid,.nexpats-v61-dashboard-hero-grid,.nexpats-v61-dashboard-grid,.nexpats-v61-profile-content{grid-template-columns:1fr!important;}
  .nexpats-v61-hero-mini-profile{margin:0!important;max-width:100%!important;}
  .nexpats-v61-dashboard-top{grid-template-columns:1fr!important;}
  .nexpats-v61-member-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .nexpats-v61-profile-main{grid-template-columns:120px minmax(0,1fr)!important;}
  .nexpats-v61-profile-actions{grid-column:1/-1!important;padding-top:0!important;}
}
@media (max-width: 640px){
  .nexpats-v61-members-hero,.nexpats-v61-dashboard-hero{padding:18px 0 14px!important;}
  .nexpats-v61-members-hero-grid,.nexpats-v61-dashboard-hero-grid{padding:22px 16px!important;min-height:0!important;border-radius:22px!important;}
  .nexpats-v61-member-directory{grid-template-columns:1fr!important;padding:12px!important;border-radius:22px!important;gap:10px!important;}
  .nexpats-v61-member-card{grid-template-columns:54px minmax(0,1fr)!important;padding:13px!important;border-radius:18px!important;}
  .nexpats-v61-member-avatar{width:54px!important;height:54px!important;}
  .nexpats-v61-member-actions a{width:100%!important;}
  .nexpats-v61-cover{height:230px!important;}
  .nexpats-v61-profile-main{grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important;padding:0 16px 18px!important;margin-top:-48px!important;}
  .nexpats-v61-profile-avatar{width:96px!important;height:96px!important;border-width:5px!important;}
  .nexpats-v61-profile-title{padding-top:50px!important;}
  .nexpats-v61-profile-title h1{font-size:2rem!important;}
  .nexpats-v61-profile-content{padding:0 16px 18px!important;gap:10px!important;}
  .nexpats-v61-form-grid{grid-template-columns:1fr!important;gap:9px!important;}
  .nexpats-v61-dashboard-steps{grid-template-columns:1fr!important;}
  .nexpats-v61-panel-post{min-height:0!important;}
}

/* v62 – profielfoto-positionering en dashboard-links terug. */
.nexpats-v62-dashboard-links{border:1px solid rgba(20,87,184,.11)!important;background:linear-gradient(180deg,#fff,#f7fbff)!important;border-radius:22px!important;padding:18px!important;box-shadow:0 18px 50px rgba(10,36,78,.07)!important;display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;}
.nexpats-v62-dashboard-links span{display:block!important;color:#1457b8!important;font-size:.72rem!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin-bottom:2px!important;}
.nexpats-v62-dashboard-links a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:38px!important;border-radius:13px!important;background:#f1f6ff!important;border:1px solid rgba(20,87,184,.11)!important;color:#0b3577!important;text-decoration:none!important;font-size:.88rem!important;font-weight:900!important;padding:9px 12px!important;line-height:1.1!important;}
.nexpats-v62-dashboard-links a:after{content:'›';font-size:1.1rem!important;color:#ee4d4d!important;line-height:1!important;}
.nexpats-v62-action-row{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:12px!important;}
.nexpats-v62-action-row .nexpats-button{margin:0!important;width:auto!important;}
.nexpats-v61-dashboard-top{grid-template-columns:1.35fr .7fr .7fr .85fr!important;}
.nexpats-v61-profile-form select[name='ne_avatar_position'],.nexpats-v61-profile-form select[name='ne_cover_position']{font-weight:800!important;}
.nexpats-v61-profile-avatar,.nexpats-v61-member-avatar,.nexpats-v61-form-avatar,.nexpats-v61-account-card img{object-fit:cover!important;}
@media (max-width:1100px){.nexpats-v61-dashboard-top{grid-template-columns:1fr 1fr!important;}}
@media (max-width:640px){.nexpats-v61-dashboard-top{grid-template-columns:1fr!important;}.nexpats-v62-action-row .nexpats-button{width:100%!important;justify-content:center!important;}}
