.jr-jlist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jr-jitem {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 14px 18px 14px 14px;
  background: #fff;
  border: 1px solid #ecebf5;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(72, 37, 194, 0.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.jr-jitem::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #6a4cf0 0%, #4825c2 100%);
  opacity: 0;
  transition: opacity .25s ease;
}

.jr-jitem:hover,
.jr-jitem:focus-visible {
  transform: translateY(-3px);
  border-color: #d9d3f5;
  box-shadow: 0 16px 36px rgba(72, 37, 194, 0.14);
  outline: none;
}

.jr-jitem:hover::before,
.jr-jitem:focus-visible::before {
  opacity: 1;
}

.jr-jitem__cover {
  flex: 0 0 64px;
  width: 64px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f1fb;
  box-shadow: 0 6px 14px rgba(20, 16, 60, 0.18);
  transition: transform .25s ease;
}

.jr-jitem:hover .jr-jitem__cover,
.jr-jitem:focus-visible .jr-jitem__cover {
  transform: scale(1.04);
}

.jr-jitem__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.jr-jitem__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #12134d;
  overflow-wrap: anywhere;
  transition: color .25s ease;
}

.jr-jitem__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #8a86a8;
  transition: color .25s ease, gap .25s ease;
}

.jr-jitem:hover .jr-jitem__title,
.jr-jitem:focus-visible .jr-jitem__title,
.jr-jitem:hover .jr-jitem__more,
.jr-jitem:focus-visible .jr-jitem__more {
  color: #4825c2;
}

.jr-jitem:hover .jr-jitem__more,
.jr-jitem:focus-visible .jr-jitem__more {
  gap: 10px;
}

@media (max-width: 1199px) {
  .jr-jlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .jr-jlist {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .jr-jitem {
    padding: 12px 14px 12px 12px;
    gap: 14px;
  }

  .jr-jitem__cover {
    flex-basis: 54px;
    width: 54px;
    height: 74px;
  }

  .jr-jitem__title {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jr-jitem,
  .jr-jitem__cover,
  .jr-jitem__title,
  .jr-jitem__more {
    transition: none;
  }

  .jr-jitem:hover,
  .jr-jitem:focus-visible,
  .jr-jitem:hover .jr-jitem__cover,
  .jr-jitem:focus-visible .jr-jitem__cover {
    transform: none;
  }
}
