/**
 * TBM LMS white label — visual overrides for Tutor LMS
 * Palette: navy #1a2744 · gold #c9a227
 */

:root {
	--tbm-primary: #1a2744;
	--tbm-accent: #c9a227;
	--tbm-cream: #faf7f2;
	--tbm-font-serif: "Cinzel", Georgia, serif;
	--tbm-font-sans: "Montserrat", system-ui, sans-serif;
}

/* Hide Tutor co-branding */
.tutor-powered-by,
.tutor-copyright,
.tutor-footer-copyright,
a[href*="themeum.com"],
a[href*="tutorlms.com"] {
	display: none !important;
}

body.tbm-lms-whitelabel {
	background: var(--tbm-cream);
	font-family: var(--tbm-font-sans);
}

body.tbm-lms-whitelabel .tutor-wrap,
body.tbm-lms-whitelabel .tutor-dashboard,
body.tbm-lms-whitelabel .tutor-course-details-page {
	--tutor-color-primary: var(--tbm-primary);
	--tutor-color-secondary: var(--tbm-accent);
}

body.tbm-lms-whitelabel .tutor-btn-primary,
body.tbm-lms-whitelabel .tutor-button-primary {
	background: var(--tbm-primary) !important;
	border-color: var(--tbm-primary) !important;
}

body.tbm-lms-whitelabel .tutor-btn-primary:hover,
body.tbm-lms-whitelabel .tutor-button-primary:hover {
	background: var(--tbm-accent) !important;
	border-color: var(--tbm-accent) !important;
	color: var(--tbm-primary) !important;
}

body.tbm-lms-whitelabel h1,
body.tbm-lms-whitelabel h2,
body.tbm-lms-whitelabel .tutor-course-header-title {
	font-family: var(--tbm-font-serif);
	color: var(--tbm-primary);
}

body.tbm-lms-whitelabel .tutor-dashboard-header,
body.tbm-lms-whitelabel .tutor-course-header {
	background: linear-gradient(135deg, var(--tbm-primary) 0%, #243556 100%);
	color: #fff;
	border-bottom: 3px solid var(--tbm-accent);
}

body.tbm-lms-whitelabel .tutor-dashboard-header a,
body.tbm-lms-whitelabel .tutor-course-header a {
	color: var(--tbm-accent);
}

/* Student dashboard widgets */
.tbm-student-dashboard .tbm-dash-header {
	text-align: center;
	margin-bottom: 2rem;
	border-bottom: 2px solid var(--tbm-accent);
	padding-bottom: 1rem;
}

.tbm-student-dashboard .tbm-dash-quicklinks {
	margin: 0 0 1.5rem;
}

.tbm-student-dashboard .tbm-dash-quicklinks__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.tbm-student-dashboard .tbm-dash-quicklink {
	display: inline-block;
	background: var(--tbm-navy, #1a2744);
	color: #fff !important;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	text-decoration: none;
}

.tbm-student-dashboard .tbm-dash-quicklink:hover {
	background: var(--tbm-accent, #c9a227);
	color: var(--tbm-navy, #1a2744) !important;
}

.tbm-student-dashboard .tbm-dash-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.tbm-student-dashboard .tbm-dash-widget {
	background: #fff;
	border: 1px solid rgba(26, 39, 68, 0.12);
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 4px 16px rgba(26, 39, 68, 0.06);
}

.tbm-student-dashboard .tbm-dash-widget h2 {
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
	color: var(--tbm-primary);
	font-family: var(--tbm-font-serif);
}

.tbm-ring {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto 1rem;
}

.tbm-ring svg {
	transform: rotate(-90deg);
}

.tbm-ring-bg {
	fill: none;
	stroke: #e8e4dc;
	stroke-width: 10;
}

.tbm-ring-fill {
	fill: none;
	stroke: var(--tbm-accent);
	stroke-width: 10;
	stroke-linecap: round;
}

.tbm-ring-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--tbm-primary);
}

.tbm-track-bar {
	height: 8px;
	background: #e8e4dc;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 0.5rem;
}

.tbm-track-bar span {
	display: block;
	height: 100%;
	background: var(--tbm-accent);
}

.tbm-dash-links,
.tbm-dash-semesters {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tbm-dash-links li,
.tbm-dash-semesters li {
	margin: 0.35rem 0;
}

.tbm-dash-courses {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--tbm-accent);
}

/* Certificates — TBM branding */
.tblms-certificate__school {
	color: var(--tbm-primary);
	font-family: var(--tbm-font-serif);
	font-size: 1.5rem;
}

.tblms-certificate__border {
	border-color: var(--tbm-accent) !important;
}

/* Login */
body.login {
	background: var(--tbm-cream);
}

body.login #loginform {
	border-top: 3px solid var(--tbm-accent);
}

body.login .button-primary {
	background: var(--tbm-primary) !important;
	border-color: var(--tbm-primary) !important;
}

/* Admin bar TBM logo */
#wpadminbar #wp-admin-bar-tbm-brand img {
	filter: none;
}

@media (max-width: 782px) {
	.tbm-student-dashboard .tbm-dash-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Visual refresh v2.1 (tb-gemini-visual-marketing-verify-2026-06-29) ── */

:root {
	--tbm-shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
	--tbm-shadow-md: 0 8px 24px rgba(26, 39, 68, 0.1);
	--tbm-shadow-lg: 0 16px 40px rgba(26, 39, 68, 0.12);
	--tbm-radius: 14px;
	--tbm-radius-lg: 20px;
}

/* Bible School hero band (homepage + /bible-school/) */
.tbm-hero-band,
.tb-bible-school-hero {
	background: linear-gradient(145deg, var(--tbm-primary) 0%, #243556 55%, #2d4268 100%);
	color: #fff;
	border-radius: var(--tbm-radius-lg);
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
	margin-block: 1.5rem 2rem;
	box-shadow: var(--tbm-shadow-lg);
	border-bottom: 4px solid var(--tbm-accent);
	position: relative;
	overflow: hidden;
}

.tbm-hero-band::before,
.tb-bible-school-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.15) 0%, transparent 45%);
	pointer-events: none;
}

.tbm-hero-band h1,
.tbm-hero-band h2,
.tb-bible-school-hero h1,
.tb-bible-school-hero h2 {
	color: #fff;
	font-family: var(--tbm-font-serif);
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.tbm-hero-band p,
.tb-bible-school-hero p {
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 52ch;
	margin: 0 0 1.25rem;
}

.tbm-hero-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.tbm-hero-cta-row .wp-block-button__link,
.tbm-hero-cta-row a.tutor-btn,
.tbm-hero-cta-row .tutor-button {
	border-radius: 999px !important;
	font-weight: 600;
	padding: 0.65rem 1.35rem !important;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.tbm-hero-cta-row .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border: 2px solid var(--tbm-accent) !important;
	color: var(--tbm-accent) !important;
}

.tbm-hero-cta-row .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.tbm-hero-cta-row a.tutor-btn-primary {
	background: var(--tbm-accent) !important;
	color: var(--tbm-primary) !important;
	border: none !important;
	box-shadow: var(--tbm-shadow-md);
}

.tbm-hero-cta-row .wp-block-button__link:hover,
.tbm-hero-cta-row a.tutor-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--tbm-shadow-lg);
}

.tbm-pricing-pill {
	display: inline-block;
	background: rgba(201, 162, 39, 0.2);
	border: 1px solid var(--tbm-accent);
	color: var(--tbm-accent);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

/* Course catalog cards */
body.tbm-lms-whitelabel .tutor-course-list .tutor-card,
body.tbm-lms-whitelabel .tutor-course-list .tutor-course-card,
body.tbm-lms-whitelabel .tutor-loop-course-container {
	background: #fff;
	border: 1px solid rgba(26, 39, 68, 0.1);
	border-radius: var(--tbm-radius);
	box-shadow: var(--tbm-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
	overflow: hidden;
}

body.tbm-lms-whitelabel .tutor-course-list .tutor-card:hover,
body.tbm-lms-whitelabel .tutor-course-list .tutor-course-card:hover {
	box-shadow: var(--tbm-shadow-md);
	transform: translateY(-3px);
	border-color: rgba(201, 162, 39, 0.45);
}

body.tbm-lms-whitelabel .tutor-course-list .tutor-course-name,
body.tbm-lms-whitelabel .tutor-course-list .tutor-course-title {
	font-family: var(--tbm-font-serif);
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--tbm-primary);
}

body.tbm-lms-whitelabel .tutor-course-list .tutor-course-price {
	color: var(--tbm-accent);
	font-weight: 700;
	font-size: 1rem;
}

.tbs-credit-badge,
.tbm-credit-badge {
	display: inline-block;
	background: var(--tbm-primary);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.55rem;
	border-radius: 6px;
	margin-right: 0.35rem;
	vertical-align: middle;
}

.tbs-track-chip,
.tbm-track-chip {
	display: inline-block;
	background: rgba(201, 162, 39, 0.15);
	color: var(--tbm-primary);
	border: 1px solid rgba(201, 162, 39, 0.5);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	margin: 0.15rem 0.25rem 0 0;
}

/* Pricing page cards */
.tbm-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	margin: 2rem 0;
}

.tbm-pricing-card {
	background: #fff;
	border: 1px solid rgba(26, 39, 68, 0.12);
	border-radius: var(--tbm-radius);
	padding: 1.5rem;
	box-shadow: var(--tbm-shadow-sm);
	text-align: center;
}

.tbm-pricing-card.featured {
	border-color: var(--tbm-accent);
	border-width: 2px;
	box-shadow: var(--tbm-shadow-md);
}

.tbm-pricing-card .price {
	font-family: var(--tbm-font-serif);
	font-size: 2rem;
	color: var(--tbm-primary);
	font-weight: 700;
}

.tbm-pricing-card .price span {
	font-size: 0.95rem;
	font-weight: 500;
	color: #666;
}

.tblms-stripe-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--tbm-primary);
	margin-bottom: 1rem;
	grid-column: 1 / -1;
}

.tblms-stripe-badge__icon {
	color: #635bff;
}

.tblms-sub-terms {
	font-size: 0.85rem;
	color: #555;
	line-height: 1.45;
	margin: 0.75rem 0;
}

.tblms-checkout-cta {
	background: #635bff !important;
	border-color: #635bff !important;
	color: #fff !important;
}

.tblms-checkout-cta:hover {
	background: #4f46e5 !important;
	border-color: #4f46e5 !important;
}

.tblms-pricing-footer {
	grid-column: 1 / -1;
	text-align: center;
	margin-top: 0.5rem;
}

/* Affiliate + cross-sell blocks */
.tbm-affiliate-banner,
.tb-cross-market {
	background: linear-gradient(135deg, var(--tbm-cream) 0%, #fff 100%);
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-left: 4px solid var(--tbm-accent);
	border-radius: var(--tbm-radius);
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	box-shadow: var(--tbm-shadow-sm);
}

.tbm-affiliate-banner strong {
	color: var(--tbm-primary);
	font-family: var(--tbm-font-serif);
}

/* Mobile-first catalog filters */
.tutor-course-filter,
.tbs-catalog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.tutor-course-filter a,
.tbs-catalog-filters a {
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
	border: 1px solid rgba(26, 39, 68, 0.15);
	transition: background 0.15s ease, color 0.15s ease;
}

.tutor-course-filter a.active,
.tbs-catalog-filters a.active,
.tutor-course-filter a:hover,
.tbs-catalog-filters a:hover {
	background: var(--tbm-primary);
	color: #fff;
	border-color: var(--tbm-primary);
}

@media (max-width: 782px) {
	.tbm-hero-cta-row {
		flex-direction: column;
		align-items: stretch;
	}

	.tbm-hero-cta-row .wp-block-button {
		width: 100%;
	}

	.tbm-hero-cta-row .wp-block-button__link {
		display: block;
		text-align: center;
		width: 100%;
	}

	body.tbm-lms-whitelabel .tutor-course-list {
		grid-template-columns: 1fr !important;
	}
}

/* Daily Word — tbs-daily-words-v1 (contrast-safe vs brand charcoal force) */
.tbs-daily-words-featured {
	background: linear-gradient(145deg, #1a2744, #243556);
	color: #fff !important;
	border-radius: 16px;
	padding: 1.75rem 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 4px solid #c9a227;
}

.tbs-daily-words-featured p,
.tbs-daily-words-featured h1,
.tbs-daily-words-featured h2,
.tbs-daily-words-featured h3,
.tbs-daily-words-featured h4,
.tbs-daily-words-featured li,
.tbs-daily-words-featured .tbs-daily-words-label,
.tbs-daily-words-featured .tbs-daily-words-body {
	color: #fff !important;
}

.tbs-daily-words-featured a {
	color: #c9a227 !important;
}

.tbs-daily-words-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.9;
	margin: 0 0 0.5rem;
}

.tbs-daily-words-title {
	margin: 0 0 1rem;
	font-family: var(--tbm-font-serif, Georgia, serif);
}

.tbs-daily-words-recent ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tbs-daily-words-recent li {
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(26, 39, 68, 0.1);
}

.tbs-daily-words-date {
	color: #666;
	font-size: 0.85rem;
}

/* Mobile course + catalog layout (tb-mobile-blank-viewport-2026-06-30) */
@media (max-width: 782px) {
	body.tbm-lms-whitelabel.single-courses .tutor-wrap.tutor-full-width-course-top {
		padding-top: 0.25rem;
	}

	body.tbm-lms-whitelabel.single-courses .tutor-course-details-header.tutor-mb-44 {
		margin-bottom: 1rem !important;
	}

	body.tbm-lms-whitelabel.single-courses .tutor-course-thumbnail:not(:has(img[src])) {
		display: none !important;
	}

	body.tbm-lms-whitelabel.single-courses .tutor-course-thumbnail img[src=""],
	body.tbm-lms-whitelabel.single-courses .tutor-course-thumbnail img:not([src]) {
		display: none !important;
	}

	body.tbm-lms-whitelabel.single-courses .tutor-row.tutor-gx-xl-5 {
		display: flex;
		flex-direction: column;
	}

	body.tbm-lms-whitelabel.single-courses .tutor-row.tutor-gx-xl-5 > .tutor-col-xl-4 {
		order: -1;
		width: 100%;
		max-width: 100%;
		margin-bottom: 1rem;
	}

	body.tbm-lms-whitelabel .wp-block-post-content,
	body.tbm-lms-whitelabel .entry-content {
		min-height: 0 !important;
	}

	body.tbm-lms-whitelabel.page-template-page-with-title main .wp-block-cover {
		min-height: 0 !important;
	}
	/* Extendable mobile nav must not reserve layout when closed (single Tutor course pages only). */
	body.tbm-lms-whitelabel.single-courses header .wp-block-navigation__responsive-container:not(.is-menu-open),
	body.tbm-lms-whitelabel.single-courses .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
		position: fixed !important;
		visibility: hidden !important;
		height: 0 !important;
		overflow: hidden !important;
		pointer-events: none !important;
	}

	body.tbm-lms-whitelabel.single-courses header .wp-block-navigation__responsive-container.is-menu-open,
	body.tbm-lms-whitelabel.single-courses .site-header .wp-block-navigation__responsive-container.is-menu-open {
		display: block !important;
		visibility: visible !important;
		pointer-events: auto !important;
		height: auto !important;
		overflow: auto !important;
	}

}

/* ── Udemy-glean face-lift v2.5 (CSS/whitelabel only · 2026-07-22) ── */
/* Catalog cards, course single, sticky enroll, outcomes, curriculum, dashboard */

:root {
	--tbm-surface: #ffffff;
	--tbm-border: rgba(26, 39, 68, 0.12);
	--tbm-border-strong: rgba(201, 162, 39, 0.55);
	--tbm-muted: #5c5348;
	--tbm-meta: #6b6358;
}

/* Tutor blue → TBM navy/gold (catalog + single CTAs) */
body.tbm-lms-whitelabel .tutor-btn,
body.tbm-lms-whitelabel a.tutor-btn,
body.tbm-lms-whitelabel .tutor-course-enrollment-box .tutor-btn,
body.tbm-lms-whitelabel .tutor-card-footer .tutor-btn,
body.tbm-lms-whitelabel .tutor-course-loop-footer-author-cart .tutor-btn {
	border-radius: 10px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

body.tbm-lms-whitelabel .tutor-btn-primary,
body.tbm-lms-whitelabel a.tutor-btn-primary,
body.tbm-lms-whitelabel .tutor-btn.tutor-btn-primary,
body.tbm-lms-whitelabel button.tutor-btn-primary,
body.tbm-lms-whitelabel .tutor-course-enrollment-box .tutor-btn,
body.tbm-lms-whitelabel .tutor-course-enrollment-box button {
	background: var(--tbm-primary) !important;
	border-color: var(--tbm-primary) !important;
	color: #fff !important;
}

body.tbm-lms-whitelabel .tutor-btn-primary:hover,
body.tbm-lms-whitelabel a.tutor-btn-primary:hover,
body.tbm-lms-whitelabel .tutor-course-enrollment-box .tutor-btn:hover,
body.tbm-lms-whitelabel .tutor-course-enrollment-box button:hover {
	background: var(--tbm-accent) !important;
	border-color: var(--tbm-accent) !important;
	color: var(--tbm-primary) !important;
	transform: translateY(-1px);
}

body.tbm-lms-whitelabel .tutor-btn-outline-primary,
body.tbm-lms-whitelabel a.tutor-btn-outline-primary,
body.tbm-lms-whitelabel .tutor-card-footer .tutor-btn:not(.tutor-btn-primary) {
	background: transparent !important;
	border: 2px solid var(--tbm-primary) !important;
	color: var(--tbm-primary) !important;
}

body.tbm-lms-whitelabel .tutor-btn-outline-primary:hover,
body.tbm-lms-whitelabel a.tutor-btn-outline-primary:hover,
body.tbm-lms-whitelabel .tutor-card-footer .tutor-btn:not(.tutor-btn-primary):hover {
	background: var(--tbm-primary) !important;
	color: #fff !important;
}

/* Catalog: consistent 16:9 thumb + card hierarchy */
body.tbm-lms-whitelabel .tutor-course-list .tutor-card,
body.tbm-lms-whitelabel .tutor-course-listing-grid .tutor-card,
body.tbm-lms-whitelabel .tutor-course-list .tutor-course-card,
body.tbm-lms-whitelabel .tutor-courses-loop-wrap .tutor-card {
	display: flex;
	flex-direction: column;
	background: var(--tbm-surface);
	border: 1px solid var(--tbm-border);
	border-radius: var(--tbm-radius);
	overflow: hidden;
	box-shadow: var(--tbm-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
	height: 100%;
}

body.tbm-lms-whitelabel .tutor-course-list .tutor-card:hover,
body.tbm-lms-whitelabel .tutor-course-listing-grid .tutor-card:hover,
body.tbm-lms-whitelabel .tutor-courses-loop-wrap .tutor-card:hover {
	box-shadow: var(--tbm-shadow-md);
	transform: translateY(-4px);
	border-color: var(--tbm-border-strong);
}

body.tbm-lms-whitelabel .tutor-card .tutor-course-thumbnail,
body.tbm-lms-whitelabel .tutor-card .tutor-ratio,
body.tbm-lms-whitelabel .tutor-course-card .tutor-course-thumbnail,
body.tbm-lms-whitelabel .tutor-card .tutor-card-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(145deg, #1a2744 0%, #2d4268 100%);
	position: relative;
}

body.tbm-lms-whitelabel .tutor-card .tutor-course-thumbnail img,
body.tbm-lms-whitelabel .tutor-card .tutor-card-image img,
body.tbm-lms-whitelabel .tutor-course-card .tutor-course-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.tbm-lms-whitelabel .tutor-card .tutor-course-name a,
body.tbm-lms-whitelabel .tutor-card .tutor-course-name,
body.tbm-lms-whitelabel .tutor-card h3.tutor-course-name,
body.tbm-lms-whitelabel .tutor-course-list .tutor-course-title a {
	font-family: var(--tbm-font-serif);
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--tbm-primary) !important;
	text-decoration: none !important;
	font-weight: 600;
}

body.tbm-lms-whitelabel .tutor-card .tutor-course-name a:hover,
body.tbm-lms-whitelabel .tutor-course-list .tutor-course-title a:hover {
	color: var(--tbm-accent) !important;
}

/* Meta row under title */
body.tbm-lms-whitelabel .tutor-card .tutor-meta,
body.tbm-lms-whitelabel .tutor-card .tutor-course-loop-meta,
body.tbm-lms-whitelabel .tutor-card .tutor-course-loop-header-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	align-items: center;
	font-size: 0.78rem;
	color: var(--tbm-meta);
	margin-top: 0.35rem;
}

body.tbm-lms-whitelabel .tutor-card .tutor-course-loop-categories a,
body.tbm-lms-whitelabel .tutor-card .tutor-course-categories a {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tbm-primary) !important;
	background: rgba(201, 162, 39, 0.14);
	border: 1px solid rgba(201, 162, 39, 0.4);
	border-radius: 999px;
	padding: 0.12rem 0.5rem;
	text-decoration: none !important;
	margin: 0.1rem 0.2rem 0.1rem 0;
}

/* Hide empty star ratings until real reviews exist */
body.tbm-lms-whitelabel .tutor-card .tutor-ratings:has(.tutor-ratings-stars):not(:has(.tutor-ratings-average)),
body.tbm-lms-whitelabel .tutor-card .tutor-ratings:has([style*="width: 0"]),
body.tbm-lms-whitelabel .tutor-course-details-ratings .tutor-ratings:has(.tutor-ratings-average:empty),
body.tbm-lms-whitelabel .tutor-card .tutor-ratings .tutor-icon-star-line:only-child {
	opacity: 0.35;
}

body.tbm-lms-whitelabel .tutor-card .tutor-ratings:not(:has(.tutor-ratings-average)),
body.tbm-lms-whitelabel .tutor-course-details-page .tutor-ratings:not(:has(.tutor-ratings-average)),
body.tbm-lms-whitelabel .tutor-card .tutor-course-rating:empty {
	display: none !important;
}

/* When all stars are empty outlines with no numeric average nearby, de-emphasize */
body.tbm-lms-whitelabel .tutor-card .tutor-ratings-stars:not(:has(.tutor-icon-star-bold)):not(:has(.tutor-icon-star-half)) {
	display: none !important;
}

body.tbm-lms-whitelabel .tutor-card .tutor-card-footer,
body.tbm-lms-whitelabel .tutor-card .tutor-card-body {
	padding: 0.85rem 1rem 1rem;
}

body.tbm-lms-whitelabel .tutor-card .tutor-card-footer {
	margin-top: auto;
	border-top: 1px solid var(--tbm-border);
	padding-top: 0.85rem;
}

body.tbm-lms-whitelabel .tutor-card .tutor-card-footer .tutor-btn,
body.tbm-lms-whitelabel .tutor-course-list .tutor-card-footer a.tutor-btn {
	width: 100%;
	justify-content: center;
	background: var(--tbm-primary) !important;
	border-color: var(--tbm-primary) !important;
	color: #fff !important;
	border-radius: 10px !important;
	padding: 0.6rem 1rem !important;
}

body.tbm-lms-whitelabel .tutor-card .tutor-card-footer .tutor-btn:hover {
	background: var(--tbm-accent) !important;
	border-color: var(--tbm-accent) !important;
	color: var(--tbm-primary) !important;
}

body.tbm-lms-whitelabel .tutor-card .tutor-avatar,
body.tbm-lms-whitelabel .tutor-card .tutor-avatar img {
	border: 2px solid rgba(201, 162, 39, 0.45);
}

body.tbm-lms-whitelabel .tutor-card .tutor-meta a,
body.tbm-lms-whitelabel .tutor-card .tutor-course-loop-author a {
	color: var(--tbm-muted) !important;
	font-size: 0.8rem;
}

/* Course single: header / trust strip */
body.tbm-lms-whitelabel.single-courses .tutor-course-details-header,
body.tbm-lms-whitelabel .tutor-course-details-page .tutor-course-details-header {
	background: linear-gradient(145deg, var(--tbm-primary) 0%, #243556 60%, #2d4268 100%);
	color: #fff;
	border-radius: var(--tbm-radius-lg);
	padding: 1.25rem 1.5rem 1.5rem;
	margin-bottom: 1.25rem;
	border-bottom: 4px solid var(--tbm-accent);
	box-shadow: var(--tbm-shadow-md);
}

body.tbm-lms-whitelabel.single-courses .tutor-course-details-header h1,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-header .tutor-course-details-title,
body.tbm-lms-whitelabel .tutor-course-details-header h1 {
	color: #fff !important;
	font-family: var(--tbm-font-serif);
	font-size: clamp(1.45rem, 3.2vw, 2.1rem);
	line-height: 1.25;
	text-transform: none;
	letter-spacing: 0.01em;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-details-header a,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-header .tutor-meta,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-header .tutor-course-details-top {
	color: rgba(255, 255, 255, 0.9) !important;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-details-header .tutor-course-details-category a,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-header .tutor-course-details-top a {
	color: var(--tbm-accent) !important;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-details-header .tutor-icon-star-line {
	color: rgba(201, 162, 39, 0.55) !important;
}

/* Sticky enroll sidebar (desktop) */
@media (min-width: 992px) {
	body.tbm-lms-whitelabel.single-courses .tutor-course-single-sidebar-wrapper,
	body.tbm-lms-whitelabel.single-courses .tutor-single-course-sidebar,
	body.tbm-lms-whitelabel.single-courses .tutor-col-xl-4 .tutor-course-single-sidebar-wrapper,
	body.tbm-lms-whitelabel.single-courses .tutor-row.tutor-gx-xl-5 > .tutor-col-xl-4 {
		position: sticky;
		top: 5.5rem;
		align-self: flex-start;
		z-index: 5;
	}
}

body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box,
body.tbm-lms-whitelabel.single-courses .tutor-card.tutor-sidebar-card,
body.tbm-lms-whitelabel.single-courses .tutor-single-course-sidebar .tutor-card {
	background: var(--tbm-surface);
	border: 1px solid var(--tbm-border);
	border-radius: var(--tbm-radius);
	box-shadow: var(--tbm-shadow-md);
	overflow: hidden;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box .tutor-course-single-pricing,
body.tbm-lms-whitelabel.single-courses .tutor-course-single-pricing span,
body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box .price {
	font-family: var(--tbm-font-serif);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--tbm-primary);
}

body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box .tutor-btn,
body.tbm-lms-whitelabel.single-courses .tutor-enrollment-box .tutor-btn,
body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box button[name="tutor_course_enroll_now"] {
	width: 100% !important;
	padding: 0.85rem 1.25rem !important;
	font-size: 1rem !important;
	border-radius: 10px !important;
	background: var(--tbm-accent) !important;
	border-color: var(--tbm-accent) !important;
	color: var(--tbm-primary) !important;
	font-weight: 700 !important;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box .tutor-btn:hover,
body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box button:hover {
	background: var(--tbm-primary) !important;
	border-color: var(--tbm-primary) !important;
	color: #fff !important;
}

/* What you'll learn / outcomes / about polish */
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content .tutor-course-details-widget,
body.tbm-lms-whitelabel.single-courses .tutor-course-benefits-content,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-widget-title + ul,
body.tbm-lms-whitelabel.single-courses .tbs-objectives,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content .tutor-fs-6:has(+ ul),
body.tbm-lms-whitelabel.single-courses #tutor-course-details-tab-info .tutor-course-details-content > div:first-of-type {
	background: var(--tbm-surface);
	border: 1px solid var(--tbm-border);
	border-radius: var(--tbm-radius);
	padding: 1.15rem 1.25rem;
	margin-bottom: 1.25rem;
	box-shadow: var(--tbm-shadow-sm);
}

body.tbm-lms-whitelabel.single-courses .tutor-course-details-content h2,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content h3,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-widget-title {
	font-family: var(--tbm-font-serif);
	color: var(--tbm-primary);
	margin-top: 0;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-benefits-content ul,
body.tbm-lms-whitelabel.single-courses .tbs-objectives,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content ul.tutor-course-details-widget-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.5rem 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 0;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-benefits-content li,
body.tbm-lms-whitelabel.single-courses .tbs-objectives li,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-widget-list li {
	position: relative;
	padding-left: 1.5rem;
	line-height: 1.5;
	color: var(--tbm-muted);
	font-size: 0.95rem;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-benefits-content li::before,
body.tbm-lms-whitelabel.single-courses .tbs-objectives li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: var(--tbm-accent);
	box-shadow: inset 0 0 0 2px var(--tbm-primary);
}

/* Curriculum / course content accordion polish */
body.tbm-lms-whitelabel.single-courses .tutor-accordion,
body.tbm-lms-whitelabel.single-courses .tutor-course-content-wrapper,
body.tbm-lms-whitelabel.single-courses .tutor-accordion-item {
	border-color: var(--tbm-border) !important;
	border-radius: 10px;
	overflow: hidden;
}

body.tbm-lms-whitelabel.single-courses .tutor-accordion-item {
	margin-bottom: 0.5rem;
	background: var(--tbm-surface);
	border: 1px solid var(--tbm-border);
}

body.tbm-lms-whitelabel.single-courses .tutor-accordion-item-header,
body.tbm-lms-whitelabel.single-courses .tutor-course-content-title {
	font-family: var(--tbm-font-serif);
	font-weight: 600;
	color: var(--tbm-primary) !important;
	padding: 0.85rem 1rem !important;
	background: rgba(26, 39, 68, 0.03);
}

body.tbm-lms-whitelabel.single-courses .tutor-accordion-item-header:hover {
	background: rgba(201, 162, 39, 0.1);
}

body.tbm-lms-whitelabel.single-courses .tutor-course-content-list-item,
body.tbm-lms-whitelabel.single-courses .tutor-accordion-item-body li {
	border-bottom: 1px solid rgba(26, 39, 68, 0.06);
	padding: 0.65rem 1rem;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-content-list-item:hover {
	background: rgba(250, 247, 242, 0.9);
}

/* Free preview cue */
body.tbm-lms-whitelabel.single-courses .tutor-course-content-list-item:has([class*="preview"]),
body.tbm-lms-whitelabel.single-courses h4:has(+ *):is([class*="topic"]):first-of-type,
body.tbm-lms-whitelabel.single-courses .tutor-course-topic:first-child .tutor-accordion-item-header::after {
	content: none;
}

body.tbm-lms-whitelabel.single-courses .tutor-course-topic:first-child .tutor-accordion-item-header,
body.tbm-lms-whitelabel.single-courses .tutor-accordion-item:first-child .tutor-accordion-item-header {
	border-left: 3px solid var(--tbm-accent);
}

body.tbm-lms-whitelabel.single-courses .tutor-badge-label,
body.tbm-lms-whitelabel.single-courses .tutor-course-topic-item-icon + .tutor-fs-7 {
	color: var(--tbm-primary);
}

/* Tabs: Course Info / Reviews */
body.tbm-lms-whitelabel.single-courses .tutor-nav .tutor-nav-link.is-active,
body.tbm-lms-whitelabel.single-courses .tutor-is-active.tutor-nav-link {
	color: var(--tbm-primary) !important;
	border-bottom-color: var(--tbm-accent) !important;
	font-weight: 700;
}

body.tbm-lms-whitelabel.single-courses .tutor-nav .tutor-nav-link {
	color: var(--tbm-muted) !important;
}

/* Related courses */
body.tbm-lms-whitelabel.single-courses .tutor-course-related-list,
body.tbm-lms-whitelabel.single-courses .tbm-related-courses {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 2px solid var(--tbm-accent);
}

/* Student dashboard polish */
.tbm-student-dashboard {
	max-width: 1100px;
	margin: 0 auto 2.5rem;
	padding: 0 0.5rem;
}

.tbm-student-dashboard .tbm-dash-header h1,
.tbm-student-dashboard .tbm-dash-header h2 {
	font-family: var(--tbm-font-serif);
	color: var(--tbm-primary);
}

.tbm-student-dashboard .tbm-dash-widget {
	transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.tbm-student-dashboard .tbm-dash-widget:hover {
	border-color: var(--tbm-border-strong);
	box-shadow: var(--tbm-shadow-md);
}

.tbm-student-dashboard .tbm-dash-quicklink {
	border-radius: 10px;
}

/* Hub discovery bands (Programs / Courses / Pricing shortcode regions) */
.tbm-hub-section,
.tb-bible-school-section,
.tbm-discovery-section {
	margin: 2rem 0 2.5rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--tbm-border);
}

.tbm-hub-section__title,
.tb-bible-school-section h2,
.tbm-discovery-section h2 {
	font-family: var(--tbm-font-serif);
	color: var(--tbm-primary);
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	margin: 0 0 0.4rem;
}

.tbm-hub-section__lead,
.tbm-discovery-section p {
	color: var(--tbm-muted);
	max-width: 54ch;
	margin: 0 0 1.15rem;
	line-height: 1.55;
}

/* Contrast: never force white text on cream */
body.tbm-lms-whitelabel .tutor-course-list .tutor-card,
body.tbm-lms-whitelabel .tutor-course-list .tutor-card p,
body.tbm-lms-whitelabel .tutor-course-list .tutor-card span:not(.tutor-btn *),
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content p {
	color: var(--tbm-primary);
}

body.tbm-lms-whitelabel .tutor-course-list .tutor-card .tutor-meta,
body.tbm-lms-whitelabel .tutor-course-list .tutor-card .tutor-meta span,
body.tbm-lms-whitelabel.single-courses .tutor-course-details-content .tutor-color-secondary {
	color: var(--tbm-muted) !important;
}

/* Mobile sticky enroll bar */
@media (max-width: 991px) {
	body.tbm-lms-whitelabel.single-courses .tutor-course-enrollment-box {
		position: sticky;
		bottom: 0.75rem;
		z-index: 40;
		margin: 0.5rem 0 0;
		padding-bottom: 0.35rem;
		box-shadow: var(--tbm-shadow-lg);
		border: 2px solid var(--tbm-accent);
	}

	body.tbm-lms-whitelabel.single-courses .tutor-course-details-header {
		border-radius: var(--tbm-radius);
		padding: 1rem 1.1rem 1.15rem;
	}

	body.tbm-lms-whitelabel.single-courses .tutor-course-benefits-content ul,
	body.tbm-lms-whitelabel.single-courses .tbs-objectives {
		grid-template-columns: 1fr;
	}
}

