.single-post #content.blog-wrapper.blog-single.page-wrapper {
  background: #f2f4f8;
  padding: 28px 0 56px;
}

.single-post #content.blog-wrapper .row.row-large.row-divided {
  max-width: 1320px;
}

.single-post #content.blog-wrapper .row.row-large.row-divided > .col + .col:not(.large-12) {
  border-left: 0;
}

.single-post #content.blog-wrapper .post-sidebar.large-3 {
  flex: 0 0 285px;
  max-width: 285px;
  padding-right: 16px;
}

.single-post #content.blog-wrapper .large-9.medium-col-first {
  flex: 1 1 calc(100% - 285px);
  max-width: calc(100% - 285px);
  padding-left: 14px;
}

.single-post .post-sidebar .widget {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 16px;
  padding: 16px;
}

.single-post .post-sidebar .widget .widget-title {
  color: #1f2937;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  text-transform: none;
}

.single-post .post-sidebar .widget ul {
  margin: 0;
}

.single-post .post-sidebar .vis-sp-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post .post-sidebar .vis-sp-sidebar-item {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

.single-post .post-sidebar .vis-sp-sidebar-item + .vis-sp-sidebar-item {
  border-top: 1px solid #e7edf5;
}

.single-post .post-sidebar .vis-sp-sidebar-item__thumb {
  border-radius: 8px;
  display: block;
  flex: 0 0 62px;
  flex-shrink: 0;
  height: 62px;
  overflow: hidden;
  width: 62px;
}

.single-post .post-sidebar .vis-sp-sidebar-item__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.single-post .post-sidebar .vis-sp-sidebar-item__thumb-ph {
  background: linear-gradient(135deg, #e8eef8 0%, #dce6f4 100%);
  display: block;
  height: 100%;
  width: 100%;
}

.single-post .post-sidebar .vis-sp-sidebar-item__title {
  color: #334155;
  display: block;
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  min-width: 0;
  overflow: visible;
  text-decoration: none;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.single-post .post-sidebar .vis-sp-sidebar-item__title:hover {
  color: #2563eb;
}

.single-post .post-sidebar .recent-blog-posts-li .recent-blog-posts {
  gap: 12px;
}

.single-post .post-sidebar .recent-blog-posts-li a {
  color: #1f2937;
  display: -webkit-box;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .post-sidebar .recent-blog-posts-li a:hover {
  color: #e11d48;
}

.single-post .post-sidebar .tagcloud a {
  background: #f4f7fb;
  border: 1px solid #dbe3f2;
  border-radius: 999px;
  box-shadow: none;
  color: #334155;
  font-size: 12px !important;
  line-height: 1;
  margin: 0 6px 8px 0;
  padding: 7px 11px;
}

.single-post .post-sidebar .tagcloud a:hover {
  background: #e9effb;
  color: #1d4ed8;
}

.single-post article.post .article-inner {
  background: transparent;
  box-shadow: none;
}

.single-post .entry-header {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.single-post .entry-header .entry-image {
  background: #d9e0ea;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  margin: 0;
  order: 1;
  overflow: hidden;
}

.single-post .entry-header .entry-image img {
  aspect-ratio: 16 / 7;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.single-post .entry-header .entry-image .badge {
  display: none;
}

.single-post .entry-header .entry-header-text {
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.14);
  margin: -90px auto 0;
  max-width: 1000px;
  order: 2;
  padding: 24px 30px 16px;
  position: relative;
  width: 90%;
  z-index: 2;
}

.single-post .entry-header .entry-header-text .entry-category {
  background: #e11d48;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 14px;
  padding: 8px 12px;
  text-transform: none;
}

.single-post .entry-header .entry-header-text .entry-category a {
  color: #fff;
}

.single-post .entry-header .entry-title {
  color: #0f172a;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
  text-transform: none;
}

.single-post .entry-header .entry-divider {
  display: none;
}

.single-post .entry-header .entry-meta {
  color: #667085;
  font-size: 14px;
  letter-spacing: 0;
  margin-top: 14px;
  text-transform: none;
}

.single-post .entry-header .entry-meta .byline a {
  color: #e11d48;
  font-weight: 700;
}

.single-post .entry-content.single-page {
  background: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
  margin: 0 auto;
  max-width: 1000px;
  padding: 18px 30px 34px;
  width: 90%;
}

.single-post .entry-content.single-page > *:first-child {
  margin-top: 0;
}

.single-post .entry-content.single-page > *:last-child {
  margin-bottom: 0;
}

.single-post .entry-content.single-page p {
  color: #1f2937;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 1.1em;
}

.single-post .entry-content.single-page h2 {
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.1em 0 0.6em;
}

.single-post .entry-content.single-page h3 {
  color: #0f172a;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
  margin: 1em 0 0.55em;
}

.single-post .entry-content.single-page ul,
.single-post .entry-content.single-page ol {
  margin-bottom: 1.2em;
}

.single-post .entry-content.single-page a {
  color: #2563eb;
  font-weight: 600;
}

.single-post .entry-content.single-page .kk-star-ratings {
  margin: 0 0 16px !important;
}

/* Posts without featured image: remove overlap behavior and push content down safely */
.single-post article.post:not(.has-post-thumbnail) .entry-header .entry-header-text {
  border-radius: 22px 22px 0 0;
  margin-top: 24px;
}

.single-post article.post:not(.has-post-thumbnail) .entry-content.single-page {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .single-post .entry-header .entry-title {
    font-size: 40px;
  }

  .single-post .entry-header .entry-header-text,
  .single-post .entry-content.single-page {
    width: 90%;
  }
}

@media (max-width: 980px) {
  .single-post #content.blog-wrapper .post-sidebar.large-3,
  .single-post #content.blog-wrapper .large-9.medium-col-first {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .single-post #content.blog-wrapper .post-sidebar.large-3 {
    margin-top: 20px;
  }
}

@media (max-width: 849px) {
  .single-post #content.blog-wrapper.blog-single.page-wrapper {
    padding: 18px 0 38px;
  }

  .single-post .entry-header .entry-image {
    border-radius: 16px;
  }

  .single-post .entry-header .entry-image img {
    aspect-ratio: 16 / 9;
  }

  .single-post .entry-header .entry-header-text,
  .single-post .entry-content.single-page {
    width: calc(100% - 24px);
  }

  .single-post .entry-header .entry-header-text {
    border-radius: 16px 16px 0 0;
    margin-top: -38px;
    padding: 16px 18px 12px;
  }

  .single-post .entry-header .entry-title {
    font-size: 32px;
  }

  .single-post .entry-content.single-page {
    border-radius: 0 0 16px 16px;
    padding: 14px 18px 24px;
  }

  .single-post .entry-content.single-page p {
    font-size: 16px;
    line-height: 1.75;
  }

  .single-post .entry-content.single-page h2 {
    font-size: 28px;
  }

  .single-post article.post:not(.has-post-thumbnail) .entry-header .entry-header-text {
    margin-top: 14px;
  }
}
