/* BETS Learn v1.1 — public pages, matched to bets-global.com.
   Designed & developed by Muhammad Shoaib. */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--b-violet: #3d2c8d; --b-violet-d: #2a1e66; --b-violet-l: #f1eff9;
	--b-amber: #f5a524; --b-amber-d: #dc8f12; --b-green: #1e7b34; --b-wa: #1e8f4e;
	--b-ink: #222; --b-text: #555; --b-muted: #767676; --b-line: #e6e6ec; --b-grey: #f4f4f4;
	--b-font: "Roboto", Arial, Helvetica, sans-serif; --b-btn: "Lato", Arial, Helvetica, sans-serif;
	--b-focus: 0 0 0 3px rgba(245, 165, 36, .6);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--b-text); font: 400 15px/1.65 var(--b-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--b-violet); }
:focus-visible { outline: none; box-shadow: var(--b-focus); }
h1, h2, h3 { color: var(--b-ink); line-height: 1.2; margin: 0 0 .5em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.bl-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--b-amber); color: #1d1d1d; font-weight: 700; }
.bl-skip:focus { top: 12px; }
.bl-wrap { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.bl-center { text-align: center; margin: 32px 0 0; }
.bl-small { font-size: 13px; color: var(--b-muted); margin: 10px 0 0; }

/* Buttons */
.bl-btn, .bets-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 22px; border: 2px solid var(--b-violet); border-radius: 0; background: var(--b-violet); color: #fff !important; text-decoration: none; cursor: pointer; font: 700 13px/1.2 var(--b-btn); text-transform: uppercase; letter-spacing: .5px; transition: background-color .15s, border-color .15s; }
.bl-btn:hover, .bets-btn:hover { background: var(--b-violet-d); border-color: var(--b-violet-d); }
.bl-btn.is-amber { background: var(--b-amber); border-color: var(--b-amber); color: #1d1d1d !important; }
.bl-btn.is-amber:hover { background: var(--b-amber-d); border-color: var(--b-amber-d); }
.bl-btn.is-wa { background: var(--b-wa); border-color: var(--b-wa); }
.bl-btn.is-wa:hover { background: #17733e; border-color: #17733e; }
.bl-btn.is-outline { background: transparent; border-color: #fff; }
.bl-btn.is-outline:hover { background: rgba(255, 255, 255, .12); }
.bl-btn.is-line { background: transparent; color: var(--b-violet) !important; }
.bl-btn.is-line:hover { background: var(--b-violet-l); }
.bl-btn.is-lg { min-height: 50px; padding: 0 28px; font-size: 14px; }
.bl-btn.is-sm, .bets-btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.bl-btn.is-block { width: 100%; }
.bl-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.bl-topbar { background: var(--b-violet); color: #fff; font-size: 13px; }
.bl-topbar-in { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 0 16px; min-height: 40px; }
.bl-topbar-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding: 8px 0; }
.bl-topbar-contact a { color: #fff; text-decoration: none; }
.bl-topbar-actions { display: flex; }
.bl-top-btn { display: flex; align-items: center; padding: 0 16px; background: var(--b-violet-d); color: #fff; text-decoration: none; font: 700 12px var(--b-btn); text-transform: uppercase; letter-spacing: .5px; }
.bl-top-btn.is-amber { background: var(--b-amber); color: #1d1d1d; }
.bl-top-btn:hover { filter: brightness(1.08); }

/* Header */
.bl-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.bl-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.bl-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.bl-logo { width: 56px; height: 56px; object-fit: contain; }
.bl-brand-text { display: grid; line-height: 1.2; }
.bl-brand-text strong { color: var(--b-violet); font-size: 21px; font-weight: 900; letter-spacing: .3px; }
.bl-brand-text small { color: var(--b-muted); font-size: 11.5px; }
.bl-nav { align-self: stretch; display: flex; }
.bl-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.bl-menu li { display: flex; }
.bl-menu a { display: flex; align-items: center; padding: 0 13px; color: var(--b-ink); text-decoration: none; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.bl-menu a:hover { color: var(--b-violet); }
.bl-menu .current-menu-item a { color: var(--b-violet); box-shadow: inset 0 -3px 0 var(--b-amber); }
.bl-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--b-line); background: #fff; cursor: pointer; }
.bl-burger, .bl-burger::before, .bl-burger::after { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--b-violet); position: relative; }
.bl-burger::before, .bl-burger::after { content: ""; position: absolute; left: 0; }
.bl-burger::before { top: -7px; } .bl-burger::after { top: 7px; }

/* Hero */
.bl-hero { position: relative; min-height: 560px; display: flex; align-items: center; background: var(--b-violet-d); overflow: hidden; }
.bl-hero-slides { position: absolute; inset: 0; }
.bl-hero-slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.bl-hero-slide.is-on { opacity: 1; }
.bl-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 50, .55) 0%, rgba(20, 14, 50, .15) 70%); }
.bl-hero-in { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 72px; }
.bl-hero-card { max-width: 620px; padding: 40px; background: rgba(42, 30, 102, .9); border-left: 5px solid var(--b-amber); color: #e6e3f3; }
.bl-kicker { margin: 0 0 10px; color: var(--b-amber); font: 700 13px var(--b-btn); text-transform: uppercase; letter-spacing: 1px; }
.bl-hero-card h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 900; text-transform: uppercase; line-height: 1.12; }
.bl-hero-card > p { font-size: 16px; margin: 0 0 26px; }
.bl-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bl-hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; }
.bl-hero-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.bl-hero-dots button.is-on { background: var(--b-amber); border-color: var(--b-amber); }

/* Accreditation strip */
.bl-bodies { padding: 36px 0 42px; border-bottom: 1px solid #eee; text-align: center; }
.bl-overline { margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: #888; text-transform: uppercase; }
.bl-body-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bl-body-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 108px; height: 108px; padding: 8px; border: 2px dashed var(--b-violet); border-radius: 50%; }
.bl-body-list strong { color: var(--b-violet); font-size: 17px; font-weight: 900; }
.bl-body-list span { font-size: 9.5px; line-height: 1.2; color: var(--b-text); }

/* Sections */
.bl-section { padding: 64px 0; }
.bl-section.is-grey { background: var(--b-grey); }
.bl-section.is-tight { padding: 36px 20px 64px; }
.bl-title { margin: 0 0 36px; text-align: center; color: var(--b-violet); font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; text-transform: uppercase; }
.bl-title::after { content: ""; display: block; width: 150px; height: 3px; margin: 10px auto 0; background: var(--b-amber); }
.bl-title.is-left { text-align: left; font-size: 20px; margin-bottom: 20px; }
.bl-title.is-left::after { width: 72px; margin-left: 0; }

.bl-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--b-line); }
.bl-steps li { counter-increment: s; padding: 28px 24px; }
.bl-steps li + li { border-left: 1px solid var(--b-line); }
.bl-steps li::before { content: counter(s); display: block; margin-bottom: 8px; color: var(--b-violet); font-size: 32px; font-weight: 900; line-height: 1; }
.bl-steps li:last-child::before { color: var(--b-amber); }
.bl-steps h3 { font-size: 15px; text-transform: uppercase; }
.bl-steps p { margin: 0; font-size: 14px; }
.bl-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--b-line); border-top: 0; text-align: center; }
.bl-facts li { padding: 24px 12px; }
.bl-facts li + li { border-left: 1px solid var(--b-line); }
.bl-facts strong { display: block; color: var(--b-violet); font-size: 30px; font-weight: 900; }
.bl-facts span { font-size: 13px; }

.bl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bl-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--b-violet-l); }

.bl-cta { background: var(--b-violet); padding: 44px 0; }
.bl-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.bl-cta h2 { margin: 0 0 6px; color: #fff; font-size: 26px; font-weight: 900; text-transform: uppercase; }
.bl-cta p { margin: 0; color: #e3e0f3; }
.bl-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bands (archive, course, pages) */
.bl-band { background: var(--b-violet); color: #e3e0f3; }
.bl-band .bl-wrap { padding-top: 40px; padding-bottom: 40px; }
.bl-band h1 { margin: 0 0 6px; color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; text-transform: uppercase; }
.bl-band p { margin: 0; max-width: 70ch; }
.bl-band.is-course .bl-wrap { padding-bottom: 56px; }
.bl-band.is-course h1, .bl-band.is-course p { max-width: calc(100% - 400px); }
.bl-course-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 0 12px !important; font-weight: 700; font-size: 14px; }
.bl-tag { padding: 4px 12px; background: var(--b-amber); color: #1d1d1d; font: 700 12px var(--b-btn); text-transform: uppercase; }
.bl-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.bl-filter a { padding: 8px 16px; border: 1px solid var(--b-line); text-decoration: none; font: 700 12px var(--b-btn); text-transform: uppercase; }
.bl-filter a.is-current { background: var(--b-violet); border-color: var(--b-violet); color: #fff; }
.bl-prose { max-width: 820px; }

/* Single course */
.bl-course-grid { display: grid; grid-template-columns: 1fr 360px; gap: 44px; padding-bottom: 80px; }
.bl-course-main { padding-top: 40px; min-width: 0; }
.bl-course-side { margin-top: -220px; position: relative; z-index: 2; }
.bl-enrol { position: sticky; top: 104px; background: #fff; border: 1px solid var(--b-line); border-top: 4px solid var(--b-amber); box-shadow: 0 14px 40px rgba(42, 30, 102, .14); }
.bl-enrol-media { aspect-ratio: 16 / 9; background: var(--b-violet-l); display: grid; place-items: center; overflow: hidden; }
.bl-enrol-media img { width: 100%; height: 100%; object-fit: cover; }
.bl-enrol-media span { color: var(--b-violet); font-size: 22px; font-weight: 900; text-transform: uppercase; }
.bl-enrol-body { padding: 22px; }
.bl-enrol-body .bets-meter { margin-bottom: 4px; }
.bl-enrol-body .bets-meter-label { display: block; margin-bottom: 14px; font-size: 13px; }
.bl-enrol-facts { margin: 18px 0 0; }
.bl-enrol-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--b-line); font-size: 14px; }
.bl-enrol-facts dt { color: var(--b-muted); }
.bl-enrol-facts dd { margin: 0; font-weight: 700; color: var(--b-ink); text-align: right; }
.bl-block { margin-bottom: 40px; }
.bl-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; padding: 22px 24px; list-style: none; background: var(--b-grey); }
.bl-outcomes li { position: relative; padding-left: 28px; }
.bl-outcomes li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--b-green); border-radius: 50%; }
.bl-outcomes li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bl-curriculum { border: 1px solid var(--b-line); }
.bl-curriculum details + details { border-top: 1px solid var(--b-line); }
.bl-curriculum summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--b-violet-d); color: #fff; cursor: pointer; font-weight: 700; text-transform: uppercase; font-size: 14px; list-style: none; }
.bl-curriculum summary::-webkit-details-marker { display: none; }
.bl-curriculum summary small { margin-left: auto; color: var(--b-amber); font-weight: 700; text-transform: none; }
.bl-curriculum summary::after { content: "+"; font-size: 20px; line-height: 1; }
.bl-curriculum details[open] summary::after { content: "–"; }
.bl-curriculum ol { margin: 0; padding: 0; list-style: none; }
.bl-curriculum li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px 11px 44px; border-top: 1px solid #efeff3; font-size: 14px; position: relative; }
.bl-curriculum li::before { content: ""; position: absolute; left: 18px; top: 15px; width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid var(--b-violet); }
.bl-curriculum li.is-quiz::before { width: 12px; height: 12px; border: 2px solid var(--b-amber); left: 17px; top: 14px; }
.bl-curriculum li em { margin-left: 8px; padding: 1px 8px; background: #fff3da; color: #7a5200; font-style: normal; font-size: 12px; font-weight: 700; }
.bl-curriculum li small { color: var(--b-muted); white-space: nowrap; }

/* Course cards from the plugin, when its CSS is not loaded */
.bets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }

/* Footer */
.bl-footer { background: var(--b-violet-d); color: #cfcbe6; font-size: 14px; }
.bl-footer a { color: #fff; text-decoration: none; }
.bl-footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.bl-foot-title { display: block; margin-bottom: 12px; color: var(--b-amber); font: 700 13px var(--b-btn); text-transform: uppercase; letter-spacing: .5px; }
.bl-foot-title.is-brand { color: #fff; font: 900 19px var(--b-font); }
.bl-footer p { margin: 0 0 10px; }
.bl-foot-links { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 7px; }
.bl-footer-base { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.bl-footer-base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; padding-bottom: 16px; }
.bets-credit strong { color: var(--b-amber); }
.bl-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 11px 18px 11px 16px; border-radius: 99px; background: #25d366; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.bl-wa-float::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; }

@media (max-width: 1024px) {
	.bl-course-grid { grid-template-columns: 1fr; gap: 0; }
	.bl-band.is-course h1, .bl-band.is-course p { max-width: none; }
	.bl-course-side { margin-top: 28px; order: -1; }
	.bl-enrol { position: static; box-shadow: none; }
	.bl-steps, .bl-facts { grid-template-columns: 1fr 1fr; }
	.bl-steps li:nth-child(3), .bl-facts li:nth-child(3) { border-left: 0; }
	.bl-steps li:nth-child(n+3), .bl-facts li:nth-child(n+3) { border-top: 1px solid var(--b-line); }
	.bl-footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.bl-menu-toggle { display: block; }
	.bl-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--b-line); box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
	.bl-nav.is-open { display: block; }
	.bl-menu { flex-direction: column; }
	.bl-menu a { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; }
	.bl-menu .current-menu-item a { box-shadow: inset 4px 0 0 var(--b-amber); }
	.bl-header { position: relative; }
	.bl-hide-sm { display: none; }
}
@media (max-width: 640px) {
	.bl-wrap { padding: 0 16px; }
	.bl-topbar-contact { font-size: 12px; gap: 2px 14px; }
	.bl-topbar-actions { width: calc(100% + 32px); margin: 0 -16px; }
	.bl-top-btn { flex: 1; justify-content: center; min-height: 38px; }
	.bl-header-in { min-height: 70px; }
	.bl-logo { width: 46px; height: 46px; }
	.bl-brand-text strong { font-size: 18px; }
	.bl-brand-text small { font-size: 10px; max-width: 26ch; }
	.bl-hero { min-height: 0; }
	.bl-hero-in { padding: 36px 16px 56px; }
	.bl-hero-card { padding: 26px 22px; }
	.bl-hero-cta .bl-btn { flex: 1 1 100%; }
	.bl-body-list { gap: 12px; }
	.bl-body-list li { width: 92px; height: 92px; }
	.bl-body-list strong { font-size: 14px; }
	.bl-section { padding: 44px 0; }
	.bl-steps, .bl-facts, .bl-outcomes { grid-template-columns: 1fr; }
	.bl-steps li + li, .bl-facts li + li { border-left: 0; border-top: 1px solid var(--b-line); }
	.bl-gallery { grid-template-columns: 1fr 1fr; }
	.bl-footer-in { grid-template-columns: 1fr; gap: 28px; }
	.bl-footer-base-in { flex-direction: column; }
	.bl-wa-float span { display: none; }
	.bl-wa-float { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
