/* Express Entry List → "swipeable_list": entries as swipeable slides (Swiper),
   styled to match the Figma testimonial card ("They've Trusted MiLo Group"):
   first column = the quote text (Inter 15px / 1.5, light, full width), the next column(s)
   = the person's name (display font 16px, uppercase, muted blue-grey), with
   the pager dots below. Meant to sit inside the dark quote card (.is-dark) of
   the Milo Feature Cards layout; it also reads fine on light and steel
   sections. Theme tokens come from styles.css. */

/* The block's wrapper carries Bootstrap's .table class (no Bootstrap CSS here) */
#pagewrap .ccm-block-express-entry-list-table {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}
#pagewrap .ccm-block-express-entry-list-table .swiper-container { overflow: hidden; }
#pagewrap .ccm-block-express-entry-list-table .swiper-slide { height: auto; }

/* Slide: one entry. Columns are <span>s, in the order they're set in the block */
#pagewrap .ccm-block-express-entry-list-table .item > span {
  display: block;
  margin: 0;
}

/* Column 1: the quote */
#pagewrap .ccm-block-express-entry-list-table .item > span:first-child {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark-2);
}
/* Rich text from the entry: paragraphs separated by a blank line, as in the design */
#pagewrap .ccm-block-express-entry-list-table .item > span:first-child p { margin: 0 0 1.5em; }
#pagewrap .ccm-block-express-entry-list-table .item > span:first-child p:last-child { margin-bottom: 0; }

/* Column 2: the name. Any further columns (e.g. role / company) sit under it, smaller */
#pagewrap .ccm-block-express-entry-list-table .item > span:nth-child(2) {
  margin-top: 1.5em;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--dark-2);
}
#pagewrap .ccm-block-express-entry-list-table .item > span:nth-child(n+3) {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-2);
}

/* Pager dots: small round dots in the theme's blue, under the text, left-aligned */
#pagewrap .ccm-block-express-entry-list-table .swiper-pagination {
  position: relative;
  bottom: auto;
  left: auto;
  margin: 32px 0 0;
  text-align: left;
  transform: none;
}
#pagewrap .ccm-block-express-entry-list-table .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(81, 99, 116, .45);
  opacity: 1;
}
#pagewrap .ccm-block-express-entry-list-table .swiper-pagination-bullet-active { background: var(--main-lighter); }

/* Dark sections / the dark quote card: light quote text, pale dots */
#pagewrap .is-dark .ccm-block-express-entry-list-table .item > span:first-child { color: var(--main-subtle); }
#pagewrap .is-dark .ccm-block-express-entry-list-table .swiper-pagination-bullet { background: rgba(235, 245, 255, .3); }
#pagewrap .is-dark .ccm-block-express-entry-list-table .swiper-pagination-bullet-active { background: var(--main-lighter); }

/* Steel section: the muted grey isn't readable on #96a9bd */
#pagewrap .section--bg-steel .ccm-block-express-entry-list-table .item > span { color: var(--dark-1); }
#pagewrap .section--bg-steel .ccm-block-express-entry-list-table .swiper-pagination-bullet { background: rgba(23, 24, 25, .35); }
#pagewrap .section--bg-steel .ccm-block-express-entry-list-table .swiper-pagination-bullet-active { background: var(--main-dark); }

/* Keyboard focus on the slides' links */
#pagewrap .ccm-block-express-entry-list-table .item a:focus-visible {
  outline: 2px solid var(--main-lighter);
  outline-offset: 2px;
}

/* Search form (when "Enable Search" is on): keyword field + advanced search link */
#pagewrap .ccm-block-express-entry-list-advanced-search {
  margin-left: 20px;
  white-space: nowrap;
  font-family: var(--font-button);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Little caret that points down when closed and up when open (uses the link colour) */
#pagewrap .ccm-block-express-entry-list-advanced-search::after,
#pagewrap .ccm-block-express-entry-list-advanced-search-open::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  vertical-align: middle;
  border-style: solid;
  border-width: 4px 4px 0 4px;
  border-color: currentColor transparent transparent transparent;
}
#pagewrap .ccm-block-express-entry-list-advanced-search-open::after { border-width: 0 4px 4px 4px; border-color: transparent transparent currentColor transparent; }
#pagewrap .ccm-block-express-entry-list-advanced-search-fields { margin-bottom: 20px; }
