/*
 * JT 2026 Single Post Template
 * Source mockup: templates/2026 page templates/jacob_tyler_blog_post_template_v_1.html
 * Scoped under .jt-single-post-2026 to avoid collisions with the rest of the site.
 */

.jt-single-post-2026 {
  --jt-black: #080808;
  --jt-charcoal: #171717;
  --jt-ink: #242424;
  --jt-muted: #686868;
  --jt-line: #deded8;
  --jt-soft: #f4f4f0;
  --jt-soft-2: #ededE8;
  --jt-white: #ffffff;
  --jt-red: #d71920;
  --jt-max: 1440px;
  --jt-serif: Georgia, 'Times New Roman', serif;
  --jt-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.jt-single-post-2026,
.jt-single-post-2026 *,
.jt-single-post-2026 *::before,
.jt-single-post-2026 *::after { box-sizing: border-box; }

.jt-single-post-2026 {
  margin: 0;
  font-family: var(--jt-sans);
  color: var(--jt-ink);
  background: var(--jt-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.jt-single-post-2026 a { color: inherit; text-decoration: none; }
/* Scope responsive image rule to inside the article — applying it globally
   would beat Tailwind's `h-8`/`h-10` utility on the navbar logo (specificity
   battle: `.jt-single-post-2026 img` outranks `.h-10`), causing a 320x78
   intrinsic-size logo to dominate the navbar. */
.jt-single-post-2026 .article-body img,
.jt-single-post-2026 .related-card img,
.jt-single-post-2026 .article-comments img { display: block; max-width: 100%; height: auto; }

/* Explicit navbar logo sizing as a belt-and-suspenders in case Tailwind's
   `h-8`/`md:h-10` utilities aren't compiled into main.css for blog posts. */
.jt-single-post-2026 #jt-navbar .jt-navbar-logo { height: 32px; width: auto; }
@media (min-width: 768px) {
  .jt-single-post-2026 #jt-navbar .jt-navbar-logo { height: 40px; }
}

/* When navbar overlaps the dark hero (NOT scrolled past it), default to white
   logo + white nav text + white hamburger lines so they read against the dark
   bg. The homepage's JS adds `bg-white/95` once you scroll past 50px — at that
   point we revert to the dark variants (CSS escapes / as \/). */
.jt-single-post-2026 #jt-navbar:not(.bg-white\/95):not(.is-menu-open) .jt-navbar-logo--red {
  opacity: 0;
}
.jt-single-post-2026 #jt-navbar:not(.bg-white\/95):not(.is-menu-open) .jt-navbar-logo--white {
  opacity: 1;
}
.jt-single-post-2026 #jt-navbar:not(.bg-white\/95):not(.is-menu-open) #jt-talk-link,
.jt-single-post-2026 #jt-navbar:not(.bg-white\/95):not(.is-menu-open) .jt-navbar-tagline-text {
  color: #fff;
}
.jt-single-post-2026 #jt-navbar:not(.bg-white\/95):not(.is-menu-open) .menu-line {
  background-color: #fff;
}

/* Mobile menu overlay — items default to white (homepage cascades from a body
   that doesn't carry our --jt-ink color). Override the body-color inheritance. */
.jt-single-post-2026 #jt-mobile-menu,
.jt-single-post-2026 #jt-mobile-menu .jt-flyout-link,
.jt-single-post-2026 #jt-mobile-menu p,
.jt-single-post-2026 #jt-mobile-menu a:not(.jt-btn-primary):not(.jt-btn-outline-light) {
  color: #fff;
}
.jt-single-post-2026 #jt-mobile-menu .jt-flyout-link:hover,
.jt-single-post-2026 #jt-mobile-menu a:hover { color: var(--jt-red); }

/* The footer partial uses .reveal-on-scroll which starts at opacity 0 and
   animates in via IntersectionObserver in homepage.js. We DO enqueue
   homepage.js on blog posts, but this is a belt-and-suspenders fallback so the
   footer is never invisible if the JS fails to load (CDN issues, etc). */
.jt-single-post-2026 .reveal-on-scroll {
  opacity: 1;
  transform: none;
}

/* Global hover language — never browser-default blue.
   Light backgrounds: text → JT red.
   Dark backgrounds (post-nav, hero buttons on black): white text, red background tint.
   Specific overrides further down handle per-component hovers. */
.jt-single-post-2026 a:hover,
.jt-single-post-2026 a:focus,
.jt-single-post-2026 a:active {
  color: var(--jt-red);
}

.jt-single-post-2026 .site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(215, 25, 32, 0.10), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--jt-soft) 48%, #ffffff 100%);
}

/* Header */
.jt-single-post-2026 .jt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.92);
  color: var(--jt-white);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.jt-single-post-2026 .jt-header__inner {
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  min-height: 82px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
}

.jt-single-post-2026 .jt-brand {
  display: grid;
  gap: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jt-single-post-2026 .jt-brand__mark {
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.jt-single-post-2026 .jt-brand__tagline {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.22em;
}

.jt-single-post-2026 .jt-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jt-single-post-2026 .jt-nav a {
  color: rgba(255,255,255,0.72);
  transition: color 180ms ease;
}

.jt-single-post-2026 .jt-nav a:hover,
.jt-single-post-2026 .jt-nav a[aria-current="page"] { color: var(--jt-white); }

.jt-single-post-2026 .jt-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.jt-single-post-2026 .jt-header__cta:hover {
  background: var(--jt-white);
  color: var(--jt-black);
}

/* Hero */
.jt-single-post-2026 .article-hero {
  position: relative;
  overflow: hidden;
  background: var(--jt-black);
  color: var(--jt-white);
}

.jt-single-post-2026 .article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.78) 45%, rgba(8,8,8,0.34) 100%),
    radial-gradient(circle at 18% 18%, rgba(215,25,32,0.28), transparent 34rem);
  z-index: 1;
}

.jt-single-post-2026 .article-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  min-height: clamp(420px, 56vh, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  /* Top padding clears the fixed jt-navbar (~96px tall when not scrolled).
     Without this, the breadcrumb collides with the navbar logo. */
  padding: 140px 0 56px;
}

.jt-single-post-2026 .article-hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  opacity: 0.58;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.85) contrast(1.06);
}

.jt-single-post-2026 .article-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.2), rgba(0,0,0,0.72));
}

.jt-single-post-2026 .breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.55);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jt-single-post-2026 .breadcrumb a,
.jt-single-post-2026 .breadcrumb span {
  flex: 0 0 auto;
}

.jt-single-post-2026 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.76);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jt-single-post-2026 .eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--jt-red);
}

.jt-single-post-2026 .article-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
  text-wrap: balance;
  font-weight: 800;
}

.jt-single-post-2026 .article-hero__dek {
  max-width: 740px;
  margin: 32px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  line-height: 1.6;
  /* Clamp to 4 lines so a long excerpt doesn't push the left column far below
     the meta card's natural height. The full excerpt is still rendered in the
     intro strip below the hero. */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jt-single-post-2026 .article-meta-card {
  align-self: stretch;
  display: grid;
  /* Image row stretches to absorb extra height, bottom group hugs bottom.
     Eliminates the dead space above the meta tiles when the left hero column
     runs long. */
  grid-template-rows: minmax(140px, 1fr) auto;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
  box-shadow: 0 32px 90px rgba(0,0,0,0.32);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  min-height: 460px;
}

.jt-single-post-2026 .article-meta-card__image {
  width: 100%;
  height: 100%;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 16px 36px rgba(0,0,0,0.35);
}

.jt-single-post-2026 .article-meta-card__bottom {
  display: grid;
  gap: 22px;
}

.jt-single-post-2026 .article-meta-card__label {
  color: rgba(255,255,255,0.58);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jt-single-post-2026 .article-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jt-single-post-2026 .meta-tile {
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
}

.jt-single-post-2026 .meta-tile span {
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jt-single-post-2026 .meta-tile strong {
  display: block;
  margin-top: 6px;
  font-size: 0.98rem;
}

.jt-single-post-2026 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jt-single-post-2026 .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--jt-black);
  background: var(--jt-black);
  color: var(--jt-white);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.jt-single-post-2026 .button--light {
  background: var(--jt-white);
  border-color: var(--jt-white);
  color: var(--jt-black);
}

.jt-single-post-2026 .button--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: var(--jt-white);
}

/* Intro strip */
.jt-single-post-2026 .article-intro-strip {
  background: var(--jt-white);
  border-bottom: 1px solid var(--jt-line);
}

.jt-single-post-2026 .article-intro-strip__inner {
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.58fr 1fr 0.38fr;
  gap: 48px;
  padding: 54px 0;
  align-items: center;
}

.jt-single-post-2026 .section-kicker {
  color: var(--jt-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.jt-single-post-2026 .big-statement {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
  text-wrap: balance;
  font-weight: 800;
  color: var(--jt-black);
}

.jt-single-post-2026 .lede-statement {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: var(--jt-ink);
  font-weight: 500;
  text-wrap: balance;
}

.jt-single-post-2026 .article-intro-strip--lede .article-intro-strip__inner {
  /* When showing the lede fallback, tighten the band — no need for the dramatic
     three-column layout designed for a punchy thesis. */
  grid-template-columns: 0.4fr 1fr;
  gap: 32px;
  padding: 44px 0;
  align-items: center;
}

/* The intro-note span is empty in the lede variant — hide so it doesn't create
   a phantom 3rd grid item that wraps to a new row and pads the bottom. */
.jt-single-post-2026 .article-intro-strip--lede .intro-note {
  display: none;
}

.jt-single-post-2026 .intro-note {
  margin: 0;
  color: var(--jt-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* Content shell */
.jt-single-post-2026 .content-shell {
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 760px) 320px;
  gap: clamp(28px, 4vw, 60px);
  padding: 78px 0 96px;
  align-items: start;
}

.jt-single-post-2026 .toc,
.jt-single-post-2026 .author-card,
.jt-single-post-2026 .related-card {
  border: 1px solid var(--jt-line);
  background: rgba(255,255,255,0.78);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.05);
}

.jt-single-post-2026 .toc {
  position: sticky;
  /* Navbar is ~88px when not scrolled, ~72px when scrolled. We want the gap
     between the navbar bottom and the sidebar top to roughly match the rail's
     internal gap (18px) for visual consistency. 106px = 88 + 18 = matches at
     page top; 34px gap when scrolled which still reads cleanly. */
  top: 106px;
  padding: 24px;
}

.jt-single-post-2026 .toc[hidden] { display: none; }

.jt-single-post-2026 .toc h2,
.jt-single-post-2026 .rail h2 {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jt-single-post-2026 .toc a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--jt-line);
  color: var(--jt-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.jt-single-post-2026 .toc a:first-of-type { border-top: none; }
.jt-single-post-2026 .toc a:hover,
.jt-single-post-2026 .toc a[aria-current="true"] { color: var(--jt-black); }

/* Article body */
.jt-single-post-2026 .article-body {
  min-width: 0;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.82;
  color: #303030;
}

.jt-single-post-2026 .article-body > *:first-child { margin-top: 0; }
.jt-single-post-2026 .article-body p { margin: 0 0 1.55em; }

.jt-single-post-2026 .article-body h2 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--jt-black);
  scroll-margin-top: 110px;
  font-weight: 800;
}

.jt-single-post-2026 .article-body h3 {
  margin: 1.5em 0 0.55em;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--jt-black);
  font-weight: 700;
}

.jt-single-post-2026 .article-body ul,
.jt-single-post-2026 .article-body ol {
  padding-left: 1.25em;
  margin: 0 0 1.7em;
}

.jt-single-post-2026 .article-body li { margin-bottom: 0.7em; }

/* Inline links inside the post body must match surrounding text size, not
   inherit Elementor's heading-link styles. Without this they render at 52px+. */
.jt-single-post-2026 .article-body a,
.jt-single-post-2026 .article-body p a,
.jt-single-post-2026 .article-body li a,
.jt-single-post-2026 .article-body b a,
.jt-single-post-2026 .article-body strong a,
.jt-single-post-2026 .article-body em a {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--jt-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.jt-single-post-2026 .article-body a:hover {
  color: var(--jt-black);
}

/* Reset Elementor div wrappers inside the post body so they don't impose
   their own flex/grid layouts that distort text flow. */
.jt-single-post-2026 .article-body > div,
.jt-single-post-2026 .article-body > div > div {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.jt-single-post-2026 .article-body blockquote {
  margin: 36px 0;
  padding: 24px 0 24px 28px;
  border-left: 4px solid var(--jt-red);
  color: var(--jt-black);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.jt-single-post-2026 .article-body img {
  margin: 1.8em 0;
  border-radius: 18px;
}

.jt-single-post-2026 .article-callout {
  margin: 48px 0;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  background: var(--jt-black);
  color: var(--jt-white);
  overflow: hidden;
  position: relative;
}

.jt-single-post-2026 .article-callout::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(215,25,32,0.36);
  filter: blur(8px);
}

.jt-single-post-2026 .article-callout h3 {
  margin-top: 0;
  color: var(--jt-white);
}

.jt-single-post-2026 .article-callout p { color: rgba(255,255,255,0.76); }

/* Sidebar rail */
.jt-single-post-2026 .rail {
  position: sticky;
  /* Navbar is ~88px when not scrolled, ~72px when scrolled. We want the gap
     between the navbar bottom and the sidebar top to roughly match the rail's
     internal gap (18px) for visual consistency. 106px = 88 + 18 = matches at
     page top; 34px gap when scrolled which still reads cleanly. */
  top: 106px;
  display: grid;
  gap: 18px;
}

.jt-single-post-2026 .author-card,
.jt-single-post-2026 .related-card { padding: 24px; }

.jt-single-post-2026 .author-card__top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.jt-single-post-2026 .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111, #555);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.jt-single-post-2026 .author-card strong { display: block; font-size: 0.95rem; }
.jt-single-post-2026 .author-card span,
.jt-single-post-2026 .related-card p {
  color: var(--jt-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.jt-single-post-2026 .related-card article {
  padding: 15px 0;
  border-top: 1px solid var(--jt-line);
}

.jt-single-post-2026 .related-card article:first-of-type { border-top: none; }

.jt-single-post-2026 .related-card article a {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--jt-black);
  margin-bottom: 4px;
  text-transform: none;
}

.jt-single-post-2026 .related-card article a:hover { color: var(--jt-red); }

.jt-single-post-2026 .related-card article p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--jt-muted);
  margin: 0;
}

/* Comments section */
.jt-single-post-2026 .article-comments {
  background: var(--jt-white);
  border-top: 1px solid var(--jt-line);
}

.jt-single-post-2026 .article-comments__inner {
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  padding: 72px 0;
}

.jt-single-post-2026 .article-comments__inner > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.jt-single-post-2026 .comment-reply-title,
.jt-single-post-2026 .article-comments h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 800;
  color: var(--jt-black);
}

.jt-single-post-2026 .comment-notes {
  margin: 0 auto 28px;
  font-size: 0.875rem;
  color: var(--jt-muted);
  font-weight: 400;
}

.jt-single-post-2026 .comment-notes .required {
  color: var(--jt-red);
}

.jt-single-post-2026 .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
}

.jt-single-post-2026 .comment-list li {
  padding: 20px 0;
  border-top: 1px solid var(--jt-line);
}

.jt-single-post-2026 .comment-form p {
  margin: 0 0 16px;
}

.jt-single-post-2026 .comment-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--jt-ink);
  text-transform: none;
}

.jt-single-post-2026 .comment-form input[type="text"],
.jt-single-post-2026 .comment-form input[type="email"],
.jt-single-post-2026 .comment-form input[type="url"],
.jt-single-post-2026 .comment-form textarea {
  width: 100%;
  border: 1px solid var(--jt-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--jt-sans);
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
  color: var(--jt-ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.jt-single-post-2026 .comment-form input:focus,
.jt-single-post-2026 .comment-form textarea:focus {
  outline: none;
  border-color: var(--jt-red);
  box-shadow: 0 0 0 3px rgba(215,25,32,0.12);
}

.jt-single-post-2026 .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.jt-single-post-2026 .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--jt-muted);
}

.jt-single-post-2026 .comment-form-cookies-consent label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--jt-muted);
  text-transform: none;
  letter-spacing: 0;
}

.jt-single-post-2026 .form-submit {
  margin-top: 8px;
}

.jt-single-post-2026 .form-submit input[type="submit"],
.jt-single-post-2026 .comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--jt-black);
  background: var(--jt-black);
  color: var(--jt-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  font-family: var(--jt-sans);
}

.jt-single-post-2026 .form-submit input[type="submit"]:hover,
.jt-single-post-2026 .comment-form input[type="submit"]:hover {
  background: var(--jt-red);
  border-color: var(--jt-red);
  color: var(--jt-white);
}

.jt-single-post-2026 .article-comments .logged-in-as {
  font-size: 0.875rem;
  color: var(--jt-muted);
  margin: 0 auto 20px;
}

/* Footer CTA */
.jt-single-post-2026 .article-footer-cta {
  background: var(--jt-black);
  color: var(--jt-white);
  overflow: hidden;
}

.jt-single-post-2026 .article-footer-cta__inner {
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 48px;
  align-items: end;
  padding: clamp(74px, 10vw, 132px) 0;
}

.jt-single-post-2026 .article-footer-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: none;
  text-wrap: balance;
  font-weight: 800;
}

.jt-single-post-2026 .article-footer-cta p {
  max-width: 560px;
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Post nav */
.jt-single-post-2026 .post-nav {
  border-top: 1px solid rgba(255,255,255,0.14);
  background: var(--jt-black);
  color: var(--jt-white);
}

.jt-single-post-2026 .post-nav__inner {
  width: min(calc(100% - 40px), var(--jt-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.14);
}

.jt-single-post-2026 .post-nav a {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--jt-black);
  color: var(--jt-white);
  min-height: 120px;
  align-content: center;
  transition: background 200ms ease, color 200ms ease;
}

/* On post-nav hover: keep text white, swap background to JT red. Override the
   global "a:hover -> red text" rule so we don't get red-on-red. */
.jt-single-post-2026 .post-nav a:hover,
.jt-single-post-2026 .post-nav a:focus,
.jt-single-post-2026 .post-nav a:active {
  background: var(--jt-red);
  color: var(--jt-white);
}

.jt-single-post-2026 .post-nav a:hover small,
.jt-single-post-2026 .post-nav a:hover strong { color: var(--jt-white); }

.jt-single-post-2026 .post-nav a:only-child { grid-column: 1 / -1; }

.jt-single-post-2026 .post-nav small {
  color: rgba(255,255,255,0.54);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jt-single-post-2026 .post-nav strong {
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1180px) {
  .jt-single-post-2026 .jt-header__inner { grid-template-columns: 1fr auto; }
  .jt-single-post-2026 .jt-nav { display: none; }
  .jt-single-post-2026 .article-hero__inner { grid-template-columns: 1fr; }
  .jt-single-post-2026 .article-meta-card { max-width: 620px; }
  .jt-single-post-2026 .article-intro-strip__inner { grid-template-columns: 1fr; gap: 24px; }
  .jt-single-post-2026 .content-shell { grid-template-columns: minmax(0, 1fr) 310px; }
  .jt-single-post-2026 .toc { display: none; }
}

@media (max-width: 860px) {
  .jt-single-post-2026 .jt-header__inner {
    width: min(calc(100% - 28px), var(--jt-max));
    min-height: 72px;
    gap: 14px;
  }
  .jt-single-post-2026 .jt-brand__tagline { display: none; }
  .jt-single-post-2026 .jt-header__cta { padding: 11px 13px; font-size: 0.66rem; }
  .jt-single-post-2026 .article-hero__inner {
    width: min(calc(100% - 28px), var(--jt-max));
    min-height: auto;
    padding: 74px 0 44px;
  }
  .jt-single-post-2026 .article-hero__media { width: 100%; opacity: 0.32; }
  .jt-single-post-2026 .article-hero h1 { font-size: clamp(3.15rem, 17vw, 5.6rem); }
  .jt-single-post-2026 .article-meta-grid { grid-template-columns: 1fr; }
  .jt-single-post-2026 .article-intro-strip__inner,
  .jt-single-post-2026 .content-shell,
  .jt-single-post-2026 .article-footer-cta__inner,
  .jt-single-post-2026 .post-nav__inner,
  .jt-single-post-2026 .article-comments__inner {
    width: min(calc(100% - 28px), var(--jt-max));
    grid-template-columns: 1fr;
  }
  .jt-single-post-2026 .content-shell { padding-top: 48px; }
  .jt-single-post-2026 .rail { position: static; }
  .jt-single-post-2026 .article-body h2 { font-size: clamp(2.2rem, 12vw, 3.8rem); }
  .jt-single-post-2026 .post-nav a { min-height: 140px; }
}
