:root {
  --vlk-news-emerald: #0b5a3a;
  --vlk-news-emerald-deep: #073f2c;
  --vlk-news-silver: rgba(225, 234, 229, 0.72);
}

.vlk-news {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  color: #fff;
  background-color: rgba(7, 63, 44, 0.64);
  background-image: linear-gradient(90deg, rgba(7, 63, 44, 0.18), rgba(11, 90, 58, 0.07));
  border: 1px solid rgba(225, 234, 229, 0.4);
  box-shadow: 0 5px 14px rgba(3, 40, 27, 0.1);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  font-family: inherit;
}

.vlk-news.is-inline {
  margin: 16px 0 0;
  border-radius: 8px;
  overflow: hidden;
}

.vlk-news.is-page-inline {
  width: min(calc(100% - 32px), 1170px);
  margin: 16px auto 20px;
}

.vlk-news.is-portal-inline {
  width: 100%;
  margin: 18px 0 22px;
  z-index: 4;
}

.vlk-news[hidden] { display: none !important; }

.vlk-news__brand,
.vlk-news__actions,
.vlk-news__story {
  display: flex;
  align-items: center;
}

.vlk-news__brand {
  gap: 7px;
  padding: 0 14px;
  border-right: 1px solid rgba(224, 234, 228, 0.24);
  white-space: nowrap;
  letter-spacing: 0.045em;
}

.vlk-news__brand strong {
  font-size: 10.5px;
  font-weight: 600;
}

.vlk-news__brand > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8df29c;
  box-shadow: 0 0 0 3px rgba(141, 242, 156, 0.12), 0 0 8px rgba(141, 242, 156, 0.58);
}

.vlk-news__viewport {
  min-width: 0;
  overflow: hidden;
}

.vlk-news__story {
  min-height: 36px;
  gap: 10px;
  padding: 0 14px;
  color: #fff !important;
  text-decoration: none !important;
}

.vlk-news__story:focus-visible,
.vlk-news button:focus-visible,
.vlk-news__archive:focus-visible {
  outline: 2px solid #a8f5b3;
  outline-offset: -3px;
}

.vlk-news__source {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid rgba(233, 239, 236, 0.46);
  border-radius: 4px;
  color: #edf4f0;
  background: rgba(255, 255, 255, 0.06);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.vlk-news__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.vlk-news__time {
  flex: 0 0 auto;
  padding-left: 10px;
  border-left: 1px solid rgba(224, 234, 228, 0.24);
  color: #c8d8cf;
  font-size: 10.5px;
  white-space: nowrap;
}

.vlk-news__actions {
  border-left: 1px solid rgba(224, 234, 228, 0.24);
}

.vlk-news button,
.vlk-news__archive {
  min-width: 30px;
  height: 36px;
  border: 0 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}

.vlk-news button {
  padding: 0 8px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.vlk-news button:hover,
.vlk-news__archive:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.vlk-news__archive {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-left: 1px solid rgba(224, 234, 228, 0.24);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.vlk-news__story[data-changing="true"] {
  opacity: 0.25;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.vlk-news__story[data-changing="false"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

@media (max-width: 900px) {
  .vlk-news {
    min-height: 34px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .vlk-news__brand { padding: 0 10px; }
  .vlk-news__brand strong { font-size: 9.5px; }
  .vlk-news__story { min-height: 34px; gap: 7px; padding: 0 9px; }
  .vlk-news__source { display: none; }
  .vlk-news__title { font-size: 11px; }
  .vlk-news__time { display: none; }
  .vlk-news button { height: 34px; min-width: 28px; padding: 0 7px; }
  .vlk-news__archive { width: 34px; height: 34px; padding: 0 10px; font-size: 0; }
  .vlk-news__archive span { font-size: 14px; }
}

@media (max-width: 520px) {
  .vlk-news.is-page-inline {
    width: calc(100% - 24px);
  }

  .vlk-news.is-portal-inline {
    width: 100%;
    margin: 14px 0 18px;
  }

  .vlk-news {
    top: auto !important;
    bottom: auto !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }
  .vlk-news__story,
  .vlk-news button,
  .vlk-news__archive {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    box-sizing: border-box;
  }
  .vlk-news__brand strong { display: none; }
  .vlk-news__brand { padding: 0 11px; }
  .vlk-news__previous { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .vlk-news *, .vlk-news *::before, .vlk-news *::after {
    animation: none !important;
    transition: none !important;
  }
}

.vlk-news-archive {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 72px;
  color: #173329;
  font-family: inherit;
}

.vlk-news-archive[hidden] { display: none !important; }

.vlk-news-archive__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(11, 90, 58, 0.14);
  border-radius: 15px;
  background: linear-gradient(125deg, rgba(236, 246, 240, 0.92), rgba(255, 255, 255, 0.82));
  box-shadow: 0 12px 36px rgba(7, 63, 44, 0.07);
}

.vlk-news-archive__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #0b6b45;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.vlk-news-archive__intro h2 {
  margin: 0 0 8px;
  color: #073f2c;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.12;
}

.vlk-news-archive__intro p {
  max-width: 760px;
  margin: 0;
  color: #5a6e65;
  font-size: 13px;
  line-height: 1.6;
}

.vlk-news-archive__status {
  flex: 0 0 auto;
  color: #60736a;
  font-size: 11px;
  white-space: nowrap;
}

.vlk-news-archive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.vlk-news-archive__filters button {
  min-height: 31px;
  padding: 5px 11px;
  border: 1px solid rgba(11, 90, 58, 0.18) !important;
  border-radius: 999px !important;
  color: #466057 !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: none !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1;
  cursor: pointer;
}

.vlk-news-archive__filters button:hover,
.vlk-news-archive__filters button.is-active {
  border-color: #0b5a3a !important;
  color: #fff !important;
  background: #0b5a3a !important;
}

.vlk-news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.vlk-news-card {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(11, 90, 58, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 28px rgba(7, 63, 44, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vlk-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 90, 58, 0.28);
  box-shadow: 0 13px 32px rgba(7, 63, 44, 0.1);
}

.vlk-news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 13px;
}

.vlk-news-card__category {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 5px;
  color: #0b5a3a;
  background: rgba(11, 90, 58, 0.08);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.vlk-news-card__source {
  min-width: 0;
  overflow: hidden;
  color: #77877f;
  font-size: 9px;
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vlk-news-card__title {
  margin: 0 0 11px;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

.vlk-news-card__title a {
  color: #153c2e !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

.vlk-news-card__title a:hover { color: #0b6b45 !important; }

.vlk-news-card__summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: #607169;
  font-size: 12px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.vlk-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(11, 90, 58, 0.09);
}

.vlk-news-card__footer time {
  color: #8a9891;
  font-size: 9.5px;
}

.vlk-news-card__link {
  color: #0b6b45 !important;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.vlk-news-archive__empty {
  padding: 36px;
  border: 1px dashed rgba(11, 90, 58, 0.2);
  border-radius: 12px;
  color: #687a71;
  text-align: center;
}

@media (max-width: 900px) {
  .vlk-news-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .vlk-news-archive { width: min(100% - 24px, 1180px); margin-top: 18px; }
  .vlk-news-archive__intro { align-items: flex-start; flex-direction: column; padding: 19px; }
  .vlk-news-archive__status { white-space: normal; }
  .vlk-news-archive__grid { grid-template-columns: 1fr; }
  .vlk-news-card { min-height: 0; padding: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .vlk-news-card { transition: none !important; }
}

