/* Emerald Teaching v5 — Browse Jobs restyle for WP JobHunt / JobCareer */
body.emerald-jobs{
  --paper:#FAF6EC;--paper-line:#CFE0D3;--margin-line:#E2694B;--ink:#2B2620;--ink-soft:#5B564C;
  --emerald-deep:#1F4B3F;--emerald-mid:#2F6B52;--emerald-pale:#E7EFE8;--honey:#E3A23C;--honey-deep:#C97F1F;
  background:var(--paper)!important;color:var(--ink)!important;font-family:'Inter',Arial,sans-serif!important;
}
body.emerald-jobs .main-section{background:var(--paper)!important;padding-top:36px!important;padding-bottom:64px!important;}
body.emerald-jobs .main-section>.page-section,
body.emerald-jobs .main-section .page-section{background:transparent!important;}
body.emerald-jobs .container{max-width:1160px!important;width:100%!important;}

/* Claude-style inner page hero, using JobCareer's existing subheader. */
body.emerald-jobs .cs-subheader{
  position:relative!important;margin:0!important;padding:52px 0 40px!important;
  min-height:190px!important;color:var(--ink)!important;text-align:left!important;
  background-color:var(--paper)!important;
  background-image:repeating-linear-gradient(var(--paper) 0 37px,var(--paper-line) 37px 38px)!important;
  background-size:auto!important;background-position:0 0!important;
}
body.emerald-jobs .cs-subheader:before{
  content:""!important;position:absolute!important;left:64px!important;top:0!important;bottom:0!important;width:2px!important;
  background:var(--margin-line)!important;opacity:.55!important;z-index:1!important;
}
body.emerald-jobs .cs-subheader .container{position:relative!important;z-index:2!important;padding-left:100px!important;}
body.emerald-jobs .cs-subheader .container:before{
  content:"Teaching & support staff";display:block;margin-bottom:14px!important;
  font:700 .8rem/1.2 'Inter',Arial,sans-serif!important;letter-spacing:.09em!important;text-transform:uppercase!important;color:var(--emerald-mid)!important;
}
body.emerald-jobs .cs-subheader .container:after{
  content:"Browse every role we're recruiting for right now. New vacancies are added regularly across Greater Manchester and beyond.";
  display:block!important;margin-top:16px!important;max-width:56ch!important;
  font:400 1.08rem/1.5 'Inter',Arial,sans-serif!important;color:var(--ink-soft)!important;
}
body.emerald-jobs .cs-subheader h1,
body.emerald-jobs .cs-subheader h2,
body.emerald-jobs .cs-subheader .page-title,
body.emerald-jobs .cs-subheader .cs-page-title{
  margin:0!important;padding:0!important;font-family:'Fraunces',Georgia,serif!important;font-size:clamp(2rem,4vw,2.8rem)!important;
  font-weight:600!important;line-height:1.1!important;color:var(--emerald-deep)!important;text-transform:none!important;letter-spacing:normal!important;
  text-shadow:none!important;
}
body.emerald-jobs .cs-subheader h1 a,body.emerald-jobs .cs-subheader h2 a{color:inherit!important;}
body.emerald-jobs .cs-subheader [style*="background"],body.emerald-jobs .cs-subheader:after{background-image:none!important;}

/* General JobHunt typography */
body.emerald-jobs.wp-jobhunt .main-section h1,
body.emerald-jobs.wp-jobhunt .main-section h2,
body.emerald-jobs.wp-jobhunt .main-section h3,
body.emerald-jobs.wp-jobhunt .main-section h4,
body.emerald-jobs.wp-jobhunt .main-section h5{font-family:'Fraunces',Georgia,serif!important;color:var(--emerald-deep)!important;text-transform:none!important;letter-spacing:normal!important;}

/* Two-column listing structure */
body.emerald-jobs.wp-jobhunt .cs-content-holder{background:transparent!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters{
  background:transparent!important;border:0!important;padding:0!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters>div,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-panel,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .search-box,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .select-location{
  background:#fff!important;border:1px solid #DCE8DF!important;border-radius:14px!important;box-shadow:none!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group{margin:0 0 16px!important;padding:20px 22px!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-heading,
body.emerald-jobs.wp-jobhunt .cs-listing-filters h5,
body.emerald-jobs.wp-jobhunt .cs-listing-filters h6,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-title{
  margin:0 0 12px!important;font-family:'Inter',Arial,sans-serif!important;font-size:.78rem!important;font-weight:700!important;
  line-height:1.3!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--emerald-mid)!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters ul{margin:0!important;padding:0!important;list-style:none!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters li{font-family:'Inter',Arial,sans-serif!important;font-size:.92rem!important;line-height:1.45!important;color:var(--ink-soft)!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters a,
body.emerald-jobs.wp-jobhunt .cs-listing-filters label{color:var(--ink-soft)!important;font-weight:400!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters a:hover,
body.emerald-jobs.wp-jobhunt .cs-listing-filters label:hover{color:var(--emerald-deep)!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters input[type="text"],
body.emerald-jobs.wp-jobhunt .cs-listing-filters input[type="search"],
body.emerald-jobs.wp-jobhunt .cs-listing-filters select,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .chosen-single{
  width:100%!important;height:auto!important;min-height:42px!important;margin:0!important;padding:10px 12px!important;
  border:1.5px solid var(--paper-line)!important;border-radius:8px!important;background:var(--paper)!important;
  color:var(--ink)!important;font:400 .95rem/1.4 'Inter',Arial,sans-serif!important;box-shadow:none!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters input[type="checkbox"]{accent-color:var(--emerald-deep)!important;}

/* Results toolbar */
body.emerald-jobs.wp-jobhunt .filter-heading{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;
  margin:0 0 20px!important;padding:0!important;border:0!important;background:transparent!important;
}
body.emerald-jobs.wp-jobhunt .filter-heading>h5{
  margin:0!important;font-family:'Inter',Arial,sans-serif!important;font-size:1rem!important;font-weight:600!important;color:var(--emerald-deep)!important;
  text-transform:none!important;
}
body.emerald-jobs.wp-jobhunt .filter-heading .result-count{color:var(--emerald-deep)!important;font-weight:600!important;}
body.emerald-jobs.wp-jobhunt .filter-heading .cs-sort-sec{margin:0!important;display:flex!important;gap:10px!important;align-items:center!important;}
body.emerald-jobs.wp-jobhunt .filter-heading .cs-sort-sec li{margin:0!important;width:auto!important;}
body.emerald-jobs.wp-jobhunt .filter-heading select,
body.emerald-jobs.wp-jobhunt .filter-heading .chosen-single{
  height:auto!important;min-height:38px!important;padding:8px 12px!important;border:1.5px solid var(--paper-line)!important;border-radius:8px!important;
  background:#fff!important;color:var(--ink)!important;font:400 .88rem/1.3 'Inter',Arial,sans-serif!important;box-shadow:none!important;
}

/* Job list -> Claude register rows */
body.emerald-jobs.wp-jobhunt .cs-jobs-holder{margin:0!important;background:transparent!important;}
body.emerald-jobs.wp-jobhunt ul.jobs-listing.modern,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern{
  margin:0!important;padding:0!important;border:1px solid var(--paper-line)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;
  box-shadow:none!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li{
  position:relative!important;margin:0!important;padding:20px 24px!important;min-height:112px!important;
  border:0!important;border-bottom:1px solid var(--paper-line)!important;background:#fff!important;box-shadow:none!important;
  transition:background .15s ease!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li:last-child{border-bottom:0!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li:hover{background:var(--emerald-pale)!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .jobs-content{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;align-items:flex-start!important;gap:18px!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-media{
  width:50px!important;min-width:50px!important;height:50px!important;margin:0!important;float:none!important;border-radius:10px!important;overflow:hidden!important;
  background:var(--emerald-deep)!important;border:0!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-media figure,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-media img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .cs-text{
  width:auto!important;min-width:0!important;flex:1 1 auto!important;margin:0!important;padding:0 190px 0 0!important;float:none!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-text h3,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-post-title{
  margin:0 0 4px!important;padding:0!important;font-family:'Fraunces',Georgia,serif!important;font-size:1.08rem!important;font-weight:600!important;line-height:1.3!important;
  color:var(--emerald-deep)!important;text-transform:none!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-text h3 a,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-post-title a{color:var(--emerald-deep)!important;text-decoration:none!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .post-options,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .jobs-content .post-options{
  margin:0 0 8px!important;padding:0!important;color:var(--ink-soft)!important;font:400 .86rem/1.5 'Inter',Arial,sans-serif!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .post-options li{font:inherit!important;color:inherit!important;margin-right:10px!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-text p,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .jobs-description{
  margin:10px 0 0!important;padding-top:10px!important;border-top:1px dashed var(--paper-line)!important;
  color:var(--ink-soft)!important;font:400 .9rem/1.5 'Inter',Arial,sans-serif!important;max-width:65ch!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-text p a{color:var(--emerald-deep)!important;font-weight:600!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .job-post,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .list-options{
  position:absolute!important;right:24px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;gap:8px!important;float:none!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .jobtype-btn{
  position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;
  margin:0!important;padding:5px 12px!important;border:0!important;border-radius:20px!important;background:var(--emerald-pale)!important;
  color:var(--emerald-deep)!important;font:700 .76rem/1.3 'Inter',Arial,sans-serif!important;text-transform:none!important;box-shadow:none!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .wish-list .shortlist,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .shortlist{
  position:static!important;width:36px!important;height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;border:1.5px solid var(--paper-line)!important;border-radius:50%!important;background:#fff!important;color:var(--emerald-deep)!important;box-shadow:none!important;
}

/* Pagination */
body.emerald-jobs.wp-jobhunt .pagination{display:flex!important;justify-content:center!important;gap:8px!important;margin:32px 0 0!important;padding:0!important;}
body.emerald-jobs.wp-jobhunt .pagination>li>a,
body.emerald-jobs.wp-jobhunt .pagination>li>span{
  width:38px!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;border:1.5px solid var(--paper-line)!important;border-radius:8px!important;background:#fff!important;
  color:var(--ink-soft)!important;font:600 .9rem/1 'Inter',Arial,sans-serif!important;box-shadow:none!important;
}
body.emerald-jobs.wp-jobhunt .pagination>li>a.active,
body.emerald-jobs.wp-jobhunt .pagination>li.active>a,
body.emerald-jobs.wp-jobhunt .pagination>li.active>span{
  background:var(--emerald-deep)!important;color:var(--paper)!important;border-color:var(--emerald-deep)!important;
}

/* Remove old theme decorations that fight the Claude look. */
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .feature-post{background:var(--honey)!important;color:var(--emerald-deep)!important;}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern li:before,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern li:after{box-shadow:none!important;}

@media (max-width:900px){
  body.emerald-jobs .cs-subheader:before{left:20px!important;}
  body.emerald-jobs .cs-subheader .container{padding-left:44px!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .cs-text{padding-right:0!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern .job-post,
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern .list-options{position:static!important;transform:none!important;margin-top:12px!important;justify-content:flex-start!important;}
}
@media (max-width:760px){
  body.emerald-jobs .cs-subheader{padding:42px 0 34px!important;}
  body.emerald-jobs .cs-subheader .container:after{font-size:1rem!important;}
  body.emerald-jobs.wp-jobhunt .filter-heading{align-items:flex-start!important;}
  body.emerald-jobs.wp-jobhunt .filter-heading .cs-sort-sec{width:100%!important;flex-wrap:wrap!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li{padding:18px!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .jobs-content{flex-wrap:wrap!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-media{width:44px!important;min-width:44px!important;height:44px!important;}
}

/* =========================================================
   Emerald Teaching v6 — visual polish pass
   Keeps JobHunt's live filters/listing behaviour intact.
   ========================================================= */

/* Inner-page header: bring JobCareer's header closer to the clean homepage proportions. */
body.emerald-jobs #header,
body.emerald-jobs header#header{
  background:#fff!important;
  border-bottom:1px solid var(--paper-line)!important;
  box-shadow:none!important;
}
body.emerald-jobs #header .top-bar,
body.emerald-jobs #header .cs-top-bar{
  min-height:0!important;
  padding:7px 0!important;
  margin:0!important;
  background:#fff!important;
  border:0!important;
  font-family:'Inter',Arial,sans-serif!important;
  font-size:.82rem!important;
  line-height:1.35!important;
}
body.emerald-jobs #header .top-bar p,
body.emerald-jobs #header .top-bar a,
body.emerald-jobs #header .top-bar i,
body.emerald-jobs #header .cs-top-bar p,
body.emerald-jobs #header .cs-top-bar a,
body.emerald-jobs #header .cs-top-bar i{color:var(--ink-soft)!important;}
body.emerald-jobs #header .main-head,
body.emerald-jobs #header .logo-section{
  padding-top:15px!important;
  padding-bottom:15px!important;
  min-height:0!important;
  background:#fff!important;
}
body.emerald-jobs #header .logo{margin:0!important;padding:0!important;}
body.emerald-jobs #header .logo a{display:inline-flex!important;align-items:center!important;}
body.emerald-jobs #header .logo img{
  width:auto!important;
  height:58px!important;
  max-width:220px!important;
  object-fit:contain!important;
  margin:0!important;
}
body.emerald-jobs #header nav a,
body.emerald-jobs #header .navigation a,
body.emerald-jobs #header .main-navigation a{
  font-family:'Inter',Arial,sans-serif!important;
  font-size:.9rem!important;
  font-weight:600!important;
  color:var(--ink-soft)!important;
}
body.emerald-jobs #header nav a:hover,
body.emerald-jobs #header .navigation a:hover,
body.emerald-jobs #header .main-navigation a:hover{color:var(--emerald-deep)!important;}

/* Hero: exact notebook rhythm and stronger title visibility despite JobCareer inline colour. */
body.emerald-jobs .cs-subheader{
  min-height:0!important;
  padding:46px 0 42px!important;
  background-image:repeating-linear-gradient(to bottom,var(--paper) 0 37px,var(--paper-line) 37px 38px)!important;
}
body.emerald-jobs .cs-subheader .cs-page-title h1,
body.emerald-jobs .cs-subheader .page-title h1,
body.emerald-jobs .cs-subheader h1{
  color:var(--emerald-deep)!important;
  -webkit-text-fill-color:var(--emerald-deep)!important;
  opacity:1!important;
}
body.emerald-jobs .cs-subheader .container:after{
  margin-top:14px!important;
  font-size:1.02rem!important;
  line-height:1.55!important;
}

/* Main content spacing and proportions. */
body.emerald-jobs .main-section{padding-top:38px!important;}
body.emerald-jobs.wp-jobhunt .main-section .container{max-width:1160px!important;}
body.emerald-jobs.wp-jobhunt .cs-content-holder{padding-left:6px!important;}
body.emerald-jobs.wp-jobhunt .cs-listing-filters{padding-right:4px!important;}

/* Sidebar search controls: remove the old boxed-on-boxed appearance. */
body.emerald-jobs.wp-jobhunt .cs-listing-filters .search-box,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .select-location{
  margin-bottom:10px!important;
  padding:0!important;
  border-radius:10px!important;
  overflow:hidden!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .search-box input,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .select-location input,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .select-location .chosen-single{
  min-height:48px!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:12px 14px!important;
}

/* Primary filter cards. */
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group{
  margin:0 0 10px!important;
  padding:17px 18px!important;
  border-radius:12px!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-heading,
body.emerald-jobs.wp-jobhunt .cs-listing-filters h5,
body.emerald-jobs.wp-jobhunt .cs-listing-filters h6,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-title{
  margin-bottom:10px!important;
  font-size:.77rem!important;
  letter-spacing:.055em!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters li{
  padding-top:3px!important;
  padding-bottom:3px!important;
  font-size:.88rem!important;
}

/* Expand-all control. */
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-more,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .cs-expand-filters,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-expand,
body.emerald-jobs.wp-jobhunt .cs-listing-filters [class*="expand"]{
  border-color:var(--paper-line)!important;
  background:var(--emerald-pale)!important;
  color:var(--emerald-deep)!important;
  box-shadow:none!important;
  font-family:'Inter',Arial,sans-serif!important;
  font-weight:600!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-more a,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .cs-expand-filters a,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-expand a,
body.emerald-jobs.wp-jobhunt .cs-listing-filters [class*="expand"] a{
  color:var(--emerald-deep)!important;
}

/* Secondary / custom-field filter accordions: compact Claude-style cards. */
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group .accordion-heading + .accordion-body,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group .accordion-inner{
  background:transparent!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group.collapsed,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group:has(.accordion-body[style*="display: none"]){
  min-height:0!important;
}

/* Results toolbar: cleaner alignment. */
body.emerald-jobs.wp-jobhunt .filter-heading{
  min-height:48px!important;
  margin-bottom:16px!important;
}
body.emerald-jobs.wp-jobhunt .filter-heading>h5{
  font-size:.98rem!important;
  font-weight:700!important;
}
body.emerald-jobs.wp-jobhunt .filter-heading .cs-sort-sec{
  gap:8px!important;
}
body.emerald-jobs.wp-jobhunt .filter-heading select,
body.emerald-jobs.wp-jobhunt .filter-heading .chosen-single{
  min-height:40px!important;
  background:#fff!important;
  border-radius:8px!important;
}

/* Vacancy list: lighter, cleaner rows; remove company thumbnail / featured ribbon. */
body.emerald-jobs.wp-jobhunt ul.jobs-listing.modern,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern{
  border-radius:14px!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li{
  min-height:0!important;
  padding:22px 24px!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-media,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .feature-post{
  display:none!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .jobs-content{
  gap:0!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .cs-text{
  padding-right:175px!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-text h3,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-post-title{
  margin-bottom:7px!important;
  font-size:1.08rem!important;
  line-height:1.25!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .post-options,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .jobs-content .post-options{
  margin-bottom:8px!important;
  font-size:.84rem!important;
  line-height:1.55!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .cs-text p,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .jobs-description{
  margin-top:9px!important;
  padding-top:9px!important;
  font-size:.88rem!important;
  line-height:1.5!important;
  max-width:68ch!important;
  overflow:hidden!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .jobtype-btn{
  padding:6px 13px!important;
  letter-spacing:.02em!important;
}
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .wish-list .shortlist,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern .shortlist{
  width:38px!important;
  height:38px!important;
}

/* Prevent legacy coloured borders/ribbons from peeking through. */
body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li,
body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li *{
  box-shadow:none!important;
}

@media (max-width:900px){
  body.emerald-jobs #header .main-head,
  body.emerald-jobs #header .logo-section{padding-top:11px!important;padding-bottom:11px!important;}
  body.emerald-jobs #header .logo img{height:50px!important;max-width:190px!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern li .cs-text{padding-right:0!important;}
}
@media (max-width:760px){
  body.emerald-jobs .cs-subheader{padding:38px 0 34px!important;}
  body.emerald-jobs .cs-subheader .container{padding-left:44px!important;padding-right:24px!important;}
  body.emerald-jobs.wp-jobhunt .jobs-listing.modern>li{padding:18px!important;}
}


/* v11 — use the same clean Emerald header as the For Schools page */
body.emerald-jobs #header,
body.emerald-jobs header#header,
body.emerald-jobs .cs-main-nav,
body.emerald-jobs .main-header,
body.emerald-jobs .header-v2,
body.emerald-jobs .header-v3 {
  display:none !important;
}
body.emerald-jobs .emerald-jobs-modern-header {
  display:block !important;
  background:#fbf6eb;
  border-bottom:1px solid #cbded3;
  font-family:Inter,Arial,sans-serif;
  position:relative;
  z-index:999;
}
body.emerald-jobs .emerald-jobs-modern-header .header-inner {
  max-width:1380px;
  height:104px;
  margin:0 auto;
  padding:0 34px;
  display:flex;
  align-items:center;
  gap:34px;
}
body.emerald-jobs .emerald-jobs-modern-header .emerald-modern-logo {
  display:flex;
  align-items:center;
  margin-right:auto;
}
body.emerald-jobs .emerald-jobs-modern-header .emerald-modern-logo img {
  display:block;
  width:146px;
  height:auto;
  max-height:72px;
  object-fit:contain;
}
body.emerald-jobs .emerald-jobs-modern-header nav {
  display:flex;
  align-items:center;
  gap:38px;
}
body.emerald-jobs .emerald-jobs-modern-header nav a {
  color:#554e44;
  font-size:16px;
  font-weight:400;
  text-decoration:none;
  white-space:nowrap;
  padding:23px 0 18px;
  border-bottom:2px solid transparent;
}
body.emerald-jobs .emerald-jobs-modern-header nav a:hover,
body.emerald-jobs .emerald-jobs-modern-header nav a.active {
  color:#174f42;
}
body.emerald-jobs .emerald-jobs-modern-header nav a.active {
  border-bottom-color:#e7a02a;
}
body.emerald-jobs .emerald-jobs-modern-header .emerald-request-staff {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 28px;
  margin-left:18px;
  border-radius:28px;
  background:#eba532;
  box-shadow:0 4px 0 #c98216;
  color:#06483d;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
@media (max-width: 980px) {
  body.emerald-jobs .emerald-jobs-modern-header .header-inner {
    height:auto;
    min-height:88px;
    padding:14px 22px;
    flex-wrap:wrap;
  }
  body.emerald-jobs .emerald-jobs-modern-header nav {
    order:3;
    width:100%;
    gap:22px;
    overflow-x:auto;
  }
  body.emerald-jobs .emerald-jobs-modern-header .emerald-request-staff {
    margin-left:0;
  }
}
@media (max-width: 680px) {
  body.emerald-jobs .emerald-jobs-modern-header .emerald-request-staff { display:none; }
  body.emerald-jobs .emerald-jobs-modern-header .emerald-modern-logo img { width:125px; }
  body.emerald-jobs .emerald-jobs-modern-header nav { gap:18px; }
  body.emerald-jobs .emerald-jobs-modern-header nav a { font-size:14px; }
}

/* v17 — simplified Browse Jobs sidebar: keyword + location only. */
body.emerald-jobs.wp-jobhunt .cs-listing-filters .accordion-group,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-more,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .cs-expand-filters,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .filter-expand,
body.emerald-jobs.wp-jobhunt .cs-listing-filters [class*="expand"] {
  display:none!important;
}
body.emerald-jobs.wp-jobhunt .cs-listing-filters .search-box,
body.emerald-jobs.wp-jobhunt .cs-listing-filters .select-location {
  display:block!important;
  margin-bottom:12px!important;
}


/* v18 — simplified, useful Browse Jobs search */
body.emerald-jobs .cs-listing-filters > *:not(.emerald-job-search) {
  display:none !important;
}
body.emerald-jobs .cs-listing-filters .emerald-job-search {
  display:block !important;
  position:relative;
}
body.emerald-jobs .emerald-search-field {
  position:relative;
  margin-bottom:14px;
}
body.emerald-jobs .emerald-search-field label {
  display:block;
  margin:0 0 7px;
  font-family:'Inter',Arial,sans-serif;
  font-size:.76rem;
  font-weight:700 !important;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--emerald-deep) !important;
}
body.emerald-jobs .emerald-input-wrap {
  position:relative;
}
body.emerald-jobs .emerald-input-wrap input {
  display:block;
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  padding:11px 42px 11px 14px !important;
  border:1px solid var(--paper-line) !important;
  border-radius:11px !important;
  outline:none;
  background:#fff !important;
  color:var(--ink) !important;
  font-family:'Inter',Arial,sans-serif !important;
  font-size:.92rem !important;
}
body.emerald-jobs .emerald-input-wrap input:focus {
  border-color:var(--emerald-mid) !important;
  box-shadow:0 0 0 3px rgba(47,107,82,.10) !important;
}
body.emerald-jobs .emerald-search-icon,
body.emerald-jobs .emerald-location-icon {
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--emerald-mid);
  font-size:19px;
  pointer-events:none;
}
body.emerald-jobs .emerald-suggestions {
  position:absolute;
  z-index:1000;
  top:calc(100% + 4px);
  left:0;
  right:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--paper-line);
  border-radius:10px;
  box-shadow:0 10px 24px rgba(31,75,63,.12);
}
body.emerald-jobs .emerald-suggestions[hidden] {
  display:none !important;
}
body.emerald-jobs .emerald-suggestions button {
  display:block;
  width:100%;
  padding:10px 13px;
  border:0;
  border-bottom:1px solid #edf2ee;
  background:#fff;
  color:var(--ink-soft);
  text-align:left;
  font:500 .88rem 'Inter',Arial,sans-serif;
  cursor:pointer;
}
body.emerald-jobs .emerald-suggestions button:last-child {
  border-bottom:0;
}
body.emerald-jobs .emerald-suggestions button:hover,
body.emerald-jobs .emerald-suggestions button:focus {
  background:var(--emerald-pale);
  color:var(--emerald-deep);
}
body.emerald-jobs .emerald-search-actions {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:4px;
}
body.emerald-jobs .emerald-search-actions button {
  flex:1;
  min-height:44px;
  border:0;
  border-radius:24px;
  background:var(--honey);
  box-shadow:0 3px 0 var(--honey-deep);
  color:var(--emerald-deep);
  font:700 .9rem 'Inter',Arial,sans-serif;
  cursor:pointer;
}
body.emerald-jobs .emerald-search-actions a {
  color:var(--emerald-deep) !important;
  font:600 .84rem 'Inter',Arial,sans-serif;
  text-decoration:none;
}
body.emerald-jobs .jobs-listing.modern > li.emerald-clickable-job {
  cursor:pointer !important;
}
body.emerald-jobs .jobs-listing.modern > li.emerald-clickable-job:focus {
  outline:3px solid var(--honey);
  outline-offset:-3px;
}
body.emerald-jobs .jobs-listing.modern > li.emerald-clickable-job:hover {
  background:var(--emerald-pale) !important;
}
