/* Shared accessibility and responsive layout corrections. */
:root{--ay-safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:84px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;overflow-wrap:break-word;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
img,video{max-width:100%}img{height:auto}
*,*::before,*::after{box-sizing:border-box}
.ay-skip-link{position:fixed;left:12px;top:-100px;z-index:200000;background:#fff;color:#102340;padding:12px 18px;border-radius:8px}
.ay-skip-link:focus{top:8px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #087fa6;outline-offset:3px}
html body .ay-site-header{z-index:100000}
html body .ay-mobile-panel{max-height:calc(100dvh - 140px - var(--ay-safe-bottom));overscroll-behavior:contain}
html body #ay-apk-guide{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto}
html body .haber-page .haber-side-img img,html body .haber-page .haber-image-wrap img{height:100%;object-fit:cover}
html body .haber-page .haber-feature img{object-fit:cover}
.ah-home .ah-card,.ah-home .ah-card-body,.haber-card,.haber-side-item>div{min-width:0}
.ah-home .ah-card-actions button{min-width:44px}
@media(max-width:768px){
 html body{padding-bottom:calc(66px + var(--ay-safe-bottom))}
 input,select,textarea{font-size:16px}
 html body .haber-page{padding:0 12px 24px;width:100%;max-width:100%}
 html body .haber-portal-head{padding:16px 12px;gap:12px;flex-wrap:wrap}
 html body .haber-brand{min-width:0}html body .haber-brand strong{font-size:26px}
 html body .haber-section-title{gap:12px;flex-wrap:wrap}
 html body .haber-section-title h1{font-size:clamp(22px,6vw,30px);overflow-wrap:anywhere}
 html body .haber-feature{min-width:0}html body .haber-feature h2{overflow-wrap:anywhere}
 html body .ay-mobile-bottom a{min-height:44px}
 html body .ay-header-inner{gap:8px}
 html body .ay-logo{min-width:0;max-width:calc(100% - 60px)}
 html body .ay-logo>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .ay-menu-button{flex-shrink:0;min-width:44px}
 html body .ay-site-header .ay-header-actions{flex-shrink:0}
 html body .ah-home .ah-slide-copy{max-width:calc(100% - 40px)}
 html body .ah-home .ah-search{min-width:0;max-width:100%}
 html body .ah-home .ah-search input{min-width:0;width:100%}
 html body .ah-home .ah-meta,html body .ah-home .ah-news-source{color:#43556c}
 html body .haber-page .haber-meta,html body .haber-page time{color:#485463}
}
@media(max-width:380px){
 html body .haber-page .haber-grid,html body .ah-home .ah-news-grid{grid-template-columns:minmax(0,1fr)}
 html body .ay-footer-copy{max-width:100%}
 html body .ay-footer-bottom{gap:12px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.haber-actions button{font-family:inherit;cursor:pointer}
@media(max-width:768px){
 html body .haber-actions{flex-wrap:wrap}
 html body .haber-actions .haber-action{min-height:44px;min-width:44px;justify-content:center}
 html body .haber-nav a{display:inline-flex;align-items:center;min-height:44px}
 html body .haber-pagination a{display:inline-flex;align-items:center;min-height:44px}
}
