/* Landing page styling layered on top of editable Elementor widgets. */

body {
	font-family: 'Cairo', 'Tajawal', sans-serif;
}

.nw-page {
	background-color: #FAFAFA;
	color: #111827;
}

.e-con.nw-header,
.nw-header {
	position: sticky !important;
	top: 0;
	z-index: 50;
	background-color: rgba(255, 255, 255, 0.94) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.e-con.nw-header .elementor-widget-icon-list .elementor-icon-list-icon,
.e-con.nw-header .elementor-icon {
	width: 1.1em;
	text-align: center;
}

/* The ElementsKit header template covers the pages that keep the theme chrome,
   while home/courses use .nw-header. Pin both so the menu never scrolls out. */
.ekit-template-content-header {
	position: sticky !important;
	top: 0;
	z-index: 50;
	background-color: #FFFFFF;
}

/* Match the .nw-header height (86px) so the bar does not resize between pages. */
@media (min-width: 1025px) {
	.ekit-template-content-header > .elementor > .e-con {
		height: 86px !important;
		min-height: 0 !important;
		padding: 0 !important;
		align-items: center !important;
	}

	/* Same gutters as the Canvas header, so the logo and the account control
	   sit on the same pixel column on every page. */
	.ekit-template-content-header > .elementor > .e-con > .e-con-inner {
		display: grid !important;
		grid-template-columns: max-content 1fr max-content !important;
		align-items: center !important;
		gap: 24px;
		max-width: 100% !important;
		padding-inline: 24px !important;
	}

	.ekit-template-content-header > .elementor > .e-con > .e-con-inner > .e-con {
		min-width: 0;
		/* The columns shipped with a 10px gutter of their own; the grid gap
		   already spaces them, and the extra padding pushed the logo and the
		   account control 20px inwards compared with the Canvas header. */
		padding: 0 !important;
	}

	.ekit-template-content-header > .elementor > .e-con > .e-con-inner > .e-con:last-child {
		width: auto !important;
		justify-content: flex-end;
	}

	/* Same reading order as the Canvas header: logo, centred menu, account. */
	.ekit-template-content-header > .elementor > .e-con > .e-con-inner > .e-con:nth-child(2) {
		justify-content: center !important;
		justify-self: stretch !important;
		width: 100% !important;
	}

	.ekit-template-content-header .elementskit-menu-container {
		margin-inline: auto !important;
	}

	.ekit-template-content-header .elementskit-navbar-nav {
		justify-content: center !important;
	}

	.ekit-template-content-header .elementskit-menu-container,
	.ekit-template-content-header .elementskit-navbar-nav {
		height: 58px !important;
		min-height: 58px !important;
		display: flex;
		align-items: center;
	}

	/* The menu shipped with a fixed 527px panel width, which is too narrow for
	   six links and pushed the last one onto a second row. */
	.ekit-template-content-header .elementor-widget-ekit-nav-menu,
	.ekit-template-content-header .elementskit-menu-container {
		width: 100% !important;
		max-width: none !important;
	}

	/* Centre the six links in the bar, as the Canvas header does. */
	.ekit-template-content-header .elementskit-menu-container {
		display: flex !important;
		justify-content: center !important;
	}

	.ekit-template-content-header .elementskit-navbar-nav {
		margin-inline: auto !important;
		flex-wrap: nowrap;
	}

	.ekit-template-content-header .elementor-widget-image img {
		height: 62px !important;
		width: auto !important;
		/* Elementor's `max-width: 100%` turns into a cyclic size here and
		   collapses the logo to a few pixels, so opt out of it. */
		max-width: none !important;
	}

	.ekit-template-content-header .nw-account {
		width: 44px !important;
		flex: 0 0 44px;
	}

	.ekit-template-content-header .nw-account .elementor-widget-container {
		display: flex;
		justify-content: flex-end;
	}
}

/* -------------------------------------------------------------------------
 * Account control — one round button in place of the "حسابي" menu link so the
 * bar keeps six links. Used by the ElementsKit header and by the Canvas
 * headers (home/courses), so both bars stay identical.
 * ---------------------------------------------------------------------- */

.nw-account .elementor-button,
.nw-account.elementor-button,
.nw-header .nw-account .elementor-button,
.ekit-template-content-header .nw-account .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	min-height: 0;
	flex: 0 0 auto;
	padding: 0 !important;
	border: 1.5px solid #E2E8F0 !important;
	border-radius: 999px !important;
	background-color: #FFFFFF;
	background-image: none;
	color: #0F172A;
	box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.16);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
		transform 0.2s ease, box-shadow 0.2s ease;
}

.nw-account .elementor-button-content-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.nw-account .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
	transition: transform 0.2s ease;
}

/* Keeps the control's accessible name without showing the label. */
.nw-account .elementor-button-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nw-account .elementor-button:hover,
.nw-account .elementor-button:focus-visible,
.nw-account.elementor-button:hover,
.nw-account.elementor-button:focus-visible {
	background-color: #D97706;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	border-color: #D97706 !important;
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 10px 20px -10px rgba(180, 83, 9, 0.85);
}

.nw-account .elementor-button:hover .elementor-button-icon,
.nw-account .elementor-button:focus-visible .elementor-button-icon {
	transform: scale(1.06);
}

.nw-account .elementor-button:focus-visible {
	outline: 2px solid #B45309;
	outline-offset: 2px;
}

/* The control shrinks with the rest of the bar on phones. Declared after the
   base rules so the smaller size wins at equal specificity. */
@media (max-width: 1024px) {
	.ekit-template-content-header .elementor-widget-image img {
		height: 44px !important;
		width: auto !important;
		max-width: none !important;
	}

	.ekit-template-content-header .nw-account .elementor-button,
	.nw-header .nw-account .elementor-button {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		max-width: 38px !important;
	}

	.ekit-template-content-header .nw-account .elementor-button-icon {
		font-size: 14px;
	}
}

.nw-nav .elementor-icon-list-items.elementor-inline-items {
	flex-wrap: wrap;
	justify-content: center;
}

/* -------------------------------------------------------------------------
 * One navigation look for both header implementations.
 *
 * Home / courses are built with an Elementor icon-list (.nw-nav); every other
 * page is wrapped by the ElementsKit header template, which renders the
 * WordPress menu. Both are normalised to the same type, colour, spacing and
 * icons here, so the bar is identical on every page.
 * ---------------------------------------------------------------------- */

.nw-nav .elementor-icon-list-items {
	gap: 0 !important;
}

.nw-nav .elementor-icon-list-item {
	margin: 0 !important;
}

.nw-nav .elementor-icon-list-item > a,
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li > a {
	display: inline-flex !important;
	align-items: center;
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	letter-spacing: normal !important;
	color: #475569 !important;
	background: none !important;
	padding: 0 11px 3px !important;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.nw-nav .elementor-icon-list-item > a:hover,
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li > a:hover,
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:hover > a {
	color: #1E3A8A !important;
}

/* The page you are on: dark text with the gold underline. The Canvas header has
   no per-item class, so nav.php prints its rule by href; the theme header gets
   the state from WordPress. */
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li.current-menu-item > a,
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li.current-menu-ancestor > a {
	color: #0F172A !important;
	font-weight: 700 !important;
	border-bottom-color: #D97706 !important;
}

/* Icons: the icon-list ships real SVGs, so the theme header draws the same
   glyphs from Font Awesome in the same size and colour. */
.nw-nav .elementor-icon-list-icon {
	width: 15px !important;
	flex: 0 0 15px !important;
	margin-inline-end: 8px !important;
}

/* The icon sits in a flex row; without an explicit basis it shrinks to a
   sliver, which is what made the home nav icons look like thin dashes. */
.nw-nav .elementor-icon-list-icon svg {
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	flex: 0 0 auto !important;
}

.nw-nav .elementor-icon-list-text {
	padding-inline-start: 0 !important;
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li > a::before {
	display: inline-block;
	margin-inline-end: 8px;
	color: #D97706;
	font-family: 'Font Awesome 5 Free';
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	transition: color 0.2s ease;
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:nth-child(1) > a::before {
	content: '\f015'; /* home */
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:nth-child(2) > a::before {
	content: '\f19d'; /* graduation-cap */
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:nth-child(3) > a::before {
	content: '\f5fd'; /* layer-group */
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:nth-child(4) > a::before {
	content: '\f1ea'; /* newspaper */
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:nth-child(5) > a::before {
	content: '\f290'; /* shopping-bag */
}

.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li:nth-child(6) > a::before {
	content: '\f095'; /* phone */
}

.nw-gold-text {
	background: linear-gradient(135deg, #B45309 0%, #D97706 40%, #F59E0B 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #D97706;
}

.nw-outline-btn .elementor-button {
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	color: #0F172A;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.nw-outline-btn .elementor-button:hover,
.nw-outline-btn .elementor-button:focus {
	background-color: #F8FAFC;
	border-color: #CBD5E1;
	color: #0F172A;
}

.nw-gold-btn .elementor-button,
.nw-gold-btn.elementor-button {
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	box-shadow: 0 12px 24px -12px rgba(217, 119, 6, 0.75);
}

.nw-gold-btn .elementor-button:hover,
.nw-gold-btn.elementor-button:hover {
	background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.nw-navy-btn .elementor-button {
	box-shadow: 0 12px 24px -12px rgba(30, 58, 138, 0.7);
}

.nw-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nw-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 45px -25px rgba(15, 23, 42, 0.45);
}

.nw-media {
	position: relative;
	overflow: hidden;
}

.nw-hero-media {
	height: 440px;
}

.nw-card-media {
	height: 215px;
}

.nw-blog-media {
	height: 172px;
}

.nw-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nw-media .elementor-widget-image,
.nw-media .elementor-widget-image img {
	width: 100%;
	display: block;
}

.nw-media .elementor-widget-image img {
	height: 100%;
	object-fit: cover;
}

.nw-hero-media .elementor-widget-image img {
	height: 430px !important;
	max-height: 430px;
}

.nw-card-media .elementor-widget-image img {
	height: 215px !important;
	max-height: 215px;
}

.nw-blog-media .elementor-widget-image img {
	height: 172px !important;
	max-height: 172px;
}

.nw-badge {
	width: max-content !important;
	max-width: 100%;
}

.nw-header .elementor-widget-image img,
.ekit-template-content-header .elementor-widget-image img {
	height: 62px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain;
}

/* Dynamic card loops rendered by the landing shortcodes. */
.nw-loop {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.nw-item {
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nw-item:hover {
	transform: translateY(-4px);
	border-color: rgba(217, 119, 6, 0.6);
	box-shadow: 0 22px 45px -25px rgba(15, 23, 42, 0.45);
}

.nw-item-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.nw-item-media {
	position: relative;
	height: 215px;
	overflow: hidden;
	background-color: #F1F5F9;
}

.nw-item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.nw-item:hover .nw-item-media img {
	transform: scale(1.05);
}

.nw-item-blank {
	display: block;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(135deg, #FEF3C7 0%, #F1F5F9 100%);
}

.nw-chip {
	position: absolute;
	right: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	background-color: #FFFBEB;
	color: #92400E;
	border: 1px solid #FDE68A;
}

.nw-chip:first-of-type {
	top: 12px;
}

.nw-chip--gold {
	background-color: #FFFBEB;
	color: #92400E;
	border-color: #FDE68A;
}

.nw-chip--dark {
	top: auto;
	bottom: 12px;
	background-color: rgba(15, 23, 42, 0.62);
	color: #FFFFFF;
	border-color: transparent;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.nw-item-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px 22px 0;
}

.nw-item-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
	color: #0F172A;
	transition: color 0.2s ease;
}

.nw-item:hover .nw-item-title {
	color: #D97706;
}

.nw-item-excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #475569;
}

.nw-item-meta {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	color: #475569;
}

.nw-item-meta li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nw-item-meta i {
	color: #D97706;
	font-size: 14px;
	width: 16px;
	text-align: center;
}

.nw-item-meta strong {
	color: #0F172A;
	font-weight: 700;
}

.nw-item-extras {
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	color: #94A3B8;
}

.nw-item-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 18px 22px 22px;
	border-top: 1px solid #F1F5F9;
	margin-top: 20px;
}

.nw-item-foot--plain {
	justify-content: flex-start;
}

.nw-item-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.nw-item-amount {
	font-size: 20px;
	font-weight: 800;
	color: #0F172A;
}

.nw-item-old {
	font-size: 12px;
	color: #94A3B8;
	text-decoration: line-through;
}

.nw-item-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow 0.2s ease, background-image 0.2s ease;
}

.nw-item-btn--gold {
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	box-shadow: 0 12px 24px -14px rgba(217, 119, 6, 0.85);
}

.nw-item-btn--gold:hover {
	background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
	color: #FFFFFF;
}

.nw-item-btn--navy {
	background-color: #1E3A8A;
	box-shadow: 0 12px 24px -14px rgba(30, 58, 138, 0.85);
}

.nw-item-btn--navy:hover {
	background-color: #172554;
	color: #FFFFFF;
}

.nw-item-more {
	font-size: 12px;
	font-weight: 700;
	color: #D97706;
	text-decoration: none;
}

.nw-item-more:hover {
	color: #92400E;
}

.nw-empty {
	margin: 0;
	padding: 18px;
	border: 1px dashed #CBD5E1;
	border-radius: 14px;
	color: #64748B;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 1024px) {
	.nw-loop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nw-loop {
		grid-template-columns: minmax(0, 1fr);
	}

	.nw-item-media {
		height: 190px;
	}
}

@media (max-width: 1024px) {
	.nw-hero-media {
		height: 340px;
	}
}

@supports not (inset: 0) {
	.nw-media img {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}
}

.nw-media-rel {
	position: relative;
}

.nw-media .nw-overlay {
	position: absolute !important;
	z-index: 3;
	width: max-content !important;
	max-width: calc(100% - 24px);
}

.nw-media .nw-overlay-top {
	top: 12px !important;
	right: 12px !important;
}

.nw-media .nw-overlay-bottom {
	bottom: 12px !important;
	right: 12px !important;
}

.nw-link-btn .elementor-button {
	justify-content: flex-start;
	padding: 12px 0 0;
	background: transparent;
}

.nw-media-contain img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.e-con.nw-dark-card .elementor-heading-title,
.nw-dark-card .elementor-heading-title,
.nw-dark-card .elementor-widget-text-editor,
.nw-dark-card p {
	color: #E2E8F0;
}

.nw-dark-card .nw-dark-title .elementor-heading-title {
	color: #FFFFFF;
}

.nw-stars .elementor-icon-list-icon {
	color: #F59E0B;
}

.nw-meta .elementor-icon-list-text {
	color: #475569;
	font-weight: 500;
}

.nw-meta .elementor-icon-list-icon {
	color: #D97706;
}

.nw-footer-link .elementor-icon-list-text {
	color: #475569;
	font-weight: 600;
}

.nw-footer-link .elementor-icon-list-icon {
	color: #D97706;
}

@media (max-width: 1024px) {
	.nw-hide-md-down {
		display: none !important;
	}

	.e-con.nw-header {
		grid-template-columns: max-content 1fr max-content max-content !important;
		column-gap: 12px;
		row-gap: 0;
		padding: 8px 24px !important;
		align-items: center !important;
		align-content: center !important;
	}

	.e-con.nw-header > .elementor-widget-image {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	/* Account control and the menu button share the far side of the bar. */
	.e-con.nw-header > .nw-account {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.e-con.nw-header > .nw-burger {
		grid-column: 4;
		grid-row: 1;
		justify-self: end;
	}

	.e-con.nw-header .nw-account .elementor-button {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		max-width: 38px !important;
	}

	.e-con.nw-header .nw-account .elementor-button-icon {
		font-size: 14px;
	}

	.nw-header .elementor-widget-image img {
		height: 44px !important;
		width: auto !important;
		max-width: none !important;
	}

	/* The inline row is replaced by the shared drawer built in nav.php. */
	html.nw-menu-ready .e-con.nw-header > .nw-nav {
		display: none !important;
	}
}

/* Menu button, shared by every header. */
.nw-burger {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1.5px solid #E2E8F0;
	border-radius: 12px;
	background-color: #FFFFFF;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nw-burger span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background-color: #0F172A;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.nw-burger:hover,
.nw-burger:focus-visible {
	border-color: #D97706;
	background-color: #FFF7ED;
	outline: none;
}

.nw-burger:focus-visible {
	outline: 2px solid #B45309;
	outline-offset: 2px;
}

.nw-menu-open .nw-burger span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nw-menu-open .nw-burger span:nth-child(2) {
	opacity: 0;
}

.nw-menu-open .nw-burger span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1024px) {
	.nw-burger {
		display: inline-flex;
	}
}

@media (max-width: 480px) {
	.nw-header .elementor-widget-image img {
		max-height: 44px;
	}
}

/* -------------------------------------------------------------------------
 * Mobile menu.
 *
 * One drawer for the whole site. nav.php builds it from whichever menu the
 * current header renders (the Canvas icon-list on home/courses, the mobile
 * copy of the WordPress menu elsewhere) and moves it into a shared panel, so
 * every page opens the same drawer from the same edge with the same look.
 * ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
	/* Phone bar: same arrangement as the Canvas header, so the logo, the
	   account control and the menu button sit in the same corners. */
	.ekit-template-content-header .elementor-hidden-desktop,
	.ekit-template-content-header .elementor-hidden-desktop > .e-con-inner {
		padding: 0 !important;
	}

	.ekit-template-content-header .elementor-hidden-desktop > .e-con-inner > .e-con {
		position: relative;
		display: grid !important;
		grid-template-columns: max-content 1fr max-content max-content !important;
		align-items: center;
		gap: 0 12px;
		/* Matches the 80px bar the Canvas header keeps on phones. */
		min-height: 80px;
		padding: 8px 24px !important;
	}

	.ekit-template-content-header .elementor-hidden-desktop > .e-con-inner > .e-con > .elementor-widget-image {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		width: auto !important;
	}

	.ekit-template-content-header .elementor-hidden-desktop > .e-con-inner > .e-con > .e-con:nth-child(3) {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		width: auto !important;
		padding: 0 !important;
	}

	/* The menu column becomes the menu button's slot. */
	.ekit-template-content-header .elementor-hidden-desktop > .e-con-inner > .e-con > .e-con:nth-child(1) {
		grid-column: 4;
		grid-row: 1;
		display: flex;
		align-items: center;
		justify-self: end;
		width: max-content !important;
		padding: 0 !important;
	}

	/* ElementsKit's own drawer and button are replaced by the shared ones. */
	html.nw-menu-ready .ekit-template-content-header .elementor-hidden-desktop .elementor-widget-ekit-nav-menu,
	html.nw-menu-ready .ekit-template-content-header .elementskit-menu-hamburger,
	html.nw-menu-ready .ekit-template-content-header .elementskit-menu-overlay {
		display: none !important;
	}

	.ekit-template-content-header .elementor-widget-image img {
		height: 44px !important;
		width: auto !important;
		max-width: none !important;
	}
}

/* The shared drawer ------------------------------------------------------- */
.nw-drawer {
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: min(320px, 84vw);
	height: 100vh;
	z-index: 60;
	background-color: #FFFFFF;
	border-inline-end: 1px solid #E2E8F0;
	box-shadow: 24px 0 48px -30px rgba(15, 23, 42, 0.55);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(-102%);
	visibility: hidden;
	transition: transform 0.26s ease, visibility 0.26s ease;
}

html.nw-drawer-open .nw-drawer,
.nw-drawer.nw-is-open {
	transform: translateX(0);
	visibility: visible;
}

@media (min-width: 1025px) {
	.nw-drawer,
	.nw-drawer-backdrop {
		display: none !important;
	}
}

/* Drawer header: title and a round close button. */
.nw-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	gap: 12px;
	width: 100%;
	height: 60px;
	padding: 0 16px;
	border-bottom: 1px solid #E2E8F0;
	background-color: #FFFFFF;
}

.nw-drawer-title {
	color: #0F172A;
	font-family: 'Cairo', 'Tajawal', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.nw-drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1.5px solid #E2E8F0;
	border-radius: 12px;
	background-color: #FFFFFF;
	color: #0F172A;
	font-family: inherit;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nw-drawer-close:hover,
.nw-drawer-close:focus-visible {
	border-color: #D97706;
	background-color: #FFF7ED;
	color: #B45309;
	outline: none;
}

.nw-drawer-close:focus-visible {
	outline: 2px solid #B45309;
	outline-offset: 2px;
}

/* The moved menu --------------------------------------------------------- */
.nw-drawer .nw-menu-list {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 16px !important;
	list-style: none;
	background: none !important;
}

.nw-drawer .nw-menu-list > li {
	display: block !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nw-drawer .nw-menu-list > li > a {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 11px 4px !important;
	border: 0 !important;
	border-inline-start: 3px solid transparent !important;
	border-radius: 8px;
	background: none !important;
	color: #475569 !important;
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nw-drawer .nw-menu-list > li > a:hover,
.nw-drawer .nw-menu-list > li > a:focus-visible {
	background-color: #F8FAFC !important;
	border-inline-start-color: #FDE68A !important;
	color: #1E3A8A !important;
	outline: none;
}

.nw-drawer .nw-menu-list > li > a.nw-is-active,
.nw-drawer .nw-menu-list > li.current-menu-item > a,
.nw-drawer .nw-menu-list > li.current-menu-ancestor > a {
	background-color: #FFF7ED !important;
	border-inline-start-color: #D97706 !important;
	color: #0F172A !important;
	font-weight: 700 !important;
}

/* Icons: the Canvas list ships SVGs, the WordPress menu draws the same
   glyphs from Font Awesome. */
.nw-drawer .nw-menu-list .elementor-icon-list-icon {
	width: 15px !important;
	flex: 0 0 15px !important;
	margin-inline-end: 8px !important;
}

.nw-drawer .nw-menu-list .elementor-icon-list-icon svg {
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
}

.nw-drawer .nw-menu-list .elementor-icon-list-text {
	padding-inline-start: 0 !important;
}

.nw-drawer .nw-menu-list--wp > li > a::before {
	content: '';
	display: inline-flex;
	justify-content: center;
	width: 15px;
	margin-inline-end: 8px;
	color: #D97706;
	font-family: 'Font Awesome 5 Free';
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
}

.nw-drawer .nw-menu-list--wp > li:nth-child(1) > a::before {
	content: '\f015'; /* home */
}

.nw-drawer .nw-menu-list--wp > li:nth-child(2) > a::before {
	content: '\f19d'; /* graduation-cap */
}

.nw-drawer .nw-menu-list--wp > li:nth-child(3) > a::before {
	content: '\f5fd'; /* layer-group */
}

.nw-drawer .nw-menu-list--wp > li:nth-child(4) > a::before {
	content: '\f1ea'; /* newspaper */
}

.nw-drawer .nw-menu-list--wp > li:nth-child(5) > a::before {
	content: '\f290'; /* shopping-bag */
}

.nw-drawer .nw-menu-list--wp > li:nth-child(6) > a::before {
	content: '\f095'; /* phone */
}

/* Backdrop shared by the drawer. */
.nw-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 55;
	background-color: rgba(15, 23, 42, 0.45);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.24s ease;
}

.nw-drawer-backdrop.nw-is-visible {
	opacity: 1;
	pointer-events: auto;
}

html.nw-drawer-locked,
html.nw-drawer-locked body {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
 * Courses archive page
 * ---------------------------------------------------------------------- */

.nw-catalog {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nw-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: 560px;
}

.nw-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 18px;
	background-color: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.nw-stat strong {
	font-size: 26px;
	font-weight: 800;
	color: #FCD34D;
	line-height: 1.2;
}

.nw-stat span {
	font-size: 12px;
	font-weight: 600;
	color: #E2E8F0;
}

.nw-catalog-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	gap: 14px;
	align-items: center;
	padding: 14px;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 18px;
	box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.45);
}

.nw-search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 16px;
	background-color: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nw-search:focus-within {
	background-color: #FFFFFF;
	border-color: #D97706;
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.nw-search i {
	color: #94A3B8;
	font-size: 14px;
}

.nw-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: #0F172A;
	outline: none;
}

.nw-search input[type="search"]::placeholder {
	color: #94A3B8;
}

.nw-search button {
	flex: 0 0 auto;
	padding: 9px 20px;
	border: 0;
	border-radius: 9px;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	color: #FFFFFF;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background-image 0.2s ease;
}

.nw-search button:hover {
	background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.nw-sort {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nw-sort label {
	font-size: 12px;
	font-weight: 700;
	color: #64748B;
	white-space: nowrap;
}

.nw-sort select {
	padding: 11px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 11px;
	background-color: #FFFFFF;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #0F172A;
	cursor: pointer;
	outline: none;
	transition: border-color 0.2s ease;
}

.nw-sort select:focus,
.nw-sort select:hover {
	border-color: #D97706;
}

.nw-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nw-cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nw-cat span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background-color: #F1F5F9;
	font-size: 11px;
	font-weight: 700;
	color: #64748B;
}

.nw-cat:hover {
	border-color: #D97706;
	color: #92400E;
}

.nw-cat.is-active {
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	border-color: transparent;
	color: #FFFFFF;
	box-shadow: 0 10px 22px -14px rgba(217, 119, 6, 0.9);
}

.nw-cat.is-active span {
	background-color: rgba(255, 255, 255, 0.22);
	color: #FFFFFF;
}

.nw-summary {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #64748B;
}

.nw-summary strong {
	color: #0F172A;
	font-weight: 800;
}

.nw-courses {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.nw-course {
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nw-course:hover {
	transform: translateY(-5px);
	border-color: rgba(217, 119, 6, 0.55);
	box-shadow: 0 26px 50px -30px rgba(15, 23, 42, 0.5);
}

.nw-course-media {
	position: relative;
	display: block;
	height: 200px;
	overflow: hidden;
	background-image: linear-gradient(135deg, #FEF3C7 0%, #F1F5F9 100%);
}

.nw-course-media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease;
}

.nw-course:hover .nw-course-media img {
	transform: scale(1.06);
}

.nw-course-blank {
	display: block;
	width: 100%;
	height: 100%;
}

.nw-course-chip {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 6px 12px;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.94);
	color: #92400E;
	font-size: 11px;
	font-weight: 700;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 6px 14px -10px rgba(15, 23, 42, 0.6);
}

.nw-course-flag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 10px;
	border-radius: 8px;
	background-image: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 800;
	box-shadow: 0 8px 18px -12px rgba(185, 28, 28, 0.9);
}

.nw-course-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 0;
	flex: 1 1 auto;
}

.nw-course-title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.55;
}

.nw-course-title a {
	color: #0F172A;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nw-course:hover .nw-course-title a {
	color: #B45309;
}

.nw-course-excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #64748B;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nw-course-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nw-course-facts li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	color: #64748B;
}

.nw-course-facts i {
	color: #D97706;
	font-size: 12px;
}

.nw-course-author {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 11.5px;
	font-weight: 600;
	color: #94A3B8;
}

.nw-course-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 14px 20px 18px;
	border-top: 1px solid #F1F5F9;
}

.nw-course-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.nw-course-amount {
	font-size: 20px;
	font-weight: 800;
	color: #0F172A;
}

.nw-course-old {
	font-size: 11.5px;
	color: #94A3B8;
	text-decoration: line-through;
}

.nw-course-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 22px;
	border-radius: 11px;
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	color: #FFFFFF;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 12px 22px -14px rgba(217, 119, 6, 0.95);
	transition: background-image 0.2s ease, box-shadow 0.2s ease;
}

.nw-course-btn:hover {
	background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
	color: #FFFFFF;
	box-shadow: 0 14px 26px -14px rgba(217, 119, 6, 1);
}

.nw-catalog-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 56px 24px;
	border: 1px dashed #CBD5E1;
	border-radius: 20px;
	background-color: #FFFFFF;
	text-align: center;
}

.nw-catalog-empty i {
	font-size: 30px;
	color: #CBD5E1;
}

.nw-catalog-empty h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #0F172A;
}

.nw-catalog-empty p {
	margin: 0;
	font-size: 13px;
	color: #64748B;
}

.nw-catalog-empty a {
	margin-top: 6px;
	padding: 10px 22px;
	border-radius: 11px;
	background-color: #0F172A;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.nw-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
}

.nw-pager-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nw-pager-step,
.nw-pager-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 40px;
	padding: 10px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 11px;
	background-color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nw-pager-step:hover,
.nw-pager-num:hover {
	border-color: #D97706;
	color: #92400E;
}

.nw-pager-num.is-active {
	background-image: linear-gradient(135deg, #D97706 0%, #B45309 100%);
	border-color: transparent;
	color: #FFFFFF;
	box-shadow: 0 10px 22px -14px rgba(217, 119, 6, 0.9);
}

.nw-pager-step.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

@media (max-width: 1024px) {
	.nw-courses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nw-catalog-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.nw-sort {
		justify-content: space-between;
	}
}

@media (max-width: 767px) {
	.nw-courses {
		grid-template-columns: minmax(0, 1fr);
	}

	.nw-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.nw-stat {
		padding: 12px;
	}

	.nw-stat strong {
		font-size: 20px;
	}

	.nw-stat span {
		font-size: 10.5px;
	}

	.nw-course-media {
		height: 180px;
	}

	.nw-pager {
		flex-direction: column;
	}

	.nw-sort select {
		flex: 1 1 auto;
	}
}

/* Bootstrap row gutters are 15px while the theme container pads 12px, which
   pushes the row 3px past the viewport and adds a horizontal scrollbar. */
.container.site-content > .row {
	margin-left: -12px;
	margin-right: -12px;
}