.rf-community-editorial-note {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 10px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 130, 0, .24);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(255, 130, 0, .1), rgba(255, 255, 255, .96) 55%);
}

.rf-community-editorial-note[hidden] {
  display: none;
}

.rf-community-editorial-badge {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #171717;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
  background: #ff8200;
}

.rf-community-editorial-note div {
  display: grid;
  gap: 6px;
}

.rf-community-editorial-note strong {
  color: #202020;
  font-size: 17px;
  line-height: 1.45;
}

.rf-community-editorial-note p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.rf-community-news-topic {
  position: relative;
}

.rf-community-news-topic::before {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: #ff8200;
  content: "";
  opacity: 0;
  transform: scaleY(.35);
  transition: opacity .2s ease, transform .2s ease;
}

.rf-community-news-topic:hover::before,
.rf-community-news-topic:focus-visible::before {
  opacity: 1;
  transform: scaleY(1);
}

.rf-community-news-topic small {
  color: #767676;
  font-weight: 600;
}

@media (max-width: 640px) {
  .rf-community-editorial-note {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .rf-community-editorial-badge {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 15px;
  }

  .rf-community-news-topic::before {
    top: 20px;
    bottom: 20px;
    left: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rf-community-news-topic::before {
    transition: none;
  }
}
