/* novosti-sayta: лента публикаций в стиле ВКонтакте */

html body.page-novosti-sayta {
  --vk-blue: #2a5885;
  --vk-blue-hover: #1d3c5c;
  --vk-action: #818c99;
  --vk-action-hover-bg: #f0f2f5;
  --vk-border: #e7e8ec;
  --vk-muted: #818c99;
  --vk-text: #000000;
  --vk-soft: #222222;
  --vk-card: #ffffff;
  --vk-chip: #f0f2f5;
  --vk-heart: #ff3347;
  --vk-radius: 12px;
}

html body.page-novosti-sayta .user-news-intro-text {
  color: var(--vk-muted) !important;
}

/* Карточка поста — белая «стена» ВК */
html body.page-novosti-sayta .vk-feed-list {
  gap: 12px !important;
}

html body.page-novosti-sayta #vkFeed > .vk-feed-card,
html body.page-novosti-sayta .vk-feed-card {
  position: relative !important;
  padding: 12px 16px 8px !important;
  border-radius: var(--vk-radius) !important;
  border: none !important;
  background: var(--vk-card) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  overflow: visible !important;
  transform: none !important;
  transition: box-shadow 0.2s ease !important;
}

html body.page-novosti-sayta #vkFeed > .vk-feed-card::before,
html body.page-novosti-sayta #vkFeed > .vk-feed-card::after,
html body.page-novosti-sayta .vk-feed-card::before,
html body.page-novosti-sayta .vk-feed-card::after {
  display: none !important;
  content: none !important;
}

html body.page-novosti-sayta #vkFeed > .vk-feed-card:hover,
html body.page-novosti-sayta .vk-feed-card:hover {
  transform: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border-color: transparent !important;
}

html body.page-novosti-sayta .vk-feed-card.is-target {
  box-shadow: 0 0 0 2px rgba(42, 88, 133, 0.28), 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* Шапка */
html body.page-novosti-sayta .vk-post-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

html body.page-novosti-sayta .vk-post-avatar,
html body.page-novosti-sayta .vk-comment-avatar,
html body.page-novosti-sayta .vk-composer-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #5b7fa6 0%, #2a5885 100%) !important;
  box-shadow: none !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}

html body.page-novosti-sayta .vk-comment-avatar,
html body.page-novosti-sayta .vk-composer-avatar {
  width: 36px !important;
  height: 36px !important;
  font-size: 13px !important;
}

html body.page-novosti-sayta .vk-comment-avatar img,
html body.page-novosti-sayta .vk-composer-avatar img,
html body.page-novosti-sayta .vk-post-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

html body.page-novosti-sayta .vk-comment-avatar.has-photo,
html body.page-novosti-sayta .vk-composer-avatar.has-photo {
  background: #dce1e6 !important;
  color: transparent !important;
}

html body.page-novosti-sayta .vk-composer-avatar-wrap {
  position: relative !important;
  display: inline-flex !important;
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body.page-novosti-sayta .vk-composer-avatar-wrap .vk-composer-avatar {
  width: 36px !important;
  height: 36px !important;
  pointer-events: none !important;
}

html body.page-novosti-sayta .vk-composer-avatar-input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  z-index: 2 !important;
}

html body.page-novosti-sayta .vk-composer-avatar-badge {
  position: absolute !important;
  right: -2px !important;
  bottom: -2px !important;
  z-index: 3 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #5181b8 !important;
  border: 1px solid #d7d8db !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

html body.page-novosti-sayta .vk-composer-avatar-badge svg {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
}

html body.page-novosti-sayta .vk-composer-avatar-wrap:hover .vk-composer-avatar,
html body.page-novosti-sayta .vk-composer-avatar-wrap:focus-within .vk-composer-avatar {
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.28) !important;
}

html body.page-novosti-sayta .vk-composer-avatar-wrap.is-loading {
  opacity: 0.65 !important;
  pointer-events: none !important;
}

html body.page-novosti-sayta .vk-post-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

html body.page-novosti-sayta .vk-post-author-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 2px !important;
}

html body.page-novosti-sayta .vk-post-author {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--vk-blue) !important;
  line-height: 1.25 !important;
}

html body.page-novosti-sayta .vk-post-author,
html body.page-novosti-sayta a.vk-post-author,
html body.page-novosti-sayta a.vk-post-author-category,
html body.page-novosti-sayta a.vk-post-author-category:link,
html body.page-novosti-sayta a.vk-post-author-category:visited,
html body.page-novosti-sayta a.vk-post-author-category:hover,
html body.page-novosti-sayta a.vk-post-author-category:focus,
html body.page-novosti-sayta a.vk-post-author-category:focus-visible,
html body.page-novosti-sayta a.vk-post-author-category:active {
  cursor: pointer !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  text-decoration-line: none !important;
  text-underline-offset: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html body.page-novosti-sayta a.vk-post-author-category:hover,
html body.page-novosti-sayta a.vk-post-author-category:focus-visible {
  color: var(--vk-blue-dark, #1b5c78) !important;
}

html body.page-novosti-sayta .vk-post-type {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--vk-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.3 !important;
}

html body.page-novosti-sayta .vk-post-date {
  font-size: 12.5px !important;
  color: var(--vk-muted) !important;
  line-height: 1.3 !important;
}

html body.page-novosti-sayta .vk-post-menu {
  color: var(--vk-muted) !important;
  font-size: 20px !important;
  line-height: 1 !important;
  letter-spacing: 1px !important;
  padding: 4px 2px !important;
  user-select: none !important;
}

/* Счётчик просмотров — над футером, справа */
html body.page-novosti-sayta .vk-post-views {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  width: 100% !important;
  margin: 2px 0 8px !important;
  color: var(--vk-muted) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  user-select: none !important;
  pointer-events: none !important;
}

html body.page-novosti-sayta .vk-post-views-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  color: inherit !important;
}

html body.page-novosti-sayta .vk-post-views-icon svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

html body.page-novosti-sayta .vk-post-views-count {
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0 !important;
}

/* Контент */
html body.page-novosti-sayta .vk-post-title {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--vk-text) !important;
}

html body.page-novosti-sayta .vk-post-text {
  margin: 0 0 8px !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  color: var(--vk-soft) !important;
  white-space: pre-wrap !important;
}

html body.page-novosti-sayta .vk-post-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 10px !important;
  color: var(--vk-blue) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

html body.page-novosti-sayta .vk-post-link:hover {
  color: var(--vk-blue-hover) !important;
  text-decoration: underline !important;
}

html body.page-novosti-sayta .vk-gallery {
  display: grid !important;
  gap: 2px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 -16px 10px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

html body.page-novosti-sayta .vk-gallery.single {
  grid-template-columns: 1fr !important;
}

html body.page-novosti-sayta .vk-gallery img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
}

/* Сводка вне кнопок больше не используется */
html body.page-novosti-sayta .vk-reactions-summary {
  display: none !important;
}

html body.page-novosti-sayta .vk-reactions-summary[hidden] {
  display: none !important;
}

html body.page-novosti-sayta .vk-reactions-chips,
html body.page-novosti-sayta .vk-reaction-chip,
html body.page-novosti-sayta .vk-reactions-total,
html body.page-novosti-sayta .vk-comments-count-soft,
html body.page-novosti-sayta .vk-reactions-meta {
  display: none !important;
}

/* Панель действий — как PostBottomAction в VK */
html body.page-novosti-sayta .vk-post-footer {
  margin: 0 -4px !important;
  padding: 2px 0 0 !important;
  border-top: 1px solid var(--vk-border) !important;
  background: transparent !important;
}

html body.page-novosti-sayta .vk-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}

html body.page-novosti-sayta .vk-react-wrap {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.page-novosti-sayta .vk-action,
html body.page-novosti-sayta .vk-action-button,
html body.page-novosti-sayta .vk-react-wrap > .vk-action-react,
html body.page-novosti-sayta .vk-share-wrap > .vk-action-share {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 44px !important;
  height: 44px !important;
  width: 100% !important;
  padding: 0 8px !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #99a2ad !important;
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Geneva, "Noto Sans Armenian", "Noto Sans Bengali", "Noto Sans Cherokee", "Noto Sans Devanagari", "Noto Sans Ethiopic", "Noto Sans Georgian", "Noto Sans Hebrew", "Noto Sans Kannada", "Noto Sans Khmer", "Noto Sans Lao", "Noto Sans Osmanya", "Noto Sans Tamil", "Noto Sans Telugu", "Noto Sans Thai", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 16px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transform: none !important;
  transition: background-color 0.12s ease, color 0.12s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body.page-novosti-sayta .vk-action:hover,
html body.page-novosti-sayta .vk-action-button:hover,
html body.page-novosti-sayta .vk-action-button:not(:disabled):hover,
html body.page-novosti-sayta .vk-react-wrap > .vk-action-react:hover,
html body.page-novosti-sayta .vk-share-wrap > .vk-action-share:hover {
  background: rgba(0, 16, 61, 0.04) !important;
  color: #6d7885 !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

html body.page-novosti-sayta .vk-action:active,
html body.page-novosti-sayta .vk-action-button:active {
  background: rgba(0, 16, 61, 0.07) !important;
}

html body.page-novosti-sayta .vk-action-button.active,
html body.page-novosti-sayta .vk-action-button:disabled.active,
html body.page-novosti-sayta .vk-action-react.is-active {
  background: transparent !important;
  color: #ff3347 !important;
  cursor: pointer !important;
}

html body.page-novosti-sayta .vk-action-react.is-active:hover {
  background: rgba(255, 51, 71, 0.06) !important;
  color: #ff3347 !important;
}

html body.page-novosti-sayta .vk-action-react.is-emoji-reaction,
html body.page-novosti-sayta .vk-action-react.is-emoji-reaction:hover {
  color: #2c2d2e !important;
}

html body.page-novosti-sayta .vk-action-button.is-open:not(:disabled) {
  background: rgba(0, 16, 61, 0.04) !important;
  color: #2a5885 !important;
}

html body.page-novosti-sayta .vk-action-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: inherit !important;
}

html body.page-novosti-sayta .vk-action-icon svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  color: inherit !important;
  fill: currentColor !important;
}

html body.page-novosti-sayta .vk-action-icon--emoji {
  font-size: 20px !important;
  transform: translateY(0.5px) !important;
}

html body.page-novosti-sayta .vk-action-count {
  display: inline-block !important;
  min-width: 0.75em !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.page-novosti-sayta .vk-action-count[hidden] {
  display: none !important;
}

html body.page-novosti-sayta .vk-action-label {
  display: none !important;
}

html body.page-novosti-sayta .vk-action-share.is-active,
html body.page-novosti-sayta .vk-action-share.active {
  color: #2a5885 !important;
}

html body.page-novosti-sayta .vk-share-wrap {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body.page-novosti-sayta .vk-share-wrap > .vk-action-share {
  width: 100% !important;
}

html body.page-novosti-sayta .vk-share-menu {
  position: absolute !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  z-index: 50 !important;
  width: min(288px, calc(100vw - 24px)) !important;
  padding: 10px 0 8px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 8px 28px rgba(0, 0, 0, 0.18) !important;
  animation: vkSharePop 0.16s ease !important;
}

html body.page-novosti-sayta .vk-share-menu[hidden] {
  display: none !important;
}

@keyframes vkSharePop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html body.page-novosti-sayta .vk-share-menu-title {
  margin: 0 14px 8px !important;
  padding: 0 !important;
  color: #2c2d2e !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}

html body.page-novosti-sayta .vk-share-menu-group + .vk-share-menu-group {
  margin-top: 6px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html body.page-novosti-sayta .vk-share-menu-group-title {
  margin: 0 14px 6px !important;
  color: #818c99 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 16px !important;
  text-transform: none !important;
}

html body.page-novosti-sayta .vk-share-menu-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 0 6px !important;
}

html body.page-novosti-sayta .vk-share-option {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: none !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #2c2d2e !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 18px !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background-color 0.12s ease !important;
}

html body.page-novosti-sayta .vk-share-option:hover {
  background: rgba(0, 16, 61, 0.05) !important;
}

html body.page-novosti-sayta .vk-share-option-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

html body.page-novosti-sayta .vk-share-option-icon-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  user-select: none !important;
}

html body.page-novosti-sayta .vk-share-option-label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

html body.page-novosti-sayta .vk-react-picker {
  position: absolute !important;
  left: 0 !important;
  bottom: calc(100% + 6px) !important;
  z-index: 40 !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 6px 8px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.16) !important;
  animation: vkReactPop 0.16s ease !important;
}

html body.page-novosti-sayta .vk-react-picker[hidden] {
  display: none !important;
}

@keyframes vkReactPop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html body.page-novosti-sayta .vk-react-option {
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

html body.page-novosti-sayta .vk-react-option:hover,
html body.page-novosti-sayta .vk-react-option:focus-visible {
  transform: scale(1.28) translateY(-4px) !important;
  background: rgba(0, 16, 61, 0.04) !important;
  outline: none !important;
}

html body.page-novosti-sayta .vk-react-option.is-selected {
  background: rgba(255, 51, 71, 0.1) !important;
}

/* Комментарии */
html body.page-novosti-sayta .vk-comments {
  margin-top: 4px !important;
  padding: 8px 0 6px !important;
  border-top: 1px solid var(--vk-border) !important;
  display: grid !important;
  gap: 10px !important;
  background: transparent !important;
}

html body.page-novosti-sayta .vk-comments[hidden] {
  display: none !important;
}

html body.page-novosti-sayta .vk-comments-title {
  display: none !important;
}

html body.page-novosti-sayta .vk-comment-list {
  display: grid !important;
  gap: 10px !important;
}

html body.page-novosti-sayta .vk-comment {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.page-novosti-sayta .vk-comment-body {
  min-width: 0 !important;
}

html body.page-novosti-sayta .vk-comment-bubble {
  display: grid !important;
  gap: 2px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  background: var(--vk-chip) !important;
}

html body.page-novosti-sayta .vk-comment-header {
  display: block !important;
  margin: 0 !important;
}

html body.page-novosti-sayta .vk-comment-author {
  color: var(--vk-blue) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

html body.page-novosti-sayta .vk-comment-text {
  color: var(--vk-soft) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

html body.page-novosti-sayta .vk-comment-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 4px !important;
  padding-left: 4px !important;
}

html body.page-novosti-sayta .vk-comment-date {
  color: var(--vk-muted) !important;
  font-size: 12px !important;
}

html body.page-novosti-sayta .vk-comment-empty {
  color: var(--vk-muted) !important;
  font-size: 13.5px !important;
  padding: 4px 0 2px !important;
}

html body.page-novosti-sayta .vk-comment-form {
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.page-novosti-sayta .vk-comment-composer {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
}

html body.page-novosti-sayta .vk-comment-composer-main {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body.page-novosti-sayta .vk-comments,
html body.page-novosti-sayta .vk-comment-form,
html body.page-novosti-sayta .vk-comment-composer,
html body.page-novosti-sayta .vk-comment-composer-main {
  overflow: visible !important;
}

html body.page-novosti-sayta .vk-comment-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 6px !important;
  align-items: center !important;
  overflow: visible !important;
}

html body.page-novosti-sayta .vk-comment-name-field {
  position: relative !important;
  width: 100% !important;
}

html body.page-novosti-sayta .vk-comment-form input,
html body.page-novosti-sayta .vk-comment-form textarea,
html body.page-novosti-sayta .vk-comment-form input[type="text"] {
  box-sizing: border-box !important;
  min-height: 48px !important;
  height: 48px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: none !important;
  border-radius: 18px !important;
  background: var(--vk-chip) !important;
  color: var(--vk-soft) !important;
  font-size: 13.5px !important;
  line-height: 48px !important;
  font-family: inherit !important;
  box-shadow: none !important;
  resize: none !important;
}

html body.page-novosti-sayta .vk-comment-name-field .vk-comment-name-input {
  height: 48px !important;
  max-height: 48px !important;
  padding-right: 12px !important;
  line-height: 48px !important;
}

html body.page-novosti-sayta .vk-comment-text-field {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
}

html body.page-novosti-sayta .vk-comment-form textarea,
html body.page-novosti-sayta .vk-comment-form .vk-comment-text-input,
html body.page-novosti-sayta .vk-comment-text-field .vk-comment-text-input,
html body.page-novosti-sayta .vk-comment-form .vk-comment-text-field > textarea {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 44px 0 14px !important;
  line-height: 48px !important;
  resize: none !important;
  overflow: hidden !important;
  field-sizing: fixed !important;
  vertical-align: middle !important;
}

html body.page-novosti-sayta .vk-comment-form input:focus,
html body.page-novosti-sayta .vk-comment-form textarea:focus {
  outline: none !important;
  border: none !important;
  box-shadow: 0 0 0 2px rgba(42, 88, 133, 0.18) !important;
  background: #e7e9ed !important;
}

html body.page-novosti-sayta .vk-comment-text-field > .vk-comment-emoji-btn,
html body.page-novosti-sayta .vk-comment-emoji-btn {
  position: absolute !important;
  top: 0 !important;
  right: 8px !important;
  bottom: 0 !important;
  left: auto !important;
  z-index: 2 !important;
  width: 32px !important;
  height: 32px !important;
  margin: auto 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #99a2ad !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  transform: none !important;
  translate: none !important;
  transition: color 0.12s ease, background 0.12s ease !important;
}

html body.page-novosti-sayta .vk-comment-emoji-btn svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  transform: none !important;
}

html body.page-novosti-sayta .vk-comment-text-field > .vk-comment-emoji-btn:hover,
html body.page-novosti-sayta .vk-comment-text-field > .vk-comment-emoji-btn:focus-visible,
html body.page-novosti-sayta .vk-comment-text-field > .vk-comment-emoji-btn[aria-expanded="true"],
html body.page-novosti-sayta .vk-comment-text-field > .vk-comment-emoji-btn:active,
html body.page-novosti-sayta .vk-comment-emoji-btn:hover,
html body.page-novosti-sayta .vk-comment-emoji-btn:focus-visible,
html body.page-novosti-sayta .vk-comment-emoji-btn[aria-expanded="true"],
html body.page-novosti-sayta .vk-comment-emoji-btn:active {
  top: 0 !important;
  right: 8px !important;
  bottom: 0 !important;
  margin: auto 0 !important;
  background: rgba(0, 16, 61, 0.05) !important;
  color: #0077ff !important;
  outline: none !important;
  transform: none !important;
  translate: none !important;
}

html body.page-novosti-sayta .vk-comment-emoji-picker {
  position: absolute !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  z-index: 60 !important;
  width: min(320px, calc(100vw - 48px)) !important;
  max-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid #e7e8ec !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.04) !important;
  animation: vkEmojiPop 0.16s ease !important;
}

html body.page-novosti-sayta .vk-comment-emoji-picker[hidden] {
  display: none !important;
}

@keyframes vkEmojiPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html body.page-novosti-sayta .vk-emoji-picker-head {
  padding: 10px 12px 6px !important;
  color: #2c2d2e !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

html body.page-novosti-sayta .vk-emoji-picker-tabs {
  display: flex !important;
  gap: 2px !important;
  padding: 0 8px 8px !important;
  border-bottom: 1px solid #e7e8ec !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

html body.page-novosti-sayta .vk-emoji-picker-tabs::-webkit-scrollbar {
  display: none !important;
}

html body.page-novosti-sayta .vk-emoji-picker-tab {
  width: 36px !important;
  height: 32px !important;
  flex: 0 0 auto !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.12s ease !important;
}

html body.page-novosti-sayta .vk-emoji-picker-tab:hover,
html body.page-novosti-sayta .vk-emoji-picker-tab:focus-visible {
  background: rgba(0, 16, 61, 0.05) !important;
  outline: none !important;
}

html body.page-novosti-sayta .vk-emoji-picker-tab.is-active {
  background: rgba(0, 119, 255, 0.12) !important;
}

html body.page-novosti-sayta .vk-emoji-picker-grid {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 2px !important;
  padding: 8px !important;
  overflow-y: auto !important;
  max-height: 220px !important;
  overscroll-behavior: contain !important;
}

html body.page-novosti-sayta .vk-emoji-picker-option {
  width: 100% !important;
  aspect-ratio: 1 !important;
  min-height: 34px !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  transition: background 0.12s ease !important;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif !important;
}

html body.page-novosti-sayta .vk-emoji-picker-option:hover,
html body.page-novosti-sayta .vk-emoji-picker-option:focus-visible {
  background: rgba(0, 16, 61, 0.06) !important;
  transform: none !important;
  outline: none !important;
}

html body.page-novosti-sayta .vk-comment-emoji-panel,
html body.page-novosti-sayta .vk-comment-emoji-option {
  display: none !important;
}

html body.page-novosti-sayta .vk-comment-submit,
html body.page-novosti-sayta main.main-shell .vk-comment-submit,
html body.page-novosti-sayta .vk-comment-form .vk-btn.primary.vk-comment-submit,
html body.page-novosti-sayta .vk-comment-form .vk-comment-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #99a2ad !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
  align-self: end !important;
  position: relative !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transform: none !important;
  transition: color 0.12s ease, opacity 0.12s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body.page-novosti-sayta .vk-comment-submit::before,
html body.page-novosti-sayta .vk-comment-submit::after,
html body.page-novosti-sayta main.main-shell .vk-comment-submit::before,
html body.page-novosti-sayta main.main-shell .vk-comment-submit::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html body.page-novosti-sayta .vk-comment-submit svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  color: inherit !important;
  fill: currentColor !important;
  pointer-events: none !important;
}

/* Как в мессенджере ВК: активна — синий «самолётик», пусто — серый */
html body.page-novosti-sayta .vk-comment-submit.is-ready:not(:disabled),
html body.page-novosti-sayta .vk-comment-form .vk-comment-submit.is-ready:not(:disabled) {
  color: #0077ff !important;
  background: transparent !important;
  cursor: pointer !important;
}

html body.page-novosti-sayta .vk-comment-submit.is-ready:not(:disabled):hover,
html body.page-novosti-sayta .vk-comment-submit.is-ready:not(:disabled):focus-visible,
html body.page-novosti-sayta main.main-shell .vk-comment-submit.is-ready:not(:disabled):hover,
html body.page-novosti-sayta main.main-shell .vk-comment-submit.is-ready:not(:disabled):focus-visible {
  color: #0064d1 !important;
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

html body.page-novosti-sayta .vk-comment-submit:disabled,
html body.page-novosti-sayta .vk-comment-submit:disabled:hover,
html body.page-novosti-sayta main.main-shell .vk-comment-submit:disabled {
  color: #99a2ad !important;
  background: transparent !important;
  opacity: 0.72 !important;
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
}

html body.page-novosti-sayta .comment-policy-note {
  color: var(--vk-muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  padding-left: 44px !important;
}

html body.page-novosti-sayta .vk-comment-status {
  color: #e64646 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding-left: 44px !important;
}

html body.page-novosti-sayta .news-comment-admin-row {
  margin-top: 4px !important;
  padding-left: 4px !important;
}

@media (max-width: 720px) {
  html body.page-novosti-sayta #vkFeed > .vk-feed-card,
  html body.page-novosti-sayta .vk-feed-card {
    padding: 12px 12px 8px !important;
    border-radius: 10px !important;
  }

  html body.page-novosti-sayta .vk-gallery {
    margin-left: -12px !important;
    margin-right: -12px !important;
  }

  html body.page-novosti-sayta .vk-actions {
    gap: 0 !important;
  }

  html body.page-novosti-sayta .vk-action,
  html body.page-novosti-sayta .vk-action-button,
  html body.page-novosti-sayta .vk-react-wrap > .vk-action-react,
  html body.page-novosti-sayta .vk-share-wrap > .vk-action-share {
    gap: 4px !important;
    padding: 0 4px !important;
    min-height: 40px !important;
    height: 40px !important;
  }

  html body.page-novosti-sayta .vk-action-icon,
  html body.page-novosti-sayta .vk-action-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  html body.page-novosti-sayta .vk-action-count {
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  html body.page-novosti-sayta .vk-comment-grid {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  html body.page-novosti-sayta .comment-policy-note,
  html body.page-novosti-sayta .vk-comment-status {
    padding-left: 0 !important;
  }

  html body.page-novosti-sayta .vk-react-picker {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Блок 2: «Новости благотворительного фонда…» = «О ДЕЯТЕЛЬНОСТИ ФОНДА» на font.html (финальный слой) */
  html.site-blocks body.page-novosti-sayta.page-font .user-news-intro-block > .section-eyebrow,
  html.site-blocks body.page-novosti-sayta .user-news-intro-block > .section-eyebrow,
  html body.page-novosti-sayta.page-font .user-news-intro-block > .section-eyebrow,
  html body.page-novosti-sayta .user-news-intro-block > .section-eyebrow,
  html body.page-novosti-sayta .user-news-intro-block .section-eyebrow {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 var(--font-card-title-content-gap, 12px) !important;
    padding: 0 !important;
    gap: 0 !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-size: var(--font-index-font-logo, 1.08rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    text-indent: 0 !important;
    color: var(--font-ink, #1c2426) !important;
    -webkit-text-fill-color: var(--font-ink, #1c2426) !important;
    filter: none !important;
    text-shadow: none !important;
  }

  html.site-blocks body.page-novosti-sayta.page-font .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
  html.site-blocks body.page-novosti-sayta .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
  html body.page-novosti-sayta.page-font .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
  html body.page-novosti-sayta .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
  html body.page-novosti-sayta .user-news-intro-block .section-eyebrow .section-eyebrow-brand {
    text-transform: none !important;
  }
}

/* Бренд «ПлАЦДАРМ» в eyebrow — без uppercase на всех ширинах */
html.site-blocks body.page-novosti-sayta.page-font .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
html.site-blocks body.page-novosti-sayta .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
html body.page-novosti-sayta.page-font .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
html body.page-novosti-sayta .user-news-intro-block > .section-eyebrow .section-eyebrow-brand,
html body.page-novosti-sayta .user-news-intro-block .section-eyebrow .section-eyebrow-brand {
  text-transform: none !important;
}

/* Стрелки ручной навигации в «Информационный блог» */
html body.page-novosti-sayta .user-ad-rotator {
  position: relative !important;
}

html body.page-novosti-sayta .user-ad-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: transform 0.15s ease !important;
  pointer-events: auto !important;
}

html body.page-novosti-sayta .user-ad-nav--prev {
  left: 2px !important;
}

html body.page-novosti-sayta .user-ad-nav--next {
  right: 2px !important;
}

html body.page-novosti-sayta .user-ad-nav:hover,
html body.page-novosti-sayta .user-ad-nav:focus-visible {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}

html body.page-novosti-sayta .user-ad-nav:active {
  transform: translateY(-50%) scale(0.92) !important;
}

html body.page-novosti-sayta .user-ad-nav-icon {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  max-width: none !important;
  object-fit: contain !important;
  pointer-events: none !important;
  user-select: none !important;
  opacity: 0.62 !important;
  filter:
    drop-shadow(0.5px 0 0 rgba(0, 0, 0, 0.9))
    drop-shadow(-0.5px 0 0 rgba(0, 0, 0, 0.9))
    drop-shadow(0 0.5px 0 rgba(0, 0, 0, 0.9))
    drop-shadow(0 -0.5px 0 rgba(0, 0, 0, 0.9)) !important;
}

html body.page-novosti-sayta .user-ad-nav:hover .user-ad-nav-icon,
html body.page-novosti-sayta .user-ad-nav:focus-visible .user-ad-nav-icon {
  filter:
    brightness(1.12)
    drop-shadow(0.5px 0 0 rgba(0, 0, 0, 0.9))
    drop-shadow(-0.5px 0 0 rgba(0, 0, 0, 0.9))
    drop-shadow(0 0.5px 0 rgba(0, 0, 0, 0.9))
    drop-shadow(0 -0.5px 0 rgba(0, 0, 0, 0.9)) !important;
}

html body.page-novosti-sayta .user-ad-nav-icon--prev {
  transform: scaleX(-1) !important;
}

@media (max-width: 768px) {
  html body.page-novosti-sayta .user-ad-nav {
    width: 40px !important;
    height: 40px !important;
  }

  html body.page-novosti-sayta .user-ad-nav--prev {
    left: 0 !important;
  }

  html body.page-novosti-sayta .user-ad-nav--next {
    right: 0 !important;
  }

  html body.page-novosti-sayta .user-ad-nav-icon {
    width: 30px !important;
    height: 30px !important;
  }
}