/* Grid Layout */
.dobi-posts-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dobi-post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.dobi-post-card:hover {
  transform: translateY(-4px);
}

.dobi-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.dobi-post-title {
  padding: 16px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.dobi-post-card .post-content {
  padding: 0 16px 20px;
  font-size: 0.95rem;
  color: #555;
}

.dobi-post-readmore {
  background: #0073aa;
  color: white;
  border: none;
  padding: 5px 25px;
  margin: 0px 0px 20px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.dobi-posts-loadmore {
  text-align: center;
  padding: 20px;
}

.dobi-loadmore-btn {
  background: #555;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
}

/* Modal */
#dobi-post-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.dobi-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.dobi-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 800px;
  background: #fff;
  transform: translate(-50%, -50%);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  overflow-y: auto;
  max-height: 90vh;
}

.dobi-modal-close {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
  color: #888;
}

.dobi-modal-title {
  margin-top: 0;
  font-size: 1.6rem;
}

.dobi-modal-content {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 1rem;
  color: #333;
}