.cpw-post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cpw-post-card__thumb-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 8px;
}

.cpw-post-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f2f5;
}

.cpw-post-card__thumb--placeholder {
  background: linear-gradient(135deg, #e6f1fb 0%, #f0f2f5 100%);
}

.cpw-post-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cpw-post-card:hover .cpw-post-card__img {
  transform: scale(1.04);
}

.cpw-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.cpw-post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.cpw-post-card__date {
  color: #94a3b8;
}

.cpw-post-card__category {
  width: fit-content;
  color: var(--cpw-color-text-blue);
  font-size: 0.75rem;
  font-weight: var(--cpw-font-ui-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.cpw-post-card__category:hover {
  color: var(--cpw-color-text-blue-hover);
}

.cpw-post-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpw-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cpw-post-card__title a:hover,
.cpw-post-card__title a:focus-visible {
  color: var(--cpw-color-text-blue);
}

.cpw-post-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpw-post-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: var(--cpw-font-ui-strong);
  color: var(--cpw-color-text-blue);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.cpw-post-card__read-more:hover,
.cpw-post-card__read-more:focus-visible {
  gap: 0.6rem;
  color: var(--cpw-color-text-blue-hover);
}
