/* Two-column TOC band */
.cde-jobseekers-toc--two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 30px;
}

/* Stack to one column on small screens */
@media (max-width: 768px) {
  .cde-jobseekers-toc--two-column {
    grid-template-columns: 1fr;
  }
}

/* Base list reset */
.ul-arrows-down {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.ul-arrows-down > li {
  position: relative;
  padding-left: 1.75rem; /* space for icon */
  margin-bottom: 0.5rem;
}

/* Down arrow icon via SVG mask */
.ul-arrows-down > li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  position: absolute;
  left: 0;
  top: 0.6rem;
  background-color: #0580a3; /* icon color */

  /* Font Awesome "arrow-down" (solid) SVG path as a data URI */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 306.7V32c0-17.7-14.3-32-32-32s-32 14.3-32 32v274.7L86.6 201.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 306.7V32c0-17.7-14.3-32-32-32s-32 14.3-32 32v274.7L86.6 201.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Hero Page section headings like "Help Finding a Job:" */
.node--type-hero-page
.field--name-body
strong.f-very-large {
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  display: inline;

  font-family: "Open Sans", Helvetica, Freesans, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 27.2px;

  margin-bottom: 0;
  width: auto;
  height: auto;

  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-size-adjust: 100%;
}

/* Reset only the content ULs (not the TOC arrow lists) */
.node--type-hero-page .field--name-body .cde-resources-jobseekers-detail
  :not(.cde-jobseekers-toc) > ul:not(.ul-arrows-down) {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Ensure li is a positioning context and has room for the dot */
.node--type-hero-page .field--name-body .cde-resources-jobseekers-detail
  :not(.cde-jobseekers-toc) > ul:not(.ul-arrows-down) > li {
  position: relative !important;
  padding-left: 1.5rem !important;
}

/* The dot */
.node--type-hero-page .field--name-body .cde-resources-jobseekers-detail
  :not(.cde-jobseekers-toc) > ul:not(.ul-arrows-down) > li::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 1em !important;
  transform: translateY(-50%) !important;

  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: rgb(5, 128, 163) !important;
}

/* Content list typography (exclude the TOC arrow lists) */
.node--type-hero-page .field--name-body .cde-resources-jobseekers-detail
  :not(.cde-jobseekers-toc) > ul:not(.ul-arrows-down) > li {
  display: block;
  color: rgb(51, 51, 51);
  font-family: "Open Sans", Helmet, Freesans, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.2px;

  overflow-wrap: break-word;
  hyphens: auto;

  /* spacing between bullets (your WP value) */
  margin: 0 0 12px 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-size-adjust: 100%;
}

/************************************************************
 * EMPLOYERS DETAIL PAGE – LIST STYLES
 * Scope: .cde-resources-employers-detail
 ************************************************************/

/* ---------- 1) TOC: arrow-down list (your jump links) ---------- */
.node--type-hero-page .field--name-body .cde-resources-employers-detail > ul.ul-arrows-down {
  list-style: none;
  padding-left: 0;
  margin: 0 0 2rem 0;
}

.node--type-hero-page .field--name-body .cde-resources-employers-detail > ul.ul-arrows-down > li {
  position: relative;
  padding-left: 1.75rem; /* room for icon */
  margin: 0 0 0.75rem 0;
}

.node--type-hero-page .field--name-body .cde-resources-employers-detail > ul.ul-arrows-down > li::before {
  content: "\f063";               /* Font Awesome arrow-down */
  font-family: "FontAwesome";     /* or "Font Awesome 5 Free" depending on your setup */
  font-weight: 900;               /* harmless if FA4; required for some FA5 solids */
  font-size: 16px;
  line-height: 1;
  color: #0580a3;
  position: absolute;
  left: 0;
  top: 1.1em;
  transform: translateY(-50%);
}

/* ---------- 2) Content ULs: dot bullets (exclude the TOC) ---------- */
.node--type-hero-page .field--name-body .cde-resources-employers-detail ul:not(.ul-arrows-down) {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Make each LI hold a custom dot */
.node--type-hero-page .field--name-body .cde-resources-employers-detail ul:not(.ul-arrows-down) > li {
  position: relative;
  padding-left: 1.5rem;  /* space for dot */
}

/* Dot marker */
.node--type-hero-page .field--name-body .cde-resources-employers-detail ul:not(.ul-arrows-down) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgb(5, 128, 163);
}

/* ---------- 3) Content LI typography + spacing ---------- */
.node--type-hero-page .field--name-body .cde-resources-employers-detail ul:not(.ul-arrows-down) > li {
  display: block;
  color: rgb(51, 51, 51);
  font-family: "Open Sans", Helmet, Freesans, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.2px;

  overflow-wrap: break-word;
  hyphens: auto;

  margin: 0 0 12px 0; /* space between items */
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

/* Keep links from changing line-height/size */
.node--type-hero-page .field--name-body .cde-resources-employers-detail ul:not(.ul-arrows-down) > li a {
  font-size: inherit;
  line-height: inherit;
}

/* ---------- 4) Optional: nested ULs tighter (inside a content LI) ---------- */
.node--type-hero-page .field--name-body .cde-resources-employers-detail ul:not(.ul-arrows-down) ul > li {
  margin-bottom: 12px;
}

/************************************************************
 * JOB SEEKERS & EMPLOYEES – TWO-COLUMN LIST + PAGE ICONS
 * Scoped to .cde-resources to avoid global impact
 ************************************************************/

/* Two-column layout */
.cde-resources-jobseekers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 1.5rem;
}

/* Stack columns on smaller screens */
@media (max-width: 768px) {
  .cde-resources-jobseekers {
    grid-template-columns: 1fr;
  }
}

/* Reset list styling */
.cde-resources-jobseekers .ul-pages {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* List item spacing and icon offset */
.cde-resources-jobseekers .ul-pages li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

/* Document (page) outline */
.cde-resources-jobseekers .ul-pages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 16px;
  height: 18px;
  border: 2px solid #0580a3;
  border-radius: 2px;
  box-sizing: border-box;
  background: #fff;
}

/* Folded corner – repositioned to overlap page */
.cde-resources-jobseekers .ul-pages li::after {
  content: "";
  position: absolute;
  left: 8px;        /* moved left to overlap page */
  top: 0.5em;;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-top: 6px solid #0580a3;
}

/* Optional: link polish */
.cde-resources-jobseekers .ul-pages a {
  text-decoration: none;
}

.cde-resources-jobseekers .ul-pages a:hover {
  text-decoration: underline;
}

/************************************************************
 * EMPLOYER RESOURCES – HORIZONTAL CARD GRID
 * Scoped to .cde-resources to avoid global impact
 ************************************************************/

.cde-resources-employers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Individual cards */
.cde-resources-employers-grid .vc-col-callout-dark-blue {
  background-color: #05548d;
  border-radius: 4px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Ensure <p> doesn’t add weird spacing */
.cde-resources-employers-grid .vc-col-callout-dark-blue p {
  margin: 0;
}

/* Link styling */
.cde-resources-employers-grid .vc-col-callout-dark-blue a {
  color: #ffffff !important;
  text-decoration: none;
  display: block;
}

/* Icon spacing */
.cde-resources-employers-grid .vc-col-callout-dark-blue img {
  display: inline-block;
  margin-bottom: 0.5rem;
  max-width: 64px;
  height: auto;
}

/* Hover / focus states */
.cde-resources-employers-grid .vc-col-callout-dark-blue:hover,
.cde-resources-employers-grid .vc-col-callout-dark-blue:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Improve text readability */
.cde-resources-employers-grid .vc-col-callout-dark-blue a:hover {
  text-decoration: underline;
}

/************************************************************
 * NODE 302 — Keep default black dot bullets, but body-text typography
 ************************************************************/

/* Ensure default bullets show */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  ul {
  list-style: disc !important;
  padding-left: 1.25rem !important;
  margin-left: 0 !important;
}

/* Typography for list items = body text */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  ul li {
  box-sizing: border-box;
  display: list-item; /* IMPORTANT: preserves bullet marker */

  color: rgb(51, 51, 51); /* body text */
  font-family: "Open Sans", Helmet, Freesans, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.2px;

  overflow-wrap: break-word;
  hyphens: none;
  text-align: start;
  text-size-adjust: 100%;

  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Bullet marker color ONLY (text stays body gray) */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  ul li::marker {
  color: #000;
}

/* If anything is injecting fake markers, kill them */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  ul li::before,
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  ul li::after {
  content: none !important;
}

/************************************************************
 * NODE 302 — Paragraph spacing + H5 heading weight
 ************************************************************/

/* Kill top margin on paragraphs (but keep bottom spacing) */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  p {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

/* Optional: keep consistent bottom spacing (body rhythm) */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  p {
  margin-block-end: 36px;
}

/* H5 headings = bold, body-aligned typography */
article[data-history-node-id="302"]
  .block-field-blocknodehero-pagebody
  .field--name-body
  .field__item
  h5 {
  font-family: "Open Sans", Helmet, Freesans, sans-serif;
  font-size: 16px;          /* same as body */
  font-weight: 700;         /* bold */
  line-height: 27.2px;
  color: rgb(51, 51, 51);

  margin-block-start: 36px; /* separation from previous content */
  margin-block-end: 12px;  /* tight to paragraph below */
}
