/* Xapprika static polish — applied to every converted site */
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto}
body{overflow-x:hidden}
/* dead WP widgets with no backend */
#wpadminbar,.screen-reader-response,.wpcf7-response-output:empty,.elementor-message:empty{display:none!important}
.xapp-form-msg{font-family:inherit}
/* broken image icons for empty feeds */
img[src=""],img:not([src]){display:none}
/* keep floating WhatsApp/chat buttons from covering content on phones */
@media (max-width:767px){
 .joinchat{--bottom:14px!important;--sep:14px!important}
 .joinchat__tooltip{display:none!important}
 .wa__btn_popup .wa__btn_popup_txt,.wa__popup_chat_box{display:none!important}
 body{padding-bottom:72px}
}

/* site */
/* ==========================================================================
   PhAI design refresh (2026-11). Kingster/GoodLayers + RevSlider export.
   Brand: logo green #50a516 (accent), #368010 (buttons/links, 4.9:1 on white),
   deep green #0b3d1c (panels). Type: Poppins (already loaded by the theme).
   ========================================================================== */
:root{
  --phai-green:#50a516;
  --phai-green-ink:#368010;
  --phai-green-hover:#2a660c;
  --phai-deep:#0b3d1c;
  --phai-tint:#f3f7ef;
  --phai-line:#e2e9dc;
  --phai-ink:#151a14;
  --phai-text:#4a5148;
  --phai-radius:18px;
}

/* ---------- global: buttons, links, theme leftovers ---------- */
.gdlr-core-body .gdlr-core-button,
.gdlr-core-body .gdlr-core-button.gdlr-core-button-gradient,
.kingster-body input[type="submit"],.kingster-body .kingster-button{
  background:var(--phai-green-ink)!important;border-radius:999px!important;color:#fff!important;
  transition:background-color .2s ease,transform .2s ease;
}
.gdlr-core-body .gdlr-core-button:hover,.kingster-body input[type="submit"]:hover{background:var(--phai-green-hover)!important}
.gdlr-core-body .gdlr-core-button.gdlr-core-button-transparent{background:transparent!important;color:var(--phai-green-ink)!important}
a:focus-visible,.gdlr-core-button:focus-visible,button:focus-visible{outline:3px solid var(--phai-green);outline-offset:3px}
/* off-brand theme teal + navy (course template, tables, accordions) */
[style*="background-color: #3db166"]{background-color:var(--phai-green-ink)!important}
[style*="color: #3db166"]:not([style*="background-color: #3db166"]){color:var(--phai-green-ink)!important}
[style*="border-color: #3db166"]{border-color:var(--phai-green)!important}
.gdlr-core-pbf-background-wrap[style*="#192f59"]{background-color:var(--phai-deep)!important}
table tr th{background-color:var(--phai-green-ink)!important}
.gdlr-core-accordion-style-background-title-icon .gdlr-core-active .gdlr-core-accordion-item-title{background-color:var(--phai-green-ink)!important}
.gdlr-core-accordion-style-background-title-icon .gdlr-core-accordion-item-title{color:var(--phai-green-ink)}

/* ---------- footer + back-to-top ---------- */
.kingster-copyright-wrapper{background:#141814!important}
.kingster-copyright-left{color:#b9c0b6!important}
.kingster-copyright-wrapper .gdlr-core-social-network-icon{color:#8fd15a!important;transition:color .2s}
.kingster-copyright-wrapper .gdlr-core-social-network-icon:hover{color:#fff!important}
#kingster-footer-back-to-top-button{
  width:44px;height:44px;line-height:44px;right:24px;bottom:24px;border-radius:50%;
  background:var(--phai-green-ink)!important;color:#fff!important;box-shadow:0 6px 18px rgba(0,0,0,.18);
  transition:opacity .2s,transform .25s ease;
}
#kingster-footer-back-to-top-button{display:flex!important;align-items:center;justify-content:center;padding:0!important}
#kingster-footer-back-to-top-button i{color:#fff!important;line-height:1!important;font-size:20px;margin:0!important;position:static!important}

/* ==========================================================================
   HOME (.home). Body children: 1 hero, 2 join, 3 vision, 4 mission, 5 about,
   6 projects title, 7 projects, 8 events, 9 partners, 10 empty.
   ========================================================================== */
.home .gdlr-core-page-builder-body{--sec:96px}
.home .gdlr-core-page-builder-body > :nth-child(1){position:relative;isolation:isolate;min-height:clamp(560px,78vh,760px);overflow:hidden;padding:0!important}
.home .gdlr-core-page-builder-body > :nth-child(1) > .gdlr-core-pbf-background-wrap{
  background:#0b3d1c url(/assets/media/2023/10/PhAI-20230228-scaled.webp) center 22%/cover no-repeat!important}
.home .gdlr-core-page-builder-body > :nth-child(1) > .gdlr-core-pbf-background-wrap::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(6,28,12,.78) 0%,rgba(6,28,12,.45) 38%,rgba(6,28,12,0) 62%),
             linear-gradient(0deg,rgba(6,28,12,.55) 0%,rgba(6,28,12,0) 45%)}
.home .gdlr-core-page-builder-body > :nth-child(1) .gdlr-core-pbf-wrapper-content{display:none}
.phai-hero{position:absolute;inset:0;display:flex;align-items:flex-end;z-index:2}
.phai-hero__inner{width:100%;max-width:1320px;margin:0 auto;padding:0 20px 88px;box-sizing:border-box}
.phai-hero__copy{max-width:620px;color:#fff}
.phai-hero__eyebrow{display:block;font:500 16px/1.4 Poppins,sans-serif;color:#cdeeb0;margin:0 0 14px}
.phai-hero h1{font:800 clamp(44px,6.2vw,84px)/.98 Poppins,sans-serif;letter-spacing:-.01em;text-transform:uppercase;color:#fff!important;margin:0 0 20px;text-shadow:0 2px 24px rgba(0,0,0,.25)}
.phai-hero__lead{font:400 18px/1.6 Poppins,sans-serif;color:rgba(255,255,255,.92);margin:0 0 32px;max-width:480px}
.phai-hero__ctas{display:flex;flex-wrap:wrap;gap:14px}
.phai-btn{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 28px;border-radius:999px;font:600 16px/1 Poppins,sans-serif;text-decoration:none!important;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.phai-btn--primary{background:var(--phai-green-ink);color:#fff!important}
.phai-btn--primary:hover{background:var(--phai-green-hover)}
.phai-btn--ghost{border:1.5px solid rgba(255,255,255,.7);color:#fff!important}
.phai-btn--ghost:hover{background:#fff;color:var(--phai-ink)!important;border-color:#fff}
.phai-btn svg{display:none}

/* 2: recruitment strip */
.home .gdlr-core-page-builder-body > :nth-child(2){padding:56px 0 0}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-section-container{max-width:1320px;padding:0 20px;box-sizing:border-box}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content-margin{
  background:var(--phai-tint);border-radius:var(--phai-radius);padding:36px 48px!important}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content::before,
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content::after{display:none}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-title-item-caption{display:none!important}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-title-item,
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-button-item{padding:0!important;text-align:left!important}
.home .gdlr-core-page-builder-body > :nth-child(2) h3{font-size:34px!important;font-weight:800!important;margin:0!important;color:var(--phai-ink)!important}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-button{padding:17px 32px!important;font-size:16px!important}

/* shared section rhythm + container alignment (text edge = 80px @1440) */
.home .gdlr-core-page-builder-body > :nth-child(3){max-width:1320px!important;margin:var(--sec) auto 0!important;padding:0 20px!important;box-sizing:border-box}
.home .gdlr-core-page-builder-body > :nth-child(3) > .gdlr-core-pbf-wrapper-content > .gdlr-core-pbf-wrapper-container{
  display:flex;border-radius:var(--phai-radius);overflow:hidden;max-width:none!important}
.home .gdlr-core-page-builder-body > :nth-child(3) > .gdlr-core-pbf-wrapper-content > .gdlr-core-pbf-wrapper-container::before,
.home .gdlr-core-page-builder-body > :nth-child(3) > .gdlr-core-pbf-wrapper-content > .gdlr-core-pbf-wrapper-container::after{display:none}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-pbf-column{float:none;width:50%}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-pbf-column-content-margin{height:100%;min-height:460px!important;box-sizing:border-box}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-background{display:none}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-background-wrap{background:var(--phai-deep)!important}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-column-content-margin{
  padding:64px 64px!important;display:flex;flex-direction:column;justify-content:center}
.home .gdlr-core-page-builder-body > :nth-child(3) h3{font-size:36px!important;font-weight:800!important;text-transform:none!important;letter-spacing:-.01em!important;margin-bottom:6px!important}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-text-box-item-content{color:#dcebd5!important;font-size:18px!important;line-height:1.75}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-item-pdlr{padding-left:0;padding-right:0}

/* 4: mission -> numbered cards */
.home .gdlr-core-page-builder-body > :nth-child(4){padding-top:var(--sec)!important}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-section-container{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1320px;padding:0 20px;box-sizing:border-box;counter-reset:phai-m}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-section-container::before,
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-section-container::after{display:none}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-section-container > .gdlr-core-pbf-element{grid-column:1/-1}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-column{float:none;width:auto;
  background:var(--phai-tint);border-radius:var(--phai-radius);counter-increment:phai-m}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-item{padding:36px 36px 34px!important}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-item::before{
  content:counter(phai-m,decimal-leading-zero);display:block;font:800 44px/1 Poppins,sans-serif;color:#3d8c12;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin-bottom:18px}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-media{display:none!important}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-content-wrapper{margin:0!important;overflow:visible}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-title{font-size:21px!important;font-weight:700!important;color:var(--phai-ink)!important;margin-bottom:10px}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-content{font-size:16px;line-height:1.7;color:var(--phai-text)}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-content p{margin:0}

/* section headings (OUR MISSION / OUR PROJECTS): bold uppercase, kept */
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-title-item,
.home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-title-item{padding-bottom:16px!important}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-title-item h3,
.home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-title-item h3{font-size:40px!important;font-weight:800!important;color:var(--phai-ink)!important}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-title-item h3::before,
.home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-title-item h3::before{content:"";display:block;width:44px;height:4px;border-radius:2px;background:var(--phai-green);margin-bottom:18px}

/* 5: about -> restored photo + text, soft tint band */
.home .gdlr-core-page-builder-body > :nth-child(5){margin-top:0;padding:var(--sec) 0!important}
.home .gdlr-core-page-builder-body > :nth-child(5) > .gdlr-core-pbf-background-wrap{background:transparent!important}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-pbf-wrapper-container{display:flex;align-items:stretch;max-width:1320px;padding:0 20px;box-sizing:border-box;gap:56px}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-pbf-wrapper-container::before,
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-pbf-wrapper-container::after{display:none}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-pbf-column{float:none;width:auto;flex:1 1 0}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-first .gdlr-core-pbf-column-content-margin{
  height:100%;min-height:440px;padding:24px!important;box-sizing:border-box;border-radius:var(--phai-radius);overflow:hidden;position:relative;display:flex;align-items:flex-start}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-first .gdlr-core-pbf-background{
  background-image:url(/assets/media/design/phai-steps-restored.webp)!important;background-position:center 40%!important;
  transform:none!important;top:0!important;height:100%!important}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-first .gdlr-core-pbf-column-content{position:relative;width:100%}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-first .gdlr-core-image-item-wrap{margin:0!important;display:block}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-image-item{padding:0!important;text-align:left!important}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-image-item-wrap{background:#fff;border-radius:14px;padding:10px 14px;width:112px}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-column-content-margin{
  padding:0!important;height:100%;display:flex;flex-direction:column;justify-content:center}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-item-pdlr{padding-left:0;padding-right:0}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-title-item-caption{display:none}
.home .gdlr-core-page-builder-body > :nth-child(5) h3{font-size:34px!important;font-weight:800!important;line-height:1.2!important;color:var(--phai-ink)!important}
.home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-text-box-item-content{font-size:18px!important;font-weight:400!important;line-height:1.75!important;color:var(--phai-text)!important}

/* 6-7: projects -> light cards */
.home .gdlr-core-page-builder-body > :nth-child(6){padding-top:var(--sec);background:var(--phai-tint)}
.home .gdlr-core-page-builder-body > :nth-child(7){background:var(--phai-tint)}
.home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-pbf-section-container{max-width:1320px;padding:0 20px;box-sizing:border-box}
.home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-pbf-column-content-margin{margin:0!important}
.home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-item-pdlr{padding-left:0;padding-right:0}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-title-item{padding-left:0;padding-right:0}
.home .gdlr-core-page-builder-body > :nth-child(7){padding:0 0 var(--sec)!important}
.home .gdlr-core-page-builder-body > :nth-child(7) > .gdlr-core-pbf-background-wrap{background:transparent!important}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-wrapper-container{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1320px;padding:0 20px;box-sizing:border-box}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-wrapper-container::before,
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-wrapper-container::after{display:none}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-column{float:none;width:auto;background:#fff;border-radius:var(--phai-radius)}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-item{padding:36px!important}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-media{
  margin:0 0 22px!important;width:64px;height:64px;border-radius:16px;background:var(--phai-deep);display:flex;align-items:center;justify-content:center}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-media img{width:34px!important;height:auto}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-title{color:var(--phai-ink)!important;font-size:22px!important;margin-bottom:12px}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-content{color:var(--phai-text)!important;line-height:1.7}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-read-more{
  display:inline-flex!important;align-items:center;gap:8px;margin-top:6px!important;font:600 15px/1 Poppins,sans-serif!important;color:var(--phai-green-ink)!important;letter-spacing:0}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-read-more{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .2s}
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-read-more:hover{text-decoration-color:currentColor}

#phai-projects{scroll-margin-top:110px}
.phai-hero h1,.home .gdlr-core-title-item h3,.elementor-6308 h2{text-wrap:balance}

/* 8-10: empty sections (no events listed, partners heading with no logos) */
.home .gdlr-core-pbf-wrapper:has(.gdlr-core-event-item .gdlr-core-course-not-found):not(:has(.gdlr-core-event-item-list)),
.home .gdlr-core-page-builder-body > .gdlr-core-pbf-wrapper:has(.gdlr-core-pbf-wrapper-full-no-space > .gdlr-core-pbf-element:only-child .gdlr-core-title-item):has(+ .gdlr-core-pbf-wrapper .gdlr-core-container-custom:empty),
.home .gdlr-core-page-builder-body > .gdlr-core-pbf-wrapper:has(> .gdlr-core-pbf-wrapper-content > .gdlr-core-container-custom:empty),
.phai-empty{display:none!important}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
/* page title band: keep photo, cleaner type */
.kingster-page-title-wrap .kingster-page-title{font-weight:800!important;letter-spacing:-.01em}

/* chapters (Elementor page 6308): Poppins, real hierarchy, image per chapter */
.elementor-6308{font-family:Poppins,sans-serif}
.elementor-6308 .elementor-element > .elementor-widget-container{margin:0!important;padding:0!important}
.elementor-6308 .elementor-column > .elementor-widget-wrap{padding:0!important}
.elementor-6308 .elementor-section > .elementor-container{max-width:none!important}
.elementor-6308 .elementor-top-section{margin:0!important;padding:0!important}
.elementor-6308 .elementor-element-b1d2e1b > .elementor-widget-wrap{padding:0!important}
.elementor-6308 .elementor-element-b7b42e7{display:none}
.elementor-6308 h2.elementor-heading-title{font-family:Poppins,sans-serif!important;color:var(--phai-ink)!important;line-height:1.25!important}
.elementor-6308 .elementor-element-aecb49e h2,
.elementor-6308 .elementor-element-00bc597 h2{font-size:40px!important;font-weight:800!important;text-transform:uppercase}
.elementor-6308 .elementor-element-aecb49e h2::before,
.elementor-6308 .elementor-element-00bc597 h2::before{content:"";display:block;width:44px;height:4px;border-radius:2px;background:var(--phai-green);margin-bottom:18px}
.elementor-6308 .elementor-element-aecb49e,.elementor-6308 .elementor-element-00bc597{margin:0 0 24px!important}
.elementor-6308 .elementor-element-00bc597{margin-top:72px!important}
.elementor-6308 .elementor-widget-text-editor{width:100%!important;max-width:760px!important;font-family:Poppins,sans-serif!important;font-size:17px!important;line-height:1.75!important;color:var(--phai-text)!important}
.elementor-6308 .elementor-widget-text-editor{letter-spacing:0!important;word-spacing:0!important;font-weight:400!important}
.elementor-6308 .elementor-widget-text-editor p{font:inherit!important;color:inherit!important;margin:0 0 14px}
.elementor-6308 .elementor-element-36fb1b7{font-size:20px!important;max-width:880px!important}
.elementor-6308 .elementor-invisible{visibility:visible!important;opacity:1!important;animation:none!important}
.phai-ch{width:100%;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:48px;align-items:start;padding:44px 0}
.phai-ch + .phai-ch{padding-top:52px}
.phai-ch__text .elementor-heading-title{font-size:24px!important;font-weight:700!important;margin:0 0 14px!important}
.phai-ch__text .elementor-element{margin-bottom:0!important}
.phai-ch__text .elementor-element + .elementor-widget-heading{margin-top:18px!important}
.phai-ch__text .elementor-element + .elementor-widget-heading .elementor-heading-title{font-size:18px!important;font-weight:600!important;color:var(--phai-green-ink)!important}
.phai-ch__media{display:grid;gap:16px}
.phai-ch__media .elementor-widget-image{position:static!important;width:auto!important;max-width:none!important;inset:auto!important;transform:none!important;margin:0!important}
.phai-ch__media img{display:block;width:100%!important;height:auto!important;max-height:none!important;border-radius:14px}
.phai-ch--media2 .phai-ch__media{grid-template-columns:1fr 1fr;align-items:start}
.phai-ch--full{grid-template-columns:1fr}
.phai-ch--full .elementor-widget-text-editor{max-width:880px!important}
.elementor-6308 .elementor-widget-gallery img,.elementor-6308 .e-gallery-image{border-radius:14px}
.elementor-6308 .elementor-widget-gallery{margin-top:8px}

/* course template (/course/*): cleaner info box + spacing */
.single-course .gdlr-core-course-info-item-inner{border-radius:16px}
.single-course .kingster-course-title, .single-course .kingster-page-title{margin-bottom:24px}
.single-course .gdlr-core-image-item-wrap,.single-course .gdlr-core-image-item-wrap img{border-radius:16px;overflow:hidden}
.single-course table{border-radius:12px;overflow:hidden}
.single-course .gdlr-core-accordion-item-title{border-radius:12px}

/* campus/course archive: search sidebar was white text on light grey + black inputs */
.gdlr-core-course-search-item .gdlr-core-course-search-item-title,
.kingster-sidebar-area .gdlr-core-course-search-item-title{color:var(--phai-ink)!important}
.gdlr-core-course-form input[type="text"],.gdlr-core-course-form select,.gdlr-core-course-form .gdlr-core-course-form-combobox{
  background:#fff!important;color:var(--phai-ink)!important;border:1px solid #d9dfd5!important;border-radius:10px}
.gdlr-core-course-form .gdlr-core-course-form-combobox:after{color:var(--phai-text)!important}
.gdlr-core-course-form input::placeholder{color:#6d746a!important}
.gdlr-core-course-form input[type="submit"]{border-radius:999px!important}

/* blog cards */
.gdlr-core-blog-thumbnail,.gdlr-core-blog-thumbnail a,.gdlr-core-blog-thumbnail img{border-radius:16px;overflow:hidden}
.gdlr-core-blog-grid .gdlr-core-blog-title a{color:var(--phai-ink)!important;transition:color .2s}
.gdlr-core-blog-grid .gdlr-core-blog-title a:hover{color:var(--phai-green-ink)!important}
/* campus/course archive cards */
.gdlr-core-course-style-list-info .gdlr-core-course-item-list,
.gdlr-core-course-archive-page-sidebar,.gdlr-core-course-archive-page-sidebar > *{border-radius:16px}
.gdlr-core-course-item-id{color:var(--phai-green-ink)!important}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:999px){
  .home .gdlr-core-page-builder-body{--sec:72px}
  .home .gdlr-core-page-builder-body > :nth-child(3) > .gdlr-core-pbf-wrapper-content > .gdlr-core-pbf-wrapper-container{flex-direction:column}
  .home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-pbf-column{width:100%}
  .home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-first .gdlr-core-pbf-column-content-margin{min-height:300px!important}
  .home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-column-content-margin{min-height:0!important;padding:44px 32px!important}
  .home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-pbf-wrapper-container{flex-direction:column;gap:32px}
  .home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-first .gdlr-core-pbf-column-content-margin{min-height:300px}
  .phai-ch{grid-template-columns:1fr;gap:24px}
}
@media (max-width:767px){
  .home .gdlr-core-page-builder-body{--sec:56px}
  /* phone hero: photo on top, copy on a deep-green panel (no text over faces) */
  .home .gdlr-core-page-builder-body > :nth-child(1){min-height:0;background:var(--phai-deep)}
  .home .gdlr-core-page-builder-body > :nth-child(1) > .gdlr-core-pbf-background-wrap{bottom:auto!important;height:300px!important;background-position:center 30%!important}
  .home .gdlr-core-page-builder-body > :nth-child(1) > .gdlr-core-pbf-background-wrap::after{
    background:linear-gradient(0deg,#0b3d1c 0%,rgba(11,61,28,0) 30%)}
  .phai-hero{position:relative;inset:auto;padding-top:282px}
  .phai-hero__inner{padding:0 24px 44px}
  .phai-hero__eyebrow{font-size:14px;margin-bottom:10px}
  .phai-hero h1{font-size:46px;margin-bottom:14px}
  .phai-hero__lead{font-size:16px;margin-bottom:24px}
  .phai-btn{height:50px;padding:0 24px;font-size:15px}
  .home .gdlr-core-page-builder-body > :nth-child(2){padding-top:32px}
  .home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-section-container{padding:0 24px}
  .home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content-margin{padding:28px 24px!important}
  .home .gdlr-core-page-builder-body > :nth-child(2) h3{font-size:26px!important}
  .home .gdlr-core-page-builder-body > :nth-child(3) > .gdlr-core-pbf-wrapper-content > .gdlr-core-pbf-wrapper-container{width:auto!important;margin:0 24px!important;padding:0!important}
  .home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-section-container,
  .home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-pbf-wrapper-container,
  .home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-pbf-section-container,
  .home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-wrapper-container{padding-left:24px!important;padding-right:24px!important}
  .home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-section-container,
  .home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-wrapper-container{grid-template-columns:1fr;gap:16px}
  .home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-item,
  .home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-column-service-item{padding:28px 24px!important}
  .home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-item::before{font-size:36px;margin-bottom:12px}
  .home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-title-item h3,
  .home .gdlr-core-page-builder-body > :nth-child(6) .gdlr-core-title-item h3{font-size:30px!important}
  .home .gdlr-core-page-builder-body > :nth-child(3) h3,
  .home .gdlr-core-page-builder-body > :nth-child(5) h3{font-size:26px!important}
  .home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-text-box-item-content,
  .home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-text-box-item-content{font-size:16px!important}
  .home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-column-content-margin{padding:36px 24px!important}
  .home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-column-first .gdlr-core-pbf-column-content-margin{min-height:240px;padding:16px!important}
  .home .gdlr-core-page-builder-body > :nth-child(5) .gdlr-core-image-item-wrap{width:84px;padding:8px 10px}
  .elementor-6308 .elementor-element-aecb49e h2,.elementor-6308 .elementor-element-00bc597 h2{font-size:30px!important}
  .elementor-6308 .elementor-element-36fb1b7{font-size:17px!important}
  .phai-ch{padding:28px 0}
  .phai-ch__text .elementor-heading-title{font-size:20px!important}
  .kingster-copyright-wrapper{padding-bottom:16px}
  #kingster-footer-back-to-top-button{right:16px;bottom:16px}
  body.kingster-body{padding-bottom:0!important}
}
@media (prefers-reduced-motion:reduce){
  .phai-btn,.home .gdlr-core-pbf-column{transition:none!important}
}

/* ==========================================================================
   POLISH ROUND (2026-11-22): reviewer findings
   ========================================================================== */
/* hero: scrim holds through the end of the copy column, then fades; ghost button clearly outlined */
.home .gdlr-core-page-builder-body > :nth-child(1) > .gdlr-core-pbf-background-wrap::after{
  background:linear-gradient(90deg,rgba(6,28,12,.86) 0%,rgba(6,28,12,.74) 36%,rgba(6,28,12,.42) 52%,rgba(6,28,12,0) 72%),
             linear-gradient(0deg,rgba(6,28,12,.6) 0%,rgba(6,28,12,0) 45%)}
.phai-btn--ghost{border:2px solid #fff;background:rgba(6,28,12,.28);color:#fff!important}

/* join strip: slim, secondary recruitment bar (the hero carries the primary CTA) */
.home .gdlr-core-page-builder-body > :nth-child(2){padding:40px 0 0}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content-margin{padding:16px 16px 16px 32px!important;border-radius:999px}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content{flex-wrap:nowrap}
.home .gdlr-core-page-builder-body > :nth-child(2) h3{font-size:20px!important;line-height:1.2!important}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-title-item-title-wrap{margin:0!important}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-button-item{flex:none}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-button{
  padding:0 24px!important;height:44px;display:inline-flex!important;align-items:center;font-size:15px!important;
  background:transparent!important;color:var(--phai-green-ink)!important;box-shadow:inset 0 0 0 2px var(--phai-green-ink)}
.home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-button:hover{background:var(--phai-green-ink)!important;color:#fff!important}

/* vision: no trailing theme padding (text sits truly centred), same rhythm as cards */
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-column-content-margin{padding:56px!important}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-column-30:not(.gdlr-core-column-first) .gdlr-core-pbf-element:last-child > .gdlr-core-item-pdb{padding-bottom:0!important}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-text-box-item-content p:last-child{margin-bottom:0!important}
.home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-title-item{padding-bottom:14px!important}

/* mission: darker body copy, cards fill their grid row */
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-content{color:#2f352d!important}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-column,
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-column{display:flex;flex-direction:column}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-pbf-column > *,
.home .gdlr-core-page-builder-body > :nth-child(7) .gdlr-core-pbf-column > *{flex:1 1 auto}
.home .gdlr-core-page-builder-body > :nth-child(4) .gdlr-core-column-service-item{height:100%;box-sizing:border-box}

/* headings never leave a lone word; paragraphs avoid orphans */
h1,h2,h3,h4,.kingster-page-title{text-wrap:balance}
p,.gdlr-core-text-box-item-content,.gdlr-core-column-service-content{text-wrap:pretty}

/* phone header: 44px tap targets for search + menu */
.kingster-mobile-menu-right{display:flex;align-items:center;gap:4px;right:18px;margin-top:-22px}
.kingster-mobile-menu-right .kingster-main-menu-search,
.kingster-mobile-menu-right .kingster-mobile-menu{float:none;margin:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.kingster-mobile-menu-right .kingster-main-menu-search i{margin:0}
.kingster-mobile-button-hamburger{width:44px!important;height:44px!important}
.kingster-mobile-button-hamburger span,.kingster-mobile-button-hamburger:before,.kingster-mobile-button-hamburger:after{left:11px!important}
.kingster-mobile-button-hamburger:before{top:14px!important}
.kingster-mobile-button-hamburger span{top:21px!important}
.kingster-mobile-button-hamburger:after{top:28px!important}

@media (max-width:767px){
  /* phone hero: white primary reads clearly on the deep-green panel */
  .phai-btn--primary{background:#fff;color:var(--phai-deep)!important}
  .phai-btn--primary:hover{background:#e6f2dc}
  .phai-btn--ghost{background:transparent}
  .home .gdlr-core-page-builder-body > :nth-child(2){padding-top:24px}
  .home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content-margin{padding:10px 10px 10px 20px!important}
  .home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-pbf-column-content{gap:12px}
  .home .gdlr-core-page-builder-body > :nth-child(2) h3{font-size:17px!important}
  .home .gdlr-core-page-builder-body > :nth-child(2) .gdlr-core-button{padding:0 18px!important;font-size:14px!important}
  .home .gdlr-core-page-builder-body > :nth-child(3) .gdlr-core-pbf-column.gdlr-core-column-30:not(.gdlr-core-column-first) > .gdlr-core-pbf-column-content-margin,
  .home #gdlr-core-column-57294 > .gdlr-core-pbf-column-content-margin{padding:28px 24px!important;min-height:0!important}
  /* keep the phone hero photo clear: only the bottom blend into the copy panel */
  .home .gdlr-core-page-builder-body > :nth-child(1) > .gdlr-core-pbf-background-wrap::after{
    background:linear-gradient(0deg,#0b3d1c 0%,rgba(11,61,28,0) 30%)}
}

/* Round 2: Employment Fair follows the homepage's PhAI type, green and card system. */
.phai-map-directions{display:inline-flex;margin:16px 0;padding:14px 24px;background:var(--phai-green-ink);color:#fff!important;border-radius:999px}
.phai-fair-page .kingster-page-title-wrap{display:none}
.elementor-6296{background:var(--phai-tint);padding-bottom:64px}
.phai-fair-hero{background:var(--phai-deep);color:#fff;padding:88px max(24px,calc((100vw - 1280px)/2));margin-bottom:48px}
.phai-fair-hero>div{max-width:850px}
.phai-fair-hero h1{font:700 clamp(40px,5vw,68px)/1.12 Poppins,sans-serif;color:#fff;margin:12px 0 24px;letter-spacing:-1.5px}
.phai-fair-hero p{font:400 20px/1.7 Poppins,sans-serif;color:#e1eddc;max-width:680px}
.phai-fair-hero .phai-fair-eyebrow{font-size:14px;letter-spacing:2px;text-transform:uppercase;color:#b5df95}
.phai-fair-hero .phai-btn{display:inline-flex;background:#fff;color:var(--phai-deep)!important;padding:15px 26px;border-radius:999px;margin-top:16px;font-weight:600}
.phai-fair-card{max-width:1280px;width:calc(100% - 48px);margin:0 auto 28px;padding:44px;background:white;border:1px solid var(--phai-line);border-radius:18px;display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;align-items:start;box-sizing:border-box;scroll-margin-top:32px}
.phai-fair-card>.elementor-widget{position:static!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;min-width:0;--e-transform-translateX:0;--e-transform-translateY:0}
.phai-fair-card>.elementor-widget-heading,.phai-fair-card>.elementor-widget-text-editor{grid-column:1/-1}
.phai-fair-card .elementor-widget-container{margin:0!important;padding:0!important;background:none!important;border:0!important}
.phai-fair-card .elementor-heading-title{font:600 30px/1.3 Poppins,sans-serif!important;color:var(--phai-deep)!important}
.phai-fair-card .elementor-widget-text-editor{font:400 16px/1.85 Poppins,sans-serif!important;color:var(--phai-text)!important}
.phai-fair-card p:last-child{margin-bottom:0}
.phai-fair-card img{max-width:100%;height:auto;border-radius:12px}
.phai-fair-card .elementor-button{background:var(--phai-green-ink)!important;border-radius:999px!important;padding:16px 24px!important;color:#fff!important;font:600 15px/1.4 Poppins,sans-serif!important}
.phai-fair-card .elementor-widget-media-carousel,.phai-fair-card .elementor-widget-eael-filterable-gallery{grid-column:1/-1;overflow:hidden}
@media(max-width:767px){
 .phai-fair-hero{padding:48px 24px;margin-bottom:24px}
 .phai-fair-hero h1{letter-spacing:-.8px}
 .phai-fair-hero p{font-size:17px}
 .phai-fair-card{grid-template-columns:1fr;width:calc(100% - 32px);padding:24px;gap:22px;margin-bottom:20px}
 .phai-fair-card .elementor-heading-title{font-size:25px!important}
 .phai-fair-card .elementor-widget-text-editor{font-size:15px!important}
}
.phai-fair-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.phai-fair-gallery img{width:100%;aspect-ratio:3/2;object-fit:cover}
@media(max-width:767px){.phai-fair-gallery{grid-template-columns:1fr;gap:16px}}
.phai-event-archive{max-width:1280px;margin:56px auto;padding:0 24px}
.phai-event-archive h2{font-size:32px;color:var(--phai-deep);margin-bottom:28px}
.phai-event-archive article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:40px;padding:32px;background:var(--phai-tint);border:1px solid var(--phai-line);border-radius:18px;align-items:center}
.phai-event-archive img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:12px}
.phai-event-archive h3{font-size:28px;line-height:1.4}
.phai-event-archive h3 a{color:var(--phai-deep)}
.phai-event-date{color:var(--phai-green-ink);font-weight:600}
@media(max-width:767px){.phai-event-archive{margin:32px auto;padding:0 16px}.phai-event-archive article{grid-template-columns:1fr;padding:24px;gap:24px}.phai-event-archive h3{font-size:24px}}
/* The mobile drawer uses the desktop destinations, with one full-width row per link. */
#kingster-mobile-menu ul.sf-menu{display:block!important;float:none!important}
#kingster-mobile-menu ul.sf-menu>li{display:block!important;float:none!important;width:100%!important}
#kingster-mobile-menu ul.sf-menu>li>a{display:block!important;width:100%!important;box-sizing:border-box}
/* Normalize inline legacy type inside text widgets, including the history introduction. */
.phai-fair-card .elementor-widget-text-editor :is(p,span,div){font-size:inherit!important;font-family:inherit!important;line-height:inherit!important;color:inherit!important}
.phai-fair-card>.phai-static-gallery{grid-column:1/-1}

/* Round 3: balance fair introduction with its own event photography. */
.phai-fair-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;padding-top:64px;padding-bottom:64px}
.phai-fair-hero>div{min-width:0}
.phai-fair-hero h1{font-size:clamp(40px,4.4vw,64px);text-wrap:balance}
.phai-fair-hero__photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.phai-fair-hero__ctas{display:flex;flex-wrap:wrap;gap:12px}
.phai-fair-hero .phai-btn{margin-top:0;font-size:15px;line-height:1.5}
.phai-fair-hero .phai-fair-hero__secondary{background:transparent;color:#fff!important;box-shadow:inset 0 0 0 2px #fff}
.phai-fair-hero .phai-btn:hover{background:#e1eddc;color:var(--phai-deep)!important}
.phai-fair-hero .phai-btn:focus-visible{outline:3px solid #b5df95;outline-offset:5px}
#phai-fair-vision,#phai-fair-students{scroll-margin-top:120px}
@media(max-width:900px){.phai-fair-hero{gap:32px;grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.phai-fair-hero__photo{max-width:768px}.phai-fair-hero .phai-btn{padding:15px 20px}}
@media(max-width:767px){.phai-fair-hero{gap:28px}.phai-fair-hero__ctas{gap:10px}.phai-fair-hero .phai-btn{padding:14px 18px;font-size:14px}}

/* ROUND4 — Shared PhAI design system. Preserve the homepage's Poppins brand family.
   Display/body roles intentionally share a family; hierarchy comes from scale/weight. */
:root{
 --phai-display:Poppins,sans-serif;--phai-body:Poppins,sans-serif;
 --phai-h1:56px;--phai-h2:32px;--phai-h3:24px;--phai-body-size:16px;--phai-small:14px;
 --phai-content:1280px;--phai-gutter:24px;--phai-section:64px;--phai-card-space:32px;
 --phai-deep:#0b3d1c;--phai-text:#303b30;--phai-link:#2a660c;--phai-line:#e2e9dc;--phai-radius:18px;
}
body.kingster-body{font-family:var(--phai-body)!important;font-size:var(--phai-body-size)!important;line-height:1.75!important;color:var(--phai-text)!important}
body.kingster-body :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title){font-family:var(--phai-display)!important;letter-spacing:-.02em!important;text-transform:none!important}
body.kingster-body h1{font-size:var(--phai-h1)!important;font-weight:700!important;line-height:1.15!important}
body.kingster-body h2{font-size:var(--phai-h2)!important;font-weight:600!important;line-height:1.3!important}
body.kingster-body h3{font-size:var(--phai-h3)!important;font-weight:600!important;line-height:1.35!important}
body.kingster-body :is(.elementor-widget-text-editor,.gdlr-core-text-box-item-content,.gdlr-core-column-service-content){font-family:var(--phai-body)!important;font-size:var(--phai-body-size)!important;line-height:1.75!important;font-weight:400!important;letter-spacing:0!important;word-spacing:0!important}
body.kingster-body .elementor-widget-text-editor :is(p,span,div){font:inherit!important;color:inherit!important}
body.kingster-body :is(.elementor-widget-text-editor,.gdlr-core-text-box-item-content) p{margin:0 0 20px!important}
body.kingster-body :is(.kingster-container,.gdlr-core-container,.gdlr-core-pbf-section-container){max-width:var(--phai-content)!important;width:calc(100% - var(--phai-gutter)*2)!important;margin-inline:auto!important;box-sizing:border-box;padding-inline:0!important}
body.kingster-body .phai-hero__inner{max-width:var(--phai-content)!important;width:calc(100% - var(--phai-gutter)*2)!important;padding-inline:0!important}
.phai-system-hero{display:block!important;background:var(--phai-deep)!important;background-image:none!important;color:#fff!important;padding:var(--phai-section) 0!important;margin:0!important;min-height:0!important;text-align:start!important}
.phai-system-hero .kingster-page-title-overlay{display:none!important}
.phai-system-hero .kingster-page-title-content{padding:0!important;text-align:start!important}
.phai-system-hero .kingster-page-title{color:#fff!important;margin:12px 0 0!important;max-width:1100px;font-size:var(--phai-h1)!important;font-weight:700!important;line-height:1.15!important}
.phai-system-hero :is(.kingster-page-caption,.phai-system-eyebrow){font:500 var(--phai-small)/1.5 var(--phai-body)!important;color:#cdeeb0!important;letter-spacing:0!important;margin:0!important;text-transform:none!important}
.phai-system-hero .phai-system-subtitle{font:400 var(--phai-body-size)/1.75 var(--phai-body)!important;color:#e1eddc!important;margin:20px 0 0!important;max-width:720px}
.phai-system-container{max-width:var(--phai-content)!important;width:calc(100% - var(--phai-gutter)*2)!important;margin-inline:auto!important;box-sizing:border-box}
body:not(.home) .kingster-content-area{padding-top:var(--phai-section)!important;padding-bottom:var(--phai-section)!important}
body:not(.home) .gdlr-core-page-builder-body>.gdlr-core-pbf-wrapper{padding-top:var(--phai-section)!important;padding-bottom:var(--phai-section)!important}
.phai-system-section{padding-block:var(--phai-section)!important}
.phai-system-project{padding-block:var(--phai-section)!important;background:var(--phai-tint)}
.phai-system-card,.phai-fair-card{background:white;border:1px solid var(--phai-line);border-radius:var(--phai-radius);padding:var(--phai-card-space)!important;box-sizing:border-box;margin-bottom:32px!important}
.phai-system-card:last-child{margin-bottom:0!important}
.phai-system-card{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.phai-system-card>.elementor-widget{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;--e-transform-translateX:0;--e-transform-translateY:0}
.phai-system-card .elementor-widget-container{margin:0!important;padding:0!important;background:none!important;border:0!important}
.phai-system-card :is(h2,h3){margin:0!important;color:var(--phai-deep)!important;text-align:start!important}
.phai-system-card .elementor-widget-text-editor{max-width:800px!important;color:var(--phai-text)!important;text-align:start!important}
.phai-system-card img{border-radius:12px;max-width:100%;height:auto}
.phai-system-card :is(.elementor-widget-gallery,.elementor-widget-media-carousel){min-width:0;overflow:hidden}
.phai-system-project .elementor-invisible{visibility:visible!important;opacity:1!important;animation:none!important}
.phai-fair-page .elementor-6296{padding-bottom:var(--phai-section)!important}
.phai-fair-page .phai-fair-card{width:calc(100% - var(--phai-gutter)*2)!important;max-width:var(--phai-content)!important;margin-top:32px!important}
.phai-fair-card .phai-fair-hero__photo{grid-column:1/-1;max-height:420px;object-fit:cover}
.phai-system-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
body.kingster-body :is(.phai-btn,.gdlr-core-button,.elementor-button,.kingster-button,input[type=submit]){font:600 15px/1.4 var(--phai-body)!important;min-height:48px;height:auto!important;padding:14px 24px!important;border-radius:999px!important;background:var(--phai-link)!important;color:#fff!important;text-decoration:none!important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;letter-spacing:0!important}
body.kingster-body :is(.phai-btn--ghost,.phai-fair-hero__secondary,.gdlr-core-button-transparent){background:transparent!important;color:var(--phai-link)!important;border:1px solid currentColor!important;box-shadow:none!important}
body.kingster-body .phai-system-hero .phai-btn{background:#fff!important;color:var(--phai-deep)!important}
body.kingster-body .phai-system-hero .phai-fair-hero__secondary{background:transparent!important;color:#fff!important}
body.kingster-body :is(.phai-btn,.gdlr-core-button,.elementor-button):hover{filter:brightness(.92)}
.kingster-content-area a:not([class]),.elementor-widget-text-editor a{color:var(--phai-link);text-decoration:underline;text-underline-offset:3px}
.phai-map-directions{position:relative;z-index:2;max-width:100%;white-space:normal}
.phai-skip{position:fixed;top:-100px;left:24px;z-index:100000;background:#fff;padding:12px 24px;color:var(--phai-deep)}
.phai-skip:focus{top:12px}
body.kingster-body :is(.gdlr-core-blog-grid,.gdlr-core-course-item-list,.gdlr-core-portfolio-grid){border-radius:var(--phai-radius)}
body.kingster-body .kingster-page-title-event-time{color:#e1eddc!important;font-size:var(--phai-small)!important;margin-top:20px}
body.kingster-body .kingster-page-title-event-link a{color:#cdeeb0!important}
@media(max-width:767px){
 :root{--phai-h1:36px;--phai-h2:28px;--phai-h3:22px;--phai-gutter:24px;--phai-section:40px;--phai-card-space:24px}
 .phai-system-hero .kingster-page-title{overflow-wrap:anywhere}
 .phai-system-card,.phai-fair-card{margin-bottom:24px!important}
 body.kingster-body .phai-hero h1{font-size:var(--phai-h1)!important}
 .phai-fair-card .elementor-heading-title{font-size:var(--phai-h2)!important}
 .phai-system-actions .phai-btn{flex:1 1 auto}
 body.kingster-body .kingster-item-pdlr,body.kingster-body .gdlr-core-item-pdlr{padding-inline:0!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Error page recovery content follows the common green band. */
.kingster-not-found-wrap.phai-system-hero{background-image:none!important;text-align:start!important}
.kingster-not-found-wrap.phai-system-hero .kingster-not-found-background{display:none!important}
.kingster-not-found-wrap.phai-system-hero .kingster-not-found-content{padding:0!important}
.kingster-not-found-wrap.phai-system-hero .kingster-not-found-head{margin-top:0!important}
.kingster-not-found-wrap.phai-system-hero .kingster-not-found-title{margin:20px 0!important;color:#fff!important}
/* Align outer content frames with the title/header grid; cards keep their own inset. */
body:not(.home) .kingster-content-area.kingster-item-pdlr{padding-inline:0!important}
.phai-system-project>.phai-system-container{width:100%!important}
body:not(.home) .kingster-content-area:has(>.phai-system-project){padding-block:0!important}
.phai-system-project .phai-system-card:has(> .elementor-widget-heading:only-child){padding:0!important;border:0;background:transparent;margin-top:48px!important}
/* Archive results occupy the grid after removing the backend-only search rail. */
.gdlr-core-course-archive-page-sidebar:empty{display:none!important}
.gdlr-core-course-archive-page-content-wrap{width:100%!important;float:none!important}
.gdlr-core-course-archive-page-content{padding-left:0!important;padding-right:0!important}
body.kingster-body :is(.gdlr-core-course-archive-page,.gdlr-core-portfolio-single-content-wrap,.kingster-single-article){padding-top:var(--phai-section)!important;padding-bottom:var(--phai-section)!important}
body.kingster-body .kingster-logo{padding-left:0!important}
.phai-event-archive{max-width:var(--phai-content)!important;width:calc(100% - var(--phai-gutter)*2)!important;margin:0 auto!important;padding:var(--phai-section) 0!important;box-sizing:border-box}
.phai-event-archive h2{font-size:var(--phai-h2)!important}
body.kingster-body .gdlr-core-portfolio-title{font-size:var(--phai-h3)!important;letter-spacing:-.02em!important;line-height:1.35!important}
/* Resolve the older per-widget heading rules against the shared scale. */
body.kingster-body .phai-system-card h2.elementor-heading-title,
body.kingster-body .phai-fair-card h2.elementor-heading-title{font-size:var(--phai-h2)!important;font-weight:600!important;line-height:1.3!important;color:var(--phai-deep)!important;letter-spacing:-.02em!important;text-transform:none!important}
body.kingster-body .phai-system-card h2.elementor-heading-title::before{display:none!important}
body.kingster-body .phai-system-card .elementor-widget-heading{margin:0!important}
.phai-system-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.phai-system-gallery a{display:block;min-width:0}
.phai-system-gallery img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:var(--phai-tint)}
@media(max-width:767px){.phai-system-gallery{grid-template-columns:1fr;gap:16px}}
.kingster-not-found-container>.phai-system-container{width:100%!important}
body.kingster-body.home .gdlr-core-page-builder-body{--sec:var(--phai-section)}
body.kingster-body.home .gdlr-core-page-builder-body h2.gdlr-core-title-item-title{font-size:var(--phai-h2)!important;font-weight:600!important;line-height:1.3!important}
body.kingster-body.home .gdlr-core-page-builder-body .gdlr-core-column-service-title,
body.kingster-body.home .gdlr-core-page-builder-body>:nth-child(2) h3{font-size:var(--phai-h3)!important;font-weight:600!important;line-height:1.35!important}
/* A common minimum band height; long titles may grow rather than clip. */
.phai-system-hero{display:flex!important;flex-direction:column;justify-content:center;min-height:300px!important;box-sizing:border-box}
.phai-fair-card>.phai-system-actions{grid-column:1/-1;margin:0}
@media(max-width:767px){.phai-system-hero{min-height:260px!important}}
/* Archive cards share the project-card surface, border and inset. */
body.kingster-body :is(.gdlr-core-course-item-list,.gdlr-core-blog-grid,.gdlr-core-portfolio-grid,.phai-event-archive article){background:#fff!important;border:1px solid var(--phai-line)!important;border-radius:var(--phai-radius)!important;padding:var(--phai-card-space)!important;box-sizing:border-box;box-shadow:none!important}
/* Schools is a full-width Elementor root, unlike the other nested project roots. */
.elementor-6310.phai-system-project>.phai-system-container{width:calc(100% - var(--phai-gutter)*2)!important}

/* HERMES 2026-11-30: tinted project sections (/chapters/, /schools/, /youth-creative-hub/) — background bleeds edge to edge, content keeps the page gutter (was: tinted box inset with text flush to its edge) */
.phai-system-project{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-inline:0!important;box-sizing:border-box!important}
.phai-system-project>.phai-system-container,.elementor-6310.phai-system-project>.phai-system-container{width:auto!important;max-width:1280px!important;margin-inline:auto!important;padding-inline:var(--phai-gutter,80px)!important;box-sizing:border-box!important}
@media(max-width:767px){.phai-system-project>.phai-system-container,.elementor-6310.phai-system-project>.phai-system-container{padding-inline:24px!important}}
html,body{overflow-x:clip}
/* align project content box with the page-title container (same 1280 box, no extra inner gutter on desktop) */
@media(min-width:1025px){.phai-system-project>.phai-system-container,.elementor-6310.phai-system-project>.phai-system-container{padding-inline:0!important;width:min(1280px,calc(100% - 160px))!important}}
