/* GC Academy V8 — native mobile-first fixes; layers over V7, no JS dependency for readability.
   Design: independent Cloudinary mobile/desktop image roles; safe without custom uploads.
   Loading after other releases is intentional. */
:root{--gc-v8-ink:#09224d;--gc-v8-gold:#f2c264;--gc-v8-navy:#061632;--gc-v8-safe-bottom:env(safe-area-inset-bottom,0px)}
html{max-width:100%;overflow-x:clip;scroll-padding-top:90px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0;overflow-x:clip}
img,picture,video{max-width:100%}
picture{display:block;width:100%;height:100%;min-width:0}
picture img{width:100%;height:100%}
:where(.hero,.event-hero,.programs-hero,.info-hero,.trainers-hero){isolation:isolate}
:where(.hero-title,.section-heading h2,.programs-hero-copy h1,.event-hero-content h1){text-wrap:balance}
:where(.button,.v4-btn,.event-action-outline,.event-submit){touch-action:manipulation}
/* Consistent image framing (image shape comes from editor; cards always keep their proportions). */
:where(.v4-course-image,.program-list-image,.gc-v5-showcase-art,.v4-faculty-photo,.trainer-directory-image,.hero .gc-v7-stage-main,.hero .gc-v7-stage-portrait,.event-visual) picture{display:block;width:100%;height:100%;overflow:hidden}
:where(.v4-course-image,.program-list-image,.gc-v5-showcase-art,.v4-faculty-photo,.trainer-directory-image,.hero .gc-v7-stage-main,.hero .gc-v7-stage-portrait,.event-visual) picture img{display:block;width:100%!important;height:100%!important;object-fit:var(--gc-img-fit,cover)!important;object-position:var(--gc-img-position,center center)!important}
.gc-v7-stage-main picture img{opacity:.62}
.v4-course-image img,.program-list-image img{background:linear-gradient(145deg,#142d5b,#e9effb)}
/* Reliable 16px+ input size on iPhone; do not disable pinch-to-zoom. */
@media(pointer:coarse){html body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:max(16px,1rem)!important;line-height:1.4!important}}
:where(.form-grid,.event-form-row,.contact-form-card,.event-form-card,.application-form,.gc-intl-phone){min-width:0;max-width:100%}
:where(.event-form-row,.form-grid)>label{min-width:0;max-width:100%;overflow-wrap:anywhere}
.gc-intl-phone{display:grid!important;grid-template-columns:minmax(130px,42%) minmax(0,1fr)!important;gap:10px!important;align-items:stretch;width:100%;max-width:100%;min-width:0}
.gc-intl-phone>.gc-country-code{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:initial!important;font-size:16px!important;padding:12px 10px!important;min-height:55px!important;overflow:hidden;text-overflow:ellipsis}
.gc-intl-phone>input[name="phone"]{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:initial!important;min-height:55px!important;font-size:16px!important;padding:12px 14px!important;direction:ltr;text-align:left;unicode-bidi:plaintext}
.event-form-row>label:has(.gc-intl-phone){min-width:0}
.event-form-row input,.event-form-row select,.event-form-row textarea,.form-grid input,.form-grid select,.form-grid textarea{max-width:100%;box-sizing:border-box}
.gc-v5-sponsor-fields[hidden]{display:none!important}
/* Desktop visual hierarchy, prevent photo panels drifting apart. */
.hero .hero-layout,.event-hero-grid,.programs-hero-layout{position:relative}
.gc-v7-editorial-stage{z-index:0}
.gc-v7-stage-portrait picture img{object-position:50% 28%!important}
.v4-event-spotlight-visual picture img{object-fit:cover}
/* Phone menu portal appended to body, never confined by header's backdrop-filter.
   On desktop the script returns it to its original parent. */
.gc-v8-menu-shade[hidden]{display:none!important}
.gc-v8-menu-shade{display:none}
@media(max-width:780px){
 html{scroll-padding-top:78px}
 body>.gc-v8-menu-shade{display:block;position:fixed;inset:0;z-index:2050;background:rgba(5,15,38,.64);backdrop-filter:blur(5px);touch-action:manipulation}
 body.gc-v8-menu-open{overflow:hidden!important;overscroll-behavior:contain}
 body .site-header{position:sticky!important;top:0!important;z-index:2100!important;isolation:isolate}
 body>.main-nav.gc-v8-nav-layer{display:none!important;box-sizing:border-box;position:fixed!important;top:var(--gc-v8-menu-top,72px)!important;left:12px!important;right:12px!important;width:auto!important;max-height:calc(100dvh - var(--gc-v8-menu-top,72px) - 14px)!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:2200!important;background:#fff!important;border:1px solid #d5e0f0!important;border-radius:20px!important;box-shadow:0 28px 80px rgba(2,16,46,.38)!important;padding:16px!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;opacity:1!important;visibility:visible!important;transform:none!important}
 body>.main-nav.gc-v8-nav-layer.open{display:flex!important}
 body>.main-nav.gc-v8-nav-layer a{display:flex!important;align-items:center;padding:12px 16px!important;min-height:50px!important;border-radius:12px!important;color:#102858!important;font-size:15px!important;font-weight:750!important;text-align:start!important;text-decoration:none}
 body>.main-nav.gc-v8-nav-layer a:hover,body>.main-nav.gc-v8-nav-layer a:focus-visible{background:#f3f6fc}
 body>.main-nav.gc-v8-nav-layer .nav-conference{background:#fff2d1!important}
 .site-header .nav-shell{gap:6px!important;min-height:66px!important}
 .site-header .brand{flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important}
 .site-header .brand b{font-size:clamp(13px,3.7vw,17px)!important}
 .site-header .brand img{width:42px!important;height:42px!important;flex-shrink:0}
 .gc-v5-nav-controls{gap:7px!important;flex-shrink:0}
 .gc-v7-language{height:39px!important;padding:3px!important;min-width:72px!important}
 .gc-v7-language a{min-height:30px!important;min-width:31px!important;font-size:11px!important}
 .site-header .nav-action{display:none!important}
 .site-header .menu-toggle{z-index:2!important;min-width:45px!important;min-height:45px!important;display:flex!important;flex-shrink:0}
 /* One seamless canvas: photograph blended BEHIND the copy rather than a second panel below. */
 body .hero{position:relative!important;overflow:hidden!important;padding:0!important;background:radial-gradient(ellipse at 60% 70%,#254984,#091b41 70%,#06142d)!important}
 .hero .hero-layout{display:block!important;position:relative!important;min-height:615px!important;max-width:100%;padding-top:34px!important;padding-bottom:38px!important}
 .hero .hero-content{position:relative!important;z-index:8!important;max-width:650px!important;margin:0 auto!important;text-align:center!important;padding:4px 0 20px!important;min-height:0!important}
 .hero .kicker{font-size:12px!important;line-height:1.7!important;display:block}
 .hero .hero-title{font-size:clamp(29px,8.1vw,44px)!important;line-height:1.43!important;margin:12px 0 16px!important}
 .hero .hero-lead{font-size:clamp(13px,3.4vw,15px)!important;line-height:1.9!important;max-width:440px!important;margin-inline:auto!important}
 .hero .hero-slogan{max-width:100%!important;margin-inline:auto!important;font-size:clamp(10px,2.8vw,12px)!important;white-space:normal!important}
 .hero .hero-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:20px 0 14px!important;position:relative;z-index:10}
 .hero .hero-buttons>a{min-width:0!important;padding:11px 10px!important;min-height:52px!important;font-size:clamp(12px,3.4vw,15px)!important}
 .hero .hero-stats,.hero .hero-badges{display:none!important}
 .hero .gc-v7-editorial-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;pointer-events:none;z-index:0!important;filter:none!important;border:0!important;overflow:hidden}
 .hero .gc-v7-stage-main{position:absolute!important;inset:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;opacity:.22!important;background:none!important}
 .hero .gc-v7-stage-main img{height:100%!important;width:100%!important;object-fit:cover!important;opacity:1!important;filter:grayscale(.2) contrast(1.1)}
 .hero .gc-v7-stage-main::after{background:linear-gradient(180deg,rgba(5,16,39,.88) 0%,rgba(7,24,54,.65) 50%,rgba(6,18,42,.9) 100%)!important}
 .hero .gc-v7-stage-portrait{position:absolute!important;inset:auto 0 -12% 40%!important;width:65%!important;height:56%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:48% 0 0 0!important;box-shadow:none!important;opacity:.28!important;mask-image:linear-gradient(0deg,transparent 0%,#000 24%,#000 67%,transparent 100%);}
 .hero .gc-v7-stage-portrait img{object-position:50% 15%!important;object-fit:cover!important}
 .hero .gc-v7-stage-caption,.hero .gc-v7-stage-minicard,.hero .gc-v7-stage-arch,.hero .gc-v7-stage-orbit{display:none!important}
 .hero .hero-orb{display:none}
 .hero::after{background:radial-gradient(circle at 70% 75%,rgba(240,188,87,.12),transparent 35%);z-index:1}
 /* Programs page: generic education image as one atmospheric composition, no isolated faculty portrait. */
 .programs-hero{position:relative!important;overflow:hidden!important;min-height:540px!important;background:radial-gradient(circle at 30% 40%,#213f7c,#061a3c 76%)!important}
 .programs-hero-layout{display:block!important;position:relative!important;padding-block:48px 50px!important;min-height:540px!important}
 .programs-hero-copy{position:relative!important;z-index:3!important;max-width:100%!important;text-align:center!important}
 .programs-hero-copy h1{font-size:clamp(29px,7.9vw,44px)!important;line-height:1.43!important}
 .programs-hero-copy p{font-size:14px!important;line-height:1.9!important;margin-inline:auto!important}
 .programs-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 .programs-hero-actions>a{min-width:0!important;padding-inline:10px!important;font-size:13px!important}
 .gc-v5-programs-showcase{position:absolute!important;inset:0!important;z-index:0!important;opacity:.25!important;pointer-events:none!important;min-height:0!important;overflow:hidden!important}
 .gc-v5-programs-showcase .gc-v5-showcase-card{position:absolute!important;inset:0!important;height:100%!important;max-height:none!important;border:none!important;border-radius:0!important;transform:none!important}
 .gc-v5-programs-showcase .gc-v5-showcase-art{position:absolute!important;inset:0!important;aspect-ratio:auto!important;max-height:none!important;min-height:0!important}
 .gc-v5-programs-showcase .gc-v5-showcase-art img{width:100%!important;height:100%!important;object-fit:cover!important}
 .gc-v5-showcase-glow,.gc-v5-showcase-body,.gc-v5-showcase-bottom{display:none!important}
 /* Conference page: text and image are one campaign artboard on mobile. */
 .conference-page .event-hero{position:relative;overflow:hidden!important;padding:0!important;background:linear-gradient(140deg,#07142e,#173b7a)!important}
 .conference-page .event-hero-grid{display:block!important;position:relative!important;min-height:615px!important;padding:42px 0 44px!important}
 .conference-page .event-hero-content{position:relative!important;z-index:3!important;max-width:100%!important;text-align:center!important}
 .conference-page .event-hero-content h1{font-size:clamp(45px,13vw,66px)!important;line-height:1.25!important;margin-block:12px!important}
 .conference-page .event-hero-content>p{font-size:14px!important;line-height:1.85!important}
 .conference-page .event-hero .event-keyfacts{justify-content:center!important;gap:6px}
 .conference-page .event-hero .event-keyfacts span{font-size:12px!important}
 .conference-page .event-visual{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;opacity:.27!important;border:0!important;border-radius:0!important;box-shadow:none!important;pointer-events:none!important;background:#092353!important}
 .conference-page .event-visual img.gc-event-hero-image{width:100%!important;height:100%!important;object-fit:cover!important}
 .conference-page .event-visual::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(180deg,rgba(6,18,40,.72),rgba(6,18,40,.3) 45%,rgba(6,18,40,.84));pointer-events:none}
 .conference-page .event-visual .event-big-number,.conference-page .event-visual .event-visual-badge,.conference-page .event-visual .event-visual-caption{display:none!important}
 .conference-page .event-hero .event-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 .conference-page .event-hero .event-actions>a{min-width:0!important;padding:10px 8px!important;font-size:13px!important;text-align:center!important}
 .gc-v7-event-gift{padding:12px!important;margin:14px auto!important;max-width:100%!important;text-align:start}
 .gc-v7-event-gift strong{font-size:13px!important}
 .gc-v7-event-gift small{font-size:11px!important}
 .event-form-layout,.event-form-row,.form-grid{min-width:0!important}
 .event-form-row{grid-template-columns:minmax(0,1fr)!important}
 .gc-intl-phone{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 .gc-intl-phone>.gc-country-code{min-height:55px!important;max-width:100%!important;width:100%!important}
 .gc-intl-phone>input[name="phone"]{min-height:55px!important;max-width:100%!important;width:100%!important}
 .event-form-card input:not([type=checkbox]):not([type=radio]),.event-form-card select,.event-form-card textarea,.application-form input:not([type=checkbox]):not([type=radio]),.application-form select,.application-form textarea{font-size:16px!important;min-width:0!important}
 .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .event-form-card,.application-form{max-width:100%;min-width:0;overflow:visible}
 .event-form-card label,.application-form label{min-width:0}
 .event-kind-switch{grid-template-columns:1fr 1fr!important;gap:8px!important}
 .event-kind-switch span{padding:13px 7px!important;font-size:13px!important}
 :is(.event-form-card,.application-form,.contact-form-card) .event-submit{min-height:54px;font-size:16px!important}
 /* Scroll-safe floating WhatsApp; never covers form submit controls while the form is visible. */
 a.floating-whatsapp.gc-floating-contact{position:fixed!important;right:13px!important;bottom:calc(14px + var(--gc-v8-safe-bottom))!important;top:auto!important;width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;padding:8px!important;z-index:1100!important}
 body.gc-v8-menu-open a.floating-whatsapp.gc-floating-contact{opacity:0;pointer-events:none}
}
@media(max-width:365px){
 .site-header .brand b{font-size:12px!important}.site-header .brand img{height:37px!important;width:37px!important}
 .gc-v7-language{min-width:65px!important}.gc-v7-language a{min-width:27px!important;padding-inline:4px!important}
 .hero .hero-title{font-size:clamp(26px,8vw,30px)!important}
 .hero .hero-layout{min-height:570px!important}
 .conference-page .event-hero-content h1{font-size:42px!important}
}
@media(prefers-reduced-motion:reduce){.gc-v8-menu-shade{backdrop-filter:none!important}}
