/**
 * Theme Name: Kashif Class Child
 * Theme URI: http://kashif-class.local
 * Author: Kashif Class
 * Description: Custom Astra Child Theme for Kashif Class — Arabic-first RTL online learning platform.
 * Version: 1.2.2
 * Template: astra
 * Text Domain: kashif-class-child
 * Requires at least: 6.0
 * Requires PHP: 7.4
 */

:root {
	--kc-navy: #14213D;
	--kc-navy-dark: #0D172A;
	--kc-navy-soft: #1E3158;
	--kc-gold: #D9B45B;
	--kc-gold-hover: #C59D41;
	--kc-gold-soft: rgba(217, 180, 91, 0.14);
	--kc-bg-light: #F8F9FA;
	--kc-white: #FFFFFF;
	--kc-text: #263247;
	--kc-text-muted: #526077;
	--kc-border: #E2E6ED;
	--kc-shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.05);
	--kc-shadow-md: 0 8px 24px rgba(20, 33, 61, 0.08);
	--kc-radius-sm: 6px;
	--kc-radius-md: 10px;
	--kc-radius-lg: 14px;
	--kc-font-heading: 'Cairo', sans-serif;
	--kc-font-body: 'Tajawal', sans-serif;
}

html {
	scroll-behavior: smooth;
}

/* ==========================================================================
   1. Base Arabic RTL Typography & Colors
   ========================================================================== */
body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button,
.tutor-btn,
.woocommerce a.button,
.woocommerce button.button {
	font-family: var(--kc-font-body);
	color: var(--kc-text);
	line-height: 1.8;
}

h1, .entry-content h1,
h2, .entry-content h2,
h3, .entry-content h3,
h4, .entry-content h4,
h5, .entry-content h5,
h6, .entry-content h6,
.site-title,
.site-title a,
.tutor-course-name,
.tutor-course-details-title,
.woocommerce-loop-product__title,
.elementor-heading-title {
	font-family: var(--kc-font-heading);
	font-weight: 700;
	color: var(--kc-navy);
	line-height: 1.38;
}

body,
.ast-separate-container,
.ast-plain-container {
	background-color: var(--kc-bg-light);
	overflow-x: hidden;
}

/* Ensure full-width stretched pages have no unwanted outer gaps */
.ast-page-builder-template .site-content > .ast-container,
.ast-full-width-layout .site-content > .ast-container,
.page-id-78 .site-content > .ast-container,
.page-id-90 .site-content > .ast-container,
.page-id-91 .site-content > .ast-container,
.post-type-archive-courses .site-content > .ast-container,
.tutor-screen-frontend-dashboard .site-content > .ast-container {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.ast-page-builder-template #primary,
.ast-full-width-layout #primary,
.page-id-78 #primary,
.page-id-90 #primary,
.page-id-91 #primary,
.post-type-archive-courses #primary,
.tutor-screen-frontend-dashboard #primary,
.ast-separate-container.page-id-78 .ast-article-single,
.ast-separate-container.page-id-90 .ast-article-single,
.ast-separate-container.page-id-91 .ast-article-single,
.ast-separate-container.ast-full-width-layout .ast-article-single {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
}

.ast-page-builder-template .entry-content,
.ast-full-width-layout .entry-content,
.page-id-78 .entry-content,
.page-id-90 .entry-content,
.page-id-91 .entry-content {
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-section.elementor-section-full_width > .elementor-container > .elementor-column > .elementor-element-populated {
	padding: 0 !important;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.kc-btn:focus-visible {
	outline: 2px solid var(--kc-gold);
	outline-offset: 2px;
}

a {
	color: var(--kc-navy);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
	color: var(--kc-gold-hover);
}

/* ==========================================================================
   2. Header & Navigation — Academic Navy & Gold
   ========================================================================== */
.site-header .ast-primary-header-bar,
.ast-theme-transparent-header .main-header-bar,
.main-header-bar {
	background-color: var(--kc-navy);
	border-bottom: 2px solid var(--kc-gold);
	min-height: 76px;
}

.site-header .site-title {
	margin: 0;
}

.site-header .site-title a,
.site-header .site-title a:visited {
	color: var(--kc-white);
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 1.45rem;
	letter-spacing: 0;
	white-space: nowrap;
}

.site-header .site-title a:hover,
.site-header .site-title a:focus {
	color: var(--kc-gold);
}

.site-header .site-description {
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--kc-font-body);
}

.main-header-menu .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-header-break-point .main-navigation ul .menu-item .menu-link {
	font-family: var(--kc-font-body);
	font-weight: 500;
	font-size: 1.05rem;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link,
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	color: var(--kc-white);
	padding-inline: 1.1rem;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:hover > .menu-link,
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:focus > .menu-link,
.ast-desktop .ast-primary-header-bar .main-header-menu > .current-menu-item > .menu-link,
.ast-desktop .ast-primary-header-bar .main-header-menu > .current-menu-ancestor > .menu-link,
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
.ast-desktop .ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link {
	color: var(--kc-gold);
}

/* Mobile Header Trigger & Drawer */
.ast-button-wrap .menu-toggle {
	border: 1px solid rgba(217, 180, 91, 0.45);
	border-radius: var(--kc-radius-sm);
	padding: 0.4rem 0.6rem;
	background: transparent;
}

.ast-button-wrap .menu-toggle .menu-toggle-icon,
.ast-builder-layout-element .ast-mobile-svg {
	fill: var(--kc-white);
	color: var(--kc-white);
}

.ast-button-wrap .menu-toggle:hover .ast-mobile-svg,
.ast-button-wrap .menu-toggle:focus .ast-mobile-svg {
	fill: var(--kc-gold);
	color: var(--kc-gold);
}

.ast-header-break-point .ast-mobile-header-wrap .ast-Below-header-bar,
.ast-header-break-point .ast-mobile-header-wrap .ast-main-header-wrap,
.ast-header-break-point .ast-primary-header-bar {
	background-color: var(--kc-navy);
}

.ast-header-break-point .ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-header-break-point .main-header-bar-navigation {
	background-color: var(--kc-white);
	border-top: 2px solid var(--kc-gold);
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
	color: var(--kc-navy);
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid var(--kc-border);
	font-weight: 600;
}

.ast-header-break-point .main-navigation ul .menu-item.current-menu-item > .menu-link,
.ast-header-break-point .main-navigation ul .menu-item > .menu-link:hover {
	color: var(--kc-gold-hover);
	background-color: var(--kc-bg-light);
}

/* ==========================================================================
   3. Reusable Layout, Buttons & Badges (.kc-*)
   ========================================================================== */
.kc-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
	width: 100%;
	box-sizing: border-box;
}

.kc-section {
	padding-block: 5rem;
	position: relative;
}

.kc-section-white {
	background-color: var(--kc-white);
}

.kc-section-light {
	background-color: var(--kc-bg-light);
}

.kc-section-navy {
	background-color: var(--kc-navy);
	color: var(--kc-white);
}

.kc-section-header {
	max-width: 760px;
	margin-inline: auto;
	margin-bottom: 3.25rem;
	text-align: center;
}

.kc-section-title,
.entry-content .kc-section-title {
	font-family: var(--kc-font-heading);
	font-size: clamp(1.65rem, 2.6vw, 2.25rem);
	font-weight: 700;
	color: var(--kc-navy);
	margin: 0.5rem 0 0.9rem;
}

.kc-section-navy .kc-section-title,
.entry-content .kc-section-navy .kc-section-title {
	color: var(--kc-white);
}

.kc-section-subtitle {
	font-size: 1.1rem;
	color: var(--kc-text-muted);
	margin: 0;
	line-height: 1.8;
}

.kc-section-navy .kc-section-subtitle {
	color: rgba(255, 255, 255, 0.86);
}

/* Badges */
.kc-badge-gold {
	display: inline-block;
	background-color: var(--kc-gold-soft);
	color: var(--kc-navy);
	border: 1px solid rgba(217, 180, 91, 0.55);
	font-family: var(--kc-font-heading);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.28rem 0.95rem;
	border-radius: 999px;
	line-height: 1.5;
	white-space: nowrap;
}

.kc-section-navy .kc-badge-gold,
.kc-page-hero .kc-badge-gold,
.kc-hero-section .kc-badge-gold,
.kc-bundle-card .kc-badge-gold {
	background-color: rgba(217, 180, 91, 0.18);
	color: var(--kc-gold);
	border-color: rgba(217, 180, 91, 0.45);
}

/* Buttons */
button,
.ast-button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button .wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.tutor-btn-primary,
.kc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--kc-font-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.78rem 1.75rem;
	border-radius: var(--kc-radius-sm);
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.5;
	transition: all 0.2s ease;
}

.entry-content a.kc-btn,
.entry-content a.tutor-btn,
.kc-site-footer a {
	text-decoration: none !important;
}

.kc-btn-primary,
.tutor-btn-primary {
	background-color: var(--kc-navy);
	color: var(--kc-white) !important;
	border: 1px solid var(--kc-navy);
}

.kc-btn-primary:hover,
.tutor-btn-primary:hover {
	background-color: var(--kc-gold);
	color: var(--kc-navy) !important;
	border-color: var(--kc-gold);
}

.kc-btn-gold,
.elementor-button.kc-btn-gold {
	background-color: var(--kc-gold);
	color: var(--kc-navy) !important;
	border: 1px solid var(--kc-gold);
}

.kc-btn-gold:hover,
.elementor-button.kc-btn-gold:hover {
	background-color: var(--kc-gold-hover);
	color: var(--kc-navy) !important;
	border-color: var(--kc-gold-hover);
}

.kc-btn-outline {
	background-color: transparent;
	color: var(--kc-navy) !important;
	border: 1.5px solid var(--kc-navy);
}

.kc-btn-outline:hover {
	background-color: var(--kc-navy);
	color: var(--kc-white) !important;
}

.kc-btn-outline-light {
	background-color: transparent;
	color: var(--kc-white) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.kc-btn-outline-light:hover {
	background-color: var(--kc-white);
	color: var(--kc-navy) !important;
	border-color: var(--kc-white);
}

/* ==========================================================================
   4. Homepage Section A — Hero Section
   ========================================================================== */
.kc-hero-section {
	background-color: var(--kc-navy);
	color: var(--kc-white);
	padding-block: 5.25rem;
	border-bottom: 3px solid var(--kc-gold);
}

.kc-hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3.5rem;
	align-items: center;
}

.kc-hero-title,
.entry-content .kc-hero-title {
	color: var(--kc-white);
	font-family: var(--kc-font-heading);
	font-size: clamp(2rem, 3.4vw, 2.85rem);
	font-weight: 700;
	line-height: 1.35;
	margin: 1rem 0 1.25rem;
}

.kc-hero-lead {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.18rem;
	line-height: 1.85;
	margin: 0 0 2rem;
	max-width: 620px;
}

.kc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

/* Hero Visual Showcase Card */
.kc-hero-visual-card {
	background-color: var(--kc-navy-soft);
	border: 1px solid rgba(217, 180, 91, 0.42);
	border-radius: var(--kc-radius-lg);
	padding: 2rem;
	box-shadow: 0 16px 36px rgba(8, 15, 30, 0.32);
}

.kc-hero-visual-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-bottom: 1rem;
	margin-bottom: 1.35rem;
}

.kc-hero-visual-brand {
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--kc-gold);
}

.kc-hero-visual-tag {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(255, 255, 255, 0.08);
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
}

.kc-hero-pillars-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.kc-hero-pillar-item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	background-color: rgba(20, 33, 61, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-right: 3px solid var(--kc-gold);
	border-radius: var(--kc-radius-sm);
	padding: 0.85rem 1.1rem;
}

.kc-hero-pillar-num {
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--kc-gold);
	background: rgba(217, 180, 91, 0.14);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.kc-hero-pillar-text strong {
	display: block;
	font-family: var(--kc-font-heading);
	color: var(--kc-white);
	font-size: 1rem;
	line-height: 1.4;
}

.kc-hero-pillar-text span {
	display: block;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.88rem;
}

/* ==========================================================================
   5. Homepage Section B — What We Offer (4 Service Cards)
   ========================================================================== */
.kc-offer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.kc-offer-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-top: 3px solid var(--kc-navy);
	border-radius: var(--kc-radius-md);
	padding: 2rem 1.5rem;
	box-shadow: var(--kc-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
}

.kc-offer-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--kc-shadow-md);
	border-top-color: var(--kc-gold);
}

.kc-offer-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--kc-radius-sm);
	background-color: var(--kc-gold-soft);
	color: var(--kc-navy);
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 1.15rem;
	border: 1px solid rgba(217, 180, 91, 0.45);
}

.kc-offer-card h3,
.entry-content .kc-offer-card h3 {
	font-size: 1.22rem;
	margin: 0 0 0.75rem;
	color: var(--kc-navy);
}

.kc-offer-card p {
	margin: 0;
	color: var(--kc-text-muted);
	font-size: 0.98rem;
	line-height: 1.75;
}

/* ==========================================================================
   6. Homepage Section C — Featured Courses & Dynamic Placeholder
   ========================================================================== */
.kc-courses-placeholder-box {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-right: 4px solid var(--kc-gold);
	border-radius: var(--kc-radius-md);
	padding: 2.75rem 2.5rem;
	text-align: center;
	max-width: 920px;
	margin-inline: auto;
	box-shadow: var(--kc-shadow-sm);
}

.kc-placeholder-title,
.entry-content .kc-placeholder-title {
	font-size: 1.5rem;
	color: var(--kc-navy);
	margin: 0.85rem 0 0.85rem;
}

.kc-placeholder-text {
	color: var(--kc-text-muted);
	font-size: 1.05rem;
	max-width: 720px;
	margin: 0 auto 1.75rem;
	line-height: 1.85;
}

.kc-placeholder-tracks-preview {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.kc-track-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: var(--kc-bg-light);
	border: 1px solid var(--kc-border);
	padding: 0.45rem 1rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--kc-navy);
}

.kc-track-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--kc-gold);
	display: inline-block;
}

.kc-placeholder-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* ==========================================================================
   7. Homepage Section D — Complete Bundle (#bundle)
   ========================================================================== */
.kc-bundle-card {
	background-color: var(--kc-navy);
	color: var(--kc-white);
	border: 1px solid rgba(217, 180, 91, 0.5);
	border-radius: var(--kc-radius-lg);
	padding: 3.5rem 3rem;
	box-shadow: var(--kc-shadow-md);
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 2.5rem;
	align-items: center;
}

.kc-bundle-title,
.entry-content .kc-bundle-title {
	color: var(--kc-white);
	font-size: clamp(1.75rem, 2.8vw, 2.35rem);
	margin: 0.8rem 0 1rem;
}

.kc-bundle-desc {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.15rem;
	line-height: 1.85;
	margin: 0 0 1.25rem;
}

.kc-bundle-note {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	margin: 0 0 1.75rem;
	padding-right: 0.9rem;
	border-right: 2px solid var(--kc-gold);
}

.kc-bundle-highlights {
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(217, 180, 91, 0.32);
	border-radius: var(--kc-radius-md);
	padding: 1.75rem;
}

.kc-bundle-highlights h3,
.entry-content .kc-bundle-highlights h3 {
	color: var(--kc-gold);
	font-size: 1.15rem;
	margin: 0 0 1rem;
}

.kc-bundle-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.kc-bundle-list li {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.98rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.kc-bundle-list li::before {
	content: "•";
	color: var(--kc-gold);
	font-weight: 700;
	font-size: 1.2rem;
}

/* ==========================================================================
   8. Homepage Section E — Why Kashif Class? (4 Benefits)
   ========================================================================== */
.kc-why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.kc-why-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-md);
	padding: 1.75rem 2rem;
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	box-shadow: var(--kc-shadow-sm);
}

.kc-why-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--kc-navy);
	color: var(--kc-gold);
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.kc-why-content h3,
.entry-content .kc-why-content h3 {
	font-size: 1.2rem;
	margin: 0 0 0.45rem;
	color: var(--kc-navy);
}

.kc-why-content p {
	margin: 0;
	color: var(--kc-text-muted);
	font-size: 0.98rem;
}

/* ==========================================================================
   9. Homepage Section F — About the Instructor (من نحن)
   ========================================================================== */
.kc-instructor-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-lg);
	padding: 3rem;
	box-shadow: var(--kc-shadow-sm);
	max-width: 960px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 2.75rem;
	align-items: center;
}

.kc-instructor-emblem {
	background-color: var(--kc-navy);
	color: var(--kc-white);
	border: 2px solid var(--kc-gold);
	border-radius: var(--kc-radius-md);
	padding: 2.25rem 1.5rem;
	text-align: center;
}

.kc-instructor-monogram {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background-color: rgba(217, 180, 91, 0.16);
	border: 1.5px solid var(--kc-gold);
	color: var(--kc-gold);
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 1.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.kc-instructor-emblem-name {
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--kc-white);
	margin: 0 0 0.35rem;
}

.kc-instructor-emblem-role {
	font-size: 0.9rem;
	color: var(--kc-gold);
	margin: 0;
}

.kc-instructor-bio h3,
.entry-content .kc-instructor-bio h3 {
	font-size: 1.55rem;
	margin: 0.4rem 0 0.75rem;
	color: var(--kc-navy);
}

.kc-instructor-role-lead {
	font-size: 1.05rem;
	color: var(--kc-text-muted);
	margin: 0 0 1.25rem;
}

.kc-instructor-credential-box {
	background-color: var(--kc-bg-light);
	border: 1px solid var(--kc-border);
	border-right: 4px solid var(--kc-gold);
	border-radius: var(--kc-radius-sm);
	padding: 1.25rem 1.5rem;
	margin: 0 0 1.5rem;
	font-size: 1.08rem;
	font-weight: 500;
	color: var(--kc-navy);
	line-height: 1.85;
}

/* ==========================================================================
   10. Homepage Section G — Testimonials Placeholder
   ========================================================================== */
.kc-testimonials-placeholder {
	background-color: var(--kc-white);
	border: 1px dashed #C5CEDB;
	border-radius: var(--kc-radius-md);
	padding: 2.75rem 2rem;
	text-align: center;
	max-width: 780px;
	margin-inline: auto;
}

.kc-testimonials-placeholder h3,
.entry-content .kc-testimonials-placeholder h3 {
	font-size: 1.3rem;
	margin: 0.75rem 0 0.65rem;
	color: var(--kc-navy);
}

.kc-testimonials-placeholder p {
	color: var(--kc-text-muted);
	font-size: 1.02rem;
	margin: 0;
	max-width: 600px;
	margin-inline: auto;
}

/* ==========================================================================
   11. Homepage Section H — FAQ Section
   ========================================================================== */
.kc-faq-list {
	max-width: 860px;
	margin-inline: auto;
	display: grid;
	gap: 1rem;
}

.kc-faq-item {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-md);
	padding: 1.5rem 1.75rem;
	box-shadow: var(--kc-shadow-sm);
}

.kc-faq-question,
.entry-content .kc-faq-question {
	font-family: var(--kc-font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--kc-navy);
	margin: 0 0 0.6rem;
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.kc-faq-question::before {
	content: "س:";
	color: var(--kc-gold-hover);
	font-weight: 700;
}

.kc-faq-answer {
	margin: 0;
	color: var(--kc-text-muted);
	font-size: 1rem;
	line-height: 1.8;
}

/* ==========================================================================
   12. Homepage Section I — Final CTA Section
   ========================================================================== */
.kc-final-cta-section {
	background-color: var(--kc-navy);
	color: var(--kc-white);
	padding-block: 4.5rem;
	text-align: center;
	border-top: 2px solid rgba(217, 180, 91, 0.35);
}

.kc-final-cta-box {
	max-width: 720px;
	margin-inline: auto;
}

.kc-final-cta-title,
.entry-content .kc-final-cta-title {
	color: var(--kc-white);
	font-size: clamp(1.75rem, 2.8vw, 2.35rem);
	margin: 0 0 1rem;
}

.kc-final-cta-text {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.1rem;
	margin: 0 0 2rem;
}

/* ==========================================================================
   13. Section J — Custom Arabic Footer
   ========================================================================== */
.kc-site-footer {
	background-color: var(--kc-navy-dark);
	color: var(--kc-white);
	border-top: 3px solid var(--kc-gold);
	font-family: var(--kc-font-body);
}

.kc-footer-main {
	padding-block: 4rem 3rem;
}

.kc-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr;
	gap: 3rem;
}

.kc-footer-logo {
	display: inline-flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.kc-footer-logo-ar {
	font-family: var(--kc-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--kc-white);
	line-height: 1.2;
}

.kc-footer-logo-en {
	font-family: var(--kc-font-heading);
	font-size: 0.9rem;
	color: var(--kc-gold);
	letter-spacing: 0.04em;
}

.kc-footer-description {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.98rem;
	line-height: 1.8;
	margin: 0;
	max-width: 420px;
}

.kc-footer-heading {
	font-family: var(--kc-font-heading);
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--kc-gold);
	margin: 0 0 1.15rem;
}

.kc-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.kc-footer-links a {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.98rem;
}

.kc-footer-links a:hover {
	color: var(--kc-gold);
}

.kc-footer-contact-note {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.96rem;
	margin: 0 0 0.85rem;
}

.kc-footer-contact-link {
	display: inline-block;
	color: var(--kc-gold) !important;
	font-family: var(--kc-font-heading);
	font-weight: 600;
	font-size: 0.98rem;
	margin-bottom: 0.85rem;
}

.kc-footer-contact-link:hover {
	color: var(--kc-white) !important;
}

.kc-footer-placeholder-meta {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.88rem;
	margin: 0;
}

.kc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 1.35rem;
	background-color: rgba(0, 0, 0, 0.18);
}

.kc-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.kc-copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.92rem;
}

.kc-footer-bottom-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	font-size: 0.92rem;
}

.kc-footer-bottom-links a {
	color: rgba(255, 255, 255, 0.8);
}

.kc-footer-bottom-links a:hover {
	color: var(--kc-gold);
}

/* ==========================================================================
   14. Inner Pages — Page Hero, About (من نحن) & Contact (تواصل معنا)
   ========================================================================== */
.kc-page-hero {
	background-color: var(--kc-navy);
	color: var(--kc-white);
	padding-block: 3.5rem;
	text-align: center;
	border-bottom: 3px solid var(--kc-gold);
	border-radius: var(--kc-radius-md);
	margin-bottom: 2.5rem;
	box-shadow: 0 4px 20px rgba(20, 33, 61, 0.08);
}

.kc-page-hero-title,
.entry-content .kc-page-hero-title {
	color: var(--kc-white);
	font-size: clamp(1.85rem, 3vw, 2.5rem);
	margin: 0.75rem 0 0.85rem;
}

.kc-page-hero-subtitle {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.12rem;
	max-width: 720px;
	margin: 0 auto;
	line-height: 1.85;
}

.kc-about-pillars-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.kc-contact-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.5rem;
	align-items: start;
}

.kc-contact-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-md);
	padding: 2.25rem;
	box-shadow: var(--kc-shadow-sm);
}

.kc-contact-card h2,
.entry-content .kc-contact-card h2,
.kc-contact-card h3,
.entry-content .kc-contact-card h3 {
	margin-top: 0;
	color: var(--kc-navy);
}

.kc-form-group {
	margin-bottom: 1.25rem;
}

.kc-form-group label {
	display: block;
	font-family: var(--kc-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--kc-navy);
	margin-bottom: 0.45rem;
}

.kc-form-control,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
	width: 100%;
	font-family: var(--kc-font-body);
	font-size: 1rem;
	color: var(--kc-text);
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-sm);
	padding: 0.7rem 0.95rem;
	box-sizing: border-box;
}

select,
select.kc-form-control {
	background-image: none !important;
	padding-inline-end: 2rem;
}

.kc-form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: var(--kc-gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(217, 180, 91, 0.2);
}

#bundle,
#bundle-track,
#about,
#kc-contact-form-wrap {
	scroll-margin-top: 90px;
}

.kc-required-star {
	color: #B45309;
	font-weight: 700;
}

.kc-form-preview-note {
	font-size: 0.9rem;
	color: var(--kc-text-muted);
	background-color: var(--kc-bg-light);
	border-right: 3px solid var(--kc-gold);
	padding: 0.65rem 0.9rem;
	border-radius: var(--kc-radius-sm);
	margin: 0 0 1.25rem;
}

.kc-form-alert {
	padding: 1rem 1.25rem;
	border-radius: var(--kc-radius-sm);
	margin-bottom: 1.35rem;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.75;
}

.kc-form-alert-notice {
	background-color: rgba(217, 180, 91, 0.16);
	border: 1px solid var(--kc-gold);
	border-right: 4px solid var(--kc-navy);
	color: var(--kc-navy);
}

.kc-form-alert-error {
	background-color: #FEF2F2;
	border: 1px solid #FECACA;
	border-right: 4px solid #DC2626;
	color: #991B1B;
}

.kc-contact-channel-item {
	padding: 1.1rem 1.25rem;
	background-color: var(--kc-bg-light);
	border: 1px solid var(--kc-border);
	border-right: 3px solid var(--kc-gold);
	border-radius: var(--kc-radius-sm);
	margin-bottom: 1rem;
}

.kc-contact-channel-item strong {
	display: block;
	font-family: var(--kc-font-heading);
	color: var(--kc-navy);
	margin-bottom: 0.25rem;
}

.kc-contact-channel-item span {
	color: var(--kc-text-muted);
	font-size: 0.95rem;
}

/* ==========================================================================
   15. Tutor LMS Courses Archive (/courses/), Single Course & Dashboard
   ========================================================================== */
.kc-course-archive-container {
	padding-block: 3.5rem 4.5rem;
}

.kc-archive-empty-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-top: 4px solid var(--kc-gold);
	border-radius: var(--kc-radius-lg);
	padding: 3rem 2.5rem;
	text-align: center;
	box-shadow: var(--kc-shadow-sm);
	max-width: 1020px;
	margin-inline: auto;
}

.kc-archive-empty-title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--kc-navy);
	margin: 0.85rem 0 1rem;
}

.kc-archive-empty-desc {
	color: var(--kc-text-muted);
	font-size: 1.08rem;
	max-width: 760px;
	margin: 0 auto 2.5rem;
	line-height: 1.85;
}

.kc-archive-tracks-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	text-align: right;
	margin-bottom: 2.5rem;
}

.kc-archive-track-card {
	background-color: var(--kc-bg-light);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-md);
	padding: 1.5rem 1.25rem;
}

.kc-track-number {
	display: inline-block;
	font-family: var(--kc-font-heading);
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--kc-navy);
	background-color: var(--kc-gold-soft);
	border: 1px solid rgba(217, 180, 91, 0.45);
	padding: 0.15rem 0.65rem;
	border-radius: var(--kc-radius-sm);
	margin-bottom: 0.75rem;
}

.kc-archive-track-card h3 {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	color: var(--kc-navy);
}

.kc-archive-track-card p {
	margin: 0;
	font-size: 0.94rem;
	color: var(--kc-text-muted);
	line-height: 1.7;
}

.kc-archive-empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* Tutor Course Cards & Single Course */
.tutor-card,
.tutor-course-card,
.tutor-single-course-sidebar .tutor-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-md);
	box-shadow: var(--kc-shadow-sm);
	overflow: hidden;
}

.tutor-course-details-page {
	padding-block: 2.5rem 4rem;
}

.tutor-course-details-title {
	font-family: var(--kc-font-heading);
	color: var(--kc-navy);
}

.tutor-nav-tabs,
.tutor-course-details-tab .tutor-nav {
	border-bottom: 2px solid var(--kc-border);
}

.tutor-nav .tutor-nav-link.is-active {
	color: var(--kc-navy);
	border-bottom-color: var(--kc-gold);
	font-family: var(--kc-font-heading);
	font-weight: 700;
}

.tutor-progress-bar,
.tutor-progress-value {
	background-color: var(--kc-gold);
}

/* Logged-out Student Dashboard Gate (/dashboard/) */
.kc-dashboard-guest-wrap {
	max-width: 860px;
	margin: 3rem auto 4rem;
	padding-inline: 20px;
}

.kc-dashboard-guest-card {
	background-color: var(--kc-white);
	border: 1px solid var(--kc-border);
	border-top: 4px solid var(--kc-navy);
	border-radius: var(--kc-radius-lg);
	padding: 3rem 2.5rem;
	text-align: center;
	box-shadow: var(--kc-shadow-sm);
}

.kc-dashboard-guest-title {
	font-size: 2rem;
	margin: 0.85rem 0 0.85rem;
	color: var(--kc-navy);
}

.kc-dashboard-guest-desc {
	color: var(--kc-text-muted);
	font-size: 1.08rem;
	max-width: 660px;
	margin: 0 auto 2rem;
}

.kc-dashboard-guest-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	text-align: right;
	margin-bottom: 2.25rem;
}

.kc-guest-feature-item {
	background-color: var(--kc-bg-light);
	border: 1px solid var(--kc-border);
	border-right: 3px solid var(--kc-gold);
	border-radius: var(--kc-radius-sm);
	padding: 1.15rem 1.25rem;
}

.kc-guest-feature-item strong {
	display: block;
	font-family: var(--kc-font-heading);
	color: var(--kc-navy);
	font-size: 1.02rem;
	margin-bottom: 0.35rem;
}

.kc-guest-feature-item span {
	font-size: 0.92rem;
	color: var(--kc-text-muted);
}

.kc-dashboard-guest-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

/* Logged-in Tutor Dashboard Styling */
.tutor-dashboard .tutor-frontend-dashboard-main-content,
.tutor-dashboard-layout {
	font-family: var(--kc-font-body);
}

.tutor-dashboard-permalinks li.active a,
.tutor-dashboard-menu-item.active a {
	background-color: var(--kc-navy) !important;
	color: var(--kc-gold) !important;
}

/* ==========================================================================
   16. Responsive Breakpoints (Tablet 768px & Mobile 390px)
   ========================================================================== */
@media (max-width: 1024px) {
	.kc-hero-grid,
	.kc-bundle-card,
	.kc-contact-grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.kc-offer-grid,
	.kc-archive-tracks-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.kc-instructor-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.kc-instructor-credential-box {
		text-align: right;
	}

	.kc-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.25rem;
	}

	.kc-dashboard-guest-features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.kc-section {
		padding-block: 3.5rem;
	}

	.kc-hero-section {
		padding-block: 3.5rem;
	}

	.kc-offer-grid,
	.kc-why-grid,
	.kc-about-pillars-grid,
	.kc-archive-tracks-grid,
	.kc-footer-grid {
		grid-template-columns: 1fr;
	}

	.kc-bundle-card,
	.kc-instructor-card,
	.kc-courses-placeholder-box,
	.kc-archive-empty-card,
	.kc-dashboard-guest-card,
	.kc-contact-card {
		padding: 1.75rem 1.35rem;
	}

	.kc-hero-actions,
	.kc-placeholder-actions,
	.kc-archive-empty-actions,
	.kc-dashboard-guest-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.kc-hero-actions .kc-btn,
	.kc-placeholder-actions .kc-btn,
	.kc-archive-empty-actions .kc-btn,
	.kc-dashboard-guest-actions .kc-btn {
		width: 100%;
		box-sizing: border-box;
	}

	.kc-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}


/* ==========================================================================
   10. Course Catalog & Layout Architecture (Kashif Class)
   ========================================================================== */

/* 10.1 Astra Container Layout Reset for Courses Archive */
.post-type-archive-courses #content > .ast-container,
.archive.post-type-archive-courses #content > .ast-container,
.tax-course-category #content > .ast-container,
.tax-course-tag #content > .ast-container {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 1240px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
	box-sizing: border-box !important;
}

.kc-catalog-page-wrapper {
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box !important;
}

/* 10.2 Page Hero Banner */
.kc-archive-hero {
	width: 100% !important;
	margin-bottom: 0 !important;
}

/* 10.3 Horizontal Learning & Sales Models Architecture Banner */
.kc-catalog-models-banner-wrap {
	width: 100% !important;
	padding: 1.75rem 0 1.25rem;
	background: #F8FAFC;
	border-bottom: 1px solid var(--kc-border, #E2E6ED);
	box-sizing: border-box !important;
}
.kc-catalog-models-banner {
	background: #FFFFFF;
	border: 1px solid var(--kc-border, #E2E6ED);
	border-radius: 12px;
	padding: 1.35rem 1.6rem;
	box-shadow: 0 4px 16px rgba(20, 33, 61, 0.04);
	box-sizing: border-box !important;
}
.kc-models-banner-header {
	margin-bottom: 1rem;
	text-align: right;
}
.kc-models-tag {
	display: inline-block;
	background: rgba(217, 180, 91, 0.16);
	color: #8C6A15;
	font-weight: 700;
	font-size: 0.78rem;
	padding: 0.2rem 0.65rem;
	border-radius: 6px;
	margin-bottom: 0.35rem;
}
.kc-models-title {
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--kc-navy, #14213D);
	margin: 0;
}
.kc-models-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.kc-model-item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.75rem 0.9rem;
	background: #F8FAFC;
	border: 1px solid #ECEEF3;
	border-radius: 8px;
	transition: all 0.2s ease;
}
.kc-model-item:hover {
	border-color: var(--kc-gold, #D9B45B);
	background: #FFFFFF;
	box-shadow: 0 4px 12px rgba(20, 33, 61, 0.06);
}
.kc-model-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
	margin-top: 0.1rem;
}
.kc-model-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	text-align: right;
}
.kc-model-text strong {
	color: var(--kc-navy, #14213D);
	font-size: 0.9rem;
	font-weight: 700;
}
.kc-model-text span {
	color: var(--kc-text-muted, #5A6A85);
	font-size: 0.78rem;
	line-height: 1.45;
}

/* 10.4 Main Catalog Container */
.kc-course-archive-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}
.kc-catalog-loop-wrapper {
	width: 100% !important;
}

/* 10.5 Enhanced Filter Bar with High Contrast & Standardized Heights */
.kc-catalog-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2rem 0 1.75rem;
	padding: 1rem 1.25rem;
	background: #FFFFFF;
	border: 1px solid var(--kc-border, #E2E6ED);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(20, 33, 61, 0.03);
	box-sizing: border-box !important;
}
.kc-filter-tabs-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
}
.kc-filter-tab {
	appearance: none;
	background: #F8FAFC;
	border: 1px solid #CBD5E1;
	color: var(--kc-navy, #14213D);
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 0.9rem;
	height: 42px;
	min-height: 42px;
	line-height: 40px;
	padding: 0 1.25rem;
	border-radius: 21px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	transition: all 0.2s ease;
	box-sizing: border-box;
}
.kc-filter-tab:hover {
	background: #FFF8E6;
	border-color: var(--kc-gold, #D9B45B);
	color: var(--kc-navy, #14213D);
}
.kc-filter-tab.is-active {
	background: var(--kc-navy, #14213D) !important;
	color: #FFFFFF !important;
	border-color: var(--kc-navy, #14213D) !important;
	box-shadow: 0 4px 14px rgba(20, 33, 61, 0.22);
}
.kc-filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #E2E8F0;
	color: var(--kc-navy, #14213D);
	font-size: 0.78rem;
	font-weight: 700;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	line-height: 1;
}
.kc-filter-tab.is-active .kc-filter-count {
	background: var(--kc-gold, #D9B45B);
	color: var(--kc-navy, #14213D);
}
.kc-filter-tab-future {
	opacity: 0.85;
}
.kc-filter-badge-soon {
	background: #FFF4D9;
	color: #8C6A15;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.15rem 0.5rem;
	border-radius: 6px;
	line-height: 1;
}
.kc-catalog-status-indicator {
	color: var(--kc-text-muted, #5A6A85);
	font-size: 0.88rem;
	font-weight: 600;
}
.kc-indicator-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: #F1F5F9;
	padding: 0.35rem 0.75rem;
	border-radius: 20px;
	border: 1px solid #E2E8F0;
}
.kc-indicator-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10B981;
}
.kc-indicator-badge strong {
	color: var(--kc-navy, #14213D);
	font-weight: 700;
}

/* 10.6 Empty Filter Notice */
.kc-filter-empty-state {
	text-align: center;
	padding: 3.5rem 1.5rem;
	background: #FFFFFF;
	border: 1px dashed var(--kc-border, #E2E6ED);
	border-radius: 12px;
	margin: 2rem 0;
}
.kc-empty-filter-icon {
	font-size: 2.2rem;
	margin-bottom: 0.75rem;
}
.kc-filter-empty-state h3 {
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	color: var(--kc-navy, #14213D);
	font-size: 1.3rem;
	margin-bottom: 0.4rem;
}
.kc-filter-empty-state p {
	color: var(--kc-text-muted, #5A6A85);
	margin-bottom: 1.25rem;
}

/* 10.7 Balanced 3/2/1 Columns Course Cards Grid */
.kc-catalog-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 1.75rem !important;
	width: 100% !important;
	margin-bottom: 3.5rem !important;
	box-sizing: border-box !important;
}

/* 10.8 Complete Course Card */
.kc-catalog-card {
	background: #FFFFFF;
	border: 1px solid var(--kc-border, #E2E6ED);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
	min-width: 0 !important;
	box-shadow: 0 4px 16px rgba(20, 33, 61, 0.05);
	box-sizing: border-box !important;
}
.kc-catalog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 30px rgba(20, 33, 61, 0.12);
	border-color: var(--kc-gold, #D9B45B);
}

/* 10.9 Card Media / 16:9 Thumbnail */
.kc-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--kc-navy, #14213D);
	overflow: hidden;
	width: 100%;
}
.kc-card-media-link {
	display: block;
	width: 100%;
	height: 100%;
}
.kc-card-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.kc-catalog-card:hover .kc-card-thumb-img {
	transform: scale(1.05);
}
.kc-card-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #14213D 0%, #1E3158 100%);
	color: #FFFFFF;
}
.kc-placeholder-brand {
	text-align: center;
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
}
.kc-brand-icon {
	font-size: 2.4rem;
	display: block;
	margin-bottom: 0.35rem;
}
.kc-brand-name {
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--kc-gold, #D9B45B);
	display: block;
}

/* 10.10 Badges Overlay */
.kc-card-badges-top {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	left: 0.75rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	z-index: 2;
}
.kc-badge-cat {
	background: var(--kc-gold, #D9B45B);
	color: var(--kc-navy, #14213D);
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 0.78rem;
	padding: 0.25rem 0.65rem;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.kc-badge-model {
	background: rgba(20, 33, 61, 0.88);
	color: #FFFFFF;
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-weight: 600;
	font-size: 0.75rem;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	border: 1px solid rgba(255,255,255,0.2);
	backdrop-filter: blur(4px);
}

/* 10.11 Card Body & RTL Content */
.kc-card-body {
	padding: 1.35rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: right;
	direction: rtl;
	min-width: 0;
	box-sizing: border-box;
}
.kc-card-submeta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	font-size: 0.82rem;
	color: var(--kc-text-muted, #5A6A85);
	margin-bottom: 0.65rem;
}
.kc-card-level {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--kc-navy, #14213D);
}
.kc-bullet-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--kc-gold, #D9B45B);
	display: inline-block;
}
.kc-card-lessons-pill,
.kc-card-duration-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: #F1F5F9;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	font-size: 0.78rem;
	font-weight: 500;
}
.kc-card-title {
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 0.65rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-break: break-word;
}
.kc-card-title a {
	color: var(--kc-navy, #14213D);
	text-decoration: none;
	transition: color 0.2s ease;
}
.kc-card-title a:hover {
	color: var(--kc-gold, #D9B45B);
}
.kc-card-desc {
	color: var(--kc-text-muted, #526077);
	font-family: var(--kc-font-body, 'Tajawal', sans-serif);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0 0 1.25rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-break: break-word;
}

/* 10.12 Instructor Row */
.kc-card-instructor-row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #F1F5F9;
}
.kc-avatar-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--kc-navy, #14213D);
	color: #FFFFFF;
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.kc-instructor-info {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}
.kc-instructor-label {
	font-size: 0.72rem;
	color: var(--kc-text-muted, #5A6A85);
}
.kc-instructor-name {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--kc-navy, #14213D);
}

/* 10.13 Card Footer */
.kc-card-footer {
	padding: 0.95rem 1.35rem;
	background: #F8FAFC;
	border-top: 1px solid var(--kc-border, #E2E6ED);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	box-sizing: border-box;
}
.kc-card-pricing-wrap {
	display: flex;
	flex-direction: column;
	text-align: right;
}
.kc-pricing-label {
	font-size: 0.72rem;
	color: var(--kc-text-muted, #5A6A85);
	margin-bottom: 0.15rem;
}
.kc-price-badge {
	font-family: var(--kc-font-heading, 'Cairo', sans-serif);
	font-weight: 700;
	font-size: 0.92rem;
	display: inline-block;
}
.kc-price-free {
	color: #0E7A4A;
	background: #EBF9F1;
	border: 1px solid #A4E2C6;
	padding: 0.2rem 0.6rem;
	border-radius: 6px;
}
.kc-price-amount {
	color: var(--kc-navy, #14213D);
}
.kc-price-pending {
	color: #5A6A85;
	font-size: 0.85rem;
}
.kc-price-manual {
	color: #8C6D12;
	background: rgba(217, 180, 91, 0.14);
	border: 1px solid rgba(217, 180, 91, 0.4);
	padding: 0.2rem 0.6rem;
	border-radius: 6px;
	font-size: 0.85rem;
}

/* 10.14 Card Actions & Buttons */
.kc-card-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.kc-card-btn-details {
	padding: 0.45rem 1rem !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	border: 1px solid var(--kc-navy, #14213D) !important;
	color: var(--kc-navy, #14213D) !important;
	background: transparent !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
}
.kc-card-btn-details:hover {
	background: var(--kc-navy, #14213D) !important;
	color: #FFFFFF !important;
}
.kc-card-btn-enroll {
	padding: 0.45rem 1.15rem !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	background: var(--kc-gold, #D9B45B) !important;
	color: var(--kc-navy, #14213D) !important;
	border: 1px solid var(--kc-gold, #D9B45B) !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
}
.kc-card-btn-enroll:hover {
	background: var(--kc-gold-hover, #C59D41) !important;
	border-color: var(--kc-gold-hover, #C59D41) !important;
	color: var(--kc-navy, #14213D) !important;
}

/* 10.15 Responsive Rules for Course Catalog */
@media (max-width: 1100px) and (min-width: 768px) {
	.kc-models-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.kc-catalog-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.5rem !important;
	}
}

@media (max-width: 767px) {
	.kc-models-grid {
		grid-template-columns: 1fr !important;
	}
	.kc-catalog-filter-bar {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 1rem !important;
	}
	.kc-filter-tabs-wrap {
		width: 100% !important;
		overflow-x: auto !important;
		padding-bottom: 0.5rem !important;
		flex-wrap: nowrap !important;
		-webkit-overflow-scrolling: touch !important;
	}
	.kc-filter-tab {
		flex-shrink: 0 !important;
	}
	.kc-catalog-grid {
		grid-template-columns: 1fr !important;
		gap: 1.35rem !important;
	}
	.kc-card-footer {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0.85rem !important;
	}
	.kc-card-pricing-wrap {
		text-align: center !important;
	}
	.kc-card-actions {
		display: flex !important;
		width: 100% !important;
		gap: 0.5rem !important;
	}
	.kc-card-actions .kc-btn {
		flex: 1 !important;
		text-align: center !important;
	}
}

/* ==========================================================================
   Tutor LMS Modal Fix: Prevent Inactive Modals from Blocking Viewport
   ========================================================================== */
.tutor-modal:not(.tutor-is-active),
.tutor-modal[aria-hidden="true"]:not(.tutor-is-active),
.tutor-modal.tutor-login-modal:not(.tutor-is-active) {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

.tutor-modal.tutor-is-active {
	display: flex !important;
	visibility: visible !important;
	pointer-events: auto !important;
	opacity: 1 !important;
}

/* ==========================================================================
   Clean Single Course Hero: Hide Generic Image Placeholders
   ========================================================================== */
.single-courses .tutor-course-thumbnail img[src*="placeholder"],
.tutor-single-course-lead-info .tutor-course-thumbnail img[src*="placeholder"],
.single-courses .tutor-course-thumbnail:has(img[src*="placeholder"]) {
	display: none !important;
}


