.c-art {
  position: relative;
  background: #fff;
  padding-block: 2.5rem;
}
.c-art > .list {
  width: var(--w);
  margin-inline: auto;
}
.c-art > .list > .item {
  display: flex;
  align-items: center;
  padding: 1px;
  cursor: pointer;
}
.c-art > .list > .item .thumb {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 2px;
}

.c-art > .list > .item .right {
  background: #fff;
  height: 100%;
  width: 1rem;
  flex-grow: 1;
  padding: 0 6px;
}
.c-art > .list > .item .right > .title {
  color: #666;
  height: 2.8rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  font-weight: bold;
}
.c-art > .list > .item:hover .right .title {
  color: red;
}

.c-art > .list > .item .right > .count {
  font-size: 14px;
  transform: scale(0.85);
  transform-origin: 0% 100%;
  color: #999;
}

.c-art-modal {
  height: 100%;
  padding: 0.5rem;
  overflow: auto;
  border: 1px solid #eee;
}

@media (min-width: 600px) {
  .c-art > .list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .c-art > .list > .item {
    width: calc(50% - 12px);
  }
}

@media (max-width: 599px) {
  .c-art > .list > .item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
  }
}
