/* GC Academy V6 — editorial luxury + mobile-first components, 15 Nov 2026.
   Loaded after legacy styles. Intentionally preserves system typography if web fonts unavailable. */
:root{
  --gc-v6-night:#07142d;--gc-v6-royal:#142965;--gc-v6-royal-soft:#29418e;
  --gc-v6-amber:#edbd5d;--gc-v6-amber-light:#ffe1a2;--gc-v6-type:#11224a;
  --gc-v6-muted:#64738e;--gc-v6-surface:#f5f7fb;--gc-v6-outline:#dee5f1;
  --gc-v6-r:23px;--gc-v6-shadow:0 16px 50px rgba(11,29,70,.085);
}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body,body.rtl,body.ltr{font-family:'IBM Plex Sans Arabic','Tajawal',system-ui,sans-serif;line-height:1.85;color:var(--gc-v6-type);background:#fff;font-size:16px;text-rendering:optimizeLegibility}
body,button,input,textarea,select{font-family:'IBM Plex Sans Arabic','Tajawal',system-ui,sans-serif}
html[lang="en"] body,html[lang="en"] body.ltr,html[lang="en"] button,html[lang="en"] input,html[lang="en"] textarea,html[lang="en"] select{font-family:'Manrope',system-ui,sans-serif}
:where(h1,h2,h3,h4,.hero-title,.button,.v4-btn,.brand b,.event-hero h1){font-family:'Alexandria','IBM Plex Sans Arabic',system-ui,sans-serif;font-weight:800;letter-spacing:0;overflow-wrap:anywhere}
html[lang="en"] :where(h1,h2,h3,h4,.hero-title,.button,.v4-btn,.brand b,.event-hero h1){font-family:'Manrope',system-ui,sans-serif;letter-spacing:-.035em}
:where(p,.section-copy p,.event-section-intro p){line-height:1.9}
.container{max-width:1232px;width:calc(100% - 52px)}
:where(.button,.v4-btn,.v4-text-action,.event-action-outline,.nav-action,.text-cta){font-weight:800;border-radius:15px;min-height:50px;padding-inline:18px;display:inline-flex;justify-content:center;align-items:center;gap:10px;text-decoration:none;transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s,border-color .22s,background .22s;white-space:normal;text-align:center}
:where(.button,.v4-btn,.v4-text-action,.event-action-outline,.nav-action,.text-cta):hover{transform:translateY(-2px)}
:where(.button,.v4-btn,.v4-text-action,.event-action-outline,.nav-action,.text-cta) svg{height:18px;width:18px}
:where(.button,.v4-btn,.nav-action):active{transform:translateY(0) scale(.985)}
.button-gold,.v4-btn-primary{background:linear-gradient(130deg,#ffe7aa,#e6af39)!important;color:#111e3e!important;border:1px solid #e2b147!important;box-shadow:0 9px 25px rgba(212,162,51,.2)!important}
.button-gold:hover,.v4-btn-primary:hover{box-shadow:0 14px 29px rgba(212,162,51,.29)!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f2bf52!important;outline-offset:3px!important}
/* Header merges its navigation, language selector and CTAs into a single uncluttered rail */
.top-strip{display:none!important}
.site-header{background:rgba(255,255,255,.95)!important;border-bottom:1px solid rgba(210,220,239,.66);box-shadow:0 4px 21px rgba(11,27,60,.065)!important;backdrop-filter:blur(18px)}
.site-header .nav-shell{min-height:88px;gap:16px}
.site-header .brand img{height:57px;width:57px;object-fit:contain}
.site-header .brand b{font-size:18px;color:#14255c}
.site-header .main-nav{gap:clamp(5px,.7vw,13px)}
.site-header .main-nav>a{font-size:12.5px!important;min-height:45px;position:relative}
.site-header .main-nav>a:not(.nav-conference)::after{content:"";position:absolute;bottom:4px;inset-inline-start:8px;inset-inline-end:8px;height:2px;background:#d6a639;transform:scaleX(0);transition:transform .22s}
.site-header .main-nav>a:not(.nav-conference):hover::after{transform:scaleX(1)}
.gc-v5-language{min-width:74px;height:45px;border-radius:13px;background:linear-gradient(120deg,#edf2fa,#fff);border:1px solid #ccd7e8;color:#15275d;letter-spacing:.02em}
.gc-v5-language:hover{background:#e1eaff}
.site-header .nav-action{min-height:45px;font-size:12px;border-radius:13px}
/* Homepage art is integrated into the gradient instead of boxed as a separate poster */
.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 85% 24%,rgba(59,87,183,.37),transparent 38%),linear-gradient(115deg,#06132e 0%,#11265d 54%,#111e4a 100%)!important;padding:76px 0 68px!important}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);background-size:73px 73px;mask-image:linear-gradient(90deg,transparent,#000 55%,transparent)}
.hero .hero-orb{opacity:.35}
.hero-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(22px,4vw,70px)!important}
.hero .hero-content{max-width:675px}
.hero .hero-title{font-size:clamp(37px,4.55vw,66px)!important;line-height:1.32!important;margin-block:15px 20px!important}
.hero .hero-lead{line-height:2!important;font-size:clamp(15px,1.23vw,17px)!important;color:#e0e7f8}
.hero .kicker{font-size:13px;letter-spacing:0}
.hero .hero-buttons{margin-block:27px 16px}
.hero .gc-hero-visual{position:relative;align-self:stretch;min-width:0}
.hero .gc-hero-card{aspect-ratio:var(--gc-img-ratio,1.03/1)!important;min-height:360px;max-height:510px!important;display:flex;align-items:center;justify-content:center;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden;isolation:isolate;background:transparent!important}
.hero .gc-hero-card::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 48% 47%,transparent 38%,rgba(9,22,55,.55) 76%,#101f50 100%);pointer-events:none}
.hero .gc-hero-card .gc-hero-image{height:100%!important;width:100%!important;object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center center)!important;filter:contrast(1.04) saturate(1.07);mask-image:radial-gradient(ellipse at center,#000 41%,rgba(0,0,0,.75) 68%,transparent 91%)}
.hero .gc-hero-brandmark{z-index:2;inset:auto 12px 18px auto;max-width:215px;background:rgba(9,23,60,.7);border:1px solid rgba(255,255,255,.16);border-radius:17px}
.hero .gc-hero-badge{z-index:2;backdrop-filter:blur(9px)}
.hero .hero-stats{margin-top:21px}
/* Event editorial feature: crisp type, integrated art & true CTA paths */
.v4-event-spotlight{background:linear-gradient(180deg,#f8f9fc,#eef2fa);padding:65px 0!important}
.v4-event-spotlight-card{border-radius:30px!important;background:radial-gradient(circle at 18% 30%,#304989 0%,#12275d 55%,#071633 100%);box-shadow:0 25px 72px rgba(12,28,73,.19)!important;overflow:hidden}
.v4-event-spotlight-copy{padding:clamp(28px,5vw,65px)!important;position:relative;z-index:2}
.v4-event-spotlight-copy h2{font-size:clamp(42px,5.3vw,75px)!important;line-height:1.22!important;color:#fff}
.v4-event-spotlight-copy p{max-width:470px;line-height:1.94}
.v4-event-spotlight-visual{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle,#38559f,#101f4c)}
.v4-event-spotlight-visual img{width:100%;height:100%;object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center center)!important;mask-image:radial-gradient(ellipse at 50% 50%,black 56%,transparent 100%)}
.v4-event-spotlight-visual::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(5,17,47,.15),transparent 60%)}
/* Every card belongs to a consistent type system; all image text is outside the image */
.v4-course-grid,.programs-list-grid,.v4-faculty-grid,.trainers-directory-grid{gap:22px!important;align-items:stretch}
.v4-course-card,.program-list-card,.v4-faculty-card,.trainer-directory-card{position:relative;background:#fff;border:1px solid #e0e7f3!important;border-radius:23px!important;box-shadow:var(--gc-v6-shadow)!important;overflow:hidden}
.v4-course-card:hover,.program-list-card:hover,.v4-faculty-card:hover,.trainer-directory-card:hover{box-shadow:0 27px 58px rgba(12,32,76,.17)!important;transform:translateY(-5px)}
.v4-course-image,.program-list-image{position:relative;background:linear-gradient(148deg,#edf3fc 0%,#dbe6f8 100%)!important;overflow:hidden;aspect-ratio:16/10!important;border-bottom:1px solid #e2e9f5}
.v4-course-image::before,.program-list-image::before{content:"";position:absolute;inset:auto 0 0;height:4px;background:linear-gradient(90deg,#e1b348,#f8dd98,#c19b43);z-index:2}
.v4-course-image img,.program-list-image img,.gc-v5-showcase-art img{display:block;height:100%!important;width:100%!important;object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center center)!important;transition:transform .36s ease;transform:none!important}
.v4-course-body{padding:23px!important}
.v4-course-body h3{font-size:clamp(19px,1.5vw,23px)!important;line-height:1.6!important}
.v4-course-body>p,.program-list-content>p{font-size:14px!important;line-height:1.95!important;color:#65738b}
.v4-course-actions{margin-top:18px;gap:10px}
.v4-course-actions .v4-btn-wa{flex:0 0 50px;min-width:50px;min-height:50px;border-radius:14px}
.v4-course-type{font-family:'IBM Plex Sans Arabic',sans-serif;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.v4-stretched-link{z-index:1}
.v4-course-actions>a,.program-list-actions>a,.program-list-trainers>a,.v4-faculty-content>a{position:relative;z-index:3}
.v4-faculty-photo,.trainer-directory-image{height:clamp(260px,21vw,325px)!important;aspect-ratio:auto!important;background:radial-gradient(circle at center 25%,#f4f8ff,#d7e3f4)!important;overflow:hidden}
.v4-faculty-photo img,.trainer-directory-image img{height:100%!important;width:100%!important;object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center top)!important;transform:none!important}
.v4-faculty-featured{border-color:#d9b665!important}
.v4-faculty-featured .v4-faculty-content{background:linear-gradient(120deg,#fdfaf1,#fff)}
.program-list-image img{display:block}
.gc-v5-showcase-card{border:1px solid rgba(255,255,255,.2)}
.gc-v5-showcase-art img{object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center center)!important}
.trainer-profile-frame img,.program-detail-visual>img{object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center top)!important}
/* Shared media frames: editorial contrast, not busy card-on-card layering */
:where(.about-visual,.scholarship-image,.visual-card,.about-hero-media,.about-story-image){border-radius:25px;overflow:hidden}
:where(.about-visual,.scholarship-image,.visual-card,.about-hero-media,.about-story-image) img{object-fit:var(--gc-img-fit,cover)!important;object-position:var(--gc-img-position,center center)!important}
/* Conference has its own cinematic but readable hero, date, gift and CTAs */
.conference-page .event-hero{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 12% 25%,rgba(80,105,200,.35),transparent 43%),linear-gradient(120deg,#091731,#172f75 73%,#0b1943)!important}
.conference-page .event-hero::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(120deg,transparent 65%,rgba(224,178,71,.08));}
.conference-page .event-hero-grid{align-items:center}
.conference-page .event-hero-content h1{line-height:1.2!important;font-size:clamp(49px,7vw,87px)!important;margin-block:12px}
.conference-page .event-hero-content>p{font-size:clamp(15px,1.22vw,18px)!important;line-height:1.95;color:#eef3ff}
.conference-page .event-visual{aspect-ratio:var(--gc-img-ratio,5/4)!important;max-height:490px!important;border:1px solid rgba(242,200,103,.3)!important;border-radius:29px!important;background:radial-gradient(circle at 50% 45%,#344b9d,#13275e 70%,#071632)!important;box-shadow:0 28px 70px rgba(2,11,29,.3)}
.conference-page .event-visual .gc-event-hero-image{height:100%!important;width:100%!important;object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center center)!important}
.conference-page .event-actions{display:flex;flex-wrap:wrap;gap:12px}
.conference-page .event-actions>a{min-height:51px}
.conference-page .event-keyfacts{gap:13px}
.conference-page .event-visual-badge{background:rgba(11,23,56,.74);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.19)}
.event-form-card{box-shadow:var(--gc-v6-shadow);border-radius:24px!important}
.event-form-card select,.event-form-card input,.event-form-card textarea{border-radius:13px!important;font-size:16px!important;min-height:48px}
.gc-v5-enquiry-method{border-radius:15px;line-height:1.55;min-height:52px}
.event-form-copy h2{line-height:1.35!important}
.gc-v6-media-panel{margin-top:20px}
.gc-v6-admin-media-intro{border:1px solid #dfe8f4;border-radius:20px;background:linear-gradient(120deg,#fff,#edf3fc);padding:25px;margin-bottom:20px;box-shadow:0 10px 32px rgba(20,40,80,.055)}
.gc-v6-admin-media-intro h2{margin:0 0 10px;color:#15285b;font-size:24px}
.gc-v6-admin-media-intro p{font-size:14px;line-height:1.9}
.gc-v6-image-guide{background:#fdf6e5;border:1px solid #e9d6a3;padding:15px;border-radius:12px;color:#4c4125;font-size:14px}
.gc-v6-image-preview{margin:14px 0;background:#ecf1f9;border-radius:14px;padding:10px}
.gc-v6-image-preview img{display:block;max-height:240px;width:100%;object-fit:contain}
.gc-v6-image-controls{padding:22px;border:1px solid #d7e4f1;border-radius:17px;margin:18px 0;background:#f6f9ff}
.gc-v6-image-controls h3{margin-block:0 10px}
.gc-v6-image-controls p{font-size:13px;line-height:1.9}
.section-heading h2,.section-copy h2{line-height:1.45!important}
.section-heading p,.section-copy p{line-height:2}
.programs-hero,.trainers-hero,.program-detail-hero{background:radial-gradient(circle at 20% 25%,#263c7d,#071633 78%)!important}
.programs-hero-copy h1,.trainers-hero h1,.program-detail-copy h1{line-height:1.35!important}
.programs-hero-copy p,.trainers-hero p{line-height:2!important}
.gc-social-icon, .v4-top-social a{border-radius:13px!important}
.floating-whatsapp.gc-floating-contact{background:linear-gradient(145deg,#20c67d,#079558)!important;border-radius:18px!important;transition:transform .2s,box-shadow .2s!important}
.floating-whatsapp.gc-floating-contact:hover{transform:translateY(-3px)!important}
/* Tablet: fluid rather than large desktop values squeezed into half width */
@media(max-width:1100px){
 .site-header .nav-shell{min-height:74px}.site-header .brand small{display:none}
 .hero .hero-title{font-size:clamp(35px,4vw,50px)!important}
}
@media(max-width:990px){
 .site-header .main-nav{border-radius:0 0 20px 20px}
 .site-header .main-nav a{width:100%;min-height:48px;font-size:14px!important}
}
/* Mobile-first reading order and tap targets on real handhelds */
@media(max-width:767px){
 html{scroll-padding-top:70px}
 .container{width:calc(100% - 32px)}
 .site-header .nav-shell{min-height:70px!important;gap:7px}
 .site-header .brand b{font-size:15px}
 .site-header .brand img{width:44px!important;height:44px!important}
 .site-header .brand small{display:none}
 .gc-v5-language{height:43px;min-width:52px;font-size:11px}
 .site-header .nav-action{min-width:0;max-width:100px;white-space:normal;padding:8px 10px;font-size:11px!important}
 .hero{padding:42px 0 48px!important}
 .hero-layout{grid-template-columns:1fr!important;gap:12px!important}
 .hero .hero-content{order:0}
 .hero .hero-title{font-size:clamp(33px,9vw,46px)!important;line-height:1.4!important}
 .hero .hero-lead{font-size:14px!important;line-height:1.95!important}
 .hero .hero-buttons{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero .hero-buttons .button{font-size:12px;min-height:50px}
 .hero .v4-primary-visual{order:1;max-height:none}
 .hero .gc-hero-card{aspect-ratio:var(--gc-img-ratio,4/3)!important;min-height:0!important;max-height:330px!important;border-radius:14px!important}
 .hero .gc-hero-card .gc-hero-image{mask-image:radial-gradient(ellipse at center,#000 43%,transparent 87%)}
 .hero .gc-hero-brandmark{bottom:7px;inset-inline-end:8px;max-width:152px;font-size:11px}
 .hero .gc-hero-brandmark img{height:39px;width:39px}
 .hero .gc-hero-badge-top,.hero .gc-hero-badge-bottom{display:none!important}
 .v4-event-spotlight{padding:50px 0!important}
 .v4-event-spotlight-card{border-radius:22px!important}
 .v4-event-spotlight-copy{padding:29px 22px!important}
 .v4-event-spotlight-copy h2{font-size:clamp(40px,10vw,55px)!important}
 .v4-event-spotlight-visual{aspect-ratio:16/10;max-height:280px}
 .v4-event-spotlight-visual img{object-fit:var(--gc-img-fit,contain)!important}
 .v4-course-image,.program-list-image{aspect-ratio:16/10!important;min-height:0}
 .v4-course-card,.program-list-card,.v4-faculty-card{border-radius:20px!important}
 .v4-course-body{padding:19px!important}
 .v4-course-body h3{font-size:19px!important}
 .v4-course-body>p{font-size:13.5px!important}
 .v4-course-actions{display:flex;gap:8px}
 .v4-course-actions .v4-btn-primary{flex:1;font-size:12px;min-height:49px}
 .v4-course-actions .v4-btn-wa{flex:0 0 49px;min-width:49px;min-height:49px}
 .v4-faculty-photo,.trainer-directory-image{height:275px!important}
 .programs-hero,.trainers-hero,.program-detail-hero{padding:48px 0!important}
 .gc-v5-showcase-card{max-width:100%}
 .gc-v5-showcase-art{min-height:0}
 .gc-v5-showcase-art img{object-fit:var(--gc-img-fit,contain)!important}
 .conference-page .event-hero{padding:52px 0!important}
 .conference-page .event-hero-content h1{font-size:clamp(46px,12.6vw,67px)!important}
 .conference-page .event-visual{aspect-ratio:var(--gc-img-ratio,4/3)!important;max-height:340px!important}
 .conference-page .event-actions>a{min-height:49px;flex:1}
 .event-form-card,.event-form-copy{min-width:0}
 .section{padding:50px 0!important}
 .section-heading h2,.section-copy h2{font-size:clamp(27px,7.2vw,37px)!important;line-height:1.45!important}
 .floating-whatsapp.gc-floating-contact{height:54px!important;width:54px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;right:14px!important}
}
@media(max-width:359px){
 .site-header .brand img{width:39px!important;height:39px!important}
 .site-header .brand b{font-size:13px!important}
 .gc-v5-language{min-width:47px}
 .site-header .nav-action{max-width:80px;padding-inline:7px;font-size:10px!important}
 .hero .hero-title{font-size:31px!important}
 .hero .hero-stats{gap:3px}
 .conference-page .event-actions{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Optional gallery appears only after real photos are uploaded from Media Library. */
.gc-v6-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:26px}
.gc-v6-gallery-grid figure{margin:0;border-radius:19px;overflow:hidden;aspect-ratio:4/3;background:#e6ebf4;border:1px solid #e2e9f4;box-shadow:var(--gc-v6-shadow)}
.gc-v6-gallery-grid img{width:100%;height:100%;object-fit:var(--gc-img-fit,cover);object-position:var(--gc-img-position,center center)}
.gc-v6-focus{outline:3px solid #deb355;outline-offset:3px}

/* Editor-controlled image zoom changes image scale without breaking equal-sized cards. */
.v4-course-image img,.program-list-image img,.v4-faculty-photo img,.trainer-directory-image img,
.gc-v5-showcase-art img,.trainer-profile-frame img,.program-detail-visual>img{transform:scale(var(--gc-img-zoom,1))!important;transition:transform .3s ease!important}

/* Trainer directory hero and collage respect the media editor image settings. */
.trainers-hero-custom img,.trainers-hero-collage a img{object-fit:var(--gc-img-fit,contain)!important;object-position:var(--gc-img-position,center top)!important;transform:scale(var(--gc-img-zoom,1))!important}
