/**
 * TCC CO2 Points 1.3.2: immersive Learning Centre look for the rewards page only.
 * Tokens match TGCC Learning Centre (.tgcc-lc): --bg #0b0814, --panel #150e1f,
 * --panel2 #1d1430, --txt #f3f1f6, --mut #a89fb8, --pur #8e43f0, --sky #5ec8ff,
 * --green #3ddc84, Montserrat (already self-hosted by the site; no font CDN here).
 * Every rule is scoped under body.tcc-co2-rewards-page.
 */

/* ---- page chrome: dark edge to edge, no white box, no sidebar ---- */
html:has(body.tcc-co2-rewards-page),
body.tcc-co2-rewards-page,
body.tcc-co2-rewards-page #page,
body.tcc-co2-rewards-page #content,
body.tcc-co2-rewards-page #content.site-content,
body.tcc-co2-rewards-page .site,
body.tcc-co2-rewards-page .site-content,
body.tcc-co2-rewards-page .ast-container,
body.tcc-co2-rewards-page #primary,
body.tcc-co2-rewards-page .content-area,
body.tcc-co2-rewards-page .site-main,
body.tcc-co2-rewards-page article.ast-article-single,
body.tcc-co2-rewards-page article.page,
body.tcc-co2-rewards-page .ast-article-single,
body.tcc-co2-rewards-page .entry-content{
	background:#0b0814!important;
	background-color:#0b0814!important;
	box-shadow:none!important;
	border:0!important;
	border-radius:0!important
}
body.tcc-co2-rewards-page{
	color:#f3f1f6;
	font-family:Montserrat,Arial,Helvetica,sans-serif;
	overflow-x:clip
}
body.tcc-co2-rewards-page #content,
body.tcc-co2-rewards-page .site-content{
	background-image:
		radial-gradient(900px 420px at 90% -10%,rgba(142,67,240,.22),transparent 60%),
		radial-gradient(700px 380px at 0 20%,rgba(94,200,255,.1),transparent 55%),
		linear-gradient(#0b0814,#0b0814)!important
}
body.tcc-co2-rewards-page .ast-container,
body.tcc-co2-rewards-page #content .ast-container{
	max-width:100%!important;
	width:100%!important;
	padding-left:0!important;
	padding-right:0!important;
	margin:0!important;
	display:block!important
}
body.tcc-co2-rewards-page #primary,
body.tcc-co2-rewards-page .content-area.primary,
body.tcc-co2-rewards-page .site-main{
	float:none!important;
	width:100%!important;
	max-width:100%!important;
	margin:0!important;
	padding:0!important;
	border:0!important
}
body.tcc-co2-rewards-page #secondary,
body.tcc-co2-rewards-page .widget-area.secondary,
body.tcc-co2-rewards-page aside.widget-area,
body.tcc-co2-rewards-page #sidebar,
body.tcc-co2-rewards-page .sidebar-main{
	display:none!important;
	width:0!important;
	height:0!important;
	margin:0!important;
	padding:0!important;
	overflow:hidden!important
}
body.tcc-co2-rewards-page .entry-header,
body.tcc-co2-rewards-page .page-header,
body.tcc-co2-rewards-page h1.entry-title,
body.tcc-co2-rewards-page .ast-breadcrumbs-wrapper,
body.tcc-co2-rewards-page .ast-breadcrumbs,
body.tcc-co2-rewards-page nav.rank-math-breadcrumb,
body.tcc-co2-rewards-page .yoast-breadcrumb,
body.tcc-co2-rewards-page #comments,
body.tcc-co2-rewards-page .comments-area,
body.tcc-co2-rewards-page .post-navigation,
body.tcc-co2-rewards-page .ast-related-posts-title,
body.tcc-co2-rewards-page .ast-single-related-posts-container{
	display:none!important
}

/* Content width matches the Learning Centre wrap (1320px). */
body.tcc-co2-rewards-page .entry-content.clear,
body.tcc-co2-rewards-page .entry-content{
	max-width:1320px!important;
	width:auto!important;
	margin:0 auto!important;
	padding:28px 32px 96px!important;
	color:#f3f1f6!important;
	display:grid!important;
	grid-template-columns:1fr!important;
	gap:20px!important;
	float:none!important
}
body.tcc-co2-rewards-page .entry-content > .tcc-co2-rewards{
	display:grid;
	gap:20px;
	margin:0
}
body.tcc-co2-rewards-page .entry-content > .tcc-co2,
body.tcc-co2-rewards-page .entry-content > .tcc-co2-rewards{
	min-width:0
}

/* ---- site header is not sticky: it scrolls away with the content ---- */
body.tcc-co2-rewards-page .elementor-location-header,
body.tcc-co2-rewards-page .elementor-location-header.elementor-sticky,
body.tcc-co2-rewards-page .elementor-location-header.elementor-sticky--active,
body.tcc-co2-rewards-page .elementor-location-header .elementor-sticky,
body.tcc-co2-rewards-page .elementor-location-header .elementor-sticky--active,
body.tcc-co2-rewards-page .elementor-location-header.elementor-sticky--effects,
body.tcc-co2-rewards-page #masthead,
body.tcc-co2-rewards-page #masthead.ast-sticky-active,
body.tcc-co2-rewards-page header.site-header,
body.tcc-co2-rewards-page .main-header-bar,
body.tcc-co2-rewards-page .ast-above-header,
body.tcc-co2-rewards-page .ast-below-header,
body.tcc-co2-rewards-page .ast-stick-primary-below-wrapper,
body.tcc-co2-rewards-page .ast-header-sticked,
body.tcc-co2-rewards-page .ast-primary-header-bar,
body.tcc-co2-rewards-page .ast-mobile-header-wrap{
	position:relative!important;
	top:auto!important;
	left:auto!important;
	right:auto!important;
	bottom:auto!important;
	transform:none!important;
	inset:auto!important
}
body.tcc-co2-rewards-page .elementor-sticky__spacer,
body.tcc-co2-rewards-page .e-con.elementor-sticky__spacer{
	display:none!important;
	height:0!important;
	min-height:0!important;
	padding:0!important;
	margin:0!important
}

/* ---- hero ---- */
body.tcc-co2-rewards-page .tcc-co2-hero{
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	gap:10px;
	margin:8px 0 8px;
	padding:8px 0 12px
}
body.tcc-co2-rewards-page .tcc-co2-hero .tcc-co2-pill{
	border-color:#5ec8ff;
	color:#5ec8ff
}
body.tcc-co2-rewards-page .tcc-co2-hero h1{
	margin:0;
	padding:0;
	color:#fff;
	font-family:Montserrat,Arial,sans-serif;
	font-size:42px;
	font-weight:800;
	line-height:1.15;
	letter-spacing:normal;
	text-transform:none
}
body.tcc-co2-rewards-page .tcc-co2-hero p{
	margin:0;
	max-width:46rem;
	color:#a89fb8;
	font-size:17px;
	line-height:1.55
}
body.tcc-co2-rewards-page .tcc-co2-hero sub{
	font-size:.65em;
	vertical-align:-.2em
}

/* Member status bar under the hero. */
body.tcc-co2-rewards-page .tcc-co2-rewards__head{
	align-items:center;
	background:linear-gradient(135deg,#1d1430,#150e1f 70%);
	border:1px solid rgba(255,255,255,.08)
}

/* Links and focus inside the page content. */
body.tcc-co2-rewards-page .entry-content a:not(.tcc-co2-btn){
	color:#5ec8ff
}
body.tcc-co2-rewards-page .entry-content a:not(.tcc-co2-btn):hover{
	color:#fff
}
body.tcc-co2-rewards-page .tcc-co2 :focus-visible{
	outline:2px solid #5ec8ff;
	outline-offset:2px
}

/* Tighten leftover paragraph wrappers wpautop may leave around shortcodes. */
body.tcc-co2-rewards-page .entry-content > p:empty{
	display:none
}

@media (max-width:700px){
	body.tcc-co2-rewards-page .entry-content.clear,
	body.tcc-co2-rewards-page .entry-content{
		padding:20px 16px 72px!important;
		gap:16px!important
	}
	body.tcc-co2-rewards-page .tcc-co2-hero h1{
		font-size:30px
	}
	body.tcc-co2-rewards-page .tcc-co2-hero p{
		font-size:15px
	}
	body.tcc-co2-rewards-page .tcc-co2-grid{
		grid-template-columns:1fr
	}
}
