/* ── Blog Hero ──────────────────────────────────────────────────────────── */

.blog-hero {
  position: relative;
  background-image: var(--blog-hero-bg);
  background-size: cover;
  background-position: center;
  padding-bottom: 28px;

  @media (pointer: fine) {
    background-attachment: fixed;
  }
}

.blog-hero--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--wp-section-padding) var(--content-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.blog-hero__content {
  flex: 0 0 72%;
  min-width: 0;
}

.blog-hero__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
  color: var(--jencap-white);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-hero__description {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-tight);
  color: var(--jencap-white);
  margin: 0;
  max-width: 700px;
      -webkit-font-smoothing: antialiased;
}

/* ── CTA button override ────────────────────────────────────────────────── */

.blog-hero__cta-wrap {
  flex: 0 0 auto;
}

.blog-hero__cta-wrap .hs-cta-wrapper a,
.blog-hero__cta-wrap a {
  display: inline-block;
  transition: var(--transition-all);
  font-family: var(--font-heading);
  text-transform: uppercase;
  text-decoration: none;

  color: var(--jencap-primary) !important;
  border-radius: var(--border-radius-pill);
  letter-spacing: 1px;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-medium) !important;
  background-color: var(--jencap-white);
  padding: 10px 1em !important;
}

.blog-hero__cta-wrap .hs-cta-wrapper a:hover,
.blog-hero__cta-wrap a:hover {
  color: var(--jencap-white) !important;
  background-color: var(--jencap-text);
}

/* ── Post variant ───────────────────────────────────────────────────────── */

.blog-hero--post {
  position: relative;
  min-height: 600px;
  background-color: var(--jencap-accent);
  background-image: var(--blog-hero-bg);
  background-size: cover;
  background-position: center bottom;
}

.blog-hero--post::before {
  content: '';
  position: absolute;
  inset: 0 0 33% 0;
  background-color: var(--jencap-accent);
  background-image: var(--gradient-hero);
  z-index: 0;
  padding: 100px !important;
    min-height: 680px;
}

.blog-hero--post .blog-hero__inner {
  display: block;
  position: relative;
  z-index: 1;
  padding-top: var(--spacing-lg);
}

.blog-hero--post .blog-hero__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.blog-hero--post .blog-hero__eyebrow {
    font-family: "agenda", sans-serif;
    line-height: 120%;
    font-size: 20px;
    font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--jencap-white);
  margin: 0;
}

.blog-hero--post .blog-hero__share {
  display: flex;
  gap: var(--spacing-xs);
}

.blog-hero--post .blog-hero__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.blog-hero--post .blog-hero__share-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}


.blog-hero--post h1.blog-hero__heading 
    text-transform: uppercase;
    font-size: 65px !important;
    letter-spacing: 1px;
    line-height: 1.1em;
    max-width: 70%
}

.blog-hero--post .blog-hero__description {
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--spacing-md);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .blog-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }
  .blog-hero--post .blog-hero__heading {
    max-width: 100%;
  }
}
