/* Post hero (v1.3.2): on single posts, zs-widgets.js builds a full-width
   hero (homepage/blog style) from the post's own in-content hero - its
   photo, intro text and button - and these rules hide the originals:
   the theme title band and the in-column banner. Only applies when the
   script succeeded (body.zs-post-hero-on), so a script failure simply
   leaves the previous banner design untouched. */
body.single-post.zs-post-hero-on .hero-section {display: none !important}
body.single-post.zs-post-hero-on .entry-content .hero {display: none !important}
.zs-post-hero {position: relative; width: 100%; min-height: 62vh; display: flex; align-items: center; padding: 5rem 1rem; background-size: cover; background-position: center; margin-bottom: 0.75rem}
.zs-post-hero-inner {max-width: 1100px; margin: 0 auto; width: 100%}
.zs-post-hero-content {max-width: 760px; padding: 0 1rem; text-align: left}
.zs-post-hero-title {font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1.18; margin: 0 0 1.1rem; color: #ffffff}
.zs-post-hero-lede {font-family: 'Inter', sans-serif; font-size: 1.2rem; line-height: 1.6; margin: 0 0 2rem; max-width: 640px; color: #ffffff}
.zs-post-hero-btn {display: inline-block; background: #27ae60; color: #ffffff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; text-decoration: none; padding: 15px 38px; border-radius: 999px; transition: background 0.25s}
.zs-post-hero-btn:hover {background: #219653; color: #ffffff}
.zs-post-hero-credit {position: absolute; right: 16px; bottom: 12px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); font-family: 'Inter', sans-serif}
@media (max-width: 768px) {
  .zs-post-hero {min-height: 54vh; padding: 3.5rem 1rem}
  .zs-post-hero-content {text-align: center; margin: 0 auto}
  .zs-post-hero-title {font-size: 1.9rem}
  .zs-post-hero-lede {font-size: 1.05rem; margin-left: auto; margin-right: auto}
}

/* Hero-to-breadcrumb gap (v1.3.15): the hero's 2.5rem bottom margin plus the
   theme's ~60px vertical content spacing left a ~100px empty band between
   the hero photo and the breadcrumb bar on every post (measured). Remove
   the theme spacing above the article on single posts. */
body.single-post {--theme-content-vertical-spacing: 0px}
body.single-post main.site-main .ct-container {padding-top: 0 !important}
body.single-post .entry-header {margin-bottom: 0 !important; padding-bottom: 0 !important}
body.single-post .entry-content {margin-top: 0 !important; padding-top: 0 !important}
