.gif-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.gif-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}
.gif-card:first-child {
  grid-column: 1 / -1;
}
.gif-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
}
.gif-card:first-child img {
  max-width: 1000px;
  margin: auto;
}
.gif-card > div {
  padding: 20px 24px;
}
.gif-card h3 {
  font-size: 19px;
  margin: 0 0 9px;
}
.gif-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.gif-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}
.gif-actions button {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}
.gif-actions button[aria-pressed="true"] {
  background: var(--green);
  color: var(--bg);
}
.gif-actions a {
  color: var(--green);
}
@media (max-width: 760px) {
  .gif-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gif-card > div {
    padding: 16px;
  }
}
