/* Blog posts in the /newhome style. Markup: templates/website/blog/newhome-post.html */

.newhome .nh-post-hero {
  padding: 64px 0 180px;
  background: linear-gradient(160deg, #06398e 0%, #0766d4 100%);
  color: #fff;
}
.newhome .nh-post-hero .nh-wrap { max-width: 860px; }
.newhome .nh-post-hero__back {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 36px;
  color: #c5ecff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.newhome .nh-post-hero__back:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.newhome .nh-post-hero h1 {
  margin: 0;
  font: 700 clamp(38px, 5vw, 62px)/1.02 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.newhome .nh-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  color: #d9efff;
  font-size: 15px;
  font-weight: 600;
}

/* Quote-led hero (customer stories): reads as something a person said, not a slogan.
   Lighter, smaller type than a blog headline, a decorative quote mark, and a stacked attribution. */
.newhome .nh-post-hero--quote .nh-eyebrow { margin-bottom: 8px; }
.newhome .nh-post-hero__quote-mark {
  display: block;
  height: 64px;
  color: #80efff;
  font: 700 120px/1 'Space Grotesk', Georgia, serif;
}
/* Same treatment as the homepage hero: heavy type, soft shadow, key phrase in the cyan gradient. */
.newhome .nh-post-hero--quote h1 {
  max-width: 22ch;
  color: #fff;
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.05em;
  text-shadow: 0 2px 22px #06368138;
}
.newhome .nh-post-hero--quote h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #d8faff, #80efff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.newhome .nh-post-hero--quote .nh-post-hero__meta {
  flex-direction: column;
  gap: 2px;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 2px solid #80efff;
}
.newhome .nh-post-hero--quote .nh-post-hero__meta strong { color: #fff; font-size: 16px; }
.newhome .nh-post-hero--quote .nh-post-hero__meta span { color: #c5ecff; font-weight: 500; }

.newhome .nh-post { max-width: 860px; margin-top: -132px; padding-bottom: 88px; }
.newhome .nh-post__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #ffffff70;
  border-radius: 18px;
  box-shadow: 0 28px 56px #05265f40;
}

.newhome .nh-post__body {
  max-width: 700px;
  margin: 56px auto 0;
  color: var(--nh-ink);
  font: 400 18px/1.7 Inter, Arial, sans-serif;
}
.newhome .nh-post__body > :first-child { margin-top: 0; }
.newhome .nh-post__body p { margin: 0 0 22px; }
.newhome .nh-post__body > p:first-child { color: #09254a; font-size: 21px; line-height: 1.6; }
.newhome .nh-post__body h2 {
  margin: 52px 0 16px;
  color: #09254a;
  font: 700 clamp(26px, 2.6vw, 32px)/1.15 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.04em;
}
.newhome .nh-post__body h3 { margin: 36px 0 12px; color: #09254a; font: 700 22px/1.2 'Space Grotesk', Arial, sans-serif; }
.newhome .nh-post__body ul, .newhome .nh-post__body ol { margin: 0 0 22px; padding-left: 24px; }
.newhome .nh-post__body li { margin-bottom: 8px; }
.newhome .nh-post__body li::marker { color: var(--nh-blue); }
.newhome .nh-post__body strong { color: #09254a; font-weight: 700; }
.newhome .nh-post__body a { color: #0674dd; text-decoration: underline; text-underline-offset: 4px; }
.newhome .nh-post__body img { max-width: 100%; height: auto; border-radius: 12px; }

.newhome .nh-post__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 700px;
  margin: 56px auto 0;
  padding: 30px 32px;
  border: 1px solid #d8f0fc;
  border-radius: 18px;
  background: #eef8ff;
}
.newhome .nh-post__cta h2 { margin: 0 0 8px; color: #09254a; font: 700 24px/1.15 'Space Grotesk', Arial, sans-serif; letter-spacing: -.04em; }
.newhome .nh-post__cta p { margin: 0; color: var(--nh-muted); font-size: 16px; line-height: 1.5; }
.newhome .nh-post__cta .nh-button { flex: none; }

.newhome .nh-post-more { padding: 72px 0 96px; border-top: 1px solid #d8f0fc; background: #eef8ff; }
.newhome .nh-post-more .nh-wrap { max-width: 860px; }
.newhome .nh-post-more h2 { margin: 0 0 28px; color: #09254a; font: 700 clamp(28px, 3vw, 36px)/1.1 'Space Grotesk', Arial, sans-serif; letter-spacing: -.05em; }
.newhome .nh-post-more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.newhome .nh-post-more a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding-bottom: 22px;
  overflow: hidden;
  border: 1px solid #d8f0fc;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.newhome .nh-post-more a:hover { transform: translateY(-3px); box-shadow: 0 18px 36px #0a3d7a1f; }
.newhome .nh-post-more a:focus-visible { outline: 3px solid #0879e8; outline-offset: 4px; }
.newhome .nh-post-more img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 10px; }
.newhome .nh-post-more__meta { padding: 0 22px; color: #0674dd; font: 700 12px/1.2 'Space Grotesk', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.newhome .nh-post-more strong { padding: 0 22px; color: #09254a; font: 700 20px/1.2 'Space Grotesk', Arial, sans-serif; letter-spacing: -.03em; }
/* Customer story pages (e.g. customer-pointer-hound.html): a logo card sits where a cover image would. */
.newhome .nh-customer-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px 22px 22px;
  border-radius: 18px;
  /* Matches the logo's own background so the illustration blends into the card. */
  background: #e1ddd3;
  box-shadow: 0 18px 40px #05265f2e;
}
.newhome .nh-customer-card__logo { flex: none; width: 120px; height: 120px; border-radius: 12px; object-fit: cover; mix-blend-mode: multiply; }
.newhome .nh-customer-card > div { display: grid; gap: 4px; }
.newhome .nh-customer-card strong { color: #2f2a20; font: 700 26px/1.15 'Space Grotesk', Arial, sans-serif; letter-spacing: -.04em; }
.newhome .nh-customer-card > div > span { color: #6b6353; font-size: 16px; font-weight: 600; }

/* Q&A layout: numbered interview questions, Christina's answers in a calm neutral body. */
.newhome .nh-customer-qa { padding: 44px 0; border-top: 1px solid #e6edf5; }
.newhome .nh-customer-qa:first-child { padding-top: 0; border-top: 0; }
.newhome .nh-customer-qa__num {
  display: block;
  margin-bottom: 12px;
  color: #11a9d6;
  font: 700 13px/1 'Space Grotesk', Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.newhome .nh-customer-story h2 {
  margin: 0 0 24px;
  color: #09254a;
  font: 700 clamp(20px, 1.9vw, 23px)/1.35 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.025em;
}
/* Answer sits under an accent rule so it reads as Christina's reply, distinct from the question. */
.newhome .nh-customer-story blockquote { margin: 0; padding-left: 22px; border-left: 3px solid #d8f0fc; color: #3d4654; }
.newhome .nh-customer-story blockquote p:last-child { margin-bottom: 0; }
.newhome .nh-customer-story__sign {
  margin: 0 !important;
  padding-top: 32px;
  border-top: 1px solid #e6edf5;
  color: #1c2533;
  font: 600 16px/1.4 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.01em;
}

@media (prefers-reduced-motion: reduce) {
  .newhome .nh-post-more a { transition: none; }
  .newhome .nh-post-more a:hover { transform: none; }
}
@media (max-width: 760px) {
  .newhome .nh-post-hero { padding: 40px 0 110px; }
  .newhome .nh-post-hero__back { margin-bottom: 26px; }
  .newhome .nh-post-hero__quote-mark { height: 46px; font-size: 88px; }
  .newhome .nh-post { margin-top: -80px; padding-bottom: 64px; }
  .newhome .nh-post__cover { border-radius: 12px; }
  .newhome .nh-post__body { margin-top: 40px; font-size: 17px; }
  .newhome .nh-post__body > p:first-child { font-size: 19px; }
  .newhome .nh-post__cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .newhome .nh-post-more { padding: 56px 0 72px; }
  .newhome .nh-post-more ul { grid-template-columns: 1fr; }
  .newhome .nh-customer-card { gap: 16px; padding: 16px; }
  .newhome .nh-customer-card__logo { width: 84px; height: 84px; }
  .newhome .nh-customer-card strong { font-size: 21px; }
  .newhome .nh-customer-card > div > span { font-size: 14px; }
  .newhome .nh-customer-qa { padding: 34px 0; }
}
