/*
Theme Name:  Texas Business Courts
Description: Standalone theme for texasbusinesscourts.com — no page builder required.
Version:     3.3.1
Author:      Jackson Walker LLP
Author URI:  https://www.jw.com
Text Domain: tbc
*/

/* ================================================================
   TOKENS — JW Brand Guidelines (Spring 2024)
   ----------------------------------------------------------------
   Navy     #051d2e  PMS 296      — structural chrome
   JW Blue  #007ec3  PMS 7461     — primary interactive color
   Teal     #269a91  PMS 7473     — stat boxes, featured accents
   Goldenrod #f1c400 PMS 7406     — decorative accent only
   Dark Gray #3d3936 PMS Black 7  — body text
   Med Gray #757982  Cool Gray 9  — muted text
   ================================================================ */
:root {
  --navy:          #051d2e;
  --navy-mid:      #0d3150;
  --navy-light:    #174270;

  --blue:          #007ec3;
  --blue-dark:     #005f96;
  --blue-pale:     #e6f4fb;

  --teal:          #269a91;
  --teal-dark:     #1c7870;
  --teal-pale:     #e0f2f0;

  --gold:          #f1c400;
  --gold-text:     #c49a00;
  --gold-pale:     #fdf7d6;
  --gold-border:   rgba(241,196,0,.32);

  --gray-section:  #f0eeea;
  --gray-mid:      #e2ddd5;
  --white:         #ffffff;

  --text:          #3d3936;
  --text-mid:      #555250;
  --text-muted:    #757982;
  --text-faint:    #a0a3a8;

  --link:          #007ec3;
  --link-hover:    #005f96;

  --border:        #e0dbd2;
  --border-mid:    #ccc4b0;

  --serif: "ff-scala", Georgia, serif;
  --sans:  "ff-meta-web-pro", 'Helvetica Neue', Arial, sans-serif;

  --w-max:     1160px;
  --w-content: 720px;
  --w-sidebar: 272px;
  --gap:       36px;
  --radius:    2px;
  --shadow:    0 1px 4px rgba(5,29,46,.07);
  --shadow-lg: 0 4px 16px rgba(5,29,46,.11);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; text-size-adjust: 100%; }
body  {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a   { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h3 { font-size: 1.1rem; }
h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700;
     text-transform: uppercase; letter-spacing: .1em; }
p  { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  border-left: 4px solid var(--blue);
  background: var(--blue-pale);
  padding: .8em 1.25em;
  margin: 1.5em 0;
  color: var(--navy);
}
blockquote p { margin: 0; }
strong, b { font-weight: 700; }

/* ================================================================
   UTILITIES
   ================================================================ */
.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 32px; }

.label {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label--blue  { color: var(--blue); }
.label--gold  { color: var(--gold-text); }
.label--light { color: rgba(255,255,255,.55); }

/* Category label — replaces pill on article rows */
.cat-label {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 3px;
}

/* Pill — kept for featured card only */
.pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  color: var(--blue-dark);
  border: 1px solid rgba(0,126,195,.2);
  white-space: nowrap;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ================================================================
   HEADER
   ================================================================ */
#site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}
.site-brand { text-decoration: none; display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.site-brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
}
.brand-sub {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1;
}

#primary-nav { display: flex; align-items: center; }
#primary-nav a {
  display: block;
  height: 60px;
  line-height: 60px;
  padding: 0 15px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
#primary-nav a:hover { color: var(--white); text-decoration: none; }
#primary-nav a.current {
  color: var(--white);
  background: rgba(0,126,195,.18);
  border-bottom-color: var(--blue);
}

#nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  color: var(--white);
  padding: 6px 10px;
  font-size: 1.2rem;
  line-height: 1;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--navy);
  padding: 52px 0 46px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 10px; }
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-deck {
  font-size: .9375rem;
  color: rgba(200,215,235,.8);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 24px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-pill {
  display: inline-block;
  padding: 5px 13px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(210,225,245,.85);
  border: 1px solid rgba(0,126,195,.35);
  background: rgba(0,126,195,.1);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.hero-pill:hover {
  background: rgba(0,126,195,.25);
  border-color: var(--blue);
  color: var(--white);
  text-decoration: none;
}

/* Hero stat card */
.hero-stats {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,126,195,.25);
  padding: 22px 20px;
}
.hero-stat { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.hero-stat:first-child { padding-top: 0; }
.hero-stat:last-child  { border-bottom: none; padding-bottom: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--blue);      /* JW Blue for stats on navy — high contrast */
  line-height: 1;
  margin-bottom: 3px;
}
.stat-label { font-size: .7rem; color: rgba(200,215,235,.6); letter-spacing: .03em; }

/* ================================================================
   STATS BAND  (gray section below article list)
   Mirrors JW homepage teal stat boxes in gray band
   ================================================================ */
.stats-band {
  background: var(--gray-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.stats-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.stats-band-intro { }
.stats-band-intro h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.stats-band-intro p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.stats-band-intro a {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.stats-band-intro a:hover { color: var(--blue-dark); text-decoration: none; }

/* Teal stat box — matches JW homepage style */
.stat-box {
  background: var(--teal);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100px;
  position: relative;
}
.stat-box-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box-label {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ================================================================
   SUBSCRIBE BAR
   ================================================================ */
.subscribe-bar {
  background: var(--blue);
  padding: 18px 0;
}
.subscribe-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.subscribe-bar p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  margin: 0;
}
.subscribe-bar a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .15s;
}
.subscribe-bar a:hover { background: var(--blue-pale); text-decoration: none; color: var(--blue-dark); }

/* ================================================================
   TWO-COLUMN LAYOUT
   ================================================================ */
.site-body { padding: 0; background: var(--white); }
.two-col {
  display: grid;
  grid-template-columns: 1fr var(--w-sidebar);
  gap: 0;
  align-items: start;
}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.section-hd h2 {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.section-hd a {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.section-hd a:hover { color: var(--blue-dark); }

/* ================================================================
   FEATURED ARTICLE CARD
   ================================================================ */
.card-featured {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  transition: background .15s;
}
.card-featured:hover { background: #fafafa; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.card-meta .label { color: var(--text-faint); }

.card-featured .card-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.card-featured .card-title a { color: var(--navy); text-decoration: none; }
.card-featured .card-title a:hover { color: var(--blue); }

/* Takeaway box */
.takeaway {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  margin: 10px 0 14px;
}
.takeaway-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: block;
  margin-bottom: 4px;
}
.takeaway p {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

/* Byline */
.byline-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}
.byline-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: .62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
  overflow: hidden;
}
.byline-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.byline-name { font-size: .8rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.byline-name a { color: var(--blue); }
.byline-meta { font-size: .7rem; color: var(--text-muted); }

/* ================================================================
   ARTICLE ROWS
   Clean rows — no alternating backgrounds, just hairlines
   ================================================================ */
.card-row {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  padding: 16px 28px;
  align-items: start;
  transition: background .12s;
}
.card-row:hover { background: #f8f8f8; }

.card-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #d5d0c8;
  line-height: 1;
  padding-top: 3px;
  user-select: none;
}
.card-body { min-width: 0; }
.card-title {
  font-family: var(--serif);
  font-size: .975rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 5px;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--blue); }
.card-byline { font-size: .72rem; color: var(--text-muted); }
.card-byline a { color: var(--blue); text-decoration: none; }
.card-byline a:hover { color: var(--blue-dark); text-decoration: underline; }
.card-date { font-size: .68rem; color: var(--text-faint); white-space: nowrap; padding-top: 4px; }

/* ================================================================
   SIDEBAR
   Alternates white / gray section backgrounds like JW
   ================================================================ */
.sidebar {
  position: sticky;
  top: 63px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.sb-block {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.sb-block:nth-child(odd)  { background: var(--white); }
.sb-block:nth-child(even) { background: var(--gray-section); }
.sb-block--dark { background: var(--navy) !important; border-color: var(--navy); }

.sb-title {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}
.sb-block--dark .sb-title { color: var(--white); border-bottom-color: rgba(255,255,255,.1); }

.sb-attorney { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.sb-attorney:last-of-type { border-bottom: none; }
.sb-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-size: .6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase; flex-shrink: 0; overflow: hidden;
}
.sb-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sb-att-name { font-size: .78rem; font-weight: 700; color: var(--blue); display: block; line-height: 1.25; text-decoration: none; }
.sb-att-name:hover { color: var(--blue-dark); text-decoration: underline; }
.sb-att-meta { font-size: .68rem; color: var(--text-muted); }
.sb-att-count { font-size: .63rem; color: var(--teal); font-weight: 700; }

.sb-faq { }
.sb-faq li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.sb-faq li:last-child { border-bottom: none; }
.sb-faq a {
  font-size: .78rem; color: var(--blue); line-height: 1.4;
  display: flex; gap: 5px; align-items: flex-start;
  text-decoration: none;
}
.sb-faq a::before { content: '›'; color: var(--gold); font-size: 1rem; line-height: 1.1; flex-shrink: 0; }
.sb-faq a:hover { color: var(--blue-dark); text-decoration: underline; }

.sb-more {
  display: block;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  margin-top: 10px; padding-top: 9px;
  border-top: 1px solid var(--border);
  text-decoration: none;
}
.sb-more:hover { color: var(--blue-dark); text-decoration: none; }
.sb-block--dark .sb-more { color: rgba(241,196,0,.85); border-top-color: rgba(255,255,255,.1); }

/* ================================================================
   ARCHIVE PAGE
   ================================================================ */
.archive-hd {
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  padding: 40px 0 36px;
}
.archive-hd h1 { color: var(--white); margin-top: 8px; font-weight: 400; }

.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  position: sticky;
  top: 63px;
  z-index: 100;
}
.filter-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  padding: 5px 14px;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  text-decoration: none;
}

.pagination { margin-top: 0; padding: 20px 28px; display: flex; gap: 6px; flex-wrap: wrap; background: var(--white); border-top: 1px solid var(--border); }
.pagination a, .pagination span {
  display: inline-block;
  padding: 5px 12px;
  font-size: .72rem; font-weight: 700;
  border: 1px solid var(--border-mid);
  color: var(--text-mid);
  text-decoration: none;
  transition: all .15s;
}
.pagination a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ================================================================
   SINGLE ARTICLE PAGE
   ================================================================ */
.article-hd {
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  padding: 48px 0 44px;
}
.article-hd-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.article-hd h1 { color: var(--white); max-width: 760px; font-weight: 400; margin-bottom: 24px; line-height: 1.18; }

.article-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,126,195,.2);
  border: 2px solid rgba(0,126,195,.4);
  color: var(--blue);
  font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase; flex-shrink: 0; overflow: hidden;
}
.article-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.article-author-name { font-size: .9rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.article-author-name a { color: rgba(241,196,0,.9); text-decoration: none; }
.article-author-name a:hover { color: var(--gold); text-decoration: underline; }
.article-author-role { font-size: .72rem; color: rgba(200,215,235,.6); }

.article-body { padding: 40px 0 64px; background: var(--white); }
.article-cols {
  display: grid;
  grid-template-columns: var(--w-content) 1fr;
  gap: var(--gap);
  align-items: start;
}

.prose { font-size: 1rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 1.25rem; font-weight: 400; margin: 1.9em 0 .55em; padding-bottom: .3em; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.05rem; font-weight: 400; margin: 1.5em 0 .4em; }
.prose p  { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a  { color: var(--blue); text-decoration: underline; }
.prose a:hover { color: var(--blue-dark); }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
.prose blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  border-left: 4px solid var(--blue); background: var(--blue-pale);
  padding: .8em 1.25em; margin: 1.5em 0; color: var(--navy);
}
.prose blockquote p { margin: 0; }

.article-takeaway {
  background: var(--gold-pale);
  border: 1px solid rgba(241,196,0,.35);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin-bottom: 2em;
}
.article-takeaway .takeaway-label { margin-bottom: 6px; }
.article-takeaway ul { padding-left: 0; margin: 0; }
.article-takeaway li {
  font-size: .875rem; color: var(--text-mid);
  padding-left: 14px; position: relative;
  line-height: 1.5; margin-bottom: 3px;
}
.article-takeaway li::before { content: '›'; position: absolute; left: 0; color: var(--gold-text); font-weight: 700; }

.disclaimer {
  background: var(--gray-section);
  border: 1px solid var(--border);
  padding: 12px 16px;
  margin-top: 2.5em;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-style: italic;
}

.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.author-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  padding: 18px;
  margin-bottom: 16px;
}
.author-card-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.author-card-photo {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase; flex-shrink: 0; overflow: hidden;
}
.author-card-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-card-lbl { font-size: .58rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 2px; }
.author-card-name { font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--navy); margin-bottom: 1px; }
.author-card-name a { color: var(--blue); text-decoration: none; }
.author-card-name a:hover { text-decoration: underline; }
.author-card-role { font-size: .72rem; color: var(--text-muted); }
.author-card-bio { font-size: .8rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 10px; }
.author-card-link {
  display: block; font-size: .65rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.author-card-link:hover { color: var(--blue-dark); }

.related-list li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.related-list li:last-child { border-bottom: none; }
.related-date { font-size: .63rem; color: var(--text-faint); display: block; margin-bottom: 1px; }
.related-list a { font-size: .78rem; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.35; display: block; }
.related-list a:hover { color: var(--blue); }

/* ================================================================
   TEAM PAGE
   ================================================================ */
.team-hd { background: var(--navy); border-bottom: 3px solid var(--gold); padding: 40px 0 36px; }
.team-hd h1 { color: var(--white); margin-top: 8px; font-weight: 400; }
.team-hd p  { color: rgba(200,215,235,.72); font-size: .9375rem; max-width: 520px; line-height: 1.6; margin-top: 8px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  padding: 40px 0 72px;
}
.att-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.att-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.att-photo-wrap { position: relative; aspect-ratio: 3/4; background: var(--navy-mid); overflow: hidden; }
.att-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.att-card:hover .att-photo-wrap img { transform: scale(1.03); }
.att-photo-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 3rem; font-weight: 400; color: rgba(0,126,195,.35); }
.att-count-badge { position: absolute; bottom: 10px; right: 10px; background: var(--teal); color: var(--white); font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; }
.att-body { padding: 14px 16px 16px; }
.att-name { font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--navy); margin-bottom: 2px; }
.att-name a { color: inherit; text-decoration: none; }
.att-name a:hover { color: var(--blue); }
.att-practice { font-size: .72rem; color: var(--text-muted); margin-bottom: 10px; }
.att-recent { border-top: 1px solid var(--border); padding-top: 9px; }
.att-recent li { padding: 3px 0; border-bottom: 1px solid var(--border); }
.att-recent li:last-child { border-bottom: none; }
.att-recent a { font-size: .72rem; color: var(--text-mid); text-decoration: none; line-height: 1.3; display: block; }
.att-recent a:hover { color: var(--blue); }
.att-jw-link { display: inline-block; margin-top: 9px; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.att-jw-link:hover { color: var(--blue-dark); }

/* ================================================================
   FAQ PAGE
   ================================================================ */
.faq-hd { background: var(--navy); border-bottom: 3px solid var(--gold); padding: 40px 0 36px; }
.faq-hd h1 { color: var(--white); margin-top: 8px; font-weight: 400; }
.faq-body { background: var(--white); padding: 40px 0 72px; }
.faq-intro { font-size: 1rem; color: var(--text-mid); max-width: 600px; margin-bottom: 28px; }
.accordion { border: 1px solid var(--border); background: var(--white); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: none; }
.acc-trigger {
  width: 100%; text-align: left;
  padding: 15px 20px;
  font-family: var(--serif); font-size: .975rem; font-weight: 400;
  color: var(--navy); background: none; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; transition: background .15s;
}
.acc-trigger:hover { background: var(--gray-section); }
.acc-trigger[aria-expanded="true"] { background: var(--blue-pale); color: var(--blue-dark); }
.acc-icon {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(0,126,195,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--blue);
  transition: transform .2s;
}
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--blue); color: var(--white); border-color: var(--blue); }
.acc-body {
  display: none;
  padding: 0 20px 16px;
  font-size: .9rem; color: var(--text-mid);
  line-height: 1.7; border-top: 1px solid var(--border);
  background: var(--white);
}
.acc-body.open { display: block; }

/* ================================================================
   FOOTER
   ================================================================ */
#site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 26px 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: .68rem; color: rgba(200,215,235,.45); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-size: .66rem; color: rgba(200,215,235,.5);
  padding: 0 8px; border-right: 1px solid rgba(255,255,255,.1);
  text-decoration: none; line-height: 1;
}
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-jw { display: flex; align-items: center; gap: 7px; font-size: .68rem; color: rgba(200,215,235,.5); }
.footer-jw a { font-family: var(--serif); font-size: .95rem; font-weight: 400; color: var(--gold); text-decoration: none; }
.footer-jw a:hover { color: var(--gold-text); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats  { display: none; }
  .two-col     { grid-template-columns: 1fr; }
  .sidebar     { position: static; border-left: none; border-top: 1px solid var(--border); }
  .article-cols { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --gap: 20px; }
  .wrap { padding: 0 18px; }
  #primary-nav { display: none; }
  #nav-toggle  { display: block; }
  #primary-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 63px; left: 0; right: 0;
    background: var(--navy); border-top: 1px solid rgba(241,196,0,.2);
    z-index: 199; padding: 6px 0;
  }
  #primary-nav.open a { height: auto; line-height: 1; padding: 12px 20px; border-bottom: none; margin-bottom: 0; background: none; }
  .section-hd, .card-featured, .card-row, .pagination { padding-left: 18px; padding-right: 18px; }
  .stats-band-inner { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .subscribe-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  #site-header, .sidebar, .article-sidebar, #site-footer, .filter-bar,
  .stats-band, .subscribe-bar { display: none !important; }
  .article-cols, .two-col { display: block; }
  .prose { font-size: .9rem; }
}

/* ================================================================
   HERO BACKGROUND IMAGE OVERLAY
   ================================================================ */
.hero { position: relative; }
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,29,46,.85);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

/* ================================================================
   FONT SIZE INCREASES — eyebrows, labels, nav (~25% larger)
   ================================================================ */

/* Nav brand */
.brand-name  { font-size: 1.25rem; }
.brand-sub   { font-size: .7rem; letter-spacing: .12em; }

/* Nav links */
#primary-nav a { font-size: .78rem; }

/* All-caps labels / eyebrows — was .6rem, now .75rem (~25% up) */
.label       { font-size: .75rem; }
.cat-label   { font-size: .72rem; }
.takeaway-label { font-size: .7rem; }
.section-hd h2  { font-size: .75rem; }
.section-hd a   { font-size: .75rem; }
.card-num    { font-size: 1.6rem; }
.card-date   { font-size: .78rem; }
.card-byline { font-size: .8rem; }
.sb-att-count { font-size: .72rem; }
.sb-att-meta  { font-size: .75rem; }
.sb-more      { font-size: .72rem; }
.stat-label   { font-size: .8rem; }
.stat-box-label { font-size: .75rem; }
.hero-eyebrow .label { font-size: .75rem; }
.hero-pill    { font-size: .72rem; }
.filter-btn   { font-size: .75rem; }

/* Article row card title slightly larger */
.card-title   { font-size: 1.05rem; }

/* ================================================================
   FOOTER LOGO
   ================================================================ */
.footer-presented-by { font-size: .72rem; color: rgba(200,215,235,.5); }
.footer-logo-link    { display: flex; align-items: center; }
.footer-logo         { height: 28px; width: auto; opacity: .85; transition: opacity .15s; }
.footer-logo:hover   { opacity: 1; }
.footer-jw-text {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  opacity: .85;
}
.footer-jw-text:hover { opacity: 1; text-decoration: none; color: var(--white); }

/* ================================================================
   NAV / BRAND FIXES
   gold "presented by" → white; active nav → blue bg
   ================================================================ */
.brand-sub { color: rgba(255,255,255,.55) !important; }

/* Page header dividers — blue not gold */
.team-hd { border-bottom-color: var(--blue) !important; }
.faq-hd  { border-bottom-color: var(--blue) !important; }
#site-footer { border-top-color: var(--blue) !important; }

/* ================================================================
   ARTICLE HEADER IMAGE
   ================================================================ */
.article-hd { position: relative; overflow: hidden; }
.article-hd-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.article-hd-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,29,46,.88);
  z-index: 1;
}
.article-hd .wrap { position: relative; z-index: 2; }

/* ================================================================
   ARCHIVE PAGE — ensure posts show up
   The /opinions-insights/ page must be set as the Posts page
   in Settings → Reading, OR we use a custom page template.
   ================================================================ */
.archive-empty {
  padding: 48px 28px;
  color: var(--text-muted);
  font-size: .9rem;
  background: var(--white);
}

/* ================================================================
   WORDPRESS CONTENT IMAGE ALIGNMENT
   Handles alignleft, alignright, aligncenter classes added by
   the WordPress editor and classic content imports.
   ================================================================ */
.prose img,
.prose .alignleft,
.prose .alignright,
.prose .aligncenter,
.prose .alignnone { max-width: 100%; height: auto; }

.prose .alignleft {
  float: left;
  margin: 0.25em 1.5em 1em 0;
}

.prose .alignright {
  float: right;
  margin: 0.25em 0 1em 1.5em;
}

.prose .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Clear floats after prose content */
.prose::after {
  content: '';
  display: table;
  clear: both;
}

/* Figure captions */
.prose figcaption,
.prose .wp-caption-text {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

.prose .wp-caption {
  max-width: 100%;
}

.prose .wp-caption.alignleft {
  float: left;
  margin: 0.25em 1.5em 1em 0;
}

.prose .wp-caption.alignright {
  float: right;
  margin: 0.25em 0 1em 1.5em;
}

/* Responsive — stack images on small screens */
@media (max-width: 600px) {
  .prose .alignleft,
  .prose .alignright,
  .prose .wp-caption.alignleft,
  .prose .wp-caption.alignright {
    float: none;
    display: block;
    margin: 1em auto;
  }
}

/* ================================================================
   MISC TWEAKS
   ================================================================ */

/* Remove border-bottom from h2 inside prose */
.prose h2 {
  border-bottom: none;
  padding-bottom: 0;
}

/* Article header overlay — 75% opacity */
.article-hd-bg-overlay {
  background: rgba(5,29,46,.75) !important;
}

/* ================================================================
   ARTICLE ROW THUMBNAILS
   ================================================================ */

/* Standard row — adds thumbnail column */
.card-row {
  grid-template-columns: 28px 56px 1fr auto;
}

.card-row-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  background: var(--gray-section);
}

/* No thumbnail — collapse the column gracefully */
.card-row.no-thumb {
  grid-template-columns: 28px 1fr auto;
}

/* Featured card thumbnail — wider banner above content */
.card-featured-thumb-wrap {
  margin: -24px -28px 16px -32px; /* bleed to card edges */
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.card-featured-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s;
}

.card-featured:hover .card-featured-thumb-wrap img {
  transform: scale(1.02);
}

/* Mobile — hide thumbnails on very small screens */
@media (max-width: 480px) {
  .card-row { grid-template-columns: 28px 1fr auto; }
  .card-row-thumb { display: none; }
  .card-featured-thumb-wrap { height: 140px; }
}

/* ================================================================
   HERO READABILITY — white text + subtle shadow for photo bg
   ================================================================ */

/* Overlay opacity — 75% so photo shows through */
.hero-bg-overlay {
  background: rgba(5,29,46,.75) !important;
}

/* All hero text to full/near-white */
.hero-eyebrow .label,
.label.label--gold.hero-eyebrow,
p.label.label--gold.hero-eyebrow {
  color: rgba(255,255,255,.75) !important;
  letter-spacing: .16em;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.hero-deck {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* Stat numbers — JW Blue works fine on pure navy but
   can disappear against a light photo patch.
   Switch to white with a blue tint via text-shadow. */
.stat-num {
  color: var(--white);
  text-shadow: 0 0 20px rgba(0,126,195,.6);
}

/* Stat labels — brighter */
.stat-label {
  color: rgba(255,255,255,.75);
}

/* Hero stat card border — slightly more visible */
.hero-stats {
  background: rgba(5,29,46,.55);
  border-color: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Hero pills — white border, brighter text */
.hero-pill {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.3);
  background: rgba(0,0,0,.2);
}
.hero-pill:hover {
  background: rgba(0,126,195,.35);
  border-color: var(--blue);
  color: var(--white);
}

/* ================================================================
   ARTICLE HEADER READABILITY — photo background contrast fixes
   ================================================================ */

/* Date and read time labels */
.article-hd-meta .label {
  color: rgba(255,255,255,.75) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* Article title */
.article-hd h1 {
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

/* Byline author name */
.article-author-name {
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.article-author-name a {
  color: rgba(255,255,255,.92) !important;
}
.article-author-name a:hover {
  color: var(--white) !important;
}

/* Role line — brighter */
.article-author-role {
  color: rgba(255,255,255,.65) !important;
}

/* Avatar ring — white border instead of blue for photo bg */
.article-av {
  background: rgba(5,29,46,.6);
  border-color: rgba(255,255,255,.35);
  color: var(--white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Pill on dark header — ensure readable */
.article-hd .pill {
  background: rgba(0,126,195,.3);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}

/* ================================================================
   STATS BAND — equal height teal boxes
   ================================================================ */
.stats-band-inner {
  align-items: stretch; /* override align-items: center */
}

.stat-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 120px;
  height: 100%; /* stretch to match tallest sibling */
}

/* ================================================================
   STAT NUMBER — Georgia override for numeral "1"
   Scala Pro's oldstyle "1" looks like a capital I.
   Add class="stat-num-georgia" to a span wrapping "1" in Theme Options.
   e.g. stat number field: <span class="stat-num-georgia">1</span>
   ================================================================ */
.stat-num-georgia,
.stat-box-num .stat-num-georgia,
.stat-num .stat-num-georgia {
  font-family: Georgia, serif !important;
}

/* Georgia for standalone "1" numerals in stat boxes */
.stat-box-num,
.stat-num {
  font-variant-numeric: lining-nums;
}

/* Author photo as link — hover effect */
a.author-card-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .15s;
}
a.author-card-photo:hover { opacity: .85; }

/* ================================================================
   V3 HERO REDESIGN
   Gradient hero with photo, floating stat card, value props
   ================================================================ */

/* Nav brand — star icon + text layout */
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-star {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.brand-star svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-size: 1.15rem; }

/* Hero — gradient background with photo composited in */
.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #051d2e 0%, #0d3150 40%, #1a4a6e 100%);
}
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 70%;
  background-size: cover;
  background-position: center;
  opacity: .3;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,29,46,.95) 0%, rgba(5,29,46,.75) 40%, rgba(5,29,46,.2) 100%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 52px 0 48px;
}

.hero-left { }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-rule {
  width: 40px;
  height: 3px;
  background: var(--blue);
  margin: 18px 0 20px;
}

.hero-deck {
  font-size: .9375rem;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 28px;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}

/* Hero value propositions */
.hero-props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 480px;
}
.hero-prop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hero-prop-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.75);
}
.hero-prop h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-prop p {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
  margin: 0;
}

/* Floating stat card */
.hero-stat-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  margin-top: 8px;
  overflow: hidden;
}
.stat-card-item {
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-card-item:last-of-type { border-bottom: none; }

.stat-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gray-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.stat-card-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-card-label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.stat-card-cta {
  display: block;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 4px 8px 8px;
  border-radius: 3px;
  transition: background .15s;
}
.stat-card-cta:hover {
  background: var(--blue-dark);
  text-decoration: none;
  color: var(--white);
}

/* Hero pills — keep them if configured, over the value props */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.2);
  text-decoration: none;
  transition: background .15s;
}
.hero-pill:hover {
  background: rgba(0,126,195,.35);
  border-color: var(--blue);
  color: var(--white);
  text-decoration: none;
}

/* Override old hero stats block — hidden in v3 */
.hero-stats { display: none; }

/* v3 responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stat-card { max-width: 340px; }
  .hero { min-height: auto; }
  .hero-photo { width: 100%; opacity: .15; }
  .hero-gradient { background: linear-gradient(to bottom, rgba(5,29,46,.9) 0%, rgba(5,29,46,.7) 100%); }
}
@media (max-width: 680px) {
  .hero-inner { padding: 36px 0 32px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-props { grid-template-columns: 1fr; }
  .hero-stat-card { max-width: 100%; }
  .brand-star { display: none; }
}

/* ================================================================
   V3.1 — HERO: TEXT ON PHOTO WITH LIGHT OVERLAY
   Matches Chris Bankler's mockup: full background image,
   white semi-transparent overlay, dark text on top.
   ================================================================ */

/* Hide old v3 dark hero */
.hero { display: none; }

/* ---- Star icon fix ---- */
.brand-star {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  line-height: 0;
}
.brand-star svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---- Hero container ---- */
.hero-v31 {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Background image — fills entire hero */
.hero-v31-image {
  position: absolute;
  inset: 0;
  background: #c8d0d8; /* fallback gray if no image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Light overlay — lets image show through but keeps text readable */
.hero-v31-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.78);
  z-index: 1;
}

/* Content sits on top of overlay */
.hero-v31-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0;
  margin-top: 0;
  background: transparent;
  border-top: none;
}

.hero-v31-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  padding: 52px 0 48px;
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.hero-v31-left { }

/* Eyebrow — deep red like Chris's mockup */
.hero-v31-eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #9b1b30;
  margin-bottom: 16px;
}

/* Headline — navy, last line in blue italic */
.hero-v31-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0;
}
.hero-v31-headline em {
  font-style: italic;
  color: #9b1b30;
}

/* Blue rule under headline */
.hero-v31-rule {
  width: 40px;
  height: 3px;
  background: var(--navy);
  margin: 18px 0 20px;
}

/* Deck text — dark gray */
.hero-v31-deck {
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}

/* ---- Rich pills with icon + headline + description ---- */
.hero-v31-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 540px;
  padding-bottom: 16px;
}

.hero-v31-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  padding: 10px;
  border-radius: 4px;
  transition: background .15s;
}
.hero-v31-pill:hover {
  background: rgba(255,255,255,.5);
  text-decoration: none;
  color: var(--text);
}

.pill-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(5,29,46,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 20px;
  background: rgba(255,255,255,.7);
}
.pill-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.pill-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pill-headline {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
}

.pill-desc {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- Floating stat card — white with shadow ---- */
.hero-v31-right {
  padding-top: 8px;
}

.hero-stat-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 6px 32px rgba(0,0,0,.15);
  overflow: hidden;
}

.stat-card-item {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-card-item:last-of-type { border-bottom: none; }

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 22px;
}

.stat-card-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-card-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* CTA button — JW Blue */
.stat-card-cta {
  display: block;
  background: #9b1b30;
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 6px 10px 10px;
  border-radius: 3px;
  transition: background .15s;
}
.stat-card-cta:hover {
  background: #7a1526;
  text-decoration: none;
  color: var(--white);
}

/* Hide old hero stat elements */
.hero-stats { display: none; }
.hero-bg-overlay { display: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-v31-grid { grid-template-columns: 1fr; }
  .hero-v31-right { max-width: 360px; }
  .hero-v31 { min-height: auto; }
}
@media (max-width: 680px) {
  .hero-v31-grid { padding: 36px 18px 32px; }
  .hero-v31-headline { font-size: 1.8rem; }
  .hero-v31-pills { grid-template-columns: 1fr; }
  .hero-v31-right { max-width: 100%; }
  .brand-star { display: none; }
}

/* ================================================================
   STAR ICON — forceful alignment fix
   ================================================================ */
.site-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-direction: row !important;
}
.brand-star {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--white) !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  top: 0 !important;
}
.brand-star svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  margin: 0 auto !important;
}
.brand-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

/* ================================================================
   GOLD → RED/BLUE REPLACEMENT
   Replaces all gold accents with deep red lines and light blue fills.
   ================================================================ */

/* Redefine gold vars to red/blue so all existing references update */
:root {
  --gold:        #9b1b30;       /* deep red — accent lines, borders */
  --gold-text:   #9b1b30;       /* deep red — label text */
  --gold-pale:   var(--blue-pale); /* light blue — takeaway/highlight bg */
  --gold-border: rgba(0,126,195,.2); /* blue-tinted border */
}

/* Takeaway box — light blue bg, red left border */
.takeaway {
  background: var(--blue-pale) !important;
  border-left-color: #9b1b30 !important;
}
.takeaway-label { color: #9b1b30 !important; }

/* Article takeaway */
.article-takeaway {
  background: var(--blue-pale) !important;
  border-color: rgba(0,126,195,.2) !important;
  border-left: 4px solid #9b1b30 !important;
}
.article-takeaway li::before { color: #9b1b30 !important; }

/* Featured card left border → red */
.card-featured { border-left-color: #9b1b30 !important; }

/* Author avatars — white on blue instead of gold on navy */
.byline-avatar,
.sb-av,
.att-av,
.article-av,
.author-card-photo {
  background: var(--blue) !important;
  color: var(--white) !important;
}

/* Author card top border → blue */
.author-card { border-top-color: var(--blue) !important; }

/* Sidebar FAQ chevrons → red */
.sb-faq a::before { color: #9b1b30 !important; }

/* Sidebar dark block label → white */
.sb-block--dark .label,
.sb-block--dark [class*="label"] {
  color: rgba(255,255,255,.85) !important;
}

/* Sidebar dark block "more" link → white/light */
.sb-block--dark .sb-more { color: rgba(255,255,255,.7) !important; }
.sb-block--dark .sb-more:hover { color: var(--white) !important; }

/* Footer JW name → white */
.footer-jw a { color: var(--white) !important; }
.footer-jw a:hover { color: rgba(255,255,255,.8) !important; }

/* Page header eyebrow labels — red */
.label--gold { color: #9b1b30 !important; }

/* Article header author name link → white */
.article-author-name a { color: rgba(255,255,255,.92) !important; }
.article-author-name a:hover { color: var(--white) !important; text-decoration: underline !important; }

/* Article header avatar → blue bg white text */
.article-av {
  background: rgba(0,126,195,.25) !important;
  border-color: rgba(0,126,195,.4) !important;
  color: var(--white) !important;
}

/* Hero pill icon circles → blue border */
.pill-icon-wrap { border-color: rgba(0,126,195,.25) !important; }

/* Team page practice button → red */

/* Accent label class — replaces label--gold */
.label--accent { color: #9b1b30 !important; }

/* ================================================================
   V3.2 — CLEANER ARTICLE ROWS (no numbers, no dates)
   ================================================================ */

/* Article rows — just thumbnail + text, no number column or date */
.card-row {
  grid-template-columns: 56px 1fr !important;
}
.card-row.no-thumb {
  grid-template-columns: 1fr !important;
}
.card-num { display: none !important; }
.card-date { display: none !important; }

/* Align thumbnails with featured card content */
.card-row {
  padding-left: 32px !important;
  padding-right: 28px !important;
}
.card-featured {
  padding-left: 32px !important;
  padding-right: 28px !important;
  border-left: 4px solid #9b1b30;
}

/* Featured card thumbnail — align with content edge */
.card-featured-thumb-wrap {
  margin-left: -36px !important;
  margin-right: -28px !important;
  margin-top: -24px !important;
}

@media (max-width: 680px) {
  .card-row { padding-left: 18px !important; padding-right: 18px !important; }
  .card-featured { padding-left: 18px !important; padding-right: 18px !important; }
  .card-featured-thumb-wrap { margin-left: -22px !important; margin-right: -18px !important; }
}

/* Sidebar — with only 2 blocks (FAQ + About), first is white, second is dark */
.sidebar .sb-block:nth-child(1) { background: var(--white) !important; }
.sidebar .sb-block:nth-child(2) { background: var(--navy) !important; border-color: var(--navy) !important; }
