.swnp-archive {
  --swnp-columns: 4;
  --swnp-gradient: linear-gradient(135deg, #4f46e5 0%, #0d9488 100%);

  display: grid;
  grid-template-columns: repeat(var(--swnp-columns), minmax(0, 1fr));
  gap: 24px;
}

.swnp-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e5ee;
  border-top: 3px solid transparent;
  border-image: var(--swnp-gradient) 1;
  border-image-width: 3px 0 0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: box-shadow 200ms, transform 200ms;
}

.swnp-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.swnp-cover {
  display: grid;
  place-items: center;
  padding: 16px;
  background: #f8f9fc;
}

.swnp-cover img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
}

.swnp-cover__fallback {
  font-size: 32px;
  font-weight: 700;
  color: #475569;
}

.swnp-card__body {
  padding: 14px 16px 16px;
  text-align: center;
}

.swnp-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.swnp-card__date {
  color: #475569;
  font-size: 13px;
}

.swnp-button {
  display: inline-block;
  padding: 10px 20px;
  background: #4f46e5;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.swnp-button:hover,
.swnp-button:focus {
  background: #4338ca;
  color: #fff;
}

.swnp-current .swnp-cover {
  border-radius: 10px;
}

.swnp-current ._df_thumb.df-element {
  width: 100%;
}

@media (max-width: 900px) {
  .swnp-archive {
    grid-template-columns: repeat(min(var(--swnp-columns), 2), minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .swnp-archive {
    grid-template-columns: minmax(0, 1fr);
  }
}
