/* =========================
   GRID (FINAL)
========================= */
.id-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
}

/* Responsive */
@media (max-width: 980px) {
  .id-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .id-post-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================
   CARD (RESTORE BOX STYLE)
========================= */
.id-post-card {
  display: block !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
}

.id-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}


/* =========================
   IMAGE
========================= */
.card-image {
  position: relative !important;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}





/* =========================
   CONTENT
========================= */
.card-content {
  padding: 18px !important;
  background-color: #5073ac;
}

/* Title */
.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  line-height: 1.4;
}

/* Excerpt */
.card-excerpt {
  font-size: 14px;
  color: white;
  margin-bottom: 14px;
  line-height: 1.6;
}


/* =========================
   FOOTER
========================= */
.card-footer {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.card-footer .date {
  font-size: 13px;
  color: white;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 20px;
	gap: 6px;
}