/* Замороженный старый дизайн сайта (до редизайна 2026), только для /tests/ */
@charset "UTF-8";
html, body, h1, h2, h3, h4, h5, ul, li, ol, dl, dt, dd, p, img, table, address, blockquote, fieldset {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
  border: 0;
}

@font-face {
  src: url(/assets/fonts/iAWriterDuoS-Regular.woff2) format("woff2");
  font-family: iA Writer Duo;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  src: url(/assets/fonts/iAWriterDuoS-Bold.woff2) format("woff2");
  font-family: iA Writer Duo;
  font-weight: bold;
  font-style: normal;
}
@font-face {
  src: url(/assets/fonts/iAWriterDuoS-Italic.woff2) format("woff2");
  font-family: iA Writer Duo;
  font-weight: normal;
  font-style: italic;
}
@font-face {
  src: url(/assets/fonts/iAWriterDuoS-BoldItalic.woff2) format("woff2");
  font-family: iA Writer Duo;
  font-weight: bold;
  font-style: italic;
}
html {
  font-size: 18px;
}

body {
  color: #222;
  color: #222;
  background: #fafafa;
  font: normal normal 1rem/1.45 Georgia, serif;
  -webkit-text-size-adjust: none;
  visibility: hidden;
}
body.is__ready {
  visibility: visible;
}

.global-container {
  padding: 1em 2em;
}

.narrow-container {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .narrow-container {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}

.full-width-container {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
@media (max-width: 480px) {
  .full-width-container {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}

.nudge-top-container {
  padding-top: 0;
  margin-top: -3rem;
}

a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.175em;
  text-decoration-color: color-mix(in srgb, currentColor, transparent 80%);
  text-decoration-skip: none;
  text-decoration-skip-ink: none;
}
a:hover {
  color: #0086b3;
}
a:active {
  color: #c33012;
}

* + p,
p + * {
  margin-top: 0.5lh;
}

h1 {
  margin: 2lh 0 0;
  font-size: 2rem;
  line-height: 1.1;
}

h2 {
  font-size: 1.5rem;
  margin: 1lh 0 0 !important;
}

h3 {
  font-size: 1rem;
  font-weight: bold;
}

ul + *,
ol + * {
  margin-top: 0.5lh;
}

ul {
  list-style: none outside;
  margin-left: 2rem;
  padding-left: 0;
}

h3 + ul {
  margin-left: 0;
}

h3 + p,
p + ul,
p + ol {
  margin-top: 0;
}

li + * {
  margin-top: 0.33lh;
}

li > ul, li > ol {
  margin: 0.45em 0 0 2em;
}

li > ul li, li > ol li {
  font-size: 1em;
}

ol {
  margin-left: 1em;
  list-style: none outside;
  counter-reset: ol-counter;
}

ol > li:before {
  position: absolute;
  margin-left: -1em;
  content: counter(ol-counter) ". ";
  counter-increment: ol-counter;
}

ol > li > p:last-child {
  margin-bottom: 0;
}

dd {
  margin-left: 2rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

hr {
  position: relative;
  margin: 1lh 0;
  height: 1px;
  border: 0;
  box-shadow: inset 0 -2px 0 -1px rgba(0, 0, 0, 0.15);
}

blockquote + * {
  margin-top: 0.5lh;
}

blockquote {
  padding: 0 0 0 2rem;
  border-left: 5px solid #eee;
}
blockquote.pull-right {
  padding: 0 1.88rem 0 0;
  border-left: none;
  border-right: 5px solid #eee;
  text-align: right;
}
blockquote small {
  color: #515151;
}
blockquote small:before, blockquote.pull-right small:after {
  content: "— ";
}
blockquote.pull-right small:before {
  display: none;
}

* + div:has(pre) {
  margin-top: 0.5lh;
}

div:has(pre) + * {
  margin-top: 1lh;
}

pre {
  white-space: pre-wrap;
  overflow-x: auto;
}

pre, code {
  color: #222;
  font-family: Monaco, Menlo, Consolas, Lucida Console, Bitstream Vera Sans Mono, Courier New, monospace;
  font-size: 88.8%;
}

pre code {
  color: #0086b3;
  font-size: 1em;
  white-space: pre-wrap;
}

table {
  margin: 0 0 1lh;
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0.3em 1em 0 0;
  font-family: Helvetica Neue, Arial, sans-serif;
  font-size: 0.875em;
  text-align: left;
  vertical-align: top;
}

th {
  padding-top: 0;
  border-bottom: 1px solid #000;
}

.post {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .post {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}

* + .post-contents {
  margin-top: 0.5lh;
}

.post-meta {
  font-size: 16px;
  margin-top: 0.25lh;
}

.post-date, .post-nav {
  font-size: 0.875em;
  display: block;
  font-family: Helvetica Neue, Arial, sans-serif;
  color: rgb(161.5, 161.5, 161.5);
}

.post-nav {
  display: flex;
  margin: 2.64rem 0;
  padding: 0;
  list-style: none outside;
}
.post-nav li {
  margin: 0;
  padding: 0;
}

.post-nav-spacer {
  margin: 0 1em !important;
  white-space: nowrap;
}

.lead {
  margin: 0 0 1.05rem;
  font: 1.25rem/1.5 Georgia, serif;
}

* + .outstanding,
* + .outstanding--therule,
* + .outstanding--important {
  margin-top: 1lh;
}

.outstanding + *,
.outstanding--therule + *,
.outstanding--important + * {
  margin-top: 2lh;
}

.outstanding {
  text-align: center;
  font: 1.125rem/1.5 Georgia, serif;
}

.outstanding--therule, .outstanding--important {
  border: 2px solid;
  border-radius: 2px;
  padding: 0.5em 1em 0.6em;
}

.outstanding--important {
  border-color: transparent;
}

.img--break + *,
.youtubeVideo + * {
  margin-top: 2lh;
}

.youtubeVideo {
  max-width: 100%;
  aspect-ratio: 560/315;
  position: relative;
}

.youtubeVideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.social-likes {
  margin: 0.75rem -0.3em 0 !important;
}

.post-course {
  margin-top: 1.25rem;
  display: flex;
}

.post-course-img {
  flex: 1;
  max-width: 15.5em;
  margin-right: 10px;
}

@media (max-width: 769px) {
  .post-course {
    flex-wrap: wrap;
  }
  .post-course-img {
    min-width: 100%;
    margin-bottom: 10px;
  }
}
.post-course-description {
  flex: 1;
  margin-top: -3px;
}

.related-posts {
  -webkit-columns: 3;
  columns: 3;
  margin-left: 0;
}
@media (max-width: 480px) {
  .related-posts {
    columns: 2;
  }
}
.related-posts li {
  display: inline-block;
  vertical-align: top;
  padding-left: 0;
  width: 100%;
}
.related-posts:not(.related-posts--too-old) li:nth-child(n+10) {
  display: none;
}
.related-posts--too-old li:nth-child(n+16) {
  display: none;
}

.my_presence {
  background: #f5f5f5;
  padding: 1em 0 1.1em 1.5em;
  border-radius: 4px;
  margin: 0 0 0 -1.5em;
}

.my_presence-link {
  margin-right: 1.5em;
}
.my_presence-link.is__active {
  color: #c33012;
  box-shadow: none;
}

.old_posts {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .old_posts {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}

.old_posts-list {
  margin-top: 0;
  margin-left: 0;
}
.old_posts-list li {
  padding-left: 0;
}
.old_posts-list .favorite:before {
  display: inline-block;
  content: "★";
  position: absolute;
  width: 1.5em;
  margin-left: -1.5em;
  margin-top: 0.27em;
  color: #414141;
  font-size: 0.7em;
  text-align: center;
}

.header {
  position: absolute;
  left: 0;
  right: 0;
  font-style: italic;
}

.header-contents {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 480px) {
  .header-contents {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}

.bottom-contents {
  font-size: 88%;
  background: #f5f5f5;
}

.related {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .related {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}
.related + .related {
  padding-top: 0;
}

#footer {
  max-width: 38rem;
  padding: 3rem 4rem 6rem 2rem;
  margin: 0 auto;
}
@media (max-width: 480px) {
  #footer {
    padding: 3rem 3rem 4.5rem 1.5rem;
  }
}

/*
 * GitHub style for Pygments syntax highlighter, for use with Jekyll
 * Courtesy of GitHub.com
 */
.highlight .c {
  color: #999988;
  font-style: italic;
}

.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}

.highlight .k {
  font-weight: bold;
}

.highlight .o {
  font-weight: bold;
}

.highlight .cm {
  color: #999988;
  font-style: italic;
}

.highlight .cp {
  color: #999999;
  font-weight: bold;
}

.highlight .c1 {
  color: #999988;
  font-style: italic;
}

.highlight .cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}

.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}

.highlight .gd .x {
  color: #000000;
  background-color: #ffaaaa;
}

.highlight .ge {
  font-style: italic;
}

.highlight .gr {
  color: #aa0000;
}

.highlight .gh {
  color: #999999;
}

.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}

.highlight .gi .x {
  color: #000000;
  background-color: #aaffaa;
}

.highlight .go {
  color: #888888;
}

.highlight .gp {
  color: #555555;
}

.highlight .gs {
  font-weight: bold;
}

.highlight .gu {
  color: #800080;
  font-weight: bold;
}

.highlight .gt {
  color: #aa0000;
}

.highlight .kc {
  font-weight: bold;
}

.highlight .kd {
  font-weight: bold;
}

.highlight .kn {
  font-weight: bold;
}

.highlight .kp {
  font-weight: bold;
}

.highlight .kr {
  font-weight: bold;
}

.highlight .kt {
  color: #445588;
  font-weight: bold;
}

.highlight .m {
  color: #009999;
}

.highlight .s {
  color: #dd1144;
}

.highlight .n {
  color: #333333;
}

.highlight .na {
  color: teal;
}

.highlight .nb {
  color: #0086b3;
}

.highlight .nc {
  color: #445588;
  font-weight: bold;
}

.highlight .no {
  color: teal;
}

.highlight .ni {
  color: purple;
}

.highlight .ne {
  color: #990000;
  font-weight: bold;
}

.highlight .nf {
  color: #990000;
  font-weight: bold;
}

.highlight .nn {
  color: #555555;
}

.highlight .nt {
  color: navy;
}

.highlight .nv {
  color: teal;
}

.highlight .ow {
  font-weight: bold;
}

.highlight .w {
  color: #bbbbbb;
}

.highlight .mf {
  color: #009999;
}

.highlight .mh {
  color: #009999;
}

.highlight .mi {
  color: #009999;
}

.highlight .mo {
  color: #009999;
}

.highlight .sb {
  color: #dd1144;
}

.highlight .sc {
  color: #dd1144;
}

.highlight .sd {
  color: #dd1144;
}

.highlight .s2 {
  color: #dd1144;
}

.highlight .se {
  color: #dd1144;
}

.highlight .sh {
  color: #dd1144;
}

.highlight .si {
  color: #dd1144;
}

.highlight .sx {
  color: #dd1144;
}

.highlight .sr {
  color: #009926;
}

.highlight .s1 {
  color: #dd1144;
}

.highlight .ss {
  color: #990073;
}

.highlight .bp {
  color: #999999;
}

.highlight .vc {
  color: teal;
}

.highlight .vg {
  color: teal;
}

.highlight .vi {
  color: teal;
}

.highlight .il {
  color: #009999;
}

.highlight .gc {
  color: #999;
  background-color: #EAF2F5;
}
@media screen and (max-width: 980px) {
  @media (max-width: 768px) {
    .global-container {
      padding: 1em;
    }
  }
  
  @media (max-width: 600px) {
    html {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    html {
      font-size: 16px;
    }
  
    .global-container {
      padding: 1em 0;
    }
  }
}
