/* Narrow screens: reserve real space for branding and every control, in both directions. */
@media(max-width:760px){
html{scroll-padding-top:150px}body{overflow-wrap:break-word}
.hub-header .bar{display:flex!important;flex-direction:column;align-items:stretch;flex-wrap:wrap!important;gap:8px;padding:10px 12px}
.hub-header .brand{width:100%;min-width:0;justify-content:center;font-size:15px;gap:8px}
.hub-header .brand-text{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:start}
.hub-header .site-logo{flex:0 0 38px;width:38px;height:40px}
.hub-header-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);width:100%;gap:8px;align-items:stretch}
.hub-header-actions>*{min-width:0;max-width:100%;position:static!important;margin:0!important;min-height:44px;box-sizing:border-box}
.hub-header #global-support{display:flex;align-items:center;justify-content:center;padding:7px;font-size:13px;white-space:normal;gap:5px}
.hub-header #global-support .wayfinding-photo,.hub-header #global-support .item-view-count{display:none!important}
.hub-header #search-open{font-size:0;padding:5px}.hub-header #search-open:after{content:'⌕';font-size:24px}
.hub-header #language{width:100%;font-size:14px;padding:6px}
.hub-topic-tabs#main-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
#main-nav .hub-topic{min-width:0!important;width:auto!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere;padding:10px 5px!important;line-height:1.5!important;font-size:13px!important;gap:7px!important}
.hub-topic>*{max-width:100%}.hub-subgroup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hub-subtab{min-width:0;white-space:normal;overflow-wrap:anywhere;gap:6px}
.hub-heading,.actions,.status-tools.daily-actions{flex-wrap:wrap;min-width:0}.actions>*{max-width:100%;white-space:normal}.content-grid>*{min-width:0}audio,video,iframe{max-width:100%}input,select,textarea{max-width:100%}
.homepage-cover{height:auto!important;max-height:none!important;overflow:visible!important}.homepage-cover>img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.homepage-cover #lebanon-now{position:static!important;width:100%!important;max-width:none!important;color:#234b68!important;display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:8px 12px!important;text-shadow:none!important}
#lebanon-now>*{min-width:0;max-width:100%}.prayer-entrance{max-width:calc(100% - 24px)}
.global-home-button,a.support-float{bottom:calc(10px + env(safe-area-inset-bottom))!important;font-size:11px!important;white-space:normal!important;line-height:1.4;max-width:calc(50vw - 20px)!important;min-height:44px;text-align:center}
.global-home-button{left:10px!important;right:auto!important}a.support-float{right:10px!important;left:auto!important}.global-home-button .item-view-count,a.support-float .item-view-count{display:none!important}
footer{padding-inline:16px!important;padding-bottom:110px!important}.footer-links a{overflow-wrap:anywhere}.hub-ready #hub-content>section{scroll-margin-top:150px}
}
@media(max-width:360px){.hub-topic-tabs#main-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hub-subgroup{grid-template-columns:1fr}.brand-text{font-size:13px}}
