/* NederlandseExpats v86 — homepage retained; stable hover + shared secondary hero and polished forum. */
/* Correct typography rasterisation: shadow/border-only hover, no fractional-pixel translations. */
body.ne85-unified.ne80-front-page .ne83-post-card,
body.ne85-unified.ne80-front-page .ne83-post-card:hover,
body.ne85-unified.ne80-front-page .ne83-post-card:focus-within{
 transform:none!important;will-change:auto!important;backface-visibility:visible!important;
 transition:border-color .16s ease,box-shadow .16s ease!important;
}
body.ne85-unified.ne80-front-page .ne83-post-card:hover,
body.ne85-unified.ne80-front-page .ne83-post-card:focus-within{
 border-color:#87afe1!important;box-shadow:0 9px 21px rgba(13,60,125,.105)!important;
}
/* One shared visual language for the four public menu branches and 200+ country forums. */
body.ne85-unified:not(.ne80-front-page) .ne86-world-hero{
 position:relative;isolation:isolate;width:100%;min-height:252px;overflow:hidden;
 background:linear-gradient(180deg,#075697,#0a4d8e 72%,#0d649b);display:flex;
 justify-content:center;text-align:center;color:#fff;
}
body.ne85-unified:not(.ne80-front-page) .ne86-world-hero::before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:radial-gradient(ellipse 33% 75% at 50% 30%,rgba(25,158,227,.38),transparent 88%),linear-gradient(90deg,rgba(0,47,110,.03),#074e91 29%,#074e91 68%,rgba(0,47,110,.03));
}
.ne86-scene{position:absolute;top:0;bottom:0;width:clamp(210px,21vw,380px);z-index:0;background-size:cover;background-position:center;pointer-events:none}
.ne86-scene-left{left:0;background-image:url('https://thumb.wikimedia.org/wikipedia/commons/thumb/7/76/Amalfi_Coast_%28Positano%29.jpg/1280px-Amalfi_Coast_%28Positano%29.jpg'),url('../images/ne84/hero-village.webp');background-position:left center;mask-image:linear-gradient(to right,#000 0%,#000 30%,transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 0%,#000 30%,transparent 100%)}
.ne86-scene-right{right:0;background-image:url('https://thumb.wikimedia.org/wikipedia/commons/thumb/3/33/El_Nido%2C_Palawan%2C_Philippines.jpg/1280px-El_Nido%2C_Palawan%2C_Philippines.jpg'),url('../images/ne84/hero-beach.webp');background-position:right center;mask-image:linear-gradient(to left,#000 0%,#000 30%,transparent 100%);-webkit-mask-image:linear-gradient(to left,#000 0%,#000 30%,transparent 100%)}
.ne86-hero-inner{position:relative;z-index:1;width:min(1140px,calc(100% - 34px));padding:15px 10px 17px;display:flex;flex-direction:column;align-items:center;justify-content:center}
body.ne85-unified:not(.ne80-front-page) .ne86-hero-title{margin:0!important;min-height:100px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:nowrap;font-size:clamp(27px,2.85vw,46px)!important;line-height:1.1!important;font-weight:850!important;letter-spacing:-.045em!important;color:#fff!important;text-shadow:0 2px 5px rgba(3,30,81,.23)}
.ne86-hero-title span{white-space:nowrap}
.ne86-hero-title span:last-child{color:#ff7a19!important}
.ne86-hero-globe{width:175px;height:118px;flex:0 0 175px;object-fit:cover;mix-blend-mode:screen;filter:drop-shadow(0 0 12px rgba(153,229,255,.42));mask-image:radial-gradient(ellipse 52% 57% at center,#000 62%,transparent 98%);-webkit-mask-image:radial-gradient(ellipse 52% 57% at center,#000 62%,transparent 98%)}
.ne86-hero-context{font-size:12px!important;letter-spacing:.06em;font-weight:750!important;line-height:1.5!important;margin:0 0 2px!important;color:#cce9ff!important}
.ne86-hero-subtitle{max-width:810px;font-size:14px!important;line-height:1.45!important;font-weight:550!important;color:#f1f8ff!important;margin:0 0 9px!important;text-shadow:0 1px 4px rgba(0,32,67,.4)}
.ne86-hero-search{width:min(650px,calc(100% - 12px));display:flex;align-items:center;gap:7px;padding:4px;border-radius:12px;background:#fff;min-height:49px;border:2px solid rgba(255,255,255,.95);box-shadow:0 8px 18px rgba(4,38,81,.2);margin:0!important}
.ne86-search-symbol{width:33px;height:32px;display:grid;place-items:center;color:#195596;flex:0 0 33px}
.ne86-search-symbol svg{width:22px;height:22px}
body.ne85-unified .ne86-hero-search input[type=search]{flex:1;min-width:0;min-height:34px!important;box-shadow:none!important;border:0!important;background:transparent!important;outline:0!important;color:#12355f!important;padding:6px 2px!important;font-size:13px!important;font-weight:450!important}
.ne86-hero-search input::placeholder{color:#65758b!important}
.ne86-hero-search button{border:1px solid #fff;min-height:39px;border-radius:9px;background:linear-gradient(180deg,#ff7810,#ed4007);color:#fff;box-shadow:0 2px 8px rgba(235,59,5,.2);font-size:14px;font-weight:790;padding:7px 18px;white-space:nowrap;cursor:pointer}
.ne86-hero-search button:hover{background:linear-gradient(180deg,#ef5b0a,#d63c09)}
.ne86-hero-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.ne86-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border-radius:9px;padding:7px 13px;font-size:12px;font-weight:770;color:#fff!important;text-decoration:none!important;transition:background .16s,border-color .16s,box-shadow .16s}
.ne86-hero-actions svg{width:16px;height:16px;stroke-width:1.9}
.ne86-action-primary{background:linear-gradient(180deg,#ff790a,#ec4207);border:1px solid #ff9641;box-shadow:0 3px 8px rgba(19,38,76,.18)}
.ne86-action-secondary{background:rgba(0,58,128,.28);border:1.3px solid rgba(255,255,255,.86)}
.ne86-action-tertiary{border:1px solid rgba(255,255,255,.35);background:rgba(0,55,115,.14)}
.ne86-hero-actions a:hover{box-shadow:0 3px 15px rgba(0,40,100,.25);background-color:rgba(22,92,166,.55)}
.ne86-feature-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:center;background:linear-gradient(180deg,#e4eff9,#edf5fb);border-bottom:1px solid #d2dfec;padding:12px max(22px,calc((100% - 1530px)/2));min-height:64px}
.ne86-feature-strip>div{display:flex;align-items:center;gap:10px;min-width:0;color:#0d2858}
.ne86-feature-strip svg{width:25px;height:25px;flex:0 0 25px;stroke-width:1.8;color:#0753ac}
.ne86-feature-strip strong{display:block;font-size:12px;font-weight:790;line-height:1.28}
.ne86-feature-strip small{display:block;font-size:10.5px;line-height:1.4;color:#3d5c86}
/* Replace the giant gap with a tight, deliberate hero-to-rubrics rhythm. */
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-board-section{padding:14px 0 48px!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-board{gap:15px!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top{padding:21px 22px!important;border-radius:17px!important;background:#fff!important;box-shadow:0 8px 24px rgba(8,43,91,.06)!important;scroll-margin-top:100px}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-head{display:flex!important;align-items:center!important;gap:14px!important;margin-bottom:14px!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-head h2{font-size:clamp(20px,1.9vw,27px)!important;line-height:1.18!important;letter-spacing:-.026em!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list{gap:9px!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a{position:relative;display:grid!important;grid-template-columns:31px minmax(0,1fr)!important;grid-template-rows:auto 1fr;column-gap:10px;align-content:center;min-height:89px!important;border-radius:13px!important;padding:11px!important;background:#f8fbff!important;border:1px solid #d9e7f6!important;box-shadow:0 2px 7px rgba(11,57,108,.035)!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a:hover{background:#eef6ff!important;border-color:#88b5e8!important;box-shadow:0 7px 16px rgba(11,57,108,.075)!important;transform:none!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a.is-active{background:linear-gradient(125deg,#0d58b0,#06418f)!important;color:#fff!important;border-color:#0a4f9f!important}
.ne86-rubric-glyph{grid-column:1;grid-row:1/3;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#e7f1ff;color:#0754ab}
.ne86-rubric-svg{height:19px;width:19px;stroke-width:1.8}
body.ne85-unified .nexpats-v53-rubric-list a.is-active .ne86-rubric-glyph{background:rgba(255,255,255,.16);color:#fff}
body.ne85-unified .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a>span:not(.ne86-rubric-glyph){grid-column:2;grid-row:1;font-weight:790!important;font-size:13px!important;line-height:1.3!important}
body.ne85-unified .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a small{grid-column:2;grid-row:2;font-size:11px!important;line-height:1.37!important}
/* Practical cards for users; no animations that cause type to blur. */
body.ne85-unified:not(.ne80-front-page) .nexpats-v55-forum-post-card,
body.ne85-unified:not(.ne80-front-page) .nexpats-v53-feed .nexpats-v55-forum-post-card:hover{transform:none!important;backface-visibility:visible!important;will-change:auto!important;transition:border-color .15s,box-shadow .15s!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v53-feed .nexpats-v55-forum-post-card:hover{border-color:#a8c7e8!important;box-shadow:0 13px 25px rgba(12,48,99,.09)!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-feed-column{min-width:0}
body.ne85-unified:not(.ne80-front-page) .nexpats-v54-countries-page{padding-top:18px!important}
body.ne85-unified:not(.ne80-front-page) .nexpats-v55-contact-section{padding-top:24px!important}
@media(max-width:1100px){.ne86-feature-strip{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}.ne86-hero-title{font-size:30px!important}.ne86-hero-globe{width:130px;flex-basis:130px;height:94px}}
@media(max-width:800px){.ne86-scene{width:31%;opacity:.45}.ne86-hero-inner{padding:15px 10px 19px}.ne86-hero-title{font-size:clamp(22px,3.5vw,30px)!important}.ne86-hero-globe{width:95px;flex-basis:95px;height:72px}.ne86-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ne86-hero-subtitle{font-size:12.5px!important}.ne86-hero-context{font-size:11px!important}}
@media(max-width:600px){body.ne85-unified:not(.ne80-front-page) .ne86-world-hero{min-height:290px}.ne86-hero-title{flex-wrap:wrap!important;column-gap:10px;row-gap:0;font-size:clamp(24px,5.7vw,30px)!important;min-height:77px!important}.ne86-hero-title span{white-space:normal;text-align:center}.ne86-hero-globe{width:76px;flex-basis:76px;height:57px}.ne86-scene{opacity:.16}.ne86-hero-actions{gap:6px}.ne86-hero-actions a{font-size:11px;min-height:32px;padding:6px 9px}.ne86-hero-search{width:100%;min-height:44px}.ne86-hero-search button{min-height:35px;padding:6px 12px;font-size:12px}.ne86-feature-strip{gap:11px;padding:12px 14px}.ne86-feature-strip strong{font-size:11px}.ne86-feature-strip small{font-size:10px}body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top{padding:16px!important}body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a{min-height:74px!important;grid-template-columns:27px minmax(0,1fr)!important;column-gap:8px;padding:9px!important}.ne86-rubric-glyph{width:27px;height:27px}.ne86-rubric-svg{width:16px;height:16px}}
@media(max-width:380px){.ne86-hero-title{font-size:22px!important}.ne86-hero-globe{width:62px;flex-basis:62px;height:49px}.ne86-feature-strip{grid-template-columns:1fr 1fr;gap:8px}.ne86-feature-strip svg{width:20px;height:20px;flex-basis:20px}.ne86-hero-actions .ne86-action-tertiary{flex-basis:100%;max-width:240px}}
@media(prefers-reduced-motion:reduce){.ne86-hero-actions a,.ne86-hero-search button{transition:none!important}}

/* Prevent global WordPress input dimensions from shrinking the search button or creating a blank tail. */
body.ne85-unified .ne86-hero-search input[type=search]{width:0!important;max-width:none!important;flex:1 1 0!important;min-width:0!important}
body.ne85-unified .ne86-hero-search button{flex:0 0 auto!important}
@media (min-width:361px) and (max-width:600px){
 body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a{min-height:62px!important;grid-template-rows:1fr;align-items:center}
 body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a small{display:none!important}
 body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a>span:not(.ne86-rubric-glyph){grid-row:1;font-size:11.4px!important}
 body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a .ne86-rubric-glyph{grid-row:1}
}
@media(max-width:360px){
 body.ne85-unified:not(.ne80-front-page) .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a{min-height:60px!important}
}

/* Search field is a single seamless control, even with strict v85 global form rules. */
body.ne85-unified:not(.ne80-front-page) .ne86-hero-search input[type=search],
body.ne85-unified:not(.ne80-front-page) .ne86-hero-search input[type=search]:focus{
 background:transparent!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;outline:none!important;
}
body.ne85-unified:not(.ne80-front-page) .ne86-hero-search:focus-within{
 outline:3px solid #b8e7ff;outline-offset:3px;
}
