:root {
	--abx-forest: #123f38;
	--abx-forest-deep: #092d29;
	--abx-teal: #078d91;
	--abx-aqua: #22b8bf;
	--abx-orange: #f39a24;
	--abx-ivory: #fff9f1;
	--abx-canvas: #f4f8f7;
	--abx-white: #fff;
	--abx-ink: #17263a;
	--abx-muted: #657187;
	--abx-line: #dce8e5;
	--abx-shadow-sm: 0 8px 24px rgba(18,63,56,.08);
	--abx-shadow-md: 0 18px 54px rgba(18,63,56,.13);
	--abx-radius-sm: 12px;
	--abx-radius-md: 18px;
	--abx-radius-lg: 28px;
	--abx-admin-height: 0px;
	--abx-header-height: 78px;
	--abx-header-offset: calc(var(--abx-admin-height) + var(--abx-header-height));
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--abx-header-offset) + 24px);
}

body.ayubha-experience-active {
	background: var(--abx-canvas);
	color: var(--abx-ink);
	font-family: Inter, "Noto Sans", "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.ayubha-experience-active,
body.ayubha-experience-active button,
body.ayubha-experience-active input,
body.ayubha-experience-active select,
body.ayubha-experience-active textarea {
	font-family: inherit;
}

body.ayubha-experience-active a {
	text-underline-offset: .18em;
}

.abx-icon {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

/* Astra public header: parent markup, child-theme presentation. */
body:not(.ayubhaedu-focus-mode) #masthead.site-header {
	position: sticky !important;
	top: var(--abx-admin-height) !important;
	z-index: 99990 !important;
	isolation: isolate;
	background: rgba(255,255,255,.94);
	box-shadow: 0 7px 30px rgba(9,45,41,.08);
	backdrop-filter: saturate(1.35) blur(16px);
	-webkit-backdrop-filter: saturate(1.35) blur(16px);
}

body:not(.ayubhaedu-focus-mode) #masthead.site-header::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: linear-gradient(90deg,var(--abx-orange),var(--abx-aqua) 46%,var(--abx-forest));
	pointer-events: none;
}

#masthead .ast-primary-header-bar,
#masthead .ast-mobile-header-wrap .ast-primary-header-bar {
	border: 0;
	background: transparent;
}

#masthead .ast-builder-grid-row {
	max-width: 1540px;
	min-height: 74px;
	padding-inline: clamp(14px,2.2vw,34px);
}

#masthead .site-logo-img img,
#masthead .custom-logo-link img {
	max-height: 58px;
	width: auto;
}

#masthead .site-title a {
	color: var(--abx-forest-deep);
	font-weight: 800;
	letter-spacing: -.02em;
}

#masthead .main-header-menu > .menu-item > .menu-link {
	position: relative;
	min-height: 52px;
	padding-inline: 13px;
	color: var(--abx-ink);
	font-size: 14px;
	font-weight: 720;
	letter-spacing: -.005em;
}

#masthead .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 5px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg,var(--abx-orange),var(--abx-teal));
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .current-menu-item > .menu-link,
#masthead .main-header-menu > .current-menu-ancestor > .menu-link {
	color: var(--abx-forest);
}

#masthead .main-header-menu > .menu-item:hover > .menu-link::after,
#masthead .main-header-menu > .current-menu-item > .menu-link::after,
#masthead .main-header-menu > .current-menu-ancestor > .menu-link::after {
	transform: scaleX(1);
}

#masthead .sub-menu {
	padding: 10px;
	border: 1px solid var(--abx-line);
	border-radius: 16px;
	background: rgba(255,255,255,.98);
	box-shadow: var(--abx-shadow-md);
}

#masthead .sub-menu .menu-link {
	min-height: 42px;
	border-radius: 10px;
	color: var(--abx-ink);
	font-size: 14px;
	font-weight: 650;
}

#masthead .sub-menu .menu-link:hover,
#masthead .sub-menu .current-menu-item > .menu-link {
	background: #edf8f6;
	color: var(--abx-forest);
}

/* Header utility cluster appended to the Astra primary menu. */
.abx-header-tools-item {
	display: flex !important;
	align-items: center;
	margin-inline-start: 8px;
}

.abx-header-tools {
	display: flex;
	align-items: center;
	gap: 7px;
}

.abx-header-tool,
.abx-header-cart > a,
.abx-header-cart .ayubhaedu-cart-icon {
	display: inline-grid !important;
	place-items: center;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px;
	padding: 0 !important;
	border: 1px solid #d8e5e2 !important;
	border-radius: 13px !important;
	background: #fff !important;
	color: var(--abx-forest) !important;
	box-shadow: 0 6px 18px rgba(18,63,56,.06);
	text-decoration: none !important;
	transition: .18s ease;
}

.abx-header-tool:hover,
.abx-header-tool:focus-visible,
.abx-header-cart > a:hover,
.abx-header-cart .ayubhaedu-cart-icon:hover {
	border-color: color-mix(in srgb,var(--abx-teal) 50%,#d8e5e2) !important;
	background: #eef9f8 !important;
	color: var(--abx-teal) !important;
	transform: translateY(-1px);
	outline: none;
}

.abx-header-cart .ayubhaedu-cart-icon b {
	background: var(--abx-orange) !important;
}

.abx-language-switcher {
	display: flex;
	align-items: center;
	min-height: 42px;
	max-width: 148px;
	padding: 4px 9px;
	border: 1px solid #d8e5e2;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(18,63,56,.06);
}

.abx-language-switcher select,
.abx-language-switcher .gt_selector,
.abx-language-switcher .trp-language-switcher > div {
	max-width: 126px;
	min-height: 32px;
	border: 0 !important;
	background: transparent !important;
	color: var(--abx-ink);
	font-size: 12px;
	font-weight: 700;
}

/* General Astra surface refinement without page-content assumptions. */
.site-content {
	min-height: 55vh;
}

.ast-container {
	width: min(100%, 1540px);
	padding-inline: clamp(14px,2.2vw,34px);
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .comment-respond,
.ast-separate-container .ast-comment-list li {
	border: 1px solid var(--abx-line);
	border-radius: var(--abx-radius-md);
	box-shadow: var(--abx-shadow-sm);
}

.entry-title,
.entry-title a,
h1,h2,h3,h4,h5,h6 {
	color: var(--abx-ink);
	letter-spacing: -.025em;
}

.wp-block-button__link,
.ast-button,
.button,
button:not(.menu-toggle):not(.ast-menu-toggle):not(.abx-mobile-hub-trigger):not(.abx-mobile-back):not(.abx-dialog-close) {
	border-radius: 12px;
}

/* Search dialog. */
.abx-search-panel,
.abx-app-modal,
.abx-mobile-hub {
	position: fixed;
	inset: 0;
	z-index: 100020;
	display: grid;
	place-items: center;
	padding: 18px;
}

.abx-search-panel[hidden],
.abx-app-modal[hidden],
.abx-mobile-hub[hidden],
.abx-search-backdrop[hidden],
.abx-app-backdrop[hidden],
.abx-mobile-hub-backdrop[hidden] {
	display: none !important;
}

.abx-search-backdrop,
.abx-app-backdrop,
.abx-mobile-hub-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100010;
	background: rgba(5,31,28,.62);
	backdrop-filter: blur(6px);
}

.abx-search-dialog,
.abx-app-dialog {
	position: relative;
	z-index: 1;
	width: min(620px,100%);
	padding: clamp(26px,4vw,46px);
	border: 1px solid rgba(255,255,255,.7);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 28px 90px rgba(5,31,28,.28);
}

.abx-search-dialog small,
.abx-app-dialog > small {
	color: var(--abx-teal);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.abx-search-dialog h2,
.abx-app-dialog h2 {
	margin: 8px 0 22px;
	font-size: clamp(28px,4vw,42px);
}

.abx-search-form {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	gap: 10px;
	align-items: stretch;
}

.abx-search-field {
	width: 100%;
	min-height: 54px;
	padding: 12px 16px;
	border: 1px solid #cadbd7;
	border-radius: 14px;
}

.abx-search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg,var(--abx-teal),var(--abx-forest));
	color: #fff;
	font-weight: 800;
}

.abx-dialog-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--abx-line);
	border-radius: 13px;
	background: #fff;
	color: var(--abx-forest);
	cursor: pointer;
}

/* Compact footer replaces Astra footer only when enabled. */
.abx-compact-footer-enabled #colophon.site-footer {
	display: none !important;
}

.abx-site-footer {
	position: relative;
	margin-top: clamp(48px,7vw,96px);
	background:
		radial-gradient(circle at 88% 16%,rgba(34,184,191,.19),transparent 27%),
		linear-gradient(145deg,#0b312d,#123f38 48%,#075f62);
	color: rgba(255,255,255,.82);
}

.abx-footer-accent {
	height: 4px;
	background: linear-gradient(90deg,var(--abx-orange),var(--abx-aqua),#fff0 80%);
}

.abx-footer-inner {
	display: grid;
	grid-template-columns: minmax(260px,1.35fr) repeat(3,minmax(150px,.65fr));
	gap: clamp(28px,4vw,68px);
	width: min(1480px,calc(100% - 36px));
	margin-inline: auto;
	padding: clamp(48px,6vw,78px) 0 46px;
}

.abx-footer-brand {
	max-width: 430px;
}

.abx-footer-logo img {
	max-width: 250px;
	max-height: 72px;
	width: auto;
}

.abx-footer-site-title {
	font-size: 27px;
	color: #fff;
}

.abx-footer-brand p {
	margin: 18px 0;
	font-size: 15px;
	line-height: 1.8;
}

.abx-footer-support {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-weight: 750;
	text-decoration: none;
}

.abx-footer-column {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
}

.abx-footer-column > strong {
	margin-bottom: 5px;
	color: #fff;
	font-size: 15px;
}

.abx-footer-column a {
	color: rgba(255,255,255,.76);
	font-size: 14px;
	text-decoration: none;
}

.abx-footer-column a:hover {
	color: #fff;
}

.abx-footer-apps a {
	display: grid;
	min-width: 175px;
	padding: 10px 14px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 13px;
	background: rgba(255,255,255,.08);
}

.abx-footer-apps small {
	font-size: 10px;
}

.abx-footer-apps span {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.abx-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	width: min(1480px,calc(100% - 36px));
	margin-inline: auto;
	padding: 18px 0 24px;
	border-top: 1px solid rgba(255,255,255,.14);
	font-size: 12px;
}

.abx-footer-bottom nav {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.abx-footer-bottom a {
	color: rgba(255,255,255,.72);
	text-decoration: none;
}

/* Mobile central hub and independent Back control. */
.abx-mobile-hub-trigger,
.abx-mobile-back,
.abx-mobile-hub,
.abx-mobile-hub-backdrop,
.abx-app-modal,
.abx-app-backdrop {
	display: none;
}

.abx-app-mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 16px;
	border-radius: 18px;
	background: linear-gradient(145deg,var(--abx-orange),#ffb85c);
	color: #fff;
	font-size: 30px;
	font-weight: 850;
	box-shadow: 0 14px 30px rgba(243,154,36,.28);
}

.abx-app-store-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 12px;
	margin-top: 22px;
}

.abx-app-store-grid a {
	display: grid;
	gap: 2px;
	padding: 15px;
	border-radius: 14px;
	background: var(--abx-forest-deep);
	color: #fff;
	text-decoration: none;
}

.abx-app-store-grid small { font-size: 10px; }
.abx-app-store-grid strong { font-size: 17px; color: #fff; }

@media (max-width: 1120px) {
	.abx-header-tools-item { display: none !important; }
	#masthead .main-header-menu > .menu-item > .menu-link { padding-inline: 10px; }
}

@media (max-width: 921px) {
	:root { --abx-header-height: 68px; }
	#masthead .ast-builder-grid-row { min-height: 66px; padding-inline: 12px; }
	#masthead .site-logo-img img,
	#masthead .custom-logo-link img { max-height: 50px; }
	.ast-mobile-header-wrap .ast-mobile-header-content { box-shadow: var(--abx-shadow-md); }
	.ast-mobile-popup-drawer .ast-mobile-popup-inner { background: #fff; }
	.ast-mobile-popup-drawer .main-header-menu .menu-link { color: var(--abx-ink); font-weight: 720; }

	.abx-mobile-hub-trigger {
		position: fixed;
		left: 50%;
		bottom: max(16px,env(safe-area-inset-bottom));
		z-index: 99980;
		display: grid;
		place-items: center;
		width: 62px;
		height: 62px;
		margin: 0;
		padding: 0;
		border: 4px solid #fff;
		border-radius: 50%;
		background: linear-gradient(145deg,var(--abx-orange),#ffb44e);
		color: #fff;
		box-shadow: 0 15px 36px rgba(70,45,8,.28);
		transform: translateX(-50%);
		cursor: pointer;
	}
	.abx-mobile-hub-trigger .abx-icon { width: 26px; height: 26px; }

	.abx-mobile-back {
		position: fixed;
		left: 13px;
		bottom: max(20px,env(safe-area-inset-bottom));
		z-index: 99979;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		min-height: 42px;
		padding: 0 12px;
		border: 1px solid rgba(255,255,255,.75);
		border-radius: 999px;
		background: rgba(255,255,255,.93);
		color: var(--abx-forest);
		box-shadow: 0 10px 26px rgba(9,45,41,.17);
		backdrop-filter: blur(10px);
		cursor: pointer;
	}
	.abx-mobile-back .abx-icon { width: 18px; height: 18px; }
	.abx-mobile-back span { font-size: 12px; font-weight: 800; }

	.abx-mobile-hub,
	.abx-app-modal { display: grid; align-items: end; padding: 0; }
	.abx-app-modal { align-items: center; padding: 16px; }
	.abx-mobile-hub-dialog {
		position: relative;
		z-index: 1;
		width: 100%;
		max-height: min(82vh,720px);
		overflow: auto;
		padding: 12px 18px max(24px,env(safe-area-inset-bottom));
		border-radius: 28px 28px 0 0;
		background: #fff;
		box-shadow: 0 -24px 70px rgba(5,31,28,.25);
	}
	.abx-mobile-hub-handle { width: 42px; height: 5px; margin: 0 auto 14px; border-radius: 999px; background: #d4dfdd; }
	.abx-mobile-hub-dialog > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
	.abx-mobile-hub-dialog > header small { color: var(--abx-teal); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
	.abx-mobile-hub-dialog > header h2 { margin: 3px 0 0; font-size: 25px; }
	.abx-mobile-hub-dialog > header button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--abx-line); border-radius: 13px; background: #fff; color: var(--abx-forest); }
	.abx-mobile-hub-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
	.abx-mobile-hub-grid a,
	.abx-mobile-hub-grid button {
		display: grid;
		place-items: center;
		align-content: center;
		gap: 7px;
		min-height: 92px;
		padding: 10px 6px;
		border: 1px solid var(--abx-line);
		border-radius: 17px;
		background: linear-gradient(145deg,#fff,#f4faf8);
		color: var(--abx-forest);
		box-shadow: 0 7px 18px rgba(18,63,56,.05);
		font-size: 11px;
		font-weight: 800;
		line-height: 1.25;
		text-align: center;
		text-decoration: none;
		cursor: pointer;
	}
	.abx-mobile-hub-grid .abx-icon { color: var(--abx-teal); }
	.abx-mobile-language { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--abx-line); border-radius: 15px; background: #fbfdfc; }
	.abx-mobile-language > span { display: inline-flex; align-items: center; gap: 7px; color: var(--abx-forest); font-size: 12px; font-weight: 800; }
	.abx-mobile-language select { max-width: 170px; }
	.abx-mobile-search { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 14px; background: linear-gradient(135deg,var(--abx-teal),var(--abx-forest)); color: #fff; font-weight: 800; }

	.abx-footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.abx-footer-brand { grid-column: 1/-1; }
}

@media (max-width: 640px) {
	.abx-search-form { grid-template-columns: 1fr; }
	.abx-search-submit { width: 100%; }
	.abx-app-store-grid { grid-template-columns: 1fr; }
	.abx-mobile-hub-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.abx-footer-inner { grid-template-columns: 1fr; gap: 30px; }
	.abx-footer-brand { grid-column: auto; }
	.abx-footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
	.abx-mobile-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

body.abx-hide-mobile-interface .abx-mobile-hub-trigger,
body.abx-hide-mobile-interface .abx-mobile-back,
body.ayubhaedu-focus-mode .abx-mobile-hub-trigger,
body.ayubhaedu-focus-mode .abx-mobile-back {
	display: none !important;
}

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

/* v0.1.1: reliable header-cart badge, independent overlay tiers, and app-safe footer. */
.abx-header-cart [data-ayubhaedu-cart-count] {
	position: absolute !important;
	top: -8px !important;
	right: -8px !important;
	display: grid !important;
	place-items: center !important;
	min-width: 23px !important;
	height: 23px !important;
	padding: 0 6px !important;
	border: 2px solid #fff !important;
	border-radius: 999px !important;
	background: var(--abx-orange) !important;
	color: #fff !important;
	font-family: Inter, "Noto Sans", system-ui, sans-serif !important;
	font-size: 11px !important;
	font-weight: 850 !important;
	font-style: normal !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-indent: 0 !important;
	text-align: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}
.abx-header-cart [data-ayubhaedu-cart-count][hidden] { display: none !important; }

.abx-mobile-hub { z-index: 100020; }
.abx-mobile-hub-backdrop { z-index: 100010; }
.abx-app-modal { z-index: 100050; }
.abx-app-backdrop { z-index: 100040; }
.abx-search-panel { z-index: 100080; }
.abx-search-backdrop { z-index: 100070; }

body.abx-app-page #colophon.site-footer,
body.abx-app-page #abx-site-footer { display: none !important; }

.abx-footer-inner {
	padding-top: clamp(40px,5vw,62px);
	padding-bottom: 34px;
}
.abx-footer-store-buttons {
	display: grid;
	gap: 10px;
	width: min(100%,210px);
}
.abx-footer-apps .abx-store-badge {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	width: 100%;
	min-height: 58px;
	padding: 10px 13px;
	border: 1px solid rgba(255,255,255,.23);
	border-radius: 15px;
	background: rgba(255,255,255,.1);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.abx-footer-apps .abx-store-badge:hover,
.abx-footer-apps .abx-store-badge:focus-visible {
	transform: translateY(-2px);
	background: rgba(255,255,255,.16);
	border-color: rgba(255,255,255,.4);
	outline: none;
}
.abx-store-badge-icon {
	display: grid;
	place-items: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(255,255,255,.12);
}
.abx-store-badge-icon .abx-icon { width: 22px; height: 22px; }
.abx-footer-apps .abx-store-badge > span:last-child { display: grid; gap: 1px; }
.abx-footer-apps .abx-store-badge small {
	font-size: 8px;
	font-weight: 750;
	letter-spacing: .08em;
	line-height: 1.1;
}
.abx-footer-apps .abx-store-badge strong {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.15;
}
@media (max-width: 640px) {
	.abx-footer-store-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
	.abx-footer-apps .abx-store-badge { min-height: 56px; padding: 9px 10px; }
	.abx-store-badge-icon { flex-basis: 30px; width: 30px; height: 30px; }
	.abx-footer-apps .abx-store-badge strong { font-size: 14px; }
}


/* v0.1.2: Astra-owned header builder, reusable learner widget and clean mobile page start. */
.abx-my-learning-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d8e5e2;
	border-radius: 13px;
	background: #fff;
	color: var(--abx-forest);
	box-shadow: 0 6px 18px rgba(18,63,56,.06);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.abx-my-learning-control:hover,
.abx-my-learning-control:focus-visible {
	border-color: color-mix(in srgb,var(--abx-teal) 50%,#d8e5e2);
	background: #eef9f8;
	color: var(--abx-teal);
	transform: translateY(-1px);
	outline: none;
}
.abx-my-learning-control .abx-icon { width: 21px; height: 21px; }

/* Astra Header Builder widgets should not inherit bulky widget spacing. */
#masthead .widget,
#masthead .widget-area,
#masthead .header-widget-area {
	margin: 0;
	padding: 0;
}

/* Remove Astra's default page-top breathing room on the static front page.
 * The page editor/hero block remains responsible for its own spacing. */
body.home #content.site-content,
body.home #primary,
body.home .site-main,
body.home article.page,
body.home article.page .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.home article.page .entry-content > :first-child { margin-top: 0 !important; }

@media (max-width: 921px) {
	body.home #content.site-content > .ast-container {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	#masthead .abx-my-learning-control {
		width: 40px;
		height: 40px;
		min-width: 40px;
		padding: 0;
		border-radius: 12px;
		box-shadow: none;
	}
	#masthead .abx-my-learning-control span { display: none; }
}

/* v0.1.3: Astra Header Builder controls and Explore mega menu. */
#masthead .widget,
#masthead .widget-area,
#masthead .ast-header-widget-area,
#masthead .ast-header-widget-area .widget {
	margin: 0;
}
.abx-header-widget-control,
.abx-my-learning-control {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid #d7e6e2;
	border-radius: 13px;
	background: #fff;
	color: var(--abx-forest);
	box-shadow: 0 6px 18px rgba(18,63,56,.06);
	font-size: 14px;
	font-weight: 780;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}
.abx-header-widget-control:hover,
.abx-header-widget-control:focus-visible,
.abx-my-learning-control:hover,
.abx-my-learning-control:focus-visible {
	border-color: color-mix(in srgb,var(--abx-teal) 52%,#d7e6e2);
	background: #edf9f7;
	color: var(--abx-teal);
	outline: none;
	transform: translateY(-1px);
}
.abx-header-widget-control .abx-icon,
.abx-my-learning-control .abx-icon { width: 21px; height: 21px; }
.abx-basket-control b {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--abx-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
	box-shadow: 0 5px 12px rgba(243,154,36,.28);
}
.abx-basket-control b[hidden] { display: none !important; }
.abx-explore-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 15px;
	border: 1px solid #d7e6e2;
	border-radius: 12px;
	background: #edf7f5;
	color: var(--abx-forest);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: .18s ease;
}
.abx-explore-control:hover,
.abx-explore-control:focus-visible,
.abx-explore-control[aria-expanded="true"] {
	border-color: var(--abx-teal);
	background: var(--abx-forest);
	color: #fff;
	outline: none;
}
.abx-explore-control .abx-icon { width: 16px; height: 16px; transition: transform .18s ease; }
.abx-explore-control[aria-expanded="true"] .abx-icon { transform: rotate(180deg); }
.abx-explore-menu {
	position: fixed;
	inset-inline: 0;
	top: var(--abx-header-offset);
	z-index: 100060;
	max-height: calc(100dvh - var(--abx-header-offset));
	overflow: auto;
	padding: 0 clamp(18px,4vw,72px) 24px;
}
.abx-explore-menu[hidden],
.abx-explore-backdrop[hidden] { display: none !important; }
.abx-explore-backdrop {
	position: fixed;
	inset: var(--abx-header-offset) 0 0;
	z-index: 100050;
	background: rgba(8,31,29,.46);
	backdrop-filter: blur(3px);
}
.abx-explore-menu-inner {
	width: min(1460px,100%);
	margin: 0 auto;
	padding: clamp(22px,3vw,38px);
	border: 1px solid var(--abx-line);
	border-top: 0;
	border-radius: 0 0 24px 24px;
	background: #fff;
	box-shadow: 0 26px 70px rgba(8,31,29,.22);
}
.abx-explore-menu-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--abx-line);
}
.abx-explore-menu-heading small {
	color: var(--abx-teal);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.abx-explore-menu-heading h2 { margin: 5px 0 0; font-size: clamp(23px,2.4vw,34px); }
.abx-explore-menu-heading button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--abx-line);
	border-radius: 12px;
	background: #fff;
	color: var(--abx-forest);
	cursor: pointer;
}
.abx-explore-columns {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: clamp(22px,3vw,50px);
	padding: 26px 0;
}
.abx-explore-columns nav { display: grid; align-content: start; gap: 9px; }
.abx-explore-columns nav > strong { margin-bottom: 5px; color: var(--abx-ink); font-size: 15px; }
.abx-explore-columns a {
	width: fit-content;
	color: #34465a;
	font-size: 14px;
	font-weight: 560;
	line-height: 1.45;
	text-decoration: none;
}
.abx-explore-columns a:hover,
.abx-explore-columns a:focus-visible { color: var(--abx-teal); text-decoration: underline; }
.abx-explore-columns .abx-explore-view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	color: var(--abx-forest);
	font-weight: 800;
}
.abx-explore-view-all .abx-icon { width: 16px; height: 16px; }
.abx-explore-footer {
	display: flex;
	align-items: center;
	gap: 9px;
	padding-top: 18px;
	border-top: 1px solid var(--abx-line);
	color: var(--abx-muted);
	font-size: 13px;
}
.abx-explore-footer > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--abx-ink); font-weight: 720; }
.abx-explore-footer .abx-icon { width: 18px; height: 18px; color: var(--abx-orange); }
.abx-explore-footer a { color: var(--abx-forest); font-weight: 780; }
@media (max-width: 980px) {
	.abx-explore-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
	.abx-header-widget-control,
	.abx-my-learning-control { width: 40px; min-width: 40px; height: 40px; padding: 0; border-radius: 12px; }
	#masthead .abx-header-widget-control span,
	#masthead .abx-my-learning-control span { display: none; }
	.abx-explore-menu { top: var(--abx-header-offset); padding: 0; }
	.abx-explore-backdrop { inset-block-start: var(--abx-header-offset); }
	.abx-explore-menu-inner { min-height: calc(100dvh - var(--abx-header-offset)); border-radius: 0; }
	.abx-explore-columns { grid-template-columns: 1fr; gap: 24px; }
	.abx-explore-footer { align-items: flex-start; flex-wrap: wrap; }
}
.abx-header-utilities {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
@media (max-width: 640px) {
	.abx-header-utilities { gap: 5px; }
}

/* v0.1.4: editable menu-backed hub/footer and safe mobile footer clearance. */
@media (max-width: 921px) {
	body.abx-mobile-hub-enabled .abx-site-footer {
		padding-bottom: calc(96px + env(safe-area-inset-bottom));
	}
	body.abx-mobile-hub-enabled .abx-footer-bottom {
		padding-bottom: 18px;
	}
	.abx-footer-bottom nav {
		row-gap: 10px;
	}
}


/* v0.1.5: mobile sticky-header top-gap correction. */
@media (max-width: 921px) {
	/* The JavaScript adds this class only when WordPress' admin bar is truly
	 * visible. Hidden/off-canvas admin bars must not reserve 46px above the
	 * sticky Astra header. */
	body:not(.abx-admin-bar-visible):not(.ayubhaedu-focus-mode) #masthead.site-header {
		top: 0 !important;
	}
	body:not(.abx-admin-bar-visible) {
		--abx-admin-height: 0px;
	}
}

/* v0.1.6: make Explore guidance actions visually distinct. */
.abx-explore-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 12px;
	border: 1px solid rgba(7,141,145,.26);
	border-radius: 999px;
	background: #f3fbfa;
	color: var(--abx-forest);
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.abx-explore-footer a:hover,
.abx-explore-footer a:focus-visible {
	border-color: var(--abx-teal);
	background: var(--abx-teal);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}
.abx-explore-footer > span:not(:first-child) { color: #7a8795; }

/* --------------------------------------------------------------------------
 * 0.3.3 — Universal compact mobile header and white application canvas
 * ----------------------------------------------------------------------- */
.abx-universal-mobile-header {
	display: none;
}

@media (max-width: 900px) {
	body:not(.ayubhaedu-focus-mode) {
		background: #fff !important;
	}

	body:not(.ayubhaedu-focus-mode) #page,
	body:not(.ayubhaedu-focus-mode) #content,
	body:not(.ayubhaedu-focus-mode) .site-content,
	body:not(.ayubhaedu-focus-mode) #primary,
	body:not(.ayubhaedu-focus-mode) #main {
		background-color: #fff !important;
	}

	/* The compact mobile header replaces Astra only on small screens. */
	body:not(.ayubhaedu-focus-mode) #masthead.site-header,
	body:not(.ayubhaedu-focus-mode) header.site-header,
	body:not(.ayubhaedu-focus-mode) .ast-mobile-header-wrap {
		display: none !important;
	}

	.abx-universal-mobile-header {
		position: sticky;
		top: var(--abx-admin-height, 0px);
		z-index: 100005;
		display: block;
		width: 100%;
		padding: 9px 0;
		border-bottom: 1px solid rgba(9, 85, 92, .10);
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 5px 20px rgba(15, 39, 38, .055);
		backdrop-filter: blur(18px);
	}

	.abx-universal-mobile-header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: min(100% - 24px, 1120px);
		min-height: 48px;
		margin-inline: auto;
	}

	.abx-universal-mobile-brand {
		display: grid;
		place-items: center;
		width: 50px;
		height: 48px;
		flex: 0 0 50px;
		border-radius: 14px;
		background: #fff;
		overflow: hidden;
	}

	.abx-universal-mobile-logo {
		display: block;
		width: 46px;
		height: 46px;
		object-fit: contain;
	}

	.abx-universal-mobile-logo-fallback {
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		border-radius: 13px;
		background: #09555c;
		color: #fff;
		font-size: 23px;
		font-weight: 900;
	}

	.abx-universal-mobile-actions {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		min-width: 0;
	}

	.abx-universal-mobile-hub,
	.abx-universal-mobile-cart .abx-basket-control {
		position: relative;
		display: grid !important;
		place-items: center;
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
		padding: 0 !important;
		border: 1px solid rgba(9, 85, 92, .15) !important;
		border-radius: 999px !important;
		background: #fff !important;
		color: #09555c !important;
		box-shadow: none !important;
		line-height: 1 !important;
	}

	.abx-universal-mobile-hub:hover,
	.abx-universal-mobile-hub:focus-visible,
	.abx-universal-mobile-cart .abx-basket-control:hover,
	.abx-universal-mobile-cart .abx-basket-control:focus-visible {
		border-color: #09555c !important;
		background: #f4fbfa !important;
		color: #09555c !important;
	}

	.abx-universal-mobile-hub .abx-icon,
	.abx-universal-mobile-cart .abx-icon {
		width: 20px !important;
		height: 20px !important;
	}

	.abx-universal-mobile-learning {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		padding: 0 15px;
		border: 1px solid rgba(9, 85, 92, .16);
		border-radius: 999px;
		background: #f7fbfa;
		color: #153c38;
		font-size: 13px;
		font-weight: 800;
		white-space: nowrap;
	}

	.abx-universal-mobile-learning:hover,
	.abx-universal-mobile-learning:focus-visible {
		border-color: #09555c;
		background: #09555c;
		color: #fff;
	}

	.abx-universal-mobile-cart [data-ayubhaedu-cart-count] {
		position: absolute !important;
		top: -5px !important;
		right: -5px !important;
		display: grid !important;
		place-items: center !important;
		min-width: 18px !important;
		height: 18px !important;
		padding: 0 4px !important;
		border: 2px solid #fff !important;
		border-radius: 999px !important;
		background: #d93636 !important;
		color: #fff !important;
		font-size: 9px !important;
		font-weight: 850 !important;
	}

	.abx-universal-mobile-cart [data-ayubhaedu-cart-count][hidden] {
		display: none !important;
	}

	/* The old floating trigger is redundant once the universal header is active. */
	.abx-mobile-hub-trigger {
		display: none !important;
	}
}

@media (max-width: 390px) {
	.abx-universal-mobile-header-inner {
		width: calc(100% - 16px);
		gap: 6px;
	}
	.abx-universal-mobile-actions { gap: 6px; }
	.abx-universal-mobile-learning { padding-inline: 11px; font-size: 12px; }
	.abx-universal-mobile-hub,
	.abx-universal-mobile-cart .abx-basket-control {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
	}
}


/* --------------------------------------------------------------------------
 * 0.3.4 — Definitive mobile viewport and full-width blueprint repair
 * ----------------------------------------------------------------------- */
@media (max-width: 900px) {
	html,
	body,
	body #page,
	body #content {
		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
	}

	body.abx-homepage-blueprint #content.site-content,
	body.abx-homepage-blueprint #content.site-content > .ast-container,
	body.abx-homepage-blueprint #primary,
	body.abx-homepage-blueprint #main,
	body.abx-homepage-blueprint article.page,
	body.abx-homepage-blueprint article.page .entry-content,
	body.abx-app-os-page #content.site-content,
	body.abx-app-os-page #content.site-content > .ast-container,
	body.abx-app-os-page #primary,
	body.abx-app-os-page #main,
	body.abx-app-os-page article.page,
	body.abx-app-os-page article.page .entry-content {
		display: block !important;
		box-sizing: border-box !important;
		float: none !important;
		clear: both !important;
		inline-size: 100% !important;
		min-inline-size: 0 !important;
		max-inline-size: 100% !important;
		margin-inline: 0 !important;
		padding-inline: 0 !important;
	}

	body.abx-homepage-blueprint .entry-content > .alignfull,
	body.abx-homepage-blueprint .abx-homepage,
	body.abx-homepage-blueprint .abx-home-hero,
	body.abx-app-os-page .entry-content > .alignfull,
	body.abx-app-os-page .abx-app-os {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		box-sizing: border-box !important;
		inline-size: 100% !important;
		min-inline-size: 0 !important;
		max-inline-size: 100% !important;
		margin-inline: 0 !important;
		transform: none !important;
	}

	body.abx-homepage-blueprint .wp-block-columns,
	body.abx-homepage-blueprint .wp-block-group,
	body.abx-app-os-page .wp-block-columns,
	body.abx-app-os-page .wp-block-group,
	body.abx-app-os-page .abx-os-shell {
		min-inline-size: 0 !important;
		max-inline-size: 100% !important;
	}

	body.abx-homepage-blueprint #secondary,
	body.abx-app-os-page #secondary {
		display: none !important;
	}
}


/* --------------------------------------------------------------------------
 * 0.3.5 — Fixed compact header and premium patterned brand surfaces
 * ----------------------------------------------------------------------- */
:root {
	--abx-premium-gradient:
		radial-gradient(circle at 14% 18%, rgba(255,255,255,.17) 0 2px, transparent 2.5px) 0 0 / 22px 22px,
		repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px),
		linear-gradient(145deg, #0b6870 0%, #09555c 50%, #063f45 100%);
	--abx-premium-gradient-hover:
		radial-gradient(circle at 82% 16%, rgba(255,255,255,.18) 0 2px, transparent 2.5px) 0 0 / 20px 20px,
		repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 17px),
		linear-gradient(145deg, #0d747d 0%, #09555c 54%, #05383e 100%);
}

body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link:visited,
body.ayubha-experience-active .ayubhaedu-button:not(.is-secondary):not(.is-outline),
body.ayubha-experience-active .ayubhaedu-button-primary,
body.ayubha-experience-active button[type="submit"]:not(.menu-toggle):not(.ast-menu-toggle):not(.abx-mobile-hub-trigger):not(.abx-os-dock-hub) {
	border-color: rgba(5,56,62,.86) !important;
	background: var(--abx-premium-gradient) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(9,85,92,.20) !important;
}

body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible,
body.ayubha-experience-active .ayubhaedu-button:not(.is-secondary):not(.is-outline):hover,
body.ayubha-experience-active .ayubhaedu-button-primary:hover,
body.ayubha-experience-active button[type="submit"]:not(.menu-toggle):not(.ast-menu-toggle):not(.abx-mobile-hub-trigger):not(.abx-os-dock-hub):hover {
	background: var(--abx-premium-gradient-hover) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.abx-native-archive-hero,
.abx-search-hero,
.abx-brand-surface,
.abx-cta-band {
	background: var(--abx-premium-gradient) !important;
}

@media (max-width: 900px) {
	/* Fixed is more reliable than sticky inside Astra/Gutenberg overflow shells. */
	.abx-universal-mobile-header {
		position: fixed !important;
		top: var(--abx-admin-height, 0px) !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 100020 !important;
		padding: 6px 0 !important;
		background: rgba(255,255,255,.97) !important;
		box-shadow: 0 7px 24px rgba(9,85,92,.08) !important;
	}

	.abx-universal-mobile-header-inner {
		min-height: 46px !important;
	}

	body:not(.ayubhaedu-focus-mode) #page {
		padding-top: 59px !important;
	}

	body.admin-bar:not(.ayubhaedu-focus-mode) #page {
		padding-top: 59px !important;
	}
}

/* --------------------------------------------------------------------------
 * 0.3.6 — Porcelain + teal visual system and universal content width
 * ----------------------------------------------------------------------- */
:root {
	--abx-layout-max: 1480px;
	--abx-layout-gutter: clamp(14px, 2.6vw, 42px);
	--abx-reading-max: 980px;
	--abx-brand-solid: #09555c;
	--abx-brand-solid-hover: #073f45;
	--abx-brand-soft: #edf6f5;
	--abx-brand-line: rgba(9, 85, 92, .14);
	--abx-surface: #ffffff;
	--abx-surface-soft: #f7f8f6;
	--abx-ink-strong: #142b2a;
	--abx-shadow-clean: 0 16px 44px rgba(20, 43, 42, .08);
	--abx-brand-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.075' stroke-width='1'%3E%3Ccircle cx='18' cy='18' r='10'/%3E%3Cpath d='M70 6h26v26H70zM8 72h38v38H8zM74 76l18-18 18 18-18 18z'/%3E%3Cpath d='M51 45h18M60 36v18'/%3E%3C/g%3E%3C/svg%3E");
}

/* One predictable shell width across the public site. */
body.ayubha-experience-active #page,
body.ayubha-experience-active #content,
body.ayubha-experience-active .site-content,
body.ayubha-experience-active main,
body.ayubha-experience-active article,
body.ayubha-experience-active .entry-content {
	min-width: 0 !important;
}

body.ayubha-experience-active #content.site-content > .ast-container,
body.ayubha-experience-active .site-content > .ast-container,
body.ayubha-experience-active .ast-primary-header-bar .site-primary-header-wrap,
body.ayubha-experience-active .ast-desktop-header-content > .ast-container,
body.ayubha-experience-active .abx-footer-inner,
body.ayubha-experience-active .abx-footer-bottom,
body.ayubha-experience-active .abx-os-shell,
body.ayubha-experience-active .ayubhaedu-course-shell,
body.ayubha-experience-active .ayubhaedu-product-shell,
body.ayubha-experience-active .ayubhaedu-dashboard,
body.ayubha-experience-active .abx-native-archive-shell {
	box-sizing: border-box !important;
	width: min(calc(100% - (2 * var(--abx-layout-gutter))), var(--abx-layout-max)) !important;
	max-width: var(--abx-layout-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.ayubha-experience-active #primary,
body.ayubha-experience-active .content-area,
body.ayubha-experience-active .site-main,
body.ayubha-experience-active article,
body.ayubha-experience-active .entry-content {
	box-sizing: border-box !important;
	min-width: 0 !important;
	max-width: none !important;
}

body.ayubha-experience-active.no-sidebar #primary,
body.ayubha-experience-active.ast-page-builder-template #primary,
body.ayubha-experience-active.abx-lms-public #primary,
body.ayubha-experience-active.abx-page-sections #primary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

/* Gutenberg full-width blocks keep their intended breakout without changing the shell. */
body.ayubha-experience-active .entry-content > .alignwide {
	width: min(100%, var(--abx-layout-max)) !important;
	max-width: var(--abx-layout-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body.ayubha-experience-active .entry-content > .alignfull {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Solid premium brand surfaces: depth comes from texture, border and shadow—not gradients. */
body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link:visited,
body.ayubha-experience-active .ayubhaedu-button:not(.is-secondary):not(.is-outline),
body.ayubha-experience-active .ayubhaedu-button-primary,
body.ayubha-experience-active button[type="submit"]:not(.menu-toggle):not(.ast-menu-toggle):not(.abx-mobile-hub-trigger):not(.abx-os-dock-hub) {
	border: 1px solid rgba(4, 52, 58, .32) !important;
	background-color: var(--abx-brand-solid) !important;
	background-image: var(--abx-brand-pattern) !important;
	background-size: 120px 120px !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(9, 85, 92, .17) !important;
}
body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
body.ayubha-experience-active .wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible,
body.ayubha-experience-active .ayubhaedu-button:not(.is-secondary):not(.is-outline):hover,
body.ayubha-experience-active .ayubhaedu-button-primary:hover,
body.ayubha-experience-active button[type="submit"]:not(.menu-toggle):not(.ast-menu-toggle):not(.abx-mobile-hub-trigger):not(.abx-os-dock-hub):hover {
	background-color: var(--abx-brand-solid-hover) !important;
	background-image: var(--abx-brand-pattern) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.abx-native-archive-hero,
.abx-search-hero,
.abx-brand-surface,
.abx-cta-band {
	background-color: var(--abx-brand-solid) !important;
	background-image: var(--abx-brand-pattern) !important;
	background-size: 120px 120px !important;
}

/* Calm white canvas everywhere. */
body.ayubha-experience-active,
body.ayubha-experience-active #page,
body.ayubha-experience-active #content.site-content {
	background: #fff !important;
}

@media (max-width: 921px) {
	:root { --abx-layout-gutter: 12px; }
	body.ayubha-experience-active #content.site-content > .ast-container,
	body.ayubha-experience-active .site-content > .ast-container,
	body.ayubha-experience-active .ayubhaedu-course-shell,
	body.ayubha-experience-active .ayubhaedu-product-shell,
	body.ayubha-experience-active .ayubhaedu-dashboard,
	body.ayubha-experience-active .abx-os-shell {
		width: calc(100% - 24px) !important;
		max-width: none !important;
	}
}

@media (max-width: 480px) {
	:root { --abx-layout-gutter: 10px; }
	body.ayubha-experience-active #content.site-content > .ast-container,
	body.ayubha-experience-active .site-content > .ast-container,
	body.ayubha-experience-active .ayubhaedu-course-shell,
	body.ayubha-experience-active .ayubhaedu-product-shell,
	body.ayubha-experience-active .ayubhaedu-dashboard,
	body.ayubha-experience-active .abx-os-shell {
		width: calc(100% - 20px) !important;
	}
}

/* --------------------------------------------------------------------------
 * 0.3.7 — Unified shell, clearer hierarchy and contextual top navigation
 * ----------------------------------------------------------------------- */
:root {
	--abx-layout-max: 1480px;
	--abx-layout-gutter: clamp(16px, 2.25vw, 34px);
	--abx-mobile-header-size: 59px;
	--abx-context-back-size: 40px;
}

/* The same physical shell now governs Gutenberg blueprints, Astra templates,
 * LMS views, archives and app screens. This removes the small but visible
 * Home/App width drift caused by page-local hard-coded gutters. */
body.ayubha-experience-active #content.site-content > .ast-container,
body.ayubha-experience-active .site-content > .ast-container,
body.ayubha-experience-active .ast-primary-header-bar .site-primary-header-wrap,
body.ayubha-experience-active .ast-desktop-header-content > .ast-container,
body.ayubha-experience-active .abx-footer-inner,
body.ayubha-experience-active .abx-footer-bottom,
body.ayubha-experience-active .abx-native-archive-shell,
body.ayubha-experience-active .ayubhaedu-course-shell,
body.ayubha-experience-active .ayubhaedu-product-shell,
body.ayubha-experience-active .ayubhaedu-dashboard,
body.ayubha-experience-active .abx-os-shell,
body.ayubha-experience-active .abx-home-v4 .abx-h4-shell,
body.ayubha-experience-active .abx-universal-mobile-header-inner,
body.ayubha-experience-active .abx-mobile-context-back-inner {
	box-sizing: border-box !important;
	width: min(calc(100% - (2 * var(--abx-layout-gutter))), var(--abx-layout-max)) !important;
	max-width: var(--abx-layout-max) !important;
	margin-inline: auto !important;
}

body.ayubha-experience-active #primary,
body.ayubha-experience-active .content-area,
body.ayubha-experience-active .site-main,
body.ayubha-experience-active article,
body.ayubha-experience-active .entry-content {
	min-width: 0 !important;
}

body.ayubha-experience-active.no-sidebar #primary,
body.ayubha-experience-active.ast-page-builder-template #primary,
body.ayubha-experience-active.abx-lms-public #primary,
body.ayubha-experience-active.abx-page-sections #primary,
body.ayubha-experience-active.abx-homepage-blueprint #primary,
body.ayubha-experience-active.abx-app-os-page #primary {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

/* The old floating bottom Back control is retired. */
.abx-mobile-back {
	display: none !important;
}

.abx-mobile-context-back-row {
	display: none;
}

/* Homepage hierarchy refinements. */
.abx-home-v4 .abx-h4-hero-grid {
	grid-template-columns: minmax(0, 1.55fr) minmax(285px, .45fr) !important;
}

.abx-home-v4 .abx-h4-hero h1 {
	max-width: 1080px !important;
	font-size: clamp(50px, 6.1vw, 82px) !important;
	line-height: .98 !important;
	letter-spacing: -.045em !important;
}

.abx-home-v4 .abx-h4-app h2 {
	max-width: 980px !important;
	font-size: clamp(38px, 4.6vw, 64px) !important;
	line-height: 1.02 !important;
	letter-spacing: -.03em !important;
}

/* Primary actions on dark brand surfaces now read as unmistakable controls. */
.abx-home-v4 .abx-h4-hero-actions .wp-block-button:first-child .wp-block-button__link,
.abx-home-v4 .abx-h4-app .wp-block-buttons .wp-block-button:first-child .wp-block-button__link {
	border: 1px solid #f1c46c !important;
	background: #f1c46c !important;
	background-image: none !important;
	color: #17312f !important;
	box-shadow: 0 12px 28px rgba(4, 35, 38, .22) !important;
}

.abx-home-v4 .abx-h4-hero-actions .wp-block-button:first-child .wp-block-button__link:hover,
.abx-home-v4 .abx-h4-app .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover {
	background: #f6d28c !important;
	color: #102826 !important;
	transform: translateY(-1px);
}

/* Pathway cards reserve real space for the action rather than absolutely
 * positioning it over the final description line. */
.abx-home-v4 .abx-h4-path {
	display: flex !important;
	flex-direction: column !important;
	min-height: 228px !important;
}

.abx-home-v4 .abx-h4-path p {
	margin-bottom: 0 !important;
}

.abx-home-v4 .abx-h4-path b {
	position: static !important;
	margin-top: auto !important;
	padding-top: 20px !important;
	line-height: 1.35 !important;
}

@media (max-width: 980px) {
	.abx-home-v4 .abx-h4-hero-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 900px) {
	:root {
		--abx-layout-gutter: 10px;
	}

	body.ayubha-experience-active #content.site-content > .ast-container,
	body.ayubha-experience-active .site-content > .ast-container,
	body.ayubha-experience-active .ayubhaedu-course-shell,
	body.ayubha-experience-active .ayubhaedu-product-shell,
	body.ayubha-experience-active .ayubhaedu-dashboard,
	body.ayubha-experience-active .abx-os-shell,
	body.ayubha-experience-active .abx-home-v4 .abx-h4-shell,
	body.ayubha-experience-active .abx-universal-mobile-header-inner,
	body.ayubha-experience-active .abx-mobile-context-back-inner {
		width: calc(100% - 20px) !important;
		max-width: calc(100% - 20px) !important;
	}

	.abx-mobile-context-back-row {
		display: block;
		position: fixed;
		top: calc(var(--abx-admin-height, 0px) + var(--abx-mobile-header-size));
		left: 0;
		right: 0;
		z-index: 100018;
		height: var(--abx-context-back-size);
		background: rgba(255, 255, 255, .96);
		border-bottom: 1px solid rgba(20, 43, 42, .08);
		backdrop-filter: blur(14px);
	}

	.abx-mobile-context-back-inner {
		display: flex;
		align-items: center;
		height: 100%;
	}

	.abx-mobile-context-back {
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
		min-height: 30px !important;
		padding: 4px 8px !important;
		border: 0 !important;
		border-radius: 10px !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #38514e !important;
		font-size: 12px !important;
		font-weight: 800 !important;
	}

	.abx-mobile-context-back:hover,
	.abx-mobile-context-back:focus-visible {
		background: #f1f6f5 !important;
		color: #09555c !important;
	}

	.abx-mobile-context-back .abx-icon {
		width: 16px;
		height: 16px;
	}

	body.abx-has-context-back:not(.ayubhaedu-focus-mode) #page {
		padding-top: calc(var(--abx-mobile-header-size) + var(--abx-context-back-size)) !important;
	}

	.abx-home-v4 .abx-h4-hero h1 {
		font-size: clamp(42px, 12vw, 58px) !important;
	}
}
