/* ACH I OCH F4: consistent type; no remote fonts, zoom restrictions or icon overrides. */
body.ao-ui-f4{--ao-ui-font:Inter,Arial,Helvetica,sans-serif;font-family:var(--ao-ui-font);font-size:1rem;line-height:1.65}
body.ao-ui-f4 :is(main,header,footer,dialog){font-family:var(--ao-ui-font)}
body.ao-ui-f4 :is(h1,h2,h3,h4,h5,h6,p,li,label,input,select,textarea,button,summary){font-family:var(--ao-ui-font)!important}
body.ao-ui-f4 main h1,body.ao-ui-f4 .page-head h1,body.ao-ui-f4 .hero h1{font-size:clamp(1.9rem,3.3vw,2.75rem)!important;line-height:1.15!important;letter-spacing:-.035em!important;font-weight:750}
body.ao-ui-f4 main h2,body.ao-ui-f4 dialog h2{font-size:clamp(1.45rem,2.15vw,1.875rem)!important;line-height:1.25!important;letter-spacing:-.025em!important;font-weight:700}
body.ao-ui-f4 main h3{font-size:1.18rem!important;line-height:1.35!important;letter-spacing:-.01em!important}
body.ao-ui-f4 main :is(h4,h5,h6){font-size:1.05rem!important;line-height:1.4!important;letter-spacing:normal!important}
body.ao-ui-f4 main :is(p,li),body.ao-ui-f4 .hero p,body.ao-ui-f4 .page-head p,body.ao-ui-f4 .ao-article-body{font-size:1rem!important;line-height:1.7!important;letter-spacing:normal!important}
body.ao-ui-f4 main :is(input,select,textarea,label){font-size:1rem!important;line-height:1.5!important}
body.ao-ui-f4 main :is(button,.button),body.ao-ui-f4 .header .button{font-size:.9375rem!important;line-height:1.4!important}
body.ao-ui-f4 .header nav{font-size:.875rem!important;line-height:1.5!important}
body.ao-ui-f4 .course-card h3,body.ao-ui-f4 .team-card h2,body.ao-ui-f4 .ao-news-card h2{font-size:1.25rem!important;line-height:1.35!important;letter-spacing:-.015em!important}
body.ao-ui-f4 .team-card :is(p,summary),body.ao-ui-f4 .ao-news-card p,body.ao-ui-f4 .course-card p{font-size:.9375rem!important;line-height:1.65!important}
body.ao-ui-f4 .ao-post-meta,body.ao-ui-f4 .ao-news-card-meta,body.ao-ui-f4 .help,body.ao-ui-f4 .ao-news-history{font-size:.875rem!important;line-height:1.55!important}
body.ao-ui-f4 .ao-article-body,body.ao-ui-f4 .legacy-content .elementor-widget-text-editor{line-height:1.7!important}
body.ao-ui-f4 .legacy-content img{max-width:100%;height:auto}
/* Preserve the existing automatic carousel; constrain pictures, not Swiper transforms. */
body.ao-ui-f4 [data-ao-project-gallery-f4]{width:100%;max-width:calc(clamp(300px,62vh,520px)*1.5 + 72px)!important;margin:24px auto 32px!important}
body.ao-ui-f4 [data-ao-project-gallery-f4] .elementor-image-carousel-wrapper{max-width:100%;padding-bottom:32px}
body.ao-ui-f4 [data-ao-project-gallery-f4] .swiper-slide-inner{margin:0 3px;min-width:0;display:flex;align-items:center;justify-content:center;height:clamp(300px,62vh,520px);background:#f7f4f7;border-radius:12px;overflow:hidden}
body.ao-ui-f4 [data-ao-project-gallery-f4] .swiper-slide-image{display:block!important;width:auto!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain;margin:auto}
body.ao-ui-f4 [data-ao-project-gallery-f4] .elementor-swiper-button{color:#92278f;background:#fff;border-radius:50%;padding:8px;box-shadow:0 2px 8px #0002}
body.ao-ui-f4 [data-ao-project-gallery-f4] .elementor-swiper-button:focus-visible{outline:3px solid #92278f;outline-offset:2px}
@media(max-width:760px){body.ao-ui-f4 .header nav{font-size:.9375rem!important}}

@media(max-width:1024px){body.ao-ui-f4 [data-ao-project-gallery-f4]{max-width:calc(clamp(300px,62vh,520px)*.75 + 66px)!important}}
