html,
body.nova-post-body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: Roboto, Arial, sans-serif;
}

.nova-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.nova-post-logo {
  display: inline-flex;
  align-items: center;
  color: #111;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.nova-post-logo img {
  display: block;
  width: 118px;
  max-height: 54px;
  object-fit: contain;
}

.nova-post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: flex-end;
}

.nova-post-nav a,
.nova-post-back,
.nova-post-pagination a {
  color: #111;
  text-decoration: none;
}

.nova-post-nav a {
  font-size: 16px;
  font-weight: 600;
}

.nova-post-nav a:hover,
.nova-post-back:hover,
.nova-post-pagination a:hover {
  color: #e20338;
}

.nova-post-main {
  padding: 54px 20px 90px;
}

.nova-post-article {
  width: min(920px, 100%);
  margin: 0 auto;
}

.nova-post-back {
  display: inline-flex;
  margin-bottom: 34px;
  font-size: 17px;
  font-weight: 600;
}

.nova-post-article h1 {
  max-width: 880px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}

.nova-post-date {
  display: block;
  margin-bottom: 34px;
  color: #777;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nova-post-hero {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  object-position: center;
  margin: 0 0 44px;
  background: #f7f7f7;
}

.nova-post-content {
  font-size: 20px;
  line-height: 1.65;
}

.nova-post-content a {
  color: #e20338;
  overflow-wrap: anywhere;
}

.nova-post-content figure {
  margin: 42px 0;
}

.nova-post-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
}

.nova-post-content p {
  margin: 0 0 22px;
}

.nova-post-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid #ececec;
  font-size: 17px;
  font-weight: 700;
}

@media screen and (max-width: 720px) {
  .nova-post-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nova-post-nav {
    justify-content: flex-start;
  }

  .nova-post-main {
    padding-top: 36px;
  }

  .nova-post-content {
    font-size: 18px;
  }

  .nova-post-pagination {
    flex-direction: column;
  }
}
