/* ---- FINAL OVERRIDES: compact sidebar + no white backgrounds ---- */

/* Feature image wrappers: force transparency */
.theme-blog-container .theme-blog-cover-img-container,
.theme-blog-container .theme-blog-cover-img-container-inner,
.theme-blog-container .theme-blog-cover-img,
.theme-blog-container .theme-blog-cover-img img,
.theme-blog-container figure,
.theme-blog-container .zpelem-image,
.theme-blog-container .zpspan-img,
.theme-blog-container .zpcol-md-6 .zpelem-image,
.theme-blog-container .zpcol-md-6 figure {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Sidebar containers: transparent background */
.theme-blog-category-column,
.theme-blog-category-container,
.theme-blog-category-part,
.theme-blog-category-list,
.theme-blog-side-menu-link,
.theme-blog-category-heading {
  background: transparent !important;
  box-shadow: none !important;
}

/* Sidebar width fixed at 220px */
.theme-blog-category-column {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  flex: 0 0 220px !important;
  box-sizing: border-box;
  padding-right: 10px;
}

/* ---- Compact font sizing restored ---- */
.theme-blog-category-list {
  font-size: 13px !important;
  padding: 6px 12px !important;   /* breathing room inside */
  margin: 0 0 6px 0 !important;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.theme-blog-side-menu-link {
  font-size: 13px !important;
  padding: 4px 8px !important;
  display: block;
}

.theme-blog-category-count {
  font-size: 12px !important;
  margin-left: 6px !important;
  opacity: 0.7 !important;
}

.theme-blog-category-heading {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 0 5px 0 !important;
  padding: 4px 8px !important;
}

.theme-blog-category-container,
.theme-blog-category-part {
  padding: 2px 0 !important;
  margin-bottom: 6px !important;
}




/* Keep sidebar fixed at 220px */
.theme-blog-category-column {
  flex: 0 0 220px !important;
  max-width: 220px !important;
  min-width: 220px !important;
  padding-right: 12px;
  box-sizing: border-box;
}

/* Let the main column truly fill the remaining space
   (beats .zpcol-md-8 fixed max-width) */
.theme-blog-container-column.zpcol-md-8 {
  flex: 1 1 0% !important;
  max-width: none !important;
  width: auto !important;
  min-width: 0 !important;
}

/* This is the row that holds the list of posts */
.theme-blog-container-column > .zprow {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px;                 /* spacing between cards */
}

/* These are the post “columns” – make each a bit wider */
.theme-blog-container-column > .zprow > .zpcol-md-6 {
  flex: 1 1 48% !important;  /* wider than the old 45–50% */
  max-width: 48% !important;
  min-width: 300px;          /* guardrail on smaller screens */
  box-sizing: border-box;
}

/* Optional: on very wide screens, allow 3 across if you want */
@media (min-width: 1400px) {
  .theme-blog-container-column > .zprow > .zpcol-md-6 {
    flex: 1 1 31% !important;
    max-width: 31% !important;
  }
}

/* Responsive: below ~1100px, let the sidebar stack */
@media (max-width: 1100px) {
  .zprow { flex-wrap: wrap; }
  .theme-blog-category-column,
  .theme-blog-container-column { flex: 1 1 100% !important; max-width: 100% !important; }
}




/* iOS Safari + small screens: nuke white backgrounds around cover images */
@media (max-width: 768px) {
  /* Target the exact cover area and common wrappers */
  .theme-blog-container .theme-blog-cover-img-container,
  .theme-blog-container .theme-blog-cover-img-container-inner,
  .theme-blog-container .theme-blog-cover-img,
  .theme-blog-container .theme-blog-cover-img img,
  .theme-blog-container .theme-blog-part a,
  .theme-blog-container figure,
  .theme-blog-container picture,
  .theme-blog-container .zpelem-image,
  .theme-blog-container .zpspan-img {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  /* Make iOS paint cleanly inside rounded parents */
  .theme-blog-container .theme-blog-cover-img-container,
  .theme-blog-container .theme-blog-cover-img-container-inner {
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* fixes white bleed with border-radius */
    background-clip: padding-box;
  }

  /* Remove the iOS tap highlight “box” effect on image links */
  .theme-blog-container .theme-blog-part a {
    -webkit-tap-highlight-color: transparent;
  }

  /* Avoid inline-block gaps and ensure the image fills its box */
  .theme-blog-container .theme-blog-cover-img img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* Optional: hard iOS Safari feature query to ensure dominance on WebKit */
@supports (-webkit-touch-callout: none) {
  .theme-blog-container figure,
  .theme-blog-container picture,
  .theme-blog-container .theme-blog-cover-img-container,
  .theme-blog-container .theme-blog-cover-img-container-inner,
  .theme-blog-container .theme-blog-part a {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }
}

/* ZOHO RECRUIT JOBS SITE CSS */

/* === SECTION WRAPPER – enforce dark background, kill inline white === */
.zpelement-codesnippet,
.zpelement-codesnippet .zpsnippet-container,
.zpelement-codesnippet .embed_jobs_head,
.zpelement-codesnippet .embed_jobs_head2,
.zpelement-codesnippet .embed_jobs_head3,
.zpelement-codesnippet #rec_job_listing_div {
  background: #0b0b0b !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove any top/bottom dividers */
.zpelement-codesnippet + .zpelement-divider,
.zpelement-divider + .zpelement-codesnippet {
  background: transparent !important;
  border: none !important;
}

/* Force override of any inline white backgrounds */
.embed_jobs_with_style_1[style*="background"],
.embed_jobs_with_style_1 .embed_jobs_head[style*="background"],
.embed_jobs_with_style_1 .embed_jobs_head2[style*="background"],
.embed_jobs_with_style_1 .embed_jobs_head3[style*="background"],
.embed_jobs_with_style_1 #rec_job_listing_div[style*="background"],
.embed_jobs_with_style_1 ul.rec-job-info[style*="background"] {
  background: #0b0b0b !important;
}

/* === GROUP & JOB LIST PANEL === */
.embed_jobs_with_style_1 #rec_job_listing_div .rec-group {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info,
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info:hover {
  background: #0f2a36 !important;
  border: 1px solid #22414f !important;
  border-radius: 14px !important;
  padding: 5px !important;
  margin: 5px auto !important;
  max-width: 1100px !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 5px !important;
}

/* === JOB CARDS === */
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info > li {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 5px !important;
  padding: 5px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border-color: #2c5d6f !important;
}
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info > li:focus-within {
  outline: 2px solid #ff9f43;
  outline-offset: 2px;
}

/* === START OF FIX === */
/* 1) Make the job list the top layer */
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info {
  position: relative !important;
  z-index: 10 !important;
}

/* 2) Each card is its own stacking context; hovered card above neighbours */
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info > li {
  position: relative !important;
  z-index: 0;
}
.embed_jobs_with_style_1 #rec_job_listing_div ul.rec-job-info > li:hover {
  z-index: 1;                            /* keep hover above siblings only */
  /* If problems persist, comment out the next line completely */
  transform: translateY(-2px);
}

/* 3) The title link must always be the top child inside the card */
.embed_jobs_with_style_1 #rec_job_listing_div .rec-job-title a {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

/* 4) Anything above the list should not overlay/catch clicks */
.embed_jobs_with_style_1 #rec_job_listing_div .embed_jobs_head,
.embed_jobs_with_style_1 #rec_job_listing_div .embed_jobs_head2,
.embed_jobs_with_style_1 #rec_job_listing_div .embed_jobs_head3,
.embed_jobs_with_style_1 #rec_job_listing_div .rec-grp-heading,
.embed_jobs_with_style_1 #rec_job_listing_div .count,
.embed_jobs_with_style_1 #rec_job_listing_div .badge {
  position: relative !important;
  z-index: 0 !important;                 /* ensure they sit below the list */
  /* If these elements are purely decorative, you can also uncomment: */
  /* pointer-events: none !important; */
}

/* 5) Kill decorative overlays that might span across the list */
.embed_jobs_with_style_1 #rec_job_listing_div *::before,
.embed_jobs_with_style_1 #rec_job_listing_div *::after {
  pointer-events: none !important;
}



/* === END OF FIX === */


/* === JOB TITLE LINKS === */
.embed_jobs_with_style_1 #rec_job_listing_div .rec-job-title a {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.embed_jobs_with_style_1 #rec_job_listing_div .rec-job-title a:hover {
  color: #ff9f43 !important;
}

/* === JOB META TEXT === */
.embed_jobs_with_style_1 #rec_job_listing_div [class*="Job_Type"],
.embed_jobs_with_style_1 #rec_job_listing_div [class*="Location"],
.embed_jobs_with_style_1 #rec_job_listing_div .posted-date {
  color: #e0e8ed !important;
  font-weight: 400 !important;
}

/* === COUNT BADGES AND GROUP HEADING TEXT (e.g. "Temporary 2 Jobs") === */
.embed_jobs_with_style_1 #rec_job_listing_div .rec-grp-heading,
.embed_jobs_with_style_1 #rec_job_listing_div .count,
.embed_jobs_with_style_1 #rec_job_listing_div .badge {
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid #2c5d6f !important;
  background: transparent !important;
  border-radius: 9999px !important;
  padding: 4px 8px !important;
  font-size: 0.8rem !important;
}

/* === BUTTONS (Apply / View) === */
.embed_jobs_with_style_1 #rec_job_listing_div .btn,
.embed_jobs_with_style_1 #rec_job_listing_div .apply-btn,
.embed_jobs_with_style_1 #rec_job_listing_div input[type="submit"] {
  background: #ff9f43 !important;
  color: #111 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 6px 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
.embed_jobs_with_style_1 #rec_job_listing_div .btn:hover {
  filter: brightness(0.9) !important;
}

/* === FILTER DROPDOWN === */
.embed_jobs_with_style_1 #rec_job_listing_div .rec_filter_cls {
  background: transparent !important;
  padding: 0 !important;
}
.embed_jobs_with_style_1 #rec_job_listing_div .rec_filter_cls select {
  background: #0c2230 !important;
  color: #ffffff !important;
  border: 1px solid #22414f !important;
  border-radius: 9999px !important;
  padding: 0 12px !important;
  height: 36px !important;
  line-height: 36px !important;
  box-shadow: none !important;
}

/* === TYPOGRAPHY GENERAL CLEANUP === */
.embed_jobs_with_style_1 h1,
.embed_jobs_with_style_1 h2,
.embed_jobs_with_style_1 h3 {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.embed_jobs_with_style_1 p,
.embed_jobs_with_style_1 span,
.embed_jobs_with_style_1 label {
  color: #cfd6de !important;
}

/* === REMOVE UNNEEDED DIVIDERS AND BOX SHADOWS === */
.embed_jobs_with_style_1 #rec_job_listing_div hr,
.embed_jobs_with_style_1 #rec_job_listing_div .divider,
.embed_jobs_with_style_1 .embed_jobs_head2,
.embed_jobs_with_style_1 .embed_jobs_head3 {
  border: none !important;
  box-shadow: none !important;
}

/* === INHERITANCE CLEANUP === */
.embed_jobs_with_style_1 *,
.embed_jobs_with_style_1 *:before,
.embed_jobs_with_style_1 *:after {
  background: transparent !important;
  color: inherit !important;
}

/* === FIX rogue white wrapper === */
.embed_jobs_head .embed_jobs_with_style_1,
.embed_jobs_head .embed_jobs_with_style_1[style*="background"] {
  background: #0b0b0b !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

/* ==== FORCE DARK WRAPPERS ==== */
.embed_jobs_with_style_1,
.embed_jobs_with_style_1 .embed_jobs_head,
.embed_jobs_with_style_1 .embed_jobs_head2,
.embed_jobs_with_style_1 .embed_jobs_head3 {
  background: #0b0b0b !important;   /* black background */
  color: #ffffff !important;        /* light text */
  border: none !important;
  box-shadow: none !important;
}

/* If Zoho inlines white bg styles on those wrappers, kill them */
.embed_jobs_with_style_1[style*="background"],
.embed_jobs_with_style_1 .embed_jobs_head[style*="background"],
.embed_jobs_with_style_1 .embed_jobs_head2[style*="background"],
.embed_jobs_with_style_1 .embed_jobs_head3[style*="background"] {
  background: #0b0b0b !important;
}



