body.page-template-template-all-posts {
  background: #f5f5f5;
}

.cevt-all-posts-page {
  font-family: "Tiro Bangla", serif;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.cevt-all-posts-page #left-content {
  width: 100% !important;
}

.cevt-all-posts-wrap {
  padding: 8px 0 20px;
}

.cevt-all-posts-title {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.25;
  color: #222;
}

.cevt-all-posts-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.cevt-all-posts-search label,
.cevt-all-posts-per-page label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #1f2937;
}

.cevt-all-posts-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cevt-all-posts-search input[type="text"] {
  width: 260px;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid #cdd5df;
  font-size: 14px;
  font-family: inherit;
}

.cevt-all-posts-search button {
  background: #0a9f40;
  border: 0;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
}

.cevt-all-posts-per-page select {
  min-width: 82px;
  padding: 8px 10px;
  border: 1px solid #cdd5df;
  font-family: inherit;
  font-size: 14px;
}

.cevt-all-posts-table-wrap {
  overflow-x: auto;
  border: 1px solid #d8dee8;
}

.cevt-all-posts-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.cevt-all-posts-table th,
.cevt-all-posts-table td {
  border: 1px solid #d8dee8;
  padding: 10px 12px;
  vertical-align: top;
  font-size: 14px;
  color: #111827;
}

.cevt-all-posts-table th {
  background: #f7f8fa;
  font-weight: 700;
  text-align: left;
}

.cevt-all-posts-table th:first-child,
.cevt-all-posts-table td:first-child {
  width: 56px;
  text-align: center;
}

.cevt-all-posts-post-title a {
  color: #111827;
  text-decoration: none;
}

.cevt-all-posts-post-title a:hover {
  color: #0a9f40;
}

.cevt-all-posts-docs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cevt-all-posts-docs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 5px 8px;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.cevt-all-posts-thumb img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  display: block;
}

.cevt-all-posts-empty,
.cevt-all-posts-empty-row {
  color: #6b7280;
}

.cevt-all-posts-view {
  color: #1d4ed8;
  text-decoration: underline;
  font-weight: 700;
}

.cevt-all-posts-pagination {
  margin-top: 18px;
}

.cevt-all-posts-pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.cevt-all-posts-pagination .page-numbers li {
  margin: 0;
}

.cevt-all-posts-pagination .page-numbers a,
.cevt-all-posts-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  background: #fff;
  color: #111827;
  text-decoration: none;
}

.cevt-all-posts-pagination .page-numbers .current {
  background: #0a9f40;
  color: #fff;
  border-color: #0a9f40;
}

.cevt-all-posts-summary {
  margin-top: 18px;
  text-align: right;
  color: #111827;
  font-size: 16px;
}

@media (max-width: 767px) {
  .cevt-all-posts-title {
    font-size: 24px;
  }

  .cevt-all-posts-search input[type="text"] {
    width: 100%;
  }

  .cevt-all-posts-search-row {
    width: 100%;
  }

  .cevt-all-posts-search {
    width: 100%;
  }

  .cevt-all-posts-summary {
    text-align: left;
  }
}
