.ld-start-course-cta .button {
  min-width: 220px;
}

/* AdjustCE - Fix WooCommerce notice text color visibility */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  color: #ffffff !important; /* white text */
  background-color: #006d75 !important; /* darker teal for contrast */
  border-color: #006d75 !important;
}

.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a {
  color: #ffffff !important;
  text-decoration: underline;
}

.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before {
  color: #ffffff !important;
}





/* AdjustCE – normalize LearnDash CTA button */
.learndash-wrapper .ld-button,
.learndash-wrapper .ld-button:visited {
  background-color: #0099a8;   /* base teal */
  color: #ffffff;
  border: none;
  border-radius: 28px;
  font-weight: 600;
  box-shadow: none;
  transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.learndash-wrapper .ld-button:hover,
.learndash-wrapper .ld-button:focus,
.learndash-wrapper .ld-button:active {
  background-color: #007a84;   /* darker teal on hover */
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

/* Ensure LD “Enroll” CTA uses same style in various wrappers */
.ld-course-status-actions .ld-button,
.ld-cta-btn .ld-button,
.ld-join-button .ld-button {
  background-color: #0099a8;
  color: #ffffff;
}
.ld-course-status-actions .ld-button:hover,
.ld-cta-btn .ld-button:hover,
.ld-join-button .ld-button:hover {
  background-color: #007a84;
  color: #ffffff;
}





/* AdjustCE – Override LearnDash "Course Features / Includes" section */

/* 1) Hide the default items: 19 Lessons, 23 Topics */
.ld-details__section--includes .ld-details__item {
  display: none !important;
}

/* 2) Show our custom CE items WITH icons */
.ld-details__section--includes::after {
  content: "🕒 Self-Paced Course\A📄 Instant Certificate";
  white-space: pre-line;     /* make \A a line break */
  font-size: 15px;
  line-height: 1.5;
  display: block;
  margin-top: 0.35rem;
}


/* Force CE Hours icon + text to align nicely */
.ld-details__section--awards .ld-details__item {
    display: flex !important;
    align-items: center !important;
}

/* Hide the default star icon */
.ld-details__section--awards .ld-details__icon {
    display: none !important;
}

/* Add graduation cap icon and vertically align it */
.ld-details__section--awards .ld-details__item::before {
    content: "🎓";
    font-size: 18px;
    margin-right: -7px;
    position: relative;
    top: -2px;   /* raise icon to match text baseline */
    line-height: 1;
}







/* AdjustCE – Hard override for LearnDash "Enroll in this course" button */

/* Base state */
.learndash-wrapper a#btn-join,
.learndash-wrapper a.ld-enrollment__join-button.btn-join {
  background-color: #0099a8 !important;   /* teal */
  color: #ffffff !important;
  border-radius: 28px !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  text-transform: none !important;
  padding: 0.75rem 1.75rem !important;
  transition: none !important;
}

/* Hover / focus / active – keep same font, just darken teal */
.learndash-wrapper a#btn-join:hover,
.learndash-wrapper a#btn-join:focus,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:hover,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:focus {
  background-color: #007a84 !important;   /* slightly darker teal */
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}



/* Prevent LearnDash button from changing size or shifting on hover */
.learndash-wrapper #btn-join,
.learndash-wrapper #btn-join:hover,
.learndash-wrapper #btn-join:focus,
.learndash-wrapper #btn-join:active,
.learndash-wrapper a#btn-join,
.learndash-wrapper a#btn-join:hover,
.learndash-wrapper a#btn-join:focus,
.learndash-wrapper a#btn-join:active {
    padding: 14px 28px !important;   /* lock padding */
    border-width: 0 !important;      /* prevent border changing */
    transform: none !important;      /* stop hover grow/shrink */
    box-shadow: none !important;     /* stop glow/hover effect */
    outline: none !important;

    /* Your styling */
    background-color: #0099a8 !important;
    color: #ffffff !important;
    border-radius: 28px !important;
    font-weight: 600 !important;
    font-size: 17px !important;
}




/* AdjustCE – Final style + size lock for "Enroll in this course" button */

/* Base, hover, focus, active: same size & font */
.learndash-wrapper a#btn-join,
.learndash-wrapper a#btn-join:hover,
.learndash-wrapper a#btn-join:focus,
.learndash-wrapper a#btn-join:active,
.learndash-wrapper a.ld-enrollment__join-button.btn-join,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:hover,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:focus,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* Lock size */
    height: 56px !important;
    line-height: 1 !important;
    padding: 0 32px !important;
    border-width: 0 !important;

    /* Visual style */
    background-color: #0099a8 !important;
    color: #ffffff !important;
    border-radius: 28px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    text-transform: none !important;

    /* Kill animations/effects */
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

/* Optional: darker teal on hover */
.learndash-wrapper a#btn-join:hover,
.learndash-wrapper a#btn-join:focus,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:hover,
.learndash-wrapper a.ld-enrollment__join-button.btn-join:focus {
    background-color: #007a84 !important;
}

