/* DO NOT DELETE – core production CSS for the academy site */

/* Hide page titles globally */
.page .entry-title,
.page-title {
  display: none !important;
}

/* Lesson heading */
.learndash-wrapper .ld-tabs-content h4.lesson-heading {
  display: block;
  padding: 16px 20px !important;
  background-color: #353535;
  color: #fff;
  border-radius: 15px;
  font-size: 22px;
  max-width: 100%;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .learndash-wrapper .ld-tabs-content h4.lesson-heading {
    font-size: 14px;  padding: 10px 20px;
  }
}
/* Apply lesson-heading style globally when class is used */
h1.lesson-heading,
h2.lesson-heading,
h3.lesson-heading,
h4.lesson-heading {
  display: block;
  padding: 10px 20px;
  background-color: #353535;
  color: #fff;
  border-radius: 15px;
  font-size: 22px;
  max-width: 100%;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.lesson-heading a {
  color: #fff !important;   /* force white */
  text-decoration: none;    /* remove underline */
}
.lesson-heading a:hover {
  color: #2a9fe8 !important; /* optional hover color */
}
/* Tablets */
@media (max-width: 992px) {
  h1.lesson-heading,
  h2.lesson-heading,
  h3.lesson-heading,
  h4.lesson-heading {
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 12px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
}

/* Phones */
@media (max-width: 600px) {
  h1.lesson-heading,
  h2.lesson-heading,
  h3.lesson-heading,
  h4.lesson-heading {
		line-height: 1.5;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 10px;
    margin-top: 14px;
    margin-bottom: 14px;
  }
}


/* iFrame YouTube Extra bottom ppadding removal */
.learndash-wrapper .ld-tab-content .wp-block-embed,
.learndash-wrapper .ld-tab-content .wp-block-embed__wrapper,
.learndash-wrapper .ld-tab-content .fluid-width-video-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* Light mode (unchanged) */
.lesson-description{
  display:block;
  padding:22px 28px;
  border-radius:15px;
  margin:0 0 20px 0;
  color:inherit;
  background:rgba(0,0,0,.04);
  font-size:16px;
  line-height:1.6;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .lesson-heading {
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 14px;
    margin-bottom: 14px;
  }
  .lesson-description {
    padding: 16px 18px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
}



/***************************/


/* Hide default LearnDash/BuddyBoss lesson title (all templates) */

/* Standard lesson header */
.learndash-wrapper .lms-header-title,
.learndash-wrapper .lms-header-title h1,
.learndash-course-header .lms-header-title,
.bb-learndash .learndash-course-header .lms-header-title {
  display: none !important;
}




/***************************/


/* Navigation Buttons Sizes */
/* Default (desktop) */
.sfwd-course-nav a,
.sfwd-course-nav span {
  padding: 12px 22px !important;   /* bigger button size */
  min-width: 80px;
  min-height: 40px;               
}
/* Tablet */
@media (max-width: 992px) {
  .sfwd-course-nav a,
  .sfwd-course-nav span {
    padding: 14px 24px !important;
    min-width: 56px;
    min-height: 40px;
  }
}
/* Phones */
@media (max-width: 600px) {
  .sfwd-course-nav a,
  .sfwd-course-nav span {
    padding: 16px 26px !important;
    min-width: 80px;
    min-height: 38px;
  }
}


/***************************/



/* Mark Complete Button Check mark and allignments etc */
.learndash-wrapper .ld-content-action { text-align: center !important; }
.learndash-wrapper .ld-content-action form { display: inline-block !important; }

/* Desktop: keep your current wide style + left icon */
input.learndash_mark_complete_button[value="Mark Complete"]{
  padding-left: 3em !important;                             /* room for icon */
  background-image: url("/wp-content/uploads/2025/09/check-mark-3279.svg");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 19px 19px;
}
/* Tablet: make the button compact and centered */
@media (max-width: 992px){
  input.learndash_mark_complete_button[value="Mark Complete"]{
    width: auto !important;          /* no full-width */
    display: inline-block !important;
    padding: 12px 18px 12px 42px !important;   /* gap for icon */
    background-position: 14px center;
    background-size: 18px 18px;
    border-radius: 25px !important;
  }
}
/* Phone: a bit tighter, still centered */
@media (max-width: 600px){
  input.learndash_mark_complete_button[value="Mark Complete"]{
    width: auto !important;
    display: inline-block !important;
    padding: 12px 22px 12px 40px !important;
    background-position: 14px center;
    background-size: 16px 16px;
    border-radius: 25px !important;
  }
}



/***************************/



/*BORDER RADIUS of BUNNY EMBEDS*/
iframe[src*="mediadelivery.net"] {
    border-radius: 15px;  /* adjust px value for more/less curve */
    overflow: hidden;
}



/***************************/



/* Back to Course button custom colors */
a.course-entry-link {
  background-color: #226069 !important;   /* your main color */
  color: #ffffff !important;              /* text/icon color */
  border-radius: 6px;                     /* optional: rounded */
  padding: 6px 14px;                      /* optional: adjust spacing */
  transition: background-color 0.25s ease;
}
a.course-entry-link:hover {
  background-color: #2a9fe8 !important;   /* hover color */
  color: #ffffff !important;
}




/***************************/



/* Studio Points card shortcode: [ahr_studio_points_card] */

.ahr-studio-points-card {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 20px;
}

.ahr-studio-points-card__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px 18px;
  padding-top: 25px;
  min-height: 90px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d6d9dd;
  text-decoration: none;
  color: inherit;
}

.ahr-studio-points-card__image img {
  display: block;
  width: 52px;
  height: 52px;
}

.ahr-studio-points-card__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ahr-studio-points-card__content {
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
}

.ahr-studio-points-card__separator {
  margin: 20px 0;
  border-top: 1px solid #e2e5ea;
}

.ahr-studio-points-card__footer {
  font-size: 13px;
  color: #4b5563;
  text-align: center;
}

.ahr-studio-points-card__footer-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  text-align: left;
  margin-left: 8px;
}

.ahr-studio-points-card__list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 8px;
  display: inline-block;
  text-align: left;
}

.ahr-studio-points-card__item {
  position: relative;
  margin: 0 0 6px;
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.6;
}

.ahr-studio-points-card__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  opacity: 0.35;
}

.ahr-studio-points-card__item--quiz::before {
  background-image: url("/wp-content/uploads/2025/11/task-checklist.svg");
}

.ahr-studio-points-card__item--lesson::before {
  background-image: url("/wp-content/uploads/2026/02/lesson.svg");
}

.ahr-studio-points-card__item--like::before {
  background-image: url("/wp-content/uploads/2026/02/thumbs-up.svg");
}

.ahr-studio-points-card__item--comment::before {
  background-image: url("/wp-content/uploads/2026/02/comment.svg");
}

.ahr-studio-points-card__item--post::before {
  background-image: url("/wp-content/uploads/2026/02/images.svg");
}

.ahr-studio-points-card__cta {
  display: inline;
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #111827;
  text-decoration: underline;
}

.ahr-studio-points-card__cta:hover {
  background: transparent;
  border-color: transparent;
  color: #2563eb;
  text-decoration: underline;
}

.ahr-studio-points-card__amount {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.ahr-studio-points-card__label {
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .ahr-studio-points-card {
    max-width: 100%;
  }

  .ahr-studio-points-card__inner {
    padding: 25px 12px 10px;
  }

  .ahr-studio-points-card__image img {
    margin-top: -5px;
    width: 45px;
    height: 45px;
  }

  .ahr-studio-points-card__amount {
    font-size: 18px;
  }
}


/***************************/



/* Reuse the same centering for both buttons */
.learndash-wrapper .ld-content-action { text-align: center !important; }
.learndash-wrapper .ld-content-action form { display: inline-block !important; }

/* ── MARK INCOMPLETE (desktop: wide, left icon) ───────────────────────────── */
input.learndash_mark_incomplete_button[value="Mark Incomplete"]{
  padding-left: 3em !important;  /* room for icon */
  background-image: url("/wp-content/uploads/2025/09/undo-back-blue-round-arrow-button-25142-1.svg");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 19px 19px;
}

/* Tablet: compact centered pill */
@media (max-width: 992px){
  input.learndash_mark_incomplete_button[value="Mark Incomplete"]{
    width: auto !important;
    display: inline-block !important;
    padding: 12px 18px 12px 42px !important;  /* keep icon gap */
    background-position: 14px center;
    background-size: 18px 18px;
    border-radius: 25px !important;
  }
}

/* Phone: a bit tighter, still centered */
@media (max-width: 600px){
  input.learndash_mark_incomplete_button[value="Mark Incomplete"]{
    width: auto !important;
    display: inline-block !important;
    padding: 12px 22px 12px 40px !important;
    background-position: 14px center;
    background-size: 16px 16px;
    border-radius: 25px !important;
  }
}


/***************************/



/*Focus Mode Extra Space removal*/
.learndash-wrapper .bb-lms-header,
.learndash-wrapper .bb-lms-header .bb-position {
  margin-bottom: 0 !important;
}
.learndash-wrapper .bb-lms-header {
  padding-bottom: 20px !important;
}
.learndash-wrapper .bb-lms-header .bb-ld-info-bar {
  margin-bottom: 12px !important;
  padding-top: 0 !important;
}
.learndash-wrapper .learndash_content_wrap {
  padding-top: 0 !important;
}


/***************************/


/* LearnDash content width (BuddyBoss method) */
@media (min-width: 1024px) {
  body .learndash-wrapper .learndash_content_wrap {
    max-width: 1180px;   /* try 1180–1320px; adjust to taste */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}



/***************************/




/* Studio Feed – post cards */
.studio-feed .wp-block-post {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 0px 46px 10px 46px;
	margin-top: 0px;
  margin-bottom: 50px;
}
/* Tablets */
@media (max-width: 992px) {
  .studio-feed .wp-block-post {
    padding: 0px 40px 0px 40px;
    border-radius: 12px;
		margin-top: 62px;
    margin-bottom: 36px;
    
  }
}

/* Phones */
@media (max-width: 600px) {
  .studio-feed .wp-block-post {
    padding: 0 16px 0 16px;
    border-radius: 12px;
		margin-top: 42px;
    margin-bottom: 28px;
   
  }
}


/* Center the Query Loop and give fixed side padding */
.studio-feed .feed-inner {
  max-width: 1180px;            /* content width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 100px;          /* desktop gutters */
  padding-right: 100px;
  box-sizing: border-box;       /* keep padding inside width */
}
.ahr-yt iframe {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
/* Tablet */
@media (max-width: 992px) {
  .studio-feed .feed-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}
/* Phone */
@media (max-width: 600px) {
  .studio-feed .feed-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}



@media (max-width: 1024px) {
  .ahr-locked-thumb2 img[alt="Locked content"] {
    width: 70px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }
  .ahr-locked-thumb2 p {
    font-size: 12px !important;   
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
    padding: 0 4px !important;    
    max-width: 100% !important;
  }
}
@media (max-width: 600px) {
  .ahr-locked-thumb2 img[alt="Locked content"] {
    width: 52px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }
  .ahr-locked-thumb2 p {
    font-size: 10px !important;
    line-height: 1.28 !important;
    margin: 0 0 5px !important;
    padding: 0 0px !important;     
    max-width: 90% !important; 
  }
  .ahr-locked-thumb2 {
    aspect-ratio: 4 / 3;   /* taller than 16:9 */
  }
}


/* Locked feed button styling (keep) */
.ahr-locked-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2a9fe8;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  min-width: 200px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease;
}
.ahr-locked-btn:hover {
  transform: translateY(-2px);
}
.ahr-locked-btn:active {
  transform: translateY(0);
}
.ahr-locked-btn,
.ahr-locked-btn:hover,
.ahr-locked-btn:focus,
.ahr-locked-btn:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}
@media (max-width: 992px) {
  .ahr-locked-btn {
    padding: 12px 28px;
    font-size: 12px;
    min-width: 180px;
  }
}
@media (max-width: 600px) {
  .ahr-locked-btn {
    padding: 10px 22px;
    font-size: 10px;
    min-width: 120px;
  }
}

/***************************/


/* Libraries Membership Button */
.ahr-unlock-btn,
.ahr-unlock-btn.ld-button,
.bb-button-wrap .ahr-unlock-btn.ld-button {
	color: #fff !important;
  font-size: 16px !important;
  line-height: 1.4em !important;
	padding: 10px 20px !important;   
  border-radius: 50px !important;
	font-weight: 600 !important;
	margin: 1px auto !important;
	box-sizing: border-box !important;
}




/****************************/

/* Make the heading line wrap and put our card on its own row */
.learndash-wrapper .ld-item-list .ld-section-heading,
.learndash-wrapper .ld-item-list .ld-item-list-header { display: flex; flex-wrap: wrap; }
.learndash-wrapper .ahr-days-wrap { flex: 0 0 100%; order: -1; width: 100%; margin-bottom: 14px; }

/* Space tuning for the Days-Left card */
.learndash-wrapper .ahr-days-wrap{
  margin-top: -20px;   /* pull it up slightly */
  margin-bottom: 38px;/* extra space before the heading/list */
}

@media (max-width:640px){
  .learndash-wrapper .ahr-days-wrap{
    margin-top: -14px;
    margin-bottom: 30px; 
  }
}



/****************************/



/* BuddyBoss Settings › Billing item: credit-card glyph */
#buddypress nav#subnav a#settings-billing-li::before{
  content: "\ee42";
  font-family: "bb-icons" !important;
}


/****************************/




/* AHR • LD profile course rows — RT-style preview bar */
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview,
.learndash-wrapper .ld-item-list .ld-item-list-item:nth-child(even) .ld-item-list-item-preview,
.learndash-wrapper .ld-item-list .ld-item-list-item:nth-child(odd) .ld-item-list-item-preview {
	background-color: #d1e5fa !important;
}

.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	box-sizing: border-box !important;
	gap: 16px !important;
	min-height: 58px !important;
	padding: 15px 24px !important;
	border-radius: 0 !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .bb-sketch-expand-button {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .bb-sketch-expand-button .ld-expand-button.ld-compact,
.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .bb-sketch-expand-button .ld-expand-button.ld-button-alternate {
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ld-item-name {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0 !important;
}

.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview .ld-course-title {
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	color: #0f172a !important;
}

.learndash-wrapper #ld-profile .ld-item-list-item-preview .ld-item-details:not(.ahr-ld-cert-details) {
	display: none !important;
}

/* BuddyBoss default certificate slot — keep native LD/BB icon sizing; layout only */
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview .ld-item-details.ahr-ld-cert-details {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview .ld-item-details.ahr-ld-cert-details .ld-certificate-link {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ld-item-details.ahr-ld-cert-details .ld-certificate-link[data-bp-tooltip] {
	overflow: visible;
	position: relative;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__row-aside {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0 !important;
	flex-shrink: 0 !important;
	margin-left: auto !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__status-wrap {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex-shrink: 0 !important;
}

/* Separator — explicit height (BB preview uses align-items:center; stretch alone is unreliable) */
.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__aside-sep {
	display: block !important;
	flex-shrink: 0 !important;
	width: 1px !important;
	min-width: 1px !important;
	max-width: 1px !important;
	height: 28px !important;
	min-height: 28px !important;
	align-self: center !important;
	margin: 0 5px 0 15px !important;
	padding: 0 !important;
	border: none !important;
	background: rgba(51, 65, 85, 0.22) !important;
	border-radius: 999px !important;
}

/* Pills — reset BuddyBoss / LearnDash button + link inheritance */
.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__pill {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	border: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	opacity: 1 !important;
	font-family: inherit !important;
	-webkit-tap-highlight-color: transparent;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--continue {
	appearance: none !important;
	cursor: pointer !important;
	background: #2ba1e9 !important;
	color: #fff !important;
	padding: 8px 14px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	border-radius: 999px !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--continue:hover,
.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--continue:focus {
	background: #2493d6 !important;
	color: #fff !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--start {
	appearance: none !important;
	cursor: pointer !important;
	background-color: #c0cbcf !important;
	color: var(--bb-secondary-button-text-regular, #122b46) !important;
	padding: 8px 16px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;
	border: 1px solid transparent !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--start:hover,
.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--start:focus-visible {
	background-color: var(--bb-secondary-button-background-hover, #122b46) !important;
	color: var(--bb-secondary-button-text-hover, #fff) !important;
	border-color: var(--bb-secondary-button-border-hover, #122b46) !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview span.ahr-rt-dash__pill--complete {
	background: #009646 !important;
	color: #fff !important;
	padding: 6px 12px !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	border-radius: 6px !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__ring-pct {
	display: inline-flex !important;
	align-items: center !important;
	height: 28px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: #2ba1e9 !important;
	min-width: 2.75em !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__ring,
.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__ring-svg {
	width: 28px !important;
	height: 28px !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__complete-mark-icon {
	width: 20px !important;
	height: 20px !important;
}

.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__aside-sep--cert {
	margin: 0 10px 0 12px !important;
}

.learndash-wrapper #ld-profile .ld-item-list-item-expanded .ld-progress .ld-progress-label {
	display: block !important;
	margin-bottom: 10px !important;
}

/* Row shell — match RT .ahr-rt-dash__row mobile (dashboard-widget.css @767px) */
@media screen and (max-width: 767px) {
	.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview,
	.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview,
	.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview {
		box-sizing: border-box !important;
		gap: 6px !important;
		min-height: 0 !important;
		padding: 15px 22px !important;
	}
}

@media screen and (max-width: 700px) {

	.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-item-list-item-preview.ahr-ld-course-row-preview .ld-course-title {
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1.15 !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__row-aside {
		margin-left: 4px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__status-wrap {
		gap: 4px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__pill {
		padding: 4px 6px !important;
		font-size: 8px !important;
		letter-spacing: 0.02em !important;
		border-radius: 5px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview span.ahr-rt-dash__pill--complete {
		padding: 6px 10px !important;
		font-size: 10px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--continue {
		height: 22px !important;
		padding: 0 10px !important;
		font-size: 11px !important;
		font-weight: 600 !important;
		border-radius: 999px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview a.ahr-rt-dash__pill--start {
		padding: 7px 12px !important;
		font-size: 11px !important;
		font-weight: 600 !important;
		border-radius: 7px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__ring-pct {
		height: 22px !important;
		font-size: 12px !important;
		min-width: 2.1em !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__ring,
	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__ring-svg {
		width: 22px !important;
		height: 22px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__complete-mark-icon {
		width: 22px !important;
		height: 22px !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__aside-sep:not(.ahr-rt-dash__aside-sep--cert),
	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ahr-rt-dash__unlock {
		display: none !important;
	}
}



/****************************/


/* AHR Billing buttons – highest specificity via ID + !important */
#ahr-billing-actions .ahr-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50px !important;
  font-weight:600 !important;
  font-size:13px !important;
  line-height:1 !important;
  text-decoration:none !important;
  border:1px solid transparent !important;
  transition:all .2s ease !important;
}
#ahr-billing-actions .ahr-btn--primary{
  background:#2ea0ff !important;
  border-color:#2ea0ff !important;
  color:#fff !important;
}
#ahr-billing-actions .ahr-btn--primary:hover{
  background:#2586c2 !important;
}

#ahr-billing-actions .ahr-btn--solid{
  background:none !important;
  border-color:#2ea0ff !important;
  color:#2ea0ff !important;
}
#ahr-billing-actions .ahr-btn--solid:hover{
  background:#2ea0ff !important;
  color:#fff !important;
}
#ahr-billing-actions .ahr-btn--outline{
  background:transparent !important;
  border-color:#2ea0ff !important;
  color:#2ea0ff !important;
}
#ahr-billing-actions .ahr-btn--outline:hover{
  background:#2ea0ff !important;
  color:#fff !important;
}
@media (max-width:600px){
  #ahr-billing-actions{ flex-direction:column !important; }
  #ahr-billing-actions .ahr-btn{ width:100% !important; }
}

/* Studio Points – minimal header display */
.header-user-points-wrapper {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.ahr-user-points-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.ahr-user-points-link:hover {
  text-decoration: none;
}

.ahr-user-points-link img {
  margin-bottom: -2px;
  width: 25px;
  height: 25px;
  display: block;
}

.ahr-user-points-value {
  font-size: 15px;
  font-weight: 500;
  color: #353535;
}

/* Ensure Studio Points shows in BuddyBoss mobile header */
@media (max-width: 768px) {
  .header-user-points-wrapper {
    display: inline-flex !important;
    align-items: center;
  }

  .ahr-user-points-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .ahr-user-points-link img {
    width: 26px;
    height: 26px;
    margin-bottom: 0px;
  }

  .ahr-user-points-value {
    font-size: 15px;
    color: #353535;
  }
}

/* Profile stats: lighter font for "400+" / "350+" (all-access member) only.
   Match BuddyBoss LD selector so this overrides theme + custom typography. */
.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-stats .ld-profile-stat.ld-profile-stat-member-value strong {
  font-weight: 700 !important;
}

/************ LAST EDITED - 22/12/2025 10:30PM ****************/


/***************************/
/* LearnDash [ld_profile] — Upgrade + Edit profile (child theme markup)
   Loaded here so it wins Elementor/widget/global link styles (child theme CSS was not applying). */
/***************************/

#ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions,
.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions,
.widget #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions,
.elementor-widget-container #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-ms-flex-item-align: end;
	align-self: flex-end;
	margin-left: auto !important;
	position: relative;
	z-index: 3;
	box-sizing: border-box;
}

#ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions .ld-profile-edit-link,
.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions .ld-profile-edit-link {
	margin-left: 0 !important;
	bottom: auto !important;
}

/* Upgrade — purple CTA (overrides Elementor/global `a`) */
#ld-profile .ld-profile-upgrade-link,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link,
.widget #ld-profile .ld-profile-upgrade-link,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link {
	display: -webkit-inline-box !important;
	display: -ms-inline-flexbox !important;
	display: inline-flex !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	gap: calc(0.35em + 2px) !important;
	padding: 6px 14px !important;
	min-height: 32px;
	box-sizing: border-box !important;
	border-radius: 20px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: #8677e6 !important;
	border: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: none !important;
	-webkit-transition:
		background-color 0.22s cubic-bezier(0.33, 1, 0.68, 1),
		box-shadow 0.22s cubic-bezier(0.33, 1, 0.68, 1),
		-webkit-transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
	transition:
		background-color 0.22s cubic-bezier(0.33, 1, 0.68, 1),
		box-shadow 0.22s cubic-bezier(0.33, 1, 0.68, 1),
		transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
}

#ld-profile .ld-profile-upgrade-link:hover,
#ld-profile .ld-profile-upgrade-link:focus,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link:hover,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link:focus,
.widget #ld-profile .ld-profile-upgrade-link:hover,
.widget #ld-profile .ld-profile-upgrade-link:focus,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link:hover,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link:focus {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: #7265cc !important;
	text-decoration: none !important;
	outline: none !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12) inset,
		0 2px 4px rgba(0, 0, 0, 0.07),
		0 8px 22px rgba(103, 87, 200, 0.42) !important;
	-webkit-transform: translateY(-1px);
	transform: translateY(-1px);
}

#ld-profile .ld-profile-upgrade-link:active,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link:active,
.widget #ld-profile .ld-profile-upgrade-link:active,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link:active {
	background: #6859b8 !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.08) inset,
		0 1px 2px rgba(0, 0, 0, 0.08) !important;
	-webkit-transform: translateY(0) scale(0.985);
	transform: translateY(0) scale(0.985);
	-webkit-transition-duration: 0.1s;
	transition-duration: 0.1s;
}

#ld-profile .ld-profile-upgrade-link:focus-visible,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link:focus-visible,
.widget #ld-profile .ld-profile-upgrade-link:focus-visible,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link:focus-visible {
	outline: 2px solid #385dff !important;
	outline-offset: 2px !important;
}

@media (prefers-reduced-motion: reduce) {
	#ld-profile .ld-profile-upgrade-link,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link,
	.widget #ld-profile .ld-profile-upgrade-link,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link {
		-webkit-transition-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	#ld-profile .ld-profile-upgrade-link:hover,
	#ld-profile .ld-profile-upgrade-link:focus,
	#ld-profile .ld-profile-upgrade-link:active,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link:hover,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link:focus,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link:active,
	.widget #ld-profile .ld-profile-upgrade-link:hover,
	.widget #ld-profile .ld-profile-upgrade-link:focus,
	.widget #ld-profile .ld-profile-upgrade-link:active,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link:hover,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link:focus,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link:active {
		-webkit-transform: none !important;
		transform: none !important;
	}
}

/* Crown SVG: text line height + 2px; white on purple */
#ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img,
.widget #ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img {
	width: calc(1em + 2px);
	height: calc(1em + 2px);
	display: block;
	object-fit: contain;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
	opacity: 1;
	-webkit-transition: -webkit-transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
	transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
}

#ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
#ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
.learndash-wrapper #ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img,
.widget #ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
.widget #ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
.elementor-widget-container #ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img {
	-webkit-transform: scale(1.04);
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	#ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img,
	.widget #ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link .ld-profile-upgrade-link__icon img {
		-webkit-transition: none !important;
		transition: none !important;
	}
	#ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
	#ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
	.learndash-wrapper #ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img,
	.widget #ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
	.widget #ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link:hover .ld-profile-upgrade-link__icon img,
	.elementor-widget-container #ld-profile .ld-profile-upgrade-link:focus .ld-profile-upgrade-link__icon img {
		-webkit-transform: none !important;
		transform: none !important;
	}
}

/* Profile: empty course list — “upgrade” as plain underlined link */
#ld-profile .ld-alert-messages .ld-profile-empty-courses-link,
.learndash-wrapper #ld-profile .ld-alert-messages .ld-profile-empty-courses-link {
	display: inline;
	padding: 0;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit !important;
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
	box-shadow: none !important;
	border-radius: 0;
	text-decoration: underline !important;
	text-underline-offset: 0.12em;
}
#ld-profile .ld-alert-messages .ld-profile-empty-courses-link:hover,
#ld-profile .ld-alert-messages .ld-profile-empty-courses-link:focus,
.learndash-wrapper #ld-profile .ld-alert-messages .ld-profile-empty-courses-link:hover,
.learndash-wrapper #ld-profile .ld-alert-messages .ld-profile-empty-courses-link:focus {
	color: inherit !important;
	-webkit-text-fill-color: currentColor !important;
	background: none !important;
	text-decoration: underline !important;
}

@media screen and (max-width: 992px) {
	#ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions,
	.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions {
		-ms-flex-item-align: start !important;
		align-self: flex-start !important;
		margin-left: 200px !important;
		-webkit-box-pack: start !important;
		-ms-flex-pack: start !important;
		justify-content: flex-start !important;
		bottom: 30px;
		position: relative;
	}
}

@media screen and (max-width: 800px) {
	#ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions,
	.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions {
		-ms-flex-item-align: center !important;
		align-self: center !important;
		margin-left: 0 !important;
		text-align: center;
		-webkit-box-pack: center !important;
		-ms-flex-pack: center !important;
		justify-content: center !important;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		/* Space below name + profile type, above Upgrade / Edit (no rule line) */
		margin-top: 20px;
	}
}

.widget #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions {
	margin-left: auto !important;
}

@media screen and (max-width: 992px) {
	.widget #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions {
		margin-left: 200px !important;
	}
}

@media screen and (max-width: 800px) {
	.widget #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-card-actions {
		margin-left: 0 !important;
	}
}

/***************************/
/* LearnDash [ld_profile] — BuddyBoss profile type pill (same HTML as member header; LD is not .users-header) */
/***************************/

.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-member-title-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	-ms-flex-item-align: end;
	align-self: flex-end;
	position: relative;
	bottom: 55px;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	min-width: 0;
}

.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-member-title-wrap .ld-profile-heading {
	position: static;
	bottom: auto;
	margin-bottom: 0;
}

.learndash-wrapper #ld-profile .ld-profile-summary .bp-member-type {
	background: var(--bb-label-background-color);
	border-radius: var(--bb-label-type-radius, 50px);
	font-size: 11px;
	font-weight: 700;
	color: var(--bb-label-text-color, #fff);
	letter-spacing: 0.25px;
	text-align: center;
	display: inline-block;
	padding: 5px 15px;
  margin-bottom: -5px;
	line-height: 1.2;
}

@media screen and (max-width: 992px) {
	.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-member-title-wrap {
		-ms-flex-item-align: start !important;
		align-self: flex-start !important;
		margin-left: 200px !important;
		bottom: 90px;
	}
}

@media screen and (max-width: 800px) {
	.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-member-title-wrap {
		-ms-flex-item-align: center !important;
		align-self: center !important;
		margin-left: 0 !important;
		bottom: 0;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		text-align: center;
		width: 100%;
		gap: 8px;
	}

	.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-member-title-wrap .ld-profile-heading {
		text-align: center;
		width: 100%;
	}

	/* Pill always on its own row under the name (never inline) */
	.learndash-wrapper #ld-profile .ld-profile-summary .ld-profile-card .ld-profile-member-title-wrap .bp-member-type {
		-ms-flex-item-align: center;
		align-self: center;
	}
}

/***************************/
/* [ld_profile] course list — clip rows to BuddyBoss rounded border only */
/***************************/

#ld-profile .ld-item-list.ld-course-list,
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list,
.elementor-widget-container #ld-profile .ld-item-list.ld-course-list {
	overflow: hidden;
	border-radius: var(--bb-block-radius);
}

/* [ld_profile] “Your Courses & Libraries” heading — BuddyBoss graduation cap icon */
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-section-heading h3,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-section-heading h3,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-section-heading h3 {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 20px;
	line-height: 1.25;
}

.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-section-heading h3 .bb-icon-f,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-section-heading h3 .bb-icon-f,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-section-heading h3 .bb-icon-f {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	font-size: 30px;
	line-height: 1;
	color: currentColor;
}

/* [ld_profile] course accordion — custom SVGs (collapsed: right, expanded: down), #2271b1 */
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item-preview .bb-sketch-expand-button,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item-preview .bb-sketch-expand-button,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item-preview .bb-sketch-expand-button {
	margin-right: 2px;
}

@media screen and (min-width: 768px) {
	.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item-preview.ahr-ld-course-row-preview .bb-sketch-expand-button,
	.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item-preview.ahr-ld-course-row-preview .bb-sketch-expand-button,
	.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item-preview.ahr-ld-course-row-preview .bb-sketch-expand-button {
		margin-right: 0 !important;
	}

	.learndash-wrapper #ld-profile .ahr-ld-course-row-preview .ld-item-name {
		margin-left: -8px !important;
	}
}

.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button .ld-icon.ld-icon-arrow-down::before,
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-button-alternate .ld-icon.ld-icon-arrow-down::before,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button .ld-icon.ld-icon-arrow-down::before,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button .ld-icon.ld-icon-arrow-down::before {
	content: '' !important;
	display: inline-block !important;
	width: 22px !important;
	height: 22px !important;
  opacity: 0.8 !important;
	margin-top: 0 !important;
	vertical-align: middle !important;
	background-color: #000000 !important;
	background-image: none !important;
	-webkit-mask-image: url('/wp-content/uploads/2026/05/angle-circle-right.svg') !important;
	mask-image: url('/wp-content/uploads/2026/05/angle-circle-right.svg') !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
}

.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button[aria-expanded="true"] .ld-icon.ld-icon-arrow-down::before,
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-button-alternate[aria-expanded="true"] .ld-icon.ld-icon-arrow-down::before,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button[aria-expanded="true"] .ld-icon.ld-icon-arrow-down::before,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button[aria-expanded="true"] .ld-icon.ld-icon-arrow-down::before {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	background-color: #000000 !important;
	background-image: none !important;
	-webkit-mask-image: url('/wp-content/uploads/2026/05/angle-circle-down.svg') !important;
	mask-image: url('/wp-content/uploads/2026/05/angle-circle-down.svg') !important;
}

@media (max-width: 767px) {
	.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button .ld-icon.ld-icon-arrow-down::before,
	.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-button-alternate .ld-icon.ld-icon-arrow-down::before,
	.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button .ld-icon.ld-icon-arrow-down::before,
	.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-item .ld-expand-button .ld-icon.ld-icon-arrow-down::before {
		width: 20px !important;
		height: 20px !important;
    opacity: 0.8 !important;
	}
}

/*
 * Collapsed expanded panel: BuddyBoss sets border-bottom on .ld-item-list-item-expanded;
 * LearnDash paints a ::before “connector”. With max-height:0 the box height is 0 but those
 * still draw a hairline under the blue preview. Hide only when collapsed (.ld-expanded is on
 * this element when open). Scoped to .ld-course-list only.
 */
#ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded),
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded),
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded),
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded),
.elementor-widget-container #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded) {
	border-bottom: none;
}

#ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded)::before,
.learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded)::before,
.widget .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded)::before,
.elementor-widget-container .learndash-wrapper #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded)::before,
.elementor-widget-container #ld-profile .ld-item-list.ld-course-list .ld-item-list-items .ld-item-list-item .ld-item-list-item-expanded:not(.ld-expanded)::before {
	display: none;
}

/***************************/
/* GamiPress — achievement & rank cards: 20px radius (override BuddyBoss theme gamipress.css) */
/***************************/

.single .single-achievement,
.single-rank,
.gamipress-achievement,
.gamipress-rank {
	border-radius: 20px;
}

.widget .gamipress-achievement,
.widget .gamipress-rank,
.gamipress_ranks_widget .gamipress-ranks-list .gamipress-ranks-container[class*="gamipress-columns"] .gamipress-rank,
.gamipress_user_rank_widget .gamipress-user-ranks .gamipress-rank {
	border-radius: 20px;
}

.widget-area .widget .gamipress-achievements-list .gamipress-achievements-container[class*="gamipress-columns"] > .gamipress-achievement,
.widget-area .elementor-widget .gamipress-achievements-list .gamipress-achievements-container[class*="gamipress-columns"] > .gamipress-achievement,
.widget-area .widget .gamipress-ranks-list .gamipress-ranks-container[class*="gamipress-columns"] > .gamipress-rank,
.widget-area .widget .gamipress-user-ranks[class*="gamipress-columns"] > .gamipress-rank,
.widget-area .elementor-widget .gamipress-ranks-list .gamipress-ranks-container[class*="gamipress-columns"] > .gamipress-rank,
.widget-area .elementor-widget .gamipress-user-ranks[class*="gamipress-columns"] > .gamipress-rank {
	border-radius: 20px;
}

