/* ==========================================================================
   Blog posts — 2026 brand type for the article body. The single-post template's Post
   Content widget sets one font (DM Sans) for everything it prints, so the article's own
   headings come out in the body face; Elementor has no control for them. They take the
   display face here, like every other heading on the site.
   Loaded on single posts only (functions.php). The blog templates themselves are
   rebranded by figma-templates/redesign/rebrand-blog.mjs.
   ========================================================================== */

.single-post .elementor-widget-theme-post-content :is(h1, h2, h3, h4) {
  font-family: var(--nw-font-display);
  font-weight: 600;
  color: var(--nw-ink);
}

/* Links in the article: navy-600 like every other link on the site (the template's own
   .class-links rule took the old red, which the rebrand mapped to burgundy). */
.single-post .elementor-widget-theme-post-content a:not(.elementor-button) { color: var(--nw-navy-600); }
.single-post .elementor-widget-theme-post-content a:not(.elementor-button):hover { color: var(--nw-navy); }

/* The title widget has a fixed 765px width in a container without padding, so a 768px
   tablet shows it edge to edge; give it the article body's 30px gutter there (.elementor.elementor
   outweighs Elementor's own max-width: 100% reset for widgets in containers). */
@media (min-width: 768px) and (max-width: 1024px) {
  .single-post .elementor.elementor .elementor-widget__width-initial:has(> .elementor-widget-container > h1) { max-width: calc(100% - 60px); margin-left: auto; margin-right: auto; }
}

/* The template's per-post FAQ accordion was never finished (empty panels, "Item #2/#3" demo
   rows). rebrand-blog.mjs hides it; this covers the copy imported before that. */
.single-post .elementor-element-4e7039d.elementor-widget-n-accordion { display: none; }
