/* Desktop only */
@media (min-width: 768px) {

  /* Tab bar */
  .AL_Custom_TabBar {
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.045);
  }

  /* Hide "My Trainings" count badge (Tab Bar) */
  .AL_Custom_TabBarTab[href="/my_trainings"] > div {
    display: none;
  }

  /* Header buttons */
  .AL_Custom_NavAccountMenuTrigger {
    background-color: #26A990 !important;
    border-radius: 9999px;
  }

  .AL_Custom_NavAccountMenuTrigger > * {
    color: #fff !important;
    fill: #fff !important;
  }

  .AL_Custom_NavAccountMenuTrigger:hover {
    background-color: #229983 !important;
  }

  .AL_Custom_NavLoginButton {
    background-color: #26A990 !important;
    border-color: #26A990 !important;
    color: #fff !important;
    font-weight: 500 !important;
  }

  .AL_Custom_NavLoginButton:hover {
    background-color: #229983 !important;
    border-color: #229983 !important;
  }

  /* Account popup menu items */
  .AL_Custom_NavAcctPopupMenuItem:hover,
  .AL_Custom_NavAcctPopupMenuItem:hover > * {
    color: #26A990 !important;
  }

  .AL_Custom_NavAcctPopupMenuItem[aria-current="page"],
  .AL_Custom_NavAcctPopupMenuItem[aria-current="page"] > * {
    color: #26A990 !important;
  }

  /* Hide "My Courses" count badge in profile menu */
  .AL_Custom_NavAcctPopupMenuItem[href="/profile/my_trainings/"] > div {
    display: none;
  }

  /* Hide banner heading */
  .AL_Custom_BannerMainHeading {
    display: none !important;
  }

  /* Cards: layout */
  .AL_Custom_CardContainer {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Cards: neutral typography */
  .AL_Custom_SingleCard :is(
    .AL_Custom_CardTitle,
    .AL_Custom_CardDescription,
    .AL_Custom_CardCta,
    .AL_Custom_ItemsCount
  ),
  .AL_Custom_SingleCard :is(
    .AL_Custom_CardTitle,
    .AL_Custom_CardDescription,
    .AL_Custom_CardCta,
    .AL_Custom_ItemsCount
  ) * {
    font-weight: 400 !important;
    font-style: normal !important;
  }

  /* Content type label */
  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel,
  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel * {
    display: inline-block;
    color: #26A990 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem !important;
    line-height: 1.2;
    font-weight: 600 !important;
    transform: none;
  }

  /* Reduce spacing above label (course/path/event/cert only) */
  .AL_Custom_SingleCard:not(:has(.AL_Custom_CardFooter > .content-text)) .AL_Custom_ContentTypeLabel {
    margin-top: -35px !important;
  }

  /* Move title + description up to align with adjusted label */
  .AL_Custom_SingleCard:not(:has(.AL_Custom_CardFooter > .content-text)) .AL_Custom_CardTitle {
    margin-top: -25px !important;
  }

  .AL_Custom_SingleCard:not(:has(.AL_Custom_CardFooter > .content-text)) .AL_Custom_CardDescription {
    margin-top: 0px !important;
  }

  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel {
    margin-bottom: 0 !important;
    margin-left: 5px !important;
  }

  .AL_Custom_SingleCard .AL_Custom_CardTitle {
    margin-top: -4px !important;
    margin-left: 14px !important;
    line-height: 1.3 !important;
  }

  .AL_Custom_SingleCard .AL_Custom_CardDescription {
    margin-top: 6px !important;
    margin-left: 14px !important;
    line-height: 1.45 !important;
  }

  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel :is(svg, img),
  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel [class*="Icon"],
  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel::before {
    display: none !important;
    content: none !important;
  }

/* Keep content type labels on one line */
  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel {
    white-space: nowrap !important;
    min-width: max-content !important;
  }

  .AL_Custom_SingleCard .AL_Custom_ContentTypeLabel > span {
    white-space: nowrap !important;
  }

/* Hide banner heading */
 .AL_Custom_BannerMainHeading {
 display: none !important;
 }

  /* Hide banner description/subheading */
 .AL_Custom_BannerSubHead {
 display: none !important;
 }

  /* Collections List footer label scoped to footers that contain the live item-count node */
  .AL_Custom_CardFooter:has(> .content-text) > :first-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    column-gap: 0 !important;
    margin-right: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    text-indent: -9px !important;
  }

  /* Align items count with content type label */
  .AL_Custom_SingleCard:not(:has(.AL_Custom_CardFooter > .content-text))
  .AL_Custom_ItemsCount {
    margin-top: -25px !important;
  }

  /* Collection card title + description */
  .AL_Custom_SingleCard:has(.AL_Custom_CardFooter > .content-text) .AL_Custom_CardTitle {
    margin-top: 21px !important;
  }

  .AL_Custom_SingleCard:has(.AL_Custom_CardFooter > .content-text) .AL_Custom_CardDescription {
    margin-top: 5px !important;
  }

  .AL_Custom_CardFooter:has(> .content-text) > :first-child > div:first-child {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* Collection CTA */
  .AL_Custom_CardFooter:has(> .content-text) > :first-child > span {
    color: #26A990 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    left: auto !important;
  }

  /* Collection footer item count — right side only */
  .AL_Custom_CardFooter:has(> .content-text) > .content-text {
    font-weight: 300 !important;
  }

  .AL_Custom_CardFooter:has(> .content-text) > :first-child canvas,
  .AL_Custom_CardFooter:has(> .content-text) > :first-child svg,
  .AL_Custom_CardFooter:has(> .content-text) > :first-child img {
    display: none !important;
  }

  /* Cards: depth + hover */
  .AL_Custom_SingleCard {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    will-change: transform;
  }

  .AL_Custom_SingleCard:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 66, 243, 0.35);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  }

  .AL_Custom_CardShadows {
    display: none !important;
  }

  .AL_Custom_SingleCard .AL_Custom_CardBody {
    flex: 1 1 auto !important;
    padding: 16px 16px 18px !important;
  }

  .AL_Custom_SingleCard .AL_Custom_CardFooter {
    margin-top: auto !important;
    border-top: none !important;
    padding: 14px 16px 12px !important;
    justify-content: flex-end !important;
  }

  .AL_Custom_SingleCard:hover .AL_Custom_CardFooter {
    border-top: none !important;
  }

  .AL_Custom_CardFooter::before,
  .AL_Custom_CardFooter::after {
    display: none !important;
    content: none !important;
  }

  /* CTA lightening */
  .AL_Custom_SingleCard .AL_Custom_CardCta,
  .AL_Custom_SingleCard .AL_Custom_CardCta * {
    color: rgba(0, 0, 0, 0.45) !important;
    font-weight: 400 !important;
  }

  .AL_Custom_SingleCard:hover .AL_Custom_CardCta,
  .AL_Custom_SingleCard:hover .AL_Custom_CardCta * {
    color: #26A990 !important;
  }

  .AL_Custom_SingleCard:has(.AL_Custom_CompletionStatus) .AL_Custom_CardCta,
  .AL_Custom_SingleCard:has(.AL_Custom_CompletionStatus) .AL_Custom_CardCta * {
    color: #26A990 !important;
  }

  /* Footer: responsive columns */
  .AL_Custom_Footer {
    width: 100%;
    max-width: none;
  }

  .AL_Custom_FooterLinkList {
    width: 100% !important;
    max-width: none !important;
  }

  .AL_Custom_FooterLinkList > * {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px 32px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .AL_Custom_FooterLinkListItem {
    margin: 0 !important;
    padding: 0 !important;
  }

  .AL_Custom_FooterLinkListItem > * {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  /* Completed check icon - module boxes */
  .AL_Custom_PCModuleBox[color="#4abf4a" i] svg path {
    fill: #26A990 !important;
  }

  .AL_Custom_PCModuleBox[color="#4abf4a" i] svg g path {
    fill: #26A990 !important;
  }

  /* Completed check icon - summary box */
  .AL_Custom_PCSummaryBox svg path[fill="#4ABF4A"],
  .AL_Custom_PCSummaryBox svg path[fill="#4abf4a"] {
    fill: #26A990 !important;
  }

  .AL_Custom_PCSummaryBox svg g path[fill="#4ABF4A"],
  .AL_Custom_PCSummaryBox svg g path[fill="#4abf4a"] {
    fill: #26A990 !important;
  }

/* Hide module icons in path/cert module rows */
.AL_Custom_PCModuleBox > * > span {
  display: none !important;
}

  :is(
    .AL_Custom_PCModuleBox,
    .AL_Custom_PCToggledContent,
    .AL_Custom_PCSummaryBox,
    .AL_Custom_PCSummary
  ) {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.05) !important;
  }

  .AL_Custom_PCModuleBox {
    position: relative !important;
    overflow: hidden !important;
    padding-top: 8px !important;
  }

  .AL_Custom_PCModuleBox::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 8px !important;
    background: rgba(0, 0, 0, 0.14) !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  .AL_Custom_PCModuleBox[color="#d3d3d3" i]::before {
    background: rgba(0, 0, 0, 0.14) !important;
  }

  .AL_Custom_PCModuleBox[color]:not([color="#d3d3d3" i]):not([color="#4abf4a" i])::before {
    background: #147BD1 !important;
  }

  .AL_Custom_PCModuleBox[color="#4abf4a" i]::before {
    background: #26A990 !important;
  }

  .AL_Custom_PCModuleBox[color="#4abf4a" i] .AL_Custom_PCModulePassingStatus svg {
    background: transparent !important;
  }

  .AL_Custom_PCModuleBox[color="#4abf4a" i] .AL_Custom_PCModulePassingStatus svg g#circle__x--fill path#Subtract,
  .AL_Custom_PCModuleBox[color="#4abf4a" i] .AL_Custom_PCModulePassingStatus svg path#Subtract {
    fill: #26A990 !important;
    stroke: none !important;
  }

  .AL_Custom_PCModuleBox[color="#4abf4a" i] .AL_Custom_CompletionStatusDot {
    background-color: #26A990 !important;
    border-color: #26A990 !important;
  }

  .AL_Custom_PCSummaryBox br {
    display: none !important;
  }

  .AL_Custom_PCSummaryBox {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 16px !important;
  }

  .AL_Custom_PCInnerSummaryBox {
    border-radius: 16px !important;
  }

  .AL_Custom_PCToggledContent,
  .AL_Custom_PCModuleGuideTaskWrapper,
  .AL_Custom_PCModuleGuideTask {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .AL_Custom_PCShowHideToggle {
    transition: color 0.18s ease, fill 0.18s ease;
  }

  .AL_Custom_PCShowHideToggle:hover,
  .AL_Custom_PCShowHideToggle:hover * {
    color: #26A990 !important;
    fill: #26A990 !important;
  }

  .AL_Custom_PCModuleGuideSection {
    background: #147BD1 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .AL_Custom_PCModuleGuideSection,
  .AL_Custom_PCModuleGuideSection * {
    color: #ffffff !important;
    fill: #ffffff !important;
  }

  .AL_Custom_GOSectionTitle {
    background: #147BD1 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
  }

  .AL_Custom_GOSectionTitle,
  .AL_Custom_GOSectionTitle * {
    color: #ffffff !important;
    fill: #ffffff !important;
  }

  a[role="button"][bgcolor="#26a990"],
  a[role="button"][bgcolor="#26a990"] * {
    color: #ffffff !important;
  }

  .AL_Custom_PCSummaryCta,
  .AL_Custom_PCSummaryCta *,
  .AL_Custom_BannerCta,
  .AL_Custom_BannerCta * {
    color: #ffffff !important;
  }

  .AL_Custom_PCPathLine .Dot-sc-ead4d2e4-1 {
    opacity: 0.35 !important;
    transform: scale(0.9) !important;
  }
}

@media (min-width: 1024px) {
  .AL_Custom_CardContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .AL_Custom_FooterLinkList > * {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (min-width: 1280px) {
  .AL_Custom_FooterLinkList > * {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}
/* Hide expand/collapse toggle */
.AL_Custom_PCShowHideToggle {
  display: none !important;
}

/* Hide toggle only */
.AL_Custom_PCShowHideToggle {
  display: none !important;
}

/* Hide only the task list (not all content) */
.AL_Custom_PCModuleGuideTaskWrapper {
  display: none !important;
}
/* Remove divider above toggle */
.AL_Custom_PCModuleBox > div {
  border-top: none !important;
}