/* Phone refinements: compact navigation, readable fields and generous touch controls. */
.afr-header-shell .afr-nav-toggle{flex-shrink:0}
.afr-header-shell .menu-toggle{white-space:nowrap;min-height:44px}
.afr-header-shell nav.e-con.open{max-height:calc(100dvh - 84px);overscroll-behavior:contain;padding:12px 22px;gap:0!important}
body.admin-bar .afr-header-shell nav.e-con.open{max-height:calc(100dvh - 130px)}
.afr-header-shell #main-nav>div{padding:0}
.afr-header-shell #main-nav .afr-nav-dropdown{padding:0;border:0}
.afr-header-shell #main-nav .afr-nav-dropdown summary{min-height:48px;padding:10px 0}
.afr-header-shell #main-nav .elementor-button,.afr-header-shell #main-nav .afr-nav-direct,.afr-header-shell #main-nav .afr-header-careers>a{min-height:48px;display:flex;align-items:center;padding:10px 0!important}
.afr-header-shell #main-nav .afr-mobile-contact a{min-height:48px;padding:10px 0!important}
.afr-header-shell #main-nav .afr-nav-panel{margin:0 0 12px;padding:0 0 0 8px}
.afr-header-shell #main-nav .afr-nav-panel a{min-height:44px;padding:10px 12px!important;white-space:normal;line-height:1.6}
html:has(#main-nav.open){overflow:hidden}
main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),main select,main textarea{font-size:16px!important;min-height:46px}
main input,main select,main textarea{max-width:100%;min-width:0}
.afr-home-carousel .hero-visual>.elementor-widget-image img{height:clamp(260px,82vw,330px)}
.afr-home-carousel .afr-slider-controls{gap:6px}
.afr-slider-progress{gap:5px}
.afr-slider-progress>span{min-width:38px}
.afr-slider-dots button{height:44px}
.afr-slider-actions{gap:6px}
.afr-slider-arrow{width:44px;height:44px;flex-shrink:0}
.journal-viewer-stage button{width:44px;height:44px;bottom:10px}
.journal-viewer-stage .journal-prev{left:calc(50% - 50px)}
.journal-viewer-stage .journal-next{right:calc(50% - 50px)}
.afr-footer-redesign .afr-social-icons a{width:44px;height:44px}
body:has(main input:focus,main select:focus,main textarea:focus) .back-top{visibility:hidden}
@media(max-width:360px){
    .afr-header-shell .brand,.afr-header-shell .brand img{width:145px!important}
    .afr-header-shell .header-inner{gap:12px!important}
    .afr-home-carousel .hero-copy .elementor-widget-heading .elementor-heading-title{font-size:34px}
}
