
/* ========== CO-ACTIVE MEGA MENU STYLES ========== */

/* Font family for mega menu */
.coactive-mega-menu, .coactive-mega-menu * {
	font-family: "Arimo", Helvetica, Arial, Lucida, sans-serif;
}

/* ========== PARTNER REGION: HIDE "LIMITED TIME" SUBTITLE AND DIVIDER IN LEGACY ========== */

/* Hide Legacy by default */
.et-menu-nav li.mega-menu>ul>li.menu-item-22994048, .et_mobile_menu li > .sub-menu > li.menu-item-22994053 {
	display: none !important;
}

/* Show Legacy only in partner-region mode */
.is-partner-region .et-menu-nav li.mega-menu>ul>li.menu-item-22994048, .is-partner-region .et_mobile_menu li > .sub-menu > li.menu-item-22994053 {
	display: block !important;
}

/* Hide the subtitle only when is-partner-region is active */
.is-partner-region .mm-legacy .menu-subtitle, .is-partner-region .mm-legacy .menu-subtitle-mobile {
	display: none !important;
}

/* Neutralize divider/line added via header pseudo-elements */
.is-partner-region .mm-legacy .menu-item-with-line::before, .is-partner-region .mm-legacy .menu-item-with-line::after, .is-partner-region .mm-legacy .menu-item-with-line-mobile::before, .is-partner-region .mm-legacy .menu-item-with-line-mobile::after {
	content: "" !important;
}

/* Adjust spacing in case the divider added extra margin/padding */
.is-partner-region .mm-legacy .menu-item-with-line, .is-partner-region .mm-legacy .menu-item-with-line-mobile {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

/* ========== PARTNER REGION: GENERIC FOOTER HIDES (DESKTOP + MOBILE) ========== */

/* When the site is in partner-region mode, hide any footer element marked for global-only */
.is-partner-region .pr-hide-global, .is-partner-region [data-pr-hide="true"] {
	display: none !important;
	visibility: hidden !important;
}

.gl-hide-na {
	display: none !important;
	visibility: hidden !important;
}

.is-partner-region .gl-hide-na {
	display: block !important;
	visibility: visible !important;
}

/* Partner region view: hide Progressive column */
.is-partner-region .et-menu .menu-item.mm-progressive {
	display: none !important;
}

/* Divi mobile menu */
.is-partner-region .et_mobile_menu .menu-item.mm-progressive {
	display: none !important;
}

/* Optional reinforcement: ensure Legacy is visible and can span full width when using column layouts */
.is-partner-region .et-menu .menu-item.mm-legacy, .is-partner-region .et_mobile_menu .menu-item.mm-legacy {
	display: block !important;
}

.is-partner-region .et-menu .menu-item.mm-legacy > .sub-menu {
	width: 100% !important;
}

/* ========== PARTNER REGION VIEW ========== */

/* Hide the "Progressive Coach Training" column when the visitor is in a partner region.
   We use direct selectors based on your provided menu HTML to ensure compatibility
   across desktop and mobile and common Divi structures. */

/* Direct selector by item class (desktop and mobile) */
.is-partner-region .mm-progressive {
	display: none !important;
}

/* Reinforcement for common Divi structures */
.is-partner-region .et-menu .menu-item.mm-progressive, .is-partner-region .mega-menu-parent .sub-menu > .mm-progressive, .is-partner-region .et_mobile_menu .mm-progressive {
	display: none !important;
}

/* Ensure the Legacy column remains visible */
.is-partner-region .mm-legacy, .is-partner-region .et-menu .menu-item.mm-legacy, .is-partner-region .et_mobile_menu .mm-legacy {
	display: block !important;
}

/* If your mega menu uses column widths, make Legacy full width */
.is-partner-region .et-menu .menu-item.mm-legacy > .sub-menu {
	width: 100% !important;
}

/* ========== DIVI INTEGRATION ========== */

/* Specific Divi integration */
.et-menu-nav li.has-mega-menu {
	position: static;
}

.et-menu-nav li.has-mega-menu > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	margin-left: 8px;
	vertical-align: middle;
	transition: transform .3s ease;
}

.et-menu-nav li.has-mega-menu:hover > a::after {
	transform: rotate(180deg);
}

/* Hide normal Divi submenus when using mega menu */
.et-menu-nav li.has-mega-menu ul.sub-menu {
	display: none !important;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
	left: auto !important;
	top: 80% !important;
	max-width: 70% !important;
	z-index: 99999 !important;
	box-sizing: border-box !important;
	width: auto !important;
	min-width: 300px !important;
}

/* 
 * Fix Menu Alignment on Faculty Page 
 * Overriding Divi's specific selector that forces left alignment. 
 * We restore the centering relative to the parent or viewport. 
 */
.et-db #et-boc .et-l .et-menu-nav li.mega-menu>ul {
	left: 50% !important;
	right: auto !important;
}

/* Main mega menu container */
.coactive-mega-menu {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	width: 100% !important;
	max-width: 100vw !important;
	background: #fff !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .1) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translateY(-10px) !important;
	transition: all .3s ease !important;
	z-index: 99999 !important;
	border-radius: 0 0 24px 24px !important;
	pointer-events: auto !important;
	overflow-x: hidden !important;
	box-sizing: border-box !important;
	contain: layout style paint !important;
}

/* Show mega menu on hover, focus and active */
.et-menu-nav li:hover .coactive-mega-menu, .et-menu-nav li:focus .coactive-mega-menu, .et-menu-nav li:active .coactive-mega-menu, .et-menu-nav li.current-menu-item .coactive-mega-menu, .coactive-mega-menu:hover {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}

/* Keep mega menu visible when parent link has focus */
.et-menu-nav li:focus-within .coactive-mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Prevent mega menu from closing when clicking parent link */
.et-menu-nav li > a:focus + .coactive-mega-menu {
	opacity: 1;
	visibility: visible;
}

/* Inner mega menu container */
.mega-menu-container {
	max-width: min(700px, calc(100vw - 40px)) !important;
	margin: 0 auto !important;
	padding: clamp(16px, 4vw, 32px) clamp(12px, 3vw, 24px) !important;
	display: flex !important;
	gap: clamp(20px, 8vw, 60px) !important;
	align-items: flex-start !important;
	background: linear-gradient(135deg, #fff 0%, #fafafa 100%) !important;
	border-radius: 0 0 24px 24px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	contain: layout style !important;
}

/* Main sections */
.mega-menu-section {
	flex: 1;
	position: relative;
}

/* Section titles */
.mega-menu-section h3 {
	font-size: 12px;
	font-weight: 700;
	color: #2c2c2c;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Decorative line below title */
.mega-menu-section h3::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 50px;
	height: 2px;
	background: #c4347c;
}

/* Course list */
.mega-menu-courses {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Base styles for course elements */
.mega-menu-courses li {
	margin-bottom: 16px;
	position: relative;
	transition: all .3s ease;
	border-radius: 16px;
	padding: 12px 16px;
	background: transparent;
	min-height: 44px;
	display: flex;
	align-items: center;
}

.mega-menu-courses li:last-child {
	margin-bottom: 0;
}

/* Enlaces de cursos */
.mega-menu-courses a {
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 0;
	border: none;
	position: relative;
	border-radius: 8px;
}

/* ========== HOVER GRADIENTS + WHITE TEXT ========== */

/* Co-Active Foundations - Teal/Blue-green gradient */
.mega-menu-courses li:nth-child(1):hover, li.menu-item-22992398:hover {
	background: linear-gradient(90deg, rgba(21, 95, 90, 1) 0%, rgba(14, 181, 224, 1) 50%) !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 25px rgba(45, 212, 191, .4) !important;
	background-size: 200% 200% !important;
	animation: gradientShift 3s ease infinite !important;
	border-radius: 16px !important;
}

.mega-menu-courses li:nth-child(1):hover .course-title, .mega-menu-courses li:nth-child(1):hover .menu-subtitle, li.menu-item-22992398:hover .course-title, li.menu-item-22992398:hover .menu-subtitle {
	color: white !important;
}

/* Ignite the Practice - Purple gradient */
.mega-menu-courses li:nth-child(2):hover, li.menu-item-22992399:hover {
	background: linear-gradient(45deg, #303c78 0%, #863d83 100%) !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 25px rgba(168, 85, 247, .4) !important;
	background-size: 200% 200% !important;
	animation: gradientShift 3s ease infinite !important;
	border-radius: 16px !important;
}

.mega-menu-courses li:nth-child(2):hover .course-title, .mega-menu-courses li:nth-child(2):hover .menu-subtitle, li.menu-item-22992399:hover .course-title, li.menu-item-22992399:hover .menu-subtitle {
	color: white !important;
}

/* Deepen the Work - Pink/Magenta gradient */
.mega-menu-courses li:nth-child(3):hover, li.menu-item-22992400:hover {
	background: linear-gradient(45deg, #7b3d81 0%, #c53d8b 100%) !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 25px rgba(236, 72, 153, .4) !important;
	background-size: 200% 200% !important;
	animation: gradientShift 3s ease infinite !important;
	border-radius: 16px !important;
}

.mega-menu-courses li:nth-child(3):hover .course-title, .mega-menu-courses li:nth-child(3):hover .menu-subtitle, .mega-menu-courses li:nth-child(3):hover .course-badge, li.menu-item-22992400:hover .course-title, li.menu-item-22992400:hover .menu-subtitle, li.menu-item-22992400:hover .course-badge {
	color: white !important;
}

/* Gradient animation - Optimized for performance */
@keyframes gradientShift {
	0%, 100% {
		background-position: 0% 50%;
	}
	
	50% {
		background-position: 100% 50%;
	}
}

/* Performance optimizations */
.coactive-mega-menu, .mega-menu-container, .mega-menu-courses li {
	will-change: transform, opacity;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

/* Optimized transitions */
.mega-menu-courses li {
	transition: transform .3s cubic-bezier(.4, 0, .2, 1), background .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1) !important;
}

.mega-menu-courses .course-title, .menu-subtitle, .course-badge {
	transition: color .3s cubic-bezier(.4, 0, .2, 1) !important;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	.coactive-mega-menu, .mega-menu-courses li, .course-title, .menu-subtitle, .course-badge {
		transition: none !important;
		animation: none !important;
	}
	
	.mega-menu-courses li:hover {
		transform: none !important;
	}
}

/* Course titles */
.mega-menu-courses .course-title {
	font-size: 16px;
	font-weight: 600;
	color: #2c2c2c;
	margin: 0 0 4px 0;
	line-height: 1.3;
	display: inline-block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	transition: color .3s ease !important;
}

/* Course subtitles */
.menu-subtitle {
	display: block;
	font-size: 11px;
	color: #262626;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
	margin-top: 2px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	transition: color .3s ease !important;
	text-transform: capitalize;
}

/* Badges for special courses */
.course-badge {
	font-weight: 700;
	letter-spacing: .5px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	width: fit-content;
}

.course-badge.cpcc {
	font-size: 7px !important;
	position: absolute;
	background: #c4347c;
	color: white;
	left: 165px;
	box-shadow: 0 2px 8px rgba(196, 52, 124, .3);
	top: 2px;
}

.course-badge.coming {
	font-size: 7px !important;
	position: absolute;
	background: #ff9500;
	color: white;
	top: 0px;
	left: 150px;
	box-shadow: 0 2px 8px rgba(255, 149, 0, .3);
}

/* Specific hover for badges - CPCC with white background and black text (only for Deepen the Work) */
.course-item:nth-child(3):hover .course-badge.cpcc, li.menu-item-22992293:hover .course-badge.cpcc {
	background-color: white !important;
	color: #c53d8b !important;
	transform: scale(1.05);
}

/* Master the Art - Título y subtítulo gris */
li.menu-item-22992401 .course-title, li.menu-item-22992401 .menu-subtitle {
	color: #9ca3af !important;
}

/* Desktop section headers with line */
.menu-item-with-line {
	position: relative;
}

.menu-item-with-line::after {
	content: "";
	display: block;
	width: 70%;
	height: 1px;
	background-color: #c53d8b;
	margin-top: 5px;
	border-radius: 1px;
}

li.menu-item-22992401:hover .course-title, li.menu-item-22992401:hover .menu-subtitle {
	color: #9ca3af !important;
}

/* Master the Art - Mobile version */
li.menu-item-22992401 .course-title-mobile, li.menu-item-22992401 .menu-subtitle-mobile, li.menu-item-22992659 .course-title-mobile, li.menu-item-22992659 .menu-subtitle {
	color: #9ca3af !important;
}

/* ========== RESPONSIVE DESIGN ========== */

/* ========== TABLET PORTRAIT (768px - 1024px) ========== */
@media (min-width: 768px) and (max-width: 1024px) {
	.coactive-mega-menu {
		position: absolute !important;
		width: 100% !important;
		max-width: calc(100vw - 40px) !important;
		left: 50% !important;
		transform: translateX(-50%) translateY(-10px) !important;
		border-radius: 0 0 16px 16px !important;
		z-index: 99999 !important;
		overflow-x: hidden !important;
	}
	
	.mega-menu-container {
		max-width: min(600px, calc(100vw - 60px)) !important;
		padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 20px) !important;
		gap: clamp(20px, 4vw, 30px) !important;
		flex-direction: column !important;
		box-sizing: border-box !important;
	}
	
	.mega-menu-section {
		width: 100% !important;
	}
	
	.mega-menu-section h3 {
		font-size: 12px !important;
		margin-bottom: 16px !important;
		letter-spacing: 1.5px !important;
		text-align: center !important;
	}
	
	.mega-menu-courses .course-title {
		font-size: 16px !important;
		line-height: 1.3 !important;
	}
	
	.menu-subtitle {
		font-size: 11px !important;
		line-height: 1.4 !important;
	}
	
	.course-badge {
		font-size: 8px !important;
		padding: 3px 10px !important;
		border-radius: 8px !important;
	}
	
	.mega-menu-courses li {
		margin-bottom: 18px !important;
		padding: 14px 18px !important;
	}
}

/* ========== DESKTOP (min-width: 1025px) ========== */
@media (min-width: 1025px) {
	.coactive-mega-menu {
		z-index: 99999 !important;
		overflow-x: hidden !important;
	}
	
	.mega-menu-container {
		max-width: min(700px, calc(100vw - 80px)) !important;
		gap: clamp(40px, 6vw, 60px) !important;
		box-sizing: border-box !important;
		flex-direction: row !important;
	}
	
	.mega-menu-section h3 {
		font-size: 12px !important;
		letter-spacing: 2px !important;
		text-align: left !important;
	}
	
	.mega-menu-courses .course-title {
		font-size: 16px !important;
	}
	
	.menu-subtitle {
		font-size: 11px !important;
	}
	
	.course-badge {
		font-size: 7px !important;
		padding: clamp(2px, .2vw, 3px) 10px !important;
	}
}

/* ========== LARGE DESKTOP (min-width: 1440px) ========== */
@media (min-width: 1440px) {
	.coactive-mega-menu {
		z-index: 99999 !important;
		overflow-x: hidden !important;
		max-width: 100vw !important;
	}
	
	.mega-menu-container {
		max-width: min(clamp(800px, 60vw, 1000px), calc(100vw - clamp(120px, 15vw, 300px))) !important;
		gap: clamp(60px, 5vw, 120px) !important;
		padding: clamp(32px, 3vw, 56px) clamp(24px, 2.5vw, 48px) !important;
		box-sizing: border-box !important;
		margin: 0 auto !important;
	}
	
	.mega-menu-section h3 {
		font-size: clamp(12px, 1vw, 18px) !important;
		letter-spacing: clamp(2.5px, .2vw, 3.5px) !important;
		margin-bottom: clamp(20px, 2vw, 34px) !important;
	}
	
	.mega-menu-courses .course-title {
		font-size: clamp(16px, 1.2vw, 22px) !important;
		line-height: 1.4 !important;
	}
	
	.menu-subtitle {
		line-height: 1.5 !important;
	}
	
	.course-badge {
		font-size: clamp(8px, .6vw, 12px) !important;
		padding: clamp(2px, .2vw, 5px) clamp(10px, .8vw, 18px) !important;
		border-radius: clamp(12px, 1vw, 18px) !important;
	}
}

.course-badge {
	font-size: clamp(10px, .4vw, 12px) !important;
	padding: clamp(3px, .15vw, 5px) clamp(14px, .6vw, 18px) !important;
	border-radius: 16px !important;
}

/* ========== LANDSCAPE ORIENTATION FOR MOBILE ========== */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1024px) {
	.coactive-mega-menu {
		height: 100vh !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		padding: 12px !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		z-index: 99999 !important;
		background: rgba(255, 255, 255, .98) !important;
		backdrop-filter: blur(10px) !important;
	}
	
	.mega-menu-container {
		flex-direction: row !important;
		gap: 20px !important;
		padding: 16px 12px !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.mega-menu-section h3 {
		font-size: 10px !important;
		margin-bottom: 12px !important;
		letter-spacing: 1px !important;
	}
	
	.course-title-mobile {
		font-size: 14px !important;
		line-height: 1.2 !important;
	}
	
	.menu-subtitle-mobile {
		font-size: 11px !important;
		line-height: 1.3 !important;
	}
	
	.course-badge-mobile {
		font-size: 8px !important;
		padding: 3px 6px !important;
	}
}

/* ========== MOBILE STYLES (768px and below) ========== */
@media (max-width: 768px) {
	/* Ensure mobile menu container is properly sized */
	.coactive-mega-menu {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100vh !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		background: rgba(255, 255, 255, .98) !important;
		backdrop-filter: blur(10px) !important;
		border-radius: 0 !important;
		padding: clamp(16px, 4vw, 20px) !important;
		box-sizing: border-box !important;
		z-index: 99999 !important;
	}
	
	.mega-menu-container {
		background: #fff !important;
		border-radius: 0 !important;
		flex-direction: column !important;
		gap: 0 !important;
		padding: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	
	.mega-menu-section h3 {
		font-size: clamp(10px, 2.5vw, 12px) !important;
		margin-bottom: clamp(16px, 4vw, 18px) !important;
		letter-spacing: 1.5px !important;
		text-align: center !important;
	}
	
	/* Ensure anchor fills tile so gradient is visible */
	.mega-menu-courses li, .et_mobile_menu .course-item-mobile {
		padding: 0 !important;
	}
	
	.mega-menu-courses li > a, .et_mobile_menu .course-item-mobile > a {
		display: block !important;
		width: 100% !important;
		padding: 14px 18px !important;
		border-radius: 12px !important;
	}
	
	/* Mobile hover gradients - adapted from desktop */
	
	/* 1. Co-Active Foundations */
	.mega-menu-courses li:nth-child(1), li.menu-item-22992398, li.menu-item-22992656, #mobile_menu3 #menu-item-22992656 {
		background: linear-gradient(90deg, rgba(21, 95, 90, 1) 0%, rgba(14, 181, 224, 1) 50%) !important;
		transform: translateY(-2px) !important;
		box-shadow: 0 4px 15px rgba(45, 212, 191, .3) !important;
		background-size: 200% 200% !important;
		animation: gradientShift 3s ease infinite !important;
		border-radius: 12px !important;
		padding: 0 !important;
		margin-bottom: 10px !important;
	}
	
	.mega-menu-courses li:nth-child(1) > a, li.menu-item-22992398 > a, li.menu-item-22992656 > a, #mobile_menu3 #menu-item-22992656 > a {
		display: block !important;
		width: 100% !important;
		padding: 14px 18px !important;
		border-radius: 12px !important;
		background: transparent !important;
	}
	
	/* 2. Ignite the Practice */
	.mega-menu-courses li:nth-child(2), li.menu-item-22992399, li.menu-item-22992657, #mobile_menu3 #menu-item-22992657 {
		background: linear-gradient(45deg, #303c78 0%, #863d83 100%) !important;
		transform: translateY(-2px) !important;
		box-shadow: 0 4px 15px rgba(134, 61, 131, .3) !important;
		background-size: 200% 200% !important;
		animation: gradientShift 3s ease infinite !important;
		border-radius: 12px !important;
		padding: 0 !important;
		margin-bottom: 10px !important;
	}
	
	.mega-menu-courses li:nth-child(2) > a, li.menu-item-22992399 > a, li.menu-item-22992657 > a, #mobile_menu3 #menu-item-22992657 > a {
		display: block !important;
		width: 100% !important;
		padding: 14px 18px !important;
		border-radius: 12px !important;
		background: transparent !important;
	}
	
	/* 3. Deepen the Work */
	.mega-menu-courses li:nth-child(3), li.menu-item-22992400, li.menu-item-22992658, #mobile_menu3 #menu-item-22992658 {
		background: linear-gradient(45deg, #7b3d81 0%, #c53d8b 100%) !important;
		transform: translateY(-2px) !important;
		box-shadow: 0 4px 15px rgba(197, 61, 139, .3) !important;
		background-size: 200% 200% !important;
		animation: gradientShift 3s ease infinite !important;
		border-radius: 12px !important;
		padding: 0 !important;
		margin-bottom: 10px !important;
	}
	
	.mega-menu-courses li:nth-child(3) > a, li.menu-item-22992400 > a, li.menu-item-22992658 > a, #mobile_menu3 #menu-item-22992658 > a {
		display: block !important;
		width: 100% !important;
		padding: 14px 18px !important;
		border-radius: 12px !important;
		background: transparent !important;
	}
	
	.mega-menu-courses li:nth-child(1) .course-title, .mega-menu-courses li:nth-child(1) .course-title-mobile, .mega-menu-courses li:nth-child(1) .menu-subtitle, .mega-menu-courses li:nth-child(1) .menu-subtitle-mobile, li.menu-item-22992398 .course-title, li.menu-item-22992398 .course-title-mobile, li.menu-item-22992398 .menu-subtitle, li.menu-item-22992398 .menu-subtitle-mobile, #menu-item-22992656 .course-title, #menu-item-22992656 .course-title-mobile, #menu-item-22992656 .menu-subtitle, #menu-item-22992656 .menu-subtitle-mobile, .mega-menu-courses li:nth-child(2) .course-title, .mega-menu-courses li:nth-child(2) .course-title-mobile, .mega-menu-courses li:nth-child(2) .menu-subtitle, .mega-menu-courses li:nth-child(2) .menu-subtitle-mobile, li.menu-item-22992399 .course-title, li.menu-item-22992399 .course-title-mobile, li.menu-item-22992399 .menu-subtitle, li.menu-item-22992399 .menu-subtitle-mobile, #menu-item-22992657 .course-title, #menu-item-22992657 .course-title-mobile, #menu-item-22992657 .menu-subtitle, #menu-item-22992657 .menu-subtitle-mobile, .mega-menu-courses li:nth-child(3) .course-title, .mega-menu-courses li:nth-child(3) .course-title-mobile, .mega-menu-courses li:nth-child(3) .menu-subtitle, .mega-menu-courses li:nth-child(3) .menu-subtitle-mobile, .mega-menu-courses li:nth-child(3) .course-badge, .mega-menu-courses li:nth-child(3) .course-badge-mobile, li.menu-item-22992400 .course-title, li.menu-item-22992400 .course-title-mobile, li.menu-item-22992400 .menu-subtitle, li.menu-item-22992400 .menu-subtitle-mobile, li.menu-item-22992400 .course-badge, li.menu-item-22992400 .course-badge-mobile, #menu-item-22992658 .course-title, #menu-item-22992658 .course-title-mobile, #menu-item-22992658 .menu-subtitle, #menu-item-22992658 .menu-subtitle-mobile, #menu-item-22992658 .course-badge, #menu-item-22992658 .course-badge-mobile {
		color: white !important;
	}
	
	/* Mobile Coming Soon Badge */
	.course-badge-mobile.coming {
		background-color: #ff9500 !important;
		color: white !important;
		border-radius: 12px !important;
		padding: 4px 10px !important;
		font-size: 9px !important;
		font-weight: 700 !important;
		box-shadow: 0 2px 8px rgba(255, 149, 0, .3) !important;
		display: inline-block !important;
		margin-left: 8px !important;
		vertical-align: middle !important;
		letter-spacing: .5px !important;
	}
	
	/* Reduce subtitle and badge size for better hierarchy in mobile */
	.menu-subtitle, .menu-subtitle-mobile {
		font-size: 11px !important;
		line-height: 1.3 !important;
		font-weight: 500 !important;
		margin-top: 2px !important;
		display: block !important;
		opacity: .9 !important;
	}
	
	/* CPCC Certification Badge */
	.course-badge-mobile:not(.coming) {
		font-size: 10px !important;
		font-weight: 600 !important;
		display: inline-block !important;
		margin-top: 2px !important;
		background: rgba(255, 255, 255, .2) !important;
		padding: 2px 6px !important;
		border-radius: 4px !important;
	}
}

/* ========== FACULTY PAGE FIXES ========== */

/* 
   UNIVERSAL RULES FOR FACULTY PAGE
   We use !important and specific IDs/Classes to bypass theme structure differences.
   Targeting body class: .post-type-archive-cti_faculty
*/

/* 1. DEFAULT STATE (NA/Global): HIDE Legacy Column */
body.post-type-archive-cti_faculty #menu-item-22994048, body.post-type-archive-cti_faculty .menu-item-22994048, body.post-type-archive-cti_faculty #menu-item-22994053, body.post-type-archive-cti_faculty .menu-item-22994053, body[class*="faculty"] #menu-item-22994048, body[class*="faculty"] .menu-item-22994048, body[class*="faculty"] #menu-item-22994053, body[class*="faculty"] .menu-item-22994053 {
	display: none !important;
}

/* 2. PARTNER REGION STATE (SGO): SHOW Legacy, HIDE Progressive */

/* Requires .is-partner-region class on html tag (applied by plugin) */

/* 2.1 Show Legacy */
html.is-partner-region body.post-type-archive-cti_faculty #menu-item-22994048, html.is-partner-region body.post-type-archive-cti_faculty .menu-item-22994048, html.is-partner-region body.post-type-archive-cti_faculty #menu-item-22994053, html.is-partner-region body.post-type-archive-cti_faculty .menu-item-22994053, html.is-partner-region body[class*="faculty"] #menu-item-22994048, html.is-partner-region body[class*="faculty"] .menu-item-22994048, html.is-partner-region body[class*="faculty"] #menu-item-22994053, html.is-partner-region body[class*="faculty"] .menu-item-22994053 {
	display: block !important;
}

/* 2.2 Hide Progressive */
html.is-partner-region body.post-type-archive-cti_faculty .mm-progressive, html.is-partner-region body[class*="faculty"] .mm-progressive {
	display: none !important;
}
