/*
Theme Name: Крылья Сибири — исправления аудита
Template: krylya-sibiri
Version: 1.2.4
Text Domain: ks-audit
*/
:root{--ks-audit-link:#226362}
.page-content a:not(.btn):not(.ks-afisha-ticket),.editorial-main a:not(.btn):not(.ks-afisha-ticket),.muted{color:var(--ks-audit-link)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a44b00;outline-offset:4px}
.ks-audit-pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:25px 0}
.ks-audit-pagination a,.ks-audit-pagination span{padding:8px 13px;border:1px solid #a1b7b6;border-radius:6px}
.ks-audit-pagination [aria-current]{background:#245e5d;color:#fff}
.ks-audit-archive-link{display:inline-block;padding:12px 17px;border:1px solid #91aaa9;border-radius:8px;margin:20px 0}
.ks-afisha-poster img{height:auto;aspect-ratio:3/4;object-fit:contain;background:#edf2f2}
.ks-event-status{padding:10px 14px;background:#f5ead8;border-left:4px solid #946012}
.ks-audit-doc-meta{font-size:.85em;color:#455b5a;white-space:nowrap}
.ks-audit-ticket-state{padding:18px;background:#eef4f3;border-radius:10px;margin-bottom:20px}
.ks-home-afisha{margin:32px 0}
.ksa-max-mark{display:inline-block;font:800 25px/1.2 system-ui,sans-serif;letter-spacing:-1px;color:#21487c}
.ksa-search{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.ksa-search label{width:100%}.ksa-search input{min-width:0;max-width:100%;padding:9px;border:1px solid #879b9a;border-radius:5px}.ksa-search button{padding:9px 15px;min-height:44px;background:#245e5d;color:#fff;border:0;border-radius:5px}.ksa-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px}
@media(max-width:600px){.ks-home-afisha .ks-afisha-grid{grid-template-columns:1fr}.ks-audit-pagination a,.ks-audit-pagination span{min-height:44px;display:inline-flex;align-items:center}}

/* Same palette with sufficient contrast for small text on the pale page background. */
:root{--accent:#2d7270}
.ks-vk-icon{background:#0062cc!important}
/* Manual checks cover gradients and text over photographs that axe cannot resolve. */
.editorial-sidebar #custom_html-17 .max-channel>a:last-child{background:linear-gradient(110deg,#2b5dc8,#7035b8)!important;color:#fff!important}
@media(min-width:961px){.hero-shade{background:linear-gradient(90deg,rgba(28,42,50,.82) 0%,rgba(28,42,50,.72) 36%,rgba(28,42,50,.50) 65%,rgba(0,0,0,0) 100%)}}

/* The existing low-vision controls enlarge menu text beyond its desktop row. */
body.visually-impaired-controls-enable .site-header{position:relative;top:auto}
body.visually-impaired-controls-enable .header-row{flex-wrap:wrap}
body.visually-impaired-controls-enable .brand-wrap{flex-shrink:1;min-width:0;max-width:100%}
body.visually-impaired-controls-enable .site-header .nav{flex-wrap:wrap;min-width:0;max-width:100%}
body.visually-impaired-controls-enable .site-header .menu{flex-wrap:wrap;min-width:0;max-width:100%}
body.visually-impaired-controls-enable .site-header .menu>li{max-width:100%;flex-wrap:wrap}
body.visually-impaired-controls-enable .site-header .menu a{white-space:normal;overflow-wrap:anywhere}
body.visually-impaired-controls-enable .site-header .nav>.ticket{position:static;white-space:normal;max-width:100%}
body.visually-impaired-controls-enable .site-header .menu-schedule>a{width:auto;text-align:left}
body.visually-impaired-controls-enable .site-header .menu>li.menu-schedule{flex:0 1 auto}
