/* ==========================================================
   JOHD — Theme polish (Hello Elementor child-less, paste in
   Appearance > Customize > Additional CSS). Works EN + AR (RTL).
   ========================================================== */
:root{
  --johd-navy:#0B1F3F; --johd-blue:#1B3F8F; --johd-cyan:#E2BC73;
  --johd-ink:#0b1b3a; --johd-mute:#566683; --johd-soft:#f3f7fc;
  --johd-line:#e1e8f3; --johd-radius:18px;
  --johd-shadow:0 18px 40px -20px rgba(11,31,63,.38);
  --johd-grad:linear-gradient(135deg,#0B1F3F 0%,#14306B 55%,#1B3F8F 100%);
}
body{color:var(--johd-ink);-webkit-font-smoothing:antialiased;font-size:17px;line-height:1.8}
html{scroll-behavior:smooth}

/* ---------- Section titles ---------- */
.johd-title{text-align:center}
.johd-stats .elementor-counter{display:flex;flex-direction:column;align-items:center;text-align:center}
.johd-stats .elementor-counter-number-wrapper{justify-content:center}
.johd-title .elementor-heading-title{
  font-weight:800;color:var(--johd-navy);
  font-size:clamp(28px,3.4vw,42px);line-height:1.2;position:relative;padding-bottom:18px;margin:0}
.johd-title .elementor-heading-title::after{
  content:"";position:absolute;inset-inline-start:50%;bottom:0;width:72px;height:4px;border-radius:4px;
  transform:translateX(-50%);background:linear-gradient(90deg,var(--johd-blue),var(--johd-cyan))}
[dir=rtl] .johd-title .elementor-heading-title::after{transform:translateX(50%)}
.johd-eyebrow .elementor-heading-title{
  font-size:14px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--johd-blue);margin:0 0 6px}
.johd-lead{max-width:760px;margin-inline:auto;color:var(--johd-mute);font-size:19px;line-height:1.8;text-align:center}

/* ---------- Hero ---------- */
.elementor-slides .elementor-background-overlay{
  background:linear-gradient(180deg,rgba(0,12,40,.55),rgba(11,31,63,.82))!important;opacity:1!important}
.elementor-slides .elementor-slide-heading{text-shadow:0 6px 30px rgba(0,0,0,.45);letter-spacing:.04em}
.elementor-slides .elementor-slide-button{
  border-radius:999px;padding:14px 38px;border:0;background:var(--johd-blue)!important;color:#fff!important;
  box-shadow:0 10px 30px -8px rgba(27,63,143,.8);transition:.25s}
.elementor-slides .elementor-slide-button:hover{transform:translateY(-3px);background:#fff!important;color:var(--johd-navy)!important}

/* ---------- Stats strip (overlaps hero) ---------- */
.johd-stats{position:relative;z-index:5;margin-top:-72px!important;padding:0 20px}
.johd-stats>.elementor-container{
  background:#fff;border-radius:var(--johd-radius);box-shadow:var(--johd-shadow);
  padding:26px 10px;border:1px solid var(--johd-line)}
.johd-stats .elementor-counter-number-wrapper{font-size:44px;font-weight:800;color:var(--johd-blue);line-height:1}
.johd-stats .elementor-counter-title{font-size:16px;color:var(--johd-mute);margin-top:8px;font-weight:600}
.johd-stats .elementor-column+.elementor-column{border-inline-start:1px solid var(--johd-line)}

/* ---------- About cards ---------- */
.johd-feature{height:100%}
.johd-feature>.elementor-widget-wrap{padding:0!important}
.johd-feature .elementor-icon-box-wrapper{
  background:#fff;border:1px solid var(--johd-line);border-radius:var(--johd-radius);
  padding:34px 26px;height:100%;text-align:center;transition:.3s}
.johd-feature .elementor-icon-box-wrapper:hover{transform:translateY(-6px);box-shadow:var(--johd-shadow);border-color:transparent}
.johd-feature .elementor-icon-box-icon{margin-bottom:18px!important}
.johd-feature .elementor-icon{
  width:74px;height:74px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;background:var(--johd-grad);color:#fff;font-size:30px!important;box-shadow:0 12px 24px -10px rgba(27,63,143,.7)}
.johd-feature .elementor-icon i,.johd-feature .elementor-icon svg{color:#fff;fill:#fff;width:1em;height:1em}
.johd-feature .elementor-icon-box-title{font-size:22px;font-weight:800;color:var(--johd-navy);margin:0 0 10px}
.johd-feature .elementor-icon-box-description{color:var(--johd-mute);font-size:16.5px;line-height:1.75}

/* ---------- Soft background sections ---------- */
.johd-soft{background:var(--johd-soft)}

/* ---------- Course cards (Posts widget) ---------- */
.elementor-posts--skin-cards .elementor-post__card{
  border:1px solid var(--johd-line);border-radius:var(--johd-radius);overflow:hidden;
  box-shadow:0 6px 22px -14px rgba(11,31,63,.35);transition:.3s;background:#fff}
.elementor-posts--skin-cards .elementor-post__card:hover{transform:translateY(-6px);box-shadow:var(--johd-shadow)}
/* Courses that only have the generic logo as featured image get a clean branded header instead */
.elementor-posts--skin-cards .elementor-post__card:has(img[src*="JOHD-2-1"])::before{
  content:"\f19d";font-family:"Font Awesome 5 Free","Font Awesome 6 Free";font-weight:900;
  display:flex;align-items:center;justify-content:center;height:130px;font-size:46px;color:#fff;background:var(--johd-grad)}
.elementor-posts--skin-cards .elementor-post__card:has(img[src*="JOHD-2-1"]) .elementor-post__thumbnail__link{display:none}
/* real course photos (when added) are shown cover-cropped */
.elementor-posts--skin-cards .elementor-post__thumbnail{padding-bottom:0!important;height:190px}
.elementor-posts--skin-cards .elementor-post__thumbnail img{height:100%!important;width:100%!important;object-fit:cover}
.elementor-posts--skin-cards .elementor-post__title,.elementor-posts--skin-cards .elementor-post__title a{
  font-size:20px;font-weight:800;line-height:1.35;color:var(--johd-navy)}
.elementor-posts--skin-cards .elementor-post__excerpt p{
  color:var(--johd-mute);font-size:15.5px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.elementor-posts--skin-cards .elementor-post__read-more{color:var(--johd-blue)!important;font-weight:800}
.elementor-posts--skin-cards .elementor-post__text{padding:6px 22px 22px}

/* ---------- Expert cards ---------- */
.johd-expert>.elementor-widget-wrap{
  background:#fff;border:1px solid var(--johd-line);border-radius:var(--johd-radius);overflow:hidden;
  padding:0!important;transition:.3s;height:100%;align-content:flex-start}
.johd-expert:hover>.elementor-widget-wrap{transform:translateY(-6px);box-shadow:var(--johd-shadow);border-color:transparent}
.johd-expert>.elementor-widget-wrap{display:flex!important;flex-direction:column;flex-wrap:nowrap!important}
.johd-expert .elementor-element{width:100%}
.johd-expert .elementor-widget-image{margin:0!important}
.johd-expert .elementor-widget-image a{display:block}
.johd-expert .elementor-widget-image img{width:100%!important;max-width:none!important;height:300px!important;object-fit:cover!important;object-position:center 15%!important;display:block;border-radius:0!important;background:var(--johd-soft)}
.johd-expert .elementor-widget-button{margin-top:auto}
.johd-expert .elementor-widget-heading{padding:18px 16px 4px}
.johd-expert .elementor-heading-title{font-size:20px;font-weight:800;line-height:1.35;color:var(--johd-navy);text-align:center;min-height:54px;display:flex;align-items:center;justify-content:center}
.johd-expert .elementor-widget-heading .elementor-heading-title a{color:inherit}
.johd-expert .elementor-widget-button{padding:6px 16px 22px}
.johd-expert .elementor-button{
  background:transparent;color:var(--johd-blue);border:2px solid var(--johd-blue);border-radius:999px;
  padding:9px 26px;font-weight:800;font-size:15px;transition:.25s}
.johd-expert .elementor-button:hover{background:var(--johd-blue);color:#fff}
.johd-expert-row>.elementor-container{align-items:stretch;gap:0}
.johd-expert-row .elementor-column{padding:14px}
.johd-expert-row .johd-empty{display:none}

/* ---------- Buttons ---------- */
.johd-btn .elementor-button{
  background:var(--johd-grad);color:#fff;border-radius:999px;padding:14px 38px;font-weight:800;font-size:17px;
  border:0;box-shadow:0 12px 26px -12px rgba(27,63,143,.8);transition:.25s}
.johd-btn .elementor-button:hover{transform:translateY(-3px);box-shadow:0 18px 30px -12px rgba(27,63,143,.9);color:#fff}

/* ---------- Inner pages ---------- */
.elementor-widget-image-box .elementor-image-box-img img{border:3px solid var(--johd-blue);object-fit:cover}
.elementor-widget-text-editor ul li{margin-bottom:6px}
.elementor-widget-text-editor{line-height:1.85}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .johd-stats .elementor-column{width:50%!important;padding:12px 0}
  .johd-stats .elementor-column:nth-child(3){border-inline-start:0}
  .johd-expert-row .elementor-column{width:50%!important}
}
@media(max-width:640px){
  .johd-stats{margin-top:-40px!important}
  .johd-stats .elementor-counter-number-wrapper{font-size:34px}
  .johd-expert-row .elementor-column{width:100%!important}
  .elementor-slides .elementor-slide-heading{font-size:44px!important}
  .elementor-slides .elementor-slide-description{font-size:20px!important}
}

/* ==========================================================
   TYPOGRAPHY SYSTEM  (Cairo = headings, Tajawal = body)
   Both have first-class Arabic + clean Latin. Loaded in functions.php.
   Overrides the per-widget "El Messiri" settings site-wide.
   ========================================================== */
:root{--johd-font-head:'Fraunces','Noto Naskh Arabic',Georgia,serif;--johd-font-body:'IBM Plex Sans Arabic','Cairo',system-ui,sans-serif}
body,
body *:not(i):not(.fas):not(.far):not(.fab):not(.fa):not([class^="eicon"]):not([class*=" eicon"]):not(.dashicons):not(.ab-icon):not(svg):not(svg *):not(#wpadminbar *){
  font-family:var(--johd-font-body)!important}
body :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title,.elementor-icon-box-title,.elementor-post__title,.elementor-post__title a,
  .elementor-slide-heading,.elementor-counter-number-wrapper,.elementor-button,.elementor-slide-button,.elementor-nav-menu a,
  .elementor-post__read-more,.elementor-image-box-title){font-family:var(--johd-font-head)!important}
.elementor-heading-title{line-height:1.3}
:lang(ar) .elementor-heading-title,:lang(ar) h1,:lang(ar) h2,:lang(ar) h3{line-height:1.5;letter-spacing:0!important}
:lang(ar) .johd-eyebrow .elementor-heading-title{letter-spacing:0}
.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor li{font-size:17.5px;line-height:1.9;color:#26354f}
.elementor-widget-text-editor strong,.elementor-widget-text-editor b{color:var(--johd-navy)}

/* ---------- Header / navigation ---------- */
.elementor-location-header,[data-elementor-type=header]{box-shadow:0 6px 24px -16px rgba(11,31,63,.45);position:relative;z-index:50}
.elementor-nav-menu--main .elementor-item{font-size:17px;font-weight:700;color:var(--johd-navy);position:relative;transition:color .2s}
.elementor-nav-menu--main .elementor-item:hover,.elementor-nav-menu--main .elementor-item.elementor-item-active{color:var(--johd-blue)!important}
.elementor-nav-menu--main .elementor-item::after{content:"";position:absolute;inset-inline:14px;bottom:6px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--johd-blue),var(--johd-cyan));transform:scaleX(0);transition:transform .25s;transform-origin:center}
.elementor-nav-menu--main .elementor-item:hover::after,.elementor-nav-menu--main .elementor-item.elementor-item-active::after{transform:scaleX(1)}
.elementor-nav-menu--dropdown,.elementor-nav-menu--main .sub-menu{border-radius:14px!important;overflow:hidden;box-shadow:0 20px 40px -18px rgba(11,31,63,.45);border:1px solid var(--johd-line)}
.elementor-nav-menu--dropdown a,.sub-menu a{font-size:16px!important;font-weight:600;padding:12px 20px!important;color:var(--johd-navy)}
.elementor-nav-menu--dropdown a:hover,.sub-menu a:hover{background:var(--johd-soft)!important;color:var(--johd-blue)!important}

/* ---------- Inner-page title band ---------- */
.elementor-section.elementor-section-height-min-height .elementor-heading-title{text-shadow:0 4px 24px rgba(0,0,0,.45)}

/* ---------- Hub pages (Conferences / Training / IT) ---------- */
.johd-hub .elementor-icon-box-wrapper{position:relative;cursor:pointer}
.johd-hub .elementor-icon-box-title a{color:var(--johd-navy)}
.johd-hub .elementor-icon-box-title a::after{content:"";position:absolute;inset:0;z-index:1}
.johd-hub .elementor-icon-box-wrapper:hover .elementor-icon-box-title a{color:var(--johd-blue)}
.johd-hub-row>.elementor-container{gap:0}.johd-hub-row .elementor-column{padding:12px}

/* ---------- Inner content blocks ---------- */
.elementor-widget-text-editor[class*=elementor-element]{}
.elementor-widget-image-box .elementor-image-box-title{font-size:22px;font-weight:800;color:var(--johd-navy)}
.elementor-widget-image-box .elementor-image-box-title a{color:var(--johd-blue)}

/* ---------- Footer ---------- */
.elementor-location-footer .elementor-heading-title{font-weight:800}
.elementor-location-footer a{transition:color .2s}
.elementor-location-footer .elementor-icon-list-item a:hover,.elementor-location-footer .menu-item a:hover{color:var(--johd-blue)!important}

/* ---------- Initials avatar (experts without a photo yet) ---------- */
.johd-initials.elementor-widget-heading,.johd-expert .johd-initials.elementor-widget-heading{padding:0!important;margin:0!important}
.johd-initials .elementor-heading-title,.johd-expert .johd-initials .elementor-heading-title{
  height:300px;min-height:300px;display:flex;align-items:center;justify-content:center;margin:0;
  background:var(--johd-grad);color:#fff!important;font-size:68px;font-weight:800;letter-spacing:.06em;line-height:1}

/* ---------- Expert CV page ---------- */
.johd-cv-wrap>.elementor-container{align-items:flex-start;max-width:1240px}
.johd-profile,.johd-cv{padding:0 14px}
.johd-profile>.elementor-widget-wrap{position:sticky;top:110px;background:#fff;border:1px solid var(--johd-line);border-radius:var(--johd-radius);
  padding:0 0 26px!important;overflow:hidden;box-shadow:var(--johd-shadow)}
.johd-profile .elementor-widget-image{margin:0!important}
.johd-profile .elementor-widget-image img{width:100%!important;height:360px!important;object-fit:cover!important;object-position:center 15%!important;display:block;border-radius:0!important;border:0!important}
.johd-profile .johd-initials .elementor-heading-title{height:300px}
.johd-profile h2.elementor-heading-title{font-size:24px;font-weight:800;color:var(--johd-navy);padding:20px 18px 6px;line-height:1.35}
.johd-profile .elementor-widget-button{padding:10px 24px 0}
.johd-profile .elementor-button,.johd-side .elementor-button{width:100%;justify-content:center;text-align:center}
.johd-cv>.elementor-widget-wrap{background:#fff;border:1px solid var(--johd-line);border-radius:var(--johd-radius);padding:36px 40px!important;box-shadow:0 10px 30px -22px rgba(11,31,63,.4)}
.johd-sechead .elementor-heading-title{font-size:28px;font-weight:800;color:var(--johd-navy);border-inline-start:5px solid var(--johd-blue);padding-inline-start:14px;margin:0 0 14px}
.johd-cv .elementor-widget-text-editor,.johd-main .elementor-widget-text-editor{margin:0 0 6px}
.johd-cv .elementor-widget-text-editor ul,.johd-main .elementor-widget-text-editor ul{padding-inline-start:22px}
.johd-cv .elementor-widget-text-editor h1,.johd-cv .elementor-widget-text-editor h2,.johd-cv .elementor-widget-text-editor h3,
.johd-main .elementor-widget-text-editor h2,.johd-main .elementor-widget-text-editor h3{font-size:21px;font-weight:800;color:var(--johd-blue)!important;margin:22px 0 8px}
.johd-cv .elementor-widget-text-editor li::marker,.johd-main .elementor-widget-text-editor li::marker{color:var(--johd-blue)}
.johd-cv table{width:100%;border-collapse:collapse}.johd-cv td,.johd-cv th{border-bottom:1px solid var(--johd-line);padding:8px 6px;vertical-align:top}
.johd-btn-outline .elementor-button{background:transparent;color:var(--johd-blue);border:2px solid var(--johd-blue);border-radius:999px;padding:11px 30px;font-weight:800;box-shadow:none;transition:.25s}
.johd-btn-outline .elementor-button:hover{background:var(--johd-blue);color:#fff}

/* ---------- Course page ---------- */
.johd-course-wrap>.elementor-container{align-items:flex-start;max-width:1240px}
.johd-main,.johd-side{padding:0 14px}
.johd-main>.elementor-widget-wrap{background:#fff;border:1px solid var(--johd-line);border-radius:var(--johd-radius);padding:36px 40px!important;box-shadow:0 10px 30px -22px rgba(11,31,63,.4)}
.johd-side>.elementor-widget-wrap{position:sticky;top:110px;padding:0!important}
.johd-card>.elementor-widget-wrap,.johd-cta>.elementor-widget-wrap{border-radius:var(--johd-radius);padding:26px 22px!important;text-align:center}
.johd-card>.elementor-widget-wrap{background:#fff;border:1px solid var(--johd-line);box-shadow:var(--johd-shadow)}
.johd-card .johd-kicker .elementor-heading-title{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--johd-blue);font-weight:800;margin:0 0 14px}
:lang(ar) .johd-card .johd-kicker .elementor-heading-title{letter-spacing:0;font-size:15px}
.johd-trainer .elementor-widget-container{display:flex;justify-content:center}
.johd-trainer img{width:150px!important;height:150px!important;border-radius:50%!important;object-fit:cover!important;object-position:center 15%;border:4px solid #fff!important;box-shadow:0 0 0 3px var(--johd-blue),0 14px 28px -12px rgba(11,31,63,.5)}
.johd-trainer.johd-initials .elementor-heading-title{width:150px;height:150px;min-height:150px;border-radius:50%;font-size:46px;margin:0 auto}
.johd-card h3.elementor-heading-title{font-size:21px;font-weight:800;color:var(--johd-navy);margin:16px 0 14px;line-height:1.35}
.johd-card h3.elementor-heading-title a{color:inherit}
.johd-cta>.elementor-widget-wrap{background:var(--johd-grad);color:#fff}
.johd-cta h3.elementor-heading-title{color:#fff;font-size:22px;font-weight:800;margin:0 0 16px}
.johd-btn-light .elementor-button{background:#fff!important;color:var(--johd-navy)!important}

/* ---------- About page / programs ---------- */
.johd-about .elementor-icon-box-wrapper{text-align:start!important}
.johd-about .elementor-icon-box-icon{text-align:start!important}
.johd-about .elementor-icon-box-description{font-size:17px}
.johd-about .elementor-column-wrap,.johd-about>.elementor-widget-wrap{padding:0!important}
.johd-feature-row .elementor-column{padding:12px}
.johd-feature-row>.elementor-container{align-items:stretch;gap:0}
.johd-prog .elementor-icon-box-wrapper{display:flex!important;align-items:center;gap:16px;text-align:start!important;padding:20px 22px}
.johd-prog .elementor-icon-box-icon{margin:0!important;flex:none}
.johd-prog .elementor-icon{width:54px;height:54px;font-size:22px!important;box-shadow:none}
.johd-prog .elementor-icon-box-title{font-size:17px!important;line-height:1.5;margin:0!important;font-weight:700}
.johd-banner{background:var(--johd-grad)}
.johd-banner h2.elementor-heading-title{color:#fff;font-size:32px;font-weight:800;margin:0 0 14px}
.johd-banner .elementor-widget-text-editor,.johd-banner .elementor-widget-text-editor p{color:#e6efff;text-align:center;font-size:19px}

/* ---------- Forms, gallery, misc inner blocks ---------- */
.elementor-widget-form .elementor-field-textual{border:1px solid var(--johd-line);border-radius:12px;padding:13px 16px;background:#fff;font-size:16px;transition:.2s}
.elementor-widget-form .elementor-field-textual:focus{border-color:var(--johd-blue);box-shadow:0 0 0 4px rgba(27,63,143,.12);outline:0}
.elementor-widget-form .elementor-button{background:var(--johd-grad);border-radius:999px;padding:14px 38px;font-weight:800;border:0}
.elementor-widget-icon-box .elementor-icon-box-title{color:var(--johd-navy)}
.elementor-widget-image img{border-radius:14px}
.elementor-widget-gallery .elementor-gallery-item,.elementor-widget-image a img{transition:.3s}
.elementor-widget-google_maps iframe{border-radius:var(--johd-radius)}
.elementor-widget-video .elementor-wrapper{border-radius:var(--johd-radius);overflow:hidden}

@media(max-width:1024px){
  .johd-profile>.elementor-widget-wrap,.johd-side>.elementor-widget-wrap{position:static}
  .johd-cv-wrap .elementor-column,.johd-course-wrap .elementor-column{width:100%!important}
  .johd-feature-row .elementor-column{width:50%!important}
  .johd-cv>.elementor-widget-wrap,.johd-main>.elementor-widget-wrap{padding:24px 20px!important}
}
@media(max-width:640px){.johd-feature-row .elementor-column{width:100%!important}}

.johd-profile .elementor-element,.johd-side .elementor-element,.johd-main .elementor-element,.johd-cv .elementor-element{width:100%}

/* ================= v5 REDESIGN ================= */
:root{--johd-gold:#C99A44;--johd-gold-l:#E2BC73;--johd-grad:linear-gradient(135deg,#0B1F3F 0%,#14306B 60%,#1B3F8F 100%)}
body.elementor-kit-9{--e-global-color-primary:#0B1F3F;--e-global-color-secondary:#1B3F8F;--e-global-color-accent:#C99A44}
body{background:#fff}
span[style*="#0000ff" i],span[style*="rgb(0, 0, 255)"]{color:var(--johd-gold)!important}
.elementor-widget-testimonial-carousel{display:none!important}
body :is(h1,h2,h3,.elementor-heading-title){font-weight:600!important}
:lang(ar) :is(h1,h2,h3,.elementor-heading-title){font-weight:700!important}
body :is(.elementor-button,.elementor-nav-menu a){font-family:var(--johd-font-body)!important;font-weight:600}
.johd-title{text-align:start}
.johd-title .elementor-heading-title::after{content:"";display:block;width:56px;height:3px;background:var(--johd-gold);margin-top:14px}
.johd-btn .elementor-button,.elementor-button.johd-btn{background:var(--johd-gold);color:var(--johd-navy);border-radius:2px;border:0;padding:15px 30px}
.johd-btn .elementor-button:hover{background:var(--johd-gold-l);color:var(--johd-navy)}
.johd-btn-line .elementor-button{background:transparent;color:var(--johd-navy);border:1.5px solid var(--johd-navy);border-radius:2px}
.johd-btn-line .elementor-button:hover{background:var(--johd-navy);color:#fff}

/* hero */
.jh-hero-sec{padding:0!important}
.jh-hero{position:relative;min-height:calc(100vh - 90px);min-height:min(100svh,880px);display:flex;align-items:center;overflow:hidden;background:var(--johd-grad);color:#fff;isolation:isolate}
.jh-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.jh-inner{width:min(1180px,100% - 48px);margin-inline:auto;padding:90px 0;position:relative}
.jh-title{margin:0 0 24px;font-size:clamp(2.4rem,5.8vw,5rem);line-height:1.12;max-width:15ch;color:#fff!important;font-family:var(--johd-font-head)!important;font-weight:600}
.jh-line{display:block;overflow:hidden}
.jh-line>span{display:block;animation:jhUp .9s cubic-bezier(.2,.8,.2,1) both}
.jh-line:nth-child(2)>span{animation-delay:.15s;color:var(--johd-gold-l)}
.jh-line:nth-child(3)>span{animation-delay:.3s}
.jh-lead{max-width:52ch;font-size:clamp(1rem,1.5vw,1.2rem);line-height:1.9;color:#d5deef;margin:0 0 34px;animation:jhUp 1s .45s both}
.jh-cta{display:flex;flex-wrap:wrap;gap:14px;animation:jhUp 1s .6s both}
.jh-btn{display:inline-block;padding:15px 32px;border-radius:2px;font-weight:600;text-decoration:none;transition:transform .25s,background .25s,color .25s}
.jh-btn-gold{background:var(--johd-gold);color:var(--johd-navy)}
.jh-btn-gold:hover{background:var(--johd-gold-l);transform:translateY(-2px)}
.jh-btn-ghost{border:1.5px solid rgba(255,255,255,.5);color:#fff}
.jh-btn-ghost:hover{background:#fff;color:var(--johd-navy)}
.jh-btn:focus-visible,.jh-node a:focus-visible{outline:3px solid var(--johd-gold-l);outline-offset:3px}
.jh-nodes{list-style:none;margin:0;padding:0}
.jh-node{position:absolute;transform:translate(calc(var(--mx,0)*var(--d,1)*-26px),calc(var(--my,0)*var(--d,1)*-26px));transition:transform .25s ease-out}
.jh-node a{display:block;padding:10px 20px;border:1px solid rgba(226,188,115,.55);background:rgba(11,31,63,.55);backdrop-filter:blur(6px);color:#fff;text-decoration:none;font-size:.95rem;border-radius:999px;transition:background .25s,color .25s}
.jh-node a:hover{background:var(--johd-gold);color:var(--johd-navy)}
@keyframes jhUp{from{transform:translateY(105%);opacity:0}to{transform:none;opacity:1}}
@media(max-width:900px){.jh-nodes{position:static;display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.jh-node{position:static!important;transform:none}}

/* stats */
.jh-stats{background:var(--johd-navy)!important;border-bottom:3px solid var(--johd-gold)}
.jh-stats .elementor-counter-number-wrapper,.jh-stats .elementor-counter-number-suffix{color:var(--johd-gold-l)!important;font-size:3rem}
.jh-stats .elementor-counter-title{color:#c6d2ea!important;font-size:1rem}
/* about editorial rows */
.jh-about{background:var(--johd-soft)}
.jh-rows .elementor-widget-wrap>*{margin:0}
.jh-rowtitle .elementor-heading-title{font-size:1.35rem;color:var(--johd-navy)}
.jh-rowtext{border-bottom:1px solid var(--johd-line);padding-bottom:20px;margin-bottom:20px!important}
.jh-leadtext,.jh-leadtext p{font-size:1.2rem;color:var(--johd-navy)}
/* courses */
.jh-courses-sec .elementor-post{background:#fff;border:1px solid var(--johd-line);border-top:3px solid var(--johd-gold);border-radius:2px;box-shadow:none;transition:transform .3s,box-shadow .3s}
.jh-courses-sec .elementor-post:hover{transform:translateY(-4px);box-shadow:var(--johd-shadow)}
/* experts: arch portraits */
.johd-expert img,.johd-expert .johd-initials{border-radius:999px 999px 6px 6px!important}
.johd-expert .johd-initials{background:var(--johd-grad);color:var(--johd-gold-l)}
.jh-exp-title .elementor-heading-title{color:var(--johd-navy)}
/* contact */
.jh-contact{padding:80px 0;background:var(--johd-soft)}
.jh-info .elementor-icon-box-wrapper{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:6px;padding:18px 0;border-bottom:1px solid var(--johd-line)}
.jh-info .elementor-icon-box-icon{margin:0!important}
.jh-info .elementor-icon{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--johd-gold);display:grid;place-items:center;color:var(--johd-gold)!important;font-size:18px}
.jh-info .elementor-icon-box-title{font-size:1.05rem;color:var(--johd-navy)}
.jh-formcard{background:#fff;padding:44px!important;border-radius:6px;box-shadow:var(--johd-shadow);border-top:4px solid var(--johd-gold)}
.jh-form input,.jh-form textarea,.jh-form select{border:1px solid var(--johd-line)!important;border-radius:2px!important;background:var(--johd-soft)!important;padding:14px!important}
.jh-form input:focus,.jh-form textarea:focus{border-color:var(--johd-gold)!important;outline:2px solid rgba(201,154,68,.35)}
.jh-form .elementor-button{background:var(--johd-gold)!important;color:var(--johd-navy)!important;border-radius:2px!important}
.jh-map iframe{border-radius:6px;filter:saturate(.7)}
@media(max-width:767px){.jh-formcard{padding:26px!important}}
@media(prefers-reduced-motion:reduce){.jh-line>span,.jh-lead,.jh-cta{animation:none}.jh-node{transition:none}html{scroll-behavior:auto}}

/* hide placeholder excerpts on course cards */
.elementor-widget-posts .elementor-post__excerpt{display:none!important}
/* unified social icons */
.elementor-social-icon,.elementor-social-icon[class*="elementor-social-icon-"]{background:transparent!important;border:1.5px solid var(--johd-gold);color:var(--johd-gold-l)!important;transition:background .25s,color .25s,transform .25s}
.elementor-social-icon i{color:var(--johd-gold-l)!important}
.elementor-social-icon svg{fill:var(--johd-gold-l)!important}
.elementor-social-icon:hover{background:var(--johd-gold)!important;transform:translateY(-2px)}
.elementor-social-icon:hover i{color:var(--johd-navy)!important}
.elementor-social-icon:hover svg{fill:var(--johd-navy)!important}
/* uniform expert portraits: same 4:5 frame, face-focused crop */
body .johd-expert .elementor-widget-image .elementor-widget-container{aspect-ratio:4/5;overflow:hidden;border-radius:999px 999px 6px 6px;background:var(--johd-soft)}
body .johd-expert .elementor-widget-image :is(a,figure,.elementor-image){display:block;width:100%;height:100%;margin:0}
body .johd-expert .elementor-widget-image img{width:100%!important;height:100%!important;aspect-ratio:4/5;object-fit:cover!important;object-position:center 12%!important;border-radius:0!important;transform:none}
body .johd-expert .johd-initials.elementor-widget-heading .elementor-widget-container{aspect-ratio:4/5}
/* refined buttons (replaces pill + glow) */
body .elementor-button,body .elementor-button-link{border-radius:4px!important;box-shadow:none!important;text-shadow:none!important;letter-spacing:.2px;text-transform:none!important;font-size:15px;font-weight:600;padding:13px 26px;background:var(--johd-gold);color:var(--johd-navy)!important;border:1.5px solid var(--johd-gold);transition:background .25s,color .25s,border-color .25s,transform .25s,box-shadow .25s}
body .elementor-button:hover,body .elementor-button:focus{background:var(--johd-navy);color:var(--johd-gold-l)!important;border-color:var(--johd-navy);box-shadow:0 10px 22px -12px rgba(11,31,63,.55)!important;transform:translateY(-2px)}
body .elementor-button:focus-visible{outline:3px solid rgba(201,154,68,.5);outline-offset:3px}
body .elementor-button .elementor-button-icon{transition:transform .25s}
body .elementor-button:hover .elementor-button-icon{transform:translateX(4px)}
body:is([dir=rtl],.rtl) .elementor-button:hover .elementor-button-icon{transform:translateX(-4px)}
body .elementor-button-icon i,body .elementor-button-icon svg{color:inherit;fill:currentColor}
/* header CTA on dark bar */
body .elementor-location-header .elementor-button{background:var(--johd-gold);color:var(--johd-navy)!important;border-color:var(--johd-gold)}
body .elementor-location-header .elementor-button:hover{background:transparent;color:var(--johd-gold-l)!important;border-color:var(--johd-gold-l);box-shadow:none!important}
/* outline variants keep outline */
body .johd-btn-line .elementor-button,body .johd-expert .elementor-button{background:transparent;color:var(--johd-navy)!important;border:1.5px solid var(--johd-navy)}
body .johd-btn-line .elementor-button:hover,body .johd-expert .elementor-button:hover{background:var(--johd-navy);color:var(--johd-gold-l)!important}
/* softer card shadows */
:root{--johd-shadow:0 1px 2px rgba(11,31,63,.06),0 14px 32px -18px rgba(11,31,63,.28)}
/* calm inner-page title band: no pattern, no brush waves */
body .elementor-section:has(>.elementor-shape){background-image:radial-gradient(900px 260px at 85% 120%,rgba(201,154,68,.22),transparent 70%),linear-gradient(135deg,#0B1F3F 0%,#14306B 100%)!important;background-color:#0B1F3F!important;border-bottom:3px solid var(--johd-gold);min-height:230px}
body .elementor-section:has(>.elementor-shape)>.elementor-background-overlay{display:none!important}
body .elementor-section>.elementor-shape{display:none!important}
body .elementor-section:has(>.elementor-shape) .elementor-heading-title{color:#fff!important;text-shadow:none;font-size:clamp(2rem,4vw,3.2rem)}
.johd-band{background-image:radial-gradient(900px 260px at 85% 120%,rgba(201,154,68,.22),transparent 70%),linear-gradient(135deg,#0B1F3F 0%,#14306B 100%)!important;border-bottom:3px solid var(--johd-gold)}
/* gallery */
.jg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;max-width:1180px;margin:0 auto}
.jg-item{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:4px;background:var(--johd-soft);position:relative}
.jg-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.jg-item:hover img{transform:scale(1.06)}
.jg-item::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 0 var(--johd-gold);transition:box-shadow .3s}
.jg-item:hover::after{box-shadow:inset 0 0 0 4px var(--johd-gold)}
.jg-lb{position:fixed;inset:0;z-index:99999;background:rgba(8,18,38,.92);display:grid;place-items:center;cursor:zoom-out;padding:24px}
.jg-lb img{max-width:100%;max-height:100%;border-radius:4px}
/* solid (single-colour) menu / footer link underline */
body .elementor-nav-menu .elementor-item:before,body .elementor-nav-menu .elementor-item:after,
body [class*="e--pointer-"] .elementor-item:before,body [class*="e--pointer-"] .elementor-item:after{background:var(--johd-gold)!important;background-image:none!important;border-color:var(--johd-gold)!important;height:2px;border-radius:2px}
body .elementor-nav-menu .elementor-item.elementor-item-active,body .elementor-nav-menu .elementor-item:hover{color:var(--johd-gold)!important}
.elementor-location-header .elementor-nav-menu .elementor-item.elementor-item-active,.elementor-location-header .elementor-nav-menu .elementor-item:hover{color:var(--johd-navy)!important}
/* back-to-top: hide legacy plugin button, use our own */
#scrollUp,#back-top,#back-to-top,#toTop,#to-top,#scroll-top,#scrollToTop,#totop,.back-to-top,.backtotop,.scroll-to-top,.scrollToTop,.scrollup,.to-top,.totop,.go-top,#ssba-top,.ht-scroll-top,.ast-scroll-top,.progress-wrap,.cmtt-back-to-top,#cs-scroll-top{display:none!important}
.jh-top{position:fixed;inset-inline-end:22px;bottom:22px;z-index:9990;width:48px;height:48px;border-radius:50%;border:1.5px solid var(--johd-gold);background:var(--johd-navy);color:var(--johd-gold-l);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .3s,transform .3s,visibility .3s,background .25s,color .25s;box-shadow:0 10px 24px -12px rgba(11,31,63,.6);padding:0}
.jh-top.on{opacity:1;visibility:visible;transform:none}
.jh-top:hover{background:var(--johd-gold);color:var(--johd-navy)}
.jh-top:focus-visible{outline:3px solid rgba(201,154,68,.5);outline-offset:3px}
.jh-top svg{width:20px;height:20px}
