/* ---------------------------------------------------------------------------
 * Course facts: the start status, the four-fact strip, the role fit line and
 * the short course lists on the Adoption pathway. Shared by the Courses tab,
 * persona pages and the Adoption pathway, so a course reads the same on each.
 * Colours come from the Build Digital tokens; status is always in words, and
 * colour only reinforces it.
 * --------------------------------------------------------------------------- */

:root {
  --bdk-course-start-go: var(--bdk-color-deep-teal, #0d5951);
  --bdk-course-start-go-bg: #e3efed;
  --bdk-course-start-wait: #3c6f86;
  --bdk-course-start-wait-bg: #e6f0f4;
  --bdk-course-start-none: var(--bdk-color-muted, #706c69);
  --bdk-course-start-none-bg: #f1efed;
  --bdk-course-start-passed: #7a4b00;
  --bdk-course-start-passed-bg: #fbefd9;
}

/* --- Start status ------------------------------------------------------ */

.bdk-course-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin: 0 0 0.85rem;
}

.bdk-course-card__start {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.2rem 0.6rem 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--bdk-course-start-none-bg);
  color: var(--bdk-course-start-none);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.bdk-course-card__start::before {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.bdk-course-card__start:is([data-start="next"], [data-start="open"], [data-start="rolling"]) {
  background: var(--bdk-course-start-go-bg);
  color: var(--bdk-course-start-go);
}

.bdk-course-card__start[data-start="scheduled"] {
  background: var(--bdk-course-start-wait-bg);
  color: var(--bdk-course-start-wait);
}

.bdk-course-card__start[data-start="passed"] {
  background: var(--bdk-course-start-passed-bg);
  color: var(--bdk-course-start-passed);
}

.bdk-course-card__start[data-start="closed"]::before {
  border: 1.5px solid currentColor;
  background: transparent;
}

.bdk-course-card__type {
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.76rem;
  font-weight: 500;
}

/* --- Four facts -------------------------------------------------------- */

/* Two by two: a course card is about a third of the page wide, and four
   columns there break words like "Intermediate" mid-word. */
.bdk-course-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 1rem;
  padding: 0;
  border-block: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-course-card__facts > div {
  min-width: 0;
  padding: 0.5rem 0.6rem 0.55rem 0;
}

.bdk-course-card__facts > div:nth-child(even) {
  padding-left: 0.75rem;
  border-left: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-course-card__facts > div:nth-child(n + 3) {
  border-top: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-course-card__facts dt {
  margin: 0 0 0.15rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bdk-course-card__facts dd {
  margin: 0;
  color: var(--bdk-color-ink, #2d2926);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.bdk-course-card__facts .is-unstated dd {
  color: var(--bdk-color-muted, #706c69);
  font-style: italic;
  font-weight: 400;
}

/* --- Why it fits the chosen role --------------------------------------- */

.bdk-course-card__fit {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin: 0 0 0.85rem;
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.bdk-course-card__fit svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* --- Inside "More about this course" ----------------------------------- */

.bdk-course-card__group {
  margin-top: 0.9rem;
}

.bdk-course-card__group-title {
  margin: 0 0 0.4rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bdk-course-card__links {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bdk-course-card__links a {
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.84rem;
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.bdk-course-card__links small {
  margin-left: 0.35rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.72rem;
  font-weight: 500;
}

/* A note above the results when a role or a pathway step is chosen. */
.bdk-course-results__note {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--bdk-color-deep-teal, #0d5951);
  background: var(--bdk-color-surface-soft, #f8f7f6);
  color: var(--bdk-color-ink, #2d2926);
  font-size: 0.88rem;
  line-height: 1.5;
}

.bdk-course-results__note a {
  margin-left: 0.35rem;
  color: var(--bdk-color-deep-teal, #0d5951);
  font-weight: 700;
}

/* --- Short course lists on the Adoption pathway ------------------------ */

.bdk-pathway__courses {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  border-top: 3px solid var(--bdk-color-deep-teal, #0d5951);
  border-radius: 0.375rem;
  background: var(--bdk-color-white, #fff);
}

.bdk-pathway__courses h3 {
  margin: 0 0 0.25rem;
  color: var(--bdk-color-ink, #2d2926);
  font-family: var(--bdk-font-heading, "Roboto Slab", Georgia, serif);
  font-size: 1.05rem;
}

.bdk-pathway__courses > p {
  margin: 0 0 0.9rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.86rem;
}

.bdk-course-mini-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.bdk-course-mini a {
  display: grid;
  gap: 0.45rem;
  height: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  border-radius: 0.3rem;
  color: var(--bdk-color-ink, #2d2926);
  text-decoration: none;
  transition: border-color 120ms linear, background-color 120ms linear;
}

.bdk-course-mini a:hover,
.bdk-course-mini a:focus-visible {
  border-color: var(--bdk-color-deep-teal, #0d5951);
  background: var(--bdk-color-surface-soft, #f8f7f6);
}

.bdk-course-mini .bdk-course-card__start {
  justify-self: start;
}

.bdk-course-mini strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.bdk-course-mini__provider {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--bdk-color-ink, #2d2926);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

/* The provider's mark, as on the course card, at list scale. */
.bdk-course-mini__logo {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #b8c9c6;
  border-radius: 0.2rem;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.bdk-course-mini__logo img {
  display: block;
  width: calc(100% - 0.2rem);
  height: calc(100% - 0.2rem);
  object-fit: contain;
}

.bdk-course-mini__meta {
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* In a persona Overview's courses box the cards stack. */
.bdk-course-mini-list--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0.35rem 0 0.5rem;
}

/* Inside an Overview the cards take the Overview's own colours, light or dark. */
.bdk-ov [data-bdk-slot="courses"] .bdk-course-mini a {
  border-color: var(--border, #e8e4e1);
  background: var(--surface, #fff);
  color: var(--display, #2d2926);
  font-weight: 400;
}

.bdk-ov [data-bdk-slot="courses"] .bdk-course-mini a:hover,
.bdk-ov [data-bdk-slot="courses"] .bdk-course-mini a:focus-visible {
  border-color: var(--brand-text, #0d5951);
  background: var(--surface, #fff);
  text-decoration: none;
}

.bdk-ov [data-bdk-slot="courses"] .bdk-course-mini__provider {
  color: var(--display, #2d2926);
}

.bdk-ov [data-bdk-slot="courses"] .bdk-course-mini__meta {
  color: var(--muted, #706c69);
}

.bdk-ov .bdk-ov-courses-all {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--brand-text, #0d5951);
  font-weight: 700;
}

/* The list's "(opens in a new tab)" is for screen readers wherever it sits. */
.bdk-course-mini .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bdk-pathway__courses-all {
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.86rem;
  font-weight: 700;
}

/* 1.3.4: one quiet line under each short course list (the Adoption pathway's
   steps and a persona's Related learning) says Build Digital doesn't endorse
   them. The persona Overview carries the same line in its own meta style. */
/* The step's own "> p" rule styles its intro; this line outranks it. */
.bdk-course-disclaimer,
.bdk-pathway__courses > .bdk-course-disclaimer {
  margin: 1rem 0 0;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* --- Compare: take it away ------------------------------------------- */

.bdk-compare__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: -6px 28px 0;
}

.bdk-compare__actions button {
  min-height: 2.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--bdk-color-deep-teal, #0d5951);
  border-radius: 0.25rem;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.bdk-compare__actions button:hover,
.bdk-compare__actions button:focus-visible {
  background: var(--bdk-color-deep-teal, #0d5951);
  color: var(--bdk-color-white, #fff);
}

.bdk-compare__status {
  flex: 1 1 12rem;
  margin: 0;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.bdk-compare__statement {
  margin: 0;
  padding: 10px 28px 22px;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.78rem;
}

@media (max-width: 48rem) {
  .bdk-compare__actions {
    margin-inline: 16px;
  }

  .bdk-compare__statement {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bdk-course-mini a {
    transition: none;
  }
}

/* --- Filters: live counts (0.47.0) ------------------------------------ */

.bdk-demo .bdk-demo__facet-options [data-bdk-facet-label] {
  flex: 1 1 auto;
  min-width: 0;
}

.bdk-demo__facet-count {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* --- The Courses bar and the Filters drawer (0.49.0) ------------------- *
 * One row: search, Topic, Where and Cost, Filters (with a count of what is
 * chosen) and Order, boxed alike. Every filter is in the drawer as open
 * lists: a right-side drawer on a desktop, a full-screen sheet on a phone.
 * Without JavaScript the drawer shows in the page under the bar.          */

.bdk-client-demo--courses .bdk-navigator-panel .bdk-demo__facet--bar {
  flex: 1 1 130px;
  min-width: 130px;
  max-width: 220px;
}

.bdk-plugin-shell .bdk-course-bar__filters {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  height: 46px;
  min-height: 46px;
  align-items: center;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--bdk-panel-field-border, #c9c4bf);
  border-radius: 6px;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.bdk-plugin-shell .bdk-course-bar__filters[hidden] {
  display: none;
}

.bdk-plugin-shell .bdk-course-bar__filters:hover,
.bdk-plugin-shell .bdk-course-bar__filters:focus-visible {
  border-color: var(--bdk-color-magenta, #b14581);
}

.bdk-course-bar__filters svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.bdk-course-bar__badge {
  display: inline-grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--bdk-color-magenta, #b14581);
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.bdk-course-bar__badge[hidden] {
  display: none;
}

/* Order, boxed like the filters: its caption sits inside the box. */
.bdk-client-demo--courses .bdk-navigator-panel .bdk-course-order {
  position: relative;
  flex: 0 0 170px;
  min-width: 0;
}

.bdk-plugin-shell .bdk-client-demo--courses .bdk-course-order select,
.bdk-client-demo--courses .bdk-course-order select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 18px 30px 5px 14px;
  border: 1px solid var(--bdk-panel-field-border, #c9c4bf);
  border-radius: 6px;
  background: var(--bdk-color-white, #fff);
  color: #000;
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 15px;
  line-height: 1;
  appearance: none;
}

.bdk-client-demo--courses .bdk-course-order select:hover,
.bdk-client-demo--courses .bdk-course-order select:focus-visible {
  border-color: var(--bdk-color-magenta, #b14581);
}

.bdk-client-demo--courses .bdk-course-order select:focus-visible {
  outline: 2px solid var(--bdk-color-magenta, #b14581);
  outline-offset: 2px;
}

.bdk-course-order__chevron {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--bdk-color-muted, #706c69);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

/* The drawer */
.bdk-course-tray {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-ink, #2d2926);
}

.bdk-course-tray[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.bdk-course-tray::backdrop {
  background: rgb(30 40 38 / 35%);
}

html.bdk-course-js-pending .bdk-course-tray {
  display: none;
}

html.bdk-has-js .bdk-course-tray:not(:modal) {
  display: none;
}

@media (min-width: 48rem) {
  .bdk-course-tray {
    left: auto;
    width: min(28rem, 100%);
    border-left: 1px solid var(--bdk-color-border-warm, #e8e4e1);
    box-shadow: -8px 0 24px rgb(0 0 0 / 14%);
  }
}

.bdk-course-tray__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px 10px 20px;
  border-bottom: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-course-tray__header h2 {
  margin: 0;
  font-family: var(--bdk-font-heading, "Roboto Slab", Georgia, serif);
  font-size: 1.2rem;
}

.bdk-plugin-shell .bdk-course-tray__close {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bdk-color-ink, #2d2926);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.bdk-course-tray__body {
  display: grid;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 20px 24px;
}

.bdk-course-tray__footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  background: var(--bdk-color-white, #fff);
}

.bdk-plugin-shell .bdk-course-tray__clear,
.bdk-plugin-shell .bdk-course-tray__done,
.bdk-plugin-shell .bdk-course-tray__apply {
  min-height: 2.75rem;
  margin: 0;
  padding: 0 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 0.92rem;
  font-weight: 700;
}

.bdk-plugin-shell .bdk-course-tray__clear {
  border: 1px solid var(--bdk-color-border, #e5e5e5);
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-ink, #2d2926);
}

.bdk-plugin-shell .bdk-course-tray__done,
.bdk-plugin-shell .bdk-course-tray__apply {
  border: 0;
  background: var(--bdk-color-magenta, #b14581);
  color: #fff;
}

html.bdk-has-js .bdk-course-tray__apply {
  display: none;
}

/* In the drawer each filter is a heading and its options, open. */
.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet {
  position: static;
  flex: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 16px 0 10px;
  border-bottom: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-navigator-panel .bdk-course-tray .bdk-demo__field-label,
.bdk-course-tray__choices legend {
  position: static;
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: var(--bdk-color-ink, #2d2926);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bdk-plugin-shell .bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-toggle,
.bdk-navigator-panel .bdk-course-tray :is(.bdk-demo__facet-panel-header, .bdk-demo__facet-footer) {
  display: none;
}

.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-panel {
  position: static;
  width: auto;
  max-height: none;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-options {
  max-height: none;
  padding: 0;
  overflow: visible;
}

.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-options label,
.bdk-course-tray__choices label {
  display: flex;
  gap: 10px;
  min-height: 2.5rem;
  align-items: center;
  padding: 6px 4px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14.5px;
  line-height: 1.3;
}

.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-options label[hidden] {
  display: none;
}

.bdk-course-tray__choices label:hover,
.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-options label:hover {
  background: var(--bdk-color-page, #f8f7f6);
}

.bdk-course-tray__choices {
  min-width: 0;
  margin: 0;
  padding: 16px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-course-tray__choices input,
.bdk-navigator-panel .bdk-course-tray .bdk-demo__facet-options input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: var(--bdk-color-deep-teal, #0d5951);
}

/* Without JavaScript the drawer is part of the page, under the bar. */
html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-course-tray {
  position: static;
  display: block;
  flex: 1 1 100%;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  border-radius: 8px;
  box-shadow: none;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-course-tray__body {
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0 24px;
  overflow: visible;
}

html:not(.bdk-has-js) .bdk-client-demo--courses :is(.bdk-course-tray__close, .bdk-course-tray__clear, .bdk-course-tray__done) {
  display: none;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-course-tray__footer {
  grid-template-columns: auto;
  justify-content: start;
}

/* ...and Help me choose stays out of the way until its link is followed. */
html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-course-finder:not(:target) {
  display: none;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-course-finder .bdk-course-finder__body {
  overflow: visible;
}

/* ...and Topic, Where and Cost list their options in the bar, side by side. */
html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-navigator-panel .bdk-demo__facet--bar {
  flex: 1 1 15rem;
  align-self: flex-start;
  max-width: none;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-navigator-panel .bdk-demo__facet--bar .bdk-demo__field-label {
  position: static;
  display: block;
  margin: 0 0 6px;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-navigator-panel .bdk-demo__facet--bar .bdk-demo__facet-panel {
  width: auto;
  margin-top: 0;
  box-shadow: none;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-navigator-panel .bdk-demo__facet--bar .bdk-demo__facet-panel-header {
  display: none;
}

/* The row under the bar: the count, Cards or Table, Help me choose and the
   comparison; chosen filters on a line of their own when there are some. */
.bdk-client-demo--courses .bdk-navigator-panel .bdk-demo__tools-summary.bdk-course-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-content: stretch;
}

.bdk-course-summary__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  min-width: 0;
}

.bdk-navigator-panel .bdk-course-summary .bdk-demo__count {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  white-space: normal;
}

.bdk-course-summary__source {
  color: var(--bdk-color-muted, #706c69);
  font-weight: 400;
}

.bdk-navigator-panel .bdk-course-summary .bdk-demo__tools-actions {
  display: flex;
  gap: 10px;
  width: auto;
  margin-left: auto;
}

.bdk-plugin-shell .bdk-navigator-panel .bdk-course-summary .bdk-demo__tools-state,
.bdk-navigator-panel .bdk-course-summary .bdk-demo__tools-state {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
}

html.bdk-has-js .bdk-navigator-panel .bdk-course-summary .bdk-demo__tools-state.is-empty {
  display: none;
}

@media (max-width: 47.9375rem) {
  /* With JavaScript a phone shows search, then Filters and Order side by
     side; every filter is in the drawer. */
  html.bdk-has-js .bdk-client-demo--courses .bdk-demo__tools [data-bdk-tray-item]:not(.bdk-course-tray *) {
    display: none;
  }

  html.bdk-has-js .bdk-client-demo--courses .bdk-course-bar__filters {
    flex: 0 0 auto;
  }

  .bdk-client-demo--courses .bdk-navigator-panel .bdk-course-order {
    flex: 1 1 0;
  }
}

/* --- Search help: a corrected search, and ideas when nothing matches --- */

.bdk-course-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: baseline;
  justify-content: center;
  margin: 0.6rem 0 0;
}

.bdk-course-suggest a {
  color: var(--bdk-color-deep-teal, #0d5951);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bdk-course-suggest__count {
  color: var(--bdk-color-muted, #706c69);
  font-weight: 400;
}

/* --- Only exact matches for "…" (0.50.0) -------------------------------
   One quiet line under the count, only while the exact phrase would show
   different courses. Materials draws the same line (.bdk-demo__search-alternative). */
.bdk-course-exact,
.bdk-demo__search-alternative {
  margin: 0 0 0.85rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.88rem;
  line-height: 1.5;
}

.bdk-course-exact a,
.bdk-demo__search-alternative a {
  color: var(--bdk-color-deep-teal, #0d5951);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bdk-course-exact .bdk-course-suggest__count,
.bdk-demo__search-alternative .bdk-course-suggest__count {
  font-weight: 400;
}

/* --- One card per programme (A6, 0.48.0) ------------------------------ */

.bdk-course-card__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: -0.25rem 0 0.85rem;
}

.bdk-course-card__variants[hidden] {
  display: none;
}

.bdk-plugin-shell .bdk-course-card__variants button {
  min-height: 2rem;
  margin: 0;
  padding: 0 0.7rem;
  border: 1px solid #b8d2cf;
  border-radius: 999px;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 0.78rem;
  font-weight: 700;
}

.bdk-plugin-shell .bdk-course-card__variants button:hover {
  border-color: var(--bdk-color-deep-teal, #0d5951);
}

.bdk-plugin-shell .bdk-course-card__variants button[aria-pressed="true"] {
  border-color: var(--bdk-color-deep-teal, #0d5951);
  background: var(--bdk-color-deep-teal, #0d5951);
  color: #fff;
}

.bdk-course-card__variants-note {
  margin: -0.25rem 0 0.85rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.8rem;
  line-height: 1.45;
}

.bdk-course-card__variants-note a {
  color: var(--bdk-color-deep-teal, #0d5951);
  font-weight: 700;
}

/* --- Save to a shortlist (C1) ----------------------------------------- */

.bdk-plugin-shell .bdk-demo-card__save {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--bdk-color-muted, #706c69);
  cursor: pointer;
}

.bdk-plugin-shell .bdk-demo-card__save[hidden] {
  display: none;
}

.bdk-plugin-shell .bdk-demo-card__save:hover,
.bdk-plugin-shell .bdk-demo-card__save:focus-visible {
  border-color: #b8d2cf;
  color: var(--bdk-color-deep-teal, #0d5951);
}

.bdk-demo-card__save svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentcolor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.bdk-plugin-shell .bdk-demo-card__save[aria-pressed="true"] {
  color: var(--bdk-color-magenta, #b14581);
}

.bdk-demo-card__save[aria-pressed="true"] svg {
  fill: currentcolor;
}

.bdk-demo-card--course .bdk-demo-card__provider {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.bdk-plugin-shell .bdk-demo__shortlist-open {
  display: inline-flex;
  gap: 6px;
  height: 38px;
  min-height: 38px;
  align-items: center;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--bdk-color-magenta, #b14581);
  border-radius: 19px;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-magenta, #b14581);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.bdk-plugin-shell .bdk-demo__shortlist-open[hidden] {
  display: none;
}

.bdk-demo__shortlist-open svg {
  width: 1rem;
  height: 1rem;
  fill: currentcolor;
}

.bdk-shortlist {
  width: min(calc(100% - 32px), 44rem);
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-ink, #2d2926);
  box-shadow: 0 4px 8px 3px rgb(0 0 0 / 15%), 0 1px 3px rgb(0 0 0 / 30%);
}

.bdk-shortlist[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.bdk-shortlist::backdrop {
  background: rgb(45 41 38 / 18%);
}

.bdk-shortlist__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px 14px 24px;
  border-bottom: 1px solid #e3e3e3;
}

.bdk-shortlist__header h2 {
  margin: 0;
  font-family: var(--bdk-font-heading, "Roboto Slab", Georgia, serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.bdk-shortlist__intro {
  margin: 4px 0 0;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.86rem;
  line-height: 1.45;
}

.bdk-plugin-shell .bdk-shortlist__close {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bdk-color-page, #f8f7f6);
  color: var(--bdk-color-muted, #706c69);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.bdk-shortlist__list {
  display: grid;
  margin: 0;
  padding: 0 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.bdk-shortlist__list[hidden],
.bdk-shortlist__empty[hidden] {
  display: none;
}

.bdk-shortlist__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--bdk-color-border-warm, #e8e4e1);
}

.bdk-shortlist__main p {
  margin: 2px 0 0;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.82rem;
  line-height: 1.4;
}

.bdk-shortlist__title {
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.bdk-shortlist .bdk-shortlist__provider {
  color: var(--bdk-color-ink, #2d2926);
  font-weight: 600;
}

.bdk-shortlist__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bdk-shortlist__controls .bdk-demo-card__compare {
  display: inline-flex;
  gap: 6px;
  min-height: 2.25rem;
  align-items: center;
  padding: 0 0.6rem;
  border: 1px solid #b8d2cf;
  border-radius: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.bdk-plugin-shell .bdk-shortlist__remove {
  min-height: 2.25rem;
  margin: 0;
  padding: 0 0.6rem;
  border: 1px solid var(--bdk-color-border, #e5e5e5);
  border-radius: 0.25rem;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-muted, #706c69);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 0.78rem;
  font-weight: 600;
}

.bdk-shortlist__empty {
  margin: 0;
  padding: 24px;
  color: var(--bdk-color-muted, #706c69);
}

.bdk-shortlist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 24px 18px;
  border-top: 1px solid #e3e3e3;
}

.bdk-plugin-shell .bdk-shortlist__actions :is(button, a) {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  margin: 0;
  padding: 0 0.9rem;
  border: 1px solid var(--bdk-color-deep-teal, #0d5951);
  border-radius: 0.25rem;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.bdk-plugin-shell .bdk-shortlist__actions [data-bdk-shortlist-compare] {
  border-color: var(--bdk-color-magenta, #b14581);
  background: var(--bdk-color-magenta, #b14581);
  color: #fff;
}

.bdk-plugin-shell .bdk-shortlist__actions button:disabled {
  border-color: var(--bdk-color-border, #e5e5e5);
  background: #f1efed;
  color: var(--bdk-color-muted, #706c69);
  cursor: default;
}

.bdk-plugin-shell .bdk-shortlist__actions .bdk-shortlist__clear {
  margin-left: auto;
  border-color: var(--bdk-color-border, #e5e5e5);
  color: var(--bdk-color-muted, #706c69);
}

.bdk-shortlist__actions [hidden] {
  display: none;
}

.bdk-shortlist__status {
  flex: 1 1 100%;
  margin: 0;
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.85rem;
}

.bdk-shortlist__status:empty {
  display: none;
}

@media (max-width: 40rem) {
  .bdk-shortlist {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

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

  .bdk-plugin-shell .bdk-shortlist__actions .bdk-shortlist__clear {
    margin-left: 0;
  }
}

/* --- Cards or a table (C4) -------------------------------------------- */

.bdk-course-results__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.bdk-course-view {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--bdk-color-border, #e5e5e5);
  border-radius: 999px;
  background: var(--bdk-color-white, #fff);
}

.bdk-course-view a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: var(--bdk-color-ink, #2d2926);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.bdk-course-view a[aria-current="page"] {
  background: var(--bdk-color-deep-teal, #0d5951);
  color: #fff;
}

.bdk-course-view a:not([aria-current]):hover {
  background: var(--bdk-color-surface-soft, #f8f7f6);
}

.bdk-course-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  border-radius: 6px;
  background: var(--bdk-color-white, #fff);
}

.bdk-course-table-wrap:focus-visible {
  outline: 2px solid var(--bdk-color-deep-teal, #0d5951);
  outline-offset: 2px;
}

.bdk-course-table {
  width: 100%;
  min-width: 56rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.bdk-course-table caption {
  padding: 10px 14px;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.8rem;
  text-align: left;
}

.bdk-course-table th,
.bdk-course-table td {
  padding: 9px 12px;
  border-top: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  text-align: left;
  vertical-align: top;
}

.bdk-course-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bdk-color-surface-soft, #f8f7f6);
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bdk-plugin-shell .bdk-course-table thead a {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 1.75rem;
  color: inherit;
  text-decoration: none;
}

.bdk-plugin-shell .bdk-course-table thead a:hover {
  text-decoration: underline;
}

.bdk-course-table__arrow::after {
  content: "↕";
  opacity: 0.5;
}

.bdk-course-table [aria-sort="ascending"] .bdk-course-table__arrow::after {
  content: "↑";
  opacity: 1;
}

.bdk-course-table [aria-sort="descending"] .bdk-course-table__arrow::after {
  content: "↓";
  opacity: 1;
}

.bdk-course-table tbody th {
  min-width: 16rem;
  font-weight: 600;
}

.bdk-course-table tbody th a {
  color: var(--bdk-color-deep-teal, #0d5951);
  text-underline-offset: 2px;
}

.bdk-course-table tbody th small {
  display: block;
  margin-top: 2px;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.75rem;
  font-weight: 500;
}

.bdk-course-table .is-unstated {
  color: var(--bdk-color-muted, #706c69);
  font-style: italic;
}

.bdk-course-table tbody tr.is-compare-selected,
.bdk-course-table tbody tr.is-shortlisted {
  background: #f4f9f8;
}

.bdk-course-table__actions {
  white-space: nowrap;
}

.bdk-course-table__actions .bdk-demo-card__compare {
  display: inline-flex;
  gap: 6px;
  min-height: 2.25rem;
  align-items: center;
  padding: 0 0.6rem;
  border: 1px solid #b8d2cf;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.bdk-course-table__actions .bdk-demo-card__save {
  margin: 0 4px 0 0;
  vertical-align: middle;
}

.bdk-course-results__table .bdk-course-pagination__criteria,
.bdk-course-results > .bdk-course-pagination__criteria {
  margin-top: 1rem;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.82rem;
}

html:not(.bdk-has-js) .bdk-client-demo--courses .bdk-course-table__actions .bdk-demo-card__compare {
  display: none;
}

/* --- Course finder in three questions (E2) ---------------------------- */

/* 0.53.0: Help me choose ends the results row and opens the questions in
   the drawer Filters uses (.bdk-course-tray): a right-side drawer on a
   desktop, a full-screen sheet on a phone. A quiet button, not a heading. */
.bdk-plugin-shell .bdk-course-summary__finder {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 2.5rem;
  align-items: center;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid var(--bdk-panel-field-border, #c9c4bf);
  border-radius: 999px;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bdk-plugin-shell .bdk-course-summary__finder[hidden] {
  display: none;
}

.bdk-plugin-shell .bdk-course-summary__finder:hover,
.bdk-plugin-shell .bdk-course-summary__finder:focus-visible {
  border-color: var(--bdk-color-magenta, #b14581);
  background: var(--bdk-color-surface-soft, #f8f7f6);
}

.bdk-plugin-shell .bdk-course-summary__finder:focus-visible {
  outline: 2px solid var(--bdk-color-deep-teal, #0d5951);
  outline-offset: 2px;
}

.bdk-course-summary__finder svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* The drawer: the questions scroll, the buttons stay at the foot. */
.bdk-course-finder.bdk-course-tray[open] {
  grid-template-rows: auto minmax(0, 1fr);
}

.bdk-course-finder__form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
}

.bdk-course-finder__body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px 24px;
}

.bdk-course-finder__lead {
  margin: 0;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.9rem;
}

.bdk-course-finder__progress {
  margin: 0;
  color: var(--bdk-color-magenta, #b14581);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bdk-course-finder__step {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bdk-course-finder__step[hidden],
.bdk-course-finder__progress[hidden] {
  display: none;
}

.bdk-course-finder__step legend {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  padding: 0;
  color: var(--bdk-color-ink, #2d2926);
  font-size: 1rem;
  font-weight: 700;
}

.bdk-course-finder__step legend span {
  display: inline-grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--bdk-color-deep-teal, #0d5951);
  color: #fff;
  font-size: 0.8rem;
}

.bdk-course-finder__choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 8px;
}

.bdk-course-finder__choices--inline {
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.bdk-course-finder__choices label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 2.75rem;
  padding: 10px 12px;
  border: 1px solid var(--bdk-color-border, #e5e5e5);
  border-radius: 6px;
  background: var(--bdk-color-white, #fff);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.35;
}

.bdk-course-finder__choices label:has(input:checked) {
  border-color: var(--bdk-color-deep-teal, #0d5951);
  box-shadow: inset 0 0 0 1px var(--bdk-color-deep-teal, #0d5951);
}

.bdk-course-finder__choices input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--bdk-color-deep-teal, #0d5951);
}

.bdk-course-finder__choices small {
  display: block;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.78rem;
}

.bdk-course-finder__tool {
  display: grid;
  gap: 4px;
  max-width: 28rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.bdk-course-finder__tool input {
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border: 1px solid var(--bdk-color-border, #e5e5e5);
  border-radius: 0.25rem;
  font: inherit;
  font-weight: 400;
}

.bdk-course-finder__hint,
.bdk-course-finder__group-title {
  margin: 0;
  color: var(--bdk-color-muted, #706c69);
  font-size: 0.85rem;
}

.bdk-course-finder__group-title {
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bdk-course-finder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--bdk-color-border-warm, #e8e4e1);
  background: var(--bdk-color-white, #fff);
}

.bdk-plugin-shell .bdk-course-finder__actions button {
  min-height: 2.75rem;
  margin: 0;
  padding: 0 1.1rem;
  border: 1px solid var(--bdk-color-deep-teal, #0d5951);
  border-radius: 0.25rem;
  background: var(--bdk-color-white, #fff);
  color: var(--bdk-color-deep-teal, #0d5951);
  cursor: pointer;
  font-family: var(--bdk-font-interface, inherit);
  font-size: 0.92rem;
  font-weight: 700;
}

.bdk-plugin-shell .bdk-course-finder__actions :is(.bdk-course-finder__next, .bdk-course-finder__submit) {
  border-color: var(--bdk-color-magenta, #b14581);
  background: var(--bdk-color-magenta, #b14581);
  color: #fff;
}

.bdk-plugin-shell .bdk-course-finder__actions button[hidden] {
  display: none;
}

.bdk-course-finder__count {
  margin: 0;
  color: var(--bdk-color-deep-teal, #0d5951);
  font-size: 0.88rem;
  font-weight: 600;
}

.bdk-course-results__note--finder p {
  margin: 0;
}

.bdk-course-results__note--finder p + p {
  margin-top: 0.3rem;
}

.bdk-course-results__note--finder a {
  margin-left: 0;
}

.bdk-course-results__note [data-bdk-shortlist-save-all] {
  margin: 0 0 0 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bdk-color-magenta, #b14581);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bdk-course-results__note [data-bdk-shortlist-save-all][hidden] {
  display: none;
}

/* --- Courses under each persona learning brief (D3) ------------------- */

.bdk-ov-brief-courses {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--brand-text, var(--bdk-color-deep-teal, #0d5951));
  border-radius: 0 6px 6px 0;
  background: var(--surface-muted, var(--bdk-color-surface-soft, #f8f7f6));
}

.bdk-ov-brief-courses__title {
  margin: 0 0 6px;
  color: var(--muted, var(--bdk-color-muted, #706c69));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bdk-course-line-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bdk-course-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 12px;
  align-items: baseline;
}

.bdk-course-line a {
  color: var(--brand-text, var(--bdk-color-deep-teal, #0d5951));
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.bdk-course-line a:hover strong,
.bdk-course-line a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bdk-course-line strong {
  font-weight: 600;
}

.bdk-course-line__cost {
  color: var(--display, var(--bdk-color-ink, #2d2926));
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.bdk-course-line__meta {
  grid-column: 1 / -1;
  color: var(--muted, var(--bdk-color-muted, #706c69));
  font-size: 12.5px;
  line-height: 1.4;
}

.bdk-course-line .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
