.cpt-posts {
  margin: 16px 0 32px;
}

.cpt-posts-title {
  margin-bottom: 12px;
  text-align: center;
}

.cpt-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.cpt-posts-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cocoon-thin-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--cocoon-white-color);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cpt-posts-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.cpt-posts-item--placeholder {
  pointer-events: none;
  opacity: 0.75;
}

.cpt-posts-thumb {
  aspect-ratio: 4/3;
  background: var(--cocoon-xxx-thin-color);
  display: grid;
  place-items: center;
}
.cpt-posts-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.cpt-posts-noimage {
  font-size: 13px;
  color: var(--cocoon-thick-color);
}

.cpt-posts-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cpt-posts-item-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.cpt-posts-item-date {
  display: block;
  font-size: 12px;
  color: var(--cocoon-thick-color);
  min-height: 1.2em;
  margin-top: auto;
}

.cpt-posts-archive {
  margin-top: 36px;
  text-align: center;
}

.cpt-posts-archive-link {
  display: inline-block;
  padding: 8px 2rem;
  border: 1px solid #000;
  border-radius: 999px;
  background: #000;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}
.cpt-posts-archive-link:hover {
  background: #fff;
  color: #000;
}

@media screen and (max-width: 600px) {
  .cpt-posts-grid {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=cpt-posts.css.map */