.feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feed-card {
  padding: 0;
  overflow: hidden;
  min-width: 0;
}

.feed-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 458 / 311;
  object-fit: cover;
  object-position: center;
}

.feed-card .feed-body {
  padding: 16px 18px 20px;
}

.feed-card .cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-weight: 700;
}

.vax-note {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.welfare-gallery a {
  display: block;
  min-width: 0;
}

.welfare-gallery img {
  height: 280px;
  object-position: top;
}

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(96vw, 960px);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: #111;
}

.lightbox-caption {
  margin: 8px 0 0;
  color: #fff;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 640px) {
  .feed-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
