.knp-article-main {
 display:contents;
}
.knp-article-sidebar {
 display:none;
}

/* Use the theme's full-width article slot only when the row has no native sidebar. */
@media screen and (min-width:1024px) and (any-hover:hover) and (any-pointer:fine) {
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(258px,28%);
  grid-template-rows:auto auto 1fr auto;
  column-gap:clamp(20px,2.35vw,30px);
  background:transparent;
  box-shadow:none;
  isolation:isolate;
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)::before {
  content:"";
  grid-area:1 / 1 / 4 / 2;
  z-index:-1;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.1);
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)>.entry-featured {
  grid-area:1 / 1;
  min-width:0;
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)>.entry-header {
  grid-area:2 / 1;
  min-width:0;
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)>.entry-content {
  display:contents;
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)>.entry-content>.knp-article-main {
  display:flow-root;
  grid-area:3 / 1;
  min-width:0;
  padding:0 20px 20px;
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)>.entry-content>.knp-article-recommendations {
  grid-column:1 / -1;
  grid-row:4;
  min-width:0;
  padding:20px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.1);
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar)>.entry-content>:not(.knp-article-main,.knp-article-sidebar,.knp-article-recommendations) {
  grid-column:1;
 }
 .main>.wrap>.row:not(:has(>.right-sidebar,>.left-sidebar,>aside.widget-area))>section.full-width>article.post.static-content:has(>.entry-content>.knp-article-sidebar) >.entry-content>.knp-article-sidebar {
  display:block;
  grid-area:1 / 2 / 4 / 3;
  align-self:start;
  min-width:0;
  margin-inline-end:8px;
  margin-block:0;
  order:0;
  width:auto;
  padding:0;
  float:none;
 }
}
@media screen and (max-width:1023px), screen and (any-hover:none) {
 body.knp-theme-sidebar-post .main>.wrap>.row>aside.right-sidebar {
  display:none;
 }
 body.knp-theme-sidebar-post .main>.wrap>.row:has(>aside.right-sidebar):not(:has(>aside.left-sidebar))>section {
  width:100%;
 }
}
