:root {
	--aso-blue: #0b4fbc;
	--aso-teal: #0f6b87;
	--aso-yellow: #ffc72c;
	--aso-green: #008751;
	--aso-surface-muted: #f4f7fb;
}

/* ---- Header logo override (the theme's own header CSS assumes a
   wide wordmark logo; ours is a square icon+wordmark lockup) ---- */
img.site-logo {
	max-height: 48px;
	width: auto;
}

/* ---- Footer (footer.php) ---- */
.aso-footer {
	background: #0b2a47;
	color: rgba( 255, 255, 255, 0.85 );
	padding: 48px 0 0;
	margin-top: 40px;
}
.aso-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 32px;
}
.aso-footer__brand img {
	height: 36px;
	margin-bottom: 10px;
}
.aso-footer__brand p {
	color: rgba( 255, 255, 255, 0.65 );
	max-width: 280px;
}
.aso-footer__col h4 {
	color: #fff;
	font-size: 0.95rem;
	margin-bottom: 14px;
}
.aso-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.aso-footer__col li {
	margin-bottom: 8px;
}
.aso-footer__col a {
	color: rgba( 255, 255, 255, 0.75 );
	text-decoration: none;
}
.aso-footer__col a:hover {
	color: var( --aso-yellow );
}
.aso-footer__bottom {
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
	padding: 18px 0;
	text-align: center;
	font-size: 0.85rem;
	color: rgba( 255, 255, 255, 0.6 );
}

@media ( max-width: 700px ) {
	.aso-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ---- Shared buttons (in case a page doesn't also load the plugin's
   own elementor-widgets.css, which is only conditionally enqueued) ---- */
.aso-fm-button {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
}
.aso-fm-button-primary {
	background: var( --aso-blue );
	color: #fff;
}
.aso-fm-button-accent {
	background: var( --aso-yellow );
	color: #0b2a47;
}

/* ---- Homepage (template-homepage.php) ---- */
.aso-home-hero {
	background-color: var( --aso-blue );
	background-size: cover;
	background-position: center;
	position: relative;
	padding: 72px 0;
	color: #fff;
}
.aso-home-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( 100deg, rgba( 11, 79, 188, 0.92 ) 0%, rgba( 15, 107, 135, 0.75 ) 100% );
}
.aso-home-hero__inner {
	position: relative;
	z-index: 1;
}
.aso-home-hero h1 {
	color: #fff;
	font-size: 2.4rem;
	max-width: 620px;
	margin: 0 0 12px;
}
.aso-home-hero__text {
	max-width: 560px;
	color: rgba( 255, 255, 255, 0.9 );
	margin-bottom: 32px;
}
.aso-home-stats {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 16px;
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba( 11, 42, 71, 0.15 );
	max-width: 760px;
}
.aso-home-stat {
	text-align: center;
}
.aso-home-stat__value {
	display: block;
	font-size: 1.6rem;
	font-weight: 800;
	color: var( --aso-blue );
}
.aso-home-stat__label {
	display: block;
	font-size: 0.8rem;
	color: #475467;
}

.aso-home-features {
	padding: 56px 0;
	text-align: center;
}
.aso-home-features__grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 20px;
	margin: 32px 0;
}
.aso-home-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 12px;
	border-radius: 12px;
	border: 1px solid #e3e8ef;
	text-decoration: none;
	color: #0b2a47;
	font-weight: 600;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.aso-home-feature:hover {
	box-shadow: 0 8px 20px rgba( 11, 42, 71, 0.1 );
	transform: translateY( -2px );
}
.aso-home-feature__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var( --aso-surface-muted );
	color: var( --aso-blue );
	font-size: 1.3rem;
}
.aso-home-cta {
	margin-top: 24px;
}

@media ( max-width: 900px ) {
	.aso-home-stats,
	.aso-home-features__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

/* ---- Fellowship Application wizard (template-fellowship-apply.php) ---- */
.aso-fa-body {
	padding: 40px 0;
}
.aso-fa-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}
.aso-fa-steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 10px;
	border-left: 3px solid transparent;
	color: #475467;
	cursor: pointer;
}
.aso-fa-steps li.is-active {
	border-left-color: var( --aso-blue );
	color: #0b2a47;
	font-weight: 700;
}
.aso-fa-steps li.is-done .aso-fa-step-num {
	background: var( --aso-green );
	color: #fff;
}
.aso-fa-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e3e8ef;
	font-size: 0.8rem;
	flex: 0 0 auto;
}
.aso-fa-steps li.is-active .aso-fa-step-num {
	background: var( --aso-blue );
	color: #fff;
}

.aso-fa-card {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	padding: 28px;
}
.aso-fa-card form fieldset {
	border: none;
	padding: 0;
	margin: 0 0 20px;
}
.aso-fa-card form legend {
	font-weight: 700;
	color: var( --aso-blue );
	margin-bottom: 12px;
	font-size: 1.1rem;
}
.aso-fa-payment-panel {
	background: var( --aso-surface-muted );
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 20px;
}
.aso-fa-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

@media ( max-width: 900px ) {
	.aso-fa-steps {
		display: flex;
		overflow-x: auto;
		gap: 4px;
	}
	.aso-fa-steps li {
		flex: 0 0 auto;
		border-left: none;
		border-bottom: 3px solid transparent;
	}
	.aso-fa-steps li.is-active {
		border-bottom-color: var( --aso-blue );
	}
}

/* ---- Fellowship Program (template-fellowship.php) ---- */
.aso-fp-hero {
	background: linear-gradient( 135deg, var( --aso-blue ), var( --aso-teal ) );
	color: #fff;
	padding: 56px 0;
}
.aso-fp-hero h1 {
	color: #fff;
	margin-bottom: 8px;
}
.aso-fp-hero p {
	color: rgba( 255, 255, 255, 0.85 );
	margin-bottom: 20px;
	max-width: 560px;
}

.aso-fp-body {
	padding: 40px 0;
}
.aso-fp-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 2px solid #e3e8ef;
	margin-bottom: 32px;
}
.aso-fp-tabs a {
	padding: 10px 18px;
	text-decoration: none;
	color: #475467;
	font-weight: 600;
}
.aso-fp-tabs a:hover {
	color: var( --aso-blue );
}
.aso-fp-section {
	margin-bottom: 48px;
	scroll-margin-top: 90px;
}
.aso-fp-designations {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 20px;
	margin-top: 24px;
}
.aso-fp-designation-card {
	background: var( --aso-surface-muted );
	border-radius: 12px;
	padding: 20px;
}
.aso-fp-designation-card h3 {
	color: var( --aso-blue );
	margin-top: 0;
}
.aso-fp-pathway-steps {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}
.aso-fp-pathway-steps li {
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 8px;
	margin-bottom: 10px;
}

@media ( max-width: 700px ) {
	.aso-fp-designations {
		grid-template-columns: 1fr;
	}
	.aso-fp-tabs {
		flex-wrap: wrap;
	}
}

/* ---- Stroke Master Class (template-stroke-master-class.php) ---- */
.aso-mc-hero {
	background: linear-gradient( 135deg, var( --aso-blue ), #0b2a47 );
	color: #fff;
	padding: 56px 0;
}
.aso-mc-hero h1 {
	color: #fff;
	margin-bottom: 8px;
}
.aso-mc-hero p {
	color: rgba( 255, 255, 255, 0.85 );
	margin-bottom: 20px;
}
.aso-mc-hero-stats {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 28px;
	color: rgba( 255, 255, 255, 0.9 );
}
.aso-mc-hero-stats span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.aso-mc-body {
	padding: 40px 0;
}
.aso-mc-sidebar-card {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}
.aso-mc-sidebar-card ul {
	padding-left: 18px;
	color: #475467;
}
.aso-mc-fee {
	font-weight: 700;
	color: var( --aso-blue );
	margin-bottom: 16px;
}

/* ---- Member Dashboard (template-dashboard.php) ---- */
.aso-dash {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 32px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 20px;
}
.aso-dash-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	overflow: hidden;
}
.aso-dash-sidebar li a {
	display: block;
	padding: 12px 18px;
	color: #0b2a47;
	text-decoration: none;
	border-bottom: 1px solid #e3e8ef;
}
.aso-dash-sidebar li:last-child a {
	border-bottom: none;
}
.aso-dash-sidebar li.is-active a {
	background: var( --aso-blue );
	color: #fff;
	font-weight: 700;
}

.aso-dash-main h1 {
	margin-bottom: 4px;
}
.aso-dash-subtitle {
	color: #475467;
	margin-bottom: 28px;
}

.aso-dash-top {
	display: flex;
	align-items: center;
	gap: 32px;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}
.aso-dash-cpd-ring {
	position: relative;
	width: 120px;
	height: 120px;
	flex: 0 0 auto;
}
.aso-dash-cpd-ring__label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.aso-dash-cpd-ring__label strong {
	font-size: 1.3rem;
	color: #0b2a47;
}
.aso-dash-cpd-ring__label span {
	font-size: 0.7rem;
	color: #475467;
}

.aso-dash-stat-tiles {
	display: flex;
	gap: 24px;
	flex: 1;
	flex-wrap: wrap;
}
.aso-dash-stat-tile {
	display: flex;
	flex-direction: column;
	min-width: 100px;
}
.aso-dash-stat-tile strong {
	font-size: 1.5rem;
	color: var( --aso-blue );
}
.aso-dash-stat-tile span {
	color: #475467;
	font-size: 0.85rem;
}

.aso-dash-progress-row {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 16px;
	margin-bottom: 32px;
}
.aso-dash-mini-ring {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	padding: 18px;
	text-align: center;
}
.aso-dash-mini-ring strong {
	display: block;
	font-size: 1.2rem;
	color: var( --aso-teal );
}
.aso-dash-mini-ring span {
	color: #475467;
	font-size: 0.8rem;
}

.aso-dash-widget {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 24px;
}

@media ( max-width: 820px ) {
	.aso-dash {
		grid-template-columns: 1fr;
	}
	.aso-dash-progress-row {
		grid-template-columns: 1fr;
	}
}

/* ---- Learning Paths (template-learning-paths.php) ---- */
.aso-lp-hero {
	background: linear-gradient( 135deg, var( --aso-blue ), var( --aso-teal ) );
	color: #fff;
	padding: 56px 0;
	margin-bottom: 32px;
}
.aso-lp-hero h1 {
	color: #fff;
	margin: 0 0 8px;
}
.aso-lp-hero p {
	color: rgba( 255, 255, 255, 0.85 );
	max-width: 640px;
	margin: 0;
}

.aso-lp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}
.aso-lp-filter {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var( --aso-blue );
	color: var( --aso-blue );
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.aso-lp-filter:hover {
	background: var( --aso-surface-muted );
}
.aso-lp-filter.is-active {
	background: var( --aso-blue );
	color: #fff;
}

.aso-lp-empty {
	padding: 40px 0;
	text-align: center;
	color: #475467;
}

.aso-lp-pagination {
	margin: 32px 0;
	text-align: center;
}
.aso-lp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	margin: 0 4px;
	border-radius: 6px;
	border: 1px solid #e3e8ef;
	color: var( --aso-blue );
	text-decoration: none;
}
.aso-lp-pagination .page-numbers.current {
	background: var( --aso-blue );
	color: #fff;
	border-color: var( --aso-blue );
}

/* ---- Course info sidebar + card meta (fallback spacing, in case the
   parent theme's own CSS doesn't target this exact markup/context) ---- */
.course-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.course-info-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid #e3e8ef;
}
.course-info-list .label {
	color: #475467;
	margin-right: 4px;
}
.course-info-list .value {
	font-weight: 600;
	color: #0b2a47;
	margin-left: auto;
}
.course__content--meta .course__meta-left {
	display: flex;
	gap: 16px;
}
.course-lessons,
.course-enroll {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---- Course card thumbnail fallback (no featured image set yet) ---- */
.course-thumb-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: linear-gradient( 135deg, var( --aso-blue ), var( --aso-teal ) );
}

/* ---- Locked / membership-gated course card ---- */
.edubin-course.is-locked .course__media img {
	filter: blur( 6px );
}
.edubin-course.is-locked .course__media {
	position: relative;
}
.edubin-course.is-locked .course__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba( 11, 42, 71, 0.35 );
}
.aso-lock-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	text-align: center;
}
.aso-lock-overlay .aso-join-btn {
	background: var( --aso-yellow );
	color: #0b2a47;
	font-weight: 700;
	padding: 8px 20px;
	border-radius: 6px;
	text-decoration: none;
}
