/* v3.11.6 - Control Center: centralized Frames & Borders controls.
   Decorative boxes/shadows are flattened; forms, buttons, content tables and
   focus/accessibility borders are intentionally not targeted. */

/* Single job pages. */
body.monitech-frames-all-off .ajzjp-single :where(.ajzjp-hero,.ajzjp-section,.ajzjp-position-info,.ajzjp-details,.ajzjp-company-mini,.ajzjp-apply-section,.ajzjp-similar-jobs),
body.monitech-frames-single-job-off .ajzjp-single :where(.ajzjp-hero,.ajzjp-section,.ajzjp-position-info,.ajzjp-details,.ajzjp-company-mini,.ajzjp-apply-section,.ajzjp-similar-jobs){border-color:transparent!important;box-shadow:none!important}
body.monitech-frames-all-off .ajzjp-single .ajzjp-hero,
body.monitech-frames-single-job-off .ajzjp-single .ajzjp-hero{border-width:0!important;border-radius:0!important;background:transparent!important}
body.monitech-frames-all-off .ajzjp-single :where(.ajzjp-position-info,.ajzjp-details,.ajzjp-company-mini,.ajzjp-apply-section,.ajzjp-similar-jobs),
body.monitech-frames-single-job-off .ajzjp-single :where(.ajzjp-position-info,.ajzjp-details,.ajzjp-company-mini,.ajzjp-apply-section,.ajzjp-similar-jobs){border-width:0!important;border-radius:0!important}
body.monitech-frames-all-off .ajzjp-single .ajzjp-position-info-heading,
body.monitech-frames-single-job-off .ajzjp-single .ajzjp-position-info-heading{border-left:0!important;border-right:0!important}

/* Job archive/list surfaces. Keep buttons/filter inputs intact. */
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) :where(.ajzjp-card,.ajzjp-archive-head,.ajzjp-archive-head-banner,.ajzjp-filters,.ajzjp-results-bar,.ajzjp-tier-heading),
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) :where(.ajzjp-card,.ajzjp-archive-head,.ajzjp-archive-head-banner,.ajzjp-filters,.ajzjp-results-bar,.ajzjp-tier-heading),
body.monitech-frames-all-off .monitech-mjm-jobs-shortcode :where(.monitech-mjm-job-card,.monitech-mjm-head,.monitech-mjm-search),
body.monitech-frames-job-archive-off .monitech-mjm-jobs-shortcode :where(.monitech-mjm-job-card,.monitech-mjm-head,.monitech-mjm-search){border-color:transparent!important;box-shadow:none!important}
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) .ajzjp-card,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) .ajzjp-card{border-width:0!important}

/* Company archives, profiles and showcases. */
body.monitech-frames-all-off :where(.ajzjp-companies-archive,.ajzjp-company-profile,.ajzjp-company-showcase) :where(.ajzjp-company-card,.ajzjp-company-hero,.ajzjp-company-facts,.ajzjp-company-mini,.ajzjp-company-showcase-card),
body.monitech-frames-company-off :where(.ajzjp-companies-archive,.ajzjp-company-profile,.ajzjp-company-showcase) :where(.ajzjp-company-card,.ajzjp-company-hero,.ajzjp-company-facts,.ajzjp-company-mini,.ajzjp-company-showcase-card){border-color:transparent!important;box-shadow:none!important}
body.monitech-frames-all-off :where(.ajzjp-companies-archive,.ajzjp-company-profile,.ajzjp-company-showcase) :where(.ajzjp-company-card,.ajzjp-company-hero,.ajzjp-company-facts,.ajzjp-company-showcase-card),
body.monitech-frames-company-off :where(.ajzjp-companies-archive,.ajzjp-company-profile,.ajzjp-company-showcase) :where(.ajzjp-company-card,.ajzjp-company-hero,.ajzjp-company-facts,.ajzjp-company-showcase-card){border-width:0!important}

/* Homepage sections. */
body.monitech-frames-all-off :where(.ajzjp-simple-home,.ajzjp-mabumbe-portal,.ajzjp-home-section,.ajzjp-home-block) :where(.ajzjp-simple-hero,.ajzjp-simple-section,.ajzjp-simple-trust,.ajzjp-home-hero,.ajzjp-home-explore,.ajzjp-home-directory-panel,.ajzjp-mabumbe-hero,.ajzjp-mabumbe-section,.ajzjp-mabumbe-directory-panel,.ajzjp-mabumbe-safety,.ajzjp-mabumbe-quick),
body.monitech-frames-home-off :where(.ajzjp-simple-home,.ajzjp-mabumbe-portal,.ajzjp-home-section,.ajzjp-home-block) :where(.ajzjp-simple-hero,.ajzjp-simple-section,.ajzjp-simple-trust,.ajzjp-home-hero,.ajzjp-home-explore,.ajzjp-home-directory-panel,.ajzjp-mabumbe-hero,.ajzjp-mabumbe-section,.ajzjp-mabumbe-directory-panel,.ajzjp-mabumbe-safety,.ajzjp-mabumbe-quick){border-color:transparent!important;box-shadow:none!important}

/* Blog posts, pages, archive/search cards and 404 surfaces. */
body.monitech-frames-all-off :where(.monitech-post-template,.monitech-page-template,.monitech-archive-template,.monitech-search-template,.monitech-404-template) :where(.monitech-post-entry,.monitech-page-entry,.monitech-entry-hero,.monitech-entry-head.is-hero,.monitech-archive-card,.monitech-archive-head,.monitech-search-head,.monitech-404-box),
body.monitech-frames-content-off :where(.monitech-post-template,.monitech-page-template,.monitech-archive-template,.monitech-search-template,.monitech-404-template) :where(.monitech-post-entry,.monitech-page-entry,.monitech-entry-hero,.monitech-entry-head.is-hero,.monitech-archive-card,.monitech-archive-head,.monitech-search-head,.monitech-404-box){border-color:transparent!important;box-shadow:none!important}
body.monitech-frames-all-off :where(.monitech-post-template,.monitech-page-template,.monitech-archive-template,.monitech-search-template,.monitech-404-template) :where(.monitech-post-entry,.monitech-page-entry,.monitech-entry-hero,.monitech-archive-card,.monitech-archive-head,.monitech-search-head,.monitech-404-box),
body.monitech-frames-content-off :where(.monitech-post-template,.monitech-page-template,.monitech-archive-template,.monitech-search-template,.monitech-404-template) :where(.monitech-post-entry,.monitech-page-entry,.monitech-entry-hero,.monitech-archive-card,.monitech-archive-head,.monitech-search-head,.monitech-404-box){border-width:0!important}

/* Taxonomy/location/category directories and discovery cards. */
body.monitech-frames-all-off :where(.ajzjp-taxonomy-directory,.ajzjp-shortcode-directory,.ajzjp-simple-discovery,.ajzjp-home-directory-split) :where(.ajzjp-taxonomy-card,.ajzjp-taxonomy-row,.ajzjp-home-directory-panel,.ajzjp-mabumbe-directory-panel,.ajzjp-term-search-wrap),
body.monitech-frames-directory-off :where(.ajzjp-taxonomy-directory,.ajzjp-shortcode-directory,.ajzjp-simple-discovery,.ajzjp-home-directory-split) :where(.ajzjp-taxonomy-card,.ajzjp-taxonomy-row,.ajzjp-home-directory-panel,.ajzjp-mabumbe-directory-panel,.ajzjp-term-search-wrap){border-color:transparent!important;box-shadow:none!important}

/* Sidebars/widgets. Keep inner list separators and action-button outlines. */
body.monitech-frames-all-off :where(.monitech-layout-sidebar>.widget,.monitech-layout-sidebar>.wp-block-group,.monitech-sidebar-widget),
body.monitech-frames-widgets-off :where(.monitech-layout-sidebar>.widget,.monitech-layout-sidebar>.wp-block-group,.monitech-sidebar-widget){border-color:transparent!important;box-shadow:none!important}
body.monitech-frames-all-off :where(.monitech-layout-sidebar>.widget,.monitech-sidebar-widget),
body.monitech-frames-widgets-off :where(.monitech-layout-sidebar>.widget,.monitech-sidebar-widget){border-width:0!important}

/* v3.11.8 - frame-free is the default/opt-in presentation. Suppress decorative
   left rails and pseudo-element accents too; badges remain visible so promotion
   status is still clear without drawing a frame around the whole card. */
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) .ajzjp-card::before,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) .ajzjp-card::before,
body.monitech-frames-all-off .monitech-mjm-jobs-shortcode .monitech-mjm-job-card::before,
body.monitech-frames-job-archive-off .monitech-mjm-jobs-shortcode .monitech-mjm-job-card::before{
  display:none!important;
  content:none!important;
}
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) .ajzjp-card,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-similar-jobs) .ajzjp-card,
body.monitech-frames-all-off .monitech-mjm-jobs-shortcode .monitech-mjm-job-card,
body.monitech-frames-job-archive-off .monitech-mjm-jobs-shortcode .monitech-mjm-job-card{
  border-width:0!important;
  border-left-width:0!important;
  border-right-width:0!important;
  box-shadow:none!important;
}


/* v3.11.9 - this stylesheet is deliberately enqueued last. When job-list frames
   are off, absolutely no layout pack or promotion tier may paint a decorative
   rail, inset stripe, gradient card tint or shadow back onto a job row. Promotion
   identity remains available through the Featured / Sponsored badge only. */
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card,
body.monitech-frames-all-off .monitech-mjm-job-card,
body.monitech-frames-job-archive-off .monitech-mjm-job-card{
  border:0!important;
  border-left:0!important;
  border-right:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  background-image:none!important;
}
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card::before,
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card::after,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card::before,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card::after,
body.monitech-frames-all-off .monitech-mjm-job-card::before,
body.monitech-frames-all-off .monitech-mjm-job-card::after,
body.monitech-frames-job-archive-off .monitech-mjm-job-card::before,
body.monitech-frames-job-archive-off .monitech-mjm-job-card::after{
  display:none!important;
  content:none!important;
  width:0!important;
  background:none!important;
  box-shadow:none!important;
}

/* Job-list separation is intentionally independent from decorative frames.
   It applies to the main archive, shortcodes, Related Jobs and single-company jobs. */
body.monitech-job-separation-gap :where(.ajzjp-list,.monitech-mjm-job-list),
body.monitech-job-separation-gap_line :where(.ajzjp-list,.monitech-mjm-job-list){
  gap:var(--ajzjp-job-list-gap,14px)!important;
  row-gap:var(--ajzjp-job-list-gap,14px)!important;
}
body.monitech-job-separation-line :where(.ajzjp-list,.monitech-mjm-job-list),
body.monitech-job-separation-none :where(.ajzjp-list,.monitech-mjm-job-list){
  gap:0!important;
  row-gap:0!important;
}
body.monitech-job-separation-line :where(.ajzjp-list>.ajzjp-card,.monitech-mjm-job-list>.monitech-mjm-job-card),
body.monitech-job-separation-gap_line :where(.ajzjp-list>.ajzjp-card,.monitech-mjm-job-list>.monitech-mjm-job-card){
  border-bottom:1px solid color-mix(in srgb,var(--ajzjp-border,#dbe3ec) 82%,transparent)!important;
}
body.monitech-job-separation-line :where(.ajzjp-list>.ajzjp-card:last-of-type,.monitech-mjm-job-list>.monitech-mjm-job-card:last-of-type),
body.monitech-job-separation-gap_line :where(.ajzjp-list>.ajzjp-card:last-of-type,.monitech-mjm-job-list>.monitech-mjm-job-card:last-of-type){
  border-bottom-color:transparent!important;
}
body.monitech-job-separation-none :where(.ajzjp-list>.ajzjp-card,.monitech-mjm-job-list>.monitech-mjm-job-card),
body.monitech-job-separation-gap :where(.ajzjp-list>.ajzjp-card,.monitech-mjm-job-list>.monitech-mjm-job-card){
  border-bottom-color:transparent!important;
}

/* Give flat rows enough internal breathing room without turning them into cards. */
body.monitech-frames-all-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card,
body.monitech-frames-job-archive-off :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card{
  border-radius:0!important;
}
@media(max-width:700px){
  body :where(.ajzjp-list,.monitech-mjm-job-list){--ajzjp-job-list-gap:min(var(--ajzjp-job-list-gap,14px),18px)}
}

/* v3.12.0 - Optional promotion-specific job frames.
   Master OFF always wins. With Master ON, these switches may frame only Featured
   and/or Sponsored jobs even while ordinary job-list frames remain disabled.
   Promotion frames are full outlines only: the retired left rail never returns. */
body.monitech-featured-job-frame-off :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured),
body.monitech-sponsored-job-frame-off :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured)){
  background-image:none!important;
}
body.monitech-featured-job-frame-off :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured)::before,
body.monitech-featured-job-frame-off :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured)::after,
body.monitech-sponsored-job-frame-off :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured))::before,
body.monitech-sponsored-job-frame-off :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured))::after{
  display:none!important;
  content:none!important;
  width:0!important;
  background:none!important;
  box-shadow:none!important;
}
/* When ordinary job frames are enabled but a promotion-specific frame is not,
   promoted rows inherit the same neutral outline/shadow as ordinary job cards. */
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-featured-job-frame-off :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured),
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-sponsored-job-frame-off :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured)){
  border-color:var(--ajzjp-border,#dbe3ec)!important;
  border-left-width:1px!important;
  border-left-style:solid!important;
  box-shadow:0 1px 3px rgba(15,23,42,.045)!important;
  background:var(--ajzjp-card,#fff)!important;
}
body:not(.monitech-frames-all-off).monitech-featured-job-frame-on :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured){
  border:2px solid var(--ajzjp-featured-job-frame,#f59e0b)!important;
  border-radius:12px!important;
  outline:0!important;
  box-shadow:0 3px 12px rgba(15,23,42,.055)!important;
  background:var(--ajzjp-card,#fff)!important;
  background-image:none!important;
}
body:not(.monitech-frames-all-off).monitech-sponsored-job-frame-on :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured)){
  border:2px solid var(--ajzjp-sponsored-job-frame,#10b981)!important;
  border-radius:12px!important;
  outline:0!important;
  box-shadow:0 3px 12px rgba(15,23,42,.055)!important;
  background:var(--ajzjp-card,#fff)!important;
  background-image:none!important;
}
body:not(.monitech-frames-all-off).monitech-featured-job-frame-on :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured)::before,
body:not(.monitech-frames-all-off).monitech-featured-job-frame-on :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured)::after,
body:not(.monitech-frames-all-off).monitech-sponsored-job-frame-on :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured))::before,
body:not(.monitech-frames-all-off).monitech-sponsored-job-frame-on :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured))::after{
  display:none!important;
  content:none!important;
  width:0!important;
  background:none!important;
  box-shadow:none!important;
}
@media(max-width:700px){
  body:not(.monitech-frames-all-off).monitech-featured-job-frame-on :where(.ajzjp-card.is-featured,.monitech-mjm-job-card.is-featured),
  body:not(.monitech-frames-all-off).monitech-sponsored-job-frame-on :where(.ajzjp-card.is-paid:not(.is-featured),.monitech-mjm-job-card.is-paid:not(.is-featured)){
    border-width:1.5px!important;
    border-radius:10px!important;
  }
}


/* v3.12.1 - Main Accent is never a job-list frame color.
   Job/archive outlines are neutral and controlled only by Frames & Borders.
   Featured/Sponsored may still use their dedicated frame colors when those
   explicit promotion-frame switches are enabled. */
body :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card::before,
body :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs) .ajzjp-card::after,
body .monitech-mjm-jobs-shortcode .monitech-mjm-job-card::before,
body .monitech-mjm-jobs-shortcode .monitech-mjm-job-card::after{
  display:none!important;
  content:none!important;
  width:0!important;
  background:none!important;
  box-shadow:none!important;
}

/* Ordinary job frames, when enabled, use the neutral border token instead of
   Main Accent. This also overrides layout-pack left/top accent rails. */
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off)
  :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs)
  .ajzjp-card:not(.is-featured):not(.is-paid),
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off)
  .monitech-mjm-jobs-shortcode .monitech-mjm-job-card:not(.is-featured):not(.is-paid){
  border:1px solid var(--ajzjp-border,#dbe3ec)!important;
  border-left-color:var(--ajzjp-border,#dbe3ec)!important;
  border-right-color:var(--ajzjp-border,#dbe3ec)!important;
  border-top-color:var(--ajzjp-border,#dbe3ec)!important;
  border-bottom-color:var(--ajzjp-border,#dbe3ec)!important;
}

/* If a Featured/Sponsored-specific frame is OFF while ordinary job frames are
   ON, it also receives only the neutral ordinary outline. */
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-featured-job-frame-off
  :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs)
  .ajzjp-card.is-featured,
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-sponsored-job-frame-off
  :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs)
  .ajzjp-card.is-paid:not(.is-featured),
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-featured-job-frame-off
  .monitech-mjm-jobs-shortcode .monitech-mjm-job-card.is-featured,
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-sponsored-job-frame-off
  .monitech-mjm-jobs-shortcode .monitech-mjm-job-card.is-paid:not(.is-featured){
  border:1px solid var(--ajzjp-border,#dbe3ec)!important;
  border-left-color:var(--ajzjp-border,#dbe3ec)!important;
  border-right-color:var(--ajzjp-border,#dbe3ec)!important;
  border-top-color:var(--ajzjp-border,#dbe3ec)!important;
  border-bottom-color:var(--ajzjp-border,#dbe3ec)!important;
  background:var(--ajzjp-card,#fff)!important;
  background-image:none!important;
}

/* Archive/list heading frames are neutral too; Main Accent remains available
   for text, buttons, links, badges and other non-frame UI elsewhere. */
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off)
  :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap) :where(.ajzjp-archive-head,.ajzjp-archive-head-banner),
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off)
  .monitech-mjm-jobs-shortcode .monitech-mjm-jobs-head{
  border:1px solid var(--ajzjp-border,#dbe3ec)!important;
  border-left-color:var(--ajzjp-border,#dbe3ec)!important;
  border-right-color:var(--ajzjp-border,#dbe3ec)!important;
  border-top-color:var(--ajzjp-border,#dbe3ec)!important;
  border-bottom-color:var(--ajzjp-border,#dbe3ec)!important;
}

/* Hovering a job must not turn its outline into Main Accent. Dedicated
   Featured/Sponsored frame switches are intentionally excluded from this rule. */
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off)
  :where(.ajzjp-jobs-archive,.ajzjp-shortcode-wrap,.ajzjp-company-profile,.ajzjp-similar-jobs)
  .ajzjp-card:not(.is-featured):not(.is-paid):hover,
body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off)
  .monitech-mjm-jobs-shortcode .monitech-mjm-job-card:not(.is-featured):not(.is-paid):hover{
  border-color:var(--ajzjp-border,#dbe3ec)!important;
}


/* v3.12.3 - definitive job-list frame authority.
   Older layout packs used !important accent rails with greater selector specificity,
   so source order alone could not suppress them. These rules deliberately use a
   stronger direct-list selector. Main Accent is never a job-card frame color. */

/* Pseudo-element rails are retired on job rows in every mode. Dedicated promotion
   frames are full outlines and do not need a rail. */
html body .ajzjp-list > .ajzjp-card::before,
html body .ajzjp-list > .ajzjp-card::after,
html body .monitech-mjm-job-list > .monitech-mjm-job-card::before,
html body .monitech-mjm-job-list > .monitech-mjm-job-card::after{
  display:none!important;
  content:none!important;
  width:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}

/* Master OFF always means no decorative job-card frame, regardless of layout. */
html body.monitech-frames-all-off .ajzjp-list > .ajzjp-card,
html body.monitech-frames-all-off .monitech-mjm-job-list > .monitech-mjm-job-card{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background-image:none!important;
}

/* Job-list frames OFF: normal jobs stay flat. Promotion jobs also stay flat unless
   their own explicit Featured/Sponsored frame switch is ON. */
html body.monitech-frames-job-archive-off .ajzjp-list > .ajzjp-card:not(.is-featured):not(.is-paid),
html body.monitech-frames-job-archive-off .monitech-mjm-job-list > .monitech-mjm-job-card:not(.is-featured):not(.is-paid),
html body.monitech-frames-job-archive-off.monitech-featured-job-frame-off .ajzjp-list > .ajzjp-card.is-featured,
html body.monitech-frames-job-archive-off.monitech-featured-job-frame-off .monitech-mjm-job-list > .monitech-mjm-job-card.is-featured,
html body.monitech-frames-job-archive-off.monitech-sponsored-job-frame-off .ajzjp-list > .ajzjp-card.is-paid:not(.is-featured),
html body.monitech-frames-job-archive-off.monitech-sponsored-job-frame-off .monitech-mjm-job-list > .monitech-mjm-job-card.is-paid:not(.is-featured){
  border:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:0!important;
  outline:0!important;
  box-shadow:none!important;
  background-image:none!important;
}

/* Ordinary Frames ON: use only a neutral outline, never Main Accent. */
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off) .ajzjp-list > .ajzjp-card:not(.is-featured):not(.is-paid),
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off) .monitech-mjm-job-list > .monitech-mjm-job-card:not(.is-featured):not(.is-paid),
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-featured-job-frame-off .ajzjp-list > .ajzjp-card.is-featured,
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-featured-job-frame-off .monitech-mjm-job-list > .monitech-mjm-job-card.is-featured,
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-sponsored-job-frame-off .ajzjp-list > .ajzjp-card.is-paid:not(.is-featured),
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off).monitech-sponsored-job-frame-off .monitech-mjm-job-list > .monitech-mjm-job-card.is-paid:not(.is-featured){
  border:1px solid var(--ajzjp-border,#dbe3ec)!important;
  outline:0!important;
  background-image:none!important;
}

/* Explicit premium frames: full outline only, never a left rail. */
html body:not(.monitech-frames-all-off).monitech-featured-job-frame-on .ajzjp-list > .ajzjp-card.is-featured,
html body:not(.monitech-frames-all-off).monitech-featured-job-frame-on .monitech-mjm-job-list > .monitech-mjm-job-card.is-featured{
  border:2px solid var(--ajzjp-featured-job-frame,#f59e0b)!important;
  border-radius:12px!important;
  outline:0!important;
  box-shadow:0 3px 12px rgba(15,23,42,.055)!important;
  background:var(--ajzjp-card,#fff)!important;
  background-image:none!important;
}
html body:not(.monitech-frames-all-off).monitech-sponsored-job-frame-on .ajzjp-list > .ajzjp-card.is-paid:not(.is-featured),
html body:not(.monitech-frames-all-off).monitech-sponsored-job-frame-on .monitech-mjm-job-list > .monitech-mjm-job-card.is-paid:not(.is-featured){
  border:2px solid var(--ajzjp-sponsored-job-frame,#10b981)!important;
  border-radius:12px!important;
  outline:0!important;
  box-shadow:0 3px 12px rgba(15,23,42,.055)!important;
  background:var(--ajzjp-card,#fff)!important;
  background-image:none!important;
}

/* Hover may change surface/transform, but never resurrect an accent-colored rail. */
html body.monitech-frames-job-archive-off .ajzjp-list > .ajzjp-card:hover,
html body.monitech-frames-job-archive-off .monitech-mjm-job-list > .monitech-mjm-job-card:hover{
  border-left-color:transparent!important;
}
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off) .ajzjp-list > .ajzjp-card:not(.is-featured):not(.is-paid):hover,
html body:not(.monitech-frames-all-off):not(.monitech-frames-job-archive-off) .monitech-mjm-job-list > .monitech-mjm-job-card:not(.is-featured):not(.is-paid):hover{
  border-color:var(--ajzjp-border,#dbe3ec)!important;
}
