:root {
	--cga-primary: #15283d;
	--cga-accent: #d7ad63;
	--cga-primary-surface: #15283d;
	--cga-accent-surface: #d7ad63;
	--cga-action-surface: #695531;
	--cga-on-action: #fff;
	--cga-state-done: #0b5d35;
	--cga-state-current: #7a4800;
	--cga-state-todo: #8f2222;
	--cga-on-state: #fff;
	--cga-bg: #f4f1ea;
	--cga-course-page-bg: #f4f1ea;
	--cga-lesson-page-bg: #fff;
	--cga-course-text: #1e2935;
	--cga-course-heading: #15283d;
	--cga-text: #1e2935;
	--cga-on-primary: #fff;
	--cga-mobile-header-bg: var(--cga-primary);
	--cga-mobile-header-ink: #fff;
	--cga-mobile-header-font-size: 16px;
	--cga-mobile-logo-width: 190px;
	--cga-on-accent: #15283d;
	--cga-heading: #15283d;
	--cga-accent-text: #614e2d;
	--cga-accent-on-media: #f1cf8b;
	--cga-accent-on-primary: #fff;
	--cga-on-media: #fff;
	--cga-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
	--cga-heading-font: Georgia, "Times New Roman", serif;
	--cga-bg-overlay: rgba(244,241,234,.94);
	--cga-logo-width: 190px;
	--cga-portal-bg-image: none;
	--cga-login-bg-image: none;
	--cga-welcome-bg-image: none;
	--cga-sidebar-bg-image: none;
	--cga-welcome-overlay: rgba(16,38,58,.84);
	--cga-sidebar-overlay: rgba(7,18,30,.9);
	--cga-course-bg-image: none;
	--cga-card-bg-image: none;
	--cga-radius: 18px;
	--cga-white: #fff;
	--cga-muted: #47525e;
	--cga-line: rgba(20, 40, 60, .12);
	--cga-shadow: 0 20px 55px rgba(18, 36, 55, .1);
	--cga-sidebar: 286px;
	--cga-header: 86px;
}

body.cga-portal-page,
body.cga-portal-page .cga-app {
	background: var(--cga-bg);
	color: var(--cga-text);
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
}

body.cga-portal-page {
	-webkit-font-smoothing: antialiased;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
	overflow-x: hidden;
}

.cga-app,
.cga-app *,
.cga-app *::before,
.cga-app *::after {
	box-sizing: border-box;
}

.cga-app button,
.cga-app input {
	font: inherit;
}

.cga-app a {
	color: inherit;
}

.cga-brand {
	align-items: center;
	display: inline-flex;
	gap: 11px;
	max-width: 190px;
	text-decoration: none;
}

.cga-brand__logo {
	display: block;
	height: 42px;
	max-width: 180px;
	object-fit: contain;
	object-position: left center;
	width: auto;
}

.cga-brand__mark {
	align-items: center;
	background: var(--cga-accent);
	border-radius: 11px;
	color: var(--cga-primary);
	display: flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.cga-brand strong {
	color: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	letter-spacing: -.01em;
}

.cga-eyebrow {
	color: var(--cga-accent);
	display: block;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.cga-button {
	align-items: center;
	border: 0;
	border-radius: calc(var(--cga-radius) * .62);
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 11px 17px;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cga-button:hover {
	transform: translateY(-1px);
}

.cga-button:disabled {
	cursor: not-allowed;
	opacity: .58;
	transform: none;
}

.cga-button--primary {
	background: var(--cga-primary);
	box-shadow: 0 8px 20px rgba(21, 40, 61, .16);
	color: #fff !important;
}

.cga-button--primary:hover {
	box-shadow: 0 12px 25px rgba(21, 40, 61, .24);
}

.cga-button--large {
	font-size: 14px;
	min-height: 50px;
	padding: 14px 21px;
}

.cga-button--ghost {
	background: #fff;
	border: 1px solid var(--cga-line);
	color: var(--cga-primary);
}

.cga-button--light {
	background: #fff;
	color: var(--cga-primary);
}

.cga-button--complete {
	background: var(--cga-action-surface);
	box-shadow: 0 8px 22px rgba(200,154,75,.25);
	color: var(--cga-on-action);
}

.cga-login {
	display: grid;
	grid-template-columns: minmax(420px, 1.1fr) minmax(410px, .9fr);
	min-height: 100vh;
	min-height: 100dvh;
}

.cga-login__visual {
	background:
		linear-gradient(180deg, rgba(10,24,39,.08), rgba(10,24,39,.65)),
		radial-gradient(circle at 65% 32%, rgba(215,173,99,.42), transparent 20%),
		linear-gradient(135deg, #1c3d55, #0e1f31 65%, #0a1724);
	overflow: hidden;
	position: relative;
}

.cga-login__visual::before,
.cga-login__visual::after {
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 50%;
	content: "";
	position: absolute;
}

.cga-login__visual::before {
	height: 64vw;
	left: -32vw;
	top: -10vw;
	width: 64vw;
}

.cga-login__visual::after {
	bottom: -24vw;
	height: 55vw;
	right: -23vw;
	width: 55vw;
}

.cga-login__orb {
	background: var(--cga-accent);
	border-radius: 50%;
	box-shadow: 0 0 90px rgba(215,173,99,.28);
	height: 12px;
	left: 15%;
	position: absolute;
	top: 17%;
	width: 12px;
}

.cga-login__quote {
	bottom: 10%;
	color: #fff;
	display: flex;
	flex-direction: column;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(44px, 6.1vw, 92px);
	font-weight: 400;
	left: 10%;
	letter-spacing: -.045em;
	line-height: .92;
	position: absolute;
	z-index: 1;
}

.cga-login__quote span:nth-child(2) {
	color: var(--cga-accent);
	font-style: italic;
	padding-left: 12%;
}

.cga-login__panel {
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(36px, 5vw, 78px);
}

.cga-login__copy {
	margin: auto 0;
	max-width: 510px;
}

.cga-login__copy h1 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(38px, 4.1vw, 62px);
	font-weight: 400;
	letter-spacing: -.045em;
	line-height: 1.02;
	margin: 13px 0 20px;
}

.cga-login__copy p {
	color: var(--cga-muted);
	font-size: 16px;
	line-height: 1.75;
	margin: 0 0 30px;
}

.cga-login__copy > small {
	color: #8a949e;
	display: block;
	margin-top: 13px;
}

.cga-two-factor__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.cga-two-factor__top > a {
	color: var(--cga-muted);
	font-size: 11px;
	text-decoration: none;
}

.cga-two-factor__copy strong {
	color: var(--cga-primary);
}

.cga-two-factor__form {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.cga-two-factor__form label {
	color: var(--cga-primary);
	font-size: 11px;
	font-weight: 750;
}

.cga-two-factor__form input[type="text"] {
	background: #f8f7f3;
	border: 1px solid var(--cga-line);
	border-radius: calc(var(--cga-radius) * .65);
	color: var(--cga-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: .3em;
	min-height: 58px;
	outline: 0;
	padding: 10px 15px 10px 24px;
	text-align: center;
	width: 100%;
}

.cga-two-factor__form input[type="text"]:focus {
	border-color: var(--cga-accent);
	box-shadow: 0 0 0 3px rgba(215,173,99,.18);
}

.cga-two-factor__message {
	border-radius: 9px;
	font-size: 11px;
	line-height: 1.5;
	margin: 14px 0;
	padding: 10px 12px;
}

.cga-two-factor__message.is-error {
	background: #fff0f0;
	color: #9b3030;
}

.cga-two-factor__message.is-success {
	background: #e7f5ec;
	color: #207142;
}

.cga-two-factor__resend {
	font-size: 10px !important;
	margin: 15px 0 0 !important;
	text-align: center;
}

.cga-two-factor__resend a {
	color: var(--cga-primary);
	font-weight: 700;
}

.cga-dashboard {
	display: grid;
	grid-template-columns: var(--cga-sidebar) minmax(0, 1fr);
	min-height: 100vh;
	min-height: 100dvh;
}

.cga-sidebar {
	background: var(--cga-primary);
	color: #fff;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 32px 22px 22px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.cga-sidebar__brand {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 0 8px 33px;
}

.cga-sidebar__close {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: none;
	font-size: 28px;
}

.cga-nav {
	display: grid;
	gap: 7px;
}

.cga-nav a {
	align-items: center;
	border-radius: calc(var(--cga-radius) * .6);
	color: rgba(255,255,255,.64);
	display: flex;
	font-size: 13px;
	font-weight: 650;
	gap: 13px;
	padding: 13px 14px;
	position: relative;
	text-decoration: none;
	transition: color .2s ease, background .2s ease;
}

.cga-nav a::after {
	background: var(--cga-accent);
	border-radius: 4px 0 0 4px;
	content: "";
	height: 25px;
	opacity: 0;
	position: absolute;
	right: -22px;
	width: 3px;
}

.cga-nav a:hover {
	background: rgba(255,255,255,.06);
	color: #fff;
}

.cga-nav a.is-active {
	background: rgba(255,255,255,.1);
	color: #fff;
}

.cga-nav a.is-active::after {
	opacity: 1;
}

.cga-nav .dashicons {
	color: var(--cga-accent);
	font-size: 19px;
}

.cga-sidebar__site-link {
	align-items: center;
	background: var(--cga-accent-surface, var(--cga-accent));
	border: 2px solid transparent;
	border-radius: calc(var(--cga-radius) * .6);
	color: var(--cga-on-accent, #13283c);
	display: flex;
	font-size: 13px;
	font-weight: 750;
	gap: 12px;
	justify-content: center;
	margin-top: 20px;
	min-height: 46px;
	padding: 10px 14px;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}

.cga-sidebar__site-link:hover {
	color: var(--cga-on-accent, #13283c);
	box-shadow: 0 8px 20px rgba(0,0,0,.2);
	transform: translateY(-1px);
}

.cga-sidebar__site-link:focus-visible {
	color: var(--cga-on-accent, #13283c);
	outline: 3px solid var(--cga-on-accent, #13283c);
	outline-offset: 3px;
}

.cga-sidebar__site-link .dashicons {
	color: currentColor !important;
	font-size: 19px;
}

.cga-sidebar__footer {
	border-top: 1px solid rgba(255,255,255,.1);
	margin-top: auto;
	padding: 20px 5px 0;
}

.cga-sidebar__footer > a {
	color: rgba(255,255,255,.48);
	display: inline-block;
	font-size: 11px;
	margin: 15px 0 0 50px;
	text-decoration: none;
}

.cga-user-mini {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.cga-avatar {
	border: 2px solid rgba(255,255,255,.14);
	border-radius: 50%;
	display: block;
	height: 40px;
	object-fit: cover;
	width: 40px;
}

.cga-user-mini div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cga-user-mini strong {
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cga-user-mini span {
	color: var(--cga-accent);
	font-size: 10px;
	margin-top: 2px;
}

.cga-sidebar-backdrop,
.cga-toc-backdrop {
	background: rgba(6,18,30,.58);
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity .25s ease;
	z-index: 40;
}

.cga-dashboard__main {
	min-width: 0;
	padding: clamp(32px, 4vw, 64px);
}

.cga-mobile-header {
	display: none;
}

.cga-dashboard-section {
	margin: 0 auto;
	max-width: 1320px;
}

.cga-welcome {
	align-items: center;
	background:
		radial-gradient(circle at 86% 18%, rgba(215,173,99,.34), transparent 23%),
		linear-gradient(130deg, var(--cga-primary), #24435e);
	border-radius: calc(var(--cga-radius) * 1.15);
	box-shadow: var(--cga-shadow);
	color: #fff;
	display: flex;
	justify-content: space-between;
	margin-bottom: 46px;
	overflow: hidden;
	padding: clamp(29px, 4vw, 50px);
	position: relative;
}

.cga-welcome::after {
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 50%;
	content: "";
	height: 270px;
	position: absolute;
	right: -82px;
	top: -130px;
	width: 270px;
}

.cga-welcome h1,
.cga-page-title h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 3.5vw, 52px);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.08;
	margin: 9px 0 10px;
}

.cga-welcome p {
	color: rgba(255,255,255,.68);
	margin: 0;
}

.cga-welcome__stat {
	align-items: center;
	border-left: 1px solid rgba(255,255,255,.16);
	display: flex;
	flex-direction: column;
	min-width: 150px;
	padding-left: 35px;
	position: relative;
	z-index: 1;
}

.cga-welcome__stat strong {
	color: var(--cga-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 46px;
	font-weight: 400;
	line-height: 1;
}

.cga-welcome__stat span {
	color: rgba(255,255,255,.64);
	font-size: 11px;
	margin-top: 6px;
}

.cga-section-heading {
	align-items: flex-end;
	display: flex;
	justify-content: space-between;
	margin: 0 0 20px;
}

.cga-section-heading h2 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 31px;
	font-weight: 400;
	letter-spacing: -.025em;
	margin: 5px 0 0;
}

.cga-section-heading > p {
	color: var(--cga-muted);
	font-size: 12px;
	margin: 0;
}

.cga-section-heading--catalog {
	border-top: 1px solid var(--cga-line);
	margin-top: 54px;
	padding-top: 42px;
}

.cga-course-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cga-course-card {
	background: #fff;
	border: 1px solid rgba(21,40,61,.08);
	border-radius: var(--cga-radius);
	box-shadow: 0 12px 35px rgba(18,36,55,.065);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

.cga-course-card:hover {
	box-shadow: 0 20px 45px rgba(18,36,55,.12);
	transform: translateY(-3px);
}

.cga-course-card__image {
	background:
		linear-gradient(135deg, rgba(215,173,99,.5), transparent 55%),
		linear-gradient(145deg, #2a5068, #12283c);
	background-position: center;
	background-size: cover;
	min-height: 205px;
	position: relative;
}

.cga-course-card.is-locked .cga-course-card__image::after {
	background: rgba(9,21,34,.5);
	content: "";
	inset: 0;
	position: absolute;
}

.cga-pill {
	background: var(--cga-accent);
	border-radius: 100px;
	color: var(--cga-primary);
	font-size: 9px;
	font-weight: 800;
	left: 15px;
	letter-spacing: .08em;
	padding: 6px 9px;
	position: absolute;
	text-transform: uppercase;
	top: 15px;
	z-index: 2;
}

.cga-lock {
	align-items: center;
	background: rgba(255,255,255,.9);
	border-radius: 50%;
	color: var(--cga-primary);
	display: flex;
	height: 47px;
	justify-content: center;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 47px;
	z-index: 2;
}

.cga-course-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 23px;
}

.cga-course-card__meta {
	color: var(--cga-accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.cga-course-card h3 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 8px 0 9px;
}

.cga-course-card__body > p {
	color: var(--cga-muted);
	display: -webkit-box;
	font-size: 12px;
	line-height: 1.62;
	margin: 0 0 20px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.cga-card-progress {
	margin-top: auto;
}

.cga-card-progress > div {
	background: #e9e7e1;
	border-radius: 10px;
	height: 4px;
	overflow: hidden;
}

.cga-card-progress > div span {
	background: var(--cga-accent);
	border-radius: inherit;
	display: block;
	height: 100%;
}

.cga-card-progress small {
	color: #798590;
	display: block;
	font-size: 10px;
	margin: 7px 0 15px;
}

.cga-course-card .cga-button {
	align-self: stretch;
}

.cga-card-purchase {
	align-items: center;
	border-top: 1px solid var(--cga-line);
	display: flex;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 15px;
}

.cga-card-purchase strong {
	color: var(--cga-primary);
	font-size: 17px;
}

.cga-card-purchase > span {
	color: var(--cga-muted);
	font-size: 11px;
}

.cga-empty {
	align-items: center;
	background: rgba(255,255,255,.55);
	border: 1px dashed rgba(21,40,61,.2);
	border-radius: var(--cga-radius);
	display: flex;
	flex-direction: column;
	grid-column: 1 / -1;
	justify-content: center;
	min-height: 270px;
	padding: 35px;
	text-align: center;
}

.cga-empty > .dashicons {
	color: var(--cga-accent);
	font-size: 40px;
	height: 40px;
	width: 40px;
}

.cga-empty h3 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	font-weight: 400;
	margin: 14px 0 7px;
}

.cga-empty p {
	color: var(--cga-muted);
	margin: 0;
}

.cga-page-title {
	border-bottom: 1px solid var(--cga-line);
	margin-bottom: 34px;
	padding-bottom: 28px;
}

.cga-page-title h1 {
	color: var(--cga-primary);
	margin-bottom: 8px;
}

.cga-page-title p {
	color: var(--cga-muted);
	margin: 0;
}

.cga-progress-list {
	display: grid;
	gap: 15px;
}

.cga-progress-row {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(21,40,61,.08);
	border-radius: var(--cga-radius);
	display: grid;
	gap: 23px;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	padding: 12px;
}

.cga-progress-row__thumb {
	background: linear-gradient(135deg, #31536c, #142b3f);
	background-position: center;
	background-size: cover;
	border-radius: calc(var(--cga-radius) * .7);
	height: 105px;
}

.cga-progress-row__main > div:first-child > span {
	color: var(--cga-accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cga-progress-row h2,
.cga-certificate-card h2 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 400;
	margin: 4px 0 12px;
}

.cga-progress-row__bar {
	align-items: center;
	display: grid;
	gap: 13px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.cga-progress-row__bar > div {
	background: #ece9e2;
	border-radius: 10px;
	height: 5px;
	overflow: hidden;
}

.cga-progress-row__bar span {
	background: var(--cga-accent);
	display: block;
	height: 100%;
}

.cga-progress-row__bar strong {
	color: var(--cga-primary);
	font-size: 12px;
}

.cga-progress-row__main > small {
	color: #929ba3;
	display: block;
	font-size: 9px;
	margin-top: 7px;
}

.cga-chapter-progress {
	background: #f8f7f3;
	border: 1px solid #e7e3d9;
	border-radius: 12px;
	margin-top: 15px;
	padding: 13px;
}

.cga-chapter-progress__summary {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

.cga-chapter-progress__summary > strong {
	color: var(--cga-heading);
	font-size: 11px;
}

.cga-chapter-progress__summary > span {
	align-items: center;
	color: var(--cga-muted);
	display: flex;
	font-size: 9px;
	gap: 5px;
}

.cga-chapter-progress__summary i {
	border-radius: 50%;
	display: inline-block;
	height: 8px;
	margin-left: 6px;
	width: 8px;
}

.cga-chapter-progress__summary i:first-child {
	margin-left: 0;
}

.cga-chapter-progress__summary .is-done,
.cga-chapter-progress li.is-done .cga-chapter-progress__dot {
	background: var(--cga-state-done);
}

.cga-chapter-progress__summary .is-current,
.cga-chapter-progress li.is-current .cga-chapter-progress__dot {
	background: var(--cga-state-current);
}

.cga-chapter-progress__summary .is-todo,
.cga-chapter-progress li.is-todo .cga-chapter-progress__dot {
	background: var(--cga-state-todo);
}

.cga-chapter-progress__scroller {
	overflow-x: auto;
	padding: 3px 0 7px;
	scrollbar-color: var(--cga-accent) #e8e5dd;
	scrollbar-width: thin;
}

.cga-chapter-progress ol {
	display: flex;
	list-style: none;
	margin: 0;
	min-width: max-content;
	padding: 0;
	position: relative;
}

.cga-chapter-progress ol::before {
	background: #d9d5ca;
	content: "";
	height: 3px;
	left: 22px;
	position: absolute;
	right: 22px;
	top: 15px;
}

.cga-chapter-progress ol::after {
	background: var(--cga-state-done);
	content: "";
	height: 3px;
	left: 22px;
	max-width: calc(100% - 44px);
	position: absolute;
	top: 15px;
	width: var(--cga-course-progress);
}

.cga-chapter-progress li {
	align-items: center;
	display: flex;
	flex: 0 0 145px;
	flex-direction: column;
	min-width: 0;
	padding: 0 8px;
	position: relative;
	text-align: center;
	z-index: 1;
}

.cga-chapter-progress__dot {
	align-items: center;
	border: 3px solid #f8f7f3;
	border-radius: 50%;
	color: var(--cga-on-state);
	display: flex;
	font-size: 9px;
	font-style: normal;
	font-weight: 800;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.cga-chapter-progress li > strong {
	color: var(--cga-heading);
	font-size: 10px;
	line-height: 1.25;
	margin-top: 7px;
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cga-chapter-progress li > small {
	color: var(--cga-muted);
	font-size: 8px;
	margin-top: 2px;
}

.cga-icon-button {
	align-items: center;
	background: var(--cga-primary);
	border-radius: 50%;
	color: #fff !important;
	display: flex;
	height: 40px;
	justify-content: center;
	margin-right: 13px;
	text-decoration: none;
	width: 40px;
}

.cga-certificate-grid {
	display: grid;
	gap: 18px;
}

.cga-certificate-card {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(21,40,61,.08);
	border-radius: var(--cga-radius);
	display: grid;
	gap: 21px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 24px;
}

.cga-certificate-card__icon {
	align-items: center;
	background: rgba(215,173,99,.16);
	border-radius: 50%;
	color: var(--cga-accent);
	display: flex;
	height: 62px;
	justify-content: center;
	width: 62px;
}

.cga-certificate-card__icon .dashicons {
	font-size: 30px;
	height: 30px;
	width: 30px;
}

.cga-certificate-card h2 {
	margin: 7px 0 4px;
}

.cga-certificate-card p,
.cga-certificate-card small {
	color: var(--cga-muted);
	font-size: 11px;
	margin: 0;
}

.cga-waiting {
	color: var(--cga-muted);
	font-size: 11px;
	max-width: 150px;
	text-align: right;
}

.cga-status {
	border-radius: 100px;
	display: inline-flex;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .08em;
	padding: 5px 8px;
	text-transform: uppercase;
}

.cga-status--pending {
	background: #fff2d8;
	color: #704100;
}

.cga-status--ready {
	background: #def4e6;
	color: #075a32;
}

.cga-course-player {
	background-color: var(--cga-course-page-bg);
	min-height: 100vh;
	min-height: 100dvh;
	padding-top: var(--cga-header);
}

.cga-course-player [hidden] {
	display: none !important;
}

.cga-course-header {
	align-items: center;
	background: var(--cga-primary);
	color: #fff;
	display: flex;
	height: var(--cga-header);
	justify-content: space-between;
	left: 0;
	padding: 0 26px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100;
}

.cga-course-header__left {
	align-items: center;
	display: flex;
	gap: 15px;
	min-width: 0;
}

.cga-course-header__left > strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cga-course-menu-button {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: none;
}

.cga-chapters-tab {
	display: none;
}

.cga-course-back {
	align-items: center;
	color: rgba(255,255,255,.65) !important;
	display: inline-flex;
	font-size: 11px;
	gap: 7px;
	text-decoration: none;
	white-space: nowrap;
}

.cga-course-header__divider {
	background: rgba(255,255,255,.16);
	height: 27px;
	width: 1px;
}

.cga-course-header__progress {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 220px;
}

.cga-course-header__progress > div {
	background: rgba(255,255,255,.13);
	border-radius: 10px;
	flex: 1;
	height: 4px;
	overflow: hidden;
}

.cga-course-header__progress > div span {
	background: var(--cga-accent);
	display: block;
	height: 100%;
	transition: width .3s ease;
}

.cga-course-header__progress small {
	color: rgba(255,255,255,.62);
	font-size: 9px;
	white-space: nowrap;
}

.cga-course-header__progress strong {
	color: #fff;
}

.cga-toc {
	background: #fff;
	border-right: 1px solid var(--cga-line);
	bottom: 0;
	display: flex;
	flex-direction: column;
	left: 0;
	overflow: hidden;
	position: fixed;
	top: var(--cga-header);
	width: var(--cga-sidebar);
	z-index: 45;
}

.cga-toc__heading {
	align-items: flex-start;
	border-bottom: 1px solid var(--cga-line);
	display: flex;
	justify-content: space-between;
	padding: 25px 23px 20px;
}

.cga-toc__resize {
	display: none;
}

.cga-toc__heading h2 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 400;
	margin: 5px 0 0;
}

.cga-toc__heading button {
	background: transparent;
	border: 0;
	color: var(--cga-primary);
	cursor: pointer;
	display: none;
	font-size: 26px;
}

.cga-toc nav {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
	-webkit-overflow-scrolling: touch;
}

.cga-toc__group {
	margin-bottom: 3px;
}

.cga-toc nav button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: calc(var(--cga-radius) * .6);
	color: var(--cga-text);
	cursor: pointer;
	display: grid;
	gap: 11px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 11px;
	text-align: left;
	width: 100%;
}

.cga-toc__subitems {
	display: grid;
	gap: 1px;
	margin: 2px 0 8px 42px;
}

.cga-toc__subitems button {
	border-left: 1px solid var(--cga-line) !important;
	border-radius: 0 !important;
	color: var(--cga-muted) !important;
	display: block !important;
	font-size: 9px !important;
	line-height: 1.3;
	padding: 6px 10px !important;
}

.cga-toc__subitems button:hover {
	background: transparent !important;
	border-left-color: var(--cga-accent) !important;
	color: var(--cga-primary) !important;
}

.cga-toc nav button:hover {
	background: #f4f2ec;
}

.cga-toc nav button.is-active {
	background: var(--cga-primary);
	color: #fff;
}

.cga-toc__number {
	align-items: center;
	background: #f0ede5;
	border-radius: 50%;
	color: var(--cga-primary);
	display: flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	height: 31px;
	justify-content: center;
	width: 31px;
}

.cga-toc button.is-active .cga-toc__number {
	background: var(--cga-action-surface);
	color: var(--cga-on-action);
}

.cga-toc nav button > span:nth-child(2) {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cga-toc nav small {
	color: var(--cga-accent);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cga-toc nav strong {
	font-size: 11px;
	line-height: 1.35;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cga-toc__check {
	align-items: center;
	background: var(--cga-state-todo);
	border: 2px solid rgba(255,255,255,.8);
	border-radius: 50%;
	color: var(--cga-on-state);
	display: flex;
	font-size: 9px;
	height: 19px;
	justify-content: center;
	width: 19px;
}

.cga-toc button.is-status-done .cga-toc__check {
	background: var(--cga-state-done);
}

.cga-toc button.is-status-current .cga-toc__check {
	background: var(--cga-state-current);
}

.cga-toc button.is-active .cga-toc__check {
	border-color: rgba(255,255,255,.9);
}

.cga-toc__footer {
	border-top: 1px solid var(--cga-line);
	color: var(--cga-muted);
	font-size: 9px;
	padding: 12px 20px;
	text-align: center;
}

.cga-toc__footer p {
	margin: 0;
}

.cga-lesson {
	background-color: var(--cga-course-page-bg);
	margin-left: var(--cga-sidebar);
	min-height: calc(100vh - var(--cga-header));
	min-height: calc(100dvh - var(--cga-header));
	padding-bottom: 80px;
}

.cga-lesson__stage {
	margin: 0 auto;
	max-width: 1040px;
	padding: clamp(35px, 5vw, 70px) clamp(24px, 5vw, 70px) 45px;
}

.cga-lesson-page {
	display: none;
}

.cga-lesson-page.is-active {
	animation: cga-page-in .32s ease both;
	display: block;
}

@keyframes cga-page-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.cga-lesson-page__meta {
	align-items: center;
	border-bottom: 1px solid var(--cga-line);
	color: var(--cga-muted);
	display: flex;
	font-size: 9px;
	font-weight: 700;
	justify-content: space-between;
	letter-spacing: .08em;
	margin-bottom: 35px;
	padding-bottom: 12px;
	text-transform: uppercase;
}

.cga-lesson-page__meta span:first-child {
	color: var(--cga-accent);
}

.cga-prose {
	color: var(--cga-course-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.83;
	overflow-wrap: anywhere;
}

.cga-prose > *:first-child {
	margin-top: 0;
}

.cga-prose > *:last-child {
	margin-bottom: 0;
}

.cga-prose h1,
.cga-prose h2,
.cga-prose h3,
.cga-prose h4 {
	color: var(--cga-course-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	letter-spacing: -.03em;
	line-height: 1.16;
}

.cga-prose .cga-toc-title {
	scroll-margin-top: calc(var(--cga-header) + 24px);
}

.cga-prose h1 {
	font-size: clamp(38px, 5vw, 62px);
	margin: 0 0 25px;
}

.cga-prose h2 {
	font-size: clamp(31px, 4vw, 47px);
	margin: 45px 0 20px;
}

.cga-prose h3 {
	font-size: 28px;
	margin: 36px 0 15px;
}

.cga-prose p {
	margin: 0 0 24px;
}

.cga-prose a {
	color: #205d85;
	text-decoration-color: var(--cga-accent);
	text-underline-offset: 3px;
}

.cga-prose img,
.cga-prose video {
	border-radius: var(--cga-radius);
	height: auto;
	max-width: 100%;
}

.cga-prose figure {
	margin: 35px 0;
	max-width: 100%;
}

.cga-prose figcaption {
	color: var(--cga-muted);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 10px;
	margin-top: 8px;
	text-align: center;
}

.cga-prose blockquote {
	border-left: 3px solid var(--cga-accent);
	color: var(--cga-primary);
	font-size: 21px;
	font-style: italic;
	margin: 35px 0;
	padding: 5px 0 5px 25px;
}

.cga-prose ul,
.cga-prose ol {
	margin: 0 0 26px;
	padding-left: 25px;
}

.cga-prose li {
	margin-bottom: 8px;
	padding-left: 5px;
}

.cga-prose .wp-block-button__link {
	background: var(--cga-primary);
	border-radius: calc(var(--cga-radius) * .62);
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 700;
	padding: 12px 18px;
	text-decoration: none;
}

.cga-video {
	aspect-ratio: var(--cga-video-ratio, 16 / 9);
	background:
		radial-gradient(circle at 50% 35%, rgba(215,173,99,.17), transparent 26%),
		linear-gradient(145deg, #18354d, #091827);
	border-radius: var(--cga-radius);
	box-shadow: 0 18px 45px rgba(15,30,45,.18);
	box-sizing: border-box;
	margin: 35px 0;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	width: var(--cga-video-width, 100%);
}

.cga-video--left {
	margin-left: 0;
	margin-right: auto;
}

.cga-video--center {
	margin-left: auto;
	margin-right: auto;
}

.cga-video--right {
	margin-left: auto;
	margin-right: 0;
}

.cga-video__poster {
	align-items: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: center;
	padding: 30px;
	position: absolute;
	text-align: center;
}

.cga-video__load {
	align-items: center;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.38);
	border-radius: 18px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	gap: 20px;
	justify-content: center;
	max-width: 420px;
	min-height: 150px;
	padding: 25px 34px;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
	width: min(100%, 420px);
}

.cga-video__load:hover,
.cga-video__load:focus-visible {
	background: rgba(255,255,255,.17);
	border-color: #fff;
	transform: translateY(-2px);
}

.cga-video__load:disabled {
	cursor: wait;
	opacity: .82;
}

.cga-video__play {
	border-bottom: 11px solid transparent;
	border-left: 17px solid var(--cga-primary);
	border-top: 11px solid transparent;
	filter: drop-shadow(0 5px 9px rgba(0,0,0,.2));
	position: relative;
	z-index: 1;
}

.cga-video__play::before {
	background: var(--cga-accent);
	border-radius: 50%;
	content: "";
	height: 64px;
	left: -41px;
	position: absolute;
	top: -32px;
	width: 64px;
	z-index: -1;
}

.cga-video__load-copy {
	display: grid;
	gap: 6px;
}

.cga-video__load-copy strong {
	font-size: 18px;
	font-weight: 800;
}

.cga-video__load-copy em {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-style: normal;
}

.cga-video__poster small {
	color: rgba(255,255,255,.86);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	line-height: 1.45;
	margin-top: 14px;
	max-width: 480px;
}

.cga-video iframe {
	border: 0;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.cga-video.is-loaded {
	aspect-ratio: auto;
	min-height: 0;
}

.cga-video__viewport {
	aspect-ratio: var(--cga-video-ratio, 16 / 9);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.cga-player-controls {
	align-items: center;
	background: #0d1e2e;
	bottom: 0;
	color: #fff;
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	gap: 8px;
	height: 62px;
	left: 0;
	padding: 10px 14px;
	position: relative;
	right: 0;
	z-index: 5;
}

.cga-player-controls button {
	align-items: center;
	background: rgba(255,255,255,.08);
	border: 0;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 10px;
	height: 34px;
	justify-content: center;
	min-width: 34px;
	padding: 0 8px;
}

.cga-player-controls button:hover {
	background: rgba(255,255,255,.16);
}

.cga-player-controls button:disabled {
	cursor: not-allowed;
	opacity: .42;
}

.cga-player-play {
	background: var(--cga-accent) !important;
	color: var(--cga-primary) !important;
	font-size: 13px !important;
}

.cga-player-time {
	color: rgba(255,255,255,.65);
	font-size: 9px;
	min-width: 62px;
	white-space: nowrap;
}

.cga-player-progress,
.cga-player-volume input {
	accent-color: var(--cga-accent);
	cursor: pointer;
	height: 3px;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.cga-player-progress {
	flex: 1 1 120px;
}

.cga-player-volume {
	align-items: center;
	display: grid;
	gap: 5px;
	grid-template-columns: auto 68px;
}

.cga-player-volume span {
	font-size: 11px;
}

.cga-player-chapters {
	background: #f5f3ee;
	border-top: 1px solid rgba(13,30,46,.14);
	color: #10263a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	padding: 13px 14px 15px;
	position: relative;
	z-index: 5;
}

.cga-player-chapters > strong {
	display: block;
	font-size: 12px;
	margin-bottom: 9px;
}

.cga-player-chapter-list {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 5px;
	-webkit-overflow-scrolling: touch;
}

.cga-player-chapter-list button {
	align-items: center;
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1px solid #bdc7cf;
	border-radius: 999px;
	color: #10263a;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font: inherit;
	font-weight: 700;
	gap: 8px;
	min-height: 38px;
	padding: 6px 13px 6px 7px;
}

.cga-player-chapter-list button:hover,
.cga-player-chapter-list button.is-active {
	background: #10263a;
	border-color: #10263a;
	color: #fff;
}

.cga-player-chapter-list time {
	background: #e7b957;
	border-radius: 999px;
	color: #10263a;
	font-size: 10px;
	font-weight: 850;
	padding: 5px 7px;
}

.cga-document {
	background: #f5f3ee;
	border: 1px solid var(--cga-line);
	border-radius: var(--cga-radius);
	box-shadow: 0 15px 40px rgba(18,36,55,.09);
	margin: 35px 0;
	overflow: hidden;
}

.cga-document__header {
	align-items: center;
	background: var(--cga-primary);
	color: var(--cga-on-primary);
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	justify-content: space-between;
	padding: 15px 18px;
}

.cga-document__header > div:first-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cga-document__eyebrow {
	color: var(--cga-accent);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cga-document__header strong {
	font-size: 12px;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cga-document__actions {
	display: flex;
	gap: 7px;
}

.cga-document__actions a,
.cga-document__actions button {
	background: rgba(255,255,255,.1);
	border: 0;
	border-radius: 7px;
	color: var(--cga-on-primary);
	cursor: pointer;
	font-family: inherit;
	font-size: 9px;
	padding: 7px 9px;
	text-decoration: none;
}

.cga-document__toolbar {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #dedbd3;
	color: #253849;
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	gap: 7px;
	padding: 9px 12px;
}

.cga-document__toolbar button {
	align-items: center;
	background: #f0eee8;
	border: 1px solid #dedad0;
	border-radius: 7px;
	color: #20364a;
	cursor: pointer;
	display: flex;
	font-weight: 700;
	height: 32px;
	justify-content: center;
	min-width: 32px;
	padding: 0 9px;
}

.cga-document__toolbar button:hover,
.cga-document__toolbar button:focus-visible {
	background: var(--cga-primary);
	border-color: var(--cga-primary);
	color: var(--cga-on-primary);
}

.cga-document__toolbar > span:not(.cga-document__toolbar-spacer) {
	align-items: center;
	display: flex;
	font-size: 10px;
	gap: 4px;
}

.cga-document__toolbar input {
	background: #fff;
	border: 1px solid #cbc6ba;
	border-radius: 6px;
	box-sizing: border-box;
	color: #20364a;
	font: inherit;
	height: 30px;
	padding: 3px 4px;
	text-align: center;
	width: 44px;
}

.cga-document__toolbar-spacer {
	flex: 1;
}

.cga-document__toolbar > strong {
	color: #344b5f;
	font-size: 9px;
	min-width: 34px;
	text-align: center;
}

.cga-document__stage {
	align-items: flex-start;
	background:
		linear-gradient(45deg, rgba(28,44,58,.025) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(28,44,58,.025) 25%, transparent 25%),
		#e9e7e1;
	background-position: 0 0, 8px 8px;
	background-size: 16px 16px;
	box-sizing: border-box;
	display: flex;
	height: var(--cga-document-height);
	justify-content: center;
	overflow: auto;
	padding: 24px;
	position: relative;
}

.cga-document canvas {
	background: #fff;
	box-shadow: 0 9px 28px rgba(18,36,55,.18);
	display: none;
	height: auto;
	max-width: none;
}

.cga-document.is-ready canvas {
	display: block;
}

.cga-document__loading {
	align-items: center;
	color: #42586b;
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	gap: 9px;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.cga-document__loading span {
	animation: cga-pdf-spin .8s linear infinite;
	border: 2px solid #c8c4bb;
	border-radius: 50%;
	border-top-color: var(--cga-primary);
	height: 20px;
	width: 20px;
}

.cga-document.is-ready .cga-document__loading {
	display: none;
}

.cga-document__error {
	align-self: center;
	color: #593232;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-align: center;
}

.cga-document__error a {
	color: var(--cga-primary);
	font-weight: 700;
}

@keyframes cga-pdf-spin {
	to {
		transform: rotate(360deg);
	}
}

.cga-document__mobile {
	display: none;
}

.cga-lesson-nav {
	align-items: center;
	background: rgba(255,255,255,.95);
	border-top: 1px solid var(--cga-line);
	bottom: 0;
	display: grid;
	gap: 16px;
	grid-template-columns: auto 1fr auto;
	left: var(--cga-sidebar);
	padding: 14px clamp(20px, 4vw, 45px);
	position: fixed;
	right: 0;
	z-index: 35;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.cga-save-state {
	color: var(--cga-muted);
	font-size: 9px;
	justify-self: center;
}

.cga-save-state span {
	background: #4aa96c;
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	margin-right: 4px;
	width: 6px;
}

.cga-save-state.is-saving span {
	animation: cga-pulse 1s infinite;
	background: var(--cga-accent);
}

.cga-save-state.is-error {
	color: #a72c2c;
}

.cga-save-state.is-error span {
	background: #bd3c3c;
}

@keyframes cga-pulse {
	50% { opacity: .35; }
}

.cga-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 24px;
	pointer-events: none;
	position: fixed;
	transition: opacity .25s ease;
	z-index: 1000;
}

.cga-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.cga-modal__backdrop {
	background: rgba(6,18,30,.72);
	inset: 0;
	position: absolute;
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}

.cga-modal__panel {
	background: #fff;
	border-radius: calc(var(--cga-radius) * 1.2);
	box-shadow: 0 28px 80px rgba(0,0,0,.3);
	max-height: calc(100vh - 40px);
	max-width: 580px;
	overflow-y: auto;
	padding: clamp(30px, 5vw, 54px);
	position: relative;
	text-align: center;
	transform: translateY(12px);
	transition: transform .25s ease;
	width: 100%;
	z-index: 1;
}

.cga-modal.is-open .cga-modal__panel {
	transform: translateY(0);
}

.cga-modal__close {
	background: transparent;
	border: 0;
	color: var(--cga-muted);
	cursor: pointer;
	font-size: 27px;
	position: absolute;
	right: 18px;
	top: 14px;
}

.cga-modal__icon {
	align-items: center;
	background: rgba(215,173,99,.18);
	border-radius: 50%;
	color: var(--cga-accent);
	display: flex;
	height: 75px;
	justify-content: center;
	margin: 0 auto 22px;
	width: 75px;
}

.cga-modal__icon .dashicons {
	font-size: 38px;
	height: 38px;
	width: 38px;
}

.cga-modal h2 {
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(29px, 4vw, 40px);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.08;
	margin: 9px 0 16px;
}

.cga-modal p {
	color: var(--cga-muted);
	font-size: 13px;
	line-height: 1.6;
}

.cga-modal form {
	margin-top: 25px;
	text-align: left;
}

.cga-salutation {
	border: 0;
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 18px;
	padding: 0;
}

.cga-salutation legend {
	font-size: 11px;
	font-weight: 750;
	margin-bottom: 8px;
}

.cga-salutation label {
	align-items: center;
	background: #faf9f6;
	border: 1px solid var(--cga-line);
	border-radius: calc(var(--cga-radius) * .5);
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	min-height: 44px;
	padding: 9px 12px;
}

.cga-salutation input { accent-color: var(--cga-primary); }

.cga-certificate-ready-actions,
.cga-certificate-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
	margin-top: 14px;
}

.cga-certificate-ready-actions .cga-button { flex: 1 1 180px; }

.cga-modal form > label[for="cga-full-name"] {
	display: block;
	font-size: 11px;
	font-weight: 750;
	margin-bottom: 7px;
}

.cga-modal input[type="text"] {
	background: #faf9f6;
	border: 1px solid var(--cga-line);
	border-radius: calc(var(--cga-radius) * .55);
	color: var(--cga-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	min-height: 50px;
	outline: 0;
	padding: 10px 13px;
	width: 100%;
}

.cga-modal input[type="text"]:focus {
	border-color: var(--cga-accent);
	box-shadow: 0 0 0 3px rgba(215,173,99,.15);
}

.cga-check {
	align-items: flex-start;
	color: var(--cga-muted);
	display: flex;
	font-size: 10px;
	gap: 8px;
	line-height: 1.45;
	margin: 16px 0;
}

.cga-check input {
	accent-color: var(--cga-primary);
	margin-top: 1px;
}

.cga-modal form .cga-button {
	width: 100%;
}

.cga-form-message {
	border-radius: 8px;
	font-size: 11px;
	margin: 0 0 12px;
}

.cga-form-message.is-error {
	background: #fff0f0;
	color: #9e3030;
	padding: 9px;
}

.cga-form-message.is-success,
.cga-modal__notice {
	background: #e9f6ee;
	color: #237143;
	padding: 11px;
}

body.cga-modal-is-open {
	overflow: hidden;
}

.cga-protection-notice {
	background: var(--cga-primary);
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 10px;
	bottom: 24px;
	box-shadow: 0 12px 35px rgba(0,0,0,.25);
	color: #fff;
	font-size: 11px;
	left: 50%;
	opacity: 0;
	padding: 12px 16px;
	position: fixed;
	transform: translate(-50%, 10px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 1200;
}

.cga-protection-notice.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.cga-error-page {
	align-items: center;
	background:
		radial-gradient(circle at 50% 30%, rgba(215,173,99,.26), transparent 24%),
		var(--cga-primary);
	color: #fff;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 30px;
	text-align: center;
}

.cga-error-page > div {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.cga-error-code {
	color: var(--cga-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 80px;
	line-height: 1;
	margin-top: 60px;
}

.cga-error-page h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 35px;
	font-weight: 400;
	margin: 15px 0 27px;
}

@media (max-width: 1180px) {
	.cga-course-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.cga-login {
		grid-template-columns: 1fr;
	}

	.cga-login__visual {
		display: none;
	}

	.cga-login__panel {
		min-height: 100vh;
		min-height: 100dvh;
	}

	.cga-dashboard {
		display: block;
	}

	.cga-sidebar {
		bottom: 0;
		box-shadow: 18px 0 45px rgba(0,0,0,.25);
		position: fixed;
		top: 0;
		transform: translateX(-105%);
		transition: transform .25s ease;
		width: min(84vw, 310px);
	}

	.cga-menu-is-open .cga-sidebar {
		transform: translateX(0);
	}

	.cga-menu-is-open .cga-sidebar-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.cga-sidebar__close {
		display: block;
	}

	.cga-dashboard__main {
		padding: 26px;
	}

	.cga-mobile-header {
		align-items: center;
		background: var(--cga-primary);
		color: #fff;
		display: flex;
		justify-content: space-between;
		margin: -26px -26px 28px;
		padding: calc(13px + env(safe-area-inset-top)) 18px 13px;
	}

	.cga-mobile-header > button {
		background: transparent;
		border: 0;
		color: #fff;
	}

	.cga-mobile-header .cga-brand__logo {
		height: 32px;
	}

	.cga-mobile-header .cga-brand__mark {
		height: 32px;
		width: 32px;
	}

	.cga-mobile-header .cga-brand strong {
		font-size: 16px;
	}

	.cga-mobile-header .cga-avatar {
		height: 33px;
		width: 33px;
	}

	.cga-chapters-tab {
		align-items: center;
		background: var(--cga-accent);
		border: 0;
		border-radius: 0 10px 10px 0;
		box-shadow: 5px 8px 22px rgba(12,27,42,.2);
		color: var(--cga-primary);
		cursor: pointer;
		display: flex;
		gap: 6px;
		left: 0;
		padding: 10px 12px 10px 9px;
		position: fixed;
		top: 38%;
		transition: opacity .2s ease, transform .2s ease;
		z-index: 55;
	}

	.cga-chapters-tab strong {
		font-size: 10px;
		letter-spacing: .04em;
		text-transform: uppercase;
	}

	.cga-chapters-tab .dashicons {
		font-size: 16px;
		height: 16px;
		width: 16px;
	}

	.cga-toc-is-open .cga-chapters-tab {
		opacity: 0;
		pointer-events: none;
		transform: translateX(-100%);
	}

	.cga-toc {
		box-shadow: 18px 0 45px rgba(0,0,0,.2);
		top: 0;
		transform: translateX(-105%);
		transition: transform .25s ease;
		width: clamp(260px, 30vw, 340px);
		z-index: 130;
	}

	.cga-toc.is-resizing {
		transition: none;
	}

	.cga-toc__resize {
		align-items: center;
		background: transparent;
		border: 0;
		cursor: ew-resize;
		display: flex;
		height: 100%;
		justify-content: center;
		padding: 0;
		position: absolute;
		right: -7px;
		touch-action: none;
		top: 0;
		width: 15px;
		z-index: 5;
	}

	.cga-toc__resize span {
		background: var(--cga-accent);
		border-radius: 8px;
		box-shadow: 0 3px 10px rgba(12,27,42,.2);
		height: 54px;
		width: 5px;
	}

	body.cga-toc-is-resizing {
		cursor: ew-resize;
		-webkit-user-select: none;
		user-select: none;
	}

	.cga-toc-is-open .cga-toc {
		transform: translateX(0);
	}

	.cga-toc-is-open .cga-toc-backdrop {
		opacity: 1;
		pointer-events: auto;
		z-index: 120;
	}

	.cga-toc__heading {
		padding-top: calc(25px + env(safe-area-inset-top));
	}

	.cga-toc__heading button {
		display: block;
	}

	.cga-lesson {
		margin-left: 0;
	}

	.cga-lesson-nav {
		left: 0;
	}
}

body.cga-portal-page,
body.cga-portal-page .cga-app,
body.cga-portal-page .cga-app button,
body.cga-portal-page .cga-app input,
body.cga-portal-page .cga-app select,
body.cga-portal-page .cga-app textarea,
body.cga-portal-page .cga-prose {
	font-family: var(--cga-body-font) !important;
}

body.cga-portal-page .cga-brand strong,
body.cga-portal-page .cga-login__quote,
body.cga-portal-page .cga-login__copy h1,
body.cga-portal-page .cga-welcome h1,
body.cga-portal-page .cga-welcome__stat strong,
body.cga-portal-page .cga-page-title h1,
body.cga-portal-page .cga-section-heading h2,
body.cga-portal-page .cga-course-card h3,
body.cga-portal-page .cga-empty h3,
body.cga-portal-page .cga-progress-row h2,
body.cga-portal-page .cga-certificate-card h2,
body.cga-portal-page .cga-toc__heading h2,
body.cga-portal-page .cga-toc__number,
body.cga-portal-page .cga-prose h1,
body.cga-portal-page .cga-prose h2,
body.cga-portal-page .cga-prose h3,
body.cga-portal-page .cga-prose h4,
body.cga-portal-page .cga-prose blockquote,
body.cga-portal-page .cga-modal h2 {
	font-family: var(--cga-heading-font) !important;
}

/* Le palette restano personalizzabili; i preset cambiano anche ritmo,
   bordi e gerarchia visiva. */
body.cga-preset-european .cga-welcome,
body.cga-preset-european .cga-course-card,
body.cga-preset-european .cga-progress-row,
body.cga-preset-european .cga-certificate-card,
body.cga-preset-european .cga-empty {
	box-shadow: none;
}

body.cga-preset-european .cga-welcome {
	border: 1px solid rgba(255,255,255,.2);
}

body.cga-preset-european .cga-course-card,
body.cga-preset-european .cga-progress-row,
body.cga-preset-european .cga-certificate-card {
	border-color: rgba(20,40,35,.16);
}

body.cga-preset-european .cga-nav a {
	border-left: 2px solid transparent;
	border-radius: 0;
}

body.cga-preset-european .cga-nav a.is-active {
	background: transparent;
	border-left-color: var(--cga-accent-on-media);
}

body.cga-preset-american .cga-button {
	font-weight: 800;
	letter-spacing: .035em;
	text-transform: uppercase;
}

body.cga-preset-american .cga-course-card {
	border-top: 4px solid var(--cga-accent);
}

body.cga-preset-american .cga-welcome {
	box-shadow: 0 18px 42px rgba(12,35,60,.18);
}

body.cga-preset-american .cga-section-heading h2,
body.cga-preset-american .cga-page-title h1 {
	font-weight: 700;
}

body.cga-preset-mediterranean .cga-welcome {
	min-height: 235px;
}

body.cga-preset-mediterranean .cga-course-card__image {
	min-height: 225px;
}

body.cga-preset-mediterranean .cga-sidebar {
	box-shadow: 12px 0 40px rgba(30,35,30,.12);
}

body.cga-preset-mediterranean .cga-course-card {
	box-shadow: 0 16px 42px rgba(48,38,29,.09);
}

body.cga-preset-recipe-notebook .cga-welcome,
body.cga-preset-recipe-notebook .cga-course-card,
body.cga-preset-recipe-notebook .cga-progress-row,
body.cga-preset-recipe-notebook .cga-certificate-card {
	box-shadow: 0 14px 34px rgba(93,58,35,.08);
}

body.cga-preset-recipe-notebook .cga-course-card {
	border-bottom: 3px solid var(--cga-accent-surface);
}

body.cga-preset-recipe-notebook .cga-button {
	font-weight: 700;
	letter-spacing: .01em;
}

body.cga-preset-bakery-playful .cga-welcome,
body.cga-preset-bakery-playful .cga-course-card,
body.cga-preset-bakery-playful .cga-progress-row,
body.cga-preset-bakery-playful .cga-certificate-card,
body.cga-preset-bakery-playful .cga-empty {
	border-radius: max(var(--cga-radius), 24px);
}

body.cga-preset-bakery-playful .cga-button,
body.cga-preset-bakery-playful .cga-pill {
	border-radius: 999px;
}

body.cga-preset-bakery-playful .cga-course-card {
	box-shadow: 0 15px 36px rgba(112,64,81,.1);
}

body.cga-preset-farmhouse-light .cga-course-card,
body.cga-preset-farmhouse-light .cga-progress-row,
body.cga-preset-farmhouse-light .cga-certificate-card,
body.cga-preset-farmhouse-light .cga-empty {
	border: 1px solid rgba(63,89,72,.22);
	box-shadow: 0 9px 22px rgba(43,62,50,.06);
}

body.cga-preset-farmhouse-light .cga-welcome {
	border: 1px solid rgba(255,255,255,.28);
}

body.cga-preset-fresh-kitchen .cga-welcome,
body.cga-preset-fresh-kitchen .cga-course-card,
body.cga-preset-fresh-kitchen .cga-progress-row,
body.cga-preset-fresh-kitchen .cga-certificate-card {
	box-shadow: 0 16px 38px rgba(29,89,96,.09);
}

body.cga-preset-fresh-kitchen .cga-button {
	border-radius: 14px;
	font-weight: 750;
}

body.cga-portal-page .cga-button--primary,
body.cga-portal-page .cga-icon-button,
body.cga-portal-page .cga-course-header,
body.cga-portal-page .cga-toc nav button.is-active,
body.cga-portal-page .cga-prose .wp-block-button__link,
body.cga-portal-page .cga-document header,
body.cga-portal-page .cga-document__mobile a,
body.cga-portal-page .cga-protection-notice {
	background: var(--cga-primary-surface) !important;
}

body.cga-portal-page .cga-brand__mark,
body.cga-portal-page .cga-pill,
body.cga-portal-page .cga-player-play {
	background: var(--cga-accent-surface) !important;
	color: var(--cga-on-accent) !important;
}

body.cga-portal-page .cga-button--complete,
body.cga-portal-page .cga-toc button.is-active .cga-toc__number {
	background: var(--cga-action-surface) !important;
	color: var(--cga-on-action) !important;
}

body.cga-portal-page .cga-error-page {
	background:
		radial-gradient(circle at 50% 30%, rgba(255,255,255,.1), transparent 24%),
		var(--cga-primary-surface);
}

body[class*="cga-school-"] .cga-welcome::before {
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

body[class*="cga-school-"] .cga-welcome > * {
	position: relative;
	z-index: 1;
}

body.cga-school-cooking .cga-welcome::before {
	background:
		radial-gradient(circle at 76% 50%, transparent 0 66px, rgba(255,255,255,.13) 67px 69px, transparent 70px),
		radial-gradient(circle at 76% 50%, rgba(255,255,255,.08) 0 44px, transparent 45px);
}

body.cga-school-pastry .cga-welcome::before {
	background:
		radial-gradient(circle at 83% 25%, rgba(255,255,255,.12) 0 28px, transparent 29px),
		radial-gradient(circle at 76% 65%, rgba(255,255,255,.08) 0 58px, transparent 59px);
}

body.cga-school-languages .cga-welcome::before {
	background:
		radial-gradient(ellipse at 79% 48%, transparent 0 73px, rgba(255,255,255,.13) 74px 76px, transparent 77px),
		linear-gradient(90deg, transparent 78.7%, rgba(255,255,255,.1) 78.8% 79%, transparent 79.1%);
}

body.cga-school-mathematics .cga-welcome::before,
body.cga-school-technology .cga-welcome::before {
	background-image:
		linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
	background-position: right top;
	background-size: 32px 32px;
	-webkit-mask-image: linear-gradient(90deg, transparent 48%, #000);
	mask-image: linear-gradient(90deg, transparent 48%, #000);
}

body.cga-school-photography .cga-welcome::before {
	border: 1px solid rgba(255,255,255,.18);
	inset: 22px;
}

body.cga-school-photography .cga-course-card__image {
	min-height: 245px;
}

body.cga-school-music .cga-welcome::before {
	background:
		radial-gradient(ellipse at 82% 100%, transparent 0 48px, rgba(255,255,255,.12) 49px 51px, transparent 52px 72px, rgba(255,255,255,.08) 73px 75px, transparent 76px);
}

body.cga-school-fitness .cga-welcome::before {
	background: repeating-linear-gradient(120deg, transparent 0 35px, rgba(255,255,255,.055) 36px 37px);
	-webkit-mask-image: linear-gradient(90deg, transparent 42%, #000);
	mask-image: linear-gradient(90deg, transparent 42%, #000);
}

body.cga-school-business .cga-welcome::before {
	background: linear-gradient(90deg, transparent 72%, rgba(255,255,255,.09) 72% 72.15%, transparent 72.15% 80%, rgba(255,255,255,.06) 80% 80.15%, transparent 80.15%);
}

body.cga-school-art .cga-welcome::before {
	background:
		radial-gradient(circle at 88% 18%, rgba(255,195,135,.17) 0 62px, transparent 63px),
		radial-gradient(circle at 74% 84%, rgba(212,150,190,.12) 0 76px, transparent 77px);
}

body.cga-school-wellness .cga-welcome::before {
	background:
		radial-gradient(ellipse at 84% 34%, rgba(255,255,255,.1) 0 38px, transparent 39px),
		radial-gradient(ellipse at 77% 70%, rgba(255,255,255,.07) 0 56px, transparent 57px);
	transform: rotate(-12deg);
}

body.cga-school-beauty .cga-welcome::before {
	background:
		radial-gradient(circle at 85% 35%, transparent 0 48px, rgba(255,255,255,.13) 49px 51px, transparent 52px),
		radial-gradient(circle at 76% 68%, transparent 0 78px, rgba(255,255,255,.08) 79px 81px, transparent 82px);
}

body.cga-school-cooking .cga-course-card__image,
body.cga-school-pastry .cga-course-card__image,
body.cga-school-art .cga-course-card__image,
body.cga-school-beauty .cga-course-card__image {
	min-height: 225px;
}

/* Click to Chat di HoliThemes resta disponibile nel sito pubblico, ma non
   interferisce con dashboard e lettore a tutta pagina dell’Academy. */
body.cga-portal-page .ht-ctc-chat,
body.cga-portal-page #ht-ctc-chat,
body.cga-portal-page .ht_ctc_chat,
body.cga-portal-page .ctc_chat,
body.cga-portal-page [href="#ctc_chat"] {
	display: none !important;
	pointer-events: none !important;
	visibility: hidden !important;
}

@media (max-width: 680px) {
	:root {
		--cga-header: 72px;
	}

	.cga-dashboard__main {
		padding: 19px;
	}

	.cga-mobile-header {
		margin: -19px -19px 24px;
	}

	.cga-welcome {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
		margin-bottom: 34px;
	}

	.cga-welcome__stat {
		align-items: baseline;
		border-left: 0;
		border-top: 1px solid rgba(255,255,255,.15);
		flex-direction: row;
		gap: 9px;
		min-width: 0;
		padding: 18px 0 0;
		width: 100%;
	}

	.cga-welcome__stat strong {
		font-size: 30px;
	}

	.cga-course-grid {
		grid-template-columns: 1fr;
	}

	.cga-course-card__image {
		min-height: 220px;
	}

	.cga-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.cga-progress-row {
		gap: 15px;
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.cga-progress-row__thumb {
		height: 92px;
	}

	.cga-progress-row .cga-icon-button {
		display: none;
	}

	.cga-certificate-card {
		align-items: flex-start;
		grid-template-columns: auto minmax(0, 1fr);
	}

	.cga-certificate-card > .cga-button,
	.cga-certificate-card > .cga-waiting {
		grid-column: 1 / -1;
		max-width: none;
		text-align: center;
		width: 100%;
	}

	.cga-course-header {
		padding: 0 14px;
	}

	.cga-course-header__left {
		gap: 9px;
		max-width: calc(100% - 78px);
	}

	.cga-toc {
		width: min(72vw, 280px);
	}

	.cga-chapters-tab {
		top: 34%;
	}

	.cga-course-back__desktop,
	.cga-course-header__divider {
		display: none;
	}

	.cga-course-header__progress {
		min-width: 58px;
	}

	.cga-course-header__progress > div,
	.cga-course-header__progress small {
		display: none;
	}

	.cga-course-header__progress::after {
		color: var(--cga-accent);
		content: attr(data-progress);
	}

	.cga-lesson__stage {
		padding: 30px 19px 100px;
	}

	.cga-lesson-page__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}

	.cga-prose {
		font-size: 16px;
		line-height: 1.72;
	}

	.cga-video {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	.cga-document__toolbar {
		flex-wrap: wrap;
		padding: 8px;
	}

	.cga-document__toolbar-spacer {
		display: none;
	}

	.cga-document__stage {
		height: min(var(--cga-document-height), 66vh);
		padding: 10px;
	}

	.cga-video.is-loaded {
		min-height: 0;
	}

	.cga-player-controls {
		gap: 5px;
		height: 54px;
		padding: 8px;
	}

	.cga-player-controls button {
		min-width: 36px;
		padding: 0 6px;
	}

	.cga-player-time,
	.cga-player-volume {
		display: none;
	}

	.cga-player-chapters {
		padding: 11px 9px 13px;
	}

	.cga-player-chapter-list button {
		min-height: 42px;
	}

	.cga-document__mobile {
		display: block;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		margin: 0;
		padding: 20px;
		text-align: center;
	}

	.cga-document__mobile a {
		background: var(--cga-primary);
		border-radius: 8px;
		color: #fff;
		display: inline-block;
		font-size: 11px;
		padding: 10px 13px;
		text-decoration: none;
	}

	.cga-document header {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.cga-chapter-progress__summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.cga-lesson-nav {
		gap: 9px;
		grid-template-columns: 1fr 1fr;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	}

	.cga-save-state {
		display: none;
	}

	.cga-lesson-nav .cga-button {
		font-size: 11px;
		min-width: 0;
		padding: 10px;
	}

	.cga-lesson-nav .cga-button--complete {
		grid-column: 2;
	}

	.cga-modal {
		align-items: flex-end;
		padding: 0;
	}

	.cga-modal__panel {
		border-radius: var(--cga-radius) var(--cga-radius) 0 0;
		max-height: 91vh;
		max-width: none;
		padding-bottom: calc(32px + env(safe-area-inset-bottom));
	}
}

@media print {
	.cga-course-header,
	.cga-toc,
	.cga-lesson-nav {
		display: none !important;
	}

	.cga-lesson {
		margin: 0;
		padding: 0;
	}

	.cga-lesson-page {
		display: block !important;
		page-break-after: always;
	}
}

/* Personalizzazione visiva e contrasto elevato. Questa sezione resta per ultima
   per neutralizzare in modo affidabile gli stili ereditati dal tema WordPress. */
body.cga-portal-page {
	background-color: var(--cga-bg);
	background-image:
		linear-gradient(var(--cga-bg-overlay), var(--cga-bg-overlay)),
		var(--cga-portal-bg-image);
	background-position: center;
	background-size: cover;
	color: var(--cga-text);
	font-size: 16px;
}

body.cga-portal-page .cga-app {
	background: transparent;
	color: var(--cga-text);
}

body.cga-portal-page .cga-dashboard__main {
	background-color: var(--cga-bg);
	background-image:
		linear-gradient(var(--cga-bg-overlay), var(--cga-bg-overlay)),
		var(--cga-portal-bg-image);
	background-position: center;
	background-size: cover;
}

body.cga-portal-page .cga-login__visual {
	background-color: #0b1c2c;
	background-image:
		linear-gradient(rgba(7,18,30,.84), rgba(7,18,30,.92)),
		var(--cga-login-bg-image),
		radial-gradient(circle at 65% 32%, rgba(215,173,99,.42), transparent 20%),
		linear-gradient(135deg, #1c3d55, #0e1f31 65%, #0a1724);
	background-position: center;
	background-size: cover;
}

body.cga-portal-page .cga-sidebar {
	background-color: #0b1c2c;
	background-image:
		linear-gradient(var(--cga-sidebar-overlay), var(--cga-sidebar-overlay)),
		var(--cga-sidebar-bg-image);
	background-position: center;
	background-size: cover;
	color: #fff;
}

body.cga-portal-page .cga-welcome {
	background-color: #0b1c2c;
	background-image:
		linear-gradient(var(--cga-welcome-overlay), var(--cga-welcome-overlay)),
		var(--cga-welcome-bg-image),
		radial-gradient(circle at 86% 18%, rgba(215,173,99,.34), transparent 23%),
		linear-gradient(130deg, var(--cga-primary), #24435e);
	background-position: center;
	background-size: cover;
	color: #fff;
}

body.cga-portal-page .cga-course-player {
	background-color: var(--cga-bg);
	background-image:
		linear-gradient(var(--cga-bg-overlay), var(--cga-bg-overlay)),
		var(--cga-course-bg-image);
	background-position: center;
	background-size: cover;
}

body.cga-portal-page .cga-course-card__image,
body.cga-portal-page .cga-progress-row__thumb {
	background-image:
		linear-gradient(135deg, rgba(7,18,30,.14), rgba(7,18,30,.34)),
		var(--cga-card-bg-image),
		linear-gradient(145deg, #2a5068, #12283c);
}

body.cga-portal-page .cga-brand {
	max-width: var(--cga-logo-width);
}

body.cga-portal-page .cga-brand__logo {
	height: auto;
	max-height: 64px;
	max-width: var(--cga-logo-width);
	width: auto;
}

body.cga-portal-page .cga-brand--light {
	color: var(--cga-heading) !important;
}

body.cga-portal-page .cga-brand--dark {
	color: #fff !important;
}

body.cga-portal-page .cga-brand__mark,
body.cga-portal-page .cga-pill,
body.cga-portal-page .cga-player-play {
	color: var(--cga-on-accent) !important;
}

body.cga-portal-page .cga-button--complete,
body.cga-portal-page .cga-toc button.is-active .cga-toc__number {
	color: var(--cga-on-action) !important;
}

body.cga-portal-page .cga-button--primary,
body.cga-portal-page .cga-icon-button,
body.cga-portal-page .cga-prose .wp-block-button__link,
body.cga-portal-page .cga-document__mobile a {
	color: var(--cga-on-primary) !important;
}

body.cga-portal-page .cga-button--ghost,
body.cga-portal-page .cga-button--light,
body.cga-portal-page .cga-card-purchase strong,
body.cga-portal-page .cga-progress-row__bar strong,
body.cga-portal-page .cga-two-factor__copy strong,
body.cga-portal-page .cga-two-factor__form label,
body.cga-portal-page .cga-modal form > label[for="cga-full-name"],
body.cga-portal-page .cga-modal input[type="text"],
body.cga-portal-page .cga-toc__heading button,
body.cga-portal-page .cga-toc nav button,
body.cga-portal-page .cga-prose blockquote {
	color: var(--cga-heading) !important;
}

body.cga-portal-page .cga-login__copy h1,
body.cga-portal-page .cga-page-title h1,
body.cga-portal-page .cga-section-heading h2,
body.cga-portal-page .cga-course-card h3,
body.cga-portal-page .cga-empty h3,
body.cga-portal-page .cga-progress-row h2,
body.cga-portal-page .cga-certificate-card h2,
body.cga-portal-page .cga-toc__heading h2,
body.cga-portal-page .cga-modal h2,
body.cga-portal-page .cga-prose h1,
body.cga-portal-page .cga-prose h2,
body.cga-portal-page .cga-prose h3,
body.cga-portal-page .cga-prose h4 {
	color: var(--cga-heading) !important;
}

body.cga-portal-page .cga-login__copy p,
body.cga-portal-page .cga-login__copy > small,
body.cga-portal-page .cga-section-heading > p,
body.cga-portal-page .cga-course-card__body > p,
body.cga-portal-page .cga-card-progress small,
body.cga-portal-page .cga-card-purchase > span,
body.cga-portal-page .cga-empty p,
body.cga-portal-page .cga-page-title p,
body.cga-portal-page .cga-progress-row__main > small,
body.cga-portal-page .cga-certificate-card p,
body.cga-portal-page .cga-certificate-card small,
body.cga-portal-page .cga-waiting,
body.cga-portal-page .cga-toc__subitems button,
body.cga-portal-page .cga-toc__footer,
body.cga-portal-page .cga-lesson-page__meta,
body.cga-portal-page .cga-prose figcaption,
body.cga-portal-page .cga-save-state,
body.cga-portal-page .cga-modal p,
body.cga-portal-page .cga-check {
	color: var(--cga-muted) !important;
}

body.cga-portal-page .cga-eyebrow,
body.cga-portal-page .cga-course-card__meta,
body.cga-portal-page .cga-progress-row__main > div:first-child > span,
body.cga-portal-page .cga-lesson-page__meta span:first-child {
	color: var(--cga-accent-text) !important;
}

body.cga-portal-page .cga-login__visual .cga-login__quote,
body.cga-portal-page .cga-sidebar,
body.cga-portal-page .cga-course-header,
body.cga-portal-page .cga-video,
body.cga-portal-page .cga-player-controls,
body.cga-portal-page .cga-document header,
body.cga-portal-page .cga-error-page {
	color: var(--cga-on-media);
}

body.cga-portal-page .cga-login__visual .cga-login__quote span:nth-child(2),
body.cga-portal-page .cga-sidebar .dashicons,
body.cga-portal-page .cga-sidebar .cga-user-mini span,
body.cga-portal-page .cga-welcome .cga-eyebrow,
body.cga-portal-page .cga-welcome__stat strong,
body.cga-portal-page .cga-video__poster small,
body.cga-portal-page .cga-document__eyebrow,
body.cga-portal-page .cga-error-code {
	color: var(--cga-accent-on-media) !important;
}

body.cga-portal-page .cga-document__eyebrow {
	color: var(--cga-accent-on-primary) !important;
}

body.cga-portal-page .cga-document header,
body.cga-portal-page .cga-document__actions a {
	color: var(--cga-on-primary) !important;
}

body.cga-portal-page .cga-empty > .dashicons,
body.cga-portal-page .cga-certificate-card__icon,
body.cga-portal-page .cga-modal__icon {
	color: var(--cga-accent-text) !important;
}

body.cga-portal-page .cga-welcome h1,
body.cga-portal-page .cga-welcome p,
body.cga-portal-page .cga-welcome__stat span {
	color: #fff !important;
	position: relative;
	z-index: 1;
}

body.cga-portal-page .cga-nav a,
body.cga-portal-page .cga-sidebar__footer > a {
	color: #e8edf2 !important;
	font-size: 14px;
}

body.cga-portal-page .cga-sidebar__site-link {
	color: var(--cga-on-accent, #13283c) !important;
	font-size: 14px;
}

body.cga-portal-page .cga-nav a:hover,
body.cga-portal-page .cga-nav a.is-active {
	color: #fff !important;
}

body.cga-portal-page .cga-course-header {
	color: var(--cga-on-primary);
}

body.cga-portal-page .cga-course-back,
body.cga-portal-page .cga-course-header__progress small {
	color: var(--cga-on-primary) !important;
}

body.cga-portal-page .cga-toc nav button.is-active {
	color: var(--cga-on-primary) !important;
}

body.cga-portal-page .cga-toc nav button.is-active small,
body.cga-portal-page .cga-toc nav button.is-active strong {
	color: var(--cga-on-primary) !important;
}

body.cga-portal-page .cga-course-player button:focus-visible,
body.cga-portal-page .cga-course-player a:focus-visible {
	box-shadow: 0 0 0 3px #0b5d35 !important;
	outline: 3px solid #fff !important;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	body.cga-portal-page *,
	body.cga-portal-page *::before,
	body.cga-portal-page *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

body.cga-portal-page .cga-prose {
	color: var(--cga-text);
	font-size: 18px;
}

body.cga-portal-page .cga-eyebrow {
	font-size: 12px;
}

body.cga-portal-page .cga-course-card__body > p,
body.cga-portal-page .cga-section-heading > p,
body.cga-portal-page .cga-empty p,
body.cga-portal-page .cga-page-title p,
body.cga-portal-page .cga-modal p {
	font-size: 15px;
}

body.cga-portal-page .cga-course-card__meta,
body.cga-portal-page .cga-card-progress small,
body.cga-portal-page .cga-card-purchase > span,
body.cga-portal-page .cga-progress-row__main > div:first-child > span,
body.cga-portal-page .cga-progress-row__main > small,
body.cga-portal-page .cga-certificate-card p,
body.cga-portal-page .cga-certificate-card small,
body.cga-portal-page .cga-waiting,
body.cga-portal-page .cga-toc nav small,
body.cga-portal-page .cga-toc nav strong,
body.cga-portal-page .cga-toc__subitems button,
body.cga-portal-page .cga-toc__footer,
body.cga-portal-page .cga-lesson-page__meta,
body.cga-portal-page .cga-prose figcaption,
body.cga-portal-page .cga-save-state,
body.cga-portal-page .cga-check {
	font-size: 12px !important;
}

body.cga-portal-page .cga-sidebar__close,
body.cga-portal-page .cga-toc__heading button,
body.cga-portal-page .cga-mobile-header > button,
body.cga-portal-page .cga-course-menu-button,
body.cga-portal-page .cga-modal__close {
	-webkit-appearance: none;
	appearance: none;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	min-height: 44px;
	min-width: 44px;
	padding: 0 !important;
}

body.cga-portal-page .cga-sidebar__close {
	background: transparent !important;
	color: #fff !important;
	display: none !important;
}

body.cga-portal-page .cga-toc__heading button,
body.cga-portal-page .cga-mobile-header > button,
body.cga-portal-page .cga-modal__close {
	background: transparent !important;
	color: var(--cga-heading) !important;
}

/* Dedicated mobile surface: do not inherit heading ink intended for pale pages. */
body.cga-portal-page .cga-mobile-header {
	background: var(--cga-mobile-header-bg) !important;
	color: var(--cga-mobile-header-ink) !important;
	gap: 12px;
}
body.cga-portal-page .cga-mobile-header .cga-brand,
body.cga-portal-page .cga-mobile-header .cga-brand strong,
body.cga-portal-page .cga-mobile-header > button,
body.cga-portal-page .cga-mobile-header > button .dashicons {
	color: var(--cga-mobile-header-ink) !important;
}
body.cga-portal-page .cga-mobile-header .cga-brand {
	min-width: 0;
	max-width: min(var(--cga-mobile-logo-width), calc(100% - 101px));
	gap: 8px;
}
body.cga-portal-page .cga-mobile-header .cga-brand__mark,
body.cga-portal-page .cga-mobile-header > button,
body.cga-portal-page .cga-mobile-header > .cga-avatar {
	flex-shrink: 0;
}
body.cga-portal-page .cga-mobile-header .cga-brand strong {
	font-size: var(--cga-mobile-header-font-size) !important;
	line-height: 1.35;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
}
body.cga-portal-page .cga-mobile-header .cga-brand__logo {
	max-width: 100%;
	max-height: 48px;
	height: auto;
	width: auto;
	object-fit: contain;
}
body.cga-portal-page .cga-mobile-header :is(a,button):focus-visible {
	outline: 2px solid var(--cga-mobile-header-ink);
	outline-offset: 3px;
}

body.cga-portal-page .cga-button {
	min-height: 44px;
}

body.cga-portal-page .cga-status--pending {
	background: #fff2d8;
	color: #6b4200;
}

body.cga-portal-page .cga-status--ready {
	background: #def4e6;
	color: #10552b;
}

body.cga-portal-page .cga-app :focus-visible {
	outline: 3px solid #1677c8;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	body.cga-portal-page .cga-sidebar__close {
		align-items: center;
		display: flex !important;
		font-size: 28px;
		justify-content: center;
	}
}

/* Course header, protected media and accessible document controls. */
body.cga-portal-page .cga-course-player .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

body.cga-portal-page .cga-course-header {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	height: var(--cga-header) !important;
	min-height: var(--cga-header);
	padding: 0 24px;
}

/* Mantiene l'aula sotto la barra strumenti quando un amministratore è connesso. */
body.admin-bar.cga-portal-page {
	--cga-wp-adminbar-offset: 32px;
}

body.admin-bar.cga-portal-page .cga-dashboard > .cga-sidebar {
	height: calc(100vh - var(--cga-wp-adminbar-offset));
	height: calc(100dvh - var(--cga-wp-adminbar-offset));
}

body.admin-bar.cga-portal-page .cga-course-player {
	padding-top: calc(var(--cga-header) + var(--cga-wp-adminbar-offset));
}

body.admin-bar.cga-portal-page .cga-course-header {
	top: var(--cga-wp-adminbar-offset);
}

body.admin-bar.cga-portal-page .cga-toc {
	top: calc(var(--cga-header) + var(--cga-wp-adminbar-offset));
}

@media screen and (max-width: 900px) {
	body.admin-bar.cga-portal-page .cga-dashboard > .cga-sidebar {
		top: var(--cga-wp-adminbar-offset);
	}

	body.admin-bar.cga-portal-page .cga-toc {
		top: var(--cga-wp-adminbar-offset);
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar.cga-portal-page {
		--cga-wp-adminbar-offset: 46px;
	}
}

body.cga-portal-page .cga-course-header__left {
	justify-self: start;
	max-width: none;
}

body.cga-portal-page .cga-course-header__brand {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	justify-self: center;
	min-width: 0;
}

body.cga-portal-page .cga-course-header__brand .cga-brand {
	justify-content: center;
	max-width: min(220px, 28vw);
}

body.cga-portal-page .cga-course-header__brand .cga-brand__logo {
	max-height: calc(var(--cga-header) - 18px);
	max-width: min(220px, 28vw);
	object-position: center;
}

body.cga-portal-page .cga-course-header__progress {
	justify-self: end;
}

body.cga-portal-page .cga-course-back {
	align-items: center;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 8px;
	color: var(--cga-on-primary) !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 7px;
	min-height: 40px;
	padding: 0 12px;
}

body.cga-portal-page .cga-course-back:hover {
	background: rgba(255,255,255,.12);
	border-color: rgba(255,255,255,.7);
}

body.cga-portal-page .cga-course-back .dashicons {
	font-size: 18px;
	height: 18px;
	width: 18px;
}

body.cga-portal-page .cga-toc__footer {
	padding: 14px 16px;
}

body.cga-portal-page .cga-toc__exit {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin-top: 11px;
}

body.cga-portal-page .cga-toc__exit a {
	align-items: center;
	background: #eef2f5;
	border: 1px solid #c9d1d8;
	border-radius: 7px;
	color: var(--cga-heading) !important;
	display: flex;
	font-size: 11px;
	font-weight: 750;
	justify-content: center;
	min-height: 38px;
	padding: 5px 7px;
	text-decoration: none;
}

body.cga-portal-page .cga-video__viewport iframe {
	pointer-events: none;
}

body.cga-portal-page .cga-video__surface-toggle {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	inset: 0;
	padding: 0;
	position: absolute;
	z-index: 4;
}

body.cga-portal-page .cga-video__surface-toggle::before,
body.cga-portal-page .cga-video__surface-toggle::after {
	content: "";
	left: 50%;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity .2s ease, transform .2s ease;
}

body.cga-portal-page .cga-video__surface-toggle::before {
	background: var(--cga-accent-surface);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 12px 34px rgba(0,0,0,.36);
	height: 76px;
	width: 76px;
}

body.cga-portal-page .cga-video__surface-toggle::after {
	border-bottom: 13px solid transparent;
	border-left: 20px solid var(--cga-on-accent);
	border-top: 13px solid transparent;
	margin-left: 4px;
}

body.cga-portal-page .cga-video.is-playing .cga-video__surface-toggle::before,
body.cga-portal-page .cga-video.is-playing .cga-video__surface-toggle::after {
	opacity: 0;
}

body.cga-portal-page .cga-video:not(.is-playing) .cga-video__surface-toggle:hover::before,
body.cga-portal-page .cga-video:not(.is-playing) .cga-video__surface-toggle:focus-visible::before {
	transform: translate(-50%, -50%) scale(1.08);
}

body.cga-portal-page .cga-video__watermark {
	background: rgba(5,18,30,.76);
	border: 1px solid rgba(255,255,255,.42);
	border-radius: 999px;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 750;
	left: 18px;
	max-width: calc(100% - 36px);
	overflow: hidden;
	padding: 7px 11px;
	pointer-events: none;
	position: absolute;
	opacity: 0;
	text-overflow: ellipsis;
	top: 14px;
	transform: translateY(-8px);
	transition: opacity .3s ease, transform .3s ease;
	visibility: hidden;
	white-space: nowrap;
	z-index: 3;
}

body.cga-portal-page .cga-video__watermark.is-visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

body.cga-portal-page .cga-video__watermark.is-center {
	left: 50%;
	transform: translate(-50%, -8px);
}

body.cga-portal-page .cga-video__watermark.is-center.is-visible {
	transform: translate(-50%, 0);
}

body.cga-portal-page .cga-video__watermark.is-right {
	left: auto;
	right: 18px;
}

body.cga-portal-page .cga-video__surface-toggle:focus-visible {
	box-shadow: inset 0 0 0 4px #fff !important;
	outline: 4px solid var(--cga-accent) !important;
	outline-offset: -7px;
}

body.cga-portal-page .cga-video,
body.cga-portal-page .cga-document {
	-webkit-touch-callout: none;
}

body.cga-portal-page .cga-video__error,
body.cga-portal-page .cga-player-controls.is-error p {
	color: #fff;
	font-size: 13px;
	margin: 0;
	padding: 14px;
	text-align: center;
}

body.cga-portal-page .cga-document__actions {
	gap: 10px;
}

body.cga-portal-page .cga-document__actions a,
body.cga-portal-page .cga-document__actions button {
	align-items: center;
	border: 1px solid rgba(255,255,255,.42);
	display: inline-flex;
	font-size: 13px;
	font-weight: 750;
	gap: 7px;
	justify-content: center;
	min-height: 44px;
	padding: 8px 15px;
}

body.cga-portal-page .cga-document__actions a:hover,
body.cga-portal-page .cga-document__actions button:hover {
	background: rgba(255,255,255,.2);
}

body.cga-portal-page .cga-document__actions button:disabled {
	cursor: wait;
	opacity: .72;
}

body.cga-portal-page .cga-document__toolbar {
	gap: 9px;
	padding: 10px 12px;
}

body.cga-portal-page .cga-document__toolbar button {
	font-size: 15px;
	height: 44px;
	min-width: 44px;
	padding: 0 12px;
}

body.cga-portal-page .cga-document__toolbar input {
	font-size: 14px;
	height: 44px;
	width: 62px;
}

body.cga-portal-page .cga-document__toolbar > span:not(.cga-document__toolbar-spacer),
body.cga-portal-page .cga-document__toolbar > strong {
	font-size: 13px;
}

body.cga-portal-page .cga-document__error {
	font-size: 15px;
	max-width: 520px;
	padding: 24px;
}

body.cga-portal-page .cga-document__error > small {
	color: #6b3c3c;
	display: block;
	font-size: 13px;
	line-height: 1.45;
	margin: 8px auto 0;
	max-width: 440px;
}

body.cga-portal-page .cga-document__error > div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 18px;
}

body.cga-portal-page .cga-document__error button,
body.cga-portal-page .cga-document__error a {
	align-items: center;
	background: var(--cga-primary-surface);
	border: 0;
	border-radius: 8px;
	color: var(--cga-on-primary) !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 750;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	text-decoration: none;
}

.cga-pdf-print-frame {
	border: 0;
	height: 1px;
	left: -10000px;
	position: fixed;
	top: 0;
	width: 1px;
}

@media (max-width: 900px) {
	body.cga-portal-page .cga-course-header {
		grid-template-columns: 100px minmax(80px, 1fr) 58px;
		padding: 0 10px;
	}

	body.cga-portal-page .cga-course-header__left {
		gap: 6px;
	}

	body.cga-portal-page .cga-course-back {
		justify-content: center;
		min-height: 42px;
		min-width: 42px;
		padding: 0;
	}

	body.cga-portal-page .cga-course-back__desktop {
		display: none;
	}

	body.cga-portal-page .cga-course-header__brand .cga-brand,
	body.cga-portal-page .cga-course-header__brand .cga-brand__logo {
		max-width: min(150px, 34vw);
	}

	body.cga-portal-page .cga-course-header__brand .cga-brand__logo {
		max-height: calc(var(--cga-header) - 22px);
	}

	body.cga-portal-page .cga-course-header__brand .cga-brand__mark {
		height: 36px;
		width: 36px;
	}

	body.cga-portal-page .cga-course-header__brand .cga-brand strong {
		font-size: 16px;
	}
}

@media (max-width: 680px) {
	body.cga-portal-page .cga-course-header {
		grid-template-columns: 92px minmax(70px, 1fr) 44px;
		padding: 0 7px;
	}

	body.cga-portal-page .cga-course-header__brand .cga-brand,
	body.cga-portal-page .cga-course-header__brand .cga-brand__logo {
		max-width: min(122px, 31vw);
	}

	body.cga-portal-page .cga-course-header__brand .cga-brand strong {
		display: none;
	}

	body.cga-portal-page .cga-document__header {
		align-items: stretch;
	}

	body.cga-portal-page .cga-document__actions {
		width: 100%;
	}

	body.cga-portal-page .cga-document__actions a,
	body.cga-portal-page .cga-document__actions button {
		flex: 1;
	}

	body.cga-portal-page .cga-document__toolbar button {
		flex: 0 0 44px;
	}

	body.cga-portal-page .cga-document__toolbar [data-cga-pdf-fit] {
		flex: 1 1 90px;
	}

	body.cga-portal-page .cga-video__surface-toggle::before {
		height: 66px;
		width: 66px;
	}

	body.cga-portal-page .cga-video__watermark {
		font-size: 10px;
		left: 9px;
		max-width: calc(100% - 18px);
		right: auto;
		top: 9px;
	}

	body.cga-portal-page .cga-video__watermark.is-right {
		left: auto;
		right: 9px;
	}
}
