/* A restrained common palette. School primary actions use the approved webinar gold. */
html[data-gharar-site]{--gh-action-gold:#d6b575;--gh-action-hover:#e3c58c;--gh-action-ink:#173d46;--gh-action-border:#c2a062;--gh-quiet-ink:#566875;--gh-link-ink:#315f91}
html[data-gharar-site=school] [data-gharar-action=primary]{background:var(--gh-action-gold)!important;color:var(--gh-action-ink)!important;border:1px solid var(--gh-action-border)!important;border-radius:10px;box-shadow:none!important;font-weight:600;min-height:44px;transition:background-color .18s,border-color .18s}
html[data-gharar-site=school] [data-gharar-action=primary]:hover:not(:disabled){background:var(--gh-action-hover)!important;border-color:#c8a764!important;filter:none!important}
html[data-gharar-site=school] [data-gharar-action=primary]:focus-visible{outline:2px solid #315f91!important;outline-offset:4px}
html[data-gharar-site=school] :is(.school-home-hero,.executive-hero) [data-gharar-action=primary]:focus-visible,html[data-gharar-site=school].dark [data-gharar-action=primary]:focus-visible{outline-color:#f3dfb9!important}
html[data-gharar-site=school] [data-gharar-action=primary]:disabled{opacity:.5;cursor:not-allowed;filter:none}
html[data-gharar-site]:not(.dark) main :is(article.bg-white,section.bg-white,.school-offer,.executive-service) :is(p,span)[class~="text-slate-400"]{color:var(--gh-quiet-ink)}
html[data-gharar-site]:not(.dark) main a[class~="text-blue-600"]:not([data-gharar-action]){color:var(--gh-link-ink)}
html[data-gharar-site].dark main :is(p,span)[class~="text-slate-400"]{color:#b5c6d2}
.foundation-next-steps{padding:64px 24px;background:#fbfaf6;border-top:1px solid #e1e3d9;box-sizing:border-box}
.gh-next-inner{max-width:1152px;margin-inline:auto;text-align:center}
.foundation-next-steps h2{color:#213d43;font-size:clamp(26px,3vw,34px);font-weight:700;line-height:1.6;margin:0 0 10px}
.gh-next-intro{font-size:15px;line-height:1.9;color:#5b6b70;margin:0 auto 30px;max-width:560px}
.gh-next-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.gh-next-card{display:flex;align-items:center;flex-direction:column;min-width:0;padding:24px 20px;background:#fffefa;border:1px solid #dce3dc;border-radius:12px;box-shadow:0 2px 4px #213d4304;text-decoration:none;color:#24434a;transition:border-color .2s}
.gh-next-card[data-next-tone=blue]{--next-ink:#345c98;--next-paper:#edf2fb;--next-line:#d2dff0}
.gh-next-card[data-next-tone=teal]{--next-ink:#23675f;--next-paper:#edf5f1;--next-line:#ccdfd7}
.gh-next-card[data-next-tone=ochre]{--next-ink:#87642b;--next-paper:#faf3e5;--next-line:#e9d9b9}
.gh-next-card[data-next-tone=plum]{--next-ink:#785a86;--next-paper:#f5eff7;--next-line:#e2d5e8}
.gh-next-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;border:1px solid var(--next-line);background:var(--next-paper);color:var(--next-ink);margin-bottom:18px;flex-shrink:0}
.gh-next-icon svg{display:block;width:28px;height:28px}
.gh-next-card h3{font-size:20px;line-height:1.7;font-weight:700;margin:0 0 10px;color:#24434a}
.gh-next-card p{font-size:14px;line-height:1.9;color:#5b6b70;margin:0 0 20px;flex:1}
.gh-next-action{font-size:13px;line-height:1.7;font-weight:600;color:var(--next-ink)}
.gh-next-card:hover{border-color:var(--next-ink)}
.gh-next-card:focus-visible{outline:2px solid var(--next-ink);outline-offset:4px}
.dark .foundation-next-steps{background:#101b24;border-color:#35434d}
.dark .foundation-next-steps :is(h2,h3){color:#e7efed}
.dark .gh-next-intro,.dark .gh-next-card p{color:#bacbd0}
.dark .gh-next-card{background:#172832;border-color:#354b58}
.dark .gh-next-icon{background:#ffffff08;border-color:#ffffff26;color:#c0d3e6}
.dark .gh-next-action{color:#dbc496}
@media(max-width:1023px){.gh-next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:539px){.foundation-next-steps{padding:44px 20px}.gh-next-grid{grid-template-columns:1fr;gap:14px}.gh-next-card{padding:22px}.foundation-next-steps h2{font-size:26px}.gh-next-intro{font-size:14px}.gh-next-icon{width:48px;height:48px}.gh-next-icon svg{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.gh-next-card,html[data-gharar-site=school] [data-gharar-action=primary]{transition:none}}

/* Webinar illustration: share the content column baseline without cropping. */
#free-webinar div:has(> img[src*="webinar-digital-gharar"]){min-width:0}
#free-webinar img[src*="webinar-digital-gharar"]{display:block;width:100%;height:auto;border-radius:12px}
@media(min-width:1024px){
 #free-webinar div:has(> img[src*="webinar-digital-gharar"]){align-self:flex-end}
}

/* Webinar: full-height visual and an explicit, reachable share action. */
#free-webinar div:has(> img[src*="webinar-digital-gharar"]){background:#06333d;border-radius:16px;overflow:hidden;min-width:0}
#free-webinar img[src*="webinar-digital-gharar"]{display:block;width:100%;border-radius:0;object-fit:contain;background:#06333d}
@media(min-width:1024px){
 #free-webinar div:has(> img[src*="webinar-digital-gharar"]){align-self:stretch!important;position:relative}
 #free-webinar img[src*="webinar-digital-gharar"]{position:absolute;inset:0;height:100%!important}
}
#free-webinar button[aria-label="اشتراک‌گذاری"],#free-webinar button[aria-label="Share"],#free-webinar button[aria-label="Teilen"]{width:auto!important;min-width:140px;min-height:48px;padding:10px 16px!important;gap:9px;overflow:visible;flex-shrink:0;background:#fffdf7!important;border:1px solid #b7c8c7!important;color:#234c53!important;font:600 14px/1.6 inherit}
#free-webinar button[aria-label="اشتراک‌گذاری"]::after,#free-webinar button[aria-label="Share"]::after,#free-webinar button[aria-label="Teilen"]::after{content:attr(aria-label)}
#free-webinar button:focus-visible{outline:3px solid #b58a34;outline-offset:4px}
@media(max-width:480px){#free-webinar div:has(>button[aria-label="اشتراک‌گذاری"]){flex-wrap:wrap;gap:12px}#free-webinar button[aria-label="اشتراک‌گذاری"]{min-width:132px;font-size:13px!important}}

/* Webinar: labelled share action and an explicit, reachable share action. */
#free-webinar div:has(> img[src*="webinar-digital-gharar"]){background:#06333d;border-radius:16px;overflow:hidden;min-width:0}
#free-webinar img[src*="webinar-digital-gharar"]{display:block;width:100%;border-radius:0;object-fit:contain;background:#06333d}
@media(min-width:1024px){
 #free-webinar div:has(> img[src*="webinar-digital-gharar"]){align-self:stretch!important;position:relative}
 #free-webinar img[src*="webinar-digital-gharar"]{position:absolute;inset:0;height:100%!important}
}
#free-webinar button[title="اشتراک‌گذاری"],#free-webinar button[title="Share"],#free-webinar button[title="Teilen"]{width:auto!important;min-width:140px;min-height:48px;padding:10px 16px!important;gap:9px;overflow:visible;flex-shrink:0;background:#fffdf7!important;border:1px solid #b7c8c7!important;color:#234c53!important;font:600 14px/1.6 inherit}
#free-webinar button[title="اشتراک‌گذاری"]::after,#free-webinar button[title="Share"]::after,#free-webinar button[title="Teilen"]::after{content:attr(title)}
#free-webinar button:focus-visible{outline:3px solid #b58a34;outline-offset:4px}
@media(max-width:480px){#free-webinar div:has(>button[title="اشتراک‌گذاری"]){flex-wrap:wrap;gap:12px}#free-webinar button[title="اشتراک‌گذاری"]{min-width:132px;font-size:13px!important}}

/* Course catalogue shares the header container and responsive gutters. */
main:has(> #courses-section)>div:has(>h1),main>#courses-section{width:100%;max-width:none!important;margin-inline:auto!important;padding-inline:10px!important;box-sizing:border-box}
@media(min-width:640px){main:has(> #courses-section)>div:has(>h1),main>#courses-section{max-width:640px!important;padding-inline:16px!important}}
@media(min-width:768px){main:has(> #courses-section)>div:has(>h1),main>#courses-section{max-width:768px!important}}
@media(min-width:1024px){main:has(> #courses-section)>div:has(>h1),main>#courses-section{max-width:1024px!important;padding-inline:24px!important}}
@media(min-width:1280px){main:has(> #courses-section)>div:has(>h1),main>#courses-section{max-width:1280px!important}}
@media(min-width:1536px){main:has(> #courses-section)>div:has(>h1),main>#courses-section{max-width:1536px!important}}
