/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

/* Keep BuddyBoss's account dropdown above profile covers and page content. */
.elementor-location-header.elementor-432 .elementor-element.elementor-element-3b1a007e,
.elementor-location-header.elementor-432 .elementor-element.elementor-element-c1a9ae0 {
	z-index: 1000 !important;
	overflow: visible;
}

/*--------------------------------------------------------------
Leadership Road courses

BuddyBoss Courses stays responsible for the curriculum and progress states.
These rules bring course and lesson screens into the visual language used by
the Leadership Road dashboards without changing the plugin templates.
--------------------------------------------------------------*/

body.single-bbcs-course,
body.single-bbcs-lesson,
body.single-bbcs-quiz {
	--lr-ink: #22272b;
	--lr-muted: #667085;
	--lr-accent: #237d82;
	--lr-accent-hover: #09635e;
	--lr-accent-soft: #eef5f5;
	--lr-accent-border: #cbdedc;
	--lr-gold: #eb9933;
	--lr-surface: #ffffff;
	--lr-canvas: #f7f8fa;
	--lr-border: #e5e7eb;
	--lr-radius: 14px;
}

body.single-bbcs-course #content,
body.single-bbcs-lesson #content {
	background: var(--lr-canvas);
	padding-block: clamp(28px, 5vw, 64px);
}

body.single-bbcs-course #content > .container,
body.single-bbcs-lesson #content > .container {
	max-width: 1160px;
	padding-inline: 24px;
}

body.single-bbcs-course .site-content-grid,
body.single-bbcs-lesson .site-content-grid {
	justify-content: center;
	margin-inline: 0;
}

body.single-bbcs-course #primary.content-area,
body.single-bbcs-lesson #primary.content-area {
	flex: 0 1 1040px;
	width: 100%;
	max-width: 1040px !important;
	margin-inline: auto;
	padding-inline: 0;
}

body.single-bbcs-course article.type-bbcs-course,
body.single-bbcs-lesson article.type-bbcs-lesson {
	width: 100%;
	max-width: none;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 48px);
	background: var(--lr-surface);
	border: 1px solid var(--lr-border);
	border-radius: var(--lr-radius);
	box-shadow: 0 10px 32px rgba(34, 39, 43, 0.06);
}

body.single-bbcs-course article .entry-header,
body.single-bbcs-lesson article .entry-header {
	margin: 0 0 12px;
}

body.single-bbcs-course article .entry-title,
body.single-bbcs-lesson article .entry-title {
	margin: 0;
	color: var(--lr-ink);
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

body.single-bbcs-course article .entry-content,
body.single-bbcs-lesson article .entry-content {
	color: var(--lr-ink);
	font-size: 16px;
	line-height: 1.7;
}

/* Keep quiz titles, breadcrumbs, and question forms in one readable column. */
body.single-bbcs-quiz #content {
	background: var(--lr-canvas);
	padding-block: clamp(28px, 5vw, 64px);
}

body.single-bbcs-quiz #content > .container {
	max-width: 1160px;
	padding-inline: 24px;
}

body.single-bbcs-quiz .site-content-grid {
	justify-content: center;
	margin-inline: 0;
}

body.single-bbcs-quiz #primary.content-area {
	flex: 0 1 920px;
	width: 100%;
	max-width: 920px !important;
	margin-inline: auto;
	padding-inline: 0;
}

body.single-bbcs-quiz article.type-bbcs-quiz {
	width: 100%;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 48px);
	background: var(--lr-surface);
	border: 1px solid var(--lr-border);
	border-radius: var(--lr-radius);
	box-shadow: 0 10px 32px rgba(34, 39, 43, 0.06);
}

body.single-bbcs-quiz article .entry-header {
	margin: 0 0 12px;
}

body.single-bbcs-quiz article .entry-title {
	margin: 0;
	color: var(--lr-ink);
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

body.single-bbcs-quiz article .entry-content {
	color: var(--lr-ink);
	font-size: 16px;
	line-height: 1.7;
}

body.single-bbcs-course article .entry-content > p:first-child {
	max-width: 760px;
	margin-bottom: 30px;
	color: var(--lr-muted);
	font-size: 17px;
}

/* Course modules and lesson rows. */
body.single-bbcs-course .bbcs-section {
	overflow: hidden;
	margin: 28px 0 0;
	border: 1px solid var(--lr-border);
	border-radius: 12px;
	background: var(--lr-surface);
	box-shadow: none;
}

body.single-bbcs-course .bbcs-section-header {
	padding: 18px 22px;
	background: var(--lr-accent-soft);
	border-bottom: 1px solid var(--lr-accent-border);
}

body.single-bbcs-course .bbcs-section-title {
	padding: 0;
}

body.single-bbcs-course .bbcs-section-title-text {
	color: var(--lr-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

body.single-bbcs-course .bbcs-lessons {
	padding: 0;
}

body.single-bbcs-course .bbcs-lessons > .bbcs-lesson {
	padding: 0;
	transition: background-color 160ms ease;
}

body.single-bbcs-course .bbcs-lessons > .bbcs-lesson + .bbcs-lesson {
	border-top: 1px solid var(--lr-border);
}

body.single-bbcs-course .bbcs-lessons > .bbcs-lesson:hover {
	background: #f9fbfb;
}

body.single-bbcs-course .bbcs-lesson-row-link {
	min-height: 68px;
	padding: 13px 18px;
	color: var(--lr-ink);
	text-decoration: none;
}

body.single-bbcs-course .bbcs-lesson-progress {
	padding-right: 12px;
	color: var(--lr-muted);
}

body.single-bbcs-course .bbcs-lesson-link {
	flex: 1 1 auto;
	width: auto;
	padding: 0;
	font-weight: 600;
}

body.single-bbcs-course .bbcs-lesson-button {
	margin-left: 20px;
}

body.single-bbcs-course .bbcs-lesson-button .bbcs-btn,
body.single-bbcs-course .bbcs-lesson-locked-buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 84px;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid var(--lr-accent);
	border-radius: 999px;
	background: var(--lr-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition: background-color 160ms ease, border-color 160ms ease;
}

body.single-bbcs-course .bbcs-lesson-row-link:hover .bbcs-btn {
	border-color: var(--lr-accent-hover);
	background: var(--lr-accent-hover);
}

/* Lesson context and achievement card. */
body.single-bbcs-lesson .bbcs-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 28px;
	color: var(--lr-muted);
	font-size: 14px;
	line-height: 1.5;
}

body.single-bbcs-lesson .bbcs-breadcrumb a {
	color: var(--lr-accent);
	font-weight: 600;
}

body.single-bbcs-lesson div.bbcs-breadcrumbs span.bbcs-breadcrumb:not(:last-child)::after {
	content: " /";
	margin-left: 6px;
	color: #98a2b3;
}

body.single-bbcs-lesson .entry-content > .gamipress-achievement {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	width: 100%;
	margin: 32px 0;
	padding: 28px 30px;
	border: 1px solid var(--lr-accent-border);
	border-radius: var(--lr-radius);
	background: #f4f9f8;
}

/* Override GamiPress's percentage-based left layout inside our grid. */
body.single-bbcs-lesson .entry-content > .gamipress-achievement.gamipress-layout-left .gamipress-achievement-image,
body.single-bbcs-lesson .entry-content > .gamipress-achievement.gamipress-layout-left .gamipress-achievement-description {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image a {
	display: block;
	width: 140px;
	height: 140px;
}

body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image img {
	display: block;
	width: 140px;
	height: 140px;
	object-fit: contain;
	border-radius: 50%;
	filter: drop-shadow(0 8px 14px rgba(34, 39, 43, 0.12));
}

body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-description {
	min-width: 0;
}

body.single-bbcs-lesson .gamipress-achievement-title {
	margin: 0 0 8px;
	font-size: clamp(20px, 2.5vw, 26px);
	font-weight: 700;
	line-height: 1.25;
}

body.single-bbcs-lesson .gamipress-achievement-title a {
	color: var(--lr-ink);
	text-decoration: none;
}

body.single-bbcs-lesson .gamipress-achievement-excerpt {
	color: var(--lr-muted);
}

body.single-bbcs-lesson .gamipress-achievement-points {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0 0 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--lr-accent);
	font-size: 13px;
	font-weight: 700;
}

body.single-bbcs-lesson .gamipress-achievement-excerpt > :last-child {
	margin-bottom: 0;
}

/* Submission form. */
body.single-bbcs-lesson .gform_wrapper {
	margin-top: 18px;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--lr-border);
	border-radius: var(--lr-radius);
	background: var(--lr-surface);
}

body.single-bbcs-lesson .gform_wrapper .gfield_label {
	color: var(--lr-ink);
	font-weight: 700;
}

body.single-bbcs-lesson .gform_wrapper .gfield_description {
	color: var(--lr-muted);
}

body.single-bbcs-lesson .gform_wrapper .mce-tinymce,
body.single-bbcs-lesson .gform_wrapper .wp-editor-container,
body.single-bbcs-lesson .gform_wrapper textarea {
	border-color: #cfd4dc;
	border-radius: 8px;
}

body.single-bbcs-lesson .gform_wrapper input[type="submit"],
body.single-bbcs-lesson .gform_wrapper button[type="submit"] {
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--lr-accent);
	border-radius: 8px;
	background: var(--lr-accent);
	color: #ffffff;
	font-weight: 700;
}

body.single-bbcs-lesson .gform_wrapper input[type="submit"]:hover,
body.single-bbcs-lesson .gform_wrapper button[type="submit"]:hover {
	border-color: var(--lr-accent-hover);
	background: var(--lr-accent-hover);
}

/* GamiPress badge reflections, including Scenic Route submissions. */
:is(form[class*="gamipress-submission"], .gamipress-submissions-form) {
	width: 100%;
	max-width: 720px;
}

:is(form[class*="gamipress-submission"], .gamipress-submissions-form) label {
	display: block;
	margin-bottom: 8px;
}

:is(form[class*="gamipress-submission"], .gamipress-submissions-form) textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 180px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #cfd4dc;
	border-radius: 8px;
	background: #fff;
	line-height: 1.5;
	resize: none;
}

:is(form[class*="gamipress-submission"], .gamipress-submissions-form) textarea:focus {
	outline: 2px solid var(--lr-accent);
	outline-offset: 2px;
}

/* Native lesson navigation remains visible and consistent with the site. */
body.single-bbcs-lesson #bbcs-lesson-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--lr-border);
}

body.single-bbcs-lesson #bbcs-lesson-navigation a {
	float: none;
	padding: 10px 2px;
	color: var(--lr-accent);
	font-weight: 700;
	text-decoration: none;
}

body.single-bbcs-lesson #bbcs-lesson-navigation a:hover {
	color: var(--lr-accent-hover);
}

@media (max-width: 782px) {
	body.single-bbcs-course #content,
	body.single-bbcs-lesson #content,
	body.single-bbcs-quiz #content {
		padding-block: 20px 36px;
	}

	body.single-bbcs-course #content > .container,
	body.single-bbcs-lesson #content > .container,
	body.single-bbcs-quiz #content > .container {
		padding-inline: 16px;
	}

	body.single-bbcs-course article.type-bbcs-course,
	body.single-bbcs-lesson article.type-bbcs-lesson,
	body.single-bbcs-quiz article.type-bbcs-quiz {
		padding: 22px 18px;
		border-radius: 10px;
	}

	body.single-bbcs-course .bbcs-section-header {
		padding: 16px;
	}

	body.single-bbcs-course .bbcs-lesson-row-link {
		align-items: flex-start;
		min-height: 0;
		padding: 16px;
	}

	body.single-bbcs-course .bbcs-lesson-button {
		margin-left: 12px;
	}

	body.single-bbcs-course .bbcs-lesson-button .bbcs-btn {
		min-width: 68px;
		min-height: 34px;
		padding: 7px 12px;
	}

	body.single-bbcs-lesson .entry-content > .gamipress-achievement {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 20px;
		padding: 18px;
	}

	body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image a,
	body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image img {
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 520px) {
	body.single-bbcs-course .bbcs-lesson-row-link {
		flex-wrap: wrap;
	}

	body.single-bbcs-course .bbcs-lesson-link {
		flex-basis: calc(100% - 38px);
	}

	body.single-bbcs-course .bbcs-lesson-button {
		width: 100%;
		margin: 10px 0 0 38px;
	}

	body.single-bbcs-lesson .entry-content > .gamipress-achievement {
		grid-template-columns: 1fr;
		text-align: center;
	}

	body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image img {
		margin-inline: auto;
	}

	body.single-bbcs-lesson .entry-content > .gamipress-achievement .gamipress-achievement-image a {
		margin-inline: auto;
	}
}

/*--------------------------------------------------------------
Participant dashboard course data

The dashboard shortcodes are rendered by leadership-road-courses.php. Keep
their presentation here because this child-theme stylesheet is loaded on the
Elementor dashboard as well as native BuddyBoss screens.
--------------------------------------------------------------*/

body.page-id-217,
body.page-id-220,
body.page-id-255 {
	--lr-ink: #22272b;
	--lr-muted: #667085;
	--lr-accent: #237d82;
	--lr-accent-hover: #09635e;
	--lr-accent-soft: #eef5f5;
	--lr-accent-border: #cbdedc;
	--lr-gold: #eb9933;
	--lr-gold-soft: #fff7eb;
	--lr-surface: #ffffff;
	--lr-border: #e5e7eb;
	--lr-content-width: 1200px;
	--lr-radius: 14px;
}

/* Keep the three working areas on one page grid regardless of template. */
body.page-id-217 #content,
body.page-id-220 #content,
body.page-id-255 #content {
	background-color: #f7f8fa;
}

body.page-id-217 #content {
	background-image:
		linear-gradient(rgba(247, 248, 250, 0.94), rgba(247, 248, 250, 0.98)),
		url("../images/leadership-road-module-background.jpg");
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
}

body.page-id-217 #content > .container,
body.page-id-220 #content > .container,
body.page-id-255 #content > .container {
	width: 100%;
	max-width: var(--lr-content-width);
	margin-inline: auto;
	padding-inline: 24px;
}

body.page-id-217 #primary,
body.page-id-220 #primary,
body.page-id-255 #primary {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.page-id-217 .lr-course-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

body.page-id-217 .lr-course-card,
body.page-id-217 .lr-course-next {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

body.page-id-217 .lr-course-card {
	padding: 20px;
	border: 1px solid var(--lr-border);
	border-radius: 14px;
	background: var(--lr-surface);
	box-shadow: 0 2px 6px rgba(34, 39, 43, 0.03);
	color: var(--lr-muted);
	font-size: 14px;
}

body.page-id-217 .lr-course-card > a,
body.page-id-217 .lr-course-next > strong {
	display: block;
	color: var(--lr-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

body.page-id-217 .lr-course-card > a:hover {
	color: var(--lr-accent);
}

body.page-id-217 .lr-course-status,
body.page-id-217 .lr-course-lesson,
body.page-id-217 .lr-course-empty {
	display: block;
	color: var(--lr-muted);
	font-size: 14px;
	line-height: 1.5;
}

body.page-id-217 .lr-course-track {
	display: block;
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: #e5e7eb;
	overflow: hidden;
}

body.page-id-217 .lr-course-track > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--lr-accent);
}

body.page-id-217 .lr-course-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 16px;
	border-radius: 8px;
	background: var(--lr-accent);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

body.page-id-217 .lr-course-button:hover {
	background: var(--lr-accent-hover);
}

body.page-id-217 .lr-course-button:focus-visible {
	outline: 2px solid var(--lr-ink);
	outline-offset: 3px;
}

/* My Roadmaps uses BuddyBoss's native course links. Present each course as a
   full-width roadmap card, matching the separate individual-badge catalogue. */
body.page-id-255 .bbcs-course-list {
	max-width: 1120px;
	margin: 28px auto 0;
}

body.page-id-255 .bbcs-course-list > .grid {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: 102px;
	margin: 0 0 14px;
	padding: 18px 20px;
	border: 1px solid #dce5e9;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(26, 46, 63, .04);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.page-id-255 .bbcs-course-list > .grid::before {
	content: '';
	display: grid;
	place-items: center;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	background: url('/wp-content/uploads/2026/08/cropped-LR-icon-01-2-200x200.png') center / 56px 56px no-repeat;
}

body.page-id-255 .bbcs-course-list > .grid:has(.lr-roadmap-cover)::before { display: none; }

body.page-id-255 .bbcs-course-list .lr-roadmap-cover {
	display: block;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
}

body.page-id-255 .bbcs-course-list .lr-roadmap-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.page-id-255 .bbcs-course-list > .grid::after {
	content: '›';
	margin-left: auto;
	color: #087d7a;
	font-size: 30px;
	line-height: 1;
	pointer-events: none;
}

body.page-id-255 .bbcs-course-list > .grid:hover,
body.page-id-255 .bbcs-course-list > .grid:focus-within {
	border-color: #88c9c3;
	box-shadow: 0 8px 22px rgba(26, 46, 63, .09);
	transform: translateY(-1px);
}

body.page-id-255 .bbcs-course-list > .grid:focus-within {
	outline: 2px solid #087d7a;
	outline-offset: 2px;
}

body.page-id-255 .bbcs-course-list > .grid > .col-1-2:first-child {
	display: flex;
	align-items: center;
	gap: 18px;
	float: none;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	max-width: none;
	padding: 0;
}

body.page-id-255 .bbcs-course-list > .grid > .col-1-2 + .col-1-2 {
	display: none;
}

body.page-id-255 .bbcs-course-list > .grid a {
	color: #20364f;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

body.page-id-255 .bbcs-course-list > .grid a::after {
	content: '';
	position: absolute;
	inset: 0;
}

body.page-id-255 .bbcs-course-list > .grid:hover a {
	color: #087d7a;
}

body.page-id-255 .bbcs-course-list > .navigation {
	max-width: 1120px;
	margin: 16px auto 0;
}

@media (max-width: 640px) {
	body.page-id-255 .bbcs-course-list > .grid {
		gap: 12px;
		min-height: 88px;
		padding: 16px;
	}

	body.page-id-255 .bbcs-course-list > .grid::before {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
		background-size: 44px 44px;
	}

	body.page-id-255 .bbcs-course-list .lr-roadmap-cover {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}

	body.page-id-255 .bbcs-course-list > .grid > .col-1-2:first-child { gap: 12px; }

	body.page-id-255 .bbcs-course-list > .grid a {
		font-size: 16px;
	}
}

/* Earned achievements and activity are read from GamiPress by the dashboard
   adapter. These components intentionally share the course-card geometry. */
body.page-id-217 .lr-badge-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
}

body.page-id-217 .lr-badge-card {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
	padding: 16px 12px;
	border: 1px solid var(--lr-accent-border);
	border-radius: 12px;
	background: linear-gradient(145deg, #ffffff, var(--lr-accent-soft));
	color: var(--lr-ink);
	text-align: center;
}

body.page-id-217 .lr-badge-card strong {
	font-size: 13px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

body.page-id-217 .lr-badge-date {
	color: var(--lr-muted);
	font-size: 11px;
	line-height: 1.35;
}

body.page-id-217 .lr-achievement-image {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 5px 14px rgba(34, 39, 43, 0.1);
	overflow: hidden;
}

body.page-id-217 .lr-achievement-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.page-id-217 .lr-achievement-image--fallback {
	background: var(--lr-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

body.page-id-217 .lr-activity-list {
	display: flex;
	flex-direction: column;
	width: 100%;
}

body.page-id-217 .lr-activity-item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--lr-border);
}

body.page-id-217 .lr-activity-item:first-child {
	padding-top: 0;
}

body.page-id-217 .lr-activity-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

body.page-id-217 .lr-activity-item .lr-achievement-image {
	width: 42px;
	height: 42px;
}

body.page-id-217 .lr-activity-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.page-id-217 .lr-activity-copy strong {
	color: var(--lr-ink);
	font-size: 13px;
	line-height: 1.4;
}

body.page-id-217 .lr-activity-copy > span {
	color: var(--lr-muted);
	font-size: 12px;
	line-height: 1.4;
}

body.page-id-217 .lr-dashboard-empty {
	display: block;
	width: 100%;
	padding: 18px 14px;
	border: 1px dashed var(--lr-accent-border);
	border-radius: 10px;
	background: rgba(238, 245, 245, 0.72);
	color: var(--lr-muted);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

@media (max-width: 767px) {
	body.page-id-217 .lr-course-grid {
		grid-template-columns: 1fr;
	}

	body.page-id-217 #content > .container,
	body.page-id-220 #content > .container,
	body.page-id-255 #content > .container {
		padding-inline: 16px;
	}

	body.page-id-217 #content {
		background-attachment: scroll;
	}
}

@media (max-width: 420px) {
	body.page-id-217 .lr-badge-grid {
		grid-template-columns: 1fr;
	}

	body.page-id-217 .lr-badge-card {
		align-items: center;
		flex-direction: row;
		text-align: left;
	}
}

/* Match the profile button's hover and open state on the notification bell. */
.bb-template-v2 .site-header .header-aside .notification-wrap {
	position: relative;
	isolation: isolate;
}

.bb-template-v2 .site-header .header-aside .notification-wrap::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 46px;
	border-radius: var(--bb-button-radius);
	background: var(--bb-content-alternate-background-color);
	transform: translate(-50%, -50%);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transition: opacity 150ms ease;
}

.bb-template-v2 .site-header .header-aside .notification-wrap:is(:hover, :focus-within, .selected)::before {
	opacity: 1;
}

.bb-template-v2 .site-header .header-aside .notification-wrap > .notification-link {
	z-index: 1;
}

.bb-template-v2 .site-header .header-aside .notification-wrap:is(:hover, :focus-within, .selected) > .notification-link,
.bb-template-v2 .site-header #header-aside.header-aside .notification-wrap:is(:hover, :focus-within, .selected) > .notification-link span[data-balloon="Notifications"] i.bb-icon-bell {
	color: #7a7a7a;
}

/* Leadership Road course width — November 2, 2026 */
body.single-bbcs-course #content > .container,
body.single-bbcs-lesson #content > .container {
  width: 100%; max-width: none; padding-inline: clamp(18px, 3vw, 56px);
}
body.single-bbcs-course #primary.content-area,
body.single-bbcs-lesson #primary.content-area {
  flex: 1 1 100%; width: 100%; max-width: none !important; margin-inline: 0; padding-inline: 0;
}
body.single-bbcs-course article.type-bbcs-course,
body.single-bbcs-lesson article.type-bbcs-lesson {
  width: 100%; max-width: none; margin-inline: 0; padding: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
body.single-bbcs-course article .entry-content,
body.single-bbcs-lesson article .entry-content,
body.single-bbcs-course .bbcs-section,
body.single-bbcs-lesson .bbcs-section {
  min-width: 0; max-width: 100%; overflow-wrap: anywhere;
}
body.single-bbcs-course article .entry-content img,
body.single-bbcs-lesson article .entry-content img,
body.single-bbcs-course article .entry-content iframe,
body.single-bbcs-lesson article .entry-content iframe { max-width: 100%; }
@media (max-width: 782px) {
  body.single-bbcs-course #content > .container,
  body.single-bbcs-lesson #content > .container { padding-inline: 16px; }
  body.single-bbcs-course article.type-bbcs-course,
  body.single-bbcs-lesson article.type-bbcs-lesson { padding: 0; border-radius: 0; }
}

@media (max-width: 520px) {
  body.single-bbcs-course .course-curriculum .bbcs-bookmark-link-title { display: none; }
}

/* Align every main screen with the Leadership Road banner's text column. */
body #content > .container,
body.page #content > .container,
body.single-bbcs-course #content > .container,
body.single-bbcs-lesson #content > .container {
    width: min(1140px, calc(100% - 80px));
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 0;
}

body .site-content .site-content-grid {
    width: 100%;
    margin-inline: 0;
}

body.page .site-content #primary.content-area {
    flex: 1 1 100%;
    width: 100%;
    max-width: none !important;
    min-width: 0;
    margin-inline: 0;
    padding-inline: 0;
}

/* Let the content fill that aligned column, including Elementor pages. */
body.page #primary .elementor-location-single > .e-con,
body.page #primary .elementor-widget-theme-post-content,
body.page #primary .elementor-widget-theme-post-content > .elementor-widget-container,
body.page #primary .elementor-widget-theme-post-content .elementor > .e-con {
    width: 100%;
    max-width: none;
    min-width: 0;
}

body.page #primary .elementor-widget-theme-post-content .elementor > .e-con-boxed > .e-con-inner {
    width: 100%;
    max-width: none;
}

body.page-id-437 .gamipress-leaderboard {
    width: 100%;
    max-width: none !important;
    margin-inline: 0;
}

body.page-id-437 .gamipress-leaderboard-table {
    width: 100% !important;
    table-layout: fixed;
    overflow-wrap: normal;
}

/* DataTables writes inline <col> widths based on its initial narrow layout. */
body.page-id-437 .gamipress-leaderboard-table col[data-dt-column="0"] {
    width: 72px !important;
}

body.page-id-437 .gamipress-leaderboard-table col[data-dt-column="1"] {
    width: 90px !important;
}

body.page-id-437 .gamipress-leaderboard-table col[data-dt-column="2"] {
    width: auto !important;
}

body.page-id-437 .gamipress-leaderboard-table col[data-dt-column="3"] {
    width: 120px !important;
}

body.page-id-437 .gamipress-leaderboard-table .column-position {
    width: 72px !important;
    max-width: none;
}

body.page-id-437 .gamipress-leaderboard-table .column-avatar {
    width: 90px !important;
    max-width: none;
}

body.page-id-437 .gamipress-leaderboard-table .column-points {
    width: 120px !important;
    max-width: none;
}

body.page-id-437 .gamipress-leaderboard-table .column-display_name {
    width: auto !important;
    max-width: none;
    overflow-wrap: break-word;
}

@media (max-width: 680px) {
    body.page-id-437 .gamipress-leaderboard-table .column-position {
        width: 42px !important;
    }

    body.page-id-437 .gamipress-leaderboard-table .column-avatar {
        width: 50px !important;
    }
}

/* Remove Elementor's extra 10px inset around these full-column cards. */
body.page-id-255 #primary .elementor-255 > .e-con,
body.page-id-930 #primary .elementor-element-lrfrow01 {
    padding-inline: 0;
}

body.page-id-255 #primary .elementor-255 > .e-con > .e-con-inner {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

body.page-id-255 #primary .lr-achievement-catalogue {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

/* Recent badges live in a narrow dashboard sidebar: one readable row each. */
body.page-id-217 .lr-badge-grid {
    grid-template-columns: minmax(0, 1fr);
}

body.page-id-217 .lr-badge-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    text-align: left;
}

body.page-id-217 .lr-badge-card .lr-achievement-image {
    grid-row: 1 / span 2;
}

body.page-id-217 .lr-badge-card strong,
body.page-id-217 .lr-badge-card .lr-badge-date {
    min-width: 0;
}

/* Long links and media stay within the aligned column. */
body.page #primary .elementor-widget-theme-post-content,
body.page #primary .elementor-widget-theme-post-content .elementor-widget-container {
    overflow-wrap: anywhere;
}

body.page #primary .elementor-widget-theme-post-content img,
body.page #primary .elementor-widget-theme-post-content iframe {
    max-width: 100%;
}

@media (max-width: 767px) {
    body #content > .container,
    body.page #content > .container,
    body.single-bbcs-course #content > .container,
    body.single-bbcs-lesson #content > .container {
        width: calc(100% - 20px);
    }
}
