﻿.post-layout {
  margin: 0;
  background: #fff;
  color: #30343f;
}

.post-layout-main {
  min-height: calc(100vh - 304px);
}

.post-page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 82px 0 140px;
}

.post-page__inner {
  width: min(100%, 940px);
  margin: 0 auto;
}

.post-page__content {
  width: min(100%, 740px);
  margin: 0 auto;
}

.post-page__header {
  margin-bottom: 36px;
}

.post-page__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.post-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-height: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #41465a;
}

.post-page__author {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.post-page__author-avatar-wrap {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.post-page__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.post-page__author-avatar--fallback {
  background: #c9c9c9;
}

.post-page__author-name,
.post-page__meta-item {
  white-space: nowrap;
}

.post-page__meta-separator {
  margin: 0 10px;
  color: #5d6172;
}

.post-page__actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #353a4b;
}

.post-page__actions svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.post-page__title {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: #31374a;
}

.post-page__title--subtitle {
  margin-top: 10px;
  font-size: clamp(22px, 3vw, 28px) !important;
  line-height: 1.28 !important;
}

.post-page .breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
  color: #5d6172;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.post-page .breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.post-page .breadcrumb li + li::before {
  content: "/";
  margin: 0 8px 0 0;
  color: #8b90a0;
}

.post-page .breadcrumb-item,
.post-page .breadcrumb-item2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.post-page .breadcrumb-item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-page .breadcrumb .icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.post-figure {
  position: relative;
  margin: 0 0 36px;
}

.post-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.post-figure-expand {
  display: none;
}

.post-figure-expand svg {
  width: 16px;
  height: 16px;
  transform: none;
  fill: #5d6370;
}

.post-figure figcaption {
  margin-top: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #666b7b;
}

.post-page__body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.62;
  color: #30343f;
}

.post-page__body > :first-child {
  margin-top: 0;
}

.post-page__body > :last-child {
  margin-bottom: 0;
}

.post-page__body p,
.post-page__body ul,
.post-page__body ol,
.post-page__body blockquote,
.post-page__body table {
  margin: 0 0 14px;
}

.post-page__body p:empty,
.post-page__body p:has(> br:only-child) {
  display: none;
}

.post-page__body ul,
.post-page__body ol {
  padding-left: 28px;
}

.post-page__body li + li {
  margin-top: 6px;
}

.post-page__body h2,
.post-page__body h3,
.post-page__body h4,
.post-page__body h5,
.post-page__body h6 {
  margin: 30px 0 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  color: #30343f;
}

.post-page__body h2 {
  font-size: clamp(28px, 4.8vw, 40px);
  line-height: 1.22;
}

.post-page__body h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.5;
}

.post-page__body h4,
.post-page__body h5,
.post-page__body h6 {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.5;
}

.post-page__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-page__body strong {
  font-weight: 700;
}

.post-page--post-future .post-page__body > p:nth-of-type(2) strong,
.post-page--post-future .post-page__body > p > strong:only-child,
.post-page--post-future .post-page__body li > strong:first-child {
  color: #e00000;
}

.post-page--post-certificate-expiry .post-page__body > p > strong:only-child {
  color: #e00000;
}

.post-page--post-admin-guardians .post-page__body,
.post-page--post-provider-seal .post-page__body {
  line-height: 1.5;
}

.post-page--post-admin-guardians .post-page__body p,
.post-page--post-admin-guardians .post-page__body ul,
.post-page--post-admin-guardians .post-page__body ol,
.post-page--post-provider-seal .post-page__body p,
.post-page--post-provider-seal .post-page__body ul,
.post-page--post-provider-seal .post-page__body ol {
  margin-bottom: 14px;
}

.post-page--post-provider-seal .post-page__body li > strong:first-child,
.post-page--post-provider-seal .post-page__body > p:nth-last-of-type(2) {
  color: #e00000;
}

.post-page--post-lexbox .post-page__body a,
.post-page--post-lexbox .post-page__body > p:first-child strong:first-of-type,
.post-page--post-lexbox .post-page__body > p:nth-of-type(2) strong,
.post-page--post-lexbox .post-page__body > p:nth-of-type(3) strong,
.post-page--post-lexbox .post-page__body > p:nth-of-type(4) strong,
.post-page--post-lexbox .post-page__body > p:nth-of-type(5) strong,
.post-page--post-lexbox .post-page__body > p:nth-of-type(8) strong {
  color: #1d9bf0;
}

.post-page__body li strong {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.post-page__body em {
  font-style: italic;
}

.post-page__body blockquote {
  padding-left: 22px;
  border-left: 3px solid #d60000;
  color: #404657;
}

.post-page__body hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid #d8dbe3;
}

.post-page__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}

.post-page__body th,
.post-page__body td {
  padding: 12px 14px;
  border: 1px solid #dadde6;
  text-align: left;
  vertical-align: top;
}

.post-page__after {
  display: flex;
  align-items: center;
  min-height: 0;
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid #e2e5ec;
  border-bottom: 1px solid #e2e5ec;
}

.post-page__share-label {
  margin: 0;
  color: #707588;
  font-size: 14px;
  line-height: 18px;
}

.post-page__share {
  display: flex;
  align-items: center;
  gap: 34px;
}

.post-page__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  color: #30343f;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  background: transparent;
}

.post-page__share-link--button {
  cursor: default;
}

.post-page__views {
  margin: 18px 0 0;
  color: #6f7484;
  font-size: 14px;
  line-height: 18px;
}

.post-page__recent {
  margin-top: 78px;
}

.post-page__recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.post-page__recent-header h2,
.post-page__comments-title {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 27px;
  color: #4d5261;
}

.post-page__recent-header a {
  color: #6d7282;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
}

.post-page__recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 291px);
  justify-content: space-between;
  gap: 0;
}

.post-page__recent-card {
  width: 291px;
  min-width: 0;
}

.post-page__recent-image-link {
  display: block;
  width: 291px;
  height: 163px;
  overflow: hidden;
  background: #eceef3;
}

.post-page__recent-image-link img {
  width: 291px;
  height: 163px;
  object-fit: cover;
  display: block;
}

.post-page__recent-title {
  margin: 18px 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.post-page__recent-title a {
  color: #363b4a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.post-page__recent-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #d9dce4;
  color: #30343f;
  font-size: 14px;
  line-height: 18px;
}

.post-page__recent-meta a {
  color: inherit;
  text-decoration: none;
}

.post-page__recent-eye {
  font-size: 17px;
  line-height: 1;
}

.post-page__comments {
  margin-top: 58px;
}

.post-page__comments-box {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid #d9dde5;
  color: #9ba0ad;
  font-size: 13px;
  background: #fff;
}

.post-page__comments-box--disabled {
  min-height: 88px;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 20px;
  line-height: 1.45;
  color: #30343f;
}

.post-page__comments-box--disabled-tall {
  min-height: 176px;
}

.post-page__comments-disabled-icon {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
}

.post-page__comment-skeleton {
  margin-top: 28px;
  min-height: 190px;
  padding-top: 24px;
  border-top: 1px solid #d9dde5;
}

.post-page__comment-skeleton--tall {
  min-height: 470px;
}

.post-page__comment-skeleton--live {
  min-height: 315px;
}

.post-page__comment-skeleton--live-tall {
  min-height: 470px;
}

.post-page--post-certificate-expiry .post-page__comment-skeleton--live {
  display: none;
}

.post-page__comment-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}

.post-page__comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d7d9df;
}

.post-page__comment-lines {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.post-page__comment-line {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: #e3e5ea;
}

.post-page__comment-line--short {
  width: 42%;
}

.post-page__comment-line--medium {
  width: 68%;
}

.post-page__comment-line--long {
  width: 92%;
}

.post-page__comment-actions {
  display: flex;
  gap: 22px;
  margin-top: 24px;
}

.post-page__comment-action {
  width: 92px;
  height: 14px;
  border-radius: 999px;
  background: #e3e5ea;
}

body.post-layout.site-layout .post-page {
  width: 980px !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.post-layout.site-layout .post-page__inner {
  width: 940px !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.post-layout.site-layout .post-page__content {
  width: 740px !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.post-layout.site-layout .post-page__recent-grid {
  width: 940px !important;
  grid-template-columns: repeat(3, 291px) !important;
  justify-content: space-between !important;
  gap: 0 !important;
}

body.post-layout.site-layout:has(.post-page) {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.post-layout.site-layout:has(.post-page) .post-layout-main {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.post-layout.site-layout .post-page--compact-tail {
  padding-bottom: 40px !important;
}

body.post-layout.site-layout .post-page--post-future .post-page__author-avatar-wrap img,
body.post-layout.site-layout .post-page--post-lexbox .post-page__author-avatar-wrap img {
  display: none !important;
}

body.post-layout.site-layout .post-page--post-future .post-page__author-avatar--fallback,
body.post-layout.site-layout .post-page--post-lexbox .post-page__author-avatar--fallback,
body.post-layout.site-layout .post-page--post-admin-guardians .post-page__author-avatar--fallback {
  display: inline-flex !important;
  background: #dfdfdf !important;
}

body.post-layout.site-layout .post-page--post-admin-guardians {
  padding-bottom: 0 !important;
}

body.post-layout.site-layout .post-page--post-provider-seal {
  padding-bottom: 0 !important;
}

@supports selector(:has(*)) {
  .post-page__body .post-figure:has(img[width="8000"][height="8000"]),
  .post-page__body .post-figure:has(img[width="1024"][height="1024"]),
  .post-page__body .post-figure:has(img[width="998"][height="964"]) {
    display: none;
  }
}

@media (max-width: 900px) {
  .post-page__recent {
    margin-top: 72px;
  }
}

@media (max-width: 980px) {
  .post-page {
    margin-left: 0;
    margin-right: 0;
  }

  body.post-layout.site-layout .post-page {
    width: 980px !important;
  }

  body.post-layout.site-layout .post-page__inner {
    width: 740px !important;
  }

  body.post-layout.site-layout .post-page__recent {
    width: 980px !important;
    margin-left: -120px !important;
  }
}

@media (max-width: 1078px) {
  body.post-layout.site-layout:has(.post-page) {
    min-width: 1078px !important;
  }

  body.post-layout.site-layout:has(.post-page) .post-layout-main {
    min-width: 1078px !important;
  }

  body.post-layout.site-layout .post-page {
    width: 1078px !important;
  }

  body.post-layout.site-layout .post-page__inner {
    width: 1078px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__content {
    width: 740px !important;
    margin-left: 120px !important;
    margin-right: 0 !important;
  }

  body.post-layout.site-layout .post-page--post-lexbox .post-page__content {
    width: 740px !important;
    margin-left: 120px !important;
    margin-right: 0 !important;
  }

  body.post-layout.site-layout .post-page--post-certificate-expiry .post-page__content,
  body.post-layout.site-layout .post-page--post-admin-online .post-page__content,
  body.post-layout.site-layout .post-page--post-admin-guardians .post-page__content,
  body.post-layout.site-layout .post-page--post-provider-seal .post-page__content {
    width: 740px !important;
    margin-left: 120px !important;
    margin-right: 0 !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__title,
  body.post-layout.site-layout .post-page--post-lexbox .post-page__title,
  body.post-layout.site-layout .post-page--post-certificate-expiry .post-page__title,
  body.post-layout.site-layout .post-page--post-admin-online .post-page__title,
  body.post-layout.site-layout .post-page--post-admin-guardians .post-page__title,
  body.post-layout.site-layout .post-page--post-provider-seal .post-page__title {
    font-size: 50px !important;
    line-height: 50px !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__recent,
  body.post-layout.site-layout .post-page--post-lexbox .post-page__recent,
  body.post-layout.site-layout .post-page--post-certificate-expiry .post-page__recent,
  body.post-layout.site-layout .post-page--post-admin-online .post-page__recent,
  body.post-layout.site-layout .post-page--post-admin-guardians .post-page__recent,
  body.post-layout.site-layout .post-page--post-provider-seal .post-page__recent {
    width: 940px !important;
    margin-left: 20px !important;
  }

  body.post-layout.site-layout .post-page--post-lexbox .post-page__recent-grid {
    grid-template-columns: repeat(3, 291px) !important;
    justify-content: space-between !important;
    column-gap: 0 !important;
  }
}

@media (min-width: 641px) and (max-width: 1078px) {
  body.post-layout.site-layout .post-page--post-certificate-expiry .post-page__comment-skeleton--live {
    display: none !important;
  }

  body.post-layout.site-layout .post-page--post-lexbox .post-page__content:not(.post-page__content--comments) {
    margin-top: 52px !important;
  }

  body.post-layout.site-layout .post-page--post-certificate-expiry .post-page__content:not(.post-page__content--comments),
  body.post-layout.site-layout .post-page--post-admin-online .post-page__content:not(.post-page__content--comments),
  body.post-layout.site-layout .post-page--post-admin-guardians .post-page__content:not(.post-page__content--comments),
  body.post-layout.site-layout .post-page--post-provider-seal .post-page__content:not(.post-page__content--comments) {
    margin-top: 52px !important;
  }

  body.post-layout.site-layout .post-page--post-future {
    padding-bottom: 0 !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__title {
    font-size: 40px !important;
    line-height: 50px !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__comment-skeleton--live-tall {
    min-height: 390px !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__comment-skeleton--live:not(.post-page__comment-skeleton--live-tall) {
    min-height: 275px !important;
  }
}

@media (max-width: 640px) {
  .post-page__meta-row {
    margin-bottom: 20px;
  }

  .post-page__meta {
    font-size: 14px;
  }

  .post-page__title {
    font-size: 40px;
    line-height: 50px;
  }

  .post-figure-expand {
    width: 62px;
    height: 62px;
  }

  .post-figure-expand svg {
    width: 21px;
    height: 21px;
    transform: translate(10px, 10px);
  }

  body.post-layout.site-layout .post-page {
    padding-top: 36px !important;
    padding-bottom: 170px !important;
  }

  body.post-layout.site-layout .post-page--post-future .post-page__content:not(.post-page__content--comments) {
    margin-top: 52px !important;
  }

  body.post-layout.site-layout .post-page--post-certificate-expiry .post-page__comment-skeleton--live {
    display: block !important;
  }

  body.post-layout.site-layout .post-page--compact-tail {
    padding-bottom: 70px !important;
  }

  .post-page__comments-box--disabled-tall {
    min-height: 325px;
  }

  .post-page__comment-skeleton--tall {
    min-height: 645px;
  }
}


body.post-layout.site-layout:has(.post-page),
body.post-layout.site-layout:has(.post-page) .post-layout-main {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.post-layout.site-layout .post-page {
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: clamp(38px, 6vw, 82px) 20px clamp(70px, 10vw, 140px) !important;
}

body.post-layout.site-layout .post-page__inner,
body.post-layout.site-layout .post-page__content {
  width: min(100%, 740px) !important;
  max-width: 740px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.post-layout.site-layout .post-page__title {
  font-size: clamp(34px, 5vw, 50px) !important;
  line-height: 1.12 !important;
  font-weight: 400 !important;
}

body.post-layout.site-layout .post-figure {
  margin: 0 0 clamp(28px, 4vw, 42px) !important;
}

body.post-layout.site-layout .post-figure img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
}

body.post-layout.site-layout .post-figure-secondary {
  margin-top: clamp(30px, 5vw, 54px) !important;
}

body.post-layout.site-layout .post-page__body {
  font-size: clamp(16px, 1.6vw, 18px) !important;
  line-height: 1.68 !important;
}

body.post-layout.site-layout .post-page__recent {
  width: 100% !important;
  margin: clamp(56px, 8vw, 78px) 0 0 !important;
}

body.post-layout.site-layout .post-page__recent-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  justify-content: stretch !important;
}

body.post-layout.site-layout .post-page__recent-card,
body.post-layout.site-layout .post-page__recent-image-link,
body.post-layout.site-layout .post-page__recent-image-link img {
  width: 100% !important;
}

body.post-layout.site-layout .post-page__recent-image-link {
  height: auto !important;
  aspect-ratio: 291 / 163;
}

body.post-layout.site-layout .post-page__recent-image-link img {
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 760px) {
  body.post-layout.site-layout .post-page__recent-grid {
    grid-template-columns: 1fr !important;
  }
}

body.post-layout.site-layout .post-page__title.post-page__title--subtitle {
  margin-top: 10px !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  line-height: 1.28 !important;
}

