/* Home-page navbar replica on the course pages; hides the Elementor header there. */
.post-type-archive-courses .elementor-location-header,
.single-courses .elementor-location-header,
.tax-course-category .elementor-location-header,
.tax-course-tag .elementor-location-header { display: none !important; }

.mv-nav { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03); font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif; direction: rtl; }
.admin-bar .mv-nav { top: 32px; }
.mv-nav__inner { max-width: 1200px; margin: 0 auto; padding: 1rem 20px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.mv-nav__logo { font: 800 1.75rem/1 'Cairo', sans-serif; color: #3F3A64; text-decoration: none; }
.mv-nav__logo span { color: #20AD96; }
.mv-nav__logo img { display: block; height: 48px; width: auto; object-fit: contain; }
.mv-nav__links { display: flex; gap: 2.5rem; }
.mv-nav__links a { position: relative; color: #333; font-weight: 500; font-size: 1.05rem; text-decoration: none; }
.mv-nav__links a::after { content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px; background: #3378AE; transition: width .3s ease; }
.mv-nav__links a:hover { color: #3378AE; }
.mv-nav__links a:hover::after { width: 100%; }
.mv-nav__actions { display: flex; align-items: center; gap: 1rem; }
.mv-nav__icon { display: flex; align-items: center; justify-content: center; color: #333; transition: color .3s ease; }
.mv-nav__icon:hover { color: #3378AE; }
.mv-nav__cta { display: inline-flex; align-items: center; padding: .5rem 1.5rem; border-radius: 9999px; background: #3378AE; color: #fff; font: 600 1rem/1.4 'Cairo', sans-serif; text-decoration: none; box-shadow: 0 4px 14px rgba(51, 120, 174, .4); transition: background .3s, transform .3s; }
.mv-nav__cta:hover { background: #3F3A64; color: #fff; transform: translateY(-2px); }
.mv-nav__burger { display: none; background: none; border: 0; padding: 0; color: #333; cursor: pointer; }
@media (max-width: 992px) {
	.mv-nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 1.5rem; padding: 1.5rem 2rem; background: #fff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .08); display: none; }
	.mv-nav__links.is-open { display: flex; }
	.mv-nav__burger { display: block; }
	.mv-nav__cta { display: none; }
}
@media (max-width: 782px) { .admin-bar .mv-nav { top: 46px; } }

/* Category/tag archives: Tutor's wrapper was content-box there, adding 24px of horizontal overflow on phones. */
.tax-course-category .tutor-wrap-parent,
.tax-course-tag .tutor-wrap-parent { box-sizing: border-box; }
