/* ==========================================================================
   IJ Modern — redesign layer for ihabjoseph.com
   Palette: deep ink navy + warm gold. Type: IBM Plex Sans Arabic.
   ========================================================================== */

:root {
	--ij-bg: #0b1020;
	--ij-bg-2: #0f1529;
	--ij-surface: #141b31;
	--ij-surface-2: #1a2340;
	--ij-surface-3: #212b4c;
	--ij-border: rgba(255, 255, 255, 0.08);
	--ij-border-strong: rgba(255, 255, 255, 0.14);
	--ij-text: #eef0f6;
	--ij-text-soft: #c9cedd;
	--ij-muted: #959cb3;
	--ij-gold: #e2b660;
	--ij-gold-2: #f4d58f;
	--ij-gold-deep: #c4933a;
	--ij-gold-grad: linear-gradient(135deg, #f4d58f 0%, #e2b660 45%, #c4933a 100%);
	--ij-gold-soft: rgba(226, 182, 96, 0.12);
	--ij-radius-sm: 10px;
	--ij-radius: 16px;
	--ij-radius-lg: 24px;
	--ij-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
	--ij-shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
	--ij-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ij-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
	--ij-header-h: 84px;
}

/* ---------- Base & typography ---------- */

html { scroll-behavior: smooth; }

body.ij-modern {
	background: var(--ij-bg) !important;
	color: var(--ij-text-soft);
	font-family: var(--ij-font) !important;
	font-size: 17px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.ij-modern :is(h1, h2, h3, h4, h5, h6, p, a, li, span, div, label, button, input, select, textarea, blockquote, strong, em, b, td, th, figcaption, cite):not([class*="fa-"]):not([class^="eicon"]):not([class*=" eicon"]):not(.dashicons):not([class*="tf_"]) {
	font-family: var(--ij-font) !important;
}

body.ij-modern :is(h1, h2, h3, h4, h5, h6) {
	color: var(--ij-text);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
}

body.ij-modern em,
body.ij-modern i:not([class]),
body.ij-modern .elementor-testimonial__text,
body.ij-modern .testimonial-column * {
	font-style: normal !important; /* Arabic has no true italics */
}

body.ij-modern a { transition: color .25s var(--ij-ease), background-color .25s var(--ij-ease), border-color .25s var(--ij-ease), transform .25s var(--ij-ease), box-shadow .25s var(--ij-ease); }
body.ij-modern p { margin-bottom: 1em; }

::selection { background: var(--ij-gold); color: var(--ij-bg); }

body.ij-modern ::-webkit-scrollbar { width: 10px; height: 10px; }
body.ij-modern ::-webkit-scrollbar-track { background: var(--ij-bg); }
body.ij-modern ::-webkit-scrollbar-thumb { background: var(--ij-surface-3); border-radius: 10px; border: 2px solid var(--ij-bg); }
body.ij-modern ::-webkit-scrollbar-thumb:hover { background: var(--ij-gold-deep); }

body.ij-modern :focus-visible { outline: 2px solid var(--ij-gold); outline-offset: 3px; border-radius: 6px; }

/* Page background — replace flat section colors with one coherent surface system */
body.ij-modern .page-contents { position: relative; background: transparent; }

body.ij-modern .elementor-top-section:not(.elementor-section-full_width) > .elementor-container,
body.ij-modern .container { max-width: 1200px; }

/* Page-level sections: one coherent surface system, alternating tint for rhythm */
body.ij-modern .elementor[data-elementor-type] > .elementor-section {
	background-color: var(--ij-bg) !important;
	background-image: none !important;
}
body.ij-modern .elementor[data-elementor-type] > .elementor-section:nth-child(even) {
	background-color: var(--ij-bg-2) !important;
}
body.ij-modern .elementor[data-elementor-type] > .elementor-section > .elementor-background-overlay { display: none; }
body.ij-modern .elementor-inner-section,
body.ij-modern .elementor-inner-section > .elementor-container,
body.ij-modern .elementor-column > .elementor-widget-wrap { background-color: transparent !important; }

/* ---------- Header (glass, sticky) ---------- */

body.ij-modern .mainmenu-area {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	padding: 14px 0 !important;
	background: rgba(11, 16, 32, 0.55) !important;
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: padding .35s var(--ij-ease), background-color .35s var(--ij-ease), border-color .35s var(--ij-ease), box-shadow .35s var(--ij-ease);
	z-index: 999;
}
body.ij-modern.admin-bar .mainmenu-area { top: 32px; }
body.ij-modern .mainmenu-area.ij-scrolled {
	padding: 8px 0 !important;
	background: rgba(11, 16, 32, 0.86) !important;
	border-bottom-color: var(--ij-border);
	box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.8);
}
body.ij-modern .mainmenu-area > .container { max-width: 1240px; }

body.ij-modern .site-branding { margin: 0 !important; line-height: 1; }
body.ij-modern .site-branding .custom-logo {
	height: 64px !important;
	width: auto !important;
	max-width: none;
	transition: height .35s var(--ij-ease);
}
body.ij-modern .mainmenu-area.ij-scrolled .custom-logo { height: 50px !important; }

body.ij-modern .primary-menu ul.nav { display: flex; gap: 4px; align-items: center; }
body.ij-modern .primary-menu ul.nav > li { margin: 0 !important; padding: 0 !important; }
body.ij-modern .primary-menu ul.nav > li > a {
	display: block;
	padding: 10px 18px !important;
	border-radius: 999px;
	color: var(--ij-text-soft) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
body.ij-modern .primary-menu ul.nav > li > a:before { display: none !important; }
body.ij-modern .primary-menu ul.nav > li > a:hover {
	color: var(--ij-text) !important;
	background: rgba(255, 255, 255, 0.06);
}
body.ij-modern .primary-menu ul.nav > li.current-menu-item > a,
body.ij-modern .primary-menu ul.nav > li.current_page_item > a {
	color: var(--ij-bg) !important;
	background: var(--ij-gold-grad);
	font-weight: 600 !important;
	box-shadow: 0 8px 20px -10px rgba(226, 182, 96, 0.7);
}

/* Mobile menu */
body.ij-modern #menu-button {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	border: 1px solid var(--ij-border-strong);
	background: rgba(255, 255, 255, 0.04);
	color: var(--ij-text) !important;
	font-size: 20px;
	line-height: 46px;
	text-align: center;
	padding: 0 !important;
}
body.ij-modern .slicknav_menu {
	background: transparent !important;
	padding: 0 16px;
}
body.ij-modern .slicknav_nav {
	margin: 10px 0 6px !important;
	padding: 8px !important;
	list-style: none;
	background: var(--ij-surface);
	border: 1px solid var(--ij-border);
	border-radius: var(--ij-radius);
	box-shadow: var(--ij-shadow-lg);
}
body.ij-modern .slicknav_nav li { list-style: none; }
body.ij-modern .slicknav_nav a {
	display: block;
	padding: 13px 16px !important;
	margin: 2px 0;
	border-radius: 12px;
	color: var(--ij-text-soft) !important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none !important;
}
body.ij-modern .slicknav_nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--ij-text) !important; }
body.ij-modern .slicknav_nav .current-menu-item > a { background: var(--ij-gold-soft); color: var(--ij-gold-2) !important; }
body.ij-modern .slicknav_nav .sub { display: none; }

/* ---------- Inner page hero (.header-area) ---------- */

body.ij-modern .header-area {
	background-attachment: scroll !important;
	background-size: cover !important;
	background-position: center !important;
	isolation: isolate;
	overflow: hidden;
}
body.ij-modern .header-area:before {
	background: linear-gradient(180deg, rgba(11, 16, 32, 0.55) 0%, rgba(11, 16, 32, 0.78) 60%, var(--ij-bg) 100%) !important;
}
body.ij-modern .header-area:after {
	content: "";
	position: absolute;
	inset: auto -10% -60% auto;
	width: 520px;
	height: 520px;
	background: radial-gradient(closest-side, rgba(226, 182, 96, 0.22), transparent);
	z-index: -1;
	pointer-events: none;
}
body.ij-modern .header-area .header-content {
	padding-top: calc(var(--ij-header-h) + 90px) !important;
	padding-bottom: 80px !important;
}
body.ij-modern .header-area .row > div { width: 100%; text-align: center; float: none; }
body.ij-modern .header-area .page-title {
	font-size: clamp(30px, 4.4vw, 52px) !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	color: var(--ij-text) !important;
	max-width: 900px;
	margin: 0 auto !important;
}
body.ij-modern .header-area .sub-title {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	margin-top: 18px !important;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid var(--ij-border-strong);
	background: rgba(255, 255, 255, 0.04);
	color: var(--ij-gold-2) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}
body.ij-modern .header-area .sub-title:before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ij-gold);
	box-shadow: 0 0 0 4px var(--ij-gold-soft);
}

/* Home: push hero below fixed header */
body.ij-modern.home .page-contents { padding-top: var(--ij-header-h); }

/* ---------- Section headings (growth-text-box) ---------- */

body.ij-modern .growth-text-box .top-title {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px !important;
	color: var(--ij-gold) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.5 !important;
}
body.ij-modern .growth-text-box .top-title:before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--ij-gold-grad);
}
body.ij-modern .growth-text-box .title {
	color: var(--ij-text) !important;
	font-size: clamp(28px, 3.4vw, 44px) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin-bottom: 14px !important;
}
body.ij-modern .growth-text-box .desc,
body.ij-modern .growth-text-box .desc p {
	color: var(--ij-text-soft) !important;
	font-size: 17px !important;
	line-height: 1.9 !important;
	font-weight: 400 !important;
}

/* Home hero name */
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box .title {
	font-size: clamp(42px, 6.4vw, 84px) !important;
	line-height: 1.15 !important;
	background: linear-gradient(180deg, #ffffff 30%, #cfd4e3 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box .top-title { font-size: 20px !important; }
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box .desc p { color: var(--ij-text-soft) !important; }
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box .desc p:first-child { font-size: 20px !important; font-weight: 500 !important; color: var(--ij-text) !important; }
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child {
	background: radial-gradient(900px 500px at 20% 40%, rgba(226, 182, 96, 0.10), transparent 60%),
		radial-gradient(700px 500px at 85% 60%, rgba(90, 110, 200, 0.14), transparent 60%),
		var(--ij-bg) !important;
}

/* Elementor headings */
body.ij-modern .elementor-heading-title { color: var(--ij-text) !important; font-weight: 700 !important; line-height: 1.35 !important; }
body.ij-modern .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(26px, 3vw, 38px) !important; }
body.ij-modern .elementor-widget-text-editor,
body.ij-modern .elementor-widget-text-editor p { color: var(--ij-text-soft) !important; font-size: 17px; line-height: 1.95 !important; }
body.ij-modern .elementor-headline { font-weight: 700 !important; }
body.ij-modern .elementor-headline-dynamic-text,
body.ij-modern .elementor-headline-plain-text { font-family: var(--ij-font) !important; }

/* ---------- Buttons ---------- */

body.ij-modern .arrow-button:not(.ij-card-btn),
body.ij-modern .button-sm,
body.ij-modern .button-md,
body.ij-modern .button-lg,
body.ij-modern .elementor-button,
body.ij-modern .elementor-field-type-submit .elementor-button,
body.ij-modern .readmore-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 30px !important;
	border-radius: 14px !important;
	border: 0 !important;
	background: var(--ij-gold-grad) !important;
	color: #1a1305 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: 0 12px 26px -14px rgba(226, 182, 96, 0.85) !important;
	text-decoration: none !important;
}
body.ij-modern .arrow-button:not(.ij-card-btn):before { display: none !important; }
body.ij-modern .arrow-button:not(.ij-card-btn) * { color: inherit !important; }
body.ij-modern .arrow-button:not(.ij-card-btn):hover,
body.ij-modern .button-sm:hover,
body.ij-modern .elementor-button:hover,
body.ij-modern .readmore-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -14px rgba(226, 182, 96, 0.95) !important;
	filter: brightness(1.04);
}

/* Contact-channel cards (growth_button with icon) */
body.ij-modern .arrow-button.ij-card-btn {
	display: flex !important;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 96px;
	padding: 20px 22px !important;
	border-radius: var(--ij-radius) !important;
	border: 1px solid var(--ij-border) !important;
	background: var(--ij-surface) !important;
	box-shadow: none !important;
	text-align: right !important;
	flex-direction: row !important;
}
body.ij-modern .arrow-button.ij-card-btn:before { display: none !important; }
body.ij-modern .arrow-button.ij-card-btn:hover {
	transform: translateY(-3px);
	border-color: rgba(226, 182, 96, 0.45) !important;
	background: var(--ij-surface-2) !important;
	box-shadow: var(--ij-shadow) !important;
}
body.ij-modern .arrow-button.ij-card-btn .button-icon {
	position: static !important;
	order: -1;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: grid !important;
	place-items: center;
	border-radius: 16px;
	background: var(--ij-gold-soft);
	margin: 0 !important;
	transform: none !important;
	opacity: 1 !important;
}
body.ij-modern .arrow-button.ij-card-btn .button-icon i {
	color: var(--ij-gold) !important;
	font-size: 24px !important;
	line-height: 1 !important;
	position: static !important;
	opacity: 1 !important;
}
body.ij-modern .arrow-button.ij-card-btn .button-text { display: flex !important; flex-direction: column; gap: 2px; min-width: 0; }
body.ij-modern .arrow-button.ij-card-btn .top_label {
	color: var(--ij-text) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
}
body.ij-modern .arrow-button.ij-card-btn .button-title {
	color: var(--ij-muted) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	overflow-wrap: anywhere;
}
body.ij-modern .elementor-widget-growth_button { margin-bottom: 16px !important; }
body.ij-modern .elementor-widget-growth_button .elementor-widget-container { padding: 0 !important; }

/* ---------- Cards: books (portfolio) ---------- */

body.ij-modern .growth-portfolios .slick-list { padding: 10px 0 30px !important; margin: 0 -12px; }
body.ij-modern .growth-portfolios .slick-slide { padding: 0 12px; }
body.ij-modern .growth-portfolios .portfolio-grid { padding: 0 !important; overflow: visible !important; }
body.ij-modern .portfolio-box {
	height: 100%;
	display: flex !important;
	flex-direction: column;
	border-radius: var(--ij-radius-lg) !important;
	border: 1px solid var(--ij-border) !important;
	background: var(--ij-surface) !important;
	overflow: hidden !important;
	box-shadow: none !important;
	padding: 0 !important;
	transition: transform .45s var(--ij-ease), border-color .45s var(--ij-ease), box-shadow .45s var(--ij-ease) !important;
}
body.ij-modern .portfolio-box:hover {
	transform: translateY(-6px);
	border-color: rgba(226, 182, 96, 0.4) !important;
	box-shadow: var(--ij-shadow-lg) !important;
}
body.ij-modern .growth-portfolios .portfolio-grid .protfolio-image {
	max-height: none !important;
	aspect-ratio: 4 / 3;
	background: radial-gradient(circle at 50% 40%, var(--ij-surface-3), var(--ij-surface));
	border-radius: 0 !important;
}
body.ij-modern .growth-portfolios .portfolio-grid .protfolio-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	filter: none !important;
	transition: transform .7s var(--ij-ease) !important;
}
body.ij-modern .growth-portfolios .portfolio-grid .portfolio-box:hover .protfolio-image img { transform: scale(1.05) !important; }
body.ij-modern .portfolio-box .portfolio-details,
body.ij-modern .portfolio-box > div:not(.protfolio-image):not(a) {
	padding: 22px 24px 26px !important;
	margin: 0 !important;
	width: 100% !important;
	background: transparent !important;
	text-align: right !important;
	flex: 1;
	display: flex;
	flex-direction: column;
}
body.ij-modern .portfolio-box .cats a,
body.ij-modern .portfolio-box .cats {
	display: inline-block;
	padding: 3px 12px !important;
	border-radius: 999px;
	background: var(--ij-gold-soft) !important;
	color: var(--ij-gold) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	margin-bottom: 10px !important;
	align-self: flex-start;
}
body.ij-modern .portfolio-box .cats a { padding: 0 !important; background: none !important; margin: 0 !important; }
body.ij-modern .portfolio-box :is(h2, h3, h4, h5, .title) ,
body.ij-modern .portfolio-box :is(h2, h3, h4, h5, .title) a {
	color: var(--ij-text) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
}
body.ij-modern .portfolio-box .readmore-btn {
	margin-top: auto;
	align-self: flex-start;
	padding: 10px 22px !important;
	font-size: 15px !important;
	background: transparent !important;
	color: var(--ij-gold-2) !important;
	border: 1px solid rgba(226, 182, 96, 0.5) !important;
	box-shadow: none !important;
}
body.ij-modern .portfolio-box .readmore-btn:hover { background: var(--ij-gold-grad) !important; color: #1a1305 !important; border-color: transparent !important; }
body.ij-modern .portfolio-box .readmore-btn * { color: inherit !important; }

/* Grid (non-slider) book listing */
body.ij-modern .growth-portfolios.grid-portfolios {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}
body.ij-modern .growth-portfolios.grid-portfolios > .portfolio-grid { width: auto !important; float: none !important; margin: 0 !important; }

/* Slick dots & arrows */
body.ij-modern .slick-dots { position: static !important; display: flex !important; justify-content: center; gap: 8px; margin: 18px 0 0 !important; padding: 0 !important; }
body.ij-modern .slick-dots li { width: auto !important; height: auto !important; margin: 0 !important; }
body.ij-modern .slick-dots li button {
	width: 10px !important;
	height: 10px !important;
	padding: 0 !important;
	border-radius: 999px;
	background: var(--ij-surface-3) !important;
	border: 0 !important;
	font-size: 0 !important;
	transition: width .35s var(--ij-ease), background-color .35s var(--ij-ease);
}
body.ij-modern .slick-dots li button:before { display: none !important; }
body.ij-modern .slick-dots li.slick-active button { width: 30px !important; background: var(--ij-gold) !important; }

body.ij-modern .slick-arrow,
body.ij-modern .elementor-swiper-button {
	width: 48px !important;
	height: 48px !important;
	border-radius: 14px !important;
	border: 1px solid var(--ij-border-strong) !important;
	background: var(--ij-surface) !important;
	color: var(--ij-text) !important;
	display: grid !important;
	place-items: center;
	transition: all .3s var(--ij-ease);
}
body.ij-modern .slick-arrow:hover,
body.ij-modern .elementor-swiper-button:hover { background: var(--ij-gold-grad) !important; border-color: transparent !important; color: #1a1305 !important; }
body.ij-modern .slick-arrow i,
body.ij-modern .elementor-swiper-button i { color: inherit !important; }
body.ij-modern .elementor-swiper-button svg { fill: currentColor !important; }

/* ---------- Testimonials ---------- */

body.ij-modern .testimonial-column { padding: 0 12px; }
body.ij-modern .testimonial-column > div,
body.ij-modern .growth-testimonial,
body.ij-modern .elementor-testimonial-carousel .swiper-slide,
body.ij-modern .elementor-testimonial {
	border-radius: var(--ij-radius-lg) !important;
	border: 1px solid var(--ij-border) !important;
	background: var(--ij-surface) !important;
	box-shadow: none !important;
}
body.ij-modern .growth-testimonial { padding: 30px 30px 26px !important; height: 100%; position: relative; }
body.ij-modern .growth-testimonial:after {
	content: "”";
	position: absolute;
	left: 26px;
	top: 6px;
	font-size: 96px;
	line-height: 1;
	color: var(--ij-gold);
	opacity: .18;
	font-family: Georgia, serif !important;
	pointer-events: none;
}
body.ij-modern .growth-testimonial .quote-icon { display: none !important; }
body.ij-modern .growth-testimonial .header-info { padding-right: 0 !important; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
body.ij-modern .growth-testimonial .header-info .photo,
body.ij-modern .growth-testimonial .header-info .photo img {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	object-fit: cover;
	flex: 0 0 56px;
	margin: 0 !important;
	box-shadow: 0 0 0 3px var(--ij-gold-soft);
}
body.ij-modern .growth-testimonial :is(h3, h4, h5, .name) { color: var(--ij-text) !important; font-size: 17px !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.5 !important; }
body.ij-modern .growth-testimonial :is(.desig, .designation, span, small) { color: var(--ij-gold) !important; font-size: 13px !important; }
body.ij-modern .growth-testimonial p,
body.ij-modern .growth-testimonial .desc,
body.ij-modern .growth-testimonial .content {
	color: var(--ij-text-soft) !important;
	font-size: 16px !important;
	line-height: 1.95 !important;
	font-style: normal !important;
}
body.ij-modern .growth-testimonial-area .slick-track { display: flex !important; }
body.ij-modern .growth-testimonial-area .slick-slide { height: auto !important; }
body.ij-modern .growth-testimonial-area .slick-slide > div { height: 100%; }

body.ij-modern .elementor-testimonial-carousel .swiper-slide { padding: 28px !important; }
body.ij-modern .elementor-testimonial__content,
body.ij-modern .elementor-testimonial__text { color: var(--ij-text-soft) !important; font-size: 16px !important; line-height: 1.95 !important; }
body.ij-modern .elementor-testimonial__name { color: var(--ij-text) !important; font-weight: 600 !important; }
body.ij-modern .elementor-testimonial__title { color: var(--ij-gold) !important; }
body.ij-modern .swiper-pagination-bullet { background: var(--ij-surface-3) !important; opacity: 1 !important; }
body.ij-modern .swiper-pagination-bullet-active { background: var(--ij-gold) !important; width: 24px !important; border-radius: 999px !important; }

/* ---------- Media (video/lightbox) ---------- */

body.ij-modern .elementor-widget-growth_lightbox_addons .elementor-widget-container,
body.ij-modern .elementor-widget-growth_lightbox_addons img,
body.ij-modern .elementor-widget-video .elementor-wrapper,
body.ij-modern .elementor-widget-html iframe,
body.ij-modern .elementor-widget-image img {
	border-radius: var(--ij-radius-lg) !important;
	overflow: hidden;
}
body.ij-modern .elementor-widget-growth_lightbox_addons .elementor-widget-container { box-shadow: var(--ij-shadow-lg); background: transparent !important; }
body.ij-modern .elementor-widget-growth_lightbox_addons a[data-lity],
body.ij-modern .elementor-widget-growth_lightbox_addons .play-button,
body.ij-modern .elementor-widget-growth_lightbox_addons .video-button {
	background: var(--ij-gold-grad) !important;
	color: #1a1305 !important;
	box-shadow: 0 0 0 12px rgba(226, 182, 96, 0.2), 0 0 0 26px rgba(226, 182, 96, 0.08) !important;
}

/* Audio */
body.ij-modern .elementor-widget-audio .elementor-soundcloud-wrapper,
body.ij-modern audio { border-radius: var(--ij-radius); }

/* Countdown */
body.ij-modern .elementor-countdown-item {
	background: var(--ij-surface) !important;
	border: 1px solid var(--ij-border);
	border-radius: var(--ij-radius) !important;
	padding: 22px 10px !important;
}
body.ij-modern .elementor-countdown-digits { color: var(--ij-gold-2) !important; font-weight: 700 !important; }
body.ij-modern .elementor-countdown-label { color: var(--ij-muted) !important; }

/* Share buttons */
body.ij-modern .elementor-share-btn { border-radius: 12px !important; overflow: hidden; }
body.ij-modern .elementor-share-btn__title { font-weight: 500 !important; }

/* Feature boxes (contact page) */
body.ij-modern .elementor-widget-feature-box .elementor-widget-container,
body.ij-modern .feature-box {
	border-radius: var(--ij-radius-lg) !important;
	border: 1px solid var(--ij-border) !important;
	background: var(--ij-surface) !important;
	padding: 30px 26px !important;
	height: 100%;
	transition: transform .4s var(--ij-ease), border-color .4s var(--ij-ease);
}
body.ij-modern .feature-box:hover { transform: translateY(-4px); border-color: rgba(226, 182, 96, 0.4) !important; }
body.ij-modern .feature-box .feature-icon {
	width: 62px !important;
	height: 62px !important;
	border-radius: 18px !important;
	background: var(--ij-gold-soft) !important;
	color: var(--ij-gold) !important;
	display: grid !important;
	place-items: center;
	line-height: 1 !important;
	font-size: 26px !important;
	margin-bottom: 18px !important;
}
body.ij-modern .feature-box .feature-icon:before { display: none !important; }
body.ij-modern .feature-box .feature-icon i { color: var(--ij-gold) !important; }
body.ij-modern .feature-box :is(h3, h4, h5) { color: var(--ij-text) !important; font-size: 19px !important; font-weight: 600 !important; }
body.ij-modern .feature-box p { color: var(--ij-text-soft) !important; }

/* ---------- Forms (book order, subscribe, CF7) ---------- */

body.ij-modern .elementor-form,
body.ij-modern .shortcode-form,
body.ij-modern .wpcf7-form {
	background: var(--ij-surface);
	border: 1px solid var(--ij-border);
	border-radius: var(--ij-radius-lg);
	padding: clamp(20px, 3vw, 36px);
	box-shadow: var(--ij-shadow);
}
body.ij-modern .elementor-field-group { margin-bottom: 18px !important; }
body.ij-modern .elementor-field-label,
body.ij-modern .wpcf7-form label {
	color: var(--ij-text) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	margin-bottom: 8px !important;
	line-height: 1.5 !important;
}
body.ij-modern .elementor-mark-required .elementor-field-label:after { color: var(--ij-gold) !important; }
body.ij-modern :is(.elementor-field, .elementor-field-textual, .wpcf7-form-control:not(.wpcf7-submit), .shortcode-form input:not([type=submit])),
body.ij-modern .elementor-select-wrapper select {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	border: 1px solid var(--ij-border-strong) !important;
	background: var(--ij-bg-2) !important;
	color: var(--ij-text) !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	box-shadow: none !important;
	transition: border-color .25s var(--ij-ease), box-shadow .25s var(--ij-ease), background-color .25s var(--ij-ease);
}
body.ij-modern textarea.elementor-field,
body.ij-modern textarea.wpcf7-form-control { min-height: 130px; resize: vertical; }
body.ij-modern :is(.elementor-field, .wpcf7-form-control, .shortcode-form input)::placeholder { color: var(--ij-muted) !important; opacity: .8; }
body.ij-modern :is(.elementor-field, .elementor-field-textual, .wpcf7-form-control, .shortcode-form input):focus,
body.ij-modern .elementor-select-wrapper select:focus {
	outline: none !important;
	border-color: var(--ij-gold) !important;
	background: var(--ij-surface-2) !important;
	box-shadow: 0 0 0 4px rgba(226, 182, 96, 0.18) !important;
}
body.ij-modern .elementor-select-wrapper:before { color: var(--ij-gold) !important; left: 16px !important; right: auto !important; }
body.ij-modern .elementor-select-wrapper select option { background: var(--ij-surface); color: var(--ij-text); }
body.ij-modern .elementor-field-type-submit { margin-top: 6px; }
body.ij-modern .elementor-field-type-submit .elementor-button { width: 100%; min-height: 56px; font-size: 17px !important; }
body.ij-modern .elementor-message { border-radius: 12px; padding: 12px 16px; margin-top: 14px; }
body.ij-modern .elementor-message-success { background: rgba(70, 190, 120, 0.12); color: #8fe3b0 !important; }
body.ij-modern .elementor-message-danger { background: rgba(230, 80, 80, 0.12); color: #ff9c9c !important; }

/* Order-instructions text column next to the form */
body.ij-modern .elementor-widget-growth-text-box .desc ol,
body.ij-modern .elementor-widget-growth-text-box .desc ul { padding-right: 20px; }

/* ---------- Footer ---------- */

body.ij-modern .footer-area {
	position: relative;
	background: var(--ij-bg-2) !important;
	border-top: 1px solid var(--ij-border);
	color: var(--ij-text-soft);
	overflow: hidden;
}
body.ij-modern .footer-area:before {
	content: "";
	position: absolute;
	inset: -40% auto auto -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(closest-side, rgba(226, 182, 96, 0.08), transparent);
	pointer-events: none;
}
body.ij-modern .footer-top { padding: 70px 0 30px !important; position: relative; }
body.ij-modern .footer-top-widgets { display: flex; flex-wrap: wrap; row-gap: 30px; }
body.ij-modern .footer-widget { float: none !important; margin-bottom: 0 !important; }
body.ij-modern .footer-widget,
body.ij-modern .footer-widget p,
body.ij-modern .footer-widget li { color: var(--ij-text-soft) !important; font-size: 15px; line-height: 1.9; text-align: right !important; }
body.ij-modern .footer-widget :is(h2, h3, h4, .widget-title, .footer-bottom-title) {
	color: var(--ij-text) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	margin: 0 0 18px !important;
	text-align: right !important;
}
body.ij-modern .footer-widget a { color: var(--ij-text-soft) !important; text-decoration: none !important; }
body.ij-modern .footer-widget a:hover { color: var(--ij-gold-2) !important; }
body.ij-modern .footer-widget .ij-foot-logo { height: 70px; width: auto; margin-bottom: 16px; }
body.ij-modern .footer-widget ul.ij-foot-links,
body.ij-modern .footer-widget ul.ij-foot-contact { list-style: none; margin: 0; padding: 0; }
body.ij-modern .footer-widget ul.ij-foot-links li { margin-bottom: 8px; }
body.ij-modern .footer-widget ul.ij-foot-links a { display: inline-flex; align-items: center; gap: 8px; }
body.ij-modern .footer-widget ul.ij-foot-links a:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ij-gold); opacity: .6; }
body.ij-modern .footer-widget ul.ij-foot-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
body.ij-modern .footer-widget ul.ij-foot-contact i { width: 34px; height: 34px; border-radius: 10px; background: var(--ij-gold-soft); color: var(--ij-gold) !important; display: inline-grid; place-items: center; font-size: 15px; flex: 0 0 34px; }
body.ij-modern .footer-widget .ij-socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
body.ij-modern .footer-widget .ij-socials a {
	width: 42px; height: 42px; border-radius: 12px;
	display: grid; place-items: center;
	border: 1px solid var(--ij-border-strong);
	background: rgba(255, 255, 255, 0.03);
	color: var(--ij-text) !important;
	font-size: 17px;
}
body.ij-modern .footer-widget .ij-socials a:hover { background: var(--ij-gold-grad); color: #1a1305 !important; border-color: transparent; transform: translateY(-2px); }
body.ij-modern .footer-bottom {
	border-top: 1px solid var(--ij-border);
	padding: 22px 0 !important;
	background: transparent !important;
	position: relative;
}
body.ij-modern .copyright_text { color: var(--ij-muted) !important; font-size: 14px !important; text-align: center !important; }

/* Scroll to top */
body.ij-modern #scrollUp {
	width: 48px !important;
	height: 48px !important;
	line-height: 46px !important;
	border-radius: 14px !important;
	background: var(--ij-surface-2) !important;
	border: 1px solid var(--ij-border-strong) !important;
	color: var(--ij-gold) !important;
	left: 22px !important;
	right: auto !important;
	bottom: 22px !important;
	box-shadow: var(--ij-shadow);
}
body.ij-modern #scrollUp:hover { background: var(--ij-gold-grad) !important; color: #1a1305 !important; border-color: transparent !important; }

/* reCAPTCHA badge — keep it visible (Google policy) but tidy */
body.ij-modern .grecaptcha-badge { bottom: 90px !important; opacity: .65; transition: opacity .3s; }
body.ij-modern .grecaptcha-badge:hover { opacity: 1; }

/* Single book page */
body.ij-modern.single-portfolio .elementor-widget-theme-post-featured-image img,
body.ij-modern.single-portfolio .elementor-widget-image img { border-radius: var(--ij-radius-lg) !important; }
body.ij-modern.single-portfolio .elementor-widget-theme-post-content,
body.ij-modern.single-portfolio .elementor-widget-theme-post-content p { color: var(--ij-text-soft) !important; font-size: 17px !important; line-height: 2 !important; }

/* Entrance animation for cards */
@media (prefers-reduced-motion: no-preference) {
	body.ij-modern .ij-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ij-ease), transform .8s var(--ij-ease); }
	body.ij-modern .ij-reveal.ij-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	:root { --ij-header-h: 74px; }
	body.ij-modern { font-size: 16px; }
	body.ij-modern .elementor-top-section > .elementor-container { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 992px) {
	body.ij-modern .mainmenu-area { padding: 10px 0 !important; }
	body.ij-modern .site-branding .custom-logo { height: 52px !important; }
	body.ij-modern .mainmenu-area.ij-scrolled .custom-logo { height: 46px !important; }
	body.ij-modern .mainmenu-area > .container > .center-item { flex-wrap: nowrap; }
	body.ij-modern .header-area .header-content { padding-top: calc(var(--ij-header-h) + 50px) !important; padding-bottom: 56px !important; }
}

@media (max-width: 767px) {
	:root { --ij-header-h: 70px; }
	body.ij-modern { font-size: 16px; line-height: 1.85; }
	body.ij-modern.admin-bar .mainmenu-area { top: 46px; }
	body.ij-modern .elementor-section .elementor-container { padding-left: 16px !important; padding-right: 16px !important; }
	body.ij-modern .elementor-top-section { padding-top: 56px !important; padding-bottom: 56px !important; }
	body.ij-modern .elementor-inner-section { padding-top: 0 !important; padding-bottom: 0 !important; }
	body.ij-modern .elementor-column > .elementor-widget-wrap { padding: 6px !important; }

	/* Home hero: text first, centred */
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child { padding-top: 24px !important; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box,
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box * { text-align: center !important; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box .top-title { justify-content: center; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .growth-text-box .top-title:before { display: none; }

	body.ij-modern .growth-text-box,
	body.ij-modern .growth-text-box * { text-align: right; }
	body.ij-modern .growth-text-box .title { font-size: 28px !important; }
	body.ij-modern .growth-text-box .desc,
	body.ij-modern .growth-text-box .desc p { font-size: 16px !important; }

	body.ij-modern .arrow-button:not(.ij-card-btn) { width: 100%; }
	body.ij-modern .arrow-button.ij-card-btn { min-height: 84px; padding: 16px !important; }
	body.ij-modern .arrow-button.ij-card-btn .button-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; }

	body.ij-modern .growth-portfolios .slick-list { margin: 0 -8px; }
	body.ij-modern .growth-portfolios .slick-slide { padding: 0 8px; }

	body.ij-modern .growth-testimonial { padding: 24px 22px !important; }
	body.ij-modern .footer-widget { width: 100% !important; }
	body.ij-modern .footer-top { padding-top: 50px !important; }

	body.ij-modern .elementor-share-buttons--view-icon-text .elementor-share-btn__title { display: none; }
	body.ij-modern #scrollUp { left: 14px !important; bottom: 14px !important; width: 42px !important; height: 42px !important; line-height: 40px !important; }
	body.ij-modern .grecaptcha-badge { bottom: 76px !important; }
}

@media (max-width: 480px) {
	body.ij-modern .header-area .page-title { font-size: 28px !important; }
}

/* ---------- Layout fixes (header alignment, eyebrow titles) ---------- */
body.ij-modern .primary-menu,
body.ij-modern .primary-menu ul.nav { height: auto !important; margin: 0 !important; padding: 0 !important; }
body.ij-modern .mainmenu-area .center-item { align-items: center !important; }
body.ij-modern .growth-text-box .top-title { display: block !important; }
body.ij-modern .growth-text-box .top-title:before {
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;
	position: relative;
	top: -2px;
}
body.ij-modern .growth-portfolios.slick-slider { overflow: hidden; padding: 8px 0 4px; }
body.ij-modern .growth-portfolios .slick-list { margin: 0 !important; overflow: hidden !important; }
body.ij-modern .growth-portfolios .slick-track { display: flex !important; }
body.ij-modern .growth-portfolios .slick-slide { height: auto !important; }
body.ij-modern .growth-portfolios .slick-slide > div,
body.ij-modern .growth-portfolios.slick-slider .portfolio-grid { height: 100%; }

/* Books grid page: pure CSS grid (neutralise isotope absolute positioning) */
body.ij-modern .growth-portfolios.grid-portfolios { height: auto !important; }
body.ij-modern .growth-portfolios.grid-portfolios > .portfolio-grid {
	position: static !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	height: auto !important;
}
body.ij-modern .growth-portfolios.grid-portfolios > .portfolio-grid > .portfolio-box { height: 100%; }
@media (max-width: 600px) {
	body.ij-modern .growth-portfolios.grid-portfolios { grid-template-columns: 1fr; }
}

/* Footer: kill masonry absolute layout so RTL order is natural */
body.ij-modern .footer-top-widgets { height: auto !important; margin: 0 -15px; }
body.ij-modern .footer-top-widgets > .masonry-item {
	position: static !important;
	left: auto !important;
	top: auto !important;
	display: block !important;
}
body.ij-modern .footer-widget .ij-foot-logo { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
body.ij-modern .footer-widget a.button-sm { color: #1a1305 !important; margin-top: 8px; }
body.ij-modern .footer-widget a.button-sm:hover { color: #1a1305 !important; }

/* Elementor Pro testimonial carousel */
body.ij-modern .elementor-testimonial { display: flex !important; flex-direction: column; gap: 18px; text-align: right !important; height: 100%; }
body.ij-modern .elementor-testimonial__content { display: flex; flex-direction: column; gap: 14px; order: 1; }
body.ij-modern .elementor-testimonial__footer { order: 2; display: flex !important; align-items: center; gap: 12px; margin: 0 !important; }
body.ij-modern .elementor-testimonial__image img {
	width: 56px !important; height: 56px !important; border-radius: 50% !important; object-fit: cover;
	box-shadow: 0 0 0 3px var(--ij-gold-soft);
}
body.ij-modern .elementor-testimonial__cite { display: flex; flex-direction: column; gap: 2px; margin: 0 !important; }
body.ij-modern .elementor-testimonial-carousel .swiper-slide { height: auto !important; }
body.ij-modern .footer-top-widgets { direction: rtl; }
body.ij-modern .elementor-testimonial-carousel .swiper-slide { padding: 0 !important; overflow: hidden; }
body.ij-modern .elementor-testimonial-carousel .elementor-testimonial { padding: 28px 30px !important; box-sizing: border-box; width: 100%; }
body.ij-modern .elementor-testimonial__text { overflow-wrap: anywhere; }

/* Forms: de-duplicate nested cards and select wrappers */
body.ij-modern .shortcode-form .wpcf7-form { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
body.ij-modern .elementor-select-wrapper { border: 0 !important; background: none !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; }
body.ij-modern .elementor-select-wrapper select { appearance: none; -webkit-appearance: none; padding-left: 40px !important; }

/* Contact Form 7 (renders with dir="ltr" from its locale) */
body.ij-modern .wpcf7 { direction: rtl; text-align: right; }
body.ij-modern .wpcf7-form p { margin: 0 0 18px; }
body.ij-modern .wpcf7-form label { display: block; width: 100%; }
body.ij-modern .wpcf7-form br { display: none; }
body.ij-modern .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
body.ij-modern .wpcf7-form-control:not(.wpcf7-submit) { width: 100% !important; max-width: 100%; }
body.ij-modern .wpcf7-submit {
	width: 100%;
	min-height: 56px;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--ij-gold-grad) !important;
	color: #1a1305 !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	cursor: pointer;
	box-shadow: 0 12px 26px -14px rgba(226, 182, 96, 0.85);
	transition: transform .25s var(--ij-ease), box-shadow .25s var(--ij-ease);
}
body.ij-modern .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(226, 182, 96, 0.95); }
body.ij-modern .wpcf7-response-output { border-radius: 12px; margin: 14px 0 0 !important; padding: 12px 16px !important; color: var(--ij-text) !important; }
body.ij-modern .wpcf7-not-valid-tip { color: #ff9c9c !important; font-size: 13px; margin-top: 6px; }

/* Feature boxes: single card */
body.ij-modern .elementor-widget-feature-box .elementor-widget-container { background: none !important; border: 0 !important; padding: 0 !important; }
body.ij-modern .feature-box { display: flex; gap: 18px; align-items: flex-start; }
body.ij-modern .feature-box .feature-icon { flex: 0 0 62px; margin-bottom: 0 !important; }
body.ij-modern .feature-box .feature-title { margin: 4px 0 6px !important; }
body.ij-modern .feature-box .feature-content p { margin: 0; overflow-wrap: anywhere; }

/* Header container must never exceed the viewport */
body.ij-modern .mainmenu-area > .container { width: 100% !important; max-width: 1240px; }
body.ij-modern .mainmenu-area .center-item { flex-wrap: nowrap !important; }
:root { --ij-header-h: 92px; }
@media (max-width: 992px) { :root { --ij-header-h: 72px; } }

@media (max-width: 767px) {
	body.ij-modern .elementor-widget-spacer .elementor-spacer-inner { height: 20px !important; }
	body.ij-modern .header-area .header-content { padding-top: calc(var(--ij-header-h) + 36px) !important; padding-bottom: 44px !important; }
	body.ij-modern .header-area .row > div,
	body.ij-modern .header-area .page-title { text-align: center !important; }
	body.ij-modern .header-area .sub-title { font-size: 13px !important; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child { min-height: 0 !important; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child > .elementor-container { min-height: 0 !important; }
}

body.ij-modern .elementor-form .elementor-field.elementor-select-wrapper { border: 0 !important; background: none !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; }

@media (max-width: 767px) {
	/* Home hero: show the portrait on phones, above the name */
	body.ij-modern.home .elementor-element-c1ca881 {
		position: relative !important;
		inset: auto !important;
		transform: none !important;
		width: 100% !important;
		max-width: 300px;
		margin: 0 auto 8px !important;
		text-align: center;
	}
	body.ij-modern.home .elementor-element-c1ca881 img {
		width: 100% !important;
		height: auto !important;
		max-width: 300px;
		display: block;
		margin: 0 auto;
		-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
	}
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .elementor-column:has(.elementor-element-c1ca881) { order: -1; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .elementor-widget-growth-position_element:not(.elementor-element-c1ca881) { display: none !important; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .elementor-widget-growth-text-box { margin-bottom: 0 !important; }
}

@media (max-width: 767px) {
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .elementor-column:has(.elementor-element-c1ca881) {
		display: flex !important;
		width: 100% !important;
		min-height: 0 !important;
	}
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child .elementor-column:has(.elementor-element-c1ca881) > .elementor-widget-wrap { min-height: 0 !important; padding: 0 !important; }

	/* Footer gutters */
	body.ij-modern .footer-top-widgets { margin: 0 !important; }
	body.ij-modern .footer-widget { padding: 0 20px !important; }
	body.ij-modern .copyright_text { padding: 0 20px; }

	/* Order page: instructions before the form */
	body.ij-modern .elementor-column:has(form.elementor-form) { order: 2; }

	/* Headings & testimonial carousel on phones */
	body.ij-modern .elementor-heading-title { font-size: 26px !important; line-height: 1.4 !important; }
	body.ij-modern .elementor-testimonial-carousel-wrapper,
	body.ij-modern .elementor-widget-testimonial-carousel .elementor-main-swiper { padding-left: 0 !important; padding-right: 0 !important; }
	body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button { display: none !important; }
	body.ij-modern .elementor-testimonial-carousel .elementor-testimonial { padding: 22px !important; }
}

/* Mobile menu: RTL + compact */
body.ij-modern .slicknav_nav { direction: rtl; text-align: right; }
body.ij-modern .slicknav_nav li { border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.ij-modern .slicknav_nav li a { line-height: 1.5 !important; border: 0 !important; }
body.ij-modern .slicknav_nav li + li { border-top: 1px solid var(--ij-border) !important; }

/* ==========================================================================
   v1.1 — True RTL foundation (theme forced LTR on <body>)
   ========================================================================== */
html[dir="rtl"] body.ij-modern { direction: rtl !important; text-align: right; }
body.ij-modern .page-contents,
body.ij-modern .mainmenu-area,
body.ij-modern .footer-area,
body.ij-modern .header-area { direction: rtl !important; }
/* Slick is initialised in LTR mode: keep its track LTR, content RTL */
body.ij-modern .slick-slider { direction: ltr !important; }
body.ij-modern .slick-slider .slick-slide { direction: rtl !important; float: left !important; }
/* Numbers / emails / phones stay readable */
body.ij-modern a[href^="mailto:"], body.ij-modern a[href^="tel:"], body.ij-modern .ij-ltr { unicode-bidi: plaintext; }

/* ---------- Header: logo on the right, menu flows right-to-left ---------- */
body.ij-modern .mainmenu-area > .container > .center-item {
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 32px;
}
body.ij-modern .mainmenu-area .center-item .center-item { gap: 12px; flex: 0 1 auto; }
body.ij-modern .primary-menu ul.nav { flex-direction: row !important; justify-content: flex-start; gap: 6px; }
body.ij-modern .primary-menu ul.nav > li { float: none !important; }
body.ij-modern .primary-menu ul.nav > li > a { padding: 10px 20px !important; }

/* ---------- Footer: balanced 3-column grid, RTL ---------- */
body.ij-modern .footer-top { padding: 80px 0 48px !important; }
body.ij-modern .footer-top > .container { max-width: 1200px; padding: 0 24px; }
body.ij-modern .footer-top-widgets {
	display: grid !important;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	margin: 0 !important;
	height: auto !important;
}
body.ij-modern .footer-top-widgets::before,
body.ij-modern .footer-top-widgets::after { display: none !important; content: none !important; }
body.ij-modern .footer-top-widgets > .footer-widget {
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	position: static !important;
	text-align: right !important;
}
body.ij-modern .footer-widget .textwidget > *:first-child { margin-top: 0 !important; }
body.ij-modern .footer-widget .ij-foot-logo { display: block; height: 72px; margin: 0 0 18px; }
body.ij-modern .footer-widget p { max-width: 380px; margin: 0 0 18px !important; }
body.ij-modern .footer-widget :is(h2, .footer-bottom-title) {
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 22px !important;
	line-height: 1.4 !important;
}
body.ij-modern .footer-widget :is(h2, .footer-bottom-title)::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	border-radius: 2px;
	background: var(--ij-gold-grad);
}
body.ij-modern .footer-widget ul.ij-foot-links { display: grid; gap: 12px; }
body.ij-modern .footer-widget ul.ij-foot-links li { margin: 0 !important; line-height: 1.5; }
body.ij-modern .footer-widget ul.ij-foot-links a { flex-direction: row; }
body.ij-modern .footer-widget ul.ij-foot-contact { display: grid; gap: 14px; margin-bottom: 24px !important; }
body.ij-modern .footer-widget ul.ij-foot-contact li { margin: 0 !important; line-height: 1.5; }
body.ij-modern .footer-widget ul.ij-foot-contact a { direction: ltr; unicode-bidi: isolate; }
body.ij-modern .footer-widget .ij-socials { justify-content: flex-start; margin-top: 4px; }
body.ij-modern .footer-widget p:has(> .button-sm) { margin: 0 !important; }
body.ij-modern .footer-widget a.button-sm { padding: 12px 28px !important; }
body.ij-modern .footer-bottom { padding: 24px 0 !important; }

@media (max-width: 991px) {
	body.ij-modern .footer-top-widgets { grid-template-columns: 1fr 1fr; gap: 40px; }
	body.ij-modern .footer-top-widgets > .footer-widget:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body.ij-modern .footer-top { padding: 56px 0 32px !important; }
	body.ij-modern .footer-top-widgets { grid-template-columns: 1fr; gap: 36px; }
	body.ij-modern .footer-top-widgets > .footer-widget { padding: 0 !important; }
}

/* ---------- Books carousel: breathing room between cards ---------- */
body.ij-modern .growth-portfolios.slick-slider { overflow: hidden; padding: 12px 0 8px !important; }
body.ij-modern .growth-portfolios.slick-slider .slick-list { margin: 0 -14px !important; padding: 6px 0 28px !important; }
body.ij-modern .growth-portfolios .portfolio-grid.slick-slide { padding: 0 14px !important; box-sizing: border-box; }
@media (max-width: 767px) {
	body.ij-modern .growth-portfolios.slick-slider .slick-list { margin: 0 -8px !important; }
	body.ij-modern .growth-portfolios .portfolio-grid.slick-slide { padding: 0 8px !important; }
}

/* Testimonials (slick) spacing */
body.ij-modern .growth-testimonial-area .slick-list { margin: 0 -12px; padding: 6px 0 10px; }
body.ij-modern .growth-testimonial-area .testimonial-column { padding: 0 12px !important; box-sizing: border-box; }

/* ---------- Consistent vertical rhythm for page sections ---------- */
body.ij-modern .elementor[data-elementor-type] > .elementor-section { padding-top: 96px !important; padding-bottom: 96px !important; }
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child { padding-top: 40px !important; padding-bottom: 72px !important; }
body.ij-modern .elementor-widget-growth-text-box + .elementor-widget,
body.ij-modern .elementor-inner-section + .elementor-inner-section { margin-top: 8px; }
body.ij-modern .elementor-widget:not(:last-child) { margin-bottom: 20px; }
body.ij-modern .elementor-widget-spacer:not(:last-child) { margin-bottom: 0; }
@media (max-width: 1024px) {
	body.ij-modern .elementor[data-elementor-type] > .elementor-section { padding-top: 72px !important; padding-bottom: 72px !important; }
}
@media (max-width: 767px) {
	body.ij-modern .elementor[data-elementor-type] > .elementor-section { padding-top: 56px !important; padding-bottom: 56px !important; }
	body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child { padding-top: 16px !important; padding-bottom: 48px !important; }
}

/* Carousel must stay inside the content container */
body.ij-modern .growth-portfolios.growthcore-carousel-activation,
body.ij-modern .growth-testimonial-area.growthcore-carousel-activation {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	left: auto !important;
	right: auto !important;
}

/* RTL alignment for regular CTA buttons (old LTR "right" alignment now lands on the wrong side) */
body.ij-modern .elementor-widget-growth_button:not(:has(.ij-card-btn)) .elementor-widget-container { text-align: right !important; }
body.ij-modern .elementor-widget-growth_button:not(:has(.ij-card-btn)) { text-align: right !important; }

/* Mixed-language testimonials: let each paragraph pick its own direction */
body.ij-modern .growth-testimonial p,
body.ij-modern .growth-testimonial .desc,
body.ij-modern .elementor-testimonial__text { unicode-bidi: plaintext; text-align: start !important; }

/* Section headings were built as [empty column][text column] for LTR.
   In RTL drop the empty spacer column so the heading starts at the right edge. */
body.ij-modern .elementor-inner-section > .elementor-container > .elementor-column:not(:has(.elementor-widget)) { display: none !important; }
body.ij-modern .elementor-inner-section > .elementor-container:has(> .elementor-column:not(:has(.elementor-widget))) > .elementor-column:has(.elementor-widget) { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }
body.ij-modern .elementor-inner-section .growth-text-box { max-width: 760px; }

/* Collapse page sections that only contain spacers / nothing (they became large empty bands) */
body.ij-modern .elementor[data-elementor-type="wp-page"] > .elementor-section:not(:has(.elementor-widget:not(.elementor-widget-spacer))) { display: none !important; }
/* Re-establish alternating tint after hidden sections: use explicit surfaces on content-bearing blocks */
body.ij-modern .elementor[data-elementor-type="wp-page"] > .elementor-section:has(.elementor-widget-growth_button .ij-card-btn) { background-color: var(--ij-bg-2) !important; border-top: 1px solid var(--ij-border); }

/* Gutters between card columns (feature boxes, channel cards) */
body.ij-modern .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-feature-box) > .elementor-widget-wrap { padding: 12px !important; }
body.ij-modern .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-growth_button .ij-card-btn) > .elementor-widget-wrap { padding: 0 12px !important; }

/* Hide spacer-only sections in all Elementor documents (single book template too) */
body.ij-modern .elementor[data-elementor-type] > .elementor-section:not(:has(.elementor-widget:not(.elementor-widget-spacer))) { display: none !important; }

/* Gutter between side-by-side media and text columns */
body.ij-modern .elementor-section > .elementor-container > .elementor-col-50 > .elementor-widget-wrap,
body.ij-modern .elementor-section > .elementor-container > .elementor-col-33 > .elementor-widget-wrap { padding-left: 22px !important; padding-right: 22px !important; }
body.ij-modern .elementor-section > .elementor-container:has(> .elementor-col-50) { margin-left: -22px; margin-right: -22px; }
body.ij-modern .elementor-top-section > .elementor-container:has(> .elementor-col-50) { margin-left: auto; margin-right: auto; }

/* Calmer vertical rhythm */
body.ij-modern .elementor[data-elementor-type] > .elementor-section { padding-top: 80px !important; padding-bottom: 80px !important; }
@media (max-width: 1024px) { body.ij-modern .elementor[data-elementor-type] > .elementor-section { padding-top: 64px !important; padding-bottom: 64px !important; } }
@media (max-width: 767px) {
	body.ij-modern .elementor[data-elementor-type] > .elementor-section { padding-top: 48px !important; padding-bottom: 48px !important; }
	body.ij-modern .elementor-section > .elementor-container > .elementor-col-50 > .elementor-widget-wrap,
	body.ij-modern .elementor-section > .elementor-container > .elementor-col-33 > .elementor-widget-wrap { padding-left: 6px !important; padding-right: 6px !important; }
	body.ij-modern .elementor-section > .elementor-container:has(> .elementor-col-50) { margin-left: 0; margin-right: 0; }
}
body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child { padding-top: 40px !important; padding-bottom: 72px !important; }
@media (max-width: 767px) { body.ij-modern.home .elementor[data-elementor-type] > .elementor-section:first-child { padding-top: 16px !important; padding-bottom: 40px !important; } }

/* Pages without the theme hero (e.g. Contact) must clear the fixed header */
body.ij-modern .mainmenu-area + .page-contents { padding-top: var(--ij-header-h); }

/* Empty spacer columns in top-level sections too */
body.ij-modern .elementor-top-section > .elementor-container > .elementor-column:not(:has(.elementor-widget)) { display: none !important; }
body.ij-modern .elementor-top-section > .elementor-container:has(> .elementor-column:not(:has(.elementor-widget))) > .elementor-column:has(.elementor-widget) { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }

/* Contact page: first block becomes a proper page hero, decorative scroll-mouse removed */
body.ij-modern .elementor-1340 > .elementor-element-594d682 { display: none !important; }
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 {
	padding-top: 72px !important;
	padding-bottom: 72px !important;
	background: radial-gradient(600px 300px at 80% 100%, rgba(226, 182, 96, 0.14), transparent 70%), var(--ij-bg-2) !important;
	border-bottom: 1px solid var(--ij-border);
	text-align: center;
}
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 .growth-text-box,
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 .growth-text-box * { text-align: center !important; margin-left: auto; margin-right: auto; }
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 .growth-text-box .title { font-size: clamp(30px, 4.4vw, 52px) !important; }
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 .elementor-widget,
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 .elementor-widget-wrap { width: 100% !important; max-width: 100% !important; justify-content: center; }
body.ij-modern .elementor-1340 > .elementor-element-bd4a084 .elementor-column { margin: 0 auto !important; }
body.ij-modern .elementor-column.ij-empty-col { display: none !important; }
body.ij-modern .elementor-column.ij-fill-col { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }

/* ---------- Home hero: remove the forced full-screen height, portrait sits in its column ---------- */
body.ij-modern.home .elementor-1337 > .elementor-section:first-child > .elementor-container {
	height: auto !important;
	min-height: 0 !important;
	align-items: center !important;
}
@media (min-width: 768px) {
	body.ij-modern.home .elementor-element-c1ca881 {
		position: relative !important;
		inset: auto !important;
		transform: none !important;
		width: 100% !important;
		max-width: 460px;
		margin: 0 auto !important;
	}
	body.ij-modern.home .elementor-element-c1ca881 img {
		width: 100% !important;
		height: auto !important;
		display: block;
		-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
	}
	body.ij-modern.home .elementor-1337 > .elementor-section:first-child { padding-top: 24px !important; padding-bottom: 0 !important; }
}

/* Page-level sections keep their container centred (negative gutters only for nested rows) */
body.ij-modern .elementor[data-elementor-type] > .elementor-section > .elementor-container { margin-left: auto !important; margin-right: auto !important; }

/* Home hero: no forced section height / top offset */
body.ij-modern.home .elementor-1337 > .elementor-section:first-child {
	min-height: 0 !important;
	height: auto !important;
	margin-top: 0 !important;
}

/* Hero text boxes carried 100px top padding from the old layout */
body.ij-modern.home .elementor-1337 > .elementor-section:first-child .elementor-widget-growth-text-box > .elementor-widget-container { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }
body.ij-modern.home .elementor-1337 > .elementor-section:first-child .elementor-widget-growth-text-box + .elementor-widget-growth-text-box { margin-top: 18px !important; }

/* Tablet: show the portrait too, stacked above the text */
@media (min-width: 768px) and (max-width: 1024px) {
	body.ij-modern.home .elementor-1337 > .elementor-section:first-child > .elementor-container { flex-wrap: wrap !important; }
	body.ij-modern.home .elementor-1337 > .elementor-section:first-child .elementor-column { width: 100% !important; }
	body.ij-modern.home .elementor-1337 > .elementor-section:first-child .elementor-column:has(.elementor-element-c1ca881) { display: flex !important; order: -1; }
	body.ij-modern.home .elementor-element-c1ca881 { max-width: 360px; }
	body.ij-modern.home .elementor-1337 > .elementor-section:first-child .elementor-widget-growth-position_element:not(.elementor-element-c1ca881) { display: none !important; }
}

/* ---------- Books page: author bio + Arabic works list ---------- */
body.ij-modern .ij-works { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
body.ij-modern .ij-works > div {
	background: var(--ij-surface);
	border: 1px solid var(--ij-border);
	border-radius: var(--ij-radius-lg);
	padding: clamp(24px, 3vw, 40px);
}
body.ij-modern .ij-works .top-title { display: block; color: var(--ij-gold); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
body.ij-modern .ij-works .top-title::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 2px; border-radius: 2px; background: var(--ij-gold-grad); margin-left: 10px; position: relative; top: -2px; }
body.ij-modern .ij-works h2 { font-size: clamp(24px, 2.6vw, 32px) !important; margin: 0 0 18px !important; color: var(--ij-text); }
body.ij-modern .ij-works-bio p { color: var(--ij-text-soft); font-size: 17px; line-height: 2; margin: 0 0 12px; unicode-bidi: plaintext; }
body.ij-modern .ij-books-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.ij-modern .ij-books-list li {
	display: flex; align-items: center; gap: 16px;
	padding: 14px 16px; border-radius: 14px;
	background: var(--ij-bg-2); border: 1px solid var(--ij-border);
	transition: border-color .3s var(--ij-ease), transform .3s var(--ij-ease);
}
body.ij-modern .ij-books-list li:hover { border-color: rgba(226, 182, 96, 0.4); transform: translateX(-4px); }
body.ij-modern .ij-book-no { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ij-gold-soft); color: var(--ij-gold); font-weight: 700; font-size: 15px; }
body.ij-modern .ij-book-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.ij-modern .ij-book-meta strong { color: var(--ij-text); font-size: 16px; font-weight: 600; line-height: 1.6; }
body.ij-modern .ij-book-meta span { color: var(--ij-muted); font-size: 14px; line-height: 1.6; }
body.ij-modern .ij-book-year { font-style: normal !important; color: var(--ij-gold-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
@media (max-width: 900px) { body.ij-modern .ij-works { grid-template-columns: 1fr; } }
@media (max-width: 480px) { body.ij-modern .ij-books-list li { flex-wrap: wrap; } body.ij-modern .ij-book-year { width: 100%; padding-right: 52px; } }

/* Section headings inside shortcode blocks (Amazon list etc.) */
body.ij-modern .ij-sec-head { max-width: 760px; margin: 0 0 28px; }
body.ij-modern .ij-sec-head .top-title { display: block; color: var(--ij-gold); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
body.ij-modern .ij-sec-head .top-title::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 2px; border-radius: 2px; background: var(--ij-gold-grad); margin-left: 10px; position: relative; top: -2px; }
body.ij-modern .ij-sec-head h2 { font-size: clamp(26px, 3vw, 38px) !important; margin: 0 0 12px !important; }
body.ij-modern .ij-sec-head p { color: var(--ij-text-soft); font-size: 16.5px; line-height: 1.9; margin: 0; }
body.ij-modern .ij-sec-head-sub { margin-top: 56px; }
body.ij-modern .ij-sec-head-sub h3 { font-size: 22px !important; margin: 0 !important; color: var(--ij-text) !important; }
body.ij-modern .elementor-widget-shortcode .elementor-shortcode { width: 100%; }

/* ---------- v1.2: new home & About page ---------- */
body.ij-modern .elementor-section.ij-home-hero-sec { padding-top: 48px !important; padding-bottom: 72px !important;
	background: radial-gradient(900px 520px at 85% 20%, rgba(226,182,96,.10), transparent 60%), radial-gradient(700px 500px at 10% 80%, rgba(90,110,200,.14), transparent 60%), var(--ij-bg) !important; }
@media (max-width: 767px) { body.ij-modern .elementor-section.ij-home-hero-sec { padding-top: 28px !important; padding-bottom: 48px !important; } }

/* Menu call-to-action item */
body.ij-modern .primary-menu ul.nav > li.ij-menu-cta > a {
	border: 1px solid rgba(226,182,96,.55);
	color: var(--ij-gold-2) !important;
	margin-right: 6px;
}
body.ij-modern .primary-menu ul.nav > li.ij-menu-cta > a:hover { background: var(--ij-gold-soft); }
body.ij-modern .primary-menu ul.nav > li.ij-menu-cta.current-menu-item > a { color: var(--ij-bg) !important; border-color: transparent; }
body.ij-modern .slicknav_nav li.ij-menu-cta > a { background: var(--ij-gold-grad) !important; color: #1a1305 !important; text-align: center; font-weight: 700; margin-top: 8px !important; }
@media (min-width: 993px) and (max-width: 1200px) { body.ij-modern .primary-menu ul.nav > li > a { padding: 9px 13px !important; font-size: 15px !important; } }

/* About page hero (moved from the old home hero) */
body.ij-modern .ij-about-hero > .elementor-container { height: auto !important; min-height: 0 !important; align-items: center !important; }
body.ij-modern .ij-about-hero { min-height: 0 !important; height: auto !important; background: radial-gradient(900px 500px at 20% 40%, rgba(226,182,96,.10), transparent 60%), radial-gradient(700px 500px at 85% 60%, rgba(90,110,200,.14), transparent 60%), var(--ij-bg) !important; }
body.ij-modern .ij-about-hero .elementor-widget-growth-text-box > .elementor-widget-container { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }
body.ij-modern .ij-about-hero .elementor-widget-growth-text-box + .elementor-widget-growth-text-box { margin-top: 18px !important; }
body.ij-modern .ij-about-hero .growth-text-box .title { font-size: clamp(42px, 6vw, 76px) !important; line-height: 1.15 !important; background: linear-gradient(180deg, #fff 30%, #cfd4e3 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
body.ij-modern .ij-about-hero .growth-text-box .top-title { font-size: 20px !important; }
body.ij-modern .ij-about-hero .growth-text-box .desc p:first-child { font-size: 20px !important; font-weight: 500 !important; color: var(--ij-text) !important; }
body.ij-modern .ij-about-hero .elementor-element-c1ca881 { position: relative !important; inset: auto !important; transform: none !important; width: 100% !important; max-width: 440px; margin: 0 auto !important; }
body.ij-modern .ij-about-hero .elementor-element-c1ca881 img { width: 100% !important; height: auto !important; display: block; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
@media (max-width: 1024px) {
	body.ij-modern .ij-about-hero > .elementor-container { flex-wrap: wrap !important; }
	body.ij-modern .ij-about-hero .elementor-column { width: 100% !important; }
	body.ij-modern .ij-about-hero .elementor-column:has(.elementor-element-c1ca881) { display: flex !important; order: -1; }
	body.ij-modern .ij-about-hero .elementor-element-c1ca881 { max-width: 340px; }
	body.ij-modern .ij-about-hero .elementor-widget-growth-position_element:not(.elementor-element-c1ca881) { display: none !important; }
	body.ij-modern .ij-about-hero .growth-text-box, body.ij-modern .ij-about-hero .growth-text-box * { text-align: center !important; }
	body.ij-modern .ij-about-hero .growth-text-box .top-title::before { display: none; }
}
body.ij-modern .ij-avatar-fallback { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ij-gold-grad); color: #1a1305; font-weight: 700; font-size: 22px; box-shadow: 0 0 0 3px var(--ij-gold-soft); }

/* ---- Per-book banner (single book pages) ---- */
body.ijb-book-banner .header-area { position: relative; overflow: hidden; background-image: none !important; background-color: #0d1224 !important; }
body.ijb-book-banner .header-area::after { content: ""; position: absolute; inset: -80px; background: var(--ijb-cover) center 40% / cover no-repeat; filter: blur(60px) saturate(1.35) brightness(.75); opacity: .9; z-index: 0; pointer-events: none; }
body.ijb-book-banner .header-area::before { z-index: 1 !important; background: linear-gradient(90deg, rgba(10,14,30,.25) 0%, rgba(10,14,30,.55) 45%, rgba(10,14,30,.85) 100%) !important; opacity: 1 !important; }
body.ijb-book-banner .header-area .header-content { position: relative; z-index: 2; }
body.ijb-book-banner .header-area .header-content::after { content: ""; position: absolute; left: max(4%, calc(50% - 560px)); bottom: 0; top: calc(var(--ij-header-h, 84px) + 10px); width: min(30vw, 300px); background: var(--ijb-cover) left bottom / contain no-repeat; filter: drop-shadow(-12px 24px 26px rgba(0,0,0,.6)); pointer-events: none; }
body.ijb-book-banner .header-area .header-content .col-md-9 { max-width: calc(100% - min(30vw, 320px)); }
@media (max-width: 767px) {
	body.ijb-book-banner .header-area .header-content::after { display: none; }
	body.ijb-book-banner .header-area .header-content .col-md-9 { max-width: none; }
}

/* ---- Home testimonial arrows: mirror for RTL ---- */
.growth-testimonial-area .slick-arrow i { display: inline-block; transform: scaleX(-1); }
body.ijb-book-banner .header-area::after { filter: blur(48px) saturate(1.6); opacity: 1; inset: -60px -60px -60px 30%; background-position: center; }
body.ijb-book-banner .header-area::before { background: linear-gradient(90deg, rgba(10,14,30,.35) 0%, rgba(10,14,30,.5) 40%, rgba(10,14,30,.78) 75%, rgba(10,14,30,.92) 100%) !important; }

/* ---- Elementor testimonial carousel (inner pages) v2 ---- */
body.ij-modern .elementor-widget-testimonial-carousel .swiper-slide { height: auto; padding: 4px 2px 6px; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial {
	position: relative; height: 100%; box-sizing: border-box;
	display: grid !important; grid-template-columns: auto 1fr; grid-template-areas: "text text" "img cite"; align-items: center; column-gap: 14px; row-gap: 22px;
	padding: 34px 36px 28px !important; border-radius: 22px !important;
	background: radial-gradient(500px 200px at 100% 0%, rgba(226,182,96,.08), transparent 70%), var(--ij-card, #141b31) !important;
	border: 1px solid rgba(255,255,255,.08) !important; box-shadow: 0 24px 50px -30px rgba(0,0,0,.8);
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial::before {
	content: "”"; position: absolute; top: 14px; left: 26px; font: 700 72px/1 Georgia, serif; color: rgba(226,182,96,.22); pointer-events: none;
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__content { display: contents !important; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__text {
	grid-area: text; margin: 0 !important; padding: 0 !important; unicode-bidi: plaintext; text-align: start !important;
	font-size: 15.5px !important; line-height: 2 !important; color: var(--ij-soft, #c9cedb) !important; font-style: normal !important;
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__footer { grid-area: img; display: block !important; margin: 0 !important; padding: 0 !important; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__image img {
	width: 56px !important; height: 56px !important; border-radius: 50% !important; object-fit: cover; margin: 0 !important;
	border: 2px solid rgba(226,182,96,.55); box-shadow: 0 0 0 4px rgba(226,182,96,.08);
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__cite {
	grid-area: cite; display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 !important; text-align: right !important;
	padding-top: 0 !important; border: 0 !important;
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__name { font-size: 17px !important; font-weight: 700 !important; color: var(--ij-text, #eef0f6) !important; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__title { font-size: 13.5px !important; color: var(--ij-gold, #e2b660) !important; }
/* Draw chevrons in CSS so they never mirror wrongly in RTL */
body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button {
	width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 50%;
	background: rgba(20,27,49,.9); border: 1px solid rgba(226,182,96,.35); color: var(--ij-gold, #e2b660) !important; transition: background .25s, transform .25s;
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button:hover { background: rgba(226,182,96,.15); }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button i { font-size: 0 !important; width: 11px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; display: block; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button i::before { content: none !important; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button-prev i { transform: translateX(-2px) rotate(-45deg); }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button-next i { transform: translateX(2px) rotate(135deg); }
@media (max-width: 767px) {
	body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial { padding: 26px 22px 22px !important; }
	body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial__text { font-size: 14.5px !important; }
	body.ij-modern .elementor-widget-testimonial-carousel .elementor-swiper-button { width: 38px; height: 38px; }
}
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial { padding-top: 52px !important; }
body.ij-modern .elementor-widget-testimonial-carousel .elementor-testimonial::before { top: 10px; left: auto; right: 32px; font-size: 60px; content: "“"; }
body.ijb-book-banner .header-area::after { inset: -70px; opacity: .85; filter: blur(55px) saturate(1.7); background-size: 70% auto; background-position: 30% 50%; background-repeat: repeat-x; }
body.ijb-book-banner .header-area::before { background: linear-gradient(180deg, rgba(10,14,30,.45) 0%, rgba(10,14,30,.6) 60%, rgba(11,16,32,.95) 100%) !important; }
body.ij-modern .ijh-about-main { margin-inline: auto; }
body.ijb-book-banner .header-area::after { width: auto !important; height: auto !important; transform: none !important; border-radius: 0 !important; animation: none !important; margin: 0 !important; }
/* Order page (mobile): the sticky order bar replaces the floating WhatsApp button */
@media (max-width: 767px) {
	body:has(.ijo-bar.is-visible) .wa__btn_popup, body:has(.ijo-bar.is-visible) .wa__popup_chat_box, body:has(.ijo-bar.is-visible) .grecaptcha-badge, body:has(.ijo-bar.is-visible) #scrollUp { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
}

/* ---- Typography hardening (theme rtl.css used to force an undefined "stc" font) ---- */
html body.ij-modern, html body.ij-modern.rtl { font-family: var(--ij-font) !important; }
body.ij-modern ::placeholder { font-family: var(--ij-font) !important; font-weight: 400 !important; color: rgba(201,206,219,.45) !important; opacity: 1; }
body.ij-modern input[dir="ltr"], body.ij-modern input[type="tel"], body.ij-modern input[type="email"] { text-align: right; }
body.ij-modern select, body.ij-modern option { font-family: var(--ij-font) !important; }
/* Video embeds keep a proper 16:9 frame */
body.ij-modern .elementor-widget-video iframe, body.ij-modern .elementor-widget-html iframe[src*="youtube"], body.ij-modern .elementor-text-editor iframe[src*="youtube"], body.ij-modern iframe[src*="youtube.com/embed"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; display: block; border-radius: 18px; }

/* Lazy-load placeholders (Themify) paint a colour mosaic behind images; it shows through transparent book PNGs */
body.ij-modern img[data-lazy], body.ij-modern img[style*="gradient"] { background: none !important; background-image: none !important; }
@media (max-width: 767px) { body:has(#ijb-order) .wa__btn_popup, body:has(#ijb-order) .wa__popup_chat_box, body:has(#ijb-order) .grecaptcha-badge { display: none !important; } }

/* ---- Branded 404 ---- */
body.ij-modern.error404 .header-area { display: none; }
.ij404 { position: relative; overflow: hidden; padding: calc(var(--ij-header-h, 84px) + 60px) 16px 90px; text-align: center; }
.ij404-glow { position: absolute; top: 40px; left: 50%; width: 760px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(226,182,96,.18), transparent 70%); pointer-events: none; }
.ij404-inner { position: relative; max-width: 860px; margin: 0 auto; }
.ij404-num { font-size: clamp(110px, 18vw, 200px); line-height: 1; font-weight: 700; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 2px rgba(226,182,96,.55); background: linear-gradient(180deg, rgba(244,213,143,.22), rgba(226,182,96,0)); -webkit-background-clip: text; background-clip: text; margin-bottom: 6px; font-family: var(--ij-font) !important; }
.ij404 h1 { font-size: clamp(26px, 3.4vw, 38px) !important; margin: 0 0 12px !important; color: var(--ij-text, #eef0f6) !important; }
.ij404-lead { max-width: 560px; margin: 0 auto 22px !important; color: var(--ij-text-soft, #c9cedd); font-size: 16.5px; line-height: 1.9; }
.ij404-verse { margin: 0 auto 30px !important; padding: 0 !important; border: 0 !important; background: none !important; }
.ij404-verse::before, .ij404-verse::after { content: none !important; }
.ij404-verse p { margin: 0 0 4px !important; font-size: clamp(17px, 2vw, 21px) !important; color: var(--ij-text, #eef0f6) !important; font-weight: 500; font-style: normal; }
.ij404-verse cite { color: var(--ij-gold, #e2b660); font-size: 13.5px; font-style: normal; text-decoration: none !important; }
.ij404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.ij404-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 14px; border: 1px solid rgba(226,182,96,.4); color: var(--ij-gold-2, #f4d58f) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; transition: background .25s, transform .25s; }
.ij404-btn:hover { background: rgba(226,182,96,.1); transform: translateY(-2px); }
.ij404-btn-gold { border: 0; background: linear-gradient(135deg, #f4d58f, #e2b660 45%, #c9953f); color: #1a1305 !important; box-shadow: 0 12px 26px -14px rgba(226,182,96,.9); }
.ij404-books { border-top: 1px solid rgba(255,255,255,.08); padding-top: 30px; }
.ij404-label { display: block; color: var(--ij-gold, #e2b660); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.ij404-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ij404-book { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 12px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); text-decoration: none !important; transition: transform .35s, border-color .35s; }
.ij404-book:hover { transform: translateY(-5px); border-color: rgba(226,182,96,.35); }
.ij404-book img { height: 140px; width: auto; filter: drop-shadow(-8px 14px 14px rgba(0,0,0,.5)); }
.ij404-book span { color: var(--ij-text, #eef0f6); font-size: 13.5px; line-height: 1.6; }
@media (max-width: 767px) {
	.ij404-grid { grid-template-columns: repeat(2, 1fr); }
	.ij404-btn { flex: 1 1 calc(50% - 10px); justify-content: center; }
	.ij404-btn-gold { flex-basis: 100%; }
}

/* ---- Policy pages ---- */
.ij-policy { max-width: 820px; margin: 0 auto; color: var(--ij-text-soft, #c9cedd); font-size: 16.5px; line-height: 2; }
.ij-policy-lead { font-size: 18px; color: var(--ij-text, #eef0f6); padding: 18px 22px; border-radius: 16px; background: rgba(226,182,96,.08); border: 1px solid rgba(226,182,96,.25); margin-bottom: 28px !important; }
.ij-policy h2 { font-size: 21px !important; margin: 34px 0 12px !important; color: var(--ij-text, #eef0f6) !important; padding-right: 14px; border-right: 3px solid var(--ij-gold, #e2b660); line-height: 1.5 !important; }
.ij-policy ul, .ij-policy ol { margin: 0 0 16px; padding-right: 22px; }
.ij-policy li { margin-bottom: 8px; }
.ij-policy li::marker { color: var(--ij-gold, #e2b660); }
.ij-policy strong { color: var(--ij-text, #eef0f6); }
.ij-policy a { color: var(--ij-gold-2, #f4d58f) !important; text-decoration: underline; text-underline-offset: 3px; }
.ij-policy-date { margin-top: 36px !important; color: var(--ij-muted, #959cb3); font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.ijo-fine a { color: var(--b-gold2, #f4d58f) !important; text-decoration: underline; text-underline-offset: 3px; }
/* WhatsApp chat widget: Arabic label */
body.ij-modern .wa__btn_popup_txt { direction: rtl; font-family: var(--ij-font) !important; white-space: nowrap; width: auto !important; padding-left: 18px !important; }
body.ij-modern .wa__btn_popup_txt strong { font-weight: 600; }
body.ij-modern .wa__popup_chat_box, body.ij-modern .wa__popup_chat_box * { font-family: var(--ij-font) !important; }
body.ij-modern .wa__popup_chat_box { direction: rtl; text-align: right; }
body.ij-modern .wa__btn_popup_txt { padding-right: 34px !important; }

/* ---- Inner page titles: align with the logo on the right ---- */
body.ij-modern .header-area .header-content > .container { max-width: 1240px !important; width: 100% !important; }
body.ij-modern .header-area .header-content .row { margin-left: 0; margin-right: 0; }
body.ij-modern .header-area .header-content .col-md-9 { float: none; width: 100%; padding-left: 0; padding-right: 0; }
body.ij-modern .header-area .page-title { margin: 0 0 16px !important; max-width: 900px; text-align: right !important; }
body.ij-modern .header-area .sub-title { margin: 0 !important; width: fit-content; justify-content: flex-start; }

/* Footer credit */
.ij-credit { display: block; margin-top: 6px; color: var(--ij-muted, #959cb3); font-size: 13px; }
.ij-credit a { color: var(--ij-gold-2, #f4d58f) !important; font-weight: 600; text-decoration: none !important; border-bottom: 1px dashed rgba(226,182,96,.5); }
.ij-credit a:hover { color: var(--ij-gold, #e2b660) !important; }

/* Book banner: keep the title clear of the cover image */
@media (min-width: 768px) {
	body.ijb-book-banner .header-area .header-content .col-md-9 { max-width: calc(100% - min(30vw, 300px) - 110px) !important; }
}
/* Theme "Next/Prev" navigation on book pages */
body.ij-modern .single-portfolio-nav .nav-label, body.ij-modern .post-navigation .meta-nav { font-family: var(--ij-font) !important; }
