/* sidebar */
.right-content-wrap {
  position: relative;
}

@media screen and (min-width: 1201px) {
  .right-content-wrap {
    flex-basis: 455px;
  }
}

body #primary {
  overflow: visible;
}

.right-content-wrap-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.right-content-wrap-bottom * {
  transition: all 0.3s ease;
}

@media screen and (min-width: 1201px) {
  .right-content-wrap-bottom {
    opacity: 0;
  }

  .right-content-wrap-bottom:hover .right-content-wrap-bottom-link {
    background: var(--white);
  }
}

.right-content-wrap-bottom.visible {
  z-index: 10;
  opacity: 1;
}

.right-content-wrap-bottom-link {
  display: flex;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 120px;
  background: var(--yellow);
}

.right-content-wrap-bottom-link svg {
  width: 14px;
}

.right-content {
  padding-bottom: 100px;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.right-content-wrap {
  position: relative;
}

.right-content__title {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  color: var(--black);
}

.right-content__posts-list {
  display: flex;
  flex-direction: column;
}

.right-content__post-item {
  text-decoration: none;
  display: flex;
  min-height: 106px;
  align-items: center;
}

.right-content__post-head {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  height: 106px;
}

.right-content__post-tile {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: var(--black);
  transition: all 0.5s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.right-content__post-content {
  padding: 16px;
}

@media screen and (min-width: 1601px) {
  .right-content__post-head {
    max-width: 185px;
  }
  .right-content__post-content {
    max-width: 238px;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .right-content__post-head {
    max-width: 131px;
  }
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
  .right-content__post-head {
    max-width: 103px;
  }
}

@media screen and (min-width: 1201px) {
  body .right-content {
    padding-top: 103px;
  }

  .right-content__posts-list {
    gap: 30px;
  }

  .right-content__post-item:hover .right-content__post-tile {
    color: var(--vivid-blue);
  }
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
  body .right-content-wrap-bottom {
    max-width: fit-content;
    margin-left: auto;
    margin-top: -27px;
  }

  body .right-content__posts-list a:last-of-type {
    display: none;
  }

  body .right-content {
    padding-bottom: 0px;
  }

  body .right-content__posts-list {
    gap: 46px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  body .right-content__post-item {
    flex: 1 1 calc((100% / 2) - 46px);
    box-sizing: border-box;
  }

  body .right-content__post-head {
    max-width: 103px;
  }
}

@media screen and (max-width: 700px) {
  .right-content__title {
    font-size: 20px;
  }

  .main-content__content p:last-of-type {
    margin-bottom: 0;
  }

  body .post-category,
  body .post-date {
    font-size: 14px;
  }

  body .right-content-wrap-bottom {
    display: none;
  }

  body .main-content__bottom {
    padding-top: 20px;
  }

  body .right-content {
    padding-bottom: 50px;
  }

  body .right-content__post-head {
    max-width: 121px;
    min-width: 121px;
  }

  body .right-content,
  body .right-content__posts-list {
    gap: 20px;
  }

  body .right-content__post-tile {
    font-size: 16px;
    line-height: 110%;
  }
}

.post-content {
  position: relative;
}

/* content */

.post-category,
.post-date {
  font-size: 16px;
  line-height: 120%;
  color: var(--color-neutral);
}

.post-category span {
  font-weight: 500;
  color: var(--color-dark-bg);
}

.post-content h3 {
  font-size: 32px;
  line-height: 137%;
  color: var(---color-neutral);
  margin-top: 40px;
  margin-bottom: 30px;
}

.main-content {
  padding-bottom: 25px;
  position: relative;
}

.main-content::after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--vivid-blue);
}

.main-content ul {
  list-style-type: none;
}

.main-content ul,
.main-content ol {
  margin: 0;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-content ul li {
  padding-left: 25px;
}

.main-content ol {
  margin-left: 20px;
}

.main-content ol li::marker {
  color: var(--vivid-blue);
  font-family: var(--font3);
}

.main-content ul li,
.main-content ol li {
  font-family: var(--font2);
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  position: relative;
}

.main-content ul li::before {
  content: "";
  position: absolute;
  border-radius: 100%;
  min-width: 6px;
  min-height: 6px;
  left: 5px;
  top: 6.5px;
  background-color: var(--vivid-blue);
}

.main-content ul li strong {
  font-family: var(--font3);
  font-weight: 400;
}

.wp-block-image img {
  border-radius: 20px;
}

.wp-block-image {
  margin-bottom: 30px;
}

#primary {
  display: flex;
  flex-direction: column;
}

.post-content {
  display: flex;
}

.articles-content {
  padding-top: 100px;
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
  .articles-content {
    padding-top: 63px;
  }

  .post-content {
    gap: 70px;
    flex-direction: column;
  }
}

@media screen and (min-width: 1601px) {
  .post-content {
    padding-left: 123px;
    gap: 150px;
  }
}

@media screen and (min-width: 1601px) {
  .left-content {
    flex-basis: calc(100% - 605px);
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .left-content {
    flex-basis: calc(100% - 547px);
  }

  .post-content {
    gap: 92px;
  }
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
  .main-content::after {
    width: calc(100% - 110px);
  }
}

@media screen and (max-width: 1200px) {
  .post-content {
    flex-direction: column;
  }
}

@media screen and (max-width: 700px) {
  .articles-content {
    padding-top: 0px;
  }

  .post-content h3 {
    font-size: 28px;
    margin-top: 40px;
  }

  .wp-block-image img {
    min-height: 262px;
    object-fit: cover;
  }

  .wp-block-image {
    margin-bottom: 25px;
  }

  .post-content {
    gap: 50px;
  }

  body .main-content__title {
    font-size: 30px;
    line-height: 105%;
  }

  .main-content {
    padding-bottom: 20px;
  }

  .main-content ul li {
    padding-left: 15px;
  }

  .main-content ul li::before {
    left: 3px;
  }
}

.main-content__title {
  font-weight: 400;
  font-size: 48px;
  line-height: 100%;
  color: var(--black);
  margin-bottom: 40px;
}

.main-content__content p {
  margin-bottom: 30px;
  line-height: 140%;
  font-size: 16px;
  font-family: var(--font2);
}

.main-content a {
  position: relative;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--vivid-blue);
}

@media screen and (min-width: 1201px) {
  .main-content a:hover {
    text-decoration: none;
  }
}

/* pre content */

.pre-content {
  margin-bottom: 40px;
}

@media screen and (min-width: 1601px) {
  .pre-content {
    min-height: 480px;
    border-radius: 16px;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .pre-content {
    min-height: 360px;
    border-radius: 12px;
  }
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
  .pre-content {
    min-height: 240px;
    border-radius: 8px;
  }
}

@media screen and (max-width: 700px) {
  .pre-content {
    min-height: 186px;
    border-radius: 3px;
  }
}

/* back link */

.back-link {
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  background-color: var(--yellow);
  outline-offset: -2px;
  border-radius: 120px;
  max-width: fit-content;
}

.back-link * {
  transition: all 0.3s ease;
}

.back-link a {
  padding: 13px 11px;
  display: flex;
}

.back-link a svg {
  height: 14px;
}

@media screen and (max-width: 700px) {
  .back-link {
    margin-bottom: 30px;
  }
}

.back-link:hover a {
  background: var(--white);
}

/* related articles */

.related-articles__item {
  display: flex;
  align-items: center;
}

.related-articles__title-item {
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  margin-bottom: 20px;
  color: var(--black);
  transition: all 0.5s;
}

.related-articles__excerpt {
  font-size: 16px;
  line-height: 140%;
  color: var(--black);
  font-weight: 400;
  font-family: var(--font2);
}

.related-articles__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-articles__title {
  font-weight: 400;
  font-size: 30px;
  line-height: 105%;
  color: var(--black);
  margin-bottom: 45px;
}

.related-articles__content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.related-articles {
  margin-bottom: 48px;
}

.related-articles__item-wrap {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  flex: 1 1 calc(50% - 30px);
  transition: all 0.5s;
  box-shadow: 0 4px 12px 0 rgba(61, 61, 61, 0.08);
}

.related-articles__image-cover {
  min-width: 305px;
}

@media screen and (min-width: 1601px) {
  .related-articles__details {
    padding: 24px 32px;
  }
}

@media screen and (min-width: 701px) and (max-width: 1600px) {
  .related-articles__details {
    padding: 24px;
  }
}

@media screen and (min-width: 1201px) {
  .related-articles__tag {
    display: flex !important;
    font-family: var(--font1);
    font-weight: 400;
    font-size: 10px;
    line-height: 110%;
    color: var(--yellow);
    background: var(--black);
    border-radius: 20px;
    padding: 6px 8px 4px 8px;
    max-width: fit-content;
    margin-bottom: 10px;
  }

  .related-articles__item-wrap {
    transform: translateY(6px);
  }

  .related-articles__item-wrap:hover {
    transform: translateY(0);
  }

  .related-articles__item:hover .related-articles__title-item {
    color: var(--vivid-blue);
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .related-articles__image-cover {
    min-width: 207px;
  }

  .related-articles {
    margin-bottom: 96px;
  }
}

@media screen and (max-width: 1200px) {
  .related-articles__item-wrap {
    flex-basis: 100%;
  }

  .related-articles {
    margin-bottom: 96px;
  }
}

@media screen and (max-width: 700px) {
  .related-articles {
    margin-bottom: 52px;
  }

  .related-articles {
    margin-bottom: 32px;
  }

  .related-articles__title {
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 20px;
  }

  .related-articles__item {
    flex-direction: column;
  }

  .related-articles__title-item {
    font-size: 20px;
    line-height: 120%;
  }

  .related-articles__details {
    padding: 24px;
  }

  .related-articles__image-cover {
    height: 160px;
    min-width: unset;
    width: 100%;
  }
}

@media screen and (min-width: 1601px) {
  .related-articles {
    margin-bottom: 90px;
  }
}

@media screen and (min-width: 1601px) {
  .related-articles {
    margin-bottom: 90px;
  }
}

/* covers block */

.cover-block__content em {
  margin-top: 15px;
  display: block;
  color: var(--color-neutral);
}

.cover-block {
  border-radius: 20px;
  padding: 32px;
}

.cover-block p strong {
  font-weight: 700;
}

.cover-block p {
  font-size: 20px;
  line-height: 130%;
  margin-bottom: 0;
  font-weight: 400;
}

@media screen and (min-width: 1601px) {
  .cover-block {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 1600px) {
  .cover-block {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 701px) and (max-width: 1600px) {
  .cover-block {
    padding: 32px 48px;
  }
}

@media screen and (max-width: 700px) {
  .cover-block {
    padding: 24px;
  }

  .cover-block p {
    font-size: 18px;
  }

  .cover-block__content em {
    font-style: normal;
  }
}

/* four-column-feature */

.four-column-feature {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 24px;
}

.four-column-feature__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--vivid-blue);
  padding: 32px;
  flex: 1 1 calc((50% / 2) - 10px);
  border-radius: 16px;
}

.card__text {
  flex-grow: 1;
}

.card__text p {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: var(--white);
  font-family: var(--font2);
}

.four-column-feature__card ol {
  margin-top: 0;
  margin-bottom: 0;
}

.four-column-feature__card h6 {
  font-family: var(--font1);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: var(--white);
}

.four-column-feature__card ol li::marker {
  color: var(--white);
}

@media screen and (max-width: 1600px) {
  .four-column-feature__card {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 1200px) {
  .four-column-feature {
    gap: 12px;
  }
}

@media screen and (max-width: 700px) {
  .card__text p {
    font-size: 14px;
  }

  .four-column-feature__card {
    padding: 24px;
  }
}

/* three-column-feature */

.three-column-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.three-column-feature__card {
  padding: 32px;
  border-radius: 16px;
  background: var(--light-blue);
  flex: 1 1 calc((50% / 2) - 10px);
}

@media screen and (max-width: 1600px) {
  .three-column-feature__card {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 1200px) {
  .three-column-feature {
    gap: 12px;
  }
}

@media screen and (max-width: 700px) {
  .three-column-feature__card {
    padding: 24px;
  }
}

/* performance-statistics */

.performance-statistics {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.statistics__title h5 {
  font-size: 48px;
  line-height: 120%;
  color: var(--vivid-blue);
}

.performance-statistics__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 calc((100% / 3) - 20px);
}

.statistics__description p {
  font-family: var(--font3);
  color: var(--midnight-slate);
  margin-bottom: 0;
}

@media screen and (max-width: 1600px) {
  .performance-statistics__info {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 700px) {
  .performance-statistics__info {
    align-items: center;
    text-align: center;
  }

  .performance-statistics {
    flex-direction: column;
  }

  .statistics__title h5 {
    font-size: 36px;
  }

  .statistics__description p {
    font-size: 14px;
  }
}

/* pdf page */

.pdf-page__top-bar {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.pdf-page__back-link a {
  display: flex;
}

.pdf-page__container-wrap {
  background: var(--color-bg-light);
  padding-top: 10px;
  padding-bottom: 10px;
}

.pdf-page__back-link-right {
  background: var(--yellow);
  padding: 13px 22px;
  border-radius: 80px;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.01em;
  color: var(--black);
  display: flex;
  align-items: center;
}

.pdf-page__container {
  display: flex;
}

.pdf-page__content iframe {
  min-height: 400px;
}

.pdf-page__back-link-title {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
}

.pdf-page__back-link-left {
  align-items: center;
  gap: 14px;
  display: flex;
}

@media screen and (max-width: 700px) {
  .pdf-page__top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  body .pdf-page__content iframe {
    min-height: unset;
  }

  .pre-content {
    border-radius: 16px;
  }
}