/* 4 ô bằng nhau — khoảng cách icon đều, số K/M không đẩy icon kế */
.cms-post-engagement.cms-meta {
  display: block;
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1;
  color: #4b5563;
  font-family: "Be Vietnam Pro", "Lato", system-ui, sans-serif;
  min-width: 0;
}

.cms-post-engagement .cms-eng-stats {
  display: inline-grid;
  grid-template-columns: repeat(4, 2.125rem);
  column-gap: 0.375rem;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.cms-post-engagement .cms-eng-item {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
  height: 1rem;
  vertical-align: middle;
}

.cms-post-engagement .cms-eng-item--btn {
  cursor: pointer;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  display: inline-flex;
  align-items: center;
  outline: none;
}

.cms-post-engagement .cms-eng-item--btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
  border-radius: 2px;
}

.cms-post-engagement .cms-eng-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
}

.cms-post-engagement .cms-eng-item--read .cms-eng-icon {
  color: #2563eb;
}

.cms-post-engagement .cms-eng-item--view .cms-eng-icon {
  color: #0d9488;
}

.cms-post-engagement .cms-eng-item--likes .cms-eng-icon--heart {
  color: #e11d48;
}

.cms-post-engagement .cms-eng-item--share .cms-eng-icon {
  color: #7c3aed;
}

.cms-post-engagement .cms-eng-num {
  font-weight: 700;
  color: #374151;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  line-height: 1;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-post-engagement .cms-eng-time {
  display: flex;
  align-items: center;
  margin-top: 0.28rem;
  min-width: 0;
  max-width: 100%;
}

.cms-post-engagement .cms-eng-time .cms-eng-item--time {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-width: 0;
  height: auto;
  white-space: nowrap;
  width: auto;
}

.cms-post-engagement .cms-eng-time .cms-eng-item--time .cms-eng-icon {
  color: #ea580c;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.cms-post-engagement .cms-eng-time .cms-eng-item--time .cms-eng-when {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (hover: hover) {
  .cms-post-engagement .cms-eng-item--btn:hover {
    opacity: 0.85;
  }
}

#cms-tin-thi-truong .cms-post-engagement.cms-meta,
#cms-posts-page .cms-post-engagement.cms-meta {
  margin: 0.3rem 0 0.42rem !important;
}

#cms-tin-thi-truong .cms-post-engagement .cms-eng-stats,
#cms-posts-page .cms-post-engagement .cms-eng-stats {
  grid-template-columns: repeat(4, 2rem);
  column-gap: 0.3125rem;
}

#cms-tin-thi-truong .cms-post-engagement .cms-eng-num,
#cms-posts-page .cms-post-engagement .cms-eng-num {
  font-size: 0.7rem;
}

#cms-tin-thi-truong .cms-tin-card__media-link,
#cms-tin-thi-truong .cms-tin-card__title-link,
#cms-tin-thi-truong .cms-tin-card__cta {
  text-decoration: none !important;
  color: inherit;
}

#cms-tin-thi-truong .cms-tin-card__title-link:hover .post-title.is-large {
  color: var(--cms-grid-brand, #dd3333) !important;
}

.cms-article-share-lead {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}
