body.single-post {
  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-single-post-page {
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cevt-single-post-page #left-content {
  width: 100%;
}

.cevt-single-post-wrap {
  padding: 22px 26px 34px;
  margin: 0;
}

.cevt-single-share {
  margin-bottom: 14px;
}

.cevt-single-share-copy {
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cevt-single-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cevt-single-share-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cevt-single-share-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: lowercase;
}

.share-facebook { background: #1877f2; }
.share-x { background: #111827; }
.share-whatsapp { background: #22c55e; }
.share-linkedin { background: #0a66c2; }
.share-messenger { background: #60a5fa; }

.cevt-single-comment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
}

.cevt-single-updated-bar {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 12px;
}

.cevt-single-print {
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 18px;
  cursor: pointer;
}

.cevt-single-card {
  background: #fff;
}

.cevt-single-header h1 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.4;
  color: #111827;
}

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

.cevt-single-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.cevt-single-doc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cevt-doc-pill,
.cevt-doc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
}

.cevt-doc-pill:not(.is-primary) {
  background: #f3f4f6;
  color: #374151 !important;
}

.cevt-doc-download {
  background: #0f766e;
}

.cevt-single-viewer {
  border: 1px solid #d1d5db;
  background: #111827;
  margin-bottom: 22px;
  overflow: hidden;
}

.cevt-single-viewer iframe {
  width: 100%;
  height: 920px;
  border: 0;
  background: #fff;
}

.cevt-single-featured-image {
  margin-bottom: 20px;
}

.cevt-single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.cevt-single-content {
  color: #111827;
  font-size: 15px;
  line-height: 1.85;
}

.cevt-single-content > *:first-child {
  margin-top: 0;
}

.cevt-single-content a {
  color: #1568b2;
}

.cevt-single-content img,
.cevt-single-content iframe,
.cevt-single-content table {
  max-width: 100%;
}

.cevt-single-share-bottom {
  margin-top: 30px;
}

.single-post .comment-respond,
.single-post #comments {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}

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

  .cevt-single-header h1 {
    font-size: 20px;
  }

  .cevt-single-viewer iframe {
    height: 540px;
  }

  .cevt-single-updated-bar {
    align-items: flex-start;
  }
}

@media print {
  .top-access,
  .main-nav,
  .cevt-single-share,
  .cevt-single-comment-btn,
  .cevt-single-print,
  .cevt-global-footer-wrap,
  .floating-help,
  #comments {
    display: none !important;
  }

  .cevt-single-post-page,
  .cevt-single-card {
    box-shadow: none;
  }

  .cevt-single-viewer {
    border: 0;
    background: #fff;
  }

  .cevt-single-viewer iframe {
    height: 1000px;
  }
}
