main > .title {
  flex-direction: column;
}

main > .title > .date {
  font-size: 14px;
  color: var(--third-text);
}
main > .title > h1 {
  font-size: 50px;
}
main > .title > h1:after {
  display: none;
}
.image {
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  position: relative;
  overflow: hidden;
  height: 580px;
  margin-top: -80px;
}

.image:after {
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  margin-bottom: -1px;
}

.image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 900px) {
  .image {
    height: 380px;
  }
}

@media screen and (max-width: 576px) {
  .image {
    height: 280px;
  }
}

@media screen and (max-width: 1200px) {
  main > .title > h1 {
    padding-bottom: 0;
  }
}

.description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  color: var(--second-text);
  word-wrap: break-word;
  white-space: break-spaces;
}

/* Заголовки */
.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

/* Параграфы */
.description p {
  margin: 0;
  line-height: 1.6;
}

/* Ссылки */
.description a {
  color: var(--color);
  text-decoration: underline;
}
.description a:hover {
  text-decoration: none;
}

/* Цитаты */
.description blockquote {
  margin: 16px 0;
  padding: 12px 20px;
  border-left: 4px solid var(--color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--second-text);
  font-style: italic;
}

/* Горизонтальная линия */
.description hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 24px 0;
}

/* Списки */
.description ul,
.description ol {
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
}

/* Картинки */
.description img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  margin: 12px 0;
  display: block;
}

/* Код */
.description pre {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 16px 0;
}

.description code,
.description kbd,
.description samp {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
}

/* Выделение */
.description b,
.description strong {
  font-weight: 700;
  color: var(--markdown-bold);
}
.description mark {
  background: #ff0;
  color: var(--black);
  padding: 0 4px;
}

/* Верхние и нижние индексы */
.description sup,
.description sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.description sup {
  top: -0.5em;
}
.description sub {
  bottom: -0.25em;
}

/* Таблицы */
.description table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.description th,
.description td {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.description th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: bold;
}
