/* ══════════════════════════════════════════════════════════
   KORE1 — Single Blog Post Styles
   page-single-post.css  ·  v2.3.1
   CHANGE: Grid-based author box (was float). Wider content
   area for video embeds; author card in right column, sticky.
   v2.3.1: Dark sleek footer pills + minimal inline nav.
   ══════════════════════════════════════════════════════════ */

/* ── Layout: Full-width single column ── */

body.single-post #right-sidebar,
body.single-post .sidebar,
body.single-post #secondary,
body.single-post .widget-area {
  display: none !important;
  width: 0 !important;
}

body.single-post .site-content .content-area,
body.single-post #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.single-post .site-content {
  display: block !important;
}

body.single-post .inside-article {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 40px 60px !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  outline: none !important;
}

body.single-post article,
.separate-containers body.single-post .inside-article,
.separate-containers body.single-post article,
body.single-post.separate-containers .inside-article,
body.single-post.separate-containers article {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* GP separate-containers also styles #nav-below */
body.single-post.separate-containers #nav-below,
body.single-post.separate-containers .post-navigation,
.separate-containers body.single-post #nav-below,
.separate-containers body.single-post .post-navigation {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 40px 0 0 !important;
}


/* ── Featured Image ── */

body.single-post .post-image,
body.single-post .featured-image {
  margin-left: -40px !important;
  margin-right: -40px !important;
  margin-bottom: 40px;
}

body.single-post .post-image img,
body.single-post .featured-image img {
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  width: 100%;
}


/* ── Entry Header ── */

body.single-post .entry-header {
  padding-top: 8px;
  border-top: 3px solid #f48830;
  margin-bottom: 4px;
}

body.single-post .entry-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #2d2d3d;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin: 0 0 12px 0;
}

body.single-post .entry-meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: #999;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

body.single-post .entry-meta a {
  color: #f48830;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

body.single-post .entry-meta a:hover {
  color: #e07520;
}


/* ── Category Pills (below date/author) ── */

body.single-post .k-post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

body.single-post .k-post-cats a {
  display: inline-block;
  padding: 5px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: #2d2d3d;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  line-height: 1.4;
  letter-spacing: .02em;
}

body.single-post .k-post-cats a:hover {
  color: #fff;
  background: #f48830;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244,136,48,0.25);
}


/* ══════════════════════════════════════════════════════════
   ENTRY CONTENT — Grid Layout (content + author sidebar)
   ══════════════════════════════════════════════════════════ */

body.single-post .entry-content {
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0 36px;
}

/* All children flow into the content column by default */
body.single-post .entry-content > * {
  grid-column: 1;
  min-width: 0; /* Prevent grid blowout from wide content */
}

/* Author box occupies the right column, spans all rows, sticky */
body.single-post .entry-content > .k-ab {
  grid-column: 2;
  grid-row: 1 / span 80;
  float: none;
  width: auto;
  margin: 0;
  position: sticky;
  top: 92px;
  align-self: start;
}


/* ── Typography ── */

body.single-post .entry-content p {
  font-size: 16.5px;
  line-height: 1.82;
  color: #4b5563;
  margin: 0 0 22px 0;
}

body.single-post .entry-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #2d2d3d;
  line-height: 1.25;
  margin: 48px 0 16px 0;
  letter-spacing: -.3px;
}

body.single-post .entry-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2d2d3d;
  line-height: 1.3;
  margin: 40px 0 14px 0;
}

body.single-post .entry-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #58595b;
  line-height: 1.4;
  margin: 32px 0 12px 0;
}


/* ── Links ── */

body.single-post .entry-content a:not(.k-ab-linkedin):not(.k-btn-primary):not(.k-btn-outline) {
  color: #f48830;
  text-decoration: underline;
  text-decoration-color: rgba(244,136,48,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}

body.single-post .entry-content a:not(.k-ab-linkedin):not(.k-btn-primary):not(.k-btn-outline):hover {
  text-decoration-color: #f48830;
}


/* ── Lists ── */

body.single-post .entry-content ul,
body.single-post .entry-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

body.single-post .entry-content li {
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 8px;
}

body.single-post .entry-content ul li::marker {
  color: #f48830;
}

body.single-post .entry-content ol li::marker {
  color: #f48830;
  font-weight: 700;
}


/* ── Blockquote ── */

body.single-post .entry-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: #f8f9fb;
  border-left: 4px solid #f48830;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

body.single-post .entry-content blockquote p {
  font-size: 17px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
}


/* ── Media & Code ── */

body.single-post .entry-content img {
  border-radius: 10px;
  margin: 8px 0;
}

body.single-post .entry-content code {
  font-size: 14px;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 5px;
  color: #e07520;
  font-family: 'SFMono-Regular', Consolas, monospace;
}

body.single-post .entry-content pre {
  background: #2d2d3d;
  color: #e5e7eb;
  padding: 24px 28px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
}

body.single-post .entry-content pre code {
  background: 0;
  padding: 0;
  color: inherit;
  border-radius: 0;
}

body.single-post .entry-content hr {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 40px 0;
}


/* ── Video embeds — fill the content column ── */

body.single-post .entry-content iframe,
body.single-post .entry-content .wp-block-embed,
body.single-post .entry-content .wp-block-video {
  width: 100%;
  max-width: 100%;
}


/* ── Tables ── */

body.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

body.single-post .entry-content th {
  background: #f8f9fb;
  font-weight: 700;
  color: #2d2d3d;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #f48830;
}

body.single-post .entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #4b5563;
}


/* ══════════════════════════════════════════════════════════
   AUTHOR BOX — Grid sidebar card (sticky)
   ══════════════════════════════════════════════════════════ */

body.single-post .k-ab {
  padding: 28px 24px;
  background: #f8f9fb;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: box-shadow .3s ease;
}

body.single-post .k-ab:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
}

body.single-post .k-ab .k-ab-photo {
  margin-bottom: 16px;
}

body.single-post .k-ab .k-ab-photo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(244,136,48,0.15);
}

body.single-post .k-ab .k-ab-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f48830;
  margin-bottom: 6px;
}

body.single-post .k-ab .k-ab-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #2d2d3d;
  margin-bottom: 12px;
  line-height: 1.3;
}

body.single-post .k-ab .k-ab-bio {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 16px;
}

body.single-post .k-ab .k-ab-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0a66c2;
  text-decoration: none;
  transition: color .2s ease;
}

body.single-post .k-ab .k-ab-linkedin:hover {
  color: #004182;
}


/* ══════════════════════════════════════════════════════════
   BACK TO BLOG link
   ══════════════════════════════════════════════════════════ */

.k-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  padding: 20px 0 0;
  transition: color .2s ease, gap .2s ease;
}

.k-blog-back:hover {
  color: #f48830;
  gap: 6px;
}

.k-blog-back svg {
  transition: transform .2s ease;
  flex-shrink: 0;
}

.k-blog-back:hover svg {
  transform: translateX(-3px);
}


/* ══════════════════════════════════════════════════════════
   BOTTOM ZONE RESET — Kill GP's separate-containers styling
   on the footer/nav area below blog content
   ══════════════════════════════════════════════════════════ */

body.single-post .inside-article > footer,
body.single-post .inside-article > nav,
body.single-post article > footer,
body.single-post article > nav,
body.single-post .inside-article > footer.entry-meta,
body.single-post #nav-below {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}


/* ══════════════════════════════════════════════════════════
   FOOTER META — Hide category pills (moved to header area)
   but keep the container visible so nav#nav-below survives
   ══════════════════════════════════════════════════════════ */

body.single-post footer.entry-meta {
  margin-top: 20px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: block !important;
  grid-column: 1 / -1 !important;
}

/* Hide the original category/tag pills — they're now in .k-post-cats */
body.single-post footer.entry-meta .cat-links,
body.single-post footer.entry-meta .tags-links {
  display: none !important;
}


/* ══════════════════════════════════════════════════════════
   POST NAVIGATION — Simple left/right text links
   GP uses: nav#nav-below.post-navigation > div.nav-previous
            > span.gp-icon + span.prev > a
   ══════════════════════════════════════════════════════════ */

body.single-post #nav-below,
body.single-post #nav-below.post-navigation,
body.single-post nav.post-navigation {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  padding: 12px 0 !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
}

body.single-post #nav-below .nav-links {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 24px !important;
  width: 100% !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-post #nav-below .nav-previous,
body.single-post #nav-below .nav-next {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 1 auto !important;
}

body.single-post #nav-below .nav-next {
  text-align: right !important;
  margin-left: auto !important;
}

/* GP's span.prev / span.next wrappers + .gp-icon arrows */
body.single-post #nav-below span.prev,
body.single-post #nav-below span.next,
body.single-post #nav-below span.prev *,
body.single-post #nav-below span.next * {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}

body.single-post #nav-below span.prev,
body.single-post #nav-below span.next {
  display: inline !important;
}

body.single-post #nav-below .gp-icon {
  display: none !important;
}

body.single-post #nav-below a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: #2d2d3d !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  transition: color .2s ease !important;
  display: inline !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.single-post #nav-below a:hover {
  color: #f48830 !important;
  background: transparent !important;
}

/* Our arrow indicators */
body.single-post #nav-below .nav-previous a::before {
  content: '\2190\00a0' !important;
  color: #f48830 !important;
  font-weight: 700 !important;
  display: inline !important;
  background: transparent !important;
}

body.single-post #nav-below .nav-next a::after {
  content: '\00a0\2192' !important;
  color: #f48830 !important;
  font-weight: 700 !important;
  display: inline !important;
  background: transparent !important;
}

body.single-post #nav-below .nav-next a::before {
  content: none !important;
  display: none !important;
}


/* ══════════════════════════════════════════════════════════
   COMMENTS AREA — Modern minimal form
   ══════════════════════════════════════════════════════════ */

body.single-post .comments-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section divider */
body.single-post .comments-area::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
  margin-bottom: 40px;
}

body.single-post .comments-area .comment-reply-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #2d2d3d;
  margin-bottom: 6px;
}

/* Logged-in notice */
body.single-post .comments-area .logged-in-as {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

body.single-post .comments-area .logged-in-as a {
  color: #f48830;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}

body.single-post .comments-area .logged-in-as a:hover {
  color: #e07520;
}

/* Comment form wrapper */
body.single-post .comment-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Text fields & textarea */
body.single-post .comments-area textarea,
body.single-post .comments-area input[type="text"],
body.single-post .comments-area input[type="email"],
body.single-post .comments-area input[type="url"] {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: #2d2d3d;
  background: #f8f9fb;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  width: 100%;
  transition: all .2s ease;
  outline: none;
  -webkit-appearance: none;
}

body.single-post .comments-area textarea:focus,
body.single-post .comments-area input[type="text"]:focus,
body.single-post .comments-area input[type="email"]:focus,
body.single-post .comments-area input[type="url"]:focus {
  border-color: #f48830;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244,136,48,0.1);
}

body.single-post .comments-area textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

body.single-post .comments-area textarea::placeholder,
body.single-post .comments-area input::placeholder {
  color: #b0b5be;
}

/* Submit button */
body.single-post .comments-area .form-submit {
  margin-top: 8px;
}

body.single-post .comments-area input[type="submit"],
body.single-post .comments-area .submit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #f48830;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  cursor: pointer;
  transition: all .25s ease;
  -webkit-appearance: none;
}

body.single-post .comments-area input[type="submit"]:hover,
body.single-post .comments-area .submit:hover {
  background: #e07520;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,136,48,0.25);
}

/* Comment labels */
body.single-post .comments-area label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
  display: block;
}

/* Existing comments list */
body.single-post .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

body.single-post .comment-list .comment {
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
}

body.single-post .comment-list .comment:last-child {
  border-bottom: none;
}

body.single-post .comment-list .comment-author {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2d2d3d;
}

body.single-post .comment-list .comment-meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

body.single-post .comment-list .comment-content p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
}

/* No comments yet message */
body.single-post .no-comments {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: #999;
  font-style: italic;
}


/* ══════════════════════════════════════════════════════════
   EASY TABLE OF CONTENTS — Grid-aware
   ══════════════════════════════════════════════════════════ */

body.single-post .entry-content #ez-toc-container {
  grid-column: 1;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Collapse grid to single column — flex so we can reorder author box */
  body.single-post .entry-content {
    display: flex;
    flex-direction: column;
  }

  /* All content flows naturally; author box pushed to bottom via order */
  body.single-post .entry-content > * {
    order: 1;
  }

  body.single-post .inside-article {
    max-width: 100% !important;
    padding: 0 20px 48px !important;
  }

  body.single-post .post-image,
  body.single-post .featured-image {
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  body.single-post .entry-title {
    font-size: 28px;
    letter-spacing: -.3px;
  }

  body.single-post .entry-content h2 {
    font-size: 24px;
    margin-top: 36px;
  }

  body.single-post .entry-content h3 {
    font-size: 20px;
    margin-top: 32px;
  }

  body.single-post .entry-content p {
    font-size: 16px;
  }

  /* Author box — stack on mobile, moved to bottom */
  body.single-post .k-ab {
    order: 9999;
    position: static;
    width: 100%;
    margin: 28px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 16px;
    padding: 22px 20px;
  }

  body.single-post .k-ab .k-ab-photo {
    margin-bottom: 0;
    order: 1;
  }

  body.single-post .k-ab .k-ab-photo img {
    width: 56px;
    height: 56px;
  }

  body.single-post .k-ab .k-ab-label {
    width: 100%;
    order: 0;
    margin-bottom: 10px;
  }

  body.single-post .k-ab .k-ab-name {
    order: 2;
    flex: 1;
    margin-bottom: 0;
  }

  body.single-post .k-ab .k-ab-bio {
    width: 100%;
    order: 3;
    margin-top: 12px;
  }

  body.single-post .k-ab .k-ab-linkedin {
    order: 4;
  }

  /* Post navigation — stack on small screens */
  body.single-post #nav-below .nav-links {
    flex-direction: column !important;
    gap: 12px !important;
  }

  body.single-post #nav-below .nav-previous,
  body.single-post #nav-below .nav-next {
    max-width: 100% !important;
  }

  body.single-post #nav-below .nav-next {
    text-align: left !important;
    margin-left: 0 !important;
  }

  /* Comments */
  body.single-post .comments-area {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {

  body.single-post .entry-title {
    font-size: 25px;
  }
}
@media(max-width:768px){body.single-post .k-ab{position:static}}
