/* =================================================================
 * Lexington Times — aggressive spruce v2
 * Palette · magazine hero · sticky header · dark mode · sidebar
 * Article polish · clutter pass
 * ================================================================= */

/* ---------- color tokens ---------- */

:root {
  --lext-bg:            #ffffff;
  --lext-bg-raised:     #ffffff;
  --lext-ink:           #111111;
  --lext-ink-soft:      #333333;
  --lext-muted:         #6b6b6b;
  --lext-rule:          #e4e4e1;
  --lext-rule-strong:   #c7c7c3;
  --lext-accent:        #0033a0;
  --lext-accent-dim:    #00257a;
  --lext-accent-soft:   #e8eefb;
  --lext-masthead-bg:   #ffffff;
  --lext-masthead-fg:   #111111;
  --lext-masthead-muted: #6b6b6b;
  --lext-live:          #d6263b;
  --lext-shadow:        0 0 0 1px var(--lext-rule);
  --lext-shadow-soft:   0 0 0 1px var(--lext-rule);
  --lext-sans:          'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --lext-mono:          'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --lext-bg:            #0c0c0c;
  --lext-bg-raised:     #0c0c0c;
  --lext-ink:           #f2f2f0;
  --lext-ink-soft:      #d4d4d2;
  --lext-muted:         #9a9a9a;
  --lext-rule:          #2a2a2a;
  --lext-rule-strong:   #3a3a3a;
  --lext-accent:        #6f9cff;
  --lext-accent-dim:    #93b5ff;
  --lext-accent-soft:   rgba(111,156,255,0.16);
  --lext-masthead-bg:   #0c0c0c;
  --lext-masthead-fg:   #f2f2f0;
  --lext-masthead-muted: #9a9a9a;
  --lext-shadow:        0 0 0 1px var(--lext-rule);
  --lext-shadow-soft:   0 0 0 1px var(--lext-rule);
  color-scheme: dark;
}

/* ---------- base ---------- */

html, body, .wp-site-blocks { background-color: var(--lext-bg) !important; color: var(--lext-ink); }
.wp-site-blocks { min-height: 100vh; }
body,
.wp-site-blocks,
.wp-site-blocks * { -webkit-font-smoothing: antialiased; }

body, .wp-site-blocks {
  font-family: var(--lext-sans);
  font-feature-settings: "ss01", "kern";
  color: var(--lext-ink);
}

h1,h2,h3,h4,h5,h6,
.wp-block-site-title,
.wp-block-site-title a,
.wp-block-post-title,
.wp-block-post-title a,
.entry-title,
.entry-title a,
#pt-cv-view-e0clwql5 .pt-cv-title,
#pt-cv-view-e0clwql5 .pt-cv-title a,
#pt-cv-view-4x3aop51 .pt-cv-title,
#pt-cv-view-4x3aop51 .pt-cv-title a {
  font-family: var(--lext-sans) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--lext-ink) !important;
}

a { color: var(--lext-ink); }
a:hover { color: var(--lext-accent); }

/* theme palette overrides */
.has-mono-4-background-color { background-color: var(--lext-bg) !important; }
.has-mono-3-background-color { background-color: var(--lext-bg-raised) !important; }
.has-mono-1-color { color: var(--lext-ink-soft) !important; }
.has-mono-2-color { color: var(--lext-muted) !important; }
.superbthemes-navigation-four-bottom,
.has-primary-background-color { background-color: var(--lext-ink) !important; }

/* ---------- masthead (custom svg wordmark) ---------- */

.wp-site-blocks .wp-block-group[style*="#1a2744"],
.wp-site-blocks .wp-block-group[style*="#141a2c"] {
  background-color: var(--lext-masthead-bg) !important;
  color: var(--lext-masthead-fg) !important;
  padding-top: 0.85rem !important;
  padding-bottom: 0.25rem !important;
}

.lext-masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem 0.25rem;
}
.lext-masthead__link {
  display: block;
  width: 100%;
  max-width: 640px;
  color: var(--lext-masthead-fg);
  text-decoration: none;
}
.lext-masthead__link:hover { color: var(--lext-masthead-fg); }
.lext-masthead__mark {
  width: 100%;
  height: auto;
  display: block;
}
.lext-masthead__tag {
  font-family: var(--lext-sans);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.88rem, 0.8vw + 0.7rem, 1.05rem);
  color: var(--lext-masthead-muted);
  margin: 0.5rem 0 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.lext-masthead__tag [data-lext-date] {
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85em;
  color: var(--lext-masthead-muted);
}

/* search in masthead gets quiet treatment */
.wp-site-blocks .wp-block-group[style*="var(--lext-masthead-bg)"] .wp-block-search,
.wp-site-blocks .wp-block-group[style*="#141a2c"] .wp-block-search {
  max-width: 420px;
  margin: 0.75rem auto 0.25rem;
}
.wp-site-blocks .wp-block-search__input {
  background: rgba(255,255,255,0.08);
  color: var(--lext-masthead-fg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px !important;
  padding: 0.55rem 1rem !important;
  font-family: var(--lext-sans);
  font-size: 0.9rem;
}
.wp-site-blocks .wp-block-search__input::placeholder { color: rgba(255,255,255,0.5); }
.wp-site-blocks .wp-block-search__button { background: transparent !important; color: var(--lext-masthead-fg) !important; }

/* button row */
.wp-site-blocks .wp-block-buttons { gap: 0.6rem !important; margin-top: 0.75rem; }
.wp-site-blocks .wp-block-button__link {
  border-radius: 999px !important;
  font-family: var(--lext-sans) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem !important;
  padding: 0.55rem 1.15rem !important;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.wp-site-blocks .wp-block-button__link:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* ---------- Homepage layout: two columns + sidebar ---------- */

.lext-home-cols { gap: 3rem !important; max-width: 1200px; margin: 0 auto; }
.lext-home-col-main { min-width: 0 !important; }
.lext-home-col-side {
  position: sticky;
  top: 80px;
  align-self: start;
}
@media (max-width: 900px) {
  .lext-home-cols { gap: 1.5rem !important; flex-direction: column !important; }
  .lext-home-col-side { position: static; }
}

/* ---------- Magazine hero (Latest News) ---------- */

#pt-cv-view-e0clwql5 > .pt-cv-page {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr !important;
  grid-auto-rows: unset !important;
  grid-template-rows: repeat(4, minmax(110px, 1fr)) !important;
  gap: 1rem !important;
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 / span 4 !important;
  background: var(--lext-bg-raised);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--lext-shadow-soft);
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) {
  grid-column: 2 !important;
  background: var(--lext-bg-raised);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px -8px rgba(20,26,44,0.25);
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: stretch;
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) .pt-cv-thumb-wrapper { height: 100%; }
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) .pt-cv-thumb-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) .pt-cv-content-item-body {
  padding: 0.6rem 0.85rem;
}

#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-title a {
  font-size: clamp(1.5rem, 1.8vw + 0.8rem, 2.3rem) !important;
  line-height: 1.08 !important;
  color: #fff !important;
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-thumb-wrapper,
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-thumb-wrapper a {
  height: 100% !important;
  min-height: 380px;
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-thumb-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
}
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-overlay-wrapper {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0) 100%) !important;
  padding: 1.25rem !important;
  justify-content: flex-end !important;
}

#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) .pt-cv-title a {
  font-size: 1rem !important;
  line-height: 1.15 !important;
  color: var(--lext-ink) !important;
}

/* CV taxonomy pills (editorial red) */
#pt-cv-view-e0clwql5 .pt-cv-taxoterm *,
#pt-cv-view-4x3aop51 .pt-cv-taxoterm * {
  background: var(--lext-accent-soft) !important;
  color: var(--lext-accent-dim) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px !important;
  padding: 2px 8px !important;
  border-radius: 2px !important;
}

#pt-cv-view-e0clwql5 .pt-cv-content-item:hover,
#pt-cv-view-4x3aop51 .pt-cv-content-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--lext-shadow-soft);
}
#pt-cv-view-e0clwql5 .pt-cv-content-item,
#pt-cv-view-4x3aop51 .pt-cv-content-item {
  transition: transform .2s ease, box-shadow .2s ease;
}

/* More stories: keep 3-col grid but tighter cards */
#pt-cv-view-4x3aop51 > .pt-cv-page {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: unset !important;
  grid-template-rows: auto !important;
  gap: 1.25rem !important;
}
#pt-cv-view-4x3aop51 > .pt-cv-page > * {
  background: var(--lext-bg-raised);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--lext-rule);
}
#pt-cv-view-4x3aop51 .pt-cv-content-item-body { padding: 0.75rem 1rem 1rem; }
#pt-cv-view-4x3aop51 .pt-cv-title a { font-size: 1.1rem !important; line-height: 1.2 !important; }

@media (max-width: 900px) {
  #pt-cv-view-e0clwql5 > .pt-cv-page {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }
  #pt-cv-view-e0clwql5 > .pt-cv-page > * {
    grid-column: auto !important; grid-row: auto !important;
    grid-template-columns: 1fr !important;
  }
  #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) {
    grid-template-columns: 1fr !important;
  }
  #pt-cv-view-4x3aop51 > .pt-cv-page { grid-template-columns: 1fr !important; }
}

/* ---------- Sticky compact header ---------- */

.lext-sticky-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99980;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(20,26,44,0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: #fff;
  font-family: var(--lext-sans);
  box-shadow: 0 2px 10px -4px rgba(0,0,0,0.3);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
:root[data-scrolled] .lext-sticky-bar {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.lext-sticky-bar--hidden { transform: translateY(-110%) !important; opacity: 0 !important; }

.lext-sticky-bar__mark {
  display: flex; flex-direction: column; justify-content: center; line-height: 1;
  color: #fff; text-decoration: none;
  font-family: var(--lext-sans);
}
.lext-sticky-bar__mark-the {
  font-style: italic; font-size: 0.65rem; opacity: 0.7; letter-spacing: 0.08em;
}
.lext-sticky-bar__mark-name {
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
}
.lext-sticky-bar__nav {
  display: flex; gap: 1rem; font-size: 0.85rem; font-weight: 500;
  margin-left: 1rem; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,0.15);
}
.lext-sticky-bar__nav a { color: rgba(255,255,255,0.85); text-decoration: none; }
.lext-sticky-bar__nav a:hover { color: #fff; }
.lext-sticky-bar__nav { margin-right: auto; }

.lext-theme-toggle, .lext-sticky-bar__search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08); color: #fff; border: 0; border-radius: 999px;
  cursor: pointer; transition: background .15s ease;
}
.lext-theme-toggle:hover, .lext-sticky-bar__search:hover { background: rgba(255,255,255,0.18); }
.lext-theme-toggle svg, .lext-sticky-bar__search svg { width: 16px; height: 16px; }
.lext-theme-toggle .lext-icon-moon { display: none; }
.lext-theme-toggle .lext-icon-sun { display: block; }
:root[data-theme="dark"] .lext-theme-toggle .lext-icon-moon { display: block; }
:root[data-theme="dark"] .lext-theme-toggle .lext-icon-sun { display: none; }

@media (max-width: 620px) {
  .lext-sticky-bar__nav { display: none; }
  .lext-sticky-bar__mark-the { display: none; }
}

/* ---------- Sidebar cards ---------- */

.lext-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.lext-sidebar-card {
  background: var(--lext-bg-raised);
  border: 1px solid var(--lext-rule);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.15rem;
  font-family: var(--lext-sans);
}
.lext-sidebar-card h6 {
  font-family: var(--lext-sans) !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lext-muted);
  margin: 0 0 0.75rem;
}
.lext-sidebar-card ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.lext-sidebar-card a { color: var(--lext-ink); text-decoration: none; font-size: 0.95rem; }
.lext-sidebar-card a:hover { color: var(--lext-accent); }
.lext-sidebar-cta {
  display: inline-block; margin-top: 0.75rem;
  font-weight: 600; color: var(--lext-accent) !important; font-size: 0.9rem;
}
.lext-sidebar-cta:hover { color: var(--lext-accent-dim) !important; }

.lext-sidebar-card--highlight {
  background: var(--lext-accent-soft);
  border-color: var(--lext-accent);
  color: var(--lext-ink);
}
.lext-sidebar-card--highlight p { margin: 0 0 0.5rem; font-size: 0.95rem; line-height: 1.4; }

/* ---------- Article (single) polish ---------- */

.lext-article .wp-block-post-featured-image {
  border-radius: 10px; overflow: hidden; box-shadow: var(--lext-shadow);
  margin-bottom: 1.5rem !important;
}
.lext-article__kicker {
  margin-bottom: 0.5rem;
}
.lext-article__kicker a {
  display: inline-block;
  background: var(--lext-accent-soft);
  color: var(--lext-accent-dim) !important;
  font-family: var(--lext-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  text-decoration: none;
}
.lext-article__title {
  font-family: var(--lext-sans) !important;
  font-weight: 700 !important;
  font-size: clamp(1.9rem, 2.5vw + 0.6rem, 3rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.022em !important;
  margin-bottom: 0.75rem !important;
  color: var(--lext-ink) !important;
}
.lext-article__byline {
  display: flex !important; align-items: center; gap: 0.6rem;
  font-family: var(--lext-sans);
  font-size: 0.88rem;
  color: var(--lext-muted) !important;
  margin-bottom: 1.75rem;
}
.lext-article__byline .wp-block-post-date,
.lext-article__byline .wp-block-post-author-name {
  color: var(--lext-muted) !important;
  font-weight: 500 !important;
}
.lext-article__byline .wp-block-post-author-name a { color: var(--lext-ink); font-weight: 600; }
.lext-article__content {
  font-family: var(--lext-sans) !important;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--lext-ink-soft);
}
.lext-article__content p { margin-bottom: 1.1em; }
.lext-article__content a { color: var(--lext-accent-dim); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lext-article__content a:hover { color: var(--lext-accent); }
.lext-article__content h2, .lext-article__content h3 { margin-top: 1.75em; margin-bottom: 0.35em; }
.lext-article__content img,
.lext-article__content figure,
.lext-article__content .wp-block-image,
.lext-article__content .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
}

.lext-article__tags { margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.lext-article__tags .wp-block-post-terms a {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--lext-rule-strong);
  color: var(--lext-ink-soft) !important;
  font-family: var(--lext-sans);
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}
.lext-article__tags .wp-block-post-terms a:hover {
  background: var(--lext-accent-soft);
  border-color: var(--lext-accent);
  color: var(--lext-accent) !important;
}

.lext-related-head {
  font-family: var(--lext-sans) !important;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--lext-ink);
  color: var(--lext-ink) !important;
}
.lext-related .wp-block-post-template { gap: 1rem !important; }
.lext-related .wp-block-post-title a {
  font-size: 0.95rem !important;
  line-height: 1.15 !important;
  color: var(--lext-ink) !important;
}

/* ---------- Footer (keep 4-col grid) ---------- */

.lext-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0.75rem 1.25rem;
  font-family: var(--lext-sans);
}
.lext-footer-grid h6 {
  font-family: var(--lext-sans) !important;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lext-muted); margin: 0 0 0.85rem; line-height: 1;
}
.lext-footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.lext-footer-grid a { color: var(--lext-ink); text-decoration: none; font-size: 0.95rem; }
.lext-footer-grid a:hover { color: var(--lext-accent); }
.superbthemes-footer-001 { border-top: 2px solid var(--lext-rule) !important; background: var(--lext-bg) !important; }
@media (max-width: 720px) { .lext-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* ---------- Clutter pass ---------- */

.wp-site-blocks [aria-label="Advertisement"]:empty,
.wp-site-blocks [aria-label="Advertisement"]:not(:has(img,iframe,script,.adsbygoogle)) {
  display: none !important;
}
#sp_message_container_1, .sp_veil, [id^="sp_message_iframe_"] { z-index: 99950 !important; }

/* Jetpack shopping anchor — demote */
#jetpack-top-anchor, .jetpack-shopping-anchor { display: none !important; }

/* ---------- Body spacing polish ---------- */

.wp-site-blocks main > * + * { margin-top: 2rem; }
.wp-site-blocks p { color: var(--lext-ink-soft); }

/* ---------- Dark mode tweaks ---------- */

:root[data-theme="dark"] .wp-block-site-title,
:root[data-theme="dark"] .wp-block-site-title a { color: var(--lext-masthead-fg) !important; }
:root[data-theme="dark"] .wp-site-blocks .superbthemes-footer-001 { background: var(--lext-bg) !important; }
:root[data-theme="dark"] #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2),
:root[data-theme="dark"] #pt-cv-view-4x3aop51 > .pt-cv-page > * {
  border-color: var(--lext-rule);
}
:root[data-theme="dark"] img { opacity: 0.92; }

/* ---------- "Latest News" + "More Stories" headings ---------- */

h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
main > h3, main h3.pt-cv-header {
  color: var(--lext-ink) !important;
  border-bottom: 2px solid var(--lext-ink);
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 1.5vw + 0.7rem, 1.9rem) !important;
}

/* =========================================================
 * /about-us-2/ — rebrand layout
 * ========================================================= */

.lext-about {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  font-family: var(--lext-sans);
  color: var(--lext-ink);
}

.lext-about__hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--lext-rule);
  text-align: center;
  margin-bottom: 2.5rem;
}
.lext-about__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lext-accent);
  margin-bottom: 1.25rem;
}
.lext-about__head {
  font-family: var(--lext-sans) !important;
  line-height: 0.95 !important;
  margin: 0 0 1.5rem !important;
  letter-spacing: -0.02em;
  color: var(--lext-ink) !important;
  border: 0 !important;
  padding: 0 !important;
}
.lext-about__head-the {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.5rem);
  color: var(--lext-muted);
  margin-bottom: 0.2rem;
}
.lext-about__head-name {
  display: block;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw + 0.4rem, 4.5rem);
}
.lext-about__dek {
  font-family: var(--lext-sans);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 0.7vw + 0.9rem, 1.25rem);
  line-height: 1.4;
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: var(--lext-ink-soft);
}
.lext-about__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--lext-muted);
  letter-spacing: 0.03em;
}
.lext-about__meta a {
  color: var(--lext-accent);
  text-decoration: none;
  font-weight: 600;
}
.lext-about__meta a:hover { color: var(--lext-accent-dim); }

.lext-about__lede {
  font-family: var(--lext-sans);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--lext-ink-soft);
  padding: 0.5rem 0 2rem;
}
.lext-about__lede strong { color: var(--lext-ink); }

.lext-about__section {
  padding: 2rem 0;
  border-top: 1px solid var(--lext-rule);
}
.lext-about__section:first-of-type { border-top: 0; }
.lext-about__h2 {
  font-family: var(--lext-sans) !important;
  font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 1.15rem;
  color: var(--lext-ink) !important;
  border: 0 !important;
  padding: 0 !important;
}
.lext-about__h3 {
  font-family: var(--lext-sans) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--lext-ink) !important;
  line-height: 1.25;
}
.lext-about p { font-size: 1.05rem; line-height: 1.62; color: var(--lext-ink-soft); margin: 0 0 1rem; }
.lext-about strong { color: var(--lext-ink); font-weight: 700; }
.lext-about em { color: var(--lext-ink); }
.lext-about__list { margin: 0.5rem 0 1.1rem 1.1rem; padding: 0; }
.lext-about__list li { font-size: 1.02rem; line-height: 1.55; color: var(--lext-ink-soft); margin-bottom: 0.3rem; }

.lext-about__surfaces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.lext-surface {
  display: block;
  padding: 1.1rem 1.15rem 1.25rem;
  background: var(--lext-bg-raised);
  border: 1px solid var(--lext-rule);
  border-radius: 10px;
  color: var(--lext-ink);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lext-surface:hover {
  transform: translateY(-2px);
  box-shadow: var(--lext-shadow-soft);
  border-color: var(--lext-rule-strong);
  color: var(--lext-ink);
}
.lext-surface__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lext-muted);
  display: inline-block;
  margin-bottom: 0.55rem;
}
.lext-surface__label--live {
  color: var(--lext-live);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lext-surface__pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lext-live);
  animation: lext-pulse 1.6s ease-in-out infinite;
}
@keyframes lext-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
.lext-surface__title {
  font-family: var(--lext-sans) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--lext-ink) !important;
  line-height: 1.15;
}
.lext-surface__desc { font-size: 0.92rem !important; line-height: 1.45; color: var(--lext-muted); margin: 0; }

@media (max-width: 720px) {
  .lext-about__surfaces { grid-template-columns: 1fr; }
}

/* Editorial principles grid */
.lext-about__section--editorial { padding: 2.5rem 0; }
.lext-about__editorial-lede {
  font-family: var(--lext-sans);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--lext-accent-dim);
  margin-bottom: 2rem;
}
.lext-about__principle {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px dashed var(--lext-rule);
}
.lext-about__principle:first-of-type { border-top: 0; }
.lext-about__principle-num {
  font-family: var(--lext-sans);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--lext-accent);
  padding-top: 0.15rem;
  letter-spacing: 0.02em;
}
.lext-about__principle-body { min-width: 0; }

.lext-about__pull {
  margin: 1rem 0 1.2rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-left: 3px solid var(--lext-accent);
  background: var(--lext-accent-soft);
  font-family: var(--lext-sans);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--lext-ink);
  border-radius: 0 6px 6px 0;
}

/* Open source + contact */
.lext-about__section--open { text-align: center; padding: 2.5rem 0; }
.lext-about__cta {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--lext-ink);
  color: var(--lext-bg) !important;
  font-family: var(--lext-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.lext-about__cta:hover {
  background: var(--lext-accent);
  transform: translateY(-1px);
  color: #fff !important;
}

.lext-about__contact {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--lext-rule);
}
.lext-about__contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 1.5rem;
  list-style: none;
  margin: 1rem 0 2rem;
  padding: 0;
}
.lext-about__contact-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.98rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dotted var(--lext-rule);
}
.lext-about__contact-list span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lext-muted);
  flex: 0 0 auto;
  min-width: 60px;
}
.lext-about__contact-list a {
  color: var(--lext-ink);
  text-decoration: none;
}
.lext-about__contact-list a:hover { color: var(--lext-accent); }
.lext-about__sign {
  font-family: var(--lext-sans);
  font-style: italic;
  color: var(--lext-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* =========================================================
 * /explain-page/ — technical how-it-works
 * ========================================================= */

.lext-explain {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  font-family: var(--lext-sans);
  color: var(--lext-ink);
}

.lext-explain__hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--lext-rule);
  margin-bottom: 2.5rem;
}
.lext-explain__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lext-accent);
  margin-bottom: 1rem;
}
.lext-explain__head {
  font-family: var(--lext-sans) !important;
  line-height: 1 !important;
  margin: 0 0 1.25rem !important;
  color: var(--lext-ink) !important;
  border: 0 !important;
  padding: 0 !important;
}
.lext-explain__head-the {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.4rem);
  color: var(--lext-muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.lext-explain__head-name {
  display: block;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw + 0.4rem, 4rem);
  letter-spacing: -0.02em;
}
.lext-explain__dek {
  font-family: var(--lext-sans);
  font-style: italic;
  font-size: clamp(1.05rem, 0.8vw + 0.8rem, 1.3rem);
  line-height: 1.45;
  color: var(--lext-ink-soft);
  max-width: 720px;
  margin: 0 0 1.5rem;
}
.lext-explain__meta a {
  color: var(--lext-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.lext-explain__meta a:hover { color: var(--lext-accent-dim); }

.lext-explain__section {
  padding: 2rem 0;
  border-top: 1px solid var(--lext-rule);
}
.lext-explain__section:first-of-type { border-top: 0; }
.lext-explain__h2 {
  font-family: var(--lext-sans) !important;
  font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  color: var(--lext-ink) !important;
  border: 0 !important;
  padding: 0 !important;
}
.lext-explain__h3 {
  font-family: var(--lext-sans) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--lext-ink) !important;
  line-height: 1.2;
}
.lext-explain p { font-size: 1.02rem; line-height: 1.6; color: var(--lext-ink-soft); margin: 0 0 1rem; }
.lext-explain__lede { font-family: var(--lext-sans); font-size: 1.12rem; color: var(--lext-ink-soft); }

.lext-explain code {
  font-family: var(--lext-mono);
  font-size: 0.86em;
  padding: 0.1em 0.4em;
  background: var(--lext-accent-soft);
  color: var(--lext-accent-dim);
  border-radius: 3px;
}

.lext-explain__list { margin: 0.25rem 0 1rem 1.2rem; padding: 0; }
.lext-explain__list li { font-size: 0.98rem; line-height: 1.55; color: var(--lext-ink-soft); margin-bottom: 0.3rem; }

/* Three-product tri-panel */
.lext-explain__tri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.lext-explain__tri-cell {
  padding: 1.1rem 1.15rem 1.25rem;
  background: var(--lext-bg-raised);
  border: 1px solid var(--lext-rule);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.lext-explain__tri-cell--live {
  border-color: var(--lext-accent);
  background: var(--lext-accent-soft);
}
.lext-explain__tri-cell--live::before {
  content: 'LIVE';
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--lext-live);
  padding: 0.18rem 0.45rem;
  border-radius: 3px;
}
.lext-explain__tri-num {
  display: inline-block;
  font-family: var(--lext-sans);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--lext-accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.lext-explain__tri-url {
  font-family: var(--lext-mono) !important;
  font-size: 0.8rem !important;
  color: var(--lext-muted) !important;
  margin: 0 0 0.75rem !important;
  word-break: break-all;
}

@media (max-width: 720px) {
  .lext-explain__tri { grid-template-columns: 1fr; }
}

/* Stack table */
.lext-explain__stack {
  margin-top: 1rem;
  border-top: 1px solid var(--lext-rule);
}
.lext-explain__stack-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--lext-rule);
  align-items: baseline;
}
.lext-explain__stack-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lext-muted);
}
.lext-explain__stack-val { font-size: 0.98rem; color: var(--lext-ink); }

@media (max-width: 620px) {
  .lext-explain__stack-row { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.6rem 0; }
}

/* Data sources */
.lext-explain__sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.lext-explain__sources > div {
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--lext-rule);
  border-radius: 8px;
  background: var(--lext-bg-raised);
}
.lext-explain__sources strong {
  display: block;
  font-family: var(--lext-sans);
  font-size: 1.02rem;
  color: var(--lext-ink);
  margin-bottom: 0.35rem;
}
.lext-explain__sources span { font-size: 0.88rem; color: var(--lext-muted); line-height: 1.45; }

@media (max-width: 620px) {
  .lext-explain__sources { grid-template-columns: 1fr; }
}

/* Voice feature inventory */
.lext-explain__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.lext-explain__feat {
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid var(--lext-rule);
  border-left: 3px solid var(--lext-accent);
  border-radius: 0 8px 8px 0;
  background: var(--lext-bg-raised);
}
.lext-explain__feat-badge {
  display: inline-block;
  font-family: var(--lext-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--lext-ink);
  color: var(--lext-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.4rem;
}
.lext-explain__feat strong {
  display: block;
  font-family: var(--lext-sans);
  font-size: 1rem;
  color: var(--lext-ink);
  margin-bottom: 0.25rem;
}
.lext-explain__feat span:last-of-type { font-size: 0.88rem; color: var(--lext-muted); line-height: 1.4; }

@media (max-width: 720px) {
  .lext-explain__features { grid-template-columns: 1fr; }
}

/* Guardrails */
.lext-explain__guards {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.lext-explain__guards li {
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  border-bottom: 1px solid var(--lext-rule);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--lext-ink-soft);
  position: relative;
}
.lext-explain__guards li::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--lext-accent);
  background: var(--lext-accent-soft);
}
.lext-explain__guards strong { color: var(--lext-ink); font-weight: 700; }

/* Code section */
.lext-explain__section--code { background: var(--lext-bg-raised); margin: 2rem -1rem -1rem; padding: 2rem 1rem 2.5rem; border-radius: 10px; border-top: 0; }

/* ---------- Dark-mode cosmetic ---------- */
:root[data-theme="dark"] .lext-about__cta { background: var(--lext-bg-raised); color: var(--lext-ink) !important; border: 1px solid var(--lext-rule-strong); }
:root[data-theme="dark"] .lext-about__cta:hover { background: var(--lext-accent); color: #fff !important; border-color: var(--lext-accent); }
:root[data-theme="dark"] .lext-explain__feat-badge { background: var(--lext-bg); color: var(--lext-ink); }

/* ---------- Meeting pipeline flow (on /explain-page/) ---------- */

.lext-explain__pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
  counter-reset: lext-pipe;
}
.lext-explain__pipe-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 1.1rem;
  background: var(--lext-bg-raised);
  border: 1px solid var(--lext-rule);
  border-radius: 10px;
  position: relative;
}
.lext-explain__pipe-step::after {
  content: '';
  position: absolute;
  left: 31px;
  top: 100%;
  width: 2px;
  height: 0.75rem;
  background: var(--lext-rule-strong);
  z-index: 1;
}
.lext-explain__pipe-step:last-of-type::after { display: none; }
.lext-explain__pipe-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lext-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lext-sans);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
}
.lext-explain__pipe-step strong {
  display: block;
  font-family: var(--lext-sans);
  font-size: 1.05rem;
  color: var(--lext-ink);
  margin-bottom: 0.25rem;
}
.lext-explain__pipe-step span:last-of-type {
  font-size: 0.93rem;
  color: var(--lext-muted);
  line-height: 1.45;
}

/* Repo pill */
.lext-explain__repo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding: 0.65rem 1.1rem;
  background: var(--lext-ink);
  color: var(--lext-bg) !important;
  font-family: var(--lext-mono);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.lext-explain__repo:hover {
  transform: translateY(-1px);
  background: var(--lext-accent);
  color: #fff !important;
}
.lext-explain__repo-arrow { font-family: var(--lext-sans); font-weight: 600; }

:root[data-theme="dark"] .lext-explain__repo {
  background: var(--lext-bg-raised);
  color: var(--lext-ink) !important;
  border: 1px solid var(--lext-rule-strong);
}
:root[data-theme="dark"] .lext-explain__repo:hover {
  background: var(--lext-accent);
  color: #fff !important;
  border-color: var(--lext-accent);
}

/* ---------- FAQ on /explain-page/ ---------- */

.lext-faq {
  margin: 0.6rem 0;
  padding: 0;
  background: var(--lext-bg-raised);
  border: 1px solid var(--lext-rule);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.lext-faq > summary {
  list-style: none;
  padding: 1rem 1.25rem;
  font-family: var(--lext-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lext-ink);
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  line-height: 1.25;
}
.lext-faq > summary::-webkit-details-marker { display: none; }
.lext-faq > summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--lext-sans);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--lext-accent);
  transition: transform .2s ease;
  line-height: 1;
}
.lext-faq[open] > summary::after { content: '\2013'; transform: translateY(-50%); }
.lext-faq:hover { border-color: var(--lext-rule-strong); }
.lext-faq[open] { box-shadow: var(--lext-shadow-soft); }

.lext-faq__body {
  padding: 0.25rem 1.25rem 1.15rem;
}
.lext-faq__body p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--lext-ink-soft);
  margin: 0 0 0.75rem;
}
.lext-faq__body p:last-child { margin-bottom: 0; }
.lext-faq__body a {
  color: var(--lext-accent-dim);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.lext-faq__body a:hover { color: var(--lext-accent); }

/* The "Can we hire Paul?" feature card */
.lext-faq--feature {
  border-color: var(--lext-accent);
  background: linear-gradient(180deg, var(--lext-accent-soft) 0%, var(--lext-bg-raised) 60%);
}
.lext-faq--feature > summary {
  font-size: 1.2rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}
.lext-faq--feature > summary::after { color: var(--lext-accent); }

.lext-faq__body--hire {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-top: 0.75rem;
}
.lext-faq__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lext-bg-raised);
  box-shadow: 0 10px 30px -14px rgba(20,26,44,0.45);
  display: block;
}
.lext-faq__hire-body { min-width: 0; }
.lext-faq__hire-body p:first-child strong {
  font-family: var(--lext-sans);
  font-size: 1.15rem;
  color: var(--lext-accent);
  font-weight: 700;
}
.lext-faq__hire-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: var(--lext-ink);
  color: var(--lext-bg) !important;
  font-family: var(--lext-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.lext-faq__hire-cta:hover {
  transform: translateY(-1px);
  background: var(--lext-accent);
  color: #fff !important;
}
.lext-faq__hire-arrow { font-weight: 700; }

@media (max-width: 560px) {
  .lext-faq__body--hire { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; }
  .lext-faq__avatar { width: 110px; height: 110px; }
}

:root[data-theme="dark"] .lext-faq--feature {
  background: linear-gradient(180deg, var(--lext-accent-soft) 0%, var(--lext-bg-raised) 80%);
}
:root[data-theme="dark"] .lext-faq__hire-cta {
  background: var(--lext-bg);
  color: var(--lext-ink) !important;
  border: 1px solid var(--lext-rule-strong);
}
:root[data-theme="dark"] .lext-faq__hire-cta:hover {
  background: var(--lext-accent);
  color: #fff !important;
  border-color: var(--lext-accent);
}

/* ---------- Hire card: structured stack + dual CTA ---------- */

.lext-faq__hire-role {
  font-family: var(--lext-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lext-accent) !important;
  margin-bottom: 0.5rem !important;
}

.lext-faq__hire-stack-lede {
  font-family: var(--lext-sans) !important;
  font-style: italic;
  margin-top: 1rem !important;
  margin-bottom: 0.45rem !important;
  color: var(--lext-ink) !important;
}
.lext-faq__hire-stack {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--lext-rule);
}
.lext-faq__hire-stack li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--lext-rule);
  align-items: baseline;
  color: var(--lext-ink-soft);
}
.lext-faq__hire-stack li strong {
  font-family: var(--lext-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lext-muted);
}

.lext-faq__hire-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.lext-faq__hire-cta--ghost {
  background: transparent;
  color: var(--lext-ink) !important;
  border: 1px solid var(--lext-rule-strong);
  font-family: var(--lext-mono);
  font-size: 0.85rem;
}
.lext-faq__hire-cta--ghost:hover {
  background: var(--lext-accent-soft);
  color: var(--lext-accent-dim) !important;
  border-color: var(--lext-accent);
}

@media (max-width: 520px) {
  .lext-faq__hire-stack li { grid-template-columns: 1fr; gap: 0.05rem; padding: 0.5rem 0; }
}

:root[data-theme="dark"] .lext-faq__hire-cta--ghost {
  color: var(--lext-ink) !important;
  border-color: var(--lext-rule-strong);
}

/* =========================================================
 * 2026-04-24  Mobile whitespace + CV overlay click-lockup
 * ========================================================= */

/* CV overlay: let empty gaps inside the overlay pass the click
   through to the card anchors underneath so taps between links
   don't get swallowed by the full-card absolute overlay. */
.pt-cv-overlay-wrapper { pointer-events: none; }
.pt-cv-overlay-wrapper a,
.pt-cv-overlay-wrapper button { pointer-events: auto; }

/* Fix mobile CV grid: mobile override had lower specificity than the
   hero-card rule, so cards 2+ retained `grid-column: 2` on a 1-col
   grid and card 1's overlay deformed into a 40x981 strip that blocked
   taps on the rest of the page. Force every card into column 1 and
   drop the hero-only tall sizing below 900px. */
@media (max-width: 900px) {
  #pt-cv-view-e0clwql5 > .pt-cv-page,
  #pt-cv-view-4x3aop51 > .pt-cv-page {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    grid-auto-rows: auto !important;
  }
  #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1),
  #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    grid-template-columns: 1fr !important;
  }
  #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-thumb-wrapper,
  #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-thumb-wrapper a {
    min-height: 200px !important;
  }
  #pt-cv-view-e0clwql5 .pt-cv-content-item,
  #pt-cv-view-4x3aop51 .pt-cv-content-item {
    position: relative;
    overflow: hidden;
  }
}

/* Trim mobile headroom: the masthead + live iframe were consuming
   ~800px on 390-wide viewports, pushing every article below the fold. */
@media (max-width: 640px) {
  .lext-masthead { padding: 0.5rem 0.5rem 0.1rem !important; gap: 0.1rem !important; }
  .lext-masthead__tag { margin: 0.25rem 0 0 !important; font-size: 0.82rem !important; }
  .wp-site-blocks .wp-block-group[style*="#1a2744"],
  .wp-site-blocks .wp-block-group[style*="#141a2c"] {
    padding-top: 0.35rem !important;
    padding-bottom: 0.15rem !important;
  }
  .wp-site-blocks .wp-block-buttons { margin-top: 0.4rem !important; gap: 0.4rem !important; }
  .wp-site-blocks .wp-block-button__link {
    font-size: 0.85rem !important;
    padding: 0.4rem 0.9rem !important;
  }
  .lext-home-main {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    margin-bottom: 0 !important;
  }
  .lext-home-cols { gap: 1rem !important; }
  .lext-home-col-side { margin-top: 0 !important; }
  /* Hero titles shouldn't eat the whole screen */
  #pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1) .pt-cv-title a {
    font-size: 1.4rem !important;
    line-height: 1.12 !important;
  }
  /* Article body breathing room */
  .lext-article { padding: 0.75rem 0 !important; }
  .lext-article__title { font-size: 1.75rem !important; line-height: 1.1 !important; }
  .lext-article__byline { margin: 0.5rem 0 0.75rem !important; font-size: 0.85rem !important; }
  /* Explain/about pages */
  .lext-explain, .lext-about { padding: 0.75rem 0.25rem !important; }
  .lext-explain h2, .lext-about h2 { margin-top: 1.25rem !important; }
  .lext-explain__tri { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
  .lext-explain__sources, .lext-explain__features { grid-template-columns: 1fr !important; gap: 0.5rem !important; }
}

/* Extra-narrow (iPhone SE, folded devices) */
@media (max-width: 380px) {
  .lext-masthead__mark { max-width: 280px; margin: 0 auto; }
}

/* AdSense auto-placement was injecting a 500px-tall ad INSIDE the
   masthead flex column (between the wordmark and date line), pushing
   the header to 1190px on mobile. Hide auto-placed ads only in
   masthead / header / footer regions; body ads remain untouched. */
.lext-masthead .google-auto-placed,
header.wp-block-template-part .google-auto-placed,
footer.wp-block-template-part .google-auto-placed,
.lext-sticky-bar .google-auto-placed {
  display: none !important;
}

/* Pipeline step: grid has 3 children (num, title, description) in a
   46px + 1fr grid. Auto-flow was pushing the description into col 1
   (under the number), 46px wide. Pin title + description to col 2. */
.lext-explain__pipe-step strong,
.lext-explain__pipe-step span:last-of-type {
  grid-column: 2;
}
.lext-explain__pipe-num { grid-column: 1; grid-row: 1; }

/* ========== Agenda summary + PDF embed ========== */
.lext-agenda-summary {
  background: rgba(26, 39, 68, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.25rem 0.75rem;
  margin: 1.25rem 0 1.5rem;
}
[data-theme="light"] .lext-agenda-summary {
  background: #f5f3ee;
  border-color: #d9d1bf;
}
.lext-agenda-summary__h {
  margin: 0 0 0.5rem !important;
  font-family: var(--lext-sans);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.lext-agenda-summary p { margin: 0.5rem 0; }
.lext-agenda-summary ul { padding-left: 1.2rem; margin: 0.5rem 0; }
.lext-agenda-summary li { margin: 0.3rem 0; line-height: 1.45; }
.lext-agenda-summary__credit {
  margin-top: 0.75rem !important;
  opacity: 0.6;
  font-size: 0.8rem;
}
.lext-agenda-summary--loading { opacity: 0.75; }

.lext-agenda-embed {
  margin: 1.5rem 0 2rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1624;
}
[data-theme="light"] .lext-agenda-embed {
  background: #fff;
  border-color: #d9d1bf;
}
.lext-agenda-embed object {
  display: block;
  width: 100%;
  min-height: 720px;
  background: #fff;
}
.lext-agenda-embed__dl {
  padding: 0.6rem 1rem;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.lext-agenda-dl-link { font-weight: 600; }

@media (max-width: 640px) {
  .lext-agenda-embed object { min-height: 480px; }
  .lext-agenda-summary { padding: 0.85rem 1rem 0.6rem; }
  .lext-agenda-summary__h { font-size: 1.1rem; }
}



/* ========== Weather chip (sticky bar) ========== */
.lext-wx {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  margin: 0 0.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease;
}
[data-theme="light"] .lext-wx {
  background: rgba(0, 0, 0, 0.05);
}
.lext-wx:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
[data-theme="light"] .lext-wx:hover {
  background: rgba(0, 0, 0, 0.08);
}
.lext-wx__temp {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.lext-wx__cond {
  opacity: 0.85;
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lext-wx__alert[hidden] { display: none; }
.lext-wx__alert {
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: #b3261e;
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lext-wx__alert[data-severity="moderate"] { background: #c77700; }
.lext-wx__alert[data-severity="minor"] { background: #666; }
.lext-wx__alert[data-severity="severe"],
.lext-wx__alert[data-severity="extreme"] { background: #b3261e; animation: lext-wx-pulse 1.6s ease-in-out infinite; }
@keyframes lext-wx-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

@media (max-width: 640px) {
  .lext-wx__cond { display: none; }
  .lext-wx { padding: 0.25rem 0.5rem; font-size: 0.78rem; }
}


/* ========== Weather chip in masthead (always visible, top-right) ========== */
.lext-masthead {
  position: relative;
}
.lext-wx--masthead {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .lext-wx--masthead {
  background: rgba(0, 0, 0, 0.04);
}
.lext-wx--masthead .lext-wx__cond { max-width: 16ch; }

@media (max-width: 640px) {
  .lext-wx--masthead {
    top: 0.4rem;
    right: 0.5rem;
    font-size: 0.72rem;
    padding: 0.2rem 0.45rem;
  }
  .lext-wx--masthead .lext-wx__cond { display: none; }
}

/* =================================================================
 * Swiss / minimal redesign overrides — Kentucky blue
 * Squares corners, flattens drop-shadows + hover lifts to hairlines,
 * monospaces the data-chrome (kickers, labels, bylines, pills, tags),
 * and converts the masthead to a flat light/dark bar. Token-driven so
 * it tracks light/dark automatically. Mirrors feeds.lexingtonky.news.
 * ================================================================= */

/* ---- Square every rounded surface ---- */
.lext-sidebar-card,
.lext-sidebar-card--highlight,
.lext-surface,
.lext-explain__tri-cell,
.lext-explain__sources > div,
.lext-explain__feat,
.lext-explain__pipe-step,
.lext-explain__section--code,
.lext-faq,
.lext-agenda-summary,
.lext-agenda-embed,
.lext-about__pull,
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(1),
#pt-cv-view-e0clwql5 > .pt-cv-page > :nth-child(n+2),
#pt-cv-view-4x3aop51 > .pt-cv-page > *,
.lext-article .wp-block-post-featured-image,
.lext-article .wp-block-post-featured-image img,
.lext-related .wp-block-post-featured-image,
.lext-related .wp-block-post-featured-image img,
.wp-block-search__input,
.wp-block-search__button,
.wp-site-blocks .wp-block-button__link,
.lext-article__tags .wp-block-post-terms a,
.lext-article__kicker a,
#pt-cv-view-e0clwql5 .pt-cv-taxoterm *,
#pt-cv-view-4x3aop51 .pt-cv-taxoterm *,
.lext-about__cta,
.lext-faq__hire-cta,
.lext-explain__repo,
.lext-explain__feat-badge,
.lext-explain__tri-cell--live::before,
.superbthemes-footer-001 [style*="border-radius"] {
  border-radius: 0 !important;
}

/* ---- Flatten hover lifts + brightness tricks ---- */
.pt-cv-content-item:hover,
.lext-surface:hover,
.wp-site-blocks .wp-block-button__link:hover,
.lext-about__cta:hover,
.lext-explain__repo:hover,
.lext-faq__hire-cta:hover,
.lext-faq__hire-cta--ghost:hover {
  transform: none !important;
  filter: none !important;
}
#pt-cv-view-e0clwql5 .pt-cv-content-item:hover,
#pt-cv-view-4x3aop51 .pt-cv-content-item:hover {
  box-shadow: 0 0 0 1px var(--lext-rule-strong) !important;
}

/* ---- Monospace data-chrome (kickers / labels / bylines / pills) ---- */
.lext-article__byline,
.lext-footer-grid h6,
.lext-sidebar-card h6,
.lext-about__kicker,
.lext-explain__kicker,
.lext-surface__label,
.lext-about__contact-list span,
.lext-explain__stack-label,
.lext-faq__hire-role,
.lext-faq__hire-stack li strong,
.lext-explain__feat-badge,
.lext-article__tags .wp-block-post-terms a,
#pt-cv-view-e0clwql5 .pt-cv-taxoterm *,
#pt-cv-view-4x3aop51 .pt-cv-taxoterm * {
  font-family: var(--lext-mono) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
}

/* Category kicker on articles: plain Kentucky-blue mono, no pill fill */
.lext-article__kicker a {
  font-family: var(--lext-mono) !important;
  font-weight: 500 !important;
  background: transparent !important;
  color: var(--lext-accent) !important;
  padding: 0 !important;
  letter-spacing: 0.12em !important;
}

/* Taxonomy pills (home cards): keep the soft fill but flatten + mono */
#pt-cv-view-e0clwql5 .pt-cv-taxoterm *,
#pt-cv-view-4x3aop51 .pt-cv-taxoterm * {
  font-size: 10px !important;
  padding: 2px 7px !important;
}

/* ---- Section/related heads: hairline rule instead of heavy bar ---- */
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
main > h3, main h3.pt-cv-header,
.lext-related-head {
  border-bottom-width: 1px !important;
  border-bottom-color: var(--lext-rule) !important;
}

/* ---- Masthead: flat bar (light or dark), hairline separator ---- */
.wp-site-blocks .wp-block-group.has-contrast-dark-background-color {
  background-color: var(--lext-masthead-bg) !important;
  color: var(--lext-masthead-fg) !important;
  border-bottom: 1px solid var(--lext-rule);
}
.wp-site-blocks .wp-block-group.has-contrast-dark-background-color.has-base-color { color: var(--lext-masthead-fg) !important; }

/* Kentucky-blue accent bar under the wordmark (mirrors feeds masthead) */
.lext-masthead__link::after { content: ""; display: block; width: 2.5rem; height: 4px; background: var(--lext-accent); margin: 0.55rem auto 0.1rem; }

/* Search: quiet hairline field on the flat masthead */
.wp-site-blocks .wp-block-search__input {
  background: transparent !important;
  color: var(--lext-masthead-fg) !important;
  border: 1px solid var(--lext-rule-strong) !important;
  font-family: var(--lext-sans) !important;
}
.wp-site-blocks .wp-block-search__input::placeholder { color: var(--lext-muted) !important; }
.wp-site-blocks .wp-block-search__button { background: transparent !important; color: var(--lext-masthead-fg) !important; }

/* Button rows: mono ghost by default, solid Kentucky blue for dashboards */
.wp-site-blocks .wp-block-button__link {
  font-family: var(--lext-mono) !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem !important;
  padding: 0.55rem 1.05rem !important;
  background: transparent !important;
  color: var(--lext-masthead-fg) !important;
  border: 1px solid var(--lext-rule-strong) !important;
}
.wp-site-blocks .wp-block-button__link.has-background {
  background: var(--lext-accent) !important;
  color: #fff !important;
  border-color: var(--lext-accent) !important;
}
.wp-site-blocks .wp-block-button__link:hover {
  background: var(--lext-accent) !important;
  color: #fff !important;
  border-color: var(--lext-accent) !important;
}

/* Sticky compact bar: neutral near-black instead of navy */
.lext-sticky-bar { background: rgba(12,12,12,0.9) !important; }

/* Footer top rule: hairline, not 2px */
.superbthemes-footer-001 { border-top-width: 1px !important; border-top-color: var(--lext-rule) !important; }
