/* Shared public course layout. Native course actions, curriculum and reviews remain intact. */
body.ga-service-course .ga-service-header>header{display:block!important;visibility:visible!important;opacity:1!important;z-index:9990!important}
body.ga-service-course .ga-service-footer>footer{display:block!important;visibility:visible!important;opacity:1!important}
body.ga-service-course #global>.pusher{padding-top:110px!important}
body.ga-service-course #content{padding-top:0!important}
body.ga-service-course #content #buddypress>.container,body.ga-service-course #content #buddypress>.container-fluid{width:100%;max-width:none;padding:0}
body.ga-service-course #content .elementor-70751{width:100%;max-width:none;margin:0}
body.ga-service-course .elementor-70751 .elementor-element-311aaac{margin-top:0!important;padding:36px 16px 54px!important;background:radial-gradient(ellipse at top right,#145364 0,transparent 58%),#0d2131!important}
body.ga-service-course .elementor-70751 .elementor-element-311aaac>.elementor-container{max-width:1160px!important}
body.ga-service-course .elementor-70751 .elementor-element-7c5bc36{margin-bottom:32px!important}
body.ga-service-course .elementor-70751 .elementor-element-6c66f5a .wplms_course_categories a{display:inline-flex;align-items:center;background:#17475a!important;border:1px solid #3d7885;border-radius:99px;padding:7px 13px;color:#ddf7f9!important;font:700 13px/1.6 'Cairo',sans-serif;text-decoration:none}
body.ga-service-course .elementor-70751 .elementor-element-4f446a1 h1.course_element_text{margin:14px 0 0!important;color:#fff!important;font:900 clamp(30px,3.2vw,43px)/1.5 'Cairo',sans-serif!important;letter-spacing:0}
body.ga-service-course .elementor-70751 .elementor-element-4f446a1 h1 a{color:inherit!important;text-decoration:none;overflow-wrap:anywhere}
body.ga-service-course .elementor-70751 .elementor-element-9e054b2{margin:17px 0 12px!important}
body.ga-service-course .elementor-70751 .elementor-element-9e054b2 .course_pricing{color:#fff!important;font:800 21px/1.6 'Tajawal',sans-serif!important}
body.ga-service-course .elementor-70751 .elementor-element-9e054b2 .course_pricing :is(strong,ins,.amount){color:#fff!important;opacity:1!important}
body.ga-service-course .elementor-70751 .elementor-element-9e054b2 .course_pricing del{color:#a9c2cd!important;opacity:1}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button_wrapper{width:100%;max-width:360px}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button,body.ga-service-course .elementor-70751 .elementor-element-3b089df input[type=submit]{box-sizing:border-box;min-height:64px;height:auto!important;width:100%;border:0;border-radius:12px;background:#ff9d23!important;color:#172838!important;box-shadow:0 12px 24px rgba(255,146,20,.19);font:800 17px/1.65 'Cairo',sans-serif!important;text-shadow:none}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button{gap:6px 12px;padding:12px 16px!important;justify-content:center!important}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button>a{color:#172838!important;justify-content:center!important;min-width:0;text-decoration:none}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button strong{color:#172838!important;font:800 15px/1.6 'Tajawal',sans-serif;white-space:normal}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button .amount{color:#172838!important}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button del{opacity:.5;font-size:13px}
body.ga-service-course .elementor-70751 .elementor-element-3b089df :is(a,input,button):focus-visible{outline:3px solid #b9f5f6;outline-offset:3px}
body.ga-service-course .elementor-70751 .elementor-element-1614315{margin:0!important}
body.ga-service-course .elementor-70751 .elementor-element-7a60180>.elementor-widget-wrap{background:#123347;border:1px solid #285366;border-radius:20px;padding:20px 23px!important;box-shadow:0 14px 28px rgba(0,0,0,.14)}
body.ga-service-course .elementor-70751 .elementor-element-7a60180 :is(.elementor-heading-title,.course_element_text){color:#e7f3f7!important;opacity:1!important;font:700 15px/1.7 'Tajawal',sans-serif!important}
body.ga-service-course .elementor-70751 .elementor-element-7a60180 .elementor-widget-divider{margin:4px 0!important}
body.ga-service-course .elementor-70751 .elementor-element-7a60180 .elementor-divider-separator{border-color:#34586a!important}
body.ga-service-course .elementor-70751 .elementor-element-ea5ff30 .course_featured{overflow:hidden;border-radius:20px;box-shadow:0 14px 34px rgba(0,0,0,.17)}
body.ga-service-course .elementor-70751 .elementor-element-ea5ff30 .course_featured img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover}
body.ga-service-course .elementor-70751 .elementor-element-0104912{margin:0!important;padding:45px 16px!important;background:#f5f8fb!important}
body.ga-service-course .elementor-70751 .elementor-element-0104912>.elementor-container{max-width:1160px!important}
body.ga-service-course .elementor-70751 .elementor-element-2d844aa{background:#fff;border:1px solid #dce8ef;border-radius:18px;padding:25px 30px}
body.ga-service-course .elementor-70751 .elementor-element-2d844aa .course_element_text{margin:0!important;color:#2b4052!important;font:500 19px/1.95 'Tajawal',sans-serif!important}
body.ga-service-course .elementor-70751 .elementor-element-341fe07{max-width:1160px!important;margin:45px auto 65px!important;padding:0 16px!important;box-sizing:border-box}
body.ga-service-course .elementor-70751 .elementor-element-341fe07 :is(img,iframe,video){max-width:100%;height:auto}
body.ga-service-course .elementor-70751 .course_curriculum,body.ga-service-course .elementor-70751 .course_reviews_wrapper{background:#fff;border:1px solid #dce8ef;border-radius:18px;padding:24px!important;overflow-wrap:anywhere}
body.ga-service-course .elementor-70751 .course_curriculum :is(h3,h4,p),body.ga-service-course .elementor-70751 .course_reviews_wrapper :is(h3,h4,p){color:#24384a}
body.ga-service-course .elementor-70751 .elementor-element-341fe07 a:focus-visible{outline:3px solid #088a96;outline-offset:3px}
@media(max-width:767px){
 body.ga-service-course #global>.pusher{padding-top:104px!important}
 body.ga-service-course .elementor-70751 .elementor-element-311aaac{padding:28px 14px 38px!important}
 body.ga-service-course .elementor-70751 .elementor-element-7c5bc36{margin-bottom:26px!important}
 body.ga-service-course .elementor-70751 .elementor-element-4f446a1 h1.course_element_text{font-size:clamp(25px,7.1vw,33px)!important;line-height:1.45!important;margin:12px 0 0!important}
 body.ga-service-course .elementor-70751 .elementor-element-d250487{margin-top:18px}
 body.ga-service-course .elementor-70751 .elementor-element-9e054b2{margin:0 0 10px!important}
 body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button_wrapper{max-width:none}
 body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button{min-height:60px}
 body.ga-service-course .elementor-70751 .elementor-element-1614315>.elementor-container{display:flex;flex-direction:column-reverse;gap:20px}
 body.ga-service-course .elementor-70751 .elementor-element-1614315 .elementor-column{width:100%!important}
 body.ga-service-course .elementor-70751 .elementor-element-7a60180>.elementor-widget-wrap{padding:15px 17px!important}
 body.ga-service-course .elementor-70751 .elementor-element-0104912{padding:28px 14px!important}
 body.ga-service-course .elementor-70751 .elementor-element-2d844aa{padding:20px}
 body.ga-service-course .elementor-70751 .elementor-element-2d844aa .course_element_text{font-size:17px!important}
 body.ga-service-course .elementor-70751 .elementor-element-341fe07{margin:28px auto 45px!important;padding:0 14px!important}
 body.ga-service-course .elementor-70751 .course_curriculum,body.ga-service-course .elementor-70751 .course_reviews_wrapper{padding:16px!important}
}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button>strong{display:none!important}
body.ga-service-course .elementor-70751 .elementor-element-3b089df .course_button.button>a{flex:1 1 100%!important;text-align:center}
/* Two course descriptions were pasted as full dark HTML pages. Restore their intended
   canvas inside the course body so light text and cards stay readable. */
body.ga-service-course:is(.postid-73174,.postid-72909) .elementor-element-02eef7f .vibe_editor_shortcode{display:block;background:#0a0a0f;color:#e8e4d9;border:1px solid #23232b;border-radius:22px;overflow:hidden;box-shadow:0 18px 38px rgba(12,28,42,.12)}
body.ga-service-course:is(.postid-73174,.postid-72909) .elementor-element-02eef7f .vibe_editor_shortcode .hero{padding:58px 28px 45px}
body.ga-service-course:is(.postid-73174,.postid-72909) .elementor-element-02eef7f .vibe_editor_shortcode .courses-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
body.ga-service-course:is(.postid-73174,.postid-72909) .elementor-element-02eef7f .vibe_editor_shortcode .main{max-width:960px;width:100%;box-sizing:border-box}
@media(max-width:600px){body.ga-service-course:is(.postid-73174,.postid-72909) .elementor-element-02eef7f .vibe_editor_shortcode .hero{padding:42px 16px 30px}body.ga-service-course:is(.postid-73174,.postid-72909) .elementor-element-02eef7f .vibe_editor_shortcode .main{padding:0 16px 42px}}

/* Related courses share the same readable card scale as the course directory. */
body.ga-service-course .related_courses{max-width:1160px;width:calc(100% - 32px);margin:40px auto 65px;padding:0;box-sizing:border-box;direction:rtl}
body.ga-service-course .related_courses>.heading{color:#152a3d;font:800 25px/1.6 'Cairo',sans-serif!important;text-align:right}
body.ga-service-course .related_courses>ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin:19px 0 0!important;padding:0!important;list-style:none}
body.ga-service-course .related_courses>ul>li{width:100%!important;min-width:0!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;display:block!important}
body.ga-service-course .related_courses .courseitem{height:100%;width:100%;box-sizing:border-box;background:#fff;border:1px solid #dce8ef;border-radius:18px;overflow:hidden;box-shadow:0 10px 26px rgba(21,42,61,.08)}
body.ga-service-course .related_courses .block_media,body.ga-service-course .related_courses .block_media>a{display:block;width:100%}
body.ga-service-course .related_courses .block_media img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover}
body.ga-service-course .related_courses .block_content{padding:19px 20px 20px!important;min-height:155px;box-sizing:border-box}
body.ga-service-course .related_courses .block_title{font:800 18px/1.7 'Cairo',sans-serif!important;min-height:60px;margin:0 0 10px!important;color:#152a3d!important;overflow-wrap:anywhere}
body.ga-service-course .related_courses .block_title a{color:#152a3d!important;text-decoration:none}
body.ga-service-course .related_courses .block_title a:hover{color:#087985!important}
body.ga-service-course .related_courses .instructor_course{display:none}
body.ga-service-course .related_courses .block_content>strong{color:#087985;font:700 16px/1.6 'Tajawal',sans-serif}
@media(max-width:800px){body.ga-service-course .related_courses>ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.ga-service-course .related_courses>ul{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}}
