/* NB Blog Post Template v1.1.0 — typography, byline, tight banner, opt-in box. Scoped to single posts only. */
/* Hide the site header and nav on single blog posts only. Footer stays. */
body.single-post #masthead,
body.single-post #ast-fixed-header,
body.single-post #ast-mobile-header,
body.single-post .ast-mobile-header-wrap,
body.single-post header.site-header {
  display: none !important;
}

.single-post .ast-single-entry-banner .ast-container,
.single-post.ast-narrow-container .site-content > .ast-container,
.single-post #primary,
.single-post .ast-article-single {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
/* Kill Astra's 400px min-height (title was vertically centered) and the
   peach body (#FFF7F0) peeking around the banner's 1px side margin. */
body.single-post,
body.single-post.ast-narrow-container,
body.single-post.ast-full-width-layout {
  background: #fff !important;
  background-color: #fff !important;
}
body.single-post #page,
body.single-post #content,
body.single-post .site-content,
body.single-post .ast-single-entry-banner,
body.single-post #primary,
body.single-post .ast-article-single {
  background: #fff !important;
  background-color: #fff !important;
}
body.single-post .ast-single-entry-banner {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 32px 20px 16px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.single-post .ast-single-entry-banner .ast-container {
  max-width: 680px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}
body.single-post .ast-single-entry-banner .entry-title,
body.single-post h1.entry-title {
  margin: 0 0 16px !important;
  text-align: center;
}
body.single-post .ast-single-entry-banner .entry-meta,
body.single-post .nb-byline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6B5A3A;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
body.single-post .nb-byline-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}
body.single-post .nb-byline-photo,
body.single-post .nb-byline img.avatar,
body.single-post .ast-single-entry-banner .ast-author-avatar img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 46% !important;
  display: block;
  flex: 0 0 48px;
}
body.single-post .nb-byline-by,
body.single-post .nb-byline-by a {
  color: #6B5A3A;
  text-decoration: none;
}
body.single-post .nb-byline-date {
  white-space: nowrap;
  text-align: center;
  width: 100%;
}
body.single-post .nb-byline-read-short { display: none; }
body.single-post .nb-byline-read-full { display: inline; }
.single-post .ast-single-entry-banner .entry-title,
.single-post h1.entry-title {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 44px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #1A0E00;
  text-wrap: balance;
  margin: 0 0 12px;
}
.single-post .ast-single-entry-banner .entry-meta {
  font-size: 14px;
  line-height: 1.5;
  color: #6B5A3A;
}
.single-post .ast-article-single .entry-content {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
  color: #251601;
  max-width: 680px;
}
.single-post .ast-article-single .entry-content > *,
.single-post .ast-article-single .entry-content .uagb-is-root-container,
.single-post .ast-article-single .entry-content .uagb-container-inner-blocks-wrap {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.single-post .ast-article-single .entry-content .uagb-is-root-container.alignfull,
.single-post .ast-article-single .entry-content .alignfull {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 680px !important;
}
.single-post .ast-article-single .entry-content p,
.single-post .ast-article-single .entry-content li {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
}
.single-post .ast-article-single .entry-content p {
  margin: 0 0 1.15em;
}
.single-post .ast-article-single .entry-content h1,
.single-post .ast-article-single .entry-content h2,
.single-post .ast-article-single .entry-content h3,
.single-post .ast-article-single .entry-content h4 {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  color: #1A0E00;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
  margin: 1.6em 0 0.6em;
}
.single-post .ast-article-single .entry-content h1 { font-size: 32px; }
.single-post .ast-article-single .entry-content h2 { font-size: 32px; }
.single-post .ast-article-single .entry-content h3 { font-size: 22px; }
.single-post .ast-article-single .entry-content h4 { font-size: 19px; }
.single-post .ast-article-single .entry-content a {
  color: #1A0E00;
  text-decoration: underline;
  text-decoration-color: #E0A30E;
  text-underline-offset: 3px;
}
.single-post .ast-article-single .entry-content a:hover {
  color: #1A0E00;
  text-decoration-color: #1A0E00;
}
.single-post .ast-article-single .entry-content blockquote,
.single-post .ast-article-single .entry-content .wp-block-quote {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-style: normal;
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid #E0A30E;
  background: transparent;
  box-shadow: none;
}
.single-post .ast-article-single .entry-content blockquote p,
.single-post .ast-article-single .entry-content .wp-block-quote p {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  font-style: normal;
  color: #1A0E00;
  margin: 0 0 0.5em;
}
.single-post .ast-article-single .entry-content img,
.single-post .ast-article-single .entry-content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.single-post .ast-article-single .entry-content figcaption,
.single-post .ast-article-single .entry-content .wp-element-caption {
  font-size: 14px;
  line-height: 1.45;
  color: #6B5A3A;
  text-align: center;
  margin-top: 8px;
}
.single-post .ast-article-single .entry-content ul,
.single-post .ast-article-single .entry-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}
.single-post .ast-article-single .entry-content li {
  margin: 0 0 0.45em;
}

/* Opt-in box (social-signup look) */
.single-post .nb-blog-optin {
  margin: 48px auto 24px;
  max-width: 680px;
  padding: 0 0 8px;
}
.single-post .nb-blog-optin .nbde {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold: #F8BC22;
  --gold-hover: #FFC63A;
  --ink: #1A0E00;
  --body: #251601;
  --muted: #6B5A3A;
  --line: #D9D2C3;
  --bg: #FDFCF9;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 20px 28px;
  text-align: center;
  color: var(--body);
  background: var(--bg);
  border: 1px solid #EDE6D6;
  border-radius: 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.single-post .ast-article-single .entry-content .nb-blog-optin p.nbde-eyebrow,
.single-post .nb-blog-optin p.nbde-eyebrow,
.single-post .nb-blog-optin .nbde-eyebrow {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-caps: all-small-caps;
  color: var(--muted);
  white-space: nowrap;
}
.single-post .ast-article-single .entry-content .nb-blog-optin h2.nbde-headline,
.single-post .nb-blog-optin h2.nbde-headline,
.single-post .nb-blog-optin .nbde-headline {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 28px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  margin: 0 -8px 16px;
  text-wrap: wrap;
}
.single-post .nb-blog-optin .gold-underline {
  position: relative;
  display: inline;
  white-space: nowrap;
  padding: 0 .02em;
  isolation: isolate;
}
.single-post .nb-blog-optin .gold-underline::after {
  content: "";
  position: absolute;
  left: -.02em;
  right: -.02em;
  bottom: .04em;
  height: .12em;
  background: var(--gold);
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}
.single-post .ast-article-single .entry-content .nb-blog-optin p.nbde-sub,
.single-post .nb-blog-optin p.nbde-sub,
.single-post .nb-blog-optin .nbde-sub {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--body);
  text-wrap: balance;
}
.single-post .nb-blog-optin .nbde-persona { font-weight: 500; }
.single-post .nb-blog-optin .nbde-form-wrap { max-width: 440px; margin: 0 auto; }
.single-post .nb-blog-optin .bwfac_form_sec.bwfac_form_field_text,
.single-post .nb-blog-optin .bwfac_form_sec.nbde-utm-hide {
  display: none !important;
}
.single-post .nb-blog-optin .bwfac_form_sec label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}
.single-post .nb-blog-optin .wffn-optin-input,
.single-post .nb-blog-optin input[type="email"] {
  width: 100% !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  padding: 16px 18px !important;
  border: 2px solid #D9D2C3 !important;
  border-radius: 10px !important;
  color: #1A0E00 !important;
  background: #fff !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.single-post .nb-blog-optin #wffn_custom_optin_submit,
.single-post .nb-blog-optin .wfop_submit_btn,
.single-post .nb-blog-optin .bwfac_form_sec button[type="submit"] {
  display: block !important;
  width: 100% !important;
  background-color: #F8BC22 !important;
  border: 0 !important;
  color: #1C1001 !important;
  border-radius: 30px !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 800 !important;
  font-size: 21px !important;
  box-shadow: 0 6px 18px rgba(232,168,10,.38), 0 1px 2px rgba(28,16,1,.18) !important;
  padding: 18px 24px !important;
  min-height: 64px !important;
  margin-top: 14px !important;
  cursor: pointer;
}
.single-post .nb-blog-optin #wffn_custom_optin_submit *,
.single-post .nb-blog-optin #wffn_custom_optin_submit .bwf_heading,
.single-post .nb-blog-optin #wffn_custom_optin_submit .bwf-text-wrapper {
  color: #1C1001 !important;
  fill: #1C1001 !important;
  -webkit-text-fill-color: #1C1001 !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
}
.single-post .nb-blog-optin #wffn_custom_optin_submit:hover,
.single-post .nb-blog-optin .wfop_submit_btn:hover {
  background-color: #FFC63A !important;
}
.single-post .nb-blog-optin .nbde-signoff { margin: 32px auto 0; }
.single-post .nb-blog-optin .nbde-photo {
  width: 180px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 0 4px #F8BC22, 0 8px 24px rgba(120,84,10,.14);
}
.single-post .ast-article-single .entry-content .nb-blog-optin p.nbde-caption,
.single-post .nb-blog-optin p.nbde-caption,
.single-post .nb-blog-optin .nbde-caption {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: #6B5A3A;
  text-align: center;
  margin: 10px 0 0;
}

@media (max-width: 600px) {
  body.single-post .ast-single-entry-banner {
    padding: 24px 20px 12px !important;
  }
  body.single-post .nb-byline-read-full { display: none; }
  body.single-post .nb-byline-read-short { display: inline; }
  body.single-post .nb-byline-photo,
  body.single-post .nb-byline img.avatar,
  body.single-post .ast-single-entry-banner .ast-author-avatar img {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px;
  }
  .single-post .ast-single-entry-banner .entry-title,
  .single-post h1.entry-title { font-size: 28px; line-height: 1.2; }
  .single-post .ast-article-single .entry-content,
  .single-post .ast-article-single .entry-content p,
  .single-post .ast-article-single .entry-content li { font-size: 18px; line-height: 1.65; }
  .single-post .ast-article-single .entry-content h2 { font-size: 26px; }
  .single-post .ast-article-single .entry-content h3 { font-size: 20px; }
  /* Full-bleed the opt-in card so the approved 3-line headline and nowrap eyebrow fit, matching the social mockup width. */
  .single-post .nb-blog-optin {
    margin: 36px calc(50% - 50vw) 0;
    max-width: 100vw;
    width: 100vw;
  }
  .single-post .nb-blog-optin .nbde {
    max-width: 640px;
    padding: 32px 20px 24px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .single-post .ast-article-single .entry-content .nb-blog-optin h2.nbde-headline,
.single-post .nb-blog-optin .nbde-headline { font-size: 26px; margin: 0 -12px 18px; }
  .single-post .ast-article-single .entry-content .nb-blog-optin p.nbde-eyebrow,
.single-post .nb-blog-optin .nbde-eyebrow { font-size: 12px; letter-spacing: .14em; margin: 0 0 12px; white-space: nowrap; }
  .single-post .ast-article-single .entry-content .nb-blog-optin p.nbde-sub,
.single-post .nb-blog-optin .nbde-sub { font-size: 17px; margin-bottom: 28px; }
  .single-post .nb-blog-optin #wffn_custom_optin_submit,
  .single-post .nb-blog-optin #wffn_custom_optin_submit * { font-size: 19px !important; }
  .single-post .nb-blog-optin #wffn_custom_optin_submit { min-height: 58px !important; padding: 16px 18px !important; }
  .single-post .nb-blog-optin .nbde-photo { width: 180px; border-radius: 16px; }
}
