.po-grid-section {
  padding: 48px 0 72px;
  background: var(--pp-tint);
}

.po-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.po-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.po-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--pp-line);
  background: #fff;
  overflow: hidden;
}

.po-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.po-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: var(--pp-tint);
  color: var(--pp-blue);
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

.po-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px 24px;
}

.po-card .po-card__name {
  font-size: 1.25rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.po-card__name a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pp-ink);
  text-decoration: none;
}

.po-card__name a:hover {
  color: var(--pp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.po-card__text {
  display: -webkit-box;
  margin: 0;
  color: var(--pp-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.po-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.po-card__count {
  color: var(--pp-ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.po-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pp-tint);
  color: var(--pp-blue);
  font-size: 0.875rem;
  font-weight: 600;
}

.po-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 12px;
}

.po-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 32px;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: #fff;
}

.po-empty p {
  max-width: 720px;
  margin: 0;
  color: var(--pp-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.po-trust {
  margin-bottom: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--pp-line);
}

.po-trust .pp-trust {
  margin: 0;
}

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

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

@media (min-width: 1280px) {
  .po-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .po-grid-section {
    padding: 32px 0 48px;
  }

  .po-card__body {
    gap: 4px;
    padding: 12px 16px 20px;
  }

  .po-empty {
    padding: 24px 20px;
  }

  .po-empty .pp-btn {
    flex: 1 1 100%;
  }

  .po-trust {
    margin-bottom: 24px;
    padding: 16px 0;
  }
}
