/* SM Finishes — blog listing grid, 4 per row */
.smf-blog-grid .rs-postbox-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 21, 34, 0.04);
}

.smf-blog-grid .rs-postbox-item:not(:last-child) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.smf-blog-grid .rs-postbox-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}

.smf-blog-grid .rs-postbox-tag {
  top: 12px;
  inset-inline-start: 12px;
}

.smf-blog-grid .rs-postbox-tag a {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  background: #b1913c;
}

.smf-blog-grid .rs-postbox-tag a:hover {
  background: #9a7b30;
}

.smf-blog-grid .rs-postbox-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
  padding-top: 18px;
}

.smf-blog-grid .rs-postbox-meta-list {
  gap: 8px 12px;
  flex-wrap: wrap;
}

.smf-blog-grid .rs-postbox-meta-list,
.smf-blog-grid .rs-postbox-meta-text,
.smf-blog-grid .rs-meta-text {
  font-size: 12px;
}

.smf-blog-grid .rs-postbox-title {
  margin: 10px 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.smf-blog-grid .rs-postbox-title a:hover {
  color: #b1913c;
}

.smf-blog-grid .rs-postbox-text {
  margin-bottom: 16px;
}

.smf-blog-grid .rs-postbox-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smf-blog-grid .rs-postbox-btn {
  margin-top: auto;
}

.smf-blog-grid .rs-postbox-btn .rs-btn {
  padding: 8px 14px;
  font-size: 13px;
}

.smf-blog-grid .rs-postbox-btn .icon-box {
  width: 18px;
  height: 18px;
}

@media (max-width: 1199px) {
  .smf-blog-grid .rs-postbox-title {
    font-size: 17px;
  }
}
