.wb-news-card {
  background: #fff;
  border-top: 4px solid #1986a1;
  box-shadow: 2px 2px 2px rgb(0 0 0 / 10%);
  margin-top: -20px;
}

.wb-news .wb-news-head {
  margin: 0;
  padding: 19px 22px 13px;
  border-bottom: 1px solid #dbe5eb;
  box-shadow: none;
}

.wb-news .wb-news-head h1 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1d3548;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.35;
}

.wb-news .wb-news-head h1:focus {
  overflow-x: auto;
  text-overflow: clip;
  scrollbar-width: thin;
  outline: 2px solid #1986a1;
  outline-offset: 2px;
}

.wb-news-meta,
.wb-news-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.wb-news-meta {
  justify-content: space-between;
  gap: 7px 14px;
  margin-top: 7px;
}

.wb-news-dates {
  gap: 4px 16px;
  color: #526779;
  font-size: 12px;
}

.wb-news-meta .frate {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  min-height: 30px;
  margin: 0;
}

.wb-news-meta .rate-plus,
.wb-news-meta .rate-minus {
  display: grid;
  place-items: center;
  min-width: 24px;
  margin: 0;
}

.wb-news-meta .frate img { margin: 0; }
.wb-news-meta .entry__rating-value { color: #126e89; font-size: 16px; }

.wb-news .wb-news-layout {
  display: grid;
  grid-template-columns: minmax(155px, 26%) minmax(0, 1fr);
  align-items: start;
  gap: 21px;
  padding: 20px 19px;
  margin: 0;
  box-shadow: none;
}

.wb-news .wb-news-layout::before,
.wb-news .wb-news-layout::after {
  display: none;
}

.wb-news .wb-news-side,
.wb-news .wb-news-content {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.wb-news .wb-news-side .mov-img img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 8px;
}

.wb-news .wb-news-side #quiz {
  margin: 17px 0 0;
  padding-inline: 14px;
  background: #f3f8fa;
  border: 1px solid #dbe8ee;
  border-radius: 8px;
}

.wb-news .wb-news-content { line-height: 1.65; }
.wb-news-description { overflow-wrap: anywhere; }
.wb-news-description img { max-width: 100%; }

.wb-news .wb-news-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  float: none;
  margin: 18px 0 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccdde5;
  border-radius: 9px;
  box-shadow: none;
}

.wb-news .wb-news-specs:not(:has(.wb-news-spec)) { display: none; }

.wb-news .wb-news-specs .wb-news-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 10px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 8px 13px;
  border-top: 1px solid #e1ebef;
  background: #fff;
}

.wb-news .wb-news-specs .wb-news-spec::before,
.wb-news .wb-news-specs .wb-news-spec::after {
  display: none;
}

.wb-news .wb-news-specs .wb-news-spec--accent {
  display: block;
  border-top: 0;
  padding-block: 11px;
  background: #eaf4f8;
  color: #164b62;
}

.wb-news .wb-news-specs:has(.wb-news-spec--accent) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wb-news .wb-news-specs:has(.wb-news-spec--accent) .wb-news-spec { grid-column: span 3; }
.wb-news .wb-news-specs:has(.wb-news-spec--accent) .wb-news-spec--version { grid-column: span 4; }
.wb-news .wb-news-specs:has(.wb-news-spec--accent) .wb-news-spec--size { grid-column: span 2; }

.wb-news .wb-news-specs .wb-news-spec--accent:only-of-type,
.wb-news .wb-news-specs:not(:has(.wb-news-spec--size)) .wb-news-spec--version,
.wb-news .wb-news-specs:not(:has(.wb-news-spec--version)) .wb-news-spec--size {
  grid-column: 1 / -1;
}

.wb-news-spec__label { color: #456276; }
.wb-news-spec--accent .wb-news-spec__label {
  color: #3e6678;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wb-news .wb-news-specs .wb-news-spec__value {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.wb-news-spec--version .wb-news-spec__value { font-size: 15px; }
.wb-news-spec--size { text-align: right; }
.wb-news-spec--size .wb-news-spec__value { font-size: 19px; }

@media (max-width: 760px) {
  .wb-news .wb-news-head { padding-inline: 15px; }
  .wb-news .wb-news-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }
  .wb-news .wb-news-side .mov-img { max-width: 200px; }
}

@media (max-width: 430px) {
  .wb-news .wb-news-specs:has(.wb-news-spec--accent) .wb-news-spec:not(.wb-news-spec--accent) {
    grid-column: 1 / -1;
  }
}


/* Shared release panel, with the existing download rows inside it. */
.wb-news .wb-news-release {
  margin: 0 19px;
  border: 1px solid #ccdde5;
  border-radius: 9px;
  background: #fff;
}

.wb-news .wb-news-card { padding-bottom: 19px; }

.wb-news .wb-news-release .wb-news-specs {
  margin: 0;
  border: 0;
  border-radius: 8px 8px 0 0;
}

.wb-news .wb-news-release > .downlt {
  margin: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: none;
}

.wb-news .wb-news-release:has(.wb-news-spec) > .downlt {
  border-top: 1px solid #ccdde5;
}

@media (max-width: 760px) {
  .wb-news .wb-news-release { margin-inline: 15px; }
}
