/* Touch targets, safe areas and bounded modal scrolling. */
html{scroll-padding-top:calc(var(--public-header-height,140px) + 24px)}
html.modal-open,html.modal-open body{overflow:hidden;overscroll-behavior:none}
.institutional-home .institute-hero{padding-top:calc(var(--public-header-height,140px) + 24px)}
.institutional-course .course-hero{padding-top:calc(var(--public-header-height,140px) + 28px)}
.floating-contact{position:fixed;inset-inline-end:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:24;display:flex;align-items:center;gap:10px;min-height:48px;border-radius:30px;background:#165a96;color:#fff;padding:12px 20px;box-shadow:0 6px 24px #165a9633;font-weight:700;font-size:15px}
.floating-contact svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.floating-contact:hover{background:#104778}
.footer{padding-bottom:92px!important}
#info-dialog,#inquiry-dialog{box-sizing:border-box;width:min(590px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:36px 28px 28px}
.dialog-close{min-width:44px;min-height:44px;top:8px;inset-inline-end:8px}
.student-dialog-link{margin-top:8px;min-height:48px;width:100%}
.student-dialog-help{font-size:14px;margin-top:14px;color:var(--muted)}
.form-field input,.form-field select,.form-field textarea{font-size:16px;min-height:48px}
.form-consent{align-items:flex-start;gap:8px}.form-consent input{flex-shrink:0;width:20px;height:20px;margin-top:4px}
.inquiry-submit{width:100%;min-height:48px}
.nav-actions .language,.nav-actions .button,.nav-courses summary,.nav-links>a,.course-picker button{min-height:44px}
.position-dots button{width:44px;height:44px;background:transparent;border:0;padding:0;display:grid;place-items:center}
.position-dots button:after{content:'';width:7px;height:7px;background:var(--muted);border-radius:50%}
.position-dots button.is-active:after{background:var(--deep);width:10px;height:10px}
@media(max-width:600px){.floating-contact{inset-inline-end:14px;bottom:calc(14px + env(safe-area-inset-bottom));font-size:14px;padding:10px 16px}.institutional-home .nav,.institutional-course .nav{gap:6px}.institutional-home .nav-actions,.institutional-course .nav-actions{gap:4px}.nav-actions .language{padding-inline:8px}.institutional-home .header .shell,.institutional-course .header .shell{padding-inline:12px}.nav-links{min-width:0}.nav-courses .course-menu{max-width:calc(100vw - 48px);max-height:60dvh;overflow:auto}.course-picker{flex-wrap:wrap;gap:6px}.course-picker button{padding:10px 14px}.selected-course-actions{flex-wrap:wrap;justify-content:center;gap:14px}.carousel-shell{--card-width:min(300px,calc(100vw - 80px));--step:calc(var(--card-width) * .75)}.carousel-arrow{width:44px;height:44px}#info-dialog,#inquiry-dialog{padding:44px 20px 24px}.form-grid{grid-template-columns:minmax(0,1fr)}body[data-course=qada] .floating-contact{display:none}.institutional-home .compact-contact .button{width:100%;min-height:48px}.compact-contact p{line-height:1.9}.footer .shell{gap:16px}}
@media(max-width:360px){.institutional-home .brand-with-wordmark,.institutional-course .brand-with-wordmark{width:100%;justify-content:center}.institutional-home .nav-actions,.institutional-course .nav-actions{width:100%;justify-content:space-between}.institutional-home .nav-links,.institutional-course .nav-links{gap:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Transparent outlined brand assets use white on navy and blue on light surfaces. */
.institutional-course .footer .logo,.institutional-home .footer .logo{filter:none;mix-blend-mode:normal;height:auto;object-fit:contain}.institutional-course .footer-column h2,.institutional-course .footer-bottom a{color:#cfe6f8}.institutional-course .footer-column a:hover,.institutional-course .footer-column button:hover,.institutional-course .footer-bottom a:hover{color:#fff}

/* Keep the header name and slogan exactly the same blue as the symbol. */
.header .brand-with-wordmark .brand-wordmark,.header .brand-with-wordmark .brand-wordmark strong,.header .brand-with-wordmark .brand-wordmark small{color:#165a96;-webkit-text-fill-color:#165a96;opacity:1}

/* Bilingual brand text, contact details and privacy content retain the existing palette. */
.brand-wordmark small{white-space:normal;max-width:28ch}.footer-wordmark{min-width:0;gap:8px}.footer-wordmark .brand-wordmark{min-width:0;white-space:normal}.footer-wordmark strong{font-size:20px}.footer-wordmark small{font-size:13px;line-height:1.5}.institutional-course .footer .footer-wordmark .brand-wordmark,.institutional-course .footer .footer-wordmark strong,.institutional-course .footer .footer-wordmark small{color:#fff;-webkit-text-fill-color:#fff}.institutional-course .footer .footer-wordmark .logo-symbol{filter:brightness(0) invert(1);width:70px;height:auto}.institutional-home .footer .footer-wordmark .logo-symbol{width:70px;height:auto;filter:none}.institutional-home .footer .footer-wordmark .brand-wordmark,.institutional-home .footer .footer-wordmark strong,.institutional-home .footer .footer-wordmark small{color:#165a96;-webkit-text-fill-color:#165a96}.institute-contact-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px;padding:24px 18px 0;font-size:16px;line-height:1.7}.institute-contact-links a{min-height:44px;display:inline-flex;align-items:center}.institute-contact-links .contact-whatsapp{text-decoration:underline;text-underline-offset:5px}.privacy-document{max-width:900px;padding-block:36px 52px}.privacy-document section{margin-bottom:30px}.privacy-document h2{font-size:23px;color:#165a96;margin-bottom:12px}.privacy-document p{line-height:1.95;color:var(--ink)}.privacy-hero p{max-width:70ch}.privacy-date{font-size:14px!important;color:var(--muted)}html[lang=he] .card-title{font-size:clamp(22px,2.4vw,32px);line-height:1.3}html[lang=he] .brand-wordmark small{letter-spacing:0}.floating-contact{max-width:calc(100vw - 28px)}
@media(max-width:600px){.footer-wordmark{align-items:flex-start}.footer-wordmark strong{font-size:16px}.footer-wordmark small{font-size:11px}.institutional-course .footer .footer-wordmark .logo-symbol,.institutional-home .footer .footer-wordmark .logo-symbol{width:42px;flex-shrink:0}.institute-contact-links{align-items:center;flex-direction:column;gap:2px;padding-top:24px}.brand-wordmark small{max-width:25ch}.privacy-document h2{font-size:20px}.privacy-document p{font-size:16px}.privacy-hero h1{font-size:28px}.institutional-home .header .brand-with-wordmark,.institutional-course .header .brand-with-wordmark{min-width:0}.nav-courses .course-menu a{white-space:normal}.footer .brand-wordmark{max-width:calc(100% - 48px)}}

.form-privacy-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#165a96;text-decoration:underline;text-underline-offset:4px;margin-bottom:8px}

/* WhatsApp stays at the physical right edge in both RTL languages. */
.floating-whatsapp{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:26;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#128c7e;color:#fff;box-shadow:0 6px 24px #128c7e40;text-decoration:none;transition:background .2s,transform .2s}.floating-whatsapp svg{width:30px;height:30px;flex-shrink:0}.floating-whatsapp:hover{background:#075e54}.floating-whatsapp:focus-visible{outline:3px solid #165a96;outline-offset:4px}.floating-contact{max-width:calc(100vw - 116px)}
@media(max-width:600px){.floating-whatsapp{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:52px;height:52px}.floating-whatsapp svg{width:28px;height:28px}.floating-contact{max-width:calc(100vw - 94px)}body[data-course=qada] .floating-whatsapp{bottom:calc(104px + env(safe-area-inset-bottom))}}

/* Keep contact links readable on the home page's white footer. */
.institutional-home .footer .institute-contact-links a{color:#165a96;-webkit-text-fill-color:#165a96}.institutional-home .footer .institute-contact-links a:hover{color:#043d47;-webkit-text-fill-color:#043d47}
/* Homepage education entrance only: warm orange against the retained navy/teal brand. */
.institutional-home .header .nav-actions a[data-i18n="educationPlatformEntry"]{--focus:#043d47;background:#b94e14;border-color:#b94e14;color:#fff;-webkit-text-fill-color:#fff}
.institutional-home .header .nav-actions a[data-i18n="educationPlatformEntry"]:hover{background:#a6420f;border-color:#a6420f}
.institutional-home .header .nav-actions a[data-i18n="educationPlatformEntry"]:active{background:#8f350b;border-color:#8f350b}
.institutional-home .header .nav-actions a[data-i18n="educationPlatformEntry"]:focus-visible{outline:3px solid #043d47;outline-offset:4px;box-shadow:0 0 0 2px #fff}

/* Homepage-only course objectives: full readable text, never line-clamped. */
body[data-view="home"] .carousel-shell{--card-height:280px}
body[data-view="home"] .course-card .card-audience{font-size:16px;line-height:1.7;margin-top:8px;overflow-wrap:break-word}
@media(max-width:600px){body[data-view="home"] .carousel-shell{--card-height:340px}body[data-view="home"] .course-card .card-audience{font-size:15px;line-height:1.7}}

/* Measurement must use natural text height, never compressed flex children. */
body[data-view="home"] .course-card .card-face> :not(.card-mark){flex-shrink:0}

/* Shared public marketing links and the retained psychometric route. */
.public-footer-courses{display:flex;flex-wrap:wrap;gap:12px 26px;padding-block:20px;font-size:16px}.public-footer-courses a{color:var(--deep)}
.psychometric-section-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:22px}.psychometric-section-nav a{color:var(--deep);text-decoration:underline;text-underline-offset:4px}
.psychometric-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-block:36px 64px}.psychometric-path{padding:26px;border:1px solid #bed9e8;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:18px;scroll-margin-top:150px}.psychometric-path h2{font-size:26px;line-height:1.5;color:var(--deep)}.psychometric-path p{font-size:18px;line-height:1.9;color:#405c70}.psychometric-path button{margin-top:auto}.psychometric-path :focus-visible,.public-footer-courses a:focus-visible,.psychometric-section-nav a:focus-visible{outline:3px solid #b94e14;outline-offset:5px}
@media(max-width:900px){.psychometric-paths{grid-template-columns:1fr}.psychometric-path{scroll-margin-top:190px}.psychometric-path p{font-size:17px}}

@media(max-width:600px){.footer-grid .footer-brand{flex-wrap:wrap;min-width:0}.footer-grid .footer-brand p{flex-basis:100%;max-width:100%}}
