@charset "windows-1251";
/* ===== Новая раскладка: компьютер ===== */
*,*:before,*:after{box-sizing:border-box}
img{max-width:100%;height:auto}
body{margin:8px 0 0 0}
.kt-mob,.kt-shade{display:none}
.kt-wrap{display:flex;align-items:stretch;width:99%;margin-left:auto;min-height:685px}
.kt-side{flex:0 0 284px;width:284px;margin-right:7px}
.kt-card{background:#252525;text-align:center;padding:8px 0 9px}
.kt-logo{margin:3px 0}
.kt-portret{margin:6px 0}
.kt-name{font-family:Verdana,sans-serif;font-size:24px;color:#fff}
.kt-prof{font-family:Arial,sans-serif;font-size:9pt;color:#D6D6D6;margin-top:3px}
.kt-razd{margin:0 0 10px 0}
.kt-razd li{margin:3px 0}
.kt-maski{margin:10px 0 20px}
.kt-tetr{display:flex;flex-direction:column;align-items:center}
.kt-tetr a{display:flex;align-items:center;justify-content:center;width:200px;height:80px;
  background:url(../im/tetr2.jpg) no-repeat;text-align:center}
.kt-bomba{margin:20px 0}
.kt-pru{flex:0 0 53px;background:url(../im/pru.gif)}
.kt-main{flex:1 1 auto;min-width:0;background:#DBD5EC;padding-bottom:20px}
.kt-box{width:97%;background:#E9E9E9;text-align:left;padding:0 0 15px}
.kt-razdel{width:80%;margin:0 auto}
.kt-poems{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.kt-poem{text-align:left}
.kt-foot{display:flex;justify-content:center;gap:60px;margin:10px 0 20px}

/* ===== Планшет ===== */
@media (max-width:1100px){
  .kt-razdel{width:94%}
  .niz{display:none}
}

/* ===== Телефон ===== */
@media (max-width:820px){
  body{margin:0;background-size:cover}
  .kt-mob{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:50;
    background:#252525;padding:8px 12px}
  .kt-mob img{height:26px;width:auto}
  .kt-burger{background:none;border:0;padding:6px;cursor:pointer}
  .kt-burger span{display:block;width:26px;height:3px;margin:5px 0;background:#fff;border-radius:2px;transition:.3s}
  .kt-open .kt-burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .kt-open .kt-burger span:nth-child(2){opacity:0}
  .kt-open .kt-burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .kt-wrap{display:block;width:100%;min-height:0}
  .kt-pru{display:none}
  .kt-side{position:fixed;top:0;left:0;bottom:0;z-index:60;width:290px;max-width:85%;margin:0;
    overflow-y:auto;background:#f4f1ea;transform:translateX(-105%);transition:transform .3s;
    box-shadow:2px 0 12px rgba(0,0,0,.3);padding-bottom:20px}
  .kt-open .kt-side{transform:none}
  .kt-open .kt-shade{display:block;position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.45)}
  .kt-open{overflow:hidden}
  .kt-maski img{width:200px}
  .kt-main{padding:0 0 15px}
  .kt-box{width:100%}
  .kt-razdel{width:auto;margin:0 12px}
  .kt-razdel b.a20{font-size:18px}
  .kt-poems{grid-template-columns:1fr}
  .kt-poem .a16{font-size:17px;line-height:1.45}
  .p5 img{max-width:90%}
  .kt-foot{gap:20px;flex-wrap:wrap}
}

/* ===== Печать на страницах разделов (телефон) =====
   Штамп поднят вверх: половина на заглавии раздела, половина вверху
   поля со стихами, поэтому стихи он не закрывает. */
@media (max-width:820px){
  #norpt{position:relative;background-image:none !important;padding-top:80px !important}
  #norpt::before{content:"";position:absolute;top:-79px;right:0;width:170px;height:158px;
    background:url(../im/pe.gif) no-repeat right top;pointer-events:none;z-index:0}
  td[bgcolor="#D9DCDF"]{position:relative;z-index:1}
}
