/* ==========================================================================
   Talentskape — Resources pages
   Loaded only on /resources/ pages. Tokens remapped to the site's light
   theme (Lato, purple #2E0641, green #00CC83 / #00875a). Every rule stays
   scoped to body.page-resources or a .tskpe-res-* class.
   ========================================================================== */

body.page-resources {
  --font-heading: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-main: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --color-black: #ffffff;
  --color-white: #1a1a1a;
  --color-lime: #00875a;
  --color-ink: #ffffff;
  --color-charcoal: #f8f9fa;
  --color-grey: #545b66;
  --color-border: #e5e7eb;
  --color-border-card: #e5e7eb;
  --color-text-cool: #545b66;
  --color-purple: #2e0641;
  --color-green: #00cc83;
  --color-chip-bg: #f1eafd;
  --color-chip-text: #6f42c1;
  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-64: 4rem;
  --space-80: 5rem;
  --btn-height: 3rem;
  --stroke: 1px;
  --duration: 0.3s;
  --ease: ease;
  --font-size-12: 0.75rem;
  --font-size-14: 0.875rem;
  --font-size-16: 1rem;
  --font-size-20: 1.25rem;
  --letter-spacing-btn: 0;
  --radius: 0;
  font-family: var(--font-body);
  background-color: #ffffff;
  color: #1a1a1a;
}

body.page-resources .tskpe-res-container,
body.page-resources .pq-container {
  width: 100%;
  max-width: calc(1296px + 2 * clamp(1rem, 4vw, 4.5rem));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4.5rem);
}

body.page-resources .tskpe-res-hero {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

body.page-resources .display,
body.page-resources .display-sm,
body.page-resources .display-hero {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #1a1a1a;
  line-height: 1.2;
}

body.page-resources .display-hero { font-size: clamp(2.125rem, 3.4vw + 1rem, 3.5rem); }
body.page-resources .display,
body.page-resources .display-sm { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.75rem); }

body.page-resources .heading-mix .accent,
body.page-resources .text-lime,
body.page-resources .accent.text-lime {
  color: #00875a;
  font-style: normal;
  text-transform: none;
}

body.page-resources .lead,
body.page-resources .subhead {
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.625;
  color: #545b66;
}

body.page-resources .title,
body.page-resources .title-lg {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  text-transform: none;
}
body.page-resources .title { font-size: 1.125rem; }
body.page-resources .title-lg { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }

body.page-resources .meta,
body.page-resources .text-meta,
body.page-resources .body {
  font-family: var(--font-body);
  color: #545b66;
  letter-spacing: 0;
  text-transform: none;
}
body.page-resources .meta,
body.page-resources .text-meta { font-size: 0.875rem; }
body.page-resources .body { font-size: 1rem; line-height: 1.625; color: #1a1a1a; }

body.page-resources .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
}
body.page-resources .btn-primary,
body.page-resources .btn-solid,
body.page-resources .btn-primary-custom {
  background: #00875a;
  color: #fff;
}
body.page-resources .btn-primary:hover,
body.page-resources .btn-solid:hover,
body.page-resources .btn-primary-custom:hover { background: #006e49; color: #fff; }
body.page-resources .btn-secondary,
body.page-resources .btn-secondary-custom {
  background: #2e0641;
  color: #fff;
}
body.page-resources .btn-secondary:hover,
body.page-resources .btn-secondary-custom:hover { background: #230739; color: #fff; }
body.page-resources .btn-arrow::after { content: none; }

body.page-resources .card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}
body.page-resources .hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
body.page-resources .hover-lift:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1); }

body.page-resources .form-control {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 1rem;
}
body.page-resources .form-control:focus {
  outline: 3px solid #00cc83;
  outline-offset: 0;
  border-color: #00cc83;
}
body.page-resources .form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2e0641;
}

body.page-resources .tskpe-res-kicker,
body.page-resources .tskpe-res-badge,
body.page-resources .tskpe-res-chip {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: #f1eafd;
  color: #6f42c1;
  font-size: 0.875rem;
  font-weight: 700;
}

body.page-resources .tskpe-res-utility { padding: 4rem 0 5rem; }
body.page-resources .tskpe-res-utility__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
body.page-resources .tskpe-res-title { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.75rem); font-weight: 700; color: #1a1a1a; }
body.page-resources .tskpe-res-lead { color: #545b66; font-size: 1.125rem; max-width: 40rem; }


body.page-resources {
  background-color: var(--color-black);
}

body.page-resources-detail {
  overflow-x: clip;
}

.tskpe-res .tskpe-res-icon {
  display: inline-block;
  flex: none;
  fill: none;
  stroke: currentColor;
}

/* --- Hero ---------------------------------------------------------------- */

.tskpe-res-hero {
  padding-top: 2.5rem;
  padding-bottom: var(--space-40);
}

.tskpe-res-hero__kicker {
  margin-bottom: var(--space-16);
}

.tskpe-res-hero__title {
  max-width: 1100px;
  color: var(--color-white);
}

/* The site token is a fixed -2.822px (tuned for 60px). Scale it with the font
   so words do not run together when the size drops on tablets and phones. */
.tskpe-res-hero__title,
.tskpe-res-detail__title,
.tskpe-res-related__title {
  letter-spacing: -0.047em;
}

.tskpe-res-hero__sub {
  max-width: 820px;
  margin-top: var(--space-24);
  line-height: 1.35;
}

/* --- Category pill bar --------------------------------------------------- */

.tskpe-res-pills {
  position: relative;
  margin-top: var(--space-48);
}

.tskpe-res-pills__track {
  display: flex;
  gap: var(--space-8);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px;
}

.tskpe-res-pills__track::-webkit-scrollbar {
  display: none;
}

.tskpe-res-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-height: var(--btn-height);
  padding: var(--space-12) var(--space-16);
  border: var(--stroke) solid var(--color-border-card);
  color: var(--color-text-cool);
  font-size: var(--font-size-12);
  line-height: 1;
  letter-spacing: var(--letter-spacing-btn);
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.tskpe-res-pill:hover {
  border-color: var(--color-lime);
  color: var(--color-lime);
}

.tskpe-res-pill.is-active,
.tskpe-res-pill.is-active:hover {
  background-color: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-ink);
}

.tskpe-res-pills__nav {
  position: absolute;
  top: 2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-height);
  height: var(--btn-height);
  background-color: var(--color-black);
  border: var(--stroke) solid var(--color-border);
  color: var(--color-text-cool);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.tskpe-res-pills__nav:hover {
  background-color: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-ink);
}

.tskpe-res-pills__nav[hidden] {
  display: none;
}

.tskpe-res-pills__nav--prev {
  left: 0;
}

.tskpe-res-pills__nav--next {
  right: 0;
}

.tskpe-res-pills::before,
.tskpe-res-pills::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity var(--duration) var(--ease);
}

.tskpe-res-pills::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-black) 40%, rgba(255, 255, 255, 0));
}

.tskpe-res-pills::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-black) 40%, rgba(255, 255, 255, 0));
}

.tskpe-res-pills.is-fade-left::before,
.tskpe-res-pills.is-fade-right::after {
  opacity: 1;
}

/* --- Hub layout + filters ------------------------------------------------ */

.tskpe-res-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-40);
  align-items: start;
  padding-bottom: var(--space-80);
}

.tskpe-res-main--full {
  padding-bottom: var(--space-80);
}

.tskpe-res-filter {
  position: sticky;
  top: 110px;
  padding: var(--space-24);
}

.tskpe-res-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: var(--color-white);
}

.tskpe-res-filter__head::-webkit-details-marker {
  display: none;
}

.tskpe-res-filter__head .title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tskpe-res-filter__toggle::before {
  content: "+";
  font-size: var(--font-size-20);
  color: var(--color-lime);
}

.tskpe-res-filter[open] .tskpe-res-filter__toggle::before {
  content: "−";
}

.tskpe-res-filter__form {
  margin-top: var(--space-24);
}

.tskpe-res-filter__group {
  margin: var(--space-24) 0 0;
  padding: 0;
  border: 0;
}

.tskpe-res-filter__group legend {
  float: none;
  width: auto;
  padding: 0;
  font-family: var(--font-body);
}

.tskpe-res-check {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin: 0;
  padding: var(--space-8) 0;
  font-size: var(--font-size-14);
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-white);
  cursor: pointer;
}

.tskpe-res-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tskpe-res-check__box {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: var(--stroke) solid var(--color-border-muted);
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.tskpe-res-check:hover .tskpe-res-check__box {
  border-color: var(--color-lime);
}

.tskpe-res-check input:checked + .tskpe-res-check__box {
  background-color: var(--color-lime);
  border-color: var(--color-lime);
}

.tskpe-res-check input:checked + .tskpe-res-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--color-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tskpe-res-check input:focus-visible + .tskpe-res-check__box {
  outline: 2px solid var(--color-lime);
  outline-offset: 2px;
}

.tskpe-res-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

/* --- Grid + cards -------------------------------------------------------- */

.tskpe-res-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-20);
}

.tskpe-res-card {
  display: flex;
  flex-direction: column;
  transition:
    transform var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.tskpe-res-card:hover,
.tskpe-res-card:focus-within {
  border-color: var(--color-lime);
}

.tskpe-res-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-ink);
}

.tskpe-res-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.tskpe-res-card:hover .tskpe-res-card__media img {
  transform: scale(1.04);
}

.tskpe-res-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-lime);
}

.tskpe-res-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-12);
  padding: var(--space-20);
}

.tskpe-res-card__badge {
  color: var(--color-lime);
}

.tskpe-res .tskpe-res-card__title {
  font-size: var(--font-size-20);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-white);
}

.tskpe-res-card__title a:hover {
  color: var(--color-lime);
}

.tskpe-res-card__excerpt {
  color: var(--color-grey);
}

.tskpe-res-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-16);
  margin-top: auto;
  padding-top: var(--space-12);
  border-top: var(--stroke) solid var(--color-border-card);
  color: var(--color-grey);
}

/* --- Empty states + pagination ------------------------------------------ */

.tskpe-res-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-48);
  border: var(--stroke) solid var(--color-border-card);
  background-color: var(--color-charcoal);
}

.tskpe-res-empty .title-lg {
  color: var(--color-white);
}

.tskpe-res-empty .body {
  color: var(--color-grey);
  margin-bottom: var(--space-8);
}

.tskpe-res-listfoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  margin-top: var(--space-40);
}

.tskpe-res-listfoot__count {
  color: var(--color-grey);
}

.tskpe-res-listfoot__count strong {
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
}

.tskpe-res-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
}

.tskpe-res-page {
  min-width: var(--btn-height);
  padding-inline: var(--space-14);
}

.tskpe-res-page.is-disabled {
  opacity: var(--opacity-muted);
  pointer-events: none;
}

.tskpe-res-page--dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey);
}

/* --- Breadcrumb + detail header ----------------------------------------- */

.tskpe-res-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-header) + 1);
  height: 2px;
  pointer-events: none;
}

.tskpe-res-progress i {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--color-lime);
}

.tskpe-res-breadcrumb {
  padding-top: 140px;
}

.tskpe-res-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  color: var(--color-grey);
}

.tskpe-res-breadcrumb li + li::before {
  content: "/";
  margin-right: var(--space-8);
  color: var(--color-border-muted);
}

.tskpe-res-breadcrumb li[aria-current] {
  max-width: 40ch;
  overflow: hidden;
  color: var(--color-white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tskpe-res-detail {
  padding-top: var(--space-32);
  padding-bottom: var(--space-80);
}

.tskpe-res-detail__head {
  max-width: 1100px;
  margin-bottom: var(--space-40);
}

.tskpe-res-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-20);
  color: var(--color-lime);
}

.tskpe-res .tskpe-res-detail__title {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.tskpe-res-detail__excerpt {
  max-width: 900px;
  margin-top: var(--space-24);
  line-height: 1.35;
}

.tskpe-res-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-24);
  margin-top: var(--space-24);
  color: var(--color-grey);
}

.tskpe-res-detail__meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: var(--space-24);
  vertical-align: middle;
  background-color: var(--color-lime);
  transform: translateX(-12px);
}

/* --- Detail grid + rail -------------------------------------------------- */

.tskpe-res-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-48);
  align-items: start;
}

.tskpe-res-detail--rail-left .tskpe-res-detail__layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

.tskpe-res-detail--rail-left .tskpe-res-rail {
  order: -1;
}

.tskpe-res-detail__layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
}

.tskpe-res-detail--wide .tskpe-res-detail__head,
.tskpe-res-detail--wide .tskpe-res-detail__layout--single {
  margin-inline: auto;
}

.tskpe-res-detail--wide .tskpe-res-detail__head {
  max-width: 880px;
}

.tskpe-res-detail--focus .tskpe-res-detail__layout--single,
.tskpe-res-detail--focus .tskpe-res-detail__head {
  max-width: 740px;
  margin-inline: auto;
}

.tskpe-res-detail--focus .tskpe-res-prose {
  font-size: 18px;
}

.tskpe-res-banner {
  margin: 0 0 var(--space-32);
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tskpe-res-banner--bleed {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-bottom: var(--space-48);
  aspect-ratio: auto;
  height: min(62vh, 640px);
  border: 0;
}

.tskpe-res-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  margin: 0 0 var(--space-48);
  overflow: hidden;
  border: var(--stroke) solid var(--color-border-card);
  background-color: var(--color-charcoal);
}

.tskpe-res-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.04);
}

.tskpe-res-cover.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.92) 78%);
}

.tskpe-res-cover__body {
  position: relative;
  z-index: 1;
  padding: var(--space-48);
}

.tskpe-res-cover .tskpe-res-detail__head {
  margin-bottom: 0;
}

.tskpe-res-cover .tskpe-res-detail__excerpt {
  color: rgba(245, 245, 240, 0.82);
}

.tskpe-res-rail {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.tskpe-res-rail__card {
  padding: var(--space-20);
}

.tskpe-res-rail__title {
  margin-bottom: var(--space-12);
  color: var(--color-lime);
}

.tskpe-res-rail__more ul {
  display: flex;
  flex-direction: column;
}

.tskpe-res-rail__more li {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-12) 0;
  border-bottom: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-rail__more li a {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-14);
  line-height: 1.35;
  color: var(--color-white);
}

.tskpe-res-rail__more li a:hover,
.tskpe-res-rail__all:hover {
  color: var(--color-lime);
}

.tskpe-res-rail__more li .meta {
  color: var(--color-grey);
}

.tskpe-res-rail__all {
  display: inline-block;
  margin-top: var(--space-12);
  color: var(--color-white);
}

.tskpe-res-search {
  display: flex;
}

.tskpe-res-search .form-control {
  min-width: 0;
  border-right: 0;
}

.tskpe-res-search .btn {
  flex: none;
  width: var(--btn-height);
  padding: 0;
}

/* --- Table of contents --------------------------------------------------- */

.tskpe-res-toc {
  padding: var(--space-20);
}

.tskpe-res-toc__title {
  cursor: pointer;
  list-style: none;
  font-size: var(--font-size-11);
  letter-spacing: var(--letter-spacing-meta);
  text-transform: uppercase;
  color: var(--color-lime);
}

.tskpe-res-toc__title::-webkit-details-marker {
  display: none;
}

.tskpe-res-toc__title::after {
  content: "+";
  float: right;
  color: var(--color-white);
}

.tskpe-res-toc[open] .tskpe-res-toc__title::after {
  content: "−";
}

.tskpe-res-toc__list {
  margin-top: var(--space-12);
}

.tskpe-res-toc__list a {
  display: block;
  padding: 6px 0 6px var(--space-12);
  border-left: 2px solid var(--color-border-card);
  font-size: var(--font-size-14);
  line-height: 1.4;
  color: var(--color-grey);
}

.tskpe-res-toc__list a:hover,
.tskpe-res-toc__list a.is-active {
  border-left-color: var(--color-lime);
  color: var(--color-white);
}

.tskpe-res-toc__list a.is-active {
  color: var(--color-lime);
}

.tskpe-res-toc__sublist a {
  padding-left: var(--space-24);
  font-size: var(--font-size-13);
}

.tskpe-res-readtools {
  display: grid;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.tskpe-res-toc--multi .tskpe-res-toc__list {
  columns: 2;
  column-gap: var(--space-24);
}

.tskpe-res-toc--multi .tskpe-res-toc__list > li {
  break-inside: avoid;
}

/* --- Focus bar, summary, chips, media ----------------------------------- */

.tskpe-res-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px var(--space-12);
  border: var(--stroke) solid var(--color-border-card);
  color: var(--color-grey);
  white-space: nowrap;
}

a.tskpe-res-chip:hover,
a.tskpe-res-chip.is-active {
  border-color: var(--color-lime);
  color: var(--color-lime);
}

.tskpe-res-focus-nav {
  position: sticky;
  top: 72px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
  padding: var(--space-12) 0;
  background-color: rgba(10, 10, 10, 0.94);
  border-bottom: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-focus-nav__label {
  flex: none;
  color: var(--color-lime);
}

.tskpe-res-focus-nav__track {
  display: flex;
  gap: var(--space-8);
  overflow-x: auto;
  scrollbar-width: none;
}

.tskpe-res-summary {
  margin-bottom: var(--space-32);
  padding: var(--space-24);
  border-left: 2px solid var(--color-lime);
}

.tskpe-res-summary__label {
  margin-bottom: var(--space-8);
}

.tskpe-res-summary__text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-white);
}

.tskpe-res-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.tskpe-res-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: var(--space-32);
  border: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tskpe-res-audio {
  margin-bottom: var(--space-32);
  padding: var(--space-16);
}

.tskpe-res-audio audio {
  display: block;
  width: 100%;
}

.tskpe-res-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-bottom: var(--space-32);
}

/* --- Prose (article body) ------------------------------------------------ */

.tskpe-res-prose {
  font-size: var(--font-size-16);
  line-height: 1.75;
  color: rgba(245, 245, 240, 0.88);
}

.tskpe-res-prose > * + * {
  margin-top: 1.1em;
}

.tskpe-res-prose h2,
.tskpe-res-prose h3,
.tskpe-res-prose h4 {
  scroll-margin-top: 120px;
  color: var(--color-white);
}

.tskpe-res-prose h2 {
  margin-top: 2em;
  font-size: var(--font-size-30);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-title);
}

.tskpe-res-prose h3 {
  margin-top: 1.6em;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-21);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
}

.tskpe-res-prose h4 {
  margin-top: 1.4em;
  font-size: 18px;
}

.tskpe-res-prose > :first-child {
  margin-top: 0;
}

.tskpe-res-prose [id] {
  scroll-margin-top: 120px;
}

.tskpe-res-prose a {
  color: var(--color-lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tskpe-res-prose a:hover {
  color: var(--color-white);
}

.tskpe-res-prose ul,
.tskpe-res-prose ol {
  padding-left: 1.3em;
}

.tskpe-res-prose ul {
  list-style: square;
}

.tskpe-res-prose ol {
  list-style: decimal;
}

.tskpe-res-prose li + li {
  margin-top: 0.4em;
}

.tskpe-res-prose li::marker {
  color: var(--color-lime);
}

.tskpe-res-prose blockquote {
  padding-left: var(--space-24);
  border-left: 2px solid var(--color-lime);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-white);
}

.tskpe-res-prose img {
  height: auto;
}

.tskpe-res-prose figcaption {
  margin-top: var(--space-8);
  font-size: var(--font-size-13);
  color: var(--color-grey);
}

.tskpe-res-prose table {
  font-size: var(--font-size-14);
}

.tskpe-res-prose th,
.tskpe-res-prose td {
  padding: var(--space-12);
  border: var(--stroke) solid var(--color-border-card);
  text-align: left;
}

.tskpe-res-prose th {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.tskpe-res-prose code,
.tskpe-res-prose pre {
  background-color: var(--color-charcoal);
  font-size: 0.9em;
}

.tskpe-res-prose pre {
  padding: var(--space-16);
  overflow-x: auto;
}

.tskpe-res-prose hr {
  border: 0;
  border-top: var(--stroke) solid var(--color-border-card);
  opacity: 1;
}

.tskpe-res-prose .rs-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}

.tskpe-res-prose .rs-feature-card,
.tskpe-res-prose .rs-agency-card {
  padding: var(--space-20);
  border: var(--stroke) solid var(--color-border-card);
  background-color: var(--color-charcoal);
}

/* --- FAQ ----------------------------------------------------------------- */

.tskpe-res-faq {
  margin-top: var(--space-60);
  scroll-margin-top: 120px;
}

.tskpe-res-faq__title {
  color: var(--color-white);
}

.tskpe-res-faq__intro {
  margin-top: var(--space-16);
}

.tskpe-res-faq__list {
  margin-top: var(--space-24);
  border-top: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-faq__item {
  border-bottom: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-faq__item summary {
  position: relative;
  padding: var(--space-20) var(--space-40) var(--space-20) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-white);
}

.tskpe-res-faq__item summary::-webkit-details-marker {
  display: none;
}

.tskpe-res-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: var(--space-16);
  font-size: 24px;
  color: var(--color-lime);
}

.tskpe-res-faq__item[open] summary::after {
  content: "−";
}

.tskpe-res-faq__answer {
  padding-bottom: var(--space-20);
}

.tskpe-res-back {
  margin-top: var(--space-48);
}

/* --- Related ------------------------------------------------------------- */

.tskpe-res-related {
  padding-block: var(--space-80);
  border-top: var(--stroke) solid var(--color-border-card);
}

.tskpe-res-related__title {
  margin-bottom: var(--space-40);
  color: var(--color-white);
}

/* --- Responsive (site breakpoints) -------------------------------------- */

@media (max-width: 1199.98px) {
  .tskpe-res-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tskpe-res-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--space-32);
  }

  .tskpe-res-detail__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: var(--space-32);
  }

  .tskpe-res-detail--rail-left .tskpe-res-detail__layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .tskpe-res-detail__layout--single {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tskpe-res-hero {
    padding-top: 136px;
  }

  .tskpe-res-layout,
  .tskpe-res-detail__layout,
  .tskpe-res-detail--rail-left .tskpe-res-detail__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tskpe-res-filter,
  .tskpe-res-rail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .tskpe-res-rail {
    order: -1;
  }

  .tskpe-res-progress {
    display: none;
  }

  .tskpe-res-breadcrumb {
    padding-top: 120px;
  }

  .tskpe-res-cover {
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .tskpe-res-hero {
    padding-top: 120px;
    padding-bottom: var(--space-32);
  }

  .tskpe-res-pills {
    margin-top: var(--space-32);
  }

  .tskpe-res-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tskpe-res-listfoot {
    flex-direction: column;
    align-items: flex-start;
  }

  .tskpe-res-empty {
    padding: var(--space-32) var(--space-24);
  }

  .tskpe-res-cover__body {
    padding: var(--space-24);
  }

  .tskpe-res-toc--multi .tskpe-res-toc__list {
    columns: 1;
  }

  .tskpe-res-prose .rs-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tskpe-res-related {
    padding-block: var(--space-48);
  }
}

@media (max-width: 575.98px) {
  .tskpe-res-prose {
    font-size: 15px;
  }

  .tskpe-res-detail--focus .tskpe-res-prose {
    font-size: 16px;
  }

  .tskpe-res-prose h2 {
    font-size: var(--font-size-24);
  }

  .tskpe-res-detail__meta {
    gap: var(--space-8) var(--space-20);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tskpe-res-pills__track {
    scroll-behavior: auto;
  }

  .tskpe-res-card,
  .tskpe-res-card__media img {
    transition: none;
  }

  .tskpe-res-card:hover .tskpe-res-card__media img {
    transform: none;
  }
}


/* ==========================================================================
   Premium Talentskape polish (hub, listings, detail)
   High-specificity overrides so Bootstrap 5.3.2 / site CSS cannot leak
   bullets, decimal markers, or default blue underlines.
   ========================================================================== */

body.page-resources {
  --color-border-muted: #c5bdd1;
  --duration-slow: 0.45s;
  --font-size-11: 0.6875rem;
  --font-size-13: 0.8125rem;
  --font-size-21: 1.3125rem;
  --font-size-24: 1.5rem;
  --font-size-30: 1.875rem;
  --font-weight-medium: 600;
  --font-weight-semibold: 700;
  --font-weight-bold: 800;
  --letter-spacing-meta: 0.06em;
  --letter-spacing-title: -0.02em;
  --opacity-muted: 0.45;
  --space-14: 0.875rem;
  --space-60: 3.75rem;
  --z-header: 1100;
  --color-purple: #2e0641;
  --color-ink-text: #1a1a1a;
}

/* Reset lists everywhere in the Resources chrome (not article prose). */
body.page-resources .tskpe-res ul,
body.page-resources .tskpe-res ol,
body.page-resources .tskpe-res li,
body.page-resources .tskpe-res-pills__track,
body.page-resources .tskpe-res-pills__track li,
body.page-resources .tskpe-res-breadcrumb ol,
body.page-resources .tskpe-res-breadcrumb li,
body.page-resources .tskpe-res-crumb ol,
body.page-resources .tskpe-res-crumb li,
body.page-resources .tskpe-res-toc__list,
body.page-resources .tskpe-res-toc__list li,
body.page-resources .tskpe-res-toc__sublist,
body.page-resources .tskpe-res-summary__chips,
body.page-resources .tskpe-res-summary__chips li,
body.page-resources .tskpe-res-rail__more ul,
body.page-resources .tskpe-res-rail__more li {
  list-style: none !important;
  list-style-type: none !important;
  margin-left: 0;
  padding-left: 0;
}

body.page-resources .tskpe-res-pills__track {
  margin: 0;
}

body.page-resources .tskpe-res .tskpe-res-prose ul {
  list-style: disc !important;
  padding-left: 1.3em;
}
body.page-resources .tskpe-res .tskpe-res-prose ol {
  list-style: decimal !important;
  padding-left: 1.3em;
}
body.page-resources .tskpe-res .tskpe-res-prose li {
  list-style: inherit !important;
  padding-left: 0;
}

/* Kill default Bootstrap / site link underlines & blue outside prose. */
body.page-resources .tskpe-res a,
body.page-resources .tskpe-res-pill,
body.page-resources .tskpe-res-card a,
body.page-resources .tskpe-res-card__title a,
body.page-resources .tskpe-res-breadcrumb a,
body.page-resources .tskpe-res-crumb a,
body.page-resources .tskpe-res-pagination a,
body.page-resources .tskpe-res-filter a,
body.page-resources .tskpe-res-toc a,
body.page-resources .tskpe-res-rail a {
  text-decoration: none !important;
}

body.page-resources .tskpe-res .tskpe-res-prose a {
  color: #00875a;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
body.page-resources .tskpe-res .tskpe-res-prose a:hover {
  color: #2e0641;
}

/* --- Hero / intro ------------------------------------------------------- */

body.page-resources .tskpe-res-hero {
  padding-top: 2rem;
  padding-bottom: 1.75rem;
}

body.page-resources .tskpe-res-hero__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00875a;
}

body.page-resources .tskpe-res-hero__title {
  margin: 0;
  color: #2e0641;
  letter-spacing: -0.03em;
}

body.page-resources .tskpe-res-hero__sub {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  line-height: 1.6;
  color: #545b66;
}

body.page-resources .tskpe-res-pills {
  margin-top: 1.75rem;
}

body.page-resources .tskpe-res-pill {
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid #e7e2f0;
  background: #fff;
  color: #2e0641 !important;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 0;
}

body.page-resources .tskpe-res-pill:hover,
body.page-resources .tskpe-res-pill:focus-visible {
  border-color: #2e0641;
  color: #2e0641 !important;
  background: #f8f5fc;
}

body.page-resources .tskpe-res-pill.is-active,
body.page-resources .tskpe-res-pill.is-active:hover,
body.page-resources .tskpe-res-pill[aria-current="page"] {
  background: #2e0641 !important;
  border-color: #2e0641 !important;
  color: #ffffff !important;
}

body.page-resources .tskpe-res-pills__nav {
  background: #ffffff;
  border-color: #e7e2f0;
  color: #2e0641;
}

/* --- Cards -------------------------------------------------------------- */

body.page-resources .tskpe-res-card {
  overflow: hidden;
  border: 1px solid #ece8f3 !important;
  box-shadow: none;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.page-resources .tskpe-res-card:hover,
body.page-resources .tskpe-res-card:focus-within {
  border-color: #d9d0e8 !important;
  box-shadow: 0 14px 30px rgba(46, 6, 65, 0.08);
  transform: translateY(-4px);
}

body.page-resources .tskpe-res-card__media {
  background: #f1eafd;
}

body.page-resources .tskpe-res-card__media img {
  transition: transform 0.45s ease;
}

body.page-resources .tskpe-res-card:hover .tskpe-res-card__media img,
body.page-resources .tskpe-res-card:focus-within .tskpe-res-card__media img {
  transform: scale(1.05);
}

body.page-resources .tskpe-res-card__badge,
body.page-resources .tskpe-res .tskpe-res-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.25rem 0.65rem;
  background: #f1eafd;
  color: #6f42c1 !important;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-resources .tskpe-res-card__title,
body.page-resources .tskpe-res .tskpe-res-card__title,
body.page-resources .tskpe-res-card__title a,
body.page-resources .tskpe-res .tskpe-res-card__title a,
body.page-resources .tskpe-res-card h3 a {
  color: #1a1a1a !important;
  font-family: "Lato", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

body.page-resources .tskpe-res-card__title a:hover,
body.page-resources .tskpe-res-card:hover .tskpe-res-card__title a,
body.page-resources .tskpe-res-card h3 a:hover {
  color: #00875a !important;
}

body.page-resources .tskpe-res-card__excerpt {
  color: #545b66;
  line-height: 1.55;
}

body.page-resources .tskpe-res-card__body {
  gap: 0.7rem;
  padding: 1.15rem 1.15rem 1.25rem;
}

/* --- Filters / checkboxes ---------------------------------------------- */

body.page-resources .tskpe-res-filter {
  border: 1px solid #e7e2f0;
  box-shadow: 0 8px 24px rgba(46, 6, 65, 0.04);
  background: #fff;
}

body.page-resources .tskpe-res-filter__head .title {
  color: #2e0641;
  font-weight: 800;
}

body.page-resources .tskpe-res-filter__group {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #ece8f3;
}

body.page-resources .tskpe-res-check {
  color: #1a1a1a;
}

body.page-resources .tskpe-res-check input {
  /* Keep the native input accessible but visually replaced. */
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

body.page-resources .tskpe-res-check__box {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1.5px solid #c5bdd1;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.page-resources .tskpe-res-check:hover .tskpe-res-check__box {
  border-color: #2e0641;
}

body.page-resources .tskpe-res-check input:focus-visible + .tskpe-res-check__box {
  outline: 3px solid rgba(0, 204, 131, 0.45);
  outline-offset: 2px;
  border-color: #00875a;
}

body.page-resources .tskpe-res-check input:checked + .tskpe-res-check__box {
  background-color: #2e0641;
  border-color: #2e0641;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.3L6.4 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

body.page-resources .tskpe-res-check input:checked + .tskpe-res-check__box::after {
  content: none;
}

body.page-resources .tskpe-res-filter__active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

body.page-resources .tskpe-res-filter__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  background: #f1eafd;
  color: #6f42c1;
  font-size: 0.75rem;
  font-weight: 700;
}

body.page-resources .tskpe-res-filter__clear {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #00875a !important;
}

body.page-resources .tskpe-res-filter__clear:hover {
  color: #006e49 !important;
}

body.page-resources .tskpe-res-page {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid #e7e2f0;
  background: #fff;
  color: #2e0641 !important;
  font-weight: 700;
}

body.page-resources .tskpe-res-page:hover {
  border-color: #2e0641;
  color: #2e0641 !important;
  background: #f8f5fc;
}

body.page-resources .tskpe-res-page.is-active,
body.page-resources .tskpe-res-page.btn-solid {
  background: #2e0641 !important;
  border-color: #2e0641 !important;
  color: #fff !important;
}

body.page-resources .tskpe-res-page.btn-secondary {
  background: #fff;
  color: #2e0641 !important;
}

/* --- Detail: tight header offset, breadcrumbs, editorial flow ----------- */

body.page-resources .tskpe-res-breadcrumb,
body.page-resources .tskpe-res-crumb {
  padding-top: 32px !important;
  padding-bottom: 0;
}

body.page-resources .tskpe-res-breadcrumb ol,
body.page-resources .tskpe-res-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  color: #64748b;
}

body.page-resources .tskpe-res-breadcrumb li,
body.page-resources .tskpe-res-crumb li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

body.page-resources .tskpe-res-breadcrumb li + li::before,
body.page-resources .tskpe-res-crumb li + li::before {
  content: "/" !important;
  display: inline-block;
  margin: 0 0.65rem;
  color: #94a3b8;
  font-weight: 400;
  transform: none;
}

body.page-resources .tskpe-res-breadcrumb a,
body.page-resources .tskpe-res-crumb a {
  color: #64748b !important;
  font-weight: 600;
}

body.page-resources .tskpe-res-breadcrumb a:hover,
body.page-resources .tskpe-res-crumb a:hover {
  color: #2e0641 !important;
}

body.page-resources .tskpe-res-breadcrumb li[aria-current],
body.page-resources .tskpe-res-crumb li[aria-current] {
  color: #2e0641;
  font-weight: 600;
}

body.page-resources .tskpe-res-detail {
  padding-top: 1.25rem !important;
  padding-bottom: 5rem;
}

body.page-resources .tskpe-res-detail__head {
  max-width: 780px;
  margin-bottom: 1.75rem;
}

body.page-resources .tskpe-res-badge,
body.page-resources .tskpe-res .tskpe-res-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.75rem;
  background: #f1eafd;
  color: #6f42c1 !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-resources .tskpe-res .tskpe-res-detail__title {
  margin: 0;
  color: #2e0641;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.page-resources .tskpe-res-detail__excerpt {
  margin-top: 0.9rem;
  max-width: 42rem;
  color: #545b66;
  font-size: 1.125rem;
  line-height: 1.65;
}

body.page-resources .tskpe-res-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 1.1rem;
  color: #64748b;
}

body.page-resources .tskpe-res-detail__meta span {
  display: inline-flex;
  align-items: center;
}

body.page-resources .tskpe-res-detail__meta span + span::before {
  content: "" !important;
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 0.85rem;
  background: #d4d0dc;
  transform: none;
  vertical-align: middle;
  border-radius: 0;
}

body.page-resources .tskpe-res-banner {
  margin: 0 0 2rem;
  overflow: hidden;
  border: 1px solid #ece8f3;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(46, 6, 65, 0.06);
}

body.page-resources .tskpe-res-detail__main,
body.page-resources .tskpe-res-detail--focus .tskpe-res-detail__layout--single,
body.page-resources .tskpe-res-detail--focus .tskpe-res-detail__head,
body.page-resources .tskpe-res-detail--wide .tskpe-res-detail__head {
  max-width: 780px;
}

body.page-resources .tskpe-res-prose {
  max-width: 760px;
  color: #1a1a1a !important;
  font-size: 1.0625rem;
  line-height: 1.75;
}

body.page-resources .tskpe-res-prose h2,
body.page-resources .tskpe-res-prose h3,
body.page-resources .tskpe-res-prose h4 {
  color: #2e0641;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-resources .tskpe-res-prose blockquote {
  color: #2e0641;
  background: #f8f5fc;
  padding: 1rem 1.25rem;
  border-left: 3px solid #00875a;
}

body.page-resources .tskpe-res-prose li::marker {
  color: #00875a;
}

body.page-resources .tskpe-res-faq__title,
body.page-resources .tskpe-res-related__title,
body.page-resources .tskpe-res-faq__item summary,
body.page-resources .tskpe-res-summary__text {
  color: #2e0641 !important;
}

body.page-resources .tskpe-res-faq__item {
  border-bottom: 1px solid #ece8f3;
}

body.page-resources .tskpe-res-toc,
body.page-resources .tskpe-res-rail__card {
  border: 1px solid #e7e2f0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(46, 6, 65, 0.04);
}

body.page-resources .tskpe-res-toc__title,
body.page-resources .tskpe-res-rail__title {
  color: #2e0641 !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

body.page-resources .tskpe-res-toc__title::after {
  color: #2e0641;
}

body.page-resources .tskpe-res-toc__list a {
  color: #545b66;
}

body.page-resources .tskpe-res-toc__list a:hover,
body.page-resources .tskpe-res-toc__list a.is-active {
  color: #2e0641;
  border-left-color: #00875a;
}

body.page-resources .tskpe-res-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  scrollbar-width: none;
}

body.page-resources .tskpe-res-focus-nav {
  top: 88px;
  background: #ffffff;
  border-bottom: 1px solid #ece8f3;
}

body.page-resources .tskpe-res-focus-nav__label {
  color: #2e0641;
}

body.page-resources .tskpe-res-cover.has-image::after {
  background: linear-gradient(180deg, rgba(46, 6, 65, 0.15) 0%, rgba(46, 6, 65, 0.82) 78%);
}

body.page-resources .tskpe-res-cover .tskpe-res-detail__title,
body.page-resources .tskpe-res-cover .tskpe-res-detail__excerpt,
body.page-resources .tskpe-res-cover .tskpe-res-detail__meta,
body.page-resources .tskpe-res-cover .tskpe-res-badge {
  color: #ffffff !important;
}

body.page-resources .tskpe-res-cover .tskpe-res-badge {
  background: rgba(255, 255, 255, 0.16);
}

body.page-resources .tskpe-res-cta-row .btn {
  text-decoration: none !important;
}

@media (max-width: 991.98px) {
  body.page-resources .tskpe-res-hero {
    padding-top: 1.5rem !important;
  }
  body.page-resources .tskpe-res-breadcrumb,
  body.page-resources .tskpe-res-crumb {
    padding-top: 24px !important;
  }
  body.page-resources .tskpe-res-rail {
    position: static;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 767.98px) {
  body.page-resources .tskpe-res-hero {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-resources .tskpe-res-card,
  body.page-resources .tskpe-res-card__media img {
    transition: none;
  }
  body.page-resources .tskpe-res-card:hover,
  body.page-resources .tskpe-res-card:hover .tskpe-res-card__media img {
    transform: none;
  }
}


/* ---- Detail 2-column gap: fill the 1fr track, tight 48px gutter ---- */
body.page-resources .tskpe-res-detail.pq-container,
body.page-resources article.tskpe-res-detail {
  max-width: calc(1180px + 2 * clamp(1rem, 4vw, 4.5rem));
}

body.page-resources .tskpe-res-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

body.page-resources .tskpe-res-detail--rail-left .tskpe-res-detail__layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

body.page-resources .tskpe-res-detail__main,
body.page-resources .tskpe-res-detail__head,
body.page-resources .tskpe-res-banner,
body.page-resources .tskpe-res-prose,
body.page-resources .tskpe-res-faq,
body.page-resources .tskpe-res-cta-row {
  max-width: none !important;
  width: 100%;
}

body.page-resources .tskpe-res-detail--focus .tskpe-res-detail__layout--single,
body.page-resources .tskpe-res-detail--focus .tskpe-res-detail__head,
body.page-resources .tskpe-res-detail--wide .tskpe-res-detail__head,
body.page-resources .tskpe-res-detail--wide .tskpe-res-detail__layout--single,
body.page-resources .tskpe-res-detail__layout--single {
  max-width: 780px;
  width: 100%;
}

@media (max-width: 991.98px) {
  body.page-resources .tskpe-res-detail__layout,
  body.page-resources .tskpe-res-detail--rail-left .tskpe-res-detail__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* ---- Detail full-width editorial (round 4) ---- */
/* Match the site header .container: 95% / 90% wide, max 1440px, centered.
   This lines the article and title up with the logo and Contact us button. */
body.page-resources article.tskpe-res-detail.pq-container,
body.page-resources article.tskpe-res-detail,
body.page-resources .tskpe-res-breadcrumb.pq-container,
body.page-resources nav.tskpe-res-crumb {
  width: 95% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  body.page-resources article.tskpe-res-detail.pq-container,
  body.page-resources article.tskpe-res-detail,
  body.page-resources .tskpe-res-breadcrumb.pq-container,
  body.page-resources nav.tskpe-res-crumb {
    width: 90% !important;
    max-width: 1440px !important;
  }
}

body.page-resources .tskpe-res-detail__head {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.75rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid #ece8f2;
  background: transparent;
  box-sizing: border-box;
}

body.page-resources .tskpe-res-detail__title,
body.page-resources .tskpe-res-detail__excerpt,
body.page-resources .tskpe-res-detail__meta {
  max-width: none !important;
  width: 100%;
}

body.page-resources .tskpe-res-detail__layout {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

body.page-resources .tskpe-res-detail--rail-left .tskpe-res-detail__layout {
  grid-template-columns: 340px minmax(0, 1fr);
}

body.page-resources .tskpe-res-detail--full-width .tskpe-res-detail__layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
}

/* Intentional narrow templates keep a centred reading column inside the wide wrapper. */
body.page-resources .tskpe-res-detail--focus .tskpe-res-detail__layout--single,
body.page-resources .tskpe-res-detail--focus .tskpe-res-detail__head,
body.page-resources .tskpe-res-detail--wide .tskpe-res-detail__layout--single,
body.page-resources .tskpe-res-detail--wide .tskpe-res-detail__head {
  max-width: 780px !important;
  margin-inline: auto;
}

@media (max-width: 991.98px) {
  body.page-resources .tskpe-res-detail__layout,
  body.page-resources .tskpe-res-detail--rail-left .tskpe-res-detail__layout,
  body.page-resources .tskpe-res-detail--full-width .tskpe-res-detail__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}