/* Individual course and subject pages only. Homepage output does not load this file. */
body.v29:not(.homepage-v23) .course-path-selector .path-card > .path-audience-ribbon {
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  width: max-content !important;
  max-width: calc(100% - 12px) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
  text-align: left !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.v29:not(.homepage-v23) .course-path-selector .path-card > .path-card-cta {
  min-width: 145px;
  min-height: 44px;
  padding: 9px 17px !important;
  font-size: 16px !important;
  box-shadow: 0 6px 16px rgba(10, 40, 66, .2);
}

@media (max-width: 700px) {
  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) {
    grid-template-rows: 44px minmax(104px, auto) minmax(52px, 1fr) !important;
  }

  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) > .path-copy {
    display: grid !important;
    grid-template-rows: minmax(50px, auto) minmax(48px, auto);
    row-gap: 6px !important;
    align-content: start !important;
  }

  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) .path-copy > b {
    display: flex !important;
    min-height: 50px;
    align-items: center;
  }

  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) .path-copy > .path-levels {
    min-height: 48px;
    align-items: center;
    align-content: center;
    margin-top: 0 !important;
  }

  body.v29:not(.homepage-v23) .course-path-selector .path-card > .path-card-cta {
    width: 100% !important;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 370px) {
  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) {
    grid-template-rows: 44px minmax(126px, auto) minmax(52px, 1fr) !important;
  }

  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) > .path-copy {
    grid-template-rows: minmax(72px, auto) minmax(48px, auto);
  }

  body.v29:not(.homepage-v23) .course-path-selector .path-card:not(:only-child) .path-copy > b {
    min-height: 72px;
  }
}
