
.iqsh {
  --iqsh-bg: #ffffff;
  --iqsh-text: #0b1b33;
  --iqsh-muted: #4a5568;
  --iqsh-primary: #d71920;        /* IQS red: hover, active underline */
  --iqsh-primary-dark: #b0121a;
  --iqsh-cta: #1e8e5a;            /* header button (same green as iqs.ac buttons) */
  --iqsh-cta-dark: #177048;
  --iqsh-soft: #fdecec;
  --iqsh-border: #e3e6ee;
  --iqsh-height: 76px;
  --iqsh-font: "Rubik", "Roboto", "Segoe UI", Arial, sans-serif;

  position: sticky; top: 0; z-index: 1030;
  background: var(--iqsh-bg);
  border-bottom: 1px solid var(--iqsh-border);
  font-family: var(--iqsh-font);
  transition: box-shadow .25s ease;
}
.iqsh.is-scrolled { box-shadow: 0 6px 20px rgba(11, 27, 51, .09); }
.iqsh *, .iqsh *::before, .iqsh *::after { box-sizing: border-box; }
.iqsh ul { list-style: none; margin: 0; padding: 0; }
.iqsh li { list-style: none; margin: 0; padding: 0; }
.iqsh a { text-decoration: none; }

.iqsh-bar {
  max-width: 1250px; margin: 0 auto; padding: 0 15px;
  min-height: var(--iqsh-height);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.iqsh-logo { display: flex; align-items: center; flex: 0 0 auto; }
.iqsh-logo img { display: block; height: 56px; width: auto; max-width: 100%; }

/* Navigation (desktop) */
.iqsh-nav { display: flex; align-items: center; gap: 28px; }
.iqsh-list { display: flex; align-items: center; gap: 4px; }

.iqsh .iqsh-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-family: var(--iqsh-font); font-size: 15.5px; font-weight: 500; line-height: 1.2;
  color: var(--iqsh-text); border-radius: 8px;
  transition: color .2s, background .2s;
}
.iqsh .iqsh-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--iqsh-primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.iqsh .iqsh-link:hover,
.iqsh-has-sub.is-open > .iqsh-link { color: var(--iqsh-primary); }
.iqsh .iqsh-link:hover::after,
.iqsh .iqsh-link.is-active::after,
.iqsh-has-sub.is-open > .iqsh-link::after { transform: scaleX(1); }
.iqsh .iqsh-link.is-active { color: var(--iqsh-primary); }
.iqsh .iqsh-link:focus-visible,
.iqsh .iqsh-cta:focus-visible,
.iqsh .iqsh-toggle:focus-visible,
.iqsh .iqsh-sub a:focus-visible { outline: 3px solid #f3a3a6; outline-offset: 2px; }

.iqsh-chev { width: 10px; height: 10px; flex: 0 0 10px; transition: transform .2s; }
.iqsh-has-sub.is-open .iqsh-chev { transform: rotate(180deg); }

/* Dropdown */
.iqsh-has-sub { position: relative; }
.iqsh-sub {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 340px; padding: 8px;
  background: #fff; border: 1px solid var(--iqsh-border); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 27, 51, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.iqsh-has-sub.is-open > .iqsh-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.iqsh-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
.iqsh-sub a {
  display: block; padding: 11px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--iqsh-text);
  transition: background .15s, color .15s;
}
.iqsh-sub a:hover, .iqsh-sub a.is-active { background: var(--iqsh-soft); color: var(--iqsh-primary); }

/* CTA button */
.iqsh .iqsh-cta {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: 12px 22px; border-radius: 8px; border: 2px solid var(--iqsh-cta);
  background: var(--iqsh-cta); color: #fff;
  font-family: var(--iqsh-font); font-size: 15px; font-weight: 500; line-height: 1.2;
  transition: background .2s, border-color .2s;
}
.iqsh .iqsh-cta:hover { background: var(--iqsh-cta-dark); border-color: var(--iqsh-cta-dark); color: #fff; }

/* Mobile toggle (hidden on desktop) */
.iqsh-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--iqsh-border);
  border-radius: 10px; background: #fff; cursor: pointer; position: relative;
}
.iqsh-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--iqsh-text);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.iqsh-toggle span:nth-child(1) { top: 15px; }
.iqsh-toggle span:nth-child(2) { top: 22px; }
.iqsh-toggle span:nth-child(3) { top: 29px; }
.iqsh.is-open .iqsh-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.iqsh.is-open .iqsh-toggle span:nth-child(2) { opacity: 0; }
.iqsh.is-open .iqsh-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Tablet and mobile */
@media (max-width: 1099px) {
  .iqsh { --iqsh-height: 68px; }
  .iqsh-logo img { height: 48px; }
  .iqsh-toggle { display: block; }

  .iqsh-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--iqsh-border);
    box-shadow: 0 16px 30px rgba(11, 27, 51, .12);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility .35s;
    padding: 0 15px;
  }
  .iqsh.is-open .iqsh-nav { max-height: calc(100vh - var(--iqsh-height)); overflow-y: auto; visibility: visible; padding: 10px 15px 22px; }

  .iqsh-list { flex-direction: column; align-items: stretch; gap: 0; }
  .iqsh-list > li { border-bottom: 1px solid var(--iqsh-border); }
  .iqsh-list > li:last-child { border-bottom: 0; }
  .iqsh .iqsh-link { width: 100%; justify-content: space-between; padding: 15px 6px; border-radius: 0; font-size: 16.5px; }
  .iqsh .iqsh-link::after { display: none; }
  .iqsh .iqsh-link.is-active { box-shadow: inset 3px 0 0 var(--iqsh-primary); padding-left: 14px; }

  .iqsh-sub {
    position: static; min-width: 0; padding: 0 0 8px 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .iqsh-sub::before { display: none; }
  .iqsh-has-sub.is-open > .iqsh-sub { max-height: 420px; }
  .iqsh-sub a { padding: 12px 10px; }

  .iqsh .iqsh-cta { width: 100%; margin-top: 16px; padding: 14px 22px; }
}

@media (max-width: 575px) {
  .iqsh-logo img { height: 42px; }
}

/* Desktop: open dropdown on hover too */
@media (min-width: 1100px) and (hover: hover) {
  .iqsh-has-sub:hover > .iqsh-sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .iqsh-has-sub:hover > .iqsh-link { color: var(--iqsh-primary); }
  .iqsh-has-sub:hover > .iqsh-link::after { transform: scaleX(1); }
  .iqsh-has-sub:hover .iqsh-chev { transform: rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  .iqsh, .iqsh * { transition: none !important; }
}

/* ==========================================================
   ARTICLE / PAGE STYLES
   ========================================================== */
.kb-article {
  --kb-primary: #d71920;        /* IQS red: heading underline, links, number badges */
  --kb-primary-dark: #b0121a;
  --kb-primary-soft: #fde8e9;   /* light red tint (icon / badge backgrounds) */
  --kb-primary-rgb: 215, 25, 32;
  --kb-accent: #fdb515;         /* IQS amber (same as iqs.ac hero band) */
  --kb-accent-ink: #3b2a00;     /* dark text on amber */
  --kb-btn: #1e8e5a;            /* buttons (same green as iqs.ac Filter button) */
  --kb-btn-dark: #177048;
  --kb-green: #1e8e5a;
  --kb-heading: #0b1b33;
  --kb-text: #4a5568;
  --kb-border: #e3e6ee;
  --kb-card-bg: #ffffff;
  --kb-soft-bg: #f8f9fc;
  --kb-warn-bg: #fff8e1;
  --kb-warn-line: #fdb515;
  --kb-danger: #c0392b;
  --kb-radius: 12px;
  --kb-top-offset: 70px;        /* space for fixed site header - increase if heading still hides */
  --kb-anchor-offset: 140px;    /* TOC anchor scroll offset (header height + gap) */
  --kb-font-head: "Rubik", "Segoe UI", Roboto, Arial, sans-serif;
  --kb-font-body: "Roboto", "Segoe UI", Arial, sans-serif;

  max-width: 1250px;
  margin: 0 auto;
  padding: var(--kb-top-offset) 15px 60px;
  font-family: var(--kb-font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--kb-text);
}
.kb-article *, .kb-article *::before, .kb-article *::after { box-sizing: border-box; }
.kb-article p { margin: 0 0 16px; }
.kb-article a { color: var(--kb-primary); text-decoration: none; }
.kb-article a:hover { text-decoration: underline; }
.kb-article strong, .kb-article b { font-weight: 500; color: var(--kb-heading); }

/* Headings */
.kb-article h1, .kb-article h2, .kb-article h3 {
  font-family: var(--kb-font-head);
  color: var(--kb-heading);
  line-height: 1.3;
}
.kb-article h1 { font-size: 38px; font-weight: 500; margin: 0 0 18px; }
.kb-article h2 {
  font-size: 32px; font-weight: 500;
  margin: 56px 0 28px; padding-bottom: 14px; position: relative;
}
.kb-article h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 52px; height: 3px; border-radius: 2px; background: var(--kb-primary);
}
.kb-article h3 { font-size: 21px; font-weight: 500; margin: 0 0 8px; }

/* Lead paragraph */
.kb-lead { font-size: 20px; line-height: 1.75; color: var(--kb-heading); margin-bottom: 22px; }

/* Divider */
.kb-divider { border: 0; border-top: 1px solid var(--kb-border); margin: 48px 0 0; }

/* Cards grid (3 terms) */
.kb-grid { display: grid; gap: 34px; grid-template-columns: repeat(3, 1fr); margin: 28px 0; }
.kb-card {
  background: var(--kb-card-bg); border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius); padding: 32px 28px; box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.kb-card p { margin: 0; font-size: 16.5px; line-height: 1.95; }
.kb-card h3 { margin-top: 0; }
.kb-icon {
  width: 58px; height: 58px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--kb-primary-soft); color: var(--kb-primary);
}
.kb-icon.is-yellow { background: #fdf1c4; color: #b7791f; }
.kb-icon.is-purple { background: #f1e6fb; color: #7b3fb0; }
.kb-icon.is-green  { background: #dff5e6; color: #1f8a4c; }
.kb-icon.is-red    { background: #fde4e1; color: var(--kb-danger); }

/* Callout */
.kb-callout {
  background: var(--kb-warn-bg); border-left: 4px solid var(--kb-warn-line);
  border-radius: 4px; padding: 18px 32px; margin: 32px 0; line-height: 1.7;
}
.kb-callout p { margin: 0; }

/* Bullet list with custom marker (no icon-font dependency) */
.kb-list { list-style: none; margin: 0 0 20px; padding: 0; }
.kb-list li { position: relative; padding-left: 32px; margin-bottom: 14px; line-height: 1.7; }
.kb-list li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 10px; height: 10px; border: 2px solid var(--kb-primary); border-radius: 2px;
}
.kb-list.is-danger li::before { border-color: var(--kb-danger); background: var(--kb-danger); }

/* Numbered checklist (8 points) */
.kb-steps { list-style: none; margin: 0; padding: 0; counter-reset: kb; display: grid; gap: 18px; }
.kb-steps > li {
  counter-increment: kb; position: relative;
  background: var(--kb-card-bg); border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius); padding: 24px 28px 24px 90px;
}
.kb-steps > li::before {
  content: counter(kb); position: absolute; left: 26px; top: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--kb-primary); color: #fff; font-family: var(--kb-font-head); font-weight: 500;
}
.kb-steps > li p { margin: 0; line-height: 1.8; }
.kb-steps > li h3 { margin-bottom: 6px; }

/* Plain numbered questions */
.kb-qlist { margin: 0 0 20px; padding-left: 24px; }
.kb-qlist li { margin-bottom: 10px; padding-left: 6px; line-height: 1.7; }
.kb-qlist li::marker { color: var(--kb-primary); font-weight: 500; }

/* Highlight box (IQS section) */
.kb-box {
  background: var(--kb-soft-bg); border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius); padding: 32px 34px; margin: 24px 0;
}
.kb-box p:last-child { margin-bottom: 0; }

/* FAQ accordion (native details, no JS) */
.kb-faq details {
  border: 1px solid var(--kb-border); border-radius: var(--kb-radius);
  background: var(--kb-card-bg); margin-bottom: 14px;
}
.kb-faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 24px; position: relative;
  font-family: var(--kb-font-head); font-size: 18px; font-weight: 500; color: var(--kb-heading);
}
.kb-faq summary::-webkit-details-marker { display: none; }
.kb-faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--kb-primary);
}
.kb-faq details[open] summary::after { content: "\2212"; }
.kb-faq details p { padding: 0 24px 20px; margin: 0; line-height: 1.8; }

/* CTA cards */
.kb-cta { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.kb-cta a {
  display: block; background: var(--kb-card-bg); border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius); padding: 22px 22px; line-height: 1.6; color: var(--kb-text);
  transition: border-color .2s, box-shadow .2s;
}
.kb-cta a:hover { border-color: var(--kb-primary); box-shadow: 0 4px 14px rgba(var(--kb-primary-rgb), .14); text-decoration: none; }
.kb-cta strong { display: block; font-family: var(--kb-font-head); color: var(--kb-primary); margin-bottom: 4px; }

/* Focus visibility */
.kb-article a:focus-visible, .kb-faq summary:focus-visible { outline: 2px solid var(--kb-primary); outline-offset: 3px; }

/* Responsive */
@media (max-width: 991px) {
  .kb-grid { grid-template-columns: 1fr; gap: 20px; }
  .kb-cta { grid-template-columns: repeat(2, 1fr); }
  .kb-article h1 { font-size: 32px; }
  .kb-article h2 { font-size: 27px; }
}
@media (max-width: 575px) {
  .kb-article { font-size: 16px; padding: var(--kb-top-offset) 14px 44px; }
  .kb-cta { grid-template-columns: 1fr; }
  .kb-steps > li { padding: 70px 20px 20px; }
  .kb-steps > li::before { left: 20px; top: 20px; }
  .kb-box { padding: 24px 20px; }
}

/* ==========================================================
   ADDED FOR ARTICLE 2
   ========================================================== */
/* Table (responsive scroll) */
.kb-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--kb-border); border-radius: var(--kb-radius); }
.kb-table { width: 100%; border-collapse: collapse; background: var(--kb-card-bg); min-width: 560px; }
.kb-table th, .kb-table td { padding: 16px 22px; text-align: left; vertical-align: top; line-height: 1.7; border-bottom: 1px solid var(--kb-border); }
.kb-table thead th { background: var(--kb-soft-bg); font-family: var(--kb-font-head); font-weight: 500; color: var(--kb-heading); }
.kb-table tbody th { width: 190px; font-family: var(--kb-font-head); font-weight: 500; color: var(--kb-heading); }
.kb-table tbody tr:last-child th, .kb-table tbody tr:last-child td { border-bottom: 0; }

/* Chips (focus areas) */
.kb-chips { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.kb-chips li { background: var(--kb-soft-bg); border: 1px solid var(--kb-border); border-radius: 999px; padding: 8px 20px; line-height: 1.5; color: var(--kb-heading); font-weight: 400; }

/* Steps with inline title (short step text) */
.kb-steps.is-compact > li { padding-top: 20px; padding-bottom: 20px; }
.kb-steps.is-compact > li::before { top: 20px; }

/* 3-column CTA variant */
.kb-cta.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .kb-cta.is-3 { grid-template-columns: 1fr; } }

/* ==========================================================
   ADDED FOR ARTICLE 3 (CPD cycle)
   ========================================================== */
/* Horizontal 5-stage flow */
.kb-flow { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: kbflow; }
.kb-flow li {
  counter-increment: kbflow; position: relative; text-align: center;
  background: var(--kb-card-bg); border: 1px solid var(--kb-border); border-radius: var(--kb-radius);
  padding: 58px 12px 20px; font-family: var(--kb-font-head); font-weight: 500; color: var(--kb-heading); line-height: 1.4;
}
.kb-flow li::before {
  content: counter(kbflow); position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--kb-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.kb-flow li:not(:last-child)::after {
  content: "\203A"; position: absolute; right: -8px; top: 50%; transform: translate(50%, -50%);
  font-size: 26px; color: var(--kb-primary); line-height: 1;
}

/* Worked example box (accent) */
.kb-example {
  background: var(--kb-soft-bg); border-left: 4px solid var(--kb-primary);
  border-radius: 4px; padding: 18px 28px; margin: 24px 0; line-height: 1.8;
}
.kb-example p { margin: 0; }

/* Tip callout (green) */
.kb-callout.is-tip { background: #effaf3; border-left-color: #1f8a4c; }

/* Weak vs Strong comparison */
.kb-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 24px 0; }
.kb-compare > div { border: 1px solid var(--kb-border); border-radius: var(--kb-radius); padding: 22px 26px; background: var(--kb-card-bg); line-height: 1.7; }
.kb-compare strong { display: block; font-family: var(--kb-font-head); margin-bottom: 6px; }
.kb-compare .is-weak { border-top: 4px solid var(--kb-danger); }
.kb-compare .is-weak strong { color: var(--kb-danger); }
.kb-compare .is-strong { border-top: 4px solid #1f8a4c; }
.kb-compare .is-strong strong { color: #1f8a4c; }

/* Table variants: wide and fill-in (planner) */
.kb-table.is-wide { min-width: 760px; }
.kb-table.is-form td { height: 52px; }
.kb-table.is-form.has-label th { background: var(--kb-soft-bg); }
.kb-table.is-form tbody th { width: 38%; }
.kb-table.is-form thead th, .kb-table.is-form.is-grid td { border-right: 1px solid var(--kb-border); }
.kb-table.is-form thead th:last-child, .kb-table.is-form.is-grid td:last-child { border-right: 0; }
.kb-planner-part { font-size: 22px; margin: 36px 0 12px; }

@media (max-width: 991px) {
  .kb-flow { grid-template-columns: 1fr; }
  .kb-flow li { padding: 16px 16px 16px 66px; text-align: left; }
  .kb-flow li::before { top: 50%; left: 16px; transform: translateY(-50%); }
  .kb-flow li:not(:last-child)::after { display: none; }
  .kb-compare { grid-template-columns: 1fr; }
}

/* ==========================================================
   ADDED FOR ARTICLE 5 (CPD reflection)
   ========================================================== */
/* Weak vs Strong table: coloured column headers */
.kb-table.is-compare thead th:nth-child(1) { color: var(--kb-danger); background: #fdf1ef; width: 38%; }
.kb-table.is-compare thead th:nth-child(2) { color: #1f8a4c; background: #effaf3; }
.kb-table.is-compare td { width: auto; }

/* Copy-and-paste template block */
.kb-template {
  border: 1px solid var(--kb-border); border-radius: var(--kb-radius);
  background: var(--kb-card-bg); margin: 24px 0 32px; overflow: hidden;
}
.kb-template-title {
  margin: 0; padding: 16px 28px; background: var(--kb-soft-bg); border-bottom: 1px solid var(--kb-border);
  font-family: var(--kb-font-head); font-size: 19px; font-weight: 500; color: var(--kb-heading);
}
.kb-template dl { margin: 0; padding: 8px 28px 12px; }
.kb-template dt { margin-top: 14px; font-family: var(--kb-font-head); font-weight: 500; color: var(--kb-heading); line-height: 1.5; }
.kb-template dd { margin: 2px 0 0; padding: 0 0 12px; font-size: 16px; line-height: 1.7; border-bottom: 1px dashed var(--kb-border); color: var(--kb-text); }
.kb-template dd:last-child { border-bottom: 0; padding-bottom: 4px; }
.kb-template dd:empty::before { content: "\00a0"; }
@media (max-width: 575px) {
  .kb-template-title, .kb-template dl { padding-left: 18px; padding-right: 18px; }
}

/* ==========================================================
   ADDED FOR ARTICLE 6 (CPD Explained - pillar page)
   ========================================================== */
/* Anchor offset so sticky headers do not cover the heading */
.kb-article h2[id] { scroll-margin-top: var(--kb-anchor-offset); }

/* Table of contents ("In this guide") - high specificity so theme styles cannot override */
.kb-article .kb-toc {
  background: var(--kb-soft-bg); border: 1px solid var(--kb-border);
  border-top: 4px solid var(--kb-primary); border-radius: var(--kb-radius);
  padding: 28px 32px 24px; margin: 36px 0; box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.kb-article .kb-toc .kb-toc-title {
  margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--kb-border);
  font-family: var(--kb-font-head); font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--kb-heading);
}
.kb-article .kb-toc ol {
  list-style: none; margin: 0; padding: 0; counter-reset: kbtoc;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px;
}
.kb-article .kb-toc ol li {
  list-style: none; counter-increment: kbtoc; margin: 0; padding: 0; line-height: 1.4;
}
.kb-article .kb-toc ol li a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px;
  border-radius: 8px; border: 1px solid transparent;
  color: var(--kb-heading); font-weight: 400; font-size: 16.5px; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.kb-article .kb-toc ol li a::before {
  content: counter(kbtoc); flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--kb-primary-soft); color: var(--kb-primary); font-family: var(--kb-font-head); font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.kb-article .kb-toc ol li a:hover,
.kb-article .kb-toc ol li a:focus-visible {
  background: #fff; border-color: var(--kb-border); color: var(--kb-primary); text-decoration: none;
}
.kb-article .kb-toc ol li a:hover::before,
.kb-article .kb-toc ol li a:focus-visible::before { background: var(--kb-primary); color: #fff; }

/* Card with a list inside (benefit groups) */
.kb-card .kb-list { margin: 0; }
.kb-card .kb-list li { font-size: 16.5px; margin-bottom: 12px; }
.kb-card .kb-list li:last-child { margin-bottom: 0; }

/* Small label inside card ("Examples") */
.kb-card .kb-note { margin-top: 12px; font-size: 15.5px; color: var(--kb-text); }

/* Bordered "About" box */
.kb-about { border: 1px solid var(--kb-border); border-top: 4px solid var(--kb-primary); border-radius: var(--kb-radius); padding: 30px 34px; margin: 56px 0 0; background: var(--kb-card-bg); }
.kb-about h2 { margin-top: 0; font-size: 26px; }

@media (max-width: 767px) {
  .kb-article .kb-toc { padding: 22px 16px 18px; }
  .kb-article .kb-toc ol { grid-template-columns: 1fr; }
  .kb-about { padding: 24px 20px; }
}

/* Header offset on smaller screens (adjust to your header height) */
@media (max-width: 991px) { .kb-article { --kb-top-offset: 90px; --kb-anchor-offset: 110px; } }
@media (max-width: 575px) { .kb-article { --kb-top-offset: 30px; --kb-anchor-offset: 100px; } }

/* ==========================================================
   ADDED FOR HOME PAGE
   ========================================================== */
.kb-article.is-home h1 { font-size: 44px; line-height: 1.2; max-width: 900px; }
.kb-article.is-home .kb-lead { max-width: 820px; }
.kb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }
.kb-btn {
  display: inline-block; padding: 14px 30px; border-radius: 8px; line-height: 1.2;
  font-family: var(--kb-font-head); font-weight: 500; font-size: 16.5px;
  background: var(--kb-btn); color: #fff; border: 2px solid var(--kb-btn); text-decoration: none;
  transition: background .2s, color .2s;
}
.kb-article a.kb-btn { color: #fff; }
.kb-btn:hover { background: var(--kb-btn-dark); border-color: var(--kb-btn-dark); text-decoration: none; }
.kb-article a.kb-btn.is-outline { background: transparent; color: var(--kb-btn); }
.kb-article a.kb-btn.is-outline:hover { background: var(--kb-btn); color: #fff; }

/* Strip of key facts */
.kb-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.kb-facts li { background: var(--kb-soft-bg); border: 1px solid var(--kb-border); border-top: 3px solid var(--kb-accent); border-radius: var(--kb-radius); padding: 20px 22px; line-height: 1.5; font-size: 16px; }
.kb-facts strong { display: block; font-family: var(--kb-font-head); font-size: 19px; color: var(--kb-primary); margin-bottom: 4px; }

/* Final call-to-action band (amber, like the iqs.ac hero) */
.kb-band { background: var(--kb-accent); border: 0; border-radius: var(--kb-radius); padding: 40px 36px; margin-top: 56px; text-align: center; color: var(--kb-accent-ink); }
.kb-band h2 { margin: 0 0 14px; padding: 0; color: var(--kb-accent-ink); }
.kb-band h2::after { left: 50%; transform: translateX(-50%); background: var(--kb-accent-ink); }
.kb-band p { max-width: 680px; margin: 22px auto 0; color: var(--kb-accent-ink); }
.kb-band .kb-hero-actions { justify-content: center; }
.kb-article .kb-band a.kb-btn.is-outline { color: var(--kb-accent-ink); border-color: var(--kb-accent-ink); }
.kb-article .kb-band a.kb-btn.is-outline:hover { background: var(--kb-accent-ink); color: #fff; }

@media (max-width: 991px) { .kb-facts { grid-template-columns: repeat(2, 1fr); } .kb-article.is-home h1 { font-size: 34px; } }
@media (max-width: 575px) { .kb-facts { grid-template-columns: 1fr; } .kb-btn { width: 100%; text-align: center; } .kb-band { padding: 30px 20px; } }

/* ==========================================================
   ADDED FOR HOME SLIDER + IMAGE SLOTS
   ========================================================== */
/* Image placeholder: gradient shows if the image file is missing */
.kb-ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #0b1b33 0%, #8e1017 100%); }
.kb-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Slider */
.kb-slider { position: relative; border-radius: var(--kb-radius); overflow: hidden; margin: 0 0 40px; background: #0b1b33; }
.kb-slides { position: relative; height: 440px; }
.kb-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  background: linear-gradient(135deg, #0b1b33 0%, #8e1017 100%);
}
.kb-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.kb-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,27,51,.88) 0%, rgba(11,27,51,.62) 45%, rgba(11,27,51,.1) 100%);
}
.kb-slide-body { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding: 0 70px; color: #fff; }
.kb-slide-title { margin: 0 0 14px; font-family: var(--kb-font-head); font-size: 36px; font-weight: 500; line-height: 1.25; color: #fff; }
.kb-slide-text { margin: 0 0 24px; font-size: 18px; line-height: 1.7; color: #e8eef7; }
.kb-slide-body .kb-btn { align-self: flex-start; background: var(--kb-accent); color: var(--kb-accent-ink); border-color: var(--kb-accent); }
.kb-article .kb-slide-body a.kb-btn { color: var(--kb-accent-ink); }
.kb-article .kb-slide-body a.kb-btn:hover { background: #fff; border-color: #fff; color: var(--kb-heading); }

.kb-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--kb-heading); font-size: 28px; line-height: 1; padding: 0 0 4px;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.kb-slider-btn:hover { background: var(--kb-accent); color: var(--kb-accent-ink); }
.kb-slider-btn.is-prev { left: 16px; }
.kb-slider-btn.is-next { right: 16px; }
.kb-slider-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.kb-slider-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.kb-slider-dots button.is-active { background: var(--kb-accent); border-color: var(--kb-accent); }
.kb-slider button:focus-visible { outline: 3px solid #fdf1c4; outline-offset: 2px; }

/* Image + text split section */
.kb-split { display: grid; grid-template-columns: 5fr 6fr; gap: 44px; align-items: center; margin: 24px 0; }
.kb-split.is-reverse { grid-template-columns: 6fr 5fr; }
.kb-split.is-reverse .kb-split-media { order: 2; }
.kb-split-media { border-radius: var(--kb-radius); aspect-ratio: 4 / 3; border: 1px solid var(--kb-border); }
.kb-split-text > :last-child { margin-bottom: 0; }

/* Image gallery strip */
.kb-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; padding: 0; list-style: none; }
.kb-gallery figure { margin: 0; }
.kb-gallery .kb-ph { aspect-ratio: 4 / 3; border-radius: var(--kb-radius); border: 1px solid var(--kb-border); }
.kb-gallery figcaption { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--kb-text); }

@media (max-width: 991px) {
  .kb-slides { height: 400px; }
  .kb-slide-body { padding: 0 60px; max-width: 100%; }
  .kb-slide-title { font-size: 29px; }
  .kb-split, .kb-split.is-reverse { grid-template-columns: 1fr; gap: 24px; }
  .kb-split.is-reverse .kb-split-media { order: 0; }
  .kb-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .kb-slides { height: 440px; }
  .kb-slide::before { background: linear-gradient(180deg, rgba(11,27,51,.55) 0%, rgba(11,27,51,.9) 100%); }
  .kb-slide-body { padding: 0 22px; }
  .kb-slide-title { font-size: 24px; }
  .kb-slide-text { font-size: 16px; }
  .kb-slider-btn { display: none; }
  .kb-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .kb-slide { transition: none; } }

/* ==========================================================
   ADDED FOR HERO SLIDER (iqs.ac style: full width, caption left / right)
   Use: <section class="kb-slider is-hero"> placed ABOVE (outside) <article class="kb-article">.
   Each slide gets .is-left or .is-right to choose the caption side.
   ========================================================== */
.kb-slider.is-hero {
  --kb-font-head: "Rubik", "Segoe UI", Roboto, Arial, sans-serif;
  --kb-btn: #1e8e5a; --kb-btn-dark: #177048;
  --kb-accent: #fdb515;
  --kb-hero-ink: #0b1b33;          /* caption heading colour */
  width: 100%; margin: 0; border-radius: 0; background: #e9eef5;
}
.kb-slider.is-hero, .kb-slider.is-hero * { box-sizing: border-box; }
.kb-slider.is-hero .kb-slides { height: 600px; }
.kb-slider.is-hero .kb-slide { background: linear-gradient(135deg, #f3f6fa 0%, #d9e2ee 100%); }

/* soft white fade on the caption side so dark text stays readable on any photo */
.kb-slider.is-hero .kb-slide::before,
.kb-slider.is-hero .kb-slide.is-left::before {
  background: linear-gradient(90deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 75%);
}
.kb-slider.is-hero .kb-slide.is-right::before {
  background: linear-gradient(270deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 75%);
}

/* caption aligned with the 1250px site container */
.kb-slider.is-hero .kb-slide-body {
  left: 0; right: 0; max-width: 1250px; margin: 0 auto; padding: 0 15px;
  align-items: flex-start; text-align: left; color: var(--kb-hero-ink);
}
.kb-slider.is-hero .kb-slide.is-right .kb-slide-body { align-items: flex-end; text-align: right; }

.kb-slider.is-hero .kb-slide-title {
  max-width: 640px; margin: 0 0 18px; color: var(--kb-hero-ink);
  font-size: 52px; font-weight: 700; line-height: 1.12; text-transform: uppercase; letter-spacing: .01em;
}
.kb-slider.is-hero .kb-slide-text {
  max-width: 560px; margin: 0 0 28px; color: #2d3748; font-size: 20px; font-weight: 400; line-height: 1.7;
}
.kb-slider.is-hero .kb-slide-body .kb-btn {
  align-self: flex-start; background: var(--kb-btn); border-color: var(--kb-btn); color: #fff; text-decoration: none;
}
.kb-slider.is-hero .kb-slide.is-right .kb-slide-body .kb-btn { align-self: flex-end; }
.kb-slider.is-hero .kb-slide-body .kb-btn:hover { background: var(--kb-btn-dark); border-color: var(--kb-btn-dark); color: #fff; }

/* dots only (arrows hidden like iqs.ac). Delete the next line to show arrows. */
.kb-slider.is-hero .kb-slider-btn { display: none; }
.kb-slider.is-hero .kb-slider-dots { bottom: 30px; }
.kb-slider.is-hero .kb-slider-dots button { box-shadow: 0 0 0 1.5px rgba(11,27,51,.55); }

/* page content right below the full-width slider */
.kb-article.is-home { padding-top: 56px; }

@media (max-width: 991px) {
  .kb-slider.is-hero .kb-slides { height: 520px; }
  .kb-slider.is-hero .kb-slide-body { padding: 0 24px; }
  .kb-slider.is-hero .kb-slide-title { font-size: 38px; }
  .kb-slider.is-hero .kb-slide-text { font-size: 18px; }
}
@media (max-width: 575px) {
  .kb-slider.is-hero .kb-slides { height: 520px; }
  .kb-slider.is-hero .kb-slide::before,
  .kb-slider.is-hero .kb-slide.is-left::before,
  .kb-slider.is-hero .kb-slide.is-right::before { background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.72) 100%); }
  .kb-slider.is-hero .kb-slide-body { padding: 0 18px; }
  .kb-slider.is-hero .kb-slide.is-right .kb-slide-body { align-items: flex-start; text-align: left; }
  .kb-slider.is-hero .kb-slide.is-right .kb-slide-body .kb-btn { align-self: flex-start; }
  .kb-slider.is-hero .kb-slide-title { font-size: 27px; }
  .kb-slider.is-hero .kb-slide-text { font-size: 16px; }
  .kb-slider.is-hero .kb-slide-body .kb-btn { width: auto; }
}

/* ==========================================================
   FULL-WIDTH HOME HERO SLIDER (separate, self-contained)
   Classes: .iqhero, .iqhero-slides, .iqhero-slide, .iqhero-body,
            .iqhero-title, .iqhero-text, .iqhero-btn, .iqhero-dots
   Use OUTSIDE (above) <article class="kb-article">. Does not depend on .kb-article.
   (Older .kb-slider.is-hero block above is no longer used and can be deleted.)
   ========================================================== */
.iqhero {
  --iqh-ink: #0b1b33;
  --iqh-text: #2d3748;
  --iqh-btn: #1e8e5a;
  --iqh-btn-dark: #177048;
  --iqh-accent: #fdb515;
  --iqh-font-head: "Rubik", "Segoe UI", Roboto, Arial, sans-serif;
  --iqh-font-body: "Roboto", "Segoe UI", Arial, sans-serif;

  position: relative; display: block; width: 100%;
  margin: 0; padding: 0; overflow: hidden; background: #e9eef5;
}
.iqhero, .iqhero *, .iqhero *::before, .iqhero *::after { box-sizing: border-box; }

.iqhero-slides { position: relative; width: 100%; height: 600px; margin: 0; padding: 0; }
.iqhero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  background: linear-gradient(135deg, #f3f6fa 0%, #d9e2ee 100%);
}
.iqhero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.iqhero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* soft white fade on the caption side (keeps dark text readable) */
.iqhero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 75%);
}
.iqhero-slide.is-right::before {
  background: linear-gradient(270deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 75%);
}

/* caption, aligned with the 1250px site container */
.iqhero-body {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; right: 0;
  max-width: 1250px; margin: 0 auto; padding: 0 15px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
}
.iqhero-slide.is-right .iqhero-body { align-items: flex-end; text-align: right; }

.iqhero-title {
  max-width: 700px; margin: 0 0 18px; padding: 0;
  font-family: var(--iqh-font-head); font-size: 52px; font-weight: 700; line-height: 1.12;
  text-transform: uppercase; letter-spacing: .01em; color: var(--iqh-ink);
}
.iqhero-text {
  max-width: 580px; margin: 0 0 28px; padding: 0;
  font-family: var(--iqh-font-body); font-size: 20px; font-weight: 400; line-height: 1.7; color: var(--iqh-text);
}
.iqhero a.iqhero-btn {
  display: inline-block; padding: 14px 30px; border-radius: 8px; line-height: 1.2;
  font-family: var(--iqh-font-head); font-size: 17px; font-weight: 500; text-decoration: none;
  background: var(--iqh-btn); color: #fff; border: 2px solid var(--iqh-btn);
  transition: background .2s, border-color .2s;
}
.iqhero a.iqhero-btn:hover { background: var(--iqh-btn-dark); border-color: var(--iqh-btn-dark); color: #fff; text-decoration: none; }
.iqhero a.iqhero-btn:focus-visible { outline: 3px solid var(--iqh-accent); outline-offset: 3px; }

/* dots */
.iqhero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 10px; }
.iqhero-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; background: transparent; box-shadow: 0 0 0 1.5px rgba(11,27,51,.55);
}
.iqhero-dots button.is-active { background: var(--iqh-accent); }
.iqhero-dots button:focus-visible { outline: 3px solid var(--iqh-accent); outline-offset: 3px; }

@media (max-width: 991px) {
  .iqhero-slides { height: 520px; }
  .iqhero-body { padding: 0 24px; }
  .iqhero-title { font-size: 38px; }
  .iqhero-text { font-size: 18px; }
}
@media (max-width: 575px) {
  .iqhero-slides { height: 520px; }
  .iqhero-slide::before, .iqhero-slide.is-right::before { background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.72) 100%); }
  .iqhero-body, .iqhero-slide.is-right .iqhero-body { padding: 0 18px; align-items: flex-start; text-align: left; }
  .iqhero-title { font-size: 27px; }
  .iqhero-text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .iqhero-slide { transition: none; } }

/* ==========================================================
   ADDED FOR VERIFY CERTIFICATE PAGE
   ========================================================== */
.kb-article.is-verify { min-height: 60vh; }
.kb-verify { max-width: 940px; margin: 0 auto; padding-top: 30px; text-align: center; }
.kb-article.is-verify h1 { text-align: center; margin-bottom: 10px; }
.kb-verify .kb-lead { max-width: 760px; margin: 0 auto; font-size: 18px; font-weight: 300; color: var(--kb-text); }

.kb-verify-form { display: flex; gap: 14px; align-items: stretch; margin: 32px 0 0; text-align: left; }
.kb-verify-input {
  flex: 1; min-width: 0; height: 64px; padding: 0 22px;
  border: 1px solid #d5d9e2; border-radius: 8px; background: #fff;
  font-family: var(--kb-font-body); font-size: 18px; font-weight: 400; color: var(--kb-heading);
}
.kb-verify-input::placeholder { color: #7a8494; }
.kb-verify-input:focus { outline: 0; border-color: var(--kb-primary); box-shadow: 0 0 0 3px rgba(var(--kb-primary-rgb), .15); }
.kb-verify-btn {
  height: 64px; padding: 0 44px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--kb-primary); color: #fff;
  font-family: var(--kb-font-head); font-size: 17px; font-weight: 500; line-height: 1;
  transition: background .2s;
}
.kb-verify-btn:hover { background: var(--kb-primary-dark); }
.kb-verify-btn:focus-visible { outline: 3px solid var(--kb-accent); outline-offset: 3px; }

/* Result box */
.kb-verify-result { margin: 28px 0 0; padding: 22px 26px; border: 1px solid var(--kb-border); border-left-width: 4px; border-radius: var(--kb-radius); text-align: left; background: var(--kb-card-bg); }
.kb-verify-result.is-valid   { background: #effaf3; border-left-color: #1f8a4c; }
.kb-verify-result.is-invalid { background: #fdf1ef; border-left-color: var(--kb-danger); }
.kb-verify-result h2 { margin: 0 0 8px; padding: 0; font-size: 22px; }
.kb-verify-result h2::after { display: none; }
.kb-verify-result p { margin: 0; }
.kb-verify-details { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 16px 0 0; }
.kb-verify-details dt { font-family: var(--kb-font-head); font-weight: 500; color: var(--kb-heading); }
.kb-verify-details dd { margin: 0; }

/* Visually hidden (for form labels) */
.kb-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 575px) {
  .kb-verify-form { flex-direction: column; }
  .kb-verify-btn { width: 100%; }
  .kb-verify-details { grid-template-columns: 1fr; gap: 2px; }
  .kb-verify-details dd { margin-bottom: 10px; }
}

    .cpd-find-section {
        background: #f7f9fc;
        padding: 55px 0 75px;
        min-height: 65vh;
    }

    .cpd-find-container {
        width: 92%;
        max-width: 1200px;
        margin: auto;
    }

    .cpd-find-heading {
        text-align: center;
        margin-bottom: 35px;
    }

    .cpd-find-heading h1 {
        font-size: 36px;
        font-weight: 700;
        color: #172033;
        margin-bottom: 12px;
    }

    .cpd-find-heading p {
        color: #667085;
        font-size: 16px;
        line-height: 1.7;
    }

    .cpd-filter-box {
        background: #fff;
        border: 1px solid #e3e8f0;
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 30px;
        box-shadow: 0 4px 16px rgba(20, 35, 60, .04);
    }

    .cpd-filter-box label {
        display: block;
        font-weight: 600;
        margin-bottom: 9px;
        color: #263348;
    }

    .cpd-filter-box select,
    .cpd-filter-box input {
        width: 100%;
        height: 48px;
        padding: 10px 13px;
        border: 1px solid #d7deea;
        border-radius: 7px;
        background: #fff;
        font-size: 15px;
        color: #263348;
    }

    .cpd-filter-box select:focus,
    .cpd-filter-box input:focus {
        outline: none;
        border-color: #2457c5;
        box-shadow: 0 0 0 3px rgba(36, 87, 197, .1);
    }

    .cpd-list-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .cpd-list-heading h2 {
        font-size: 24px;
        font-weight: 700;
        color: #172033;
        margin: 0;
    }

    .cpd-count {
        font-size: 14px;
        color: #667085;
    }

    .cpd-course-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .cpd-course-card {
        background: #fff;
        border: 1px solid #e3e8f0;
        border-radius: 12px;
        padding: 23px;
        display: flex;
        flex-direction: column;
        min-width: 0;
        box-shadow: 0 3px 12px rgba(20, 35, 60, .035);
        transition: .2s ease;
    }

    .cpd-course-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(20, 35, 60, .08);
    }

    .cpd-category-label {
        display: inline-block;
        align-self: flex-start;
        background: #eef4ff;
        color: #2457c5;
        border-radius: 5px;
        padding: 6px 9px;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 15px;
        overflow-wrap: anywhere;
    }

    .cpd-course-card h3 {
        color: #172033;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.5;
        margin: 0 0 15px;
        overflow-wrap: anywhere;
    }

    .cpd-provider-name {
        color: #667085;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
        overflow-wrap: anywhere;
    }

    .cpd-provider-name strong {
        color: #344054;
    }

    .cpd-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: auto;
        margin-bottom: 20px;
    }

    .cpd-badge {
        display: inline-block;
        padding: 6px 10px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 700;
    }

    .cpd-free,
    .cpd-yes {
        background: #e6f6ed;
        color: #16804a;
    }

    .cpd-paid {
        background: #fff1cc;
        color: #8b5b00;
    }

    .cpd-no {
        background: #f0f2f5;
        color: #596579;
    }

    .cpd-view-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        background: #1e8e5a;
        border: 1px solid #2457c5;
        border-radius: 7px;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
        transition: .2s ease;
    }

    .cpd-view-link:hover {
        background: #19449f;
        border-color: #19449f;
        color: #fff !important;
    }

    .cpd-no-link {
        padding: 12px;
        border-radius: 7px;
        background: #f2f4f7;
        color: #667085;
        text-align: center;
        font-size: 13px;
    }

    .cpd-empty {
        grid-column: 1 / -1;
        background: #fff;
        padding: 40px 20px;
        text-align: center;
        border: 1px dashed #cbd5e1;
        border-radius: 12px;
        color: #667085;
    }

    .cpd-empty h3 {
        color: #263348;
        margin-bottom: 8px;
    }

    @media (max-width: 991px) {
        .cpd-course-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 600px) {
        .cpd-find-section {
            padding: 35px 0 50px;
        }

        .cpd-find-heading h1 {
            font-size: 29px;
        }

        .cpd-course-grid {
            grid-template-columns: 1fr;
        }

        .cpd-filter-box {
            padding: 18px;
        }

        .cpd-list-heading {
            align-items: flex-start;
            flex-direction: column;
        }
    }
