/* Responsive shell for the preserved, fixed-layout publication pages. */
@font-face{font-family:AP Onest;src:url('/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2');font-style:normal;font-weight:100 900}
@font-face{font-family:AP Prata;src:url('/assets/fonts/prata-cyrillic-400-normal.woff2') format('woff2');font-style:normal;font-weight:400}
@media(max-width:1023px){
  html,body{max-width:100%;overflow-x:hidden}
  body{font:16px/1.5 'AP Onest',Arial,sans-serif;color:#292b27}
  #container{box-sizing:border-box;width:100%!important;max-width:620px;margin:0 auto!important;padding:16px!important;display:grid;grid-template-columns:1fr 1fr;gap:16px 12px}
  #middle{grid-column:1/-1;grid-row:1;width:100%!important;min-width:0;float:none!important}
  #left-button,#right-button{box-sizing:border-box;width:100%!important;height:auto!important;float:none!important}
  #left-button{grid-column:1;grid-row:2;text-align:left}
  #right-button{grid-column:2;grid-row:2;text-align:right}
  #left-button p,#right-button p{display:none}
  #left-button p:has(a),#right-button p:has(a){display:block}
  #left-button a,#right-button a{display:inline-flex;min-width:56px;min-height:56px;align-items:center;justify-content:center}
  #left-button img,#right-button img{max-width:64px;height:auto}
  #top-title{box-sizing:border-box;width:100%!important;float:none!important;padding:0 0 12px!important;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px}
  #top-title>.font1,#top-title2 .font1{font:13px/1.5 'AP Onest',Arial,sans-serif}
  #top-title2{width:auto!important;max-width:100%;float:none!important}
  #top-title2 table{width:auto!important;max-width:100%}
  #top-title2 table td:first-child{display:none}
  #top-title2 table td{width:auto!important}
  #top-title2 table td:last-child a{white-space:nowrap}
  #content,#content-top,#content-middle,#content-bottom{box-sizing:border-box;width:100%!important;float:none!important}
  #content{min-width:0}
  #content-top,#content-middle,#content-bottom{height:auto!important;background:none!important}
  #content-top{display:flex;align-items:start;gap:12px;padding:14px 16px;border:1px solid #d6d9d1;border-bottom:0;background:#f4efe3!important}
  #content-top1{width:auto!important;min-width:0;flex:1;float:none!important;padding:0!important;font:400 22px/1.25 'AP Prata',Georgia,serif!important;overflow-wrap:anywhere}
  #content-top2{width:auto!important;float:none!important;padding:3px 0 0!important;font:13px/1.4 'AP Onest',Arial,sans-serif!important;white-space:nowrap}
  #content-middle{border-inline:1px solid #d6d9d1}
  #content-middle1{box-sizing:border-box;width:100%!important;float:none!important;padding:18px!important;font:16px/1.6 'AP Onest',Arial,sans-serif!important}
  #content-middle2{max-width:calc(100% - 32px);float:none!important;margin:16px!important}
  .text-container{box-sizing:border-box;width:100%;padding:16px!important;margin-top:0!important;line-height:1.55!important}
  .use-as-video{float:none!important;padding:0!important}
  .use-as-video img,#content-middle img{max-width:100%;height:auto}
  #content-middle pre{max-width:100%;white-space:pre-wrap!important;overflow-wrap:anywhere}
  #content-bottom{padding:8px 16px 14px;border:1px solid #d6d9d1;border-top:0}
  #content-bottom2{width:100%!important;height:auto!important;padding:0!important}
  #content-bottom2 table{width:100%!important;table-layout:auto}
  #content-bottom2 td{width:auto!important;height:auto!important}
  #content-bottom2 a{display:inline-flex;min-width:25px;min-height:36px;align-items:center;justify-content:center;font:13px/1.4 'AP Onest',Arial,sans-serif}
}
