/* FBC LMS Bridge: course page, cards, buy box. Teal-green on white, same structure as the LMS course page. */
.fbc {
	--fbc-brand: #0d9488;
	--fbc-dark: #0f766e;
	--fbc-light: #14b8a6;
	--fbc-soft: #f0fdfa;
	--fbc-line: #e2eeec;
	--fbc-text: #1f2937;
	--fbc-muted: #6b7280;
	color: var(--fbc-text);
	line-height: 1.6;
	box-sizing: border-box;
}
.fbc *, .fbc *::before, .fbc *::after { box-sizing: inherit; }
.fbc a { color: var(--fbc-brand); text-decoration: none; }
.fbc a:hover { color: var(--fbc-dark); }
.fbc h1, .fbc h2, .fbc h3, .fbc h4 { line-height: 1.25; margin: 0 0 .6em; }
.fbc-muted { color: var(--fbc-muted); }

/* banner */
.fbc-banner {
	background: linear-gradient(135deg, var(--fbc-brand) 0%, var(--fbc-dark) 100%);
	color: #fff;
	border-radius: 14px;
	padding: 28px 32px 30px;
	margin: 0 0 28px;
}
.fbc-banner h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 14px 0 10px; }
.fbc-lead { color: rgba(255, 255, 255, .92); font-size: 1.08rem; max-width: 62ch; margin: 0 0 16px; }
.fbc-crumbs { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.fbc-crumbs a, .fbc-crumbs a:hover { color: #fff; }
.fbc-crumbs span { margin: 0 4px; }
.fbc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; }
.fbc-chips li { margin: 0; color: #fff; }
.fbc-chips b { font-weight: 600; opacity: .85; margin-right: 4px; }

/* two columns */
.fbc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (max-width: 900px) {
	.fbc-layout { grid-template-columns: 1fr; }
	.fbc-side { order: -1; }
	.fbc-banner { padding: 22px 20px; }
}

/* tabs */
.fbc-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--fbc-line); margin-bottom: 22px; overflow-x: auto; }
.fbc-tabs button {
	background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px;
	padding: 10px 16px; font: inherit; font-weight: 600; color: var(--fbc-muted); cursor: pointer; white-space: nowrap;
}
.fbc-tabs button:hover { color: var(--fbc-dark); }
.fbc-tabs button.is-active { color: var(--fbc-brand); border-bottom-color: var(--fbc-brand); }
.fbc-single.fbc-js .fbc-panel { display: none; }
.fbc-single.fbc-js .fbc-panel.is-active { display: block; }
.fbc-single:not(.fbc-js) .fbc-tabs { display: none; }
.fbc-single:not(.fbc-js) .fbc-panel { margin-bottom: 32px; }

/* content blocks */
.fbc-box { background: var(--fbc-soft); border: 1px solid #ccebe6; border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; }
.fbc-check, .fbc-dots { list-style: none; margin: 0; padding: 0; }
.fbc-check li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.fbc-check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #fff; background: var(--fbc-brand); width: 18px; height: 18px; border-radius: 50%; font-size: 11px; line-height: 18px; text-align: center; margin-top: 3px; }
.fbc-two { columns: 2; column-gap: 28px; }
.fbc-two li { break-inside: avoid; }
@media (max-width: 600px) { .fbc-two { columns: 1; } }
.fbc-dots li { position: relative; padding-left: 18px; margin: 0 0 8px; }
.fbc-dots li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--fbc-brand); }
.fbc-text { margin-bottom: 26px; }

/* curriculum */
.fbc-section { border: 1px solid var(--fbc-line); border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.fbc-section summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 600; background: var(--fbc-soft); }
.fbc-section summary::-webkit-details-marker { display: none; }
.fbc-section summary em { font-style: normal; font-weight: 400; color: var(--fbc-muted); font-size: .88rem; white-space: nowrap; }
.fbc-section ul { list-style: none; margin: 0; padding: 4px 0; }
.fbc-section li { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid #f1f5f4; margin: 0; }
.fbc-section li:first-child { border-top: 0; }
.fbc-ico { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--fbc-soft); color: var(--fbc-brand); font-size: 11px; line-height: 24px; text-align: center; font-weight: 700; }
.fbc-ltitle { flex: 1; }
.fbc-ldur { color: var(--fbc-muted); font-size: .85rem; }

.fbc-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fbc-people li { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 600; }
.fbc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--fbc-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.fbc-table { width: 100%; border-collapse: collapse; }
.fbc-table th, .fbc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--fbc-line); }
.fbc-table th { background: var(--fbc-soft); }

/* side card */
.fbc-card { background: #fff; border: 1px solid var(--fbc-line); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(15, 118, 110, .07); }
.fbc-sticky { position: sticky; top: 24px; }
.fbc-media img, .fbc-media .fbc-noimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.fbc-noimg { background: linear-gradient(135deg, var(--fbc-soft), #ccebe6); }
.fbc-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.fbc-embed iframe, .fbc-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fbc-card-body { padding: 20px; }
.fbc-price { font-size: 1.9rem; font-weight: 700; color: var(--fbc-text); margin-bottom: 14px; }
.fbc-price del { font-size: 1.1rem; color: var(--fbc-muted); font-weight: 400; margin-right: 6px; }
.fbc-price ins { text-decoration: none; }
.fbc-btn {
	display: inline-block; background: var(--fbc-brand); color: #fff !important; border: 2px solid var(--fbc-brand);
	border-radius: 8px; padding: 12px 22px; font-weight: 600; text-align: center; cursor: pointer; transition: background .2s;
}
.fbc-btn:hover { background: var(--fbc-dark); border-color: var(--fbc-dark); }
.fbc-btn-ghost { background: #fff; color: var(--fbc-brand) !important; }
.fbc-btn-ghost:hover { background: var(--fbc-soft); border-color: var(--fbc-brand); }
.fbc-btn-block { display: block; width: 100%; margin-bottom: 10px; }
.fbc-facts { list-style: none; margin: 18px 0 0; padding: 0; }
.fbc-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--fbc-line); margin: 0; font-size: .93rem; }
.fbc-facts span { color: var(--fbc-muted); }

/* cards and grid */
.fbc-grid { display: grid; gap: 22px; }
.fbc-cols-1 { grid-template-columns: 1fr; }
.fbc-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fbc-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fbc-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .fbc-cols-3, .fbc-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fbc-grid { grid-template-columns: 1fr !important; } }
.fbc-grid .fbc-card { display: flex; flex-direction: column; height: 100%; }
.fbc-thumb img, .fbc-thumb .fbc-noimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.fbc-grid .fbc-card-body { display: flex; flex-direction: column; flex: 1; }
.fbc-grid h3 { font-size: 1.08rem; }
.fbc-grid h3 a { color: var(--fbc-text); }
.fbc-grid h3 a:hover { color: var(--fbc-brand); }
.fbc-tag { align-self: flex-start; background: var(--fbc-soft); color: var(--fbc-dark); border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 600; margin-bottom: 8px; }
.fbc-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--fbc-line); }
.fbc-card-foot .fbc-price { font-size: 1.1rem; margin: 0; }
.fbc-related { margin-top: 48px; }
/* ================= cards, list, carousel (shared by shortcodes and Elementor) ================= */
.fbc-cards { position: relative; --fbc-cols: var(--fbc-cols-desktop, 3); --fbc-gap: 22px; }
.fbc-cards .fbc-track { display: grid; grid-template-columns: repeat(var(--fbc-cols), minmax(0, 1fr)); gap: var(--fbc-gap); }
@media (max-width: 980px) { .fbc-cards { --fbc-cols: 2; } }
@media (max-width: 600px) { .fbc-cards { --fbc-cols: 1; } }
/* Elementor writes the responsive column counts into --fbc-cols-t / --fbc-cols-m; honoured when present */
@media (max-width: 1024px) { .fbc-cards.fbc-has-resp { --fbc-cols: var(--fbc-cols-t, 2); } }
@media (max-width: 767px) { .fbc-cards.fbc-has-resp { --fbc-cols: var(--fbc-cols-m, 1); } }

.fbc-cards .fbc-card { display: flex; flex-direction: column; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.fbc-cards .fbc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 118, 110, .14); }
.fbc-cards .fbc-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.fbc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fbc-tags:empty { display: none; }
.fbc-tag-cat, .fbc a.fbc-tag-cat { background: var(--fbc-brand); color: #fff; }
.fbc a.fbc-tag-cat:hover { background: var(--fbc-dark); color: #fff; }
.fbc-title { font-size: 1.06rem; margin: 0 0 6px; }
.fbc-title a { color: var(--fbc-text); }
.fbc-title a:hover { color: var(--fbc-brand); }
.fbc-excerpt { color: var(--fbc-muted); font-size: .92rem; margin: 0 0 8px; }
.fbc-by { color: var(--fbc-muted); font-size: .88rem; margin: 0 0 8px; }
.fbc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; color: var(--fbc-muted); margin-bottom: 12px; }
.fbc-btn-sm { padding: 8px 16px; font-size: .88rem; border-radius: 8px; }
.fbc-cards .fbc-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--fbc-line); }
.fbc-cards .fbc-card-foot .fbc-price { font-size: 1.15rem; margin: 0; }
.fbc-cards .fbc-card-foot .fbc-price del { font-size: .85rem; }

/* stars */
.fbc-stars { position: relative; display: inline-block; font-size: 1rem; letter-spacing: 1px; line-height: 1; vertical-align: middle; }
.fbc-stars-bg { color: #d1d5db; }
.fbc-stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
.fbc-banner .fbc-stars-bg { color: rgba(255, 255, 255, .35); }
.fbc-banner .fbc-stars-fg { color: #fcd34d; }
.fbc-rating-n { font-size: .85em; color: inherit; white-space: nowrap; }

/* list layout: image left, text right */
.fbc-layout-list .fbc-track { grid-template-columns: 1fr; }
.fbc-layout-list .fbc-card { flex-direction: row; }
.fbc-layout-list .fbc-thumb { flex: 0 0 34%; max-width: 320px; }
.fbc-layout-list .fbc-thumb img, .fbc-layout-list .fbc-thumb .fbc-noimg { height: 100%; aspect-ratio: auto; min-height: 170px; }
@media (max-width: 640px) { .fbc-layout-list .fbc-card { flex-direction: column; } .fbc-layout-list .fbc-thumb { flex: none; max-width: none; } }

/* carousel: horizontal scroll-snap with arrows */
.fbc-layout-carousel .fbc-track {
	display: flex; gap: var(--fbc-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 4px 2px 14px; scrollbar-width: thin;
}
.fbc-layout-carousel .fbc-card { flex: 0 0 calc((100% - (var(--fbc-cols) - 1) * var(--fbc-gap)) / var(--fbc-cols)); scroll-snap-align: start; }
.fbc-nav { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--fbc-dark); font-size: 26px; line-height: 40px; cursor: pointer; box-shadow: 0 4px 16px rgba(15, 118, 110, .25); }
.fbc-nav:hover { background: var(--fbc-brand); color: #fff; }
.fbc-prev { left: -14px; }
.fbc-next { right: -14px; }
@media (max-width: 600px) { .fbc-prev { left: 2px; } .fbc-next { right: 2px; } }

/* category filter chips */
.fbc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.fbc-filter button { border: 1px solid var(--fbc-line); background: #fff; color: var(--fbc-text); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.fbc-filter button span { opacity: .6; font-weight: 500; margin-left: 4px; }
.fbc-filter button:hover { border-color: var(--fbc-brand); color: var(--fbc-brand); }
.fbc-filter button.is-active { background: var(--fbc-brand); border-color: var(--fbc-brand); color: #fff; }
.fbc-card.is-hidden { display: none; }

/* category cards */
.fbc-catcard { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 14px; background: linear-gradient(135deg, var(--fbc-soft), #fff); border: 1px solid var(--fbc-line); color: var(--fbc-text) !important; transition: all .2s; }
.fbc-catcard b { font-size: 1.05rem; }
.fbc-catcard span { color: var(--fbc-muted); font-size: .88rem; }
.fbc-catcard:hover { border-color: var(--fbc-brand); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 118, 110, .12); }

/* instructors */
.fbc-instructors { display: grid; gap: 18px; }
.fbc-instructor { display: flex; gap: 18px; align-items: flex-start; padding: 18px; border: 1px solid var(--fbc-line); border-radius: 14px; background: #fff; }
.fbc-photo { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 50%; object-fit: cover; }
.fbc-avatar-lg { display: inline-flex; align-items: center; justify-content: center; background: var(--fbc-brand); color: #fff; font-size: 1.8rem; font-weight: 700; }
.fbc-instructor h4 { margin: 0 0 2px; font-size: 1.1rem; }
.fbc-role { margin: 0 0 4px; color: var(--fbc-brand); font-weight: 600; }
.fbc-bio { margin: 8px 0 0; color: var(--fbc-text); }
@media (max-width: 520px) { .fbc-instructor { flex-direction: column; align-items: center; text-align: center; } }

/* promo video fallback (thumbnail link) */
.fbc-embed-link { display: block; position: relative; aspect-ratio: 16 / 9; background: #000; }
.fbc-embed-link img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.fbc-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--fbc-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; }

/* draft preview badge + the hint only editors see */
.fbc-tag-draft { background: #fef3c7; color: #92400e; }
.fbc-adminhint { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .9rem; }
.fbc-adminhint a { color: #92400e; text-decoration: underline; }

/* Standalone course pages: a complete full-width layout with its own navigation. */
body.fbc-template {
	margin: 0 !important; padding: 0 !important; width: 100%; max-width: none !important;
	background: #f7faf9; color: #183432;
}
.fbc-template .fbc-site { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; width: 100%; max-width: none; }
.fbc-template #fbc-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.fbc-container, .fbc-template .fbc-banner-inner, .fbc-template .fbc-single-body { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.fbc-site-header { background: #fff; border-bottom: 1px solid var(--fbc-line); }
.fbc-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 16px; }
.fbc-site-brand { font-size: 1.25rem; font-weight: 750; letter-spacing: -.03em; }
.fbc-site-brand a { color: #173e38; }
.fbc-site-brand .custom-logo { display: block; max-width: 200px; max-height: 56px; width: auto; height: auto; }
.fbc-site-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fbc-site-nav a { font-size: .92rem; font-weight: 600; color: #33574f; }
.fbc-site-nav .fbc-account-link { border: 1px solid var(--fbc-line); border-radius: 8px; padding: 9px 14px; }
.fbc-template .fbc-banner, .fbc-directoryhero {
	border-radius: 0; padding: 48px 0 54px; margin: 0;
	background: radial-gradient(ellipse at 95% 10%, rgba(37, 197, 156, .18), transparent 50%), linear-gradient(115deg, #123e36, #126f61);
	color: #fff;
}
.fbc-template .fbc-banner h1, .fbc-directoryhero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 750; letter-spacing: -.035em; max-width: 24ch; margin: 16px 0; }
.fbc-eyebrow { text-transform: uppercase; font-size: .76rem; letter-spacing: .13em; font-weight: 650; margin: 24px 0 10px; color: #9ce5d4; }
.fbc-template .fbc-single-body, .fbc-directorybody { padding-block: 38px 64px; }
.fbc-template .fbc-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
.fbc-template .fbc-main { min-width: 0; }
.fbc-template .fbc-panel { background: #fff; border: 1px solid var(--fbc-line); border-radius: 16px; padding: 28px; }
.fbc-template .fbc-tabs { gap: 12px; }
.fbc-template .fbc-side .fbc-card { border-radius: 18px; box-shadow: 0 12px 38px rgba(20, 60, 48, .09); }
.fbc-template .fbc-side .fbc-card-body { padding: 24px; }
.fbc-template.admin-bar .fbc-sticky { top: 56px; }
.fbc-template .fbc-related h2 { font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: 22px; color: #173e38; }
.fbc-course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fbc-course-tags a { border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); border-radius: 999px; color: #fff; font-size: .8rem; padding: 4px 12px; }
.fbc-course-tags a:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.fbc-search { display: flex; align-items: end; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--fbc-line); border-radius: 14px; }
.fbc-search label { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; flex: 1; }
.fbc-search .fbc-search-query { flex: 2; }
.fbc-search label span { font-size: .82rem; font-weight: 600; color: #33574f; }
.fbc-search input, .fbc-search select { font: inherit; font-size: .92rem; color: var(--fbc-text); border: 1px solid #d5e4df; background: #fff; border-radius: 8px; height: 48px; width: 100%; padding: 10px 12px; }
.fbc-search .fbc-btn { font: inherit; font-size: .92rem; min-height: 48px; white-space: nowrap; margin: 0; }
.fbc-results { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin: 24px 0 18px; color: var(--fbc-muted); font-size: .9rem; }
.fbc-results p { margin: 0; }
.fbc-results > div { display: flex; gap: 20px; }
.fbc-template .fbc-card { border-radius: 14px; }
.fbc-template .fbc-cards .fbc-card-body { padding: 22px; }
.fbc-template .fbc-title { font-size: 1.13rem; line-height: 1.4; }
.fbc-empty { text-align: center; padding: 56px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--fbc-line); }
.fbc-empty p { color: var(--fbc-muted); margin-bottom: 24px; }
.fbc-pagination { margin-top: 34px; }
.fbc-pagination ul { display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; flex-wrap: wrap; }
.fbc-pagination li { margin: 0; }
.fbc-pagination .page-numbers { display: block; border: 1px solid var(--fbc-line); background: #fff; border-radius: 8px; padding: 8px 14px; }
.fbc-pagination .current { background: var(--fbc-brand); border-color: var(--fbc-brand); color: #fff; }
.fbc-site-footer { background: #fff; border-top: 1px solid var(--fbc-line); padding: 26px 0; font-size: .87rem; }
.fbc-site-footer .fbc-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fbc-site-footer span { font-weight: 650; color: #33574f; }
.fbc-skip-link { position: absolute; top: -100px; left: 20px; background: #fff; border: 2px solid var(--fbc-brand); padding: 12px 18px; border-radius: 8px; z-index: 99999; }
.fbc-skip-link:focus { top: 12px; }
.fbc a:focus-visible, .fbc button:focus-visible, .fbc input:focus-visible, .fbc select:focus-visible, .fbc summary:focus-visible { outline: 3px solid #2dd4bf; outline-offset: 3px; }
@media (max-width: 1000px) {
	.fbc-header-inner { gap: 18px; }
	.fbc-site-nav { gap: 16px; }
	.fbc-template .fbc-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
	.fbc-search { flex-wrap: wrap; }
	.fbc-search .fbc-search-query { flex-basis: 100%; }
}
@media (max-width: 800px) {
	.fbc-container, .fbc-template .fbc-banner-inner, .fbc-template .fbc-single-body { width: calc(100% - 40px); }
	.fbc-header-inner { flex-direction: column; align-items: flex-start; min-height: 0; padding-block: 20px; }
	.fbc-site-nav { width: 100%; gap: 12px 18px; }
	.fbc-site-nav a { font-size: .86rem; }
	.fbc-template .fbc-banner, .fbc-directoryhero { padding-block: 32px 38px; }
	.fbc-template .fbc-layout { grid-template-columns: 1fr; }
	.fbc-template .fbc-side { order: -1; }
	.fbc-template .fbc-sticky { position: static; }
	.fbc-template .fbc-panel { padding: 22px; }
	.fbc-template .fbc-tabs { gap: 0; }
}
@media (max-width: 520px) {
	.fbc-container, .fbc-template .fbc-banner-inner, .fbc-template .fbc-single-body { width: calc(100% - 32px); }
	.fbc-search { padding: 18px; gap: 12px; }
	.fbc-search label, .fbc-search .fbc-search-query { flex: 1 1 100%; }
	.fbc-search .fbc-btn { width: 100%; }
	.fbc-template .fbc-panel { padding: 18px; }
	.fbc-site-nav .fbc-account-link { padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.fbc *, .fbc *::before, .fbc *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* My courses: access state of one course (the LMS decides) */
.fbc-state { display: inline-block; padding: 1px 9px; margin-right: 6px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.fbc-state-active { color: #166534; background: #dcfce7; }
.fbc-state-ended { color: #7f1d1d; background: #fee2e2; }
.fbc-state-wait { color: #854d0e; background: #fef9c3; }
.fbc-state-warn { color: #9a3412; background: #ffedd5; }

/* badges the LMS verified for a course or a teacher: text first, two at most */
.fbc-badges{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0;padding:0;list-style:none}
.fbc-badge{display:inline-flex;align-items:center;font-size:12px;font-weight:600;line-height:1;padding:5px 9px;border-radius:999px;border:1px solid #d6dbe4;background:#f6f8fb;color:#1b2434}
.fbc-badge--best_seller{background:#fff1e0;border-color:#f3c48a;color:#7a3f00}
.fbc-badge--popular{background:#e8f1ff;border-color:#a9c7f5;color:#12437a}
.fbc-badge--highly_rated{background:#fff8d9;border-color:#ecd677;color:#6b5400}
.fbc-badge--experienced_instructor{background:#e7f6ec;border-color:#9fd3b1;color:#0f5a2a}

/* Owner-requested public, finalized learner results supplied by the LMS. */
.fbc-result-courses{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;padding:0}
.fbc-result-courses a.is-selected{outline:2px solid var(--fbc-brand);outline-offset:3px}
.fbc-results-page{max-width:100%;min-width:0}
.fbc-scorecard h4{margin:24px 0 10px;color:var(--fbc-text)}
.fbc-score-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--fbc-line);border-radius:12px}
.fbc-score-table{width:100%;border-collapse:collapse;min-width:1050px;background:#fff;font-size:.85rem}
.fbc-score-table th,.fbc-score-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--fbc-line)}
.fbc-score-table thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:var(--fbc-muted);background:#f7faf9}
.fbc-score-table tbody tr:last-child th,.fbc-score-table tbody tr:last-child td{border-bottom:0}
.fbc-score-feed{list-style:none;margin:0;padding:0;border:1px solid var(--fbc-line);border-radius:12px;overflow:hidden;background:#fff}
.fbc-score-feed li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border-bottom:1px solid var(--fbc-line)}
.fbc-score-feed li:last-child{border-bottom:0}
.fbc-score-feed span{display:flex;flex-direction:column;min-width:0}
.fbc-score-feed small{color:var(--fbc-muted);white-space:normal}
.fbc-score-feed b{color:var(--fbc-brand);font-size:1.05rem;white-space:nowrap}
.fbc-score-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}
