:root {
  --vchr-green-950: #08261e;
  --vchr-green-900: #0b3327;
  --vchr-green-800: #104533;
  --vchr-green-700: #15583f;
  --vchr-green-100: #edf5f1;
  --vchr-border: #dfe8e3;
  --vchr-text: #1e2723;
  --vchr-muted: #68756e;
  --vchr-bg: #f6f8f6;
  --vchr-white: #ffffff;
  --vchr-gold: #d3a447;
  --vchr-blue: #3c8bb9;
  --vchr-orange: #d9852c;
  --vchr-shadow: 0 18px 45px rgba(13, 44, 32, .08);
  --vchr-radius: 18px;
}

body {
  background: var(--vchr-bg);
  color: var(--vchr-text);
  font-family: Arial, "PT Sans", sans-serif;
}

#wrapper,
#page,
.container,
.container-inner,
.main,
.main-inner {
  max-width: none;
}

#page {
  background: var(--vchr-bg);
  padding: 0;
}

.main,
.main-inner {
  background: transparent;
}

#header.vchr-header {
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(135deg, var(--vchr-green-950), var(--vchr-green-800));
  color: var(--vchr-white);
  box-shadow: none;
}

.vchr-header-container,
.vchr-home,
.vchr-footer-container {
  width: min(1440px, calc(100vw - 64px));
  margin-left: auto;
  margin-right: auto;
}

.vchr-header-top {
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.vchr-header-top-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vchr-primary-nav,
.vchr-subnav {
  min-width: 0;
}

.vchr-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 26px;
}

.vchr-menu-list li {
  position: relative;
  margin: 0;
  padding: 0;
}

.vchr-menu-list a {
  color: rgba(255,255,255,.94);
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.vchr-menu-list a:hover,
.vchr-menu-list a:focus {
  color: #fff;
  text-decoration: underline;
}

.vchr-menu-list .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: none;
  background: var(--vchr-white);
  color: var(--vchr-text);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 30px rgba(0,0,0,.16);
}

.vchr-menu-list li:hover > .sub-menu,
.vchr-menu-list li:focus-within > .sub-menu {
  display: block;
}

.vchr-menu-list .sub-menu a {
  min-height: auto;
  display: block;
  padding: 9px 16px;
  color: var(--vchr-text);
  font-size: 14px;
}

.vchr-top-search-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.94);
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}

.vchr-top-search-link:hover,
.vchr-top-search-link:focus {
  color: #fff;
  text-decoration: underline;
}

.vchr-search-icon {
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.vchr-search-icon:after {
  content: "";
  width: 8px;
  height: 3px;
  background: currentColor;
  position: absolute;
  right: -8px;
  bottom: -5px;
  transform: rotate(45deg);
  border-radius: 3px;
}

.vchr-brand-zone {
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.vchr-brand-inner {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.vchr-brand {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--vchr-white);
  min-width: 0;
}

.vchr-brand:hover,
.vchr-brand:focus {
  color: var(--vchr-white);
  text-decoration: none;
}

.vchr-logo-mark {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border: 3px solid rgba(255,255,255,.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.06);
  overflow: hidden;
}

.vchr-logo-mark img {
  max-width: 74px;
  max-height: 74px;
  object-fit: contain;
}

.vchr-brand-text {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.vchr-brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: .16em;
  font-weight: 700;
  line-height: 1;
}

.vchr-brand-subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.15;
  white-space: nowrap;
}

.vchr-search-form {
  flex: 0 1 420px;
  height: 48px;
  display: flex;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
}

.vchr-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 16px;
  color: var(--vchr-white);
  background: transparent;
  outline: none;
  font-size: 14px;
}

.vchr-search-form input::placeholder {
  color: rgba(255,255,255,.65);
}

.vchr-search-form button {
  width: 56px;
  border: 0;
  color: var(--vchr-white);
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.vchr-subnav-wrap {
  background: rgba(0,0,0,.08);
}

.vchr-subnav {
  min-height: 48px;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.vchr-subnav .vchr-menu-list {
  flex-wrap: nowrap;
  gap: 0 30px;
}

.vchr-subnav .vchr-menu-list a {
  min-height: 48px;
}

.content.vchr-content {
  width: 100%;
  float: none;
  margin: 0;
}

.vchr-home {
  padding: 34px 0 42px;
}

.vchr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(330px, .95fr);
  gap: 32px;
  margin-bottom: 32px;
}

.vchr-hero-card,
.vchr-important-card,
.vchr-panel {
  border: 1px solid var(--vchr-border);
  border-radius: var(--vchr-radius);
  background: var(--vchr-white);
  box-shadow: var(--vchr-shadow);
}

.vchr-hero-card {
  overflow: hidden;
}

.vchr-hero-media {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-color: #d9e5df;
  background-size: cover;
  background-position: center;
}

.vchr-hero-media:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.30) 56%, rgba(0,0,0,.08));
}

.vchr-hero-media.no-image {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.22), transparent 35%),
    linear-gradient(135deg, var(--vchr-green-700), var(--vchr-green-900));
}

.vchr-hero-content {
  position: relative;
  max-width: 720px;
  padding: 34px;
  color: var(--vchr-white);
}

.vchr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 88px;
}

.vchr-chip,
.vchr-tag,
.vchr-document-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vchr-chip {
  color: var(--vchr-green-900);
  background: rgba(255,255,255,.9);
}

.vchr-hero-content time {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.vchr-hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(29px, 3.2vw, 48px);
  line-height: 1.08;
  color: var(--vchr-white);
}

.vchr-hero-content h1 a {
  color: var(--vchr-white);
}

.vchr-hero-content p {
  max-width: 620px;
  margin: 0 0 20px;
  opacity: .95;
}

.vchr-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--vchr-white) !important;
  background: var(--vchr-green-700);
  font-weight: 800;
}

.vchr-button:hover,
.vchr-button:focus {
  background: var(--vchr-green-800);
  text-decoration: none;
}

.vchr-important-card {
  padding: 24px 22px;
}

.vchr-important-card h2,
.vchr-panel h2 {
  margin: 0;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--vchr-text);
}

.vchr-important-card h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--vchr-border);
}

.vchr-important-link {
  display: grid;
  grid-template-columns: 42px 1fr 16px;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--vchr-border);
  color: var(--vchr-text);
}

.vchr-important-link:last-child {
  border-bottom: 0;
}

.vchr-important-link:hover strong,
.vchr-important-link:focus strong {
  color: var(--vchr-green-700);
}

.vchr-important-link strong,
.vchr-important-link small {
  display: block;
}

.vchr-important-link small {
  color: var(--vchr-muted);
}

.vchr-doc-icon,
.vchr-file-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--vchr-white);
  background: var(--vchr-green-700);
  font-style: normal;
  font-weight: 900;
}

.vchr-doc-icon.gold { background: var(--vchr-gold); }
.vchr-doc-icon.green { background: #2d7a45; }
.vchr-doc-icon.blue { background: var(--vchr-blue); }
.vchr-doc-icon.orange { background: var(--vchr-orange); }

.vchr-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(380px, 1fr);
  gap: 32px;
}

.vchr-panel {
  padding: 24px;
}

.vchr-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.vchr-section-head a {
  color: var(--vchr-green-700);
  font-weight: 800;
}

.vchr-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vchr-news-card {
  min-width: 0;
}

.vchr-thumb {
  height: 118px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d9e5df, #edf2ef);
  background-size: cover;
  background-position: center;
}

.vchr-tag {
  margin-bottom: 10px;
  color: var(--vchr-white);
  background: var(--vchr-green-700);
}

.vchr-news-card time,
.vchr-document-item time {
  display: block;
  margin-bottom: 6px;
  color: var(--vchr-muted);
  font-size: 14px;
}

.vchr-news-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--vchr-text);
}

.vchr-news-card h3 a {
  color: var(--vchr-text);
}

.vchr-news-card h3 a:hover,
.vchr-news-card h3 a:focus {
  color: var(--vchr-green-700);
}

.vchr-news-card p {
  margin: 0;
  color: var(--vchr-muted);
  font-size: 15px;
}

.vchr-document-list {
  display: grid;
  gap: 0;
}

.vchr-document-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--vchr-border);
  color: var(--vchr-text);
}

.vchr-document-item:last-child {
  border-bottom: 0;
}

.vchr-document-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.vchr-document-type {
  color: var(--vchr-green-700);
  background: var(--vchr-green-100);
  font-style: normal;
  white-space: nowrap;
}

.vchr-file-icon {
  background: transparent;
  color: var(--vchr-green-700);
  border: 2px solid var(--vchr-green-700);
}

.vchr-empty {
  color: var(--vchr-muted);
  margin: 0;
}

#footer.vchr-footer {
  background: var(--vchr-white);
  color: var(--vchr-text);
  border-top: 1px solid var(--vchr-border);
  margin-top: 0;
}

.vchr-footer-main {
  padding: 30px 0;
}

.vchr-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 1.2fr 1fr;
  gap: 28px;
}

.vchr-footer-title {
  display: block;
  color: var(--vchr-green-700);
  margin-bottom: 8px;
  font-size: 16px;
}

.vchr-footer p {
  margin: 0 0 8px;
  color: var(--vchr-muted);
}

.vchr-footer a {
  color: var(--vchr-green-700);
}

.vchr-footer a:hover,
.vchr-footer a:focus {
  text-decoration: underline;
}

.vchr-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vchr-footer-links li {
  margin: 0 0 8px;
}

.vchr-footer-copy {
  margin-top: 16px !important;
  font-size: 14px;
}

.vchr-footer-bottom {
  border-top: 1px solid var(--vchr-border);
}

.vchr-footer-bottom-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--vchr-muted);
  font-size: 14px;
}

.vchr-footer-bottom-inner span {
  margin-right: auto;
}

#back-to-top {
  position: static;
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
  color: var(--vchr-green-700);
  line-height: inherit;
  border-radius: 0;
}

@media (max-width: 1100px) {
  .vchr-brand-inner,
  .vchr-hero-grid,
  .vchr-content-grid,
  .vchr-footer-grid {
    grid-template-columns: 1fr;
  }

  .vchr-brand-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }

  .vchr-search-form {
    width: 100%;
    flex-basis: auto;
  }

  .vchr-news-list {
    grid-template-columns: 1fr;
  }

  .vchr-footer-grid {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .vchr-header-container,
  .vchr-home,
  .vchr-footer-container {
    width: min(100vw - 28px, 1440px);
  }

  .vchr-header-top-inner {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .vchr-menu-list {
    gap: 0 18px;
  }

  .vchr-menu-list a {
    min-height: 36px;
  }

  .vchr-brand {
    align-items: flex-start;
  }

  .vchr-brand-text {
    display: block;
  }

  .vchr-brand-title {
    font-size: 38px;
  }

  .vchr-brand-subtitle {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    white-space: normal;
  }

  .vchr-logo-mark {
    flex-basis: 66px;
    width: 66px;
    height: 66px;
    font-size: 13px;
  }

  .vchr-hero-media {
    min-height: 450px;
  }

  .vchr-chips {
    margin-bottom: 42px;
  }

  .vchr-document-item {
    grid-template-columns: 34px 1fr;
  }

  .vchr-document-type {
    grid-column: 2;
    justify-self: start;
  }

  .vchr-footer-bottom-inner {
    flex-wrap: wrap;
    padding: 16px 0;
  }
}


/* ========================================================================
   Vestnik width fix v2
   Forces the redesigned page out of Hueman's boxed/narrow layout and makes
   the header, homepage and footer use the browser width.
   ======================================================================== */
html,
body {
  width: 100% !important;
  max-width: none !important;
}

body #wrapper,
body.boxed #wrapper,
body.full-width #wrapper,
body #page,
body #page.container,
body .container,
body .container-inner,
body .main,
body .main-inner {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body #page.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .container-inner,
body .main,
body .main-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}

body #header.vchr-header,
body #footer.vchr-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body .vchr-header-container,
body .vchr-home,
body .vchr-footer-container {
  width: min(1440px, calc(100vw - 64px)) !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .vchr-brand-inner {
  gap: 32px;
}

body .vchr-brand-title {
  font-size: clamp(42px, 4vw, 64px);
  letter-spacing: .13em;
}

body .vchr-brand-subtitle {
  font-size: clamp(20px, 1.65vw, 28px);
  white-space: normal;
}

body .vchr-search-form {
  flex: 0 1 360px;
}

@media (max-width: 1400px) {
  body .vchr-brand-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 0;
  }

  body .vchr-brand {
    width: 100%;
  }

  body .vchr-search-form {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
}

@media (max-width: 980px) {
  body .vchr-header-container,
  body .vchr-home,
  body .vchr-footer-container {
    width: min(100vw - 28px, 1440px) !important;
  }

  body .vchr-hero-grid,
  body .vchr-content-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================================
   Vestnik corrections v3
   User requested: real logo, TIK pages in Important, shorter documents,
   news images from post content, footer contacts/socials.
   ======================================================================== */
:root {
  --vchr-green-950: #113f34;
  --vchr-green-900: #164a3d;
  --vchr-green-800: #1b5545;
  --vchr-green-700: #23664f;
  --vchr-green-100: #edf6f2;
  --vchr-red: #d2504d;
  --vchr-red-dark: #b93f3d;
  --vchr-border: #dfe8e3;
  --vchr-text: #1d2823;
  --vchr-muted: #65756d;
  --vchr-bg: #f5f8f6;
}

#header.vchr-header {
  background:
    radial-gradient(circle at 18% 12%, rgba(210,80,77,.17), transparent 30%),
    linear-gradient(135deg, var(--vchr-green-950), var(--vchr-green-800));
}

.vchr-logo-mark {
  flex: 0 0 98px;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  padding: 0;
}

.vchr-logo-mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 14px;
}

.vchr-brand-title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.vchr-brand-subtitle {
  color: rgba(255,255,255,.96);
}

.vchr-button,
.vchr-tag,
.vchr-doc-icon,
.vchr-socials a:hover,
.vchr-socials a:focus {
  background: var(--vchr-red);
}

.vchr-button:hover,
.vchr-button:focus {
  background: var(--vchr-red-dark);
}

.vchr-doc-icon.gold,
.vchr-doc-icon.green,
.vchr-doc-icon.blue,
.vchr-doc-icon.orange {
  background: var(--vchr-green-700);
}

.vchr-important-link:nth-of-type(2) .vchr-doc-icon,
.vchr-important-link:nth-of-type(4) .vchr-doc-icon {
  background: var(--vchr-red);
}

.vchr-important-link:hover strong,
.vchr-important-link:focus strong,
.vchr-news-card h3 a:hover,
.vchr-news-card h3 a:focus,
.vchr-section-head a,
.vchr-footer a,
#back-to-top {
  color: var(--vchr-red-dark);
}

.vchr-thumb {
  display: block;
  height: 140px;
  background-color: #d8e3de;
  background-image:
    linear-gradient(135deg, rgba(35,102,79,.16), rgba(210,80,77,.08));
}

.vchr-news-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.vchr-news-card p {
  font-size: 14px;
}

.vchr-documents-panel {
  align-self: start;
}

.vchr-document-item {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 11px 0;
}

.vchr-document-item strong,
.vchr-doc-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--vchr-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.vchr-document-item time {
  margin-bottom: 4px;
  font-size: 13px;
}

.vchr-document-type {
  min-height: 20px;
  padding: 2px 8px;
  font-size: 10px;
  color: var(--vchr-green-700);
  background: var(--vchr-green-100);
}

.vchr-file-icon {
  width: 30px;
  height: 30px;
  color: var(--vchr-green-700);
  border-color: var(--vchr-green-700);
  font-size: 13px;
}

.vchr-footer-grid {
  grid-template-columns: 1.35fr 1.15fr 1.2fr .95fr;
}

.vchr-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.vchr-footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: contain;
  flex: 0 0 54px;
}

.vchr-footer-title {
  color: var(--vchr-green-800);
  line-height: 1.25;
}

.vchr-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vchr-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--vchr-green-800);
  background: var(--vchr-green-100);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.vchr-socials a:hover,
.vchr-socials a:focus {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .vchr-logo-mark {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .vchr-thumb {
    height: 180px;
  }

  .vchr-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   Vestnik corrections v4
   Reading comfort for inner pages: posts, pages, archives and search should
   not stretch text across the whole monitor. Homepage stays wide.
   ======================================================================== */
body:not(.home) .main {
  padding: 34px 0 52px !important;
}

body.single .main-inner,
body.page:not(.home) .main-inner,
body.archive .main-inner,
body.search .main-inner,
body.error404 .main-inner,
body.blog:not(.home) .main-inner {
  width: min(1180px, calc(100vw - 96px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single .content,
body.page:not(.home) .content,
body.error404 .content {
  width: min(920px, 100%) !important;
  max-width: 920px !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.archive .content,
body.search .content,
body.blog:not(.home) .content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single article.post,
body.page:not(.home) article.page,
body.page:not(.home) article.hentry,
body.error404 .notebox,
body.error404 .entry {
  background: var(--vchr-white) !important;
  border: 1px solid var(--vchr-border) !important;
  border-radius: var(--vchr-radius) !important;
  box-shadow: var(--vchr-shadow) !important;
  overflow: hidden;
}

body.single .post-inner,
body.page:not(.home) .post-inner,
body.page:not(.home) article .entry,
body.error404 .notebox,
body.error404 .entry {
  padding: 36px 42px !important;
}

body.single .post-title,
body.single .entry-title,
body.page:not(.home) .post-title,
body.page:not(.home) .entry-title {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  color: var(--vchr-text) !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em;
}

body.single .post-meta,
body.single .post-byline,
body.single .single-heading,
body.page:not(.home) .post-meta {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

body.single .image-container,
body.page:not(.home) .image-container {
  max-width: 920px;
  margin: 22px auto 28px !important;
  border-radius: 14px;
  overflow: hidden;
}

body.single .entry,
body.single .entry-inner,
body.page:not(.home) .entry,
body.page:not(.home) .entry-inner {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--vchr-text);
  font-size: 18px;
  line-height: 1.72;
}

body.single .entry p,
body.page:not(.home) .entry p {
  margin-bottom: 1.15em;
}

body.single .entry img,
body.page:not(.home) .entry img {
  height: auto;
  border-radius: 12px;
}

body.single .post-tags,
body.single .author-bio,
body.single .post-nav,
body.single .related-posts,
body.single #comments,
body.page:not(.home) #comments {
  width: min(920px, 100%) !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single .sidebar,
body.page:not(.home) .sidebar,
body.error404 .sidebar {
  display: none !important;
}

body.archive .sidebar,
body.search .sidebar,
body.blog:not(.home) .sidebar {
  display: none !important;
}

body.archive .post-list,
body.search .post-list,
body.blog:not(.home) .post-list {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

body.archive .grid-item,
body.search .grid-item,
body.blog:not(.home) .grid-item {
  background: var(--vchr-white);
  border: 1px solid var(--vchr-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(13, 44, 32, .06);
}

body.archive .post-inner,
body.search .post-inner,
body.blog:not(.home) .post-inner {
  padding: 18px !important;
}

@media (max-width: 980px) {
  body.single .main-inner,
  body.page:not(.home) .main-inner,
  body.archive .main-inner,
  body.search .main-inner,
  body.error404 .main-inner,
  body.blog:not(.home) .main-inner {
    width: min(100vw - 40px, 1180px) !important;
  }

  body.single .post-inner,
  body.page:not(.home) .post-inner,
  body.page:not(.home) article .entry,
  body.error404 .notebox,
  body.error404 .entry {
    padding: 30px 28px !important;
  }
}

@media (max-width: 620px) {
  body:not(.home) .main {
    padding: 22px 0 34px !important;
  }

  body.single .main-inner,
  body.page:not(.home) .main-inner,
  body.archive .main-inner,
  body.search .main-inner,
  body.error404 .main-inner,
  body.blog:not(.home) .main-inner {
    width: min(100vw - 24px, 1180px) !important;
  }

  body.single .post-inner,
  body.page:not(.home) .post-inner,
  body.page:not(.home) article .entry,
  body.error404 .notebox,
  body.error404 .entry {
    padding: 24px 18px !important;
  }

  body.single .entry,
  body.single .entry-inner,
  body.page:not(.home) .entry,
  body.page:not(.home) .entry-inner {
    font-size: 16px;
    line-height: 1.65;
  }
}


/* ========================================================================
   Vestnik corrections v5
   - Logo separation from the dark header
   - Top search link removed; the large brand-zone search remains
   - Important block alternates red / green
   - Four latest documents display cleanly
   - Long document/postanovlenie titles are calmer and easier to read
   ======================================================================== */

.vchr-header-top-inner {
  justify-content: flex-start;
}

.vchr-primary-nav {
  width: 100%;
}

.vchr-top-search-link {
  display: none !important;
}

.vchr-logo-mark {
  background: #f8fbf9 !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  border-radius: 20px !important;
  padding: 10px !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.20), 0 0 0 1px rgba(255,255,255,.10) !important;
}

.vchr-logo-mark img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(22,74,61,.12);
}

.vchr-footer-brand img {
  background: #f8fbf9;
  padding: 5px;
  box-shadow: 0 6px 18px rgba(13, 44, 32, .10);
}

.vchr-important-link .vchr-doc-icon,
.vchr-important-link .vchr-doc-icon.gold,
.vchr-important-link .vchr-doc-icon.green,
.vchr-important-link .vchr-doc-icon.blue,
.vchr-important-link .vchr-doc-icon.orange {
  background: var(--vchr-green-700);
}

.vchr-important-link:nth-of-type(1) .vchr-doc-icon,
.vchr-important-link:nth-of-type(3) .vchr-doc-icon,
.vchr-important-link:nth-of-type(5) .vchr-doc-icon {
  background: var(--vchr-red);
}

.vchr-important-link:nth-of-type(2) .vchr-doc-icon,
.vchr-important-link:nth-of-type(4) .vchr-doc-icon {
  background: var(--vchr-green-700);
}

.vchr-important-link:nth-of-type(1):hover strong,
.vchr-important-link:nth-of-type(3):hover strong,
.vchr-important-link:nth-of-type(5):hover strong,
.vchr-important-link:nth-of-type(1):focus strong,
.vchr-important-link:nth-of-type(3):focus strong,
.vchr-important-link:nth-of-type(5):focus strong {
  color: var(--vchr-red-dark);
}

.vchr-important-link:nth-of-type(2):hover strong,
.vchr-important-link:nth-of-type(4):hover strong,
.vchr-important-link:nth-of-type(2):focus strong,
.vchr-important-link:nth-of-type(4):focus strong {
  color: var(--vchr-green-700);
}

.vchr-document-item {
  min-height: 82px;
}

.vchr-document-item strong,
.vchr-doc-title {
  -webkit-line-clamp: 2;
  font-size: 13.5px;
  line-height: 1.34;
}

.vchr-document-list .vchr-document-item:nth-child(n+5) {
  display: none;
}

body.vchr-document-entry .content {
  width: min(980px, 100%) !important;
  max-width: 980px !important;
}

body.vchr-document-entry article.post,
body.vchr-document-entry article.hentry {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.vchr-document-entry .post-inner {
  background: var(--vchr-white) !important;
  border: 1px solid var(--vchr-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--vchr-shadow) !important;
  padding: 30px 38px 38px !important;
}

body.vchr-document-entry .post-title,
body.vchr-document-entry .entry-title {
  max-width: 880px !important;
  margin: 0 auto 16px !important;
  padding: 20px 24px !important;
  border-left: 5px solid var(--vchr-red) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(237,246,242,.96), rgba(255,255,255,.98)) !important;
  color: var(--vchr-text) !important;
  font-family: Arial, "PT Sans", sans-serif !important;
  font-size: clamp(22px, 2.05vw, 31px) !important;
  line-height: 1.32 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-wrap: balance;
}

body.vchr-document-entry .post-byline,
body.vchr-document-entry .post-meta,
body.vchr-document-entry .single-heading {
  max-width: 880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.vchr-document-entry .post-byline,
body.vchr-document-entry .post-meta {
  color: var(--vchr-muted) !important;
  font-size: 14px !important;
}

body.vchr-document-entry .entry,
body.vchr-document-entry .entry-inner {
  max-width: 820px !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}

body.vchr-document-entry .entry p,
body.vchr-document-entry .entry li {
  margin-bottom: 1em;
}

@media (max-width: 720px) {
  .vchr-logo-mark {
    padding: 7px !important;
    border-radius: 16px !important;
  }

  body.vchr-document-entry .post-inner {
    padding: 24px 18px 30px !important;
  }

  body.vchr-document-entry .post-title,
  body.vchr-document-entry .entry-title {
    padding: 16px 18px !important;
    font-size: clamp(20px, 6vw, 25px) !important;
  }
}


/* ========================================================================
   Vestnik corrections v6
   - Fixed TIK link is in template
   - Hero category chips are clickable
   - Header search stays opposite the brand on half-width desktop screens
   ======================================================================== */

.vchr-chip {
  color: var(--vchr-green-900) !important;
  background: rgba(255,255,255,.92);
  text-decoration: none !important;
}

.vchr-chip:hover,
.vchr-chip:focus {
  color: var(--vchr-red-dark) !important;
  background: #ffffff;
  text-decoration: none !important;
}

/* Keep brand and search on one line for ordinary desktop/tablet widths. */
@media (max-width: 1400px) {
  body .vchr-brand-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    padding: 22px 0 !important;
  }

  body .vchr-brand {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body .vchr-brand-text {
    min-width: 0 !important;
  }

  body .vchr-brand-title {
    font-size: clamp(34px, 4.2vw, 58px) !important;
    letter-spacing: .11em !important;
  }

  body .vchr-brand-subtitle {
    font-size: clamp(16px, 1.7vw, 24px) !important;
    white-space: normal !important;
  }

  body .vchr-logo-mark {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 82px !important;
  }

  body .vchr-search-form {
    width: auto !important;
    max-width: 360px !important;
    flex: 0 0 clamp(250px, 28vw, 360px) !important;
  }
}

@media (max-width: 980px) {
  body .vchr-brand-inner {
    gap: 14px !important;
  }

  body .vchr-brand {
    gap: 14px !important;
  }

  body .vchr-brand-title {
    font-size: clamp(28px, 4.6vw, 42px) !important;
    letter-spacing: .07em !important;
  }

  body .vchr-brand-subtitle {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  body .vchr-logo-mark {
    flex-basis: 66px !important;
    width: 66px !important;
    height: 66px !important;
    padding: 8px !important;
  }

  body .vchr-search-form {
    flex-basis: 235px !important;
    max-width: 235px !important;
    height: 44px !important;
  }

  body .vchr-search-form input {
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  body .vchr-search-form button {
    width: 42px !important;
  }
}

/* At narrow half-screen widths we keep search opposite the logo by simplifying the brand text. */
@media (max-width: 820px) {
  body .vchr-brand-subtitle {
    display: none !important;
  }

  body .vchr-brand-title {
    font-size: clamp(26px, 5vw, 36px) !important;
  }

  body .vchr-search-form {
    flex-basis: 220px !important;
    max-width: 220px !important;
  }

  body .vchr-search-form input::placeholder {
    color: transparent !important;
  }
}

/* Only on very narrow phones the search may go under the logo for usability. */
@media (max-width: 620px) {
  body .vchr-brand-inner {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body .vchr-brand {
    width: 100% !important;
  }

  body .vchr-brand-subtitle {
    display: block !important;
  }

  body .vchr-search-form {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  body .vchr-search-form input::placeholder {
    color: rgba(255,255,255,.65) !important;
  }
}


/* ========================================================================
   Vestnik corrections v7
   - Restored legal/editorial information at the very bottom of the site
   ======================================================================== */

.vchr-legal-strip {
  border-top: 1px solid rgba(13, 44, 32, .12);
  background: #f4f7f5;
  color: #5b6862;
}

.vchr-legal-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 12.5px;
  line-height: 1.55;
}

.vchr-legal-text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
}

.vchr-legal-text span {
  display: inline;
}

.vchr-legal-strip a {
  color: var(--vchr-green-800);
  font-weight: 700;
  text-decoration: none;
}

.vchr-legal-strip a:hover,
.vchr-legal-strip a:focus {
  text-decoration: underline;
}

.vchr-age-mark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--vchr-red-dark);
  background: rgba(206, 50, 44, .10);
  font-weight: 800;
}

.vchr-legal-madeby {
  white-space: nowrap;
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .vchr-legal-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vchr-legal-madeby {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .vchr-legal-inner {
    font-size: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .vchr-legal-text {
    gap: 3px 8px;
  }
}
