/* NederlandseExpats v94 — precision typography and contextual ad inventory.
   Deliberately does NOT target .ne83-world-hero h1, .ne86-world-hero h1,
   hero copy, image, dimensions or scene. Only CTA controls within hero. */

/* Load Inter only where typography was requested; preserve the approved hero headline. */
body.ne85-unified .nexpats-site-header,
body.ne85-unified .ne83-feature-strip,
body.ne85-unified .ne86-feature-strip,
body.ne85-unified .ne80-layout,
body.ne85-unified .nexpats-v54-board-section,
body.ne85-unified .nexpats-v79-country-snapshot-wrap,
body.ne85-unified .ne84-footer,
body.ne85-unified .ne83-travel-banner {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
  font-optical-sizing: auto;
}
/* Preserve the already-approved hero headline and subtitle's ORIGINAL Windows font fallback.
   The new Inter webfont is not permitted to alter hero copy; only buttons may change. */
body.ne85-unified .ne83-world-hero :is(.ne83-hero-headline h1,.ne83-hero-subtitle){font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif!important;}
body.ne85-unified .ne86-world-hero :is(.ne86-hero-title,.ne86-hero-context,.ne86-hero-subtitle){font-family:'Helvetica Neue',Arial,sans-serif!important;}
/* Site-wide actionable text: stable positions, normal spacing, readable weights. */
body.ne85-unified :is(.nexpats-site-header,.ne80-layout,.nexpats-v54-board-section,.ne83-travel-banner)
  :is(a.ne80-btn,a.nexpats-button,a.nexpats-header-link,a.nexpats-header-cta,
      button.ne80-btn,.ne81-ad-link,.nexpats-v55-ad-cta,.ne80-sort-switch a,
      .nexpats-v54-rubrics-head a,.nexpats-v53-small-link) {
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif !important;
  font-size:14px !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  line-height:1.35 !important;
  -webkit-font-smoothing:auto;
  text-rendering:optimizeLegibility;
}
body.ne85-unified .nexpats-menu-list-v52 a,
body.ne85-unified .nexpats-header-link,
body.ne85-unified .nexpats-header-cta {font-family:'Inter',system-ui,Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;letter-spacing:0!important;}
/* Category cards, forum text, and small links: avoid 11px pseudo-bold pixellated labels. */
body.ne85-unified .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a>span:not(.ne86-rubric-glyph) {font-family:'Inter',system-ui,Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;letter-spacing:0!important;}
body.ne85-unified .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a small {font-size:12px!important;font-weight:500!important;letter-spacing:0!important;}
body.ne85-unified .nexpats-v67-official-links a {font-family:'Inter',system-ui,Arial,sans-serif!important;font-size:13px!important;font-weight:700!important;letter-spacing:0!important;}
body.ne85-unified .ne80-tag,
body.ne85-unified .ne80-country-list a {font-family:'Inter',system-ui,Arial,sans-serif!important;font-weight:700!important;letter-spacing:0!important;}
body.ne85-unified .ne83-post-card h3 {font-size:15px!important;font-weight:700!important;letter-spacing:0!important;line-height:1.38!important;}
body.ne85-unified .ne83-post-card .ne80-post-excerpt {font-size:12px!important;line-height:1.5!important;}
body.ne85-unified .ne83-post-card .ne80-post-author,
body.ne85-unified .ne83-post-card .ne80-post-activity a {font-size:11.5px!important;font-weight:600!important;}
body.ne85-unified .ne83-post-card .ne80-post-top time,
body.ne85-unified .ne83-post-card .ne80-post-activity>span {font-size:11px!important;}
body.ne85-unified .nexpats-v54-feed-column :is(p,.nexpats-v55-post-content) {line-height:1.55;}
/* Buttons WITHIN heroes only: font and antialiasing; hero headings are untouched. */
body.ne85-unified .ne83-world-hero :is(.ne84-cta-near,.ne84-cta-all,.ne83-hero-search button),
body.ne85-unified .ne86-world-hero :is(.ne86-action-primary,.ne86-action-secondary,.ne86-action-tertiary,.ne86-hero-search button){
  font-family:'Inter',system-ui,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-rendering:optimizeLegibility;
  transform:none!important;
}
/* No one-pixel hover jump on actionable text or forum cards. */
body.ne85-unified :is(.nexpats-site-header,.ne80-layout,.nexpats-v54-board-section,.ne83-world-hero,.ne86-world-hero)
 :is(a,button,.ne83-post-card):hover,
body.ne85-unified :is(.nexpats-site-header,.ne80-layout,.nexpats-v54-board-section,.ne83-world-hero,.ne86-world-hero)
 :is(a,button,.ne83-post-card):focus-visible {transform:none!important;}
/* Scout homepage house spot: uses the existing LEFT sponsor slot and yields to paid custom sponsor. */
body.ne85-unified .ne83-ad-left.ne94-scout-home {
  background:linear-gradient(145deg,#f8fbff 0%,#edf5ff 75%,#fff8ee 100%)!important;
  border:1px solid #bed3ed!important;
  box-shadow:0 5px 19px rgba(10,50,110,.075)!important;
  padding:19px 17px!important;
}
.ne94-scout-eyebrow{display:block;margin-bottom:10px;color:#4a6d9d;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.ne94-scout-wordmark{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:14px;font-weight:700;letter-spacing:.015em;color:#144988;line-height:1.4;}
.ne94-scout-wordmark strong{font-size:19px;letter-spacing:.035em;font-weight:800;color:#0d2f68;}
body.ne85-unified .ne83-ad-left .ne94-scout-wordmark+h2{font-size:18px!important;line-height:1.27!important;font-weight:800!important;letter-spacing:-.012em!important;margin:12px 0 8px!important;color:#0b315d!important;}
body.ne85-unified .ne83-ad-left .ne94-scout-wordmark~p{font-size:13px!important;line-height:1.55!important;color:#486484!important;}
.ne94-scout-link{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;border-radius:10px;background:#f45b17;color:#fff!important;text-decoration:none!important;padding:11px 12px;font-family:'Inter',system-ui,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.3;box-shadow:0 4px 10px rgba(224,76,13,.16);}
.ne94-scout-link:hover,.ne94-scout-link:focus-visible{background:#d94c10;color:#fff!important;text-decoration:none!important;transform:none!important;}

/* Country/rubric inventory: a left sponsor rail only on sufficiently wide desktops. */
.ne94-left-rail {display:none;min-width:0;align-self:start;gap:14px;}
.ne94-inline-partners{display:grid;gap:14px;}
.ne94-inline-partners:empty {display:none;}
.ne94-promo,.ne94-ad-vacancy{display:flex;flex-direction:column;gap:9px;min-width:0;padding:18px;border-radius:17px;border:1px solid #d5e4f3;background:linear-gradient(150deg,#fff,#f3f8ff);box-shadow:0 5px 16px rgba(16,52,95,.055);overflow-wrap:break-word;}
.ne94-promo-qavirioeditions{background:linear-gradient(155deg,#fff9f0,#fff);border-color:#f0dabe;}
.ne94-promo-scout{background:linear-gradient(135deg,#eff5ff,#fff);border-color:#bdd3ed;}
.ne94-promo-clariancea{background:linear-gradient(150deg,#f9f7ff,#fff);border-color:#dad0ee;}
.ne94-promo-vakantiesfrankrijk{background:linear-gradient(145deg,#f5fbff,#fff);border-color:#c7e4ee;}
.ne94-ad-caption{color:#647b98!important;font-family:'Inter',system-ui,Arial,sans-serif;font-size:11px!important;font-weight:600!important;letter-spacing:.03em;text-transform:uppercase;line-height:1.3;}
.ne94-promo-brand{color:#0e4a93!important;font-family:'Inter',system-ui,Arial,sans-serif;font-size:12px;font-weight:800;letter-spacing:.005em;}
.ne94-promo h3,.ne94-ad-vacancy h3{margin:0!important;color:#0b2b59!important;font-family:'Inter',system-ui,Arial,sans-serif;font-size:16px!important;line-height:1.28!important;font-weight:800!important;letter-spacing:-.012em!important;}
.ne94-promo p,.ne94-ad-vacancy p{margin:0!important;color:#405c7f!important;font-family:'Inter',system-ui,Arial,sans-serif;font-size:13px!important;line-height:1.55!important;font-weight:400!important;}
.ne94-promo-cta,.ne94-ad-vacancy a{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:10px 11px;border-radius:9px;background:#1058b4!important;color:#fff!important;text-decoration:none!important;font-family:'Inter',system-ui,Arial,sans-serif;font-size:13px!important;font-weight:700!important;line-height:1.35!important;transform:none!important;}
.ne94-promo-cta:hover,.ne94-promo-cta:focus-visible,.ne94-ad-vacancy a:hover{background:#07438d!important;color:#fff!important;transform:none!important;}
.ne94-ad-vacancy{background:#fbfdff;border-style:dashed;}
/* Parent theme has !important two-col rules; override them only at desktop-wide sizes. */
@media(min-width:1600px){
  body.ne85-unified .nexpats-v54-board {width:calc(100% - 48px)!important;max-width:1500px!important;grid-template-columns:210px minmax(0,1fr) 300px!important;gap:20px!important;}
  body.ne85-unified .nexpats-v54-board .ne94-left-rail{display:grid!important;grid-column:1!important;grid-row:auto!important;}
  body.ne85-unified .nexpats-v54-board .nexpats-v54-feed-column{grid-column:2!important;}
  body.ne85-unified .nexpats-v54-board .nexpats-v54-right-rail{grid-column:3!important;}
  body.ne85-unified .nexpats-v54-board .ne94-inline-partners{display:none!important;}
}
/* On normal desktops the same campaigns appear above the existing right-hand ads. */
@media(max-width:1599px){
  body.ne85-unified .nexpats-v54-board .ne94-left-rail{display:none!important;}
}
/* Keep existing right-rail stacking when responsive layout turns into one column. */
@media(max-width:980px){
  body.ne85-unified .nexpats-v54-board .ne94-inline-partners{grid-column:1/-1;}
}
@media(max-width:600px){
  body.ne85-unified .ne83-world-hero :is(.ne84-cta-near,.ne84-cta-all,.ne83-hero-search button),
  body.ne85-unified .ne86-world-hero :is(.ne86-action-primary,.ne86-action-secondary,.ne86-action-tertiary,.ne86-hero-search button){font-size:12.5px!important;}
  body.ne85-unified .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a>span:not(.ne86-rubric-glyph){font-size:12.5px!important;}
  body.ne85-unified .nexpats-v54-rubrics-top .nexpats-v53-rubric-list a small{font-size:11.5px!important;}
  body.ne85-unified .nexpats-site-header .nexpats-menu-list-v52 a{font-size:14px!important;}
}
