body.search,
body.archive,
body.error404 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("../themes/responsive_npf/images/bg_main.gif") repeat center top;
}

.cevt-default-page-shell {
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cevt-default-page-shell #left-content {
  width: 100%;
}

.cevt-default-page-wrap {
  padding: 24px 26px 34px;
  margin: 0;
}

.cevt-default-page-header {
  margin-bottom: 22px;
}

.cevt-default-page-header h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 28px;
  line-height: 1.35;
}

.cevt-default-page-header p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
}

.cevt-default-toolbar {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}

.cevt-default-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cevt-default-search-input {
  flex: 1 1 320px;
  min-height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
}

.cevt-default-search-button,
.cevt-default-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #008a3d;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

.cevt-default-action-btn.secondary {
  background: #f3f4f6;
  color: #374151 !important;
}

.cevt-default-card-list {
  display: grid;
  gap: 16px;
}

.cevt-default-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.cevt-default-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.cevt-default-card-body {
  min-width: 0;
}

.cevt-default-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cevt-default-card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.cevt-default-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.cevt-default-card h2 a {
  color: #111827;
}

.cevt-default-card p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
}

.cevt-default-readmore {
  color: #008a3d !important;
  font-size: 14px;
  font-weight: 700;
}

.cevt-default-empty-state {
  padding: 32px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.cevt-default-empty-state h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #111827;
}

.cevt-default-empty-state p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.cevt-default-pagination {
  margin-top: 24px;
}

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

.cevt-default-pagination .page-numbers a,
.cevt-default-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: #374151;
  background: #fff;
}

.cevt-default-pagination .page-numbers .current {
  background: #008a3d;
  border-color: #008a3d;
  color: #fff;
}

.cevt-default-404-wrap {
  text-align: center;
}

.cevt-default-404-code {
  font-size: 92px;
  line-height: 1;
  font-weight: 900;
  color: #008a3d;
  margin-bottom: 12px;
}

.cevt-default-404-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .cevt-default-page-wrap {
    padding: 18px 14px 28px;
  }

  .cevt-default-page-header h1 {
    font-size: 24px;
  }

  .cevt-default-card {
    grid-template-columns: 1fr;
  }

  .cevt-default-404-code {
    font-size: 68px;
  }
}
