/* Approved EzQuant v6.1 site shell. Kadence Elements own placement; this CSS owns the responsive geometry. */
.ezquant-site-sidebar {
	display: none;
}

.ezquant-site-footer {
	background: #171a2d;
	box-sizing: border-box;
	color: #eef0fb;
	padding: clamp(48px, 7vw, 88px) clamp(24px, 7vw, 112px) 28px;
}

.ezquant-site-footer__grid {
	display: grid;
	gap: 34px;
	grid-template-columns: 1.25fr repeat(3, 1fr);
	margin-inline: auto;
	max-width: 1200px;
}

.ezquant-site-footer h2 {
	color: #ffffff;
	font-size: 15px;
	margin: 0 0 12px;
}

.ezquant-site-footer h2 a {
	color: inherit;
	display: inline;
	font-size: inherit;
	margin: 0;
}

.ezquant-site-footer p,
.ezquant-site-footer a {
	color: #c9cddb;
	font-size: 14px;
	line-height: 1.65;
}

.ezquant-site-footer p {
	margin: 0 0 8px;
}

.ezquant-site-footer__nav-list,
.ezquant-site-footer__nav-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ezquant-site-footer__nav-list .sub-menu {
	border-left: 1px solid rgba(255, 255, 255, .16);
	margin: 4px 0 10px 4px;
	padding-left: 12px;
}

.ezquant-site-footer__business-address,
.ezquant-site-footer__business-phone,
.ezquant-site-footer__contact-intro {
	font-size: 13px;
}

.ezquant-site-footer a {
	display: block;
	margin-bottom: 8px;
	text-decoration: none;
}

.ezquant-site-footer a:hover,
.ezquant-site-footer a:focus-visible {
	color: #bca7ff;
	text-decoration: underline;
}

.ezquant-site-footer__note {
	border-top: 1px solid rgba(255, 255, 255, .16);
	margin: 42px auto 0;
	max-width: 1200px;
	padding-top: 18px;
}

.ezquant-site-footer__copyright {
	font-size: 12px;
	margin-top: 10px;
}

/* Tutor converts the dashboard greeting emoji into an image. Keep it inline
 * with the greeting instead of letting theme image rules stretch it. */
.tutor-dashboard-header-left .tutor-h5 img.emoji,
.tutor-dashboard-header-left .tutor-h5 img.wp-smiley,
.tutor-dashboard-header-left .tutor-h5 img[role="img"] {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	display: inline-block !important;
	height: 1.15em !important;
	margin: 0 .05em !important;
	max-width: 1.15em !important;
	min-width: 1.15em !important;
	object-fit: contain !important;
	padding: 0 !important;
	vertical-align: -.16em !important;
	width: 1.15em !important;
}

@media screen and (min-width: 768px) {
	body.ezquant-site-chrome-active {
		overflow-x: hidden;
	}

	body.ezquant-site-chrome-active #masthead {
		display: none;
	}

	body.ezquant-site-chrome-active #wrapper {
		box-sizing: border-box;
		margin-left: 272px;
		width: calc(100% - 272px);
	}

	/* Kadence alignwide uses the full viewport width. Keep the empty cart centred
	 * within the space to the right of the fixed sidebar instead. */
	body.ezquant-site-chrome-active.woocommerce-cart .entry-content > .wp-block-woocommerce-cart.alignwide {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		width: 100%;
	}

	.ezquant-site-sidebar {
		background: linear-gradient(180deg, #241150 0%, #1b0d3d 100%);
		box-sizing: border-box;
		color: #ffffff;
		display: grid;
		grid-template-rows: auto minmax(0, 1fr) auto;
		height: 100dvh;
		left: 0;
		overflow: hidden;
		padding: 0;
		position: fixed;
		top: 0;
		width: 272px;
		z-index: 100;
	}

	.ezquant-site-sidebar__brand,
	.ezquant-site-sidebar__account,
	.ezquant-site-sidebar__cart {
		color: inherit;
		text-decoration: none;
	}

	.ezquant-site-sidebar__brand {
		border-bottom: 1px solid rgba(255, 255, 255, .11);
		display: grid;
		gap: 7px;
		padding: 30px 26px 26px;
	}

	.ezquant-site-sidebar__brand-name {
		display: block;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: .01em;
		line-height: 1.3;
	}

	.ezquant-site-sidebar__brand-tagline {
		color: #c2c2c7;
		display: block;
		font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
		font-size: 9px;
		font-weight: 700;
		letter-spacing: .13em;
		line-height: 1.5;
		text-transform: uppercase;
	}

	.ezquant-site-sidebar__navigation {
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 26px 18px 26px 0;
	}

	.ezquant-site-sidebar__eyebrow {
		color: #c2c2c7;
		display: block;
		font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
		font-size: 9px;
		font-weight: 700;
		letter-spacing: .13em;
		margin: 0 0 14px 26px;
		text-transform: uppercase;
	}

	.ezquant-site-sidebar__menu {
		list-style: none;
		margin: 18px 0 0;
		padding: 0;
	}

	.ezquant-site-sidebar__menu li {
		margin: 0;
	}

	.ezquant-site-sidebar__menu a {
		border-radius: 8px;
		color: #f7f4ff;
		display: block;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.35;
		padding: 13px 12px;
		text-decoration: none;
	}

	.ezquant-site-sidebar__menu .current-menu-item > a,
	.ezquant-site-sidebar__menu a:hover,
	.ezquant-site-sidebar__menu a:focus-visible {
		background: rgba(255, 255, 255, .16);
		color: #ffffff;
	}

	.ezquant-site-sidebar__menu .sub-menu {
		list-style: none;
		margin: 0 0 4px 12px;
		padding: 0;
	}

	.ezquant-site-sidebar__menu .sub-menu a {
		color: #d7d0e8;
		font-size: 13px;
		font-weight: 500;
		padding-block: 8px;
	}

	.ezquant-site-sidebar__utilities {
		align-items: center;
		border-top: 1px solid rgba(255, 255, 255, .11);
		display: flex;
		gap: 10px;
		justify-content: space-between;
		padding: 20px 24px 24px;
	}

	.ezquant-site-sidebar__account,
	.ezquant-site-sidebar__cart {
		align-items: center;
		display: inline-flex;
		font-size: 13px;
		gap: 7px;
	}

	.ezquant-site-sidebar__cart {
		border: 1px solid rgba(255, 255, 255, .34);
		border-radius: 9px;
		font-size: 15px;
		justify-content: center;
		height: 38px;
		width: 42px;
	}

	.ezquant-site-chrome__cart-count {
		font-size: 11px;
		font-weight: 700;
	}
}

@media screen and (min-width: 768px) and (max-width: 782px) {
	.admin-bar .ezquant-site-sidebar {
		height: calc(100dvh - 46px);
		top: 46px;
	}
}

@media screen and (min-width: 783px) {
	.admin-bar .ezquant-site-sidebar {
		height: calc(100dvh - 32px);
		top: 32px;
	}
}

@media screen and (max-width: 767px) {
	body.ezquant-site-chrome-active #wrapper {
		margin-left: 0;
		width: 100%;
	}

	.ezquant-site-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (min-width: 768px) and (max-width: 980px) {
	.ezquant-site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Sidebar interaction and mobile mockup layer (v6.1 follow-up). */
.ezquant-site-mobile,
.ezquant-site-mobile__drawer {
	display: none;
}

.ezquant-site-sidebar__helper {
	color: #bdb3d7;
	display: block;
	font-size: 11px;
	margin: 8px 0 12px;
}

.ezquant-site-chrome__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ezquant-site-chrome__menu .menu-item-has-children {
	position: relative;
}

.ezquant-site-submenu-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 7px;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	padding: 6px;
}

.ezquant-site-submenu-toggle[aria-expanded="true"] span {
	transform: rotate(180deg);
}

.ezquant-site-submenu-toggle span {
	display: inline-block;
	transition: transform .18s ease;
}

@media screen and (min-width: 768px) {
	.ezquant-site-sidebar .ezquant-site-chrome__menu > li {
		margin: 0;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu > li > a {
		border-radius: 8px;
		color: #f7f4ff;
		display: block;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.35;
		padding: 13px 12px 13px 26px;
		text-decoration: none;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu > li.current-menu-item > a,
	.ezquant-site-sidebar .ezquant-site-chrome__menu > li.current-menu-ancestor > a,
	.ezquant-site-sidebar .ezquant-site-chrome__menu > li > a:hover,
	.ezquant-site-sidebar .ezquant-site-chrome__menu > li > a:focus-visible {
		background: rgba(255, 255, 255, .16);
		color: #ffffff;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu .sub-menu {
		list-style: none;
		padding: 0;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu .sub-menu a {
		border-radius: 6px;
		color: #d7d0e8;
		display: block;
		font-size: 13px;
		font-weight: 500;
		padding: 8px 10px;
		text-decoration: none;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu .sub-menu a:hover,
	.ezquant-site-sidebar .ezquant-site-chrome__menu .sub-menu a:focus-visible {
		background: rgba(255, 255, 255, .1);
		color: #ffffff;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__account {
		color: #ffffff !important;
		opacity: 1;
		text-decoration: none;
		text-shadow: 0 1px 10px rgba(255, 255, 255, .16);
	}

	.ezquant-site-sidebar .ezquant-site-chrome__account-label {
		color: #ffffff !important;
		font-weight: 700;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__account {
		align-items: center;
		border-radius: 8px;
		display: flex;
		flex: 1 1 auto;
		font-size: 14px;
		font-weight: 700;
		gap: 12px;
		line-height: 1.2;
		min-height: 44px;
		min-width: 0;
		padding: 4px 6px 4px 4px;
		transition: background-color .18s ease;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__account:hover,
	.ezquant-site-sidebar .ezquant-site-chrome__account:focus-visible {
		background: rgba(255, 255, 255, .12);
		outline: none;
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu > li > a {
		margin-right: 38px;
	}

	.ezquant-site-sidebar .ezquant-site-submenu-toggle {
		color: #e9e2fb;
		position: absolute;
		right: 6px;
		top: 8px;
	}

	.ezquant-site-sidebar .ezquant-site-submenu-toggle:hover,
	.ezquant-site-sidebar .ezquant-site-submenu-toggle:focus-visible {
		background: rgba(255, 255, 255, .16);
	}

	.ezquant-site-sidebar .ezquant-site-chrome__menu .sub-menu {
		margin: 0 0 5px 14px;
	}

	.ezquant-site-sidebar .ezquant-site-sidebar__helper {
		color: #c2c2c7;
		font-size: 10px;
		margin: 18px 0 0 26px;
	}

	.ezquant-site-sidebar__account {
		font-size: 15px;
		font-weight: 700;
		gap: 10px;
		min-height: 48px;
	}

	.ezquant-site-chrome__account-avatar-wrap,
	.ezquant-site-chrome__account-avatar-wrap .tutor-avatar,
	.ezquant-site-chrome__account-avatar-wrap .tutor-ratio {
		display: block;
		height: 40px;
		width: 40px;
	}

	.ezquant-site-chrome__account-avatar-wrap img,
	.ezquant-site-chrome__account-avatar-wrap .tutor-avatar img {
		border-radius: 50%;
		display: block;
		height: 40px;
		object-fit: cover;
		width: 40px;
	}

	.ezquant-site-chrome__account-avatar-wrap .tutor-avatar-text,
	.ezquant-site-chrome__account-initials {
		align-items: center;
		background: #bca7ff;
		border-radius: 50%;
		color: #241150;
		display: flex;
		font-size: 12px;
		font-weight: 800;
		height: 40px;
		justify-content: center;
		width: 40px;
	}

	.ezquant-site-chrome__cart-link {
		align-items: center;
		border: 1px solid rgba(255, 255, 255, .34);
		border-radius: 9px;
		color: #fff;
		display: inline-flex;
		height: 42px;
		justify-content: center;
		position: relative;
		text-decoration: none;
		width: 44px;
	}

	.ezquant-site-chrome__cart-icon {
		height: 22px;
		width: 22px;
	}

	.ezquant-site-chrome__cart-text {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.ezquant-site-chrome__cart-count {
		align-items: center;
		background: #bca7ff;
		border: 2px solid #241150;
		border-radius: 50%;
		color: #241150;
		display: flex;
		font-size: 10px;
		height: 19px;
		justify-content: center;
		position: absolute;
		right: -7px;
		top: -7px;
		width: 19px;
	}
}

@media screen and (max-width: 767px) {
	body.ezquant-site-chrome-active #masthead {
		display: none;
	}

	.ezquant-site-mobile {
		background: #fff;
		box-shadow: 0 1px 10px rgba(22, 24, 43, .1);
		display: flex;
		height: 70px;
		left: 0;
		position: fixed;
		right: 0;
		top: 0;
		z-index: 1000;
	}

	.admin-bar .ezquant-site-mobile {
		top: 46px;
	}

	.ezquant-site-mobile__header {
		align-items: center;
		display: flex;
		justify-content: space-between;
		padding: 0 18px;
		width: 100%;
	}

	.ezquant-site-mobile__brand {
		color: #241150;
		font-weight: 800;
		text-decoration: none;
	}

	.ezquant-site-mobile__brand-name,
	.ezquant-site-mobile__brand-tagline {
		display: block;
	}

	.ezquant-site-mobile__brand-tagline,
	.ezquant-site-mobile__eyebrow {
		color: #756c8d;
		font-size: 8px;
		letter-spacing: .1em;
		margin-top: 3px;
	}

	.ezquant-site-mobile__actions {
		align-items: center;
		display: flex;
		gap: 10px;
	}

	.ezquant-site-mobile .ezquant-site-chrome__cart-link,
	.ezquant-site-mobile__toggle,
	.ezquant-site-mobile__close {
		align-items: center;
		background: transparent;
		border: 1px solid #ddd9e6;
		border-radius: 8px;
		box-sizing: border-box;
		color: #241150;
		display: inline-flex;
		flex: 0 0 42px;
		height: 42px;
		justify-content: center;
		padding: 0 !important;
		width: 42px;
	}

	.ezquant-site-mobile__toggle > svg,
	.ezquant-site-mobile__close > svg {
		display: block;
		flex: 0 0 24px;
		height: 24px !important;
		max-width: none !important;
		width: 24px !important;
	}

	.ezquant-site-mobile .ezquant-site-chrome__cart-count {
		border-color: #fff;
	}

	.ezquant-site-mobile__drawer[hidden] {
		display: none;
	}

	.ezquant-site-mobile__drawer {
		display: block;
		inset: 70px 0 0;
		position: fixed;
		z-index: 999;
	}

	.admin-bar .ezquant-site-mobile__drawer {
		top: 116px;
	}

	.ezquant-site-mobile__backdrop {
		background: rgba(20, 14, 45, .24);
		inset: 0;
		position: absolute;
	}

	.ezquant-site-mobile__panel {
		background: #fff;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		height: 100%;
		overflow-y: auto;
		padding: 22px 24px 30px;
		position: relative;
		width: 100%;
	}

	.ezquant-site-mobile__panel-header {
		align-items: center;
		display: flex;
		justify-content: space-between;
	}

	.ezquant-site-mobile__panel-title {
		color: #756c8d;
		font-size: 10px;
		font-weight: 800;
		letter-spacing: .12em;
	}

	.ezquant-site-mobile__navigation {
		margin-top: 25px;
	}

	.ezquant-site-mobile__helper {
		color: #756c8d;
		display: block;
		font-size: 12px;
		margin-bottom: 12px;
	}

	.ezquant-site-mobile .ezquant-site-chrome__menu--mobile a {
		border-bottom: 1px solid #eeeaf4;
		color: #241150;
		display: block;
		font-size: 16px;
		font-weight: 700;
		padding: 16px 48px 16px 0;
		text-decoration: none;
	}

	.ezquant-site-mobile .ezquant-site-chrome__menu--mobile .sub-menu {
		list-style: none;
		margin: 0 0 8px 14px;
		padding: 0;
	}

	.ezquant-site-mobile .ezquant-site-chrome__menu--mobile .sub-menu a {
		color: #5f5674;
		font-size: 14px;
		font-weight: 500;
		padding-block: 12px;
	}

	.ezquant-site-mobile .ezquant-site-chrome__menu--mobile .ezquant-site-submenu-toggle {
		color: #241150;
		position: absolute;
		right: 0;
		top: 9px;
	}

	.ezquant-site-mobile__utilities {
		align-items: center;
		border-top: 1px solid #eeeaf4;
		display: flex;
		gap: 16px;
		justify-content: space-between;
		margin-top: auto;
		padding-top: 20px;
	}

	.ezquant-site-mobile__utilities .ezquant-site-chrome__account {
		align-items: center;
		border-radius: 8px;
		color: #241150;
		display: flex;
		flex: 1 1 auto;
		font-size: 16px;
		font-weight: 700;
		gap: 10px;
		min-height: 48px;
		min-width: 0;
		padding: 4px 8px 4px 4px;
		text-decoration: none;
		transition: background-color .18s ease;
	}

	.ezquant-site-mobile__utilities .ezquant-site-chrome__account:hover,
	.ezquant-site-mobile__utilities .ezquant-site-chrome__account:focus-visible {
		background: #f3effc;
		outline: none;
	}

	.ezquant-site-mobile__utilities .ezquant-site-chrome__cart-link {
		color: #241150;
		display: inline-flex;
		flex: 0 0 42px;
		position: relative;
		text-decoration: none;
	}

	.ezquant-site-mobile__utilities .ezquant-site-chrome__cart-icon {
		display: block;
		flex: 0 0 22px;
		height: 22px !important;
		max-width: none !important;
		width: 22px !important;
	}

	.ezquant-site-mobile__utilities .ezquant-site-chrome__cart-text {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.ezquant-site-mobile__utilities .ezquant-site-chrome__cart-count {
		align-items: center;
		background: #bca7ff;
		border: 2px solid #fff;
		border-radius: 50%;
		color: #241150;
		display: flex;
		font-size: 10px;
		font-weight: 700;
		height: 19px;
		justify-content: center;
		position: absolute;
		right: -7px;
		top: -7px;
		width: 19px;
	}

	body.ezquant-site-chrome-drawer-open {
		overflow: hidden;
	}

	body.ezquant-site-chrome-active #wrapper {
		padding-top: 70px;
	}
}
