/* =========================================================================
   single-blog.css — polished, branded styling for single blog posts.
   Loaded only on single posts (is_singular('post')). Uses the Elementor
   global colours via the aliases defined in elementor-custom.css.
   ========================================================================= */

/* comfortable reading column */
.single-post .site-content .ast-container { max-width: 800px; }
.single-post #primary { padding-top: 40px; padding-bottom: 40px; }

/* ---- TITLE (Astra hides it by default — bring it back, branded) ---- */
body.single-post .entry-title {
  display: block !important;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--vz-secondary, #162842);
  margin: 0 0 14px;
}

/* ---- META (author / date) ---- */
.single-post .entry-meta {
  font-size: 14px;
  color: #8a93a6;
  margin-bottom: 26px;
}
.single-post .entry-meta a { color: var(--vz-primary, #e13833); text-decoration: none; }

/* ---- FEATURED IMAGE banner (injected at the top of content) ---- */
.single-post .vz-blog-hero { margin: 0 0 32px; }
.single-post .vz-blog-hero img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(18, 48, 107, .16);
  display: block;
}

/* ---- CONTENT TYPOGRAPHY ---- */
.single-post .entry-content { font-size: 16.5px; line-height: 1.85; color: var(--vz-text, #666); }
.single-post .entry-content > p { margin: 0 0 20px; }

.single-post .entry-content h2 {
  font-size: 27px; font-weight: 700; color: var(--vz-secondary, #162842);
  margin: 38px 0 14px; padding-bottom: 10px; position: relative;
}
.single-post .entry-content h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 44px; height: 3px; border-radius: 2px; background: var(--vz-primary, #e13833);
}
.single-post .entry-content h3 {
  font-size: 21px; font-weight: 700; color: var(--vz-secondary, #162842); margin: 28px 0 10px;
}
.single-post .entry-content h4 { font-size: 18px; font-weight: 700; color: var(--vz-secondary, #162842); margin: 22px 0 8px; }

.single-post .entry-content a { color: var(--vz-primary, #e13833); text-decoration: underline; text-underline-offset: 2px; }
.single-post .entry-content a:hover { color: color-mix(in srgb, var(--vz-primary, #e13833) 82%, #000); }
.single-post .entry-content strong, .single-post .entry-content b { color: var(--vz-secondary, #162842); }

/* lists */
.single-post .entry-content ul, .single-post .entry-content ol { margin: 0 0 20px; padding-left: 24px; }
.single-post .entry-content li { margin-bottom: 9px; }
.single-post .entry-content ul li::marker { color: var(--vz-primary, #e13833); }
.single-post .entry-content ol li::marker { color: var(--vz-primary, #e13833); font-weight: 700; }

/* blockquote */
.single-post .entry-content blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 4px solid var(--vz-primary, #e13833);
  background: var(--vz-secondary-tint, #f5f7fb); border-radius: 0 12px 12px 0;
  font-style: italic; color: var(--vz-secondary, #162842);
}

/* in-content images */
.single-post .entry-content img:not(.vz-blog-hero-img) { border-radius: 12px; box-shadow: 0 10px 26px rgba(18,48,107,.12); width: 100%;
    object-fit: cover; }
.single-post .entry-content figure { margin: 0 0 26px; border-radius: 15px; }

/* ---- POST NAVIGATION (prev / next) ---- */
.single-post .post-navigation {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid #eef1f7;
}
.single-post .post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.single-post .post-navigation a {
  display: inline-block; padding: 12px 20px; border: 1px solid #e3e8f0; border-radius: 10px;
  color: var(--vz-secondary, #162842); text-decoration: none; font-weight: 600; font-size: 14.5px;
  transition: all .2s ease;
}
.single-post .post-navigation a:hover { border-color: var(--vz-primary, #e13833); color: var(--vz-primary, #e13833); }

/* ---- COMMENTS: hidden on a business blog (also closed server-side) ---- */
.single-post .comments-area, .single-post #comments, .single-post .comment-respond,
.single-post #respond, .single-post .ast-comment-list { display: none !important; }

/* ---- MOBILE ---- */
@media (max-width: 767px) {
  body.single-post .entry-title { font-size: 28px; }
  .single-post .entry-content h2 { font-size: 23px; }
  .single-post .entry-content h3 { font-size: 19px; }
  .single-post .vz-blog-hero img { border-radius: 14px; max-height: 260px; }
  .single-post #primary { padding-top: 24px; padding-bottom: 24px; }
  .single-post .post-navigation .nav-links { flex-direction: column; }
}
