/* Shared presentation for published blog articles.
   Keep this page-specific stylesheet after the existing theme stylesheet.
   Styling uses the stable template wrapper rather than pasted editor styles. */

body .blog_details1 {
  box-sizing: border-box;
  float: none;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 1px solid #e3e3ee;
  border-radius: 12px;
  background: #fff;
  color: #243149;
  font-size: 17px;
  line-height: 1.8;
}
body .blog_details1 p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
  color: #243149;
}
body .blog_details1 h2 {
  margin: 38px 0 18px;
  padding: 0 0 12px;
  border-bottom: 2px solid #e7e5f3;
  color: #312c70;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 750;
}
body .blog_details1 h3 {
  margin: 26px 0 12px;
  padding: 12px 16px;
  border-left: 3px solid #7b70c9;
  border-radius: 0 5px 5px 0;
  background: #f4f2fb;
  color: #28254d;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
}
body .blog_details1 a,
body .blog_details1 a:visited {
  display: inline;
  color: #453b9d;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
body .blog_details1 a:hover { color: #242064; }
body .blog_details1 a:focus-visible {
  outline: 2px solid #453b9d;
  outline-offset: 3px;
}
body .blog_details1 ul {
  float: none;
  display: block;
  width: auto;
  margin: 0 0 22px;
  padding: 0 0 0 25px;
}
body .blog_details1 ul li {
  display: list-item;
  list-style: disc outside;
  margin: 6px 0;
  padding: 0;
  color: #243149;
  font-size: 17px;
  line-height: 1.75;
}
body .blog_details1 ul li::before { content: none; display: none; }
body .blog_details1 .blog_details_img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
body .blog_details1 table {
  width: 100%;
  margin: 18px 0 26px;
  border: 1px solid #cbcddd;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  font-size: 15px;
  line-height: 1.65;
}
body .blog_details1 table th,
body .blog_details1 table td {
  border: 1px solid #cbcddd;
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
  overflow-wrap: break-word;
}
body .blog_details1 table thead th {
  background: #453b9d;
  color: #fff;
  font-weight: 700;
}
body .blog_details1 table thead th:first-child { width: 25%; }
body .blog_details1 table tbody th {
  background: #eeecf8;
  color: #302a68;
  font-weight: 650;
}
body .blog_details1 table tbody tr:nth-child(even) td { background: #f6f5fb; }

/* The CMS removed the callout classes. Identify these two existing paragraphs
   by their preserved destination links instead; no HTML repaste is required. */
body .blog_details1 blockquote,
body .blog_details1 .dsc-choice-panel,
body .blog_details1 .dsc-contact-panel,
body .blog_details1 p:has(> a[href="https://www.dscsignature.in/class-3-digital-signature-for-individuals.htm"]):has(> a[href="https://www.dscsignature.in/class-3-digital-signature-for-organization.htm"]),
body .blog_details1 p:has(> a[href="https://www.dscsignature.in/contact-us.htm"]) {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #ddd8f1;
  border-left: 4px solid #5b50ac;
  border-radius: 6px;
  background: #f5f3fc;
}

@media (max-width: 640px) {
  body .blog_details1 { padding: 22px 16px; font-size: 16px; }
  body .blog_details1 p, body .blog_details1 ul li { font-size: 16px; }
  body .blog_details1 h2 { font-size: 23px; }
  body .blog_details1 h3 { font-size: 19px; }
  body .blog_details1 table {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    table-layout: auto;
  }
  body .blog_details1 table th, body .blog_details1 table td {
    min-width: 180px;
    padding: 12px;
    font-size: 15px;
  }
}
/* DSC BLOG STYLE FIX - END */

body .blog_details1 ol {
  margin: 0 0 22px;
  padding-left: 26px;
}
body .blog_details1 ol li {
  margin: 6px 0;
  line-height: 1.75;
}
body .blog_details1 .facebook_comment {
  max-width: 100%;
  overflow: hidden;
}

/* Article layout and newest-first sidebar. */
.blog-article-page {
  padding: 28px 0 40px;
}
.blog-article-page .blogTitle {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.35;
}
.blog-article-page .blog-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.blog-article-page .blog-article-meta > li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
}
.blog-article-page .blog-article-meta svg {
  flex-shrink: 0;
}
.blog-article-page .blog-article-share {
  min-height: 20px;
  margin: 0 0 14px;
  line-height: 1.4;
}
.blog-article-page .blog_details1 {
  padding: 24px 28px;
}
.blog-article-page .blog_details_img {
  margin-bottom: 18px;
}
.blog-article-page .blog_details_img img {
  width: 100%;
  max-width: 720px;
  max-height: 360px;
  object-fit: contain;
}
.blog-article-page .blog-recent-card {
  padding: 18px;
  border: 1px solid #e3e3ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(39, 43, 88, .035);
}
.blog-article-page .blog-recent-heading {
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 1px solid #ececf2;
  color: #28254d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.blog-article-page .mini-blogs .blog-recent-list {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.blog-article-page .blog-recent-list .blog-recent-item {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #ececf2;
  list-style: none;
}
.blog-article-page .blog-recent-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
}
.blog-article-page .blog-recent-image {
  display: block;
  flex: 0 0 88px;
  width: 88px;
  height: 60px;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f4fa;
}
.blog-article-page .blog-recent-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.blog-article-page .blog-recent-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.blog-article-page .blog-recent-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #413d98;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.blog-article-page .blog-recent-date {
  display: block;
  margin-top: 6px;
  color: #70768b;
  font-size: 12px;
  line-height: 1.4;
}
.blog-article-page .blog-recent-link:hover .blog-recent-title {
  color: #242064;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-article-page .blog-recent-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #413d98;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}
.blog-article-page .blog-recent-link:focus-visible,
.blog-article-page .blog-recent-all:focus-visible {
  outline: 2px solid #03afe0;
  outline-offset: 4px;
}
@media (min-width: 992px) {
  .blog-article-page .blog-article-main {
    padding-right: 24px;
  }
}
@media (max-width: 991px) {
  .blog-article-page .blog-article-sidebar {
    margin-top: 24px;
  }
}
@media (max-width: 640px) {
  .blog-article-page {
    padding: 22px 0 30px;
  }
  .blog-article-page .blogTitle {
    font-size: 23px;
  }
  .blog-article-page .blog_details1 {
    padding: 20px 16px;
  }
  .blog-article-page .blog_details_img img {
    max-height: 240px;
  }
  .blog-article-page .blog-recent-card {
    padding: 16px;
  }
}

