.post-title {
  color: #1e1e1e;
  text-align: center;
  font-family: Red Hat Display, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
}

.post-wrap {
  display: flex;
  gap: 82px;
  margin-top: 30px;
}

.post-content strong {
  font-weight: 800;
}

.post-content p:last-of-type {
  margin-bottom: 0;
}

.post-content p + h4,
.post-content ul + h4 {
  margin-top: 35px;
}

.post-content ul ul {
  margin-top: 15px;
  margin-bottom: 15px;
}

.post-content ul li {
  list-style: none;
  position: relative;
}

.post-content ul li::before {
  content: "";
  background: #1e1e1e;
  min-width: 3px;
  min-height: 3px;
  border-radius: 100%;
  left: -14px;
  top: 9px;
  display: inline-block;
  position: absolute;
}

@media screen and (min-width: 769px) {
  .post-wrap {
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .post-wrap {
    padding-bottom: 10px;
  }

  .post-container {
    padding-top: 8px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .post-content {
    max-width: 611px;
  }

  .post-container {
    padding-top: 10px;
  }
}

@media screen and (min-width: 1201px) {
  .post-container {
    padding-top: 20px;
  }

  .post-content {
    max-width: 690px;
  }
}

/* navigation */

.post-navigation-list {
  display: flex;
  flex-direction: column;
}

.post-navigation a.visited {
  font-weight: 700;
}
.post-navigation-item {
  line-height: 1.2;
}

.post-h4-navigation a {
  font-size: 14px;
  display: block;
  padding-top: 5px;
  transition: none;
  padding-bottom: 5px;
  position: relative;
}

.post-h4-navigation a.visited::before {
  background: #52225e;
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .post-wrap {
    gap: 40px;
  }
  .post-content {
    flex-basis: calc(100% - 293px);
  }
}

@media screen and (max-width: 768px) {
  .post-h4-navigation .post-navigation-list {
    max-height: 200px;
    overflow: scroll;
  }

  .scroll-disabled .site-main.scrolled::before {
    display: none;
  }

  .site-main.scrolled::before {
    content: "";
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.59) 18.57%,
      rgba(255, 255, 255, 0.59) 100%
    );
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    height: 250px;
    position: fixed;
    z-index: 2;
  }
  .post-wrap.menu-open::before {
    content: "";
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.79) 18.57%,
      rgba(255, 255, 255, 0.79) 100%
    );
    inset: 0;
    position: absolute;
    z-index: 5;
  }

  .post-navigation-list {
    overflow: hidden;
    padding: 20px 25px;
  }

  .post-h4-navigation div {
    position: relative;
    z-index: 2;
  }

  .post-navigation-list div.post-navigation-item:first-of-type a {
    padding-top: 0;
  }

  .post-navigation-list div.post-navigation-item:last-of-type a {
    padding-bottom: 0;
  }

  .post-navigation-list a {
    padding-top: 7.5px;
    font-weight: 400 !important;
    font-size: 14px;
    padding-bottom: 7.5px;
  }

  .post-wrap {
    position: relative;
    flex-direction: column;
    gap: 30px;
  }

  .post-progress-bar {
    display: none;
  }

  .post-h4-navigation::before {
    border-radius: 10px;
    content: "";
    border: 1px solid #52225e;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  .post-navigation.open svg {
    transform: rotate(180deg);
  }

  .post-h4-navigation {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: #fff;
  }

  .post-active-navigation-item svg {
    min-width: 24px;
    transition: all 0.5s;
  }

  .post-navigation-list {
    display: none;
  }

  .post-active-navigation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #52225e;
    padding: 16px 25px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    color: #fff;
    border-radius: 10px;
  }

  .post-navigation {
    position: fixed;
    z-index: 6;
    width: calc(100% - 40px);
    left: 20px;
  }

  .post-content {
    padding-top: 86px;
  }
}

.post-navigation:not(.open) .custom-scrollbar-container {
  display: none;
}

@media screen and (min-width: 769px) {
  .post-h4-navigation a::before {
    content: "";
    width: 3px;
    left: -15px;
    height: 100%;
    border-radius: 18px;
    position: absolute;
    top: 0;
    display: block;
    transition: height 0.5s ease;
  }

  .post-navigation {
    flex-basis: 253px;
  }

  .post-active-navigation-item {
    display: none;
  }
  .post-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #c3b2e7;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
  }

  .post-h4-navigation {
    position: sticky;
    max-width: 100%;
    display: flex;
    padding-left: 15px;
    top: 120px;
  }
}

/* code after redisign */

#form-post-second-pseudo,
#form-post-first-pseudo {
  position: absolute;
}

#form-post-first-pseudo {
  top: -1310px;
  left: -298px;
}

@media screen and (min-width: 1201px) {
  #form-post-second-pseudo {
    top: -466px;
    right: -486px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  #form-post-second-pseudo {
    right: -743px;
  }
}

@media screen and (max-width: 768px) {
  #form-post-second-pseudo {
    right: -1163px;
  }
}

.post-content {
  overflow: hidden;
  position: relative;
}
