<?php if (!defined('ABSPATH')) exit; ?>

/* Single resource article pages (post / blog / podcast) */

body.resource-single .title_wrap,
body.single-post .title_wrap,
body.single-blog .title_wrap,
body.single-podcast .title_wrap {
  font-size: 2.75rem !important;
  margin: 1em 0 0.6em 0 !important;
  letter-spacing: 0.02em;
}

body.resource-single .excerpt_wrap,
body.single-post .excerpt_wrap {
  font-size: 1.5rem;
  font-weight: 100;
  color: #656565;
}

body.resource-single .excerpt_wrap p,
body.single-post .excerpt_wrap p {
  margin-bottom: 0;
}

body.resource-single .blog-details,
body.single-post .blog-details {
  background: #fafafa;
}

body.resource-single .customer-result,
body.single-post .customer-result,
body.new_blog_design .customer-result {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

body.resource-single .blog-intro p,
body.resource-single .blog-intro ul li,
body.resource-single #blog-single-content p,
body.resource-single #blog-single-content ul li,
body.resource-single .blog-single-content-col p,
body.resource-single .blog-single-content-col ul li,
body.single-post .blog-intro p,
body.single-post .blog-intro ul li,
body.single-post #blog-single-content p,
body.single-post #blog-single-content ul li,
body.single-post .blog-single-content-col p,
body.single-post .blog-single-content-col ul li {
  font-size: 18px;
}

body.resource-single #blog-single-content .entry-content,
body.resource-single #blog-single-content .new_blog_content_style,
body.single-post #blog-single-content .entry-content,
body.single-post #blog-single-content .new_blog_content_style {
  max-width: 100%;
  width: 100%;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.resource-single #blog-single-content .entry-content img,
body.resource-single #blog-single-content .entry-content iframe,
body.resource-single #blog-single-content .entry-content video,
body.resource-single #blog-single-content .entry-content table,
body.resource-single #blog-single-content .entry-content pre,
body.single-post #blog-single-content .entry-content img,
body.single-post #blog-single-content .entry-content iframe,
body.single-post #blog-single-content .entry-content video,
body.single-post #blog-single-content .entry-content table,
body.single-post #blog-single-content .entry-content pre {
  max-width: 100% !important;
  height: auto !important;
}

body.resource-single #blog-single-content .entry-content > .col-lg-8,
body.resource-single #blog-single-content .entry-content > [id="blogcatcontent"],
body.resource-single #blog-single-content .entry-content [class*="col-"],
body.single-post #blog-single-content .entry-content > .col-lg-8,
body.single-post #blog-single-content .entry-content > [id="blogcatcontent"],
body.single-post #blog-single-content .entry-content [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.resource-single #blog-single-content h2,
body.resource-single .blog-single-content-col h2,
body.single-post #blog-single-content h2,
body.single-post .blog-single-content-col h2 {
  font-size: 32px !important;
}

body.resource-single .blog_social_wrap,
body.single-post .blog_social_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

body.resource-single .blog_social_wrap .follow-us,
body.single-post .blog_social_wrap .follow-us {
  flex-shrink: 0;
}

body.resource-single .blog_social_wrap .follow-us ul,
body.resource-single .blog-intro .follow-us ul,
body.single-post .blog_social_wrap .follow-us ul,
body.single-post .blog-intro .follow-us ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px;
  text-align: left !important;
}

body.resource-single .blog_social_wrap .follow-us ul li,
body.resource-single .blog_social_wrap .follow-us ul li:first-child,
body.resource-single .blog_social_wrap .follow-us ul li:last-child,
body.resource-single .blog-intro .follow-us ul li,
body.resource-single .blog-intro .follow-us ul li:first-child,
body.resource-single .blog-intro .follow-us ul li:last-child,
body.single-post .blog_social_wrap .follow-us ul li,
body.single-post .blog_social_wrap .follow-us ul li:first-child,
body.single-post .blog_social_wrap .follow-us ul li:last-child,
body.single-post .blog-intro .follow-us ul li,
body.single-post .blog-intro .follow-us ul li:first-child,
body.single-post .blog-intro .follow-us ul li:last-child {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 6px 0 0 !important;
  margin: 0 !important;
  float: none !important;
}

body.resource-single .blog_social_wrap .follow-us ul li a,
body.single-post .blog_social_wrap .follow-us ul li a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
}

body.resource-single .blog_social_wrap .follow-us ul li a img,
body.single-post .blog_social_wrap .follow-us ul li a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

body.resource-single .blog_social_wrap .text-deep-purple,
body.single-post .blog_social_wrap .text-deep-purple {
  color: #7327cc;
}

body.resource-single .featured_posts_sidebar h2,
body.single-post .featured_posts_sidebar h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000044;
}

body.resource-single .featured_posts_sidebar ol li,
body.single-post .featured_posts_sidebar ol li {
  position: relative;
  font-size: 16px !important;
}

body.resource-single .featured_posts_sidebar ol li a,
body.single-post .featured_posts_sidebar ol li a {
  font-weight: 600;
  color: #7327cc;
  text-decoration: none;
}

body.resource-single .featured_posts_sidebar ol li::after,
body.single-post .featured_posts_sidebar ol li::after {
  content: "";
  display: block;
  width: 20px;
  height: 15px;
  position: absolute;
  right: 0;
  top: 44%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

body.resource-single .featured_posts_sidebar ol li:last-child,
body.single-post .featured_posts_sidebar ol li:last-child {
  border: 0 none !important;
}

body.resource-single .lets_talk_wrap,
body.single-post .lets_talk_wrap {
  position: relative;
  margin: 100px 0 0 !important;
}

body.resource-single .lets_talk_icon,
body.single-post .lets_talk_icon {
  width: 100%;
  height: 350px !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
  top: -78px;
  margin: -100px auto -140px;
  border: 0;
  opacity: 1;
}

body.resource-single .lets_talk_text,
body.single-post .lets_talk_text {
  font-size: 32px;
  font-weight: 100 !important;
  text-align: center;
}

body.resource-single .lets_talk_text strong,
body.single-post .lets_talk_text strong {
  font-weight: 600;
}

body.resource-single .post_meta_wrap,
body.single-post .post_meta_wrap {
  font-size: 14px;
  display: flex;
  border-top: 1px solid #979696;
  justify-content: space-between;
  padding: 10px 0;
}

body.resource-single .post_meta_wrap ul,
body.single-post .post_meta_wrap ul {
  list-style: none !important;
  margin-top: -5px;
  padding-left: 0;
}

body.resource-single .post_meta_wrap ul li,
body.single-post .post_meta_wrap ul li {
  list-style: none !important;
  display: inline;
}

body.resource-single .post_meta_wrap ul li a,
body.single-post .post_meta_wrap ul li a {
  font-size: 14px;
  text-transform: capitalize;
  font-weight: 700;
  color: #7327cc;
  text-decoration: none;
}

body.resource-single .light_grey,
body.single-post .light_grey {
  color: #979696;
}

body.resource-single .saboxplugin-wrap,
body.single-post .saboxplugin-wrap {
  border: 0 !important;
  min-width: 0;
  flex: 1 1 auto;
}

body.resource-single .saboxplugin-wrap .saboxplugin-gravatar img,
body.single-post .saboxplugin-wrap .saboxplugin-gravatar img {
  border-radius: 50%;
  margin: 0;
}

body.resource-single .saboxplugin-wrap .saboxplugin-authorname,
body.single-post .saboxplugin-wrap .saboxplugin-authorname {
  margin-top: 20px;
  margin-left: 0;
}

body.resource-single .saboxplugin-wrap .saboxplugin-authorname .fn,
body.single-post .saboxplugin-wrap .saboxplugin-authorname .fn {
  font-weight: 600;
  font-size: 16px;
  color: #7327cc;
}

body.resource-single .saboxplugin-wrap .saboxplugin-authorname .wby,
body.single-post .saboxplugin-wrap .saboxplugin-authorname .wby {
  display: none;
}

body.resource-single .saboxplugin-wrap .saboxplugin-desc,
body.resource-single .saboxplugin-wrap .saboxplugin-desc p,
body.single-post .saboxplugin-wrap .saboxplugin-desc,
body.single-post .saboxplugin-wrap .saboxplugin-desc p {
  color: #656565;
  font-weight: 400;
  font-size: 16px;
  margin-left: 0;
  margin-top: 0;
  width: 100%;
}

body.resource-single .blog_social_wrap.bsw_bottom,
body.single-post .blog_social_wrap.bsw_bottom {
  position: relative;
}

body.resource-single .blog_social_wrap.bsw_bottom .follow-us,
body.single-post .blog_social_wrap.bsw_bottom .follow-us {
  position: static;
  margin-left: auto;
}

body.resource-single .feauted_image_id iframe,
body.resource-single .feauted_image_id img,
body.single-post .feauted_image_id iframe,
body.single-post .feauted_image_id img {
  width: 100%;
  height: auto;
  min-height: 280px;
  border: 0;
}

body.resource-single .related-posts,
body.single-post .related-posts {
  padding: 4rem 0;
}

body.resource-single .copyfrom,
body.resource-single .linkcpy-1,
body.resource-single input[class*="linkcpy-"],
body.resource-single .copy_link_li,
body.resource-single .tooltip-copy,
body.single-post .copyfrom,
body.single-post .linkcpy-1,
body.single-post input[class*="linkcpy-"],
body.single-post .copy_link_li,
body.single-post .tooltip-copy {
  display: none !important;
}

body.resource-single .entry-content #blogcatcontent.col-lg-8,
body.resource-single .entry-content [id="blogcatcontent"],
body.single-post .entry-content #blogcatcontent.col-lg-8,
body.single-post .entry-content [id="blogcatcontent"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.resource-single #blog-single-content .entry-content .row,
body.single-post #blog-single-content .entry-content .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

body.resource-single .related-posts .card-header img,
body.single-post .related-posts .card-header img {
  max-height: 237px;
  object-fit: cover;
}

body.resource-single .blog-intro > .container > .blog-single-layout,
body.single-post .blog-intro > .container > .blog-single-layout,
body.single-blog .blog-intro > .container > .blog-single-layout,
body.single-podcast .blog-intro > .container > .blog-single-layout,
body.new_blog_design .blog-intro > .container > .blog-single-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 32px;
  align-items: start;
  width: 100%;
  margin: 0;
}

body.resource-single .blog-single-layout > .blog-single-content-col,
body.resource-single .blog-single-layout > .blog-single-sidebar-col,
body.single-post .blog-single-layout > .blog-single-content-col,
body.single-post .blog-single-layout > .blog-single-sidebar-col,
body.single-blog .blog-single-layout > .blog-single-content-col,
body.single-blog .blog-single-layout > .blog-single-sidebar-col,
body.single-podcast .blog-single-layout > .blog-single-content-col,
body.single-podcast .blog-single-layout > .blog-single-sidebar-col,
body.new_blog_design .blog-single-layout > .blog-single-content-col,
body.new_blog_design .blog-single-layout > .blog-single-sidebar-col {
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  flex: none !important;
  float: none !important;
  padding-left: 0;
  padding-right: 0;
}

body.resource-single .blog-single-sidebar-inner,
body.single-post .blog-single-sidebar-inner,
body.single-blog .blog-single-sidebar-inner,
body.single-podcast .blog-single-sidebar-inner,
body.new_blog_design .blog-single-sidebar-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 100px;
}

body.resource-single .featured_posts_sidebar,
body.single-post .featured_posts_sidebar,
body.new_blog_design .featured_posts_sidebar {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

body.resource-single .featured_posts_sidebar h2,
body.single-post .featured_posts_sidebar h2,
body.new_blog_design .featured_posts_sidebar h2 {
  background: #fff;
  margin: 0;
  padding: 20px;
  border-radius: 6px 6px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000044;
}

body.resource-single .featured_posts_sidebar ol,
body.single-post .featured_posts_sidebar ol,
body.new_blog_design .featured_posts_sidebar ol {
  background: #f6f6f6;
  border-radius: 0;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

body.resource-single .featured_posts_sidebar ol li,
body.single-post .featured_posts_sidebar ol li,
body.new_blog_design .featured_posts_sidebar ol li {
  position: relative;
  padding: 20px 25px 20px 0;
  background: #f6f6f6;
  border-bottom: 1px solid #80808080;
  margin: auto 25px auto 20px;
  font-size: 16px !important;
}

body.resource-single .featured_posts_sidebar ol li a,
body.single-post .featured_posts_sidebar ol li a,
body.new_blog_design .featured_posts_sidebar ol li a {
  font-weight: 600;
  color: #7327cc;
  text-decoration: none;
}

body.resource-single .featured_posts_sidebar ol li::after,
body.single-post .featured_posts_sidebar ol li::after,
body.new_blog_design .featured_posts_sidebar ol li::after {
  content: "";
  display: block;
  width: 20px;
  height: 15px;
  position: absolute;
  right: 0;
  top: 44%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

body.resource-single .featured_posts_sidebar ol li:last-child,
body.single-post .featured_posts_sidebar ol li:last-child,
body.new_blog_design .featured_posts_sidebar ol li:last-child {
  border: 0 none !important;
}

@media (min-width: 992px) {
  body.resource-single .blog-single-layout > .blog-single-content-col,
  body.single-post .blog-single-layout > .blog-single-content-col,
  body.single-blog .blog-single-layout > .blog-single-content-col,
  body.single-podcast .blog-single-layout > .blog-single-content-col,
  body.new_blog_design .blog-single-layout > .blog-single-content-col {
    grid-column: 1;
  }

  body.resource-single .blog-single-layout > .blog-single-sidebar-col,
  body.single-post .blog-single-layout > .blog-single-sidebar-col,
  body.single-blog .blog-single-layout > .blog-single-sidebar-col,
  body.single-podcast .blog-single-layout > .blog-single-sidebar-col,
  body.new_blog_design .blog-single-layout > .blog-single-sidebar-col {
    grid-column: 2;
  }
}

@media all and (max-width: 991px) {
  body.resource-single .blog-intro > .container > .blog-single-layout,
  body.single-post .blog-intro > .container > .blog-single-layout,
  body.single-blog .blog-intro > .container > .blog-single-layout,
  body.single-podcast .blog-intro > .container > .blog-single-layout,
  body.new_blog_design .blog-intro > .container > .blog-single-layout {
    grid-template-columns: 1fr !important;
  }

  body.resource-single .blog-single-sidebar-inner,
  body.single-post .blog-single-sidebar-inner,
  body.single-blog .blog-single-sidebar-inner,
  body.single-podcast .blog-single-sidebar-inner,
  body.new_blog_design .blog-single-sidebar-inner {
    position: static;
  }
}

@media all and (max-width: 1375px) {
  body.resource-single .lets_talk_icon,
  body.single-post .lets_talk_icon {
    height: 280px !important;
  }
}

@media all and (max-width: 1009px) {
  body.resource-single .post_meta_details_top,
  body.single-post .post_meta_details_top {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start !important;
  }
}

@media all and (max-width: 991px) {
  body.resource-single .title_wrap,
  body.single-post .title_wrap {
    font-size: 2rem !important;
  }

  body.resource-single .excerpt_wrap,
  body.single-post .excerpt_wrap {
    font-size: 1.125rem;
  }

  body.resource-single .lets_talk_wrap,
  body.single-post .lets_talk_wrap {
    margin-top: 48px !important;
  }

  body.resource-single .blog-single-sidebar-inner,
  body.single-post .blog-single-sidebar-inner {
    position: static;
  }

  body.resource-single .get-demo-section .get-demo-banner,
  body.single-post .get-demo-section .get-demo-banner {
    margin-left: 0;
    height: 420px;
  }
}

@media all and (min-width: 1024px) {
  body.resource-single .blog_social_wrap.bcw_top,
  body.single-post .blog_social_wrap.bcw_top,
  body.new_blog_design .blog_social_wrap.bcw_top {
    padding: 0 8em;
  }
}

@media all and (max-width: 768px) {
  body.resource-single .blog_social_wrap,
  body.single-post .blog_social_wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  body.resource-single .blog_social_wrap.bcw_top,
  body.single-post .blog_social_wrap.bcw_top {
    padding: 0;
  }

  body.resource-single .blog_social_wrap .follow-us,
  body.resource-single .blog_social_wrap.bsw_bottom .follow-us,
  body.single-post .blog_social_wrap .follow-us,
  body.single-post .blog_social_wrap.bsw_bottom .follow-us {
    position: static !important;
    right: auto !important;
    margin: 0 !important;
    width: auto !important;
  }

  body.resource-single .blog_social_wrap .follow-us ul,
  body.resource-single .blog-intro .follow-us ul,
  body.single-post .blog_social_wrap .follow-us ul,
  body.single-post .blog-intro .follow-us ul {
    justify-content: flex-start !important;
  }

  body.resource-single .blog_social_wrap .author_img,
  body.single-post .blog_social_wrap .author_img {
    margin: 0 10px 0 0 !important;
    display: block;
    float: none;
    padding: 0 !important;
  }

  body.resource-single .post_meta_wrap,
  body.single-post .post_meta_wrap {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  body.resource-single .post_meta_wrap ul,
  body.single-post .post_meta_wrap ul {
    margin-bottom: 24px;
    padding-right: 0;
  }

  body.resource-single .feauted_image_id iframe,
  body.single-post .feauted_image_id iframe {
    min-height: 220px;
    height: 220px;
  }

  body.resource-single .related-posts,
  body.single-post .related-posts {
    padding-bottom: 64px;
  }
}

@media all and (max-width: 575px) {
  body.resource-single .title_wrap,
  body.single-post .title_wrap {
    font-size: 1.75rem !important;
  }

  body.resource-single .featured_posts_sidebar ol li,
  body.single-post .featured_posts_sidebar ol li {
    font-size: 15px !important;
    margin-right: 16px;
    margin-left: 16px;
  }

  body.resource-single .lets_talk_text,
  body.single-post .lets_talk_text {
    font-size: 24px;
  }
}
