/* Opportuly design v1.8 — competitor LAYOUT only; own brand */
:root{
  --opp-orange:#f97316;
  --opp-orange-dark:#ea580c;
  --opp-ink:#1a1a2e;
  --opp-muted:#9aa0ab;
  --opp-border:#e4e8ee;
  --opp-blue:#2563eb;
  --opp-green:#4a7c1f;
  --opp-titlebar:#e8f1fb;
  --opp-italy-banner:#e9f1f9;
  --opp-card-bg:#fff;
  --opp-archive-card:#f3f4f6;
  --opp-container:1200px;
}

/* Wider content container (competitor uses ~1400; 1200 keeps readable articles) */
body .grid-container{max-width:var(--opp-container) !important;}
body.home.page .site-content,
body.home.page #page.grid-container,
body.home.page .grid-container{
  max-width:var(--opp-container) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  width:100%;
  box-sizing:border-box;
}
/* Prevent any child from forcing horizontal scroll / fake left offset */
body.home.page .site-content,
body.home.page .content-area,
body.home.page .inside-article,
body.home.page .entry-content{
  max-width:100%;
  overflow-x:hidden;
  box-sizing:border-box;
}

/* Logo lockup */
.opp-logo{
  display:inline-flex;flex-direction:column;align-items:flex-start;gap:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1;text-decoration:none !important;
}
.opp-logo-jobs{font-size:11px;font-weight:600;letter-spacing:.08em;color:#6b7280;text-transform:uppercase;}
.opp-logo-name{font-size:28px;font-weight:800;color:var(--opp-orange);letter-spacing:-.02em;}
@media(max-width:768px){.opp-logo-name{font-size:22px;}}
.site-header{background:#fff !important;border-bottom:1px solid #eee;}
.inside-header{padding-top:14px;padding-bottom:14px;}
/* Avoid nested branding wrappers looking odd */
.site-branding .site-branding{display:contents;}

/* Nav — light links (not GP dark bar) */
.main-navigation,.main-navigation .main-nav ul li a,
.main-navigation .menu > li > a{
  background:transparent !important;color:#2563eb !important;font-weight:500;
}
.main-navigation .main-nav ul li a:hover{color:#1d4ed8 !important;text-decoration:underline;}
.main-navigation .main-nav > ul{background:transparent !important;}
.main-navigation a{font-size:14px;font-weight:500;}

/*
 * Fix stray dark search box: GP enables nav_search but base .navigation-search
 * absolute/hidden rules are missing from the enqueued main.min.css, so the
 * dark-styled input sat in normal flow above the menu.
 */
.main-navigation .navigation-search{
  position:absolute !important;
  left:-99999px !important;
  right:auto !important;
  top:0;bottom:0;
  width:100%;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:30;
  margin:0;padding:0;
  background:transparent !important;
}
.main-navigation .navigation-search.nav-search-active,
.main-navigation.has-active-search .navigation-search{
  left:0 !important;
  right:0 !important;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  background:#fff !important;
}
.navigation-search input[type="search"],
.navigation-search input[type="search"]:active,
.navigation-search input[type="search"]:focus{
  border:1px solid #e4e8ee !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#111 !important;
  width:100%;
  height:100%;
  box-sizing:border-box;
  padding:8px 14px;
}

/* Title bar */
.opp-titlebar{
  background:var(--opp-titlebar);
  padding:18px 20px;
  margin:0 0 18px 0;
}
.opp-titlebar h1,.opp-titlebar .entry-title{
  margin:0 !important;font-size:28px;font-weight:800;color:#111;text-align:left;
  display:block;
}
@media(max-width:640px){.opp-titlebar h1,.opp-titlebar .entry-title{font-size:22px;}}

/* Ad label / empty slots */
.opp-ad-label{display:block;text-align:center;font-size:11px;color:#9ca3af;margin:8px 0 4px;letter-spacing:.02em;}
.ad-slot{background:transparent;border:0;min-height:0;}

/* CTA rows — span-only markup (wpautop-safe) */
.opp-row-wrap{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  margin:20px 0;max-width:720px;
}
.opp-row-wrap *,.opp-row-wrap *::before,.opp-row-wrap *::after{box-sizing:border-box;}
.opp-row-heading{font-size:16px;font-weight:700;color:#1a1a2e;text-align:center;margin:0 0 14px;display:block;}
a.opp-row{
  display:flex !important;align-items:center;justify-content:space-between;
  background:#fff;border:1px solid #e4e8ee;border-radius:10px;
  margin:0 0 8px 0;padding:15px 16px;gap:12px;text-decoration:none !important;
  -webkit-tap-highlight-color:transparent;transition:box-shadow .15s,transform .15s;
  color:inherit !important;
}
a.opp-row:hover{box-shadow:0 4px 14px rgba(0,0,0,.08);transform:translateY(-1px);}
a.opp-row:active{opacity:.85;}
.opp-row-left{flex:1;min-width:0;display:flex;align-items:center;gap:10px;}
.opp-row-flag{font-size:20px;line-height:1;flex-shrink:0;}
.opp-row-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;}
.opp-row-title{font-size:15px;font-weight:700;color:#1a1a2e;line-height:1.3;}
.opp-row-sub{font-size:12px;color:#9aa0ab;margin-top:3px;font-weight:500;line-height:1.3;}
.opp-row-btn{
  background:#2563eb;color:#fff !important;border-radius:8px;padding:10px 16px;
  font-size:13px;font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;gap:5px;
  flex-shrink:0;line-height:1.2;
}
.opp-row-note{font-size:11px;color:#9ca3af;margin:10px 0 0;line-height:1.4;text-align:center;}
@media(max-width:480px){
  a.opp-row{flex-wrap:wrap;padding:12px;}
  .opp-row-btn{width:100%;justify-content:center;margin-top:4px;}
}

/* Kill wpautop leftovers inside our wrappers */
.opp-row-wrap > p:empty,
.opp-hub > p:empty,
.opp-country-grid > p:empty,
.opp-home-countries > p:empty{display:none !important;}
.opp-row-wrap > p > a.opp-row{display:flex !important;}
.opp-row-wrap br,
.opp-country-grid > br,
.opp-country-grid br,
.opp-home-countries br,
.opp-posts-grid > br,
.opp-posts-grid br{display:none !important;}
/* If wpautop wraps a card in <p>, don't let the <p> become a grid cell */
.opp-country-grid > p{display:contents;}
.opp-posts-grid > p{display:contents;}

/* Hub card grid */
.opp-hub{
  max-width:860px;margin:0 auto;padding:10px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  text-align:center;
}
.opp-hub-title{font-size:27px;font-weight:800;color:#111;margin:8px 0;line-height:1.3;}
.opp-hub-sub{font-size:15px;color:#555;margin:0 0 20px;line-height:1.55;}
.opp-hub-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:center;
}
@media(max-width:640px){
  .opp-hub-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .opp-hub-title{font-size:22px;}
}
a.opp-card{
  display:block;background:var(--opp-card-bg);border-radius:12px;padding:20px 12px;
  box-shadow:0 2px 8px rgba(0,0,0,.07);text-decoration:none !important;
  transition:transform .15s,box-shadow .15s;cursor:pointer;border:1px solid transparent;
  color:inherit !important;
}
a.opp-card:hover{transform:translateY(-3px);box-shadow:0 5px 16px rgba(0,0,0,.13);}
.opp-card-icon{display:block;font-size:34px;line-height:1;margin:0 0 10px;}
.opp-card-name{display:block;font-size:16px;font-weight:700;color:#111;margin:0 0 6px;line-height:1.3;}
.opp-card-meta{display:block;font-size:13px;font-weight:600;color:var(--opp-green);}
.opp-hub-note{font-size:13px;color:#999;margin:18px 0 0;}

.opp-italy-banner{
  background:var(--opp-italy-banner);padding:22px 20px;margin:28px 0 18px;
  text-align:center;font-size:28px;font-weight:800;color:#1f2937;
}

/* Category / archive as card list */
body.category .site-main,
body.blog .site-main{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch;
}
body.category .page-header,
body.blog .page-header,
body.category .opp-cat-hub,
body.category .opp-italy-banner,
body.category nav.pagination,
body.blog nav.pagination{
  grid-column:1 / -1;
}
@media(max-width:900px){
  body.category .site-main,
  body.blog .site-main{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:560px){
  body.category .site-main,
  body.blog .site-main{grid-template-columns:1fr;}
}
body.category article,
body.blog article{
  background:var(--opp-archive-card);border-radius:10px;padding:4px;
  box-shadow:none;margin:0 !important;
}
body.category article .inside-article,
body.blog article .inside-article{
  background:transparent;padding:16px 18px !important;
}
body.category article .entry-title,
body.blog article .entry-title{
  font-size:18px;font-weight:800;line-height:1.3;margin:0 0 8px;
}
body.category article .entry-title a,
body.blog article .entry-title a{color:#111;text-decoration:none;}
body.category article .entry-meta,
body.blog article .entry-meta{display:none;}
body.category article .entry-summary,
body.blog article .entry-summary{
  font-size:14px;line-height:1.5;color:#444;
}
body.category article .read-more,
body.blog article .read-more{font-weight:600;}

/* Sidebar */
.opp-side-box{
  background:#fff;border:1px solid var(--opp-border);border-radius:10px;
  padding:16px 18px;margin:0 0 18px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.opp-side-box h3{
  margin:0 0 12px;font-size:15px;font-weight:800;color:#111;
  border-bottom:1px solid #eee;padding-bottom:8px;
}
.opp-side-box ul{list-style:none;margin:0;padding:0;}
.opp-side-box li{margin:0 0 8px;padding:0;}
.opp-side-box a{color:#2563eb;text-decoration:none;font-size:14px;font-weight:500;line-height:1.35;}
.opp-side-box a:hover{text-decoration:underline;}
.inside-right-sidebar{padding-top:8px;}
#right-sidebar .opp-side-box:first-child{margin-top:0;}

/* Single readability */
.inside-article{font-size:17px;line-height:1.65;color:#222;}
.entry-meta{color:#6b7280;font-size:13px;}
.site-info{font-size:13px;color:#6b7280;}

/* Hide empty bordered leftovers from old broken markup if cache lingers */
.entry-content > p:empty{display:none;}

/* FAQ details (batch articles) */
.opp-faq{margin:1.25rem 0 1.75rem;}
.opp-faq details{border:1px solid #e4e8ee;border-radius:10px;padding:12px 14px;margin:0 0 8px;background:#fff;}
.opp-faq details[open]{background:#f8fafc;}
.opp-faq summary{cursor:pointer;font-weight:700;color:#1a1a2e;list-style:none;}
.opp-faq summary::-webkit-details-marker{display:none;}
.opp-faq details p{margin:10px 0 0;color:#374151;line-height:1.55;}

/* ===== v1.4 home ===== */
.opp-home-disclaimer{font-size:14px;line-height:1.5;margin:0 0 1.25rem;color:#374151;}
.opp-home-countries{margin:0 0 1.25rem;}
.opp-country-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 1.5rem;
  max-width:100%;
  width:100%;
}
@media(max-width:800px){.opp-country-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.opp-country-grid{grid-template-columns:minmax(0,1fr);}}
a.opp-country-card{
  display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:12px;
  background:#f3f4f6;text-decoration:none !important;color:#111 !important;
  border:1px solid #e5e7eb;transition:box-shadow .15s,transform .15s;
  min-width:0;
}
a.opp-country-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.08);transform:translateY(-1px);}
.opp-cc-flag{font-size:22px;line-height:1;}
.opp-cc-name{font-size:16px;font-weight:800;}
.opp-cc-sub{font-size:12px;color:#6b7280;font-weight:500;}

.opp-latest-heading{font-size:20px;font-weight:800;margin:1.5rem 0 .5rem;color:#111;}
.opp-latest-note{font-size:13px;color:#6b7280;margin:0 0 1rem;}

/* Post cards — home inject + archives */
.opp-posts-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:0 0 2rem;
  max-width:100%;
  width:100%;
}
@media(max-width:900px){.opp-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.opp-posts-grid{grid-template-columns:minmax(0,1fr);}}
.opp-post-card{
  background:#eef3f8;border-radius:12px;padding:18px 16px;display:flex;flex-direction:column;gap:8px;
  text-decoration:none !important;color:inherit !important;min-height:140px;min-width:0;
}
.opp-post-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.08);}
.opp-post-card h2,.opp-post-card .opp-post-title{
  margin:0;font-size:17px;font-weight:800;color:#111;line-height:1.35;
}
.opp-post-card .opp-post-excerpt{font-size:14px;color:#1f2937;line-height:1.45;margin:0;flex:1;}
.opp-post-card .opp-post-meta{font-size:12px;color:#6b7280;margin-top:6px;}
.opp-post-card .opp-post-meta a{color:#2563eb;text-decoration:none;font-weight:600;}

/* Style WP loop on blog/category similarly */
body.blog .site-main article,
body.archive .site-main article,
body.home:not(.page) .site-main article{
  background:#eef3f8;border-radius:12px;padding:18px 16px;margin:0 0 16px;
  border:0;box-shadow:none;
}
body.blog .site-main .entry-title,
body.archive .site-main .entry-title{font-size:17px;font-weight:800;}
body.blog .site-main .entry-meta,
body.archive .site-main .entry-meta{font-size:12px;color:#6b7280;}
body.blog .site-main .entry-meta a,
body.archive .site-main .entry-meta a{color:#2563eb;}
@media(min-width:769px){
  body.blog .site-main,
  body.archive.category .site-main{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
  }
  body.blog .site-main > *:not(article),
  body.archive.category .site-main > *:not(article){grid-column:1 / -1;}
}

/* Pagination */
.nav-links{display:flex;gap:8px;justify-content:center;margin:1.5rem 0;flex-wrap:wrap;}
.nav-links a,.nav-links span{padding:8px 12px;border-radius:8px;background:#f3f4f6;color:#2563eb;text-decoration:none;font-weight:600;font-size:14px;}

/* Breadcrumbs if present */
.opp-breadcrumbs,.breadcrumbs{font-size:13px;color:#6b7280;margin:0 0 12px;}
.opp-breadcrumbs a{color:#2563eb;text-decoration:none;}

/* Footer */
.site-footer{background:#fff;border-top:1px solid #eee;color:#6b7280;font-size:13px;}
.site-info{text-align:center;padding:16px;}

/* Search 404 */
.error-404 .page-content{max-width:640px;margin:0 auto;padding:2rem 1rem;}


/* ===== v1.5 — Italy-parity categories; hide batch hubs ===== */
.opp-cat-hub-b1,
.opp-cat-hub-b2,
.opp-cat-hub-b3,
.opp-cat-hub-b4{
  display:none !important;
}
.opp-cat-hub-v15{
  margin:0 0 8px;
}
.opp-country-banner,
.opp-italy-banner{
  background:var(--opp-italy-banner);padding:22px 20px;margin:28px 0 18px;
  text-align:center;font-size:28px;font-weight:800;color:#1f2937;
}
/* Ensure hub cards stay centered and wpautop-safe */
.opp-hub-grid > br,
.opp-hub-grid > p:empty{display:none !important;}
.opp-hub-grid > p{display:contents;}
body.category .opp-cat-hub-v15,
body.category .opp-country-banner,
body.category .opp-italy-banner{
  grid-column:1 / -1;
}


/* ===== v1.6 — Select Your Salary Range / Select Your Country / essentials ===== */
.opp-pay-wrap,
.opp-country-select{
  margin:1.75rem 0 1.25rem;
  max-width:720px;
}
.opp-pay-heading,
.opp-country-select-heading{
  font-size:22px;font-weight:800;color:#111827;margin:0 0 12px;
}
.opp-pay-row,
.opp-country-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;box-sizing:border-box;
  padding:14px 16px;margin:0 0 10px;
  background:#fff;border:1px solid #e5e7eb;border-radius:12px;
  text-decoration:none !important;color:inherit !important;
}
.opp-pay-row:hover,
.opp-country-row:hover{box-shadow:0 4px 14px rgba(0,0,0,.07);border-color:#d1d5db;}
.opp-pay-left,
.opp-country-left{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;}
.opp-country-left{flex-direction:row;align-items:center;gap:10px;}
.opp-pay-range,
.opp-country-name{font-size:16px;font-weight:800;color:#111827;line-height:1.3;}
.opp-pay-sub{font-size:13px;color:#6b7280;line-height:1.35;}
.opp-country-flag{font-size:22px;line-height:1;display:inline-flex;align-items:center;}
.opp-pay-btn,
.opp-country-btn{
  flex-shrink:0;display:inline-flex;align-items:center;gap:6px;
  background:#2563eb;color:#fff !important;font-weight:700;font-size:13px;
  padding:10px 14px;border-radius:999px;text-decoration:none !important;
}
.opp-pay-arrow{font-size:14px;}
.opp-pay-note,
.opp-country-note{font-size:12px;color:#9ca3af;margin:8px 0 0;line-height:1.4;}
.opp-pay-filter-banner{
  grid-column:1 / -1;
  background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;
  padding:16px 18px;margin:0 0 16px;
}
.opp-pay-filter-title{margin:0 0 8px;font-size:20px;font-weight:800;color:#111827;}
.opp-pay-filter-note{margin:0;font-size:14px;color:#4b5563;}
.opp-pay-filter-note a{color:#2563eb;font-weight:600;text-decoration:none;}
.opp-essential-wrap{margin:18px 0 8px;}
.opp-essential-heading{font-size:16px;font-weight:800;margin:0 0 8px;color:#111827;}
.opp-essential-row{margin-bottom:8px;}
.opp-pay-wrap > br,
.opp-country-select > br,
.opp-hub-grid > br{display:none !important;}
@media(max-width:560px){
  .opp-pay-row,.opp-country-row{flex-direction:column;align-items:stretch;}
  .opp-pay-btn,.opp-country-btn{justify-content:center;}
}


/* ===== v1.7 — Region hubs (Europe / Other Countries) + home grouping ===== */
.opp-region-subhead{
  font-size:15px;font-weight:800;color:#111827;margin:1rem 0 .6rem;
  letter-spacing:.01em;
}
.opp-region-top-grid{margin-bottom:.75rem;}
a.opp-region-card{
  background:#eef6ff;border-color:#dbeafe;
}
.opp-region-intro{
  grid-column:1 / -1;
  background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;
  padding:18px 20px;margin:0 0 18px;text-align:left;
  max-width:860px;
}
.opp-region-intro-title{
  margin:0 0 10px;font-size:18px;font-weight:800;color:#111827;
}
.opp-region-intro p{
  margin:0 0 10px;font-size:15px;line-height:1.6;color:#374151;
}
.opp-region-intro p:last-child{margin-bottom:0;}
.opp-region-hub .opp-hub{max-width:920px;}
.opp-region-country-grid .opp-card-meta{font-size:12px;}
body.category .opp-region-intro,
body.category .opp-region-hub,
body.category .opp-latest-heading,
body.category .opp-latest-note{
  grid-column:1 / -1;
}
.opp-side-regions h3{color:#111827;}

/* ===== v1.8 — Select Your City (top of article; pin icon, no ads) ===== */
.opp-city-select{
  margin:0 0 1.25rem;
  max-width:720px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.opp-city-select-heading{
  font-size:22px;font-weight:800;color:#111827;margin:0 0 12px;text-align:left;
}
a.opp-city-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;box-sizing:border-box;
  padding:14px 16px;margin:0 0 10px;
  background:#fff;border:1px solid #e5e7eb;border-radius:12px;
  text-decoration:none !important;color:inherit !important;
  transition:box-shadow .15s,border-color .15s;
}
a.opp-city-row:hover{box-shadow:0 4px 14px rgba(0,0,0,.07);border-color:#d1d5db;}
.opp-city-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1;}
.opp-city-flag{font-size:22px;line-height:1;flex-shrink:0;display:inline-flex;align-items:center;}
.opp-city-name{font-size:16px;font-weight:800;color:#111827;line-height:1.3;}
.opp-city-pin{
  flex-shrink:0;font-size:18px;line-height:1;opacity:.85;
  filter:grayscale(0);
}
.opp-city-note{font-size:12px;color:#9ca3af;margin:8px 0 0;line-height:1.4;}
.opp-city-select > br,
.opp-city-select > p:empty{display:none !important;}
.opp-city-filter-banner{
  grid-column:1 / -1;
  background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;
  padding:16px 18px;margin:0 0 16px;
}
.opp-city-filter-title{margin:0 0 8px;font-size:20px;font-weight:800;color:#111827;}
.opp-city-filter-note{margin:0;font-size:14px;color:#4b5563;}
.opp-city-filter-note a{color:#2563eb;font-weight:600;text-decoration:none;}
@media(max-width:560px){
  a.opp-city-row{padding:12px 14px;}
  .opp-city-select-heading{font-size:20px;}
}

/* v1.8.3 — bundled flag images (Windows-safe) + city fill heading */
img.opp-flag-img{
  display:inline-block;width:20px;height:15px;object-fit:cover;
  border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08);
  vertical-align:middle;flex-shrink:0;
}
.opp-flag-fallback{
  display:inline-block;min-width:20px;font-size:11px;font-weight:800;
  color:#374151;letter-spacing:.02em;line-height:1;
}
.opp-city-more-wrap{
  grid-column:1 / -1;
  background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;
  padding:14px 16px;margin:8px 0 14px;
}
.opp-city-more-heading{margin:0 0 6px;font-size:18px;font-weight:800;color:#111827;}
.opp-city-more-note{margin:0;font-size:13px;color:#4b5563;line-height:1.4;}


/* ===== v1.9.0 — entry-only top picker + Other cities footer ===== */
/* Script adds html.opp-city-internal before the block paints (same-host referrer, no utm/fbclid). */
html.opp-city-internal .opp-city-entry{display:none!important;}
.opp-city-related{
  margin:1.75rem 0 0;
  padding:1rem 0 0;
  border-top:1px solid #e5e7eb;
  max-width:720px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.opp-city-related-heading{
  font-size:16px;font-weight:800;color:#111827;margin:0 0 10px;
}
.opp-city-related-list{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px;
}
a.opp-city-chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;
  background:#fff;border:1px solid #e5e7eb;border-radius:999px;
  text-decoration:none !important;color:inherit !important;
  font-size:14px;font-weight:700;line-height:1.2;
  transition:box-shadow .15s,border-color .15s;
}
a.opp-city-chip:hover{box-shadow:0 2px 8px rgba(0,0,0,.06);border-color:#d1d5db;}
.opp-city-chip-name{color:#111827;}
.opp-city-related-all{margin:0 0 6px;font-size:14px;}
.opp-city-related-all a{color:#2563eb;font-weight:700;text-decoration:none;}
.opp-city-related-all a:hover{text-decoration:underline;}
@media(max-width:560px){
  a.opp-city-chip{padding:7px 10px;font-size:13px;}
}


/* ===== v1.9.1 — tile salaries, article card meta, pagination ===== */
.opp-card-salary{
  display:block;font-size:13px;font-weight:700;color:var(--opp-green);line-height:1.35;
}
.opp-hub-salary-note{
  font-size:12px;color:#9ca3af;margin:12px 0 0;line-height:1.4;text-align:center;
}

/* Category / blog article cards — pale blue, 3-line excerpt, meta at bottom */
body.category article,
body.blog article,
body.archive article{
  background:#eef3f8 !important;
  border-radius:12px !important;
  padding:0 !important;
  box-shadow:none !important;
  margin:0 !important;
  border:0 !important;
  display:flex;
  flex-direction:column;
}
body.category article .inside-article,
body.blog article .inside-article,
body.archive article .inside-article{
  background:transparent !important;
  padding:18px 16px !important;
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
  box-sizing:border-box;
}
body.category article .entry-header,
body.blog article .entry-header,
body.archive article .entry-header{
  margin:0;padding:0;order:1;
}
/* Hide theme meta in header — we render avatar+author+date under the excerpt */
body.category article .entry-header .entry-meta,
body.blog article .entry-header .entry-meta,
body.archive article .entry-header .entry-meta{display:none !important;}
body.category article .entry-title,
body.blog article .entry-title,
body.archive article .entry-title{
  font-size:17px;font-weight:800;line-height:1.35;margin:0 0 4px;
}
body.category article .entry-title a,
body.blog article .entry-title a,
body.archive article .entry-title a{color:#111;text-decoration:none;}
body.category article .entry-summary,
body.blog article .entry-summary,
body.archive article .entry-summary{
  order:2;
  font-size:14px;line-height:1.45;color:#1f2937;margin:0;
  flex:1 1 auto;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
body.category article .entry-summary p,
body.blog article .entry-summary p,
body.archive article .entry-summary p{margin:0;}
body.category article .read-more,
body.blog article .read-more,
body.archive article .read-more{display:none !important;}

/* Avatar + author + date row */
.opp-card-meta-row{
  order:3;
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:10px;padding-top:2px;
  font-size:13px;line-height:1.2;color:#6b7280;
}
.opp-card-avatar{display:inline-flex;flex-shrink:0;}
.opp-card-avatar-img,
.opp-card-avatar img{
  width:28px;height:28px;border-radius:50%;display:block;object-fit:cover;
  background:#dbeafe;
}
.opp-card-author{
  color:#2563eb;font-weight:700;font-size:13px;
}
.opp-card-meta-sep{color:#9ca3af;font-weight:600;}
.opp-card-date{color:#6b7280;font-weight:500;font-size:13px;}

/* Home / injected post cards */
.opp-post-card{
  background:#eef3f8;border-radius:12px;padding:18px 16px;
  display:flex;flex-direction:column;gap:8px;
  text-decoration:none !important;color:inherit !important;
  min-height:160px;min-width:0;
}
.opp-post-card .opp-post-excerpt{
  font-size:14px;color:#1f2937;line-height:1.45;margin:0;flex:1;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;
}
.opp-post-card .opp-card-meta-row{margin-top:auto;}

/* Numbered pagination — "1 2 3 … N Next ›" */
body.category nav.paging-navigation,
body.blog nav.paging-navigation,
body.archive nav.paging-navigation,
body.category nav.pagination,
body.blog nav.pagination,
body.archive nav.pagination,
.paging-navigation,
nav.pagination{
  grid-column:1 / -1;
  margin:1.75rem 0 1rem;
  text-align:center;
}
.nav-links,
.paging-navigation .nav-links,
nav.pagination .nav-links{
  display:inline-flex;align-items:center;justify-content:center;
  gap:6px;flex-wrap:wrap;
  margin:0 auto;
}
.nav-links a,
.nav-links span,
.page-numbers{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:36px;height:36px;padding:0 12px;
  border-radius:8px;
  background:transparent;
  color:#6b7280 !important;
  text-decoration:none !important;
  font-weight:700;font-size:14px;line-height:1;
  border:0;
  box-sizing:border-box;
}
.nav-links a:hover,
a.page-numbers:hover{
  background:#eef2ff;color:#2563eb !important;
}
.nav-links span.current,
.page-numbers.current{
  background:#2563eb !important;color:#fff !important;
}
.nav-links .dots,
.page-numbers.dots{
  background:transparent;color:#9ca3af !important;min-width:24px;padding:0 4px;
}
.nav-links .next,
.nav-links .prev,
a.next.page-numbers,
a.prev.page-numbers{
  min-width:auto;padding:0 10px;color:#2563eb !important;font-weight:700;
}

/* v1.9.4: no author/date/avatar anywhere */
.opp-card-meta-row,.opp-post-card .opp-post-meta,.entry-meta .byline,.entry-meta .posted-on,.entry-header .entry-meta,.opp-card-avatar,.opp-card-author,.opp-card-date{display:none !important;}
/* v1.9.5: no empty ad placeholders anywhere */
.ad-slot:empty,.opp-ad-label{display:none!important;}

/* v1.9.8 — limited Italy archive test. Keep existing ad markup/anchors intact. */
body.opp-italy-lead-test .opp-italy-lead-mobile{display:none;}
body.opp-italy-lead-test .opp-titlebar h2{
  margin:0!important;font-size:28px;font-weight:800;color:#111;text-align:left;display:block;
}
@media(max-width:640px){body.opp-italy-lead-test .opp-titlebar h2{font-size:22px;}}
@media(max-width:768px){
  /* Grid order moves the existing header visually, never the ad or its iframe. */
  body.opp-italy-lead-test .site-main > .page-header{
    order:-1;padding:16px 16px 8px;margin:0;background:transparent;text-align:center;
  }
  body.opp-italy-lead-test .page-header .page-title{
    margin:0 0 8px;font-size:22px;font-weight:800;line-height:1.3;color:#111;
  }
  body.opp-italy-lead-test .page-header .taxonomy-description{margin:0;}
  body.opp-italy-lead-test .page-header .taxonomy-description p{
    margin:0;font-size:14px;line-height:1.45;color:#4b5563;
  }
  body.opp-italy-lead-test .opp-italy-lead-mobile{display:block;}
  body.opp-italy-lead-test .opp-italy-lead-desktop,
  body.opp-italy-lead-test .opp-cat-hub-v15 > .opp-hub > .opp-hub-title,
  body.opp-italy-lead-test .opp-cat-hub-v15 > .opp-hub > .opp-hub-sub{display:none;}
}

/* v1.9.11: existing Adbuy6, neutral full-width row on recognized country hubs only. */
.opp-hub-grid.opp-v1911-grid-ad > .opp-grid-ad-wrap {
  grid-column:1/-1; min-height:320px; margin:18px 0; padding:12px 0;
  text-align:center; background:transparent; border:0; border-radius:0; order:1;
}
.opp-hub-grid.opp-v1911-grid-ad > .opp-card {order:0;}
.opp-hub-grid.opp-v1911-grid-ad > .opp-card:nth-of-type(n+7) {order:2;}
@media(max-width:600px) {
  .opp-hub-grid.opp-v1911-grid-ad {grid-template-columns:minmax(0,1fr);}
  .opp-hub-grid.opp-v1911-grid-ad > .opp-card:nth-of-type(n+5) {order:2;}
}
