/* Elearners365 site-wide premium layer (E365_SITE_PREMIUM, includes/site-premium.php).
   Same language as the homepage: logo gold on night navy, Plus Jakarta Sans for headings, pill buttons,
   hairline + soft shadow surfaces. Only active when <body> has .e365s.
   Elementor writes per-element styles with high specificity, so the few properties that must win use !important. */

body.e365s{
  --s-ink:#0a0e1c;--s-mute:#5a6078;--s-line:rgba(10,14,28,.1);--s-soft:#f6f6fa;--s-night:#070a16;
  --s-gold:#f1c661;--s-gold2:#e3b040;--s-indigo:#4a46eb;
  --s-display:'Plus Jakarta Sans','Rubik','Open Sans',sans-serif;
  --s-goldgrad:linear-gradient(100deg,#f7dc8f 0%,#e7b545 48%,#fbe9b5 100%);
  --s-sh1:0 1px 2px rgba(10,14,28,.04),0 12px 32px -16px rgba(10,14,28,.18);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale
}
body.e365s ::selection{background:#f1c661;color:#0a0e1c}

/* ---- header, footer, popup: gold accents everywhere (the homepage already had them) ---- */
body.e365s #e365h{--h-lime:#f1c661;--h-cyan:#ffe6a6}
body.e365s #e365f{--f-lime:#f1c661;--f-cyan:#ffe6a6}
body.e365s #e365f .cta h2,body.e365s #e365lb-modal .e365lb-side h3,body.e365s #e365lb-modal .e365lb-form h4{font-family:var(--s-display);letter-spacing:-.028em}

/* ---- scroll progress hairline ---- */
@supports (animation-timeline:scroll()){
  body.e365s:not(.e365-home-2026):after{content:"";position:fixed;left:0;top:0;z-index:9995;width:100%;height:2px;transform-origin:0 50%;pointer-events:none;background:linear-gradient(90deg,#e3b040,#fbe9b5);animation:e365s-prog linear both;animation-timeline:scroll(root)}
  @keyframes e365s-prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}
@media (prefers-reduced-motion:reduce){body.e365s:after{display:none}}

/* =====================================================================
   Elementor pages (course, program, city, contact, hire-from-us ...)
   ===================================================================== */

/* headings: one display face instead of Roboto / Manrope / DM Sans / Poppins */
body.e365s .elementor :is(.elementor-heading-title,.elementor-icon-box-title,.elementor-image-box-title,.elementor-tab-title,.elementor-toggle-title,.elementor-accordion-title,.e-n-accordion-item-title-text,.elementor-price-table__heading,.elementor-price-table__currency,.elementor-price-table__integer-part,.elementor-counter-number-wrapper,.elementor-counter-title,.elementor-cta__title,.elementor-flip-box__layer__title,.elementor-testimonial-name,.elementskit-section-title,.ekit-heading--title),
body.e365s .elementor .elementor-widget-text-editor :is(h1,h2,h3,h4){font-family:var(--s-display)!important;letter-spacing:-.022em}
body.e365s .elementor h1.elementor-heading-title{letter-spacing:-.034em;font-weight:800!important;line-height:1.1}
body.e365s .elementor h2.elementor-heading-title{letter-spacing:-.03em;font-weight:700!important;line-height:1.15}

/* body copy: Open Sans everywhere */
body.e365s .elementor :is(.elementor-widget-text-editor,.elementor-icon-list-text,.elementor-tab-content,.elementor-toggle .elementor-tab-content,.elementor-image-box-description,.elementor-icon-box-description,.elementor-testimonial-content,.elementor-price-table__feature-inner,.e-n-accordion-item .elementor-widget-text-editor){font-family:'Open Sans',system-ui,sans-serif!important}
body.e365s .elementor .elementor-widget-text-editor{line-height:1.7}

/* yellow headings (Elementor #ffc504 / #ffdf00) become the logo gold gradient */
body.e365s .e365s-goldtxt{background:var(--s-goldgrad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* buttons: pill, display font, depth; orange ones get the homepage CTA gradient */
body.e365s .elementor .elementor-button{border-radius:999px!important;font-family:var(--s-display)!important;font-weight:700!important;letter-spacing:-.005em;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 12px 26px -14px rgba(10,14,28,.55);transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .2s,filter .2s}
body.e365s .elementor .elementor-button:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 18px 34px -14px rgba(10,14,28,.6)}
body.e365s .elementor .elementor-button.e365s-cta{background-image:linear-gradient(180deg,#ff6b21,#f04a00)!important;border-color:transparent!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 2px rgba(190,56,0,.5),0 16px 32px -12px rgba(240,74,0,.6)}

/* pure-black sections become night navy with a soft indigo glow and a gold hairline on top */
body.e365s .e365s-dark{background-color:var(--s-night)!important;background-image:radial-gradient(900px 480px at 100% 0,rgba(231,181,69,.08),transparent 60%),radial-gradient(900px 560px at 0 100%,rgba(84,66,255,.3),transparent 62%)!important;box-shadow:inset 0 1px 0 rgba(241,198,97,.18)}

/* accordions and toggles: separated rounded rows */
body.e365s .elementor :is(.elementor-accordion-item,.elementor-toggle-item){border:1px solid var(--s-line)!important;border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--s-sh1)}
body.e365s .elementor .elementor-accordion-item+.elementor-accordion-item{margin-top:10px}
body.e365s .elementor .elementor-toggle-item:not(:last-child){margin-bottom:10px}
body.e365s .elementor :is(.elementor-accordion,.elementor-toggle) .elementor-tab-title{border:0!important;font-weight:600}
body.e365s .elementor :is(.elementor-accordion,.elementor-toggle) .elementor-tab-content{border:0!important;border-top:1px solid var(--s-line)!important}
body.e365s .elementor .e-n-accordion-item{border-radius:14px;overflow:hidden}

/* icon list ticks and icon boxes: a little more air */
body.e365s .elementor .elementor-icon-list-item{line-height:1.5}

/* price tables (Pay full fee / registration cards) */
body.e365s .elementor .elementor-price-table{border-radius:22px;overflow:hidden;box-shadow:0 1px 2px rgba(10,14,28,.05),0 30px 60px -30px rgba(10,14,28,.35)}

/* =====================================================================
   Forms (WPForms and Elementor forms outside the custom templates)
   ===================================================================== */
body.e365s :is(.elementor,.entry-content) .wpforms-container{--wpforms-field-border-radius:12px;--wpforms-field-border-color:#dfe2ee;--wpforms-button-border-radius:999px;--wpforms-button-background-color:#f04a00;--wpforms-button-text-color:#fff}
body.e365s :is(.elementor,.entry-content) :is(.wpforms-form,.elementor-form) :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),select,textarea){border-radius:12px!important;border:1px solid #dfe2ee!important;background-color:#fafafd!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s}
body.e365s :is(.elementor,.entry-content) :is(.wpforms-form,.elementor-form) :is(input,select,textarea):focus{border-color:var(--s-indigo)!important;background-color:#fff!important;box-shadow:0 0 0 4px rgba(74,70,235,.14)!important;outline:0}
body.e365s :is(.elementor,.entry-content) .wpforms-form :is(button[type=submit],.wpforms-submit){border-radius:999px!important;border:0!important;background:linear-gradient(180deg,#ff6b21,#f04a00)!important;color:#fff!important;font-family:var(--s-display)!important;font-weight:700!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 16px 30px -12px rgba(240,74,0,.6)!important;transition:transform .2s}
body.e365s :is(.elementor,.entry-content) .wpforms-form :is(button[type=submit],.wpforms-submit):hover{transform:translateY(-2px)}
body.e365s .elementor .elementor-form .elementor-button{background-image:linear-gradient(180deg,#ff6b21,#f04a00)!important}

/* =====================================================================
   Blog posts and plain pages (Astra)
   ===================================================================== */
body.e365s.single-post .site-content{background:var(--s-soft)}
body.e365s.single-post .site-main{max-width:860px;margin:0 auto;padding:clamp(20px,3vw,40px) 0}
body.e365s.single-post .site-main>article{background:#fff;border:1px solid var(--s-line);border-radius:24px;padding:clamp(18px,4vw,48px);box-shadow:var(--s-sh1)}
body.e365s.single-post .site-main>:is(.comments-area,.post-navigation,nav){margin-top:24px}
body.e365s.single-post :is(.entry-title,.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4){font-family:var(--s-display)!important;color:var(--s-ink);letter-spacing:-.022em}
body.e365s.single-post .entry-title{font-weight:800;font-size:clamp(30px,3.6vw,46px);line-height:1.12;letter-spacing:-.034em}
body.e365s.single-post .entry-content{font-size:17px;line-height:1.8;color:#2d3245}
body.e365s.single-post .entry-content h2{margin-top:1.6em}
body.e365s.single-post .entry-content a{color:var(--s-indigo);text-decoration:underline;text-decoration-color:rgba(74,70,235,.35);text-underline-offset:3px}
body.e365s.single-post .entry-content a:hover{text-decoration-color:currentColor}
body.e365s.single-post .entry-content blockquote{border-left:3px solid var(--s-gold2);background:#fff;border-radius:0 14px 14px 0;padding:16px 20px;font-style:normal}
body.e365s.single-post :is(.post-thumb-img-content,.ast-single-post-featured-section) img,body.e365s.single-post .entry-content img{border-radius:18px}
body.e365s.single-post .entry-meta{color:var(--s-mute)}
body.e365s :is(.ast-archive-description,.page-title,.ast-blog-single-element) :is(h1,.page-title){font-family:var(--s-display)!important;letter-spacing:-.03em}

/* =====================================================================
   Corporate training page (templates/corporate.php, root .e365c.e365p)
   ===================================================================== */
.e365c.e365p{--ink:#0a0e1c;--mute:#5a6078;--line:#e7e8f0;--soft:#f6f6fa;--lime:#f1c661;--cyan:#ffe6a6;--gold:#e3b040}
.e365c.e365p :is(h1,h2,h3,h4){font-family:var(--s-display,'Plus Jakarta Sans','Rubik',sans-serif);letter-spacing:-.022em}
.e365c.e365p h2{font-weight:700;letter-spacing:-.032em;line-height:1.12}
.e365c.e365p .hero h1{font-weight:800;letter-spacing:-.038em;line-height:1.07}
.e365c.e365p .hero h1 span{background:linear-gradient(95deg,#f8dd94,#e7b545 30%,#fff0c4 55%,#e7b545 80%);-webkit-background-clip:text;background-clip:text}
.e365c.e365p .grad{background:linear-gradient(100deg,#3549e6,#6d45f0);-webkit-background-clip:text;background-clip:text}
.e365c.e365p .eyebrow{font-size:12px;letter-spacing:.18em}
.e365c.e365p .head .eyebrow{display:inline-flex;align-items:center;gap:8px}
.e365c.e365p .head .eyebrow:before,.e365c.e365p .head .eyebrow:after{content:"";width:26px;height:1px;margin:0 4px;background:linear-gradient(90deg,transparent,#e3b040)}
.e365c.e365p .head .eyebrow:after{background:linear-gradient(90deg,#e3b040,transparent)}
.e365c.e365p .faq .head .eyebrow:before{display:none}
.e365c.e365p .btn{font-family:var(--s-display,'Plus Jakarta Sans',sans-serif);border-width:1px}
.e365c.e365p .btn-cta{background:linear-gradient(180deg,#ff6b21,#f04a00);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 2px rgba(190,56,0,.5),0 16px 32px -12px rgba(240,74,0,.6)}
.e365c.e365p .btn-ghost{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.05)}
.e365c.e365p .btn-ghost:hover{border-color:rgba(241,198,97,.7);background:rgba(241,198,97,.08)}
.e365c.e365p .hero{background:radial-gradient(1100px 620px at 84% -14%,rgba(84,66,255,.55),transparent 62%),radial-gradient(760px 480px at -8% 112%,rgba(53,73,230,.34),transparent 62%),radial-gradient(560px 340px at 98% 100%,rgba(231,181,69,.1),transparent 66%),linear-gradient(180deg,#070a16,#0b1026 58%,#070a16)}
.e365c.e365p .orb.o1{background:rgba(231,181,69,.14)}
.e365c.e365p .fwrap:before{background:conic-gradient(from 0deg,#f1c661,#6d45f0,#3549e6,#f1c661);opacity:.35}
.e365c.e365p .fcard{border:1px solid transparent;border-radius:28px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(140deg,rgba(247,220,143,.95),rgba(255,255,255,.25) 34%,rgba(109,69,240,.65)) border-box}
.e365c.e365p .fcard .fh .ic{background:linear-gradient(140deg,#0a0e1c,#232a66);color:#f1c661;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 12px 24px -10px rgba(10,14,28,.6)}
.e365c.e365p .fcard button[type=submit]{background:linear-gradient(180deg,#ff6b21,#f04a00)!important;font-family:var(--s-display,'Plus Jakarta Sans',sans-serif)!important}
.e365c.e365p .stcard:before{height:2px;background:linear-gradient(90deg,transparent,#e7b545 28%,#f7dc8f 50%,#e7b545 72%,transparent)}
.e365c.e365p .certs{background:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.5px) 0 0/22px 22px,radial-gradient(900px 500px at 100% 0,rgba(231,181,69,.1),transparent 60%),radial-gradient(800px 500px at 0 100%,rgba(84,66,255,.45),transparent 60%),#070a16;box-shadow:inset 0 1px 0 rgba(241,198,97,.2)}
.e365c.e365p .final{animation:none;background:radial-gradient(760px 400px at 50% 122%,rgba(84,66,255,.62),transparent 66%),radial-gradient(520px 260px at 50% -22%,rgba(231,181,69,.14),transparent 70%),#070a16;box-shadow:inset 0 1px 0 rgba(241,198,97,.2)}
.e365c.e365p .steps:before{background:linear-gradient(90deg,#e3b040,#6d45f0);opacity:.35}
.e365c.e365p .global .off,.e365c.e365p .sol{box-shadow:0 1px 2px rgba(10,14,28,.04),0 12px 32px -16px rgba(10,14,28,.18)}

@media (max-width:767px){
  body.e365s.single-post .entry-content{font-size:16px}
  .e365c.e365p .head .eyebrow:before,.e365c.e365p .head .eyebrow:after{width:18px}
}

/* =====================================================================
   Wide layout (body.e365w, E365_WIDE): containers grow to 1600px with fluid side gutters.
   Text blocks that were already capped (section intros, blog body, form cards) keep their reading width.
   ===================================================================== */
body.e365w{--e365-max:1600px;--e365-gut:clamp(16px,3.2vw,48px)}
/* header, sticky bar, footer */
body.e365w #e365h :is(.h-top,.h-main) .in{max-width:var(--e365-max);padding-left:var(--e365-gut);padding-right:var(--e365-gut)}
body.e365w #e365f .in{max-width:var(--e365-max);padding-left:var(--e365-gut);padding-right:var(--e365-gut)}
body.e365w #e365lb-bar .e365lb-in{max-width:var(--e365-max)}
/* homepage and corporate templates */
body.e365w :is(.e365,.e365c) .wrap{max-width:var(--e365-max);padding-left:var(--e365-gut);padding-right:var(--e365-gut)}
@media (min-width:1025px){
  body.e365w .e365 .hero .wrap{grid-template-columns:minmax(0,1.2fr) minmax(0,560px);gap:clamp(40px,5vw,96px)}
  body.e365w .e365 .hero h1{max-width:900px}
}
/* Elementor boxed sections and containers */
body.e365w .elementor .elementor-section.elementor-section-boxed>.elementor-container{max-width:var(--e365-max)!important}
body.e365w .elementor .e-con-boxed{--content-width:var(--e365-max)}
body.e365w .elementor .e-con-boxed>.e-con-inner{max-width:var(--e365-max)!important}
@media (min-width:1025px){
  body.e365w .elementor>.elementor-section.elementor-section-boxed>.elementor-container,
  body.e365w .elementor>.e-con-boxed>.e-con-inner{padding-left:var(--e365-gut);padding-right:var(--e365-gut)}
}
/* Astra plain pages and archives (blog posts keep their 860px reading column) */
body.e365w:not(.single-post) .site-content>.ast-container{max-width:var(--e365-max);padding-left:var(--e365-gut);padding-right:var(--e365-gut)}
