/* =====================================================================
   The Lets Manage Brief — brief.css
   News pages only (.lmb). Does not restyle site header or footer.
   Type sizes are px / clamp(px) so theme rem shrink at 1366 cannot shrink news.
   ===================================================================== */
:root {
  --lmb-paper: #faf8f3;
  --lmb-paper-2: #f2eee3;
  --lmb-ink: #111111;
  --lmb-text: #222222;
  --lmb-muted: #5b5b5b;
  --lmb-hair: #e3ddd0;
  --lmb-rule: #111111;
  --lmb-blue: #1d4ed8;
  --lmb-blue-600: #2563eb;
  --lmb-navy: #0f172a;
  --lmb-why-bg: #dcfce7;
  --lmb-why-fg: #166534;
  --lmb-ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --lmb-ff-serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --lmb-ff-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lmb-s1: 4px; --lmb-s2: 8px; --lmb-s3: 12px; --lmb-s4: 16px;
  --lmb-s5: 24px; --lmb-s6: 32px; --lmb-s7: 48px; --lmb-s8: 64px;
  --lmb-container: 1240px;
  --lmb-gutter: 16px;
  --lmb-gap: 24px;
  --lmb-paper-grain: 1;
  --lmb-header-fallback: 72px;
  --lmb-bar-fallback: 66px;
  --lmb-air: 8px;
  --lmb-header-h: var(--site-header-h, var(--lmb-header-fallback));
  --lmb-bar-h: var(--site-bottom-bar-h, var(--lmb-bar-fallback));
  --lmb-chat-clear: 84px;
  --lmb-focus: 0 0 0 2px var(--lmb-paper), 0 0 0 4px var(--lmb-blue);
}
@media (min-width: 1024px) {
  :root {
    --lmb-header-fallback: 76px;
    --lmb-bar-fallback: 0px;
    --lmb-gutter: 32px;
    --lmb-gap: 32px;
  }
}
@media (min-width: 1440px) {
  :root { --lmb-container: 1320px; }
}

/* ---------- Page chrome clearance (fixed header / bottom bar) ---------- */
body.lmb,
body.has-lmb {
  margin: 0;
  padding-top: calc(var(--lmb-header-h) + var(--lmb-air));
  padding-bottom: calc(var(--lmb-bar-h) + env(safe-area-inset-bottom, 0px));
  background: #f3f0e8;
  color: var(--lmb-ink);
}
@media (max-width: 1023px) {
  body.lmb footer,
  body.has-lmb footer {
    padding-bottom: var(--lmb-chat-clear);
  }
  html.lmb-at-top body.lmb #lm-chat-widget,
  html.lmb-at-top body.has-lmb #lm-chat-widget {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
  }
  body.lmb #lm-chat-widget,
  body.has-lmb #lm-chat-widget {
    bottom: calc(var(--lmb-bar-h, 66px) + 16px + env(safe-area-inset-bottom, 0px)) !important;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
}
.lmb h1, .lmb h2, .lmb h3, .lmb [id],
.has-lmb h1, .has-lmb h2, .has-lmb h3, .has-lmb [id] {
  scroll-margin-top: calc(var(--lmb-header-h) + 16px);
}

/* ---------- Paper surface + grain ---------- */
.lmb-shell {
  position: relative;
  isolation: isolate;
  background-color: var(--lmb-paper);
  color: var(--lmb-text);
  font-family: var(--lmb-ff-ui);
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: var(--lmb-s8);
}
.lmb-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: calc(0.045 * var(--lmb-paper-grain, 1));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}
.lmb-shell > * { position: relative; z-index: 1; }

.lmb-container {
  width: 100%;
  max-width: var(--lmb-container);
  margin: 0 auto;
  padding: 0 var(--lmb-gutter);
}
.lmb-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;
}
.lmb-skip {
  position: absolute; left: -999px; top: 8px; background: #fff; color: #111;
  padding: 8px 14px; border-radius: 8px; z-index: 10001;
}
.lmb-skip:focus { left: 8px; }
.lmb a:focus-visible,
.lmb button:focus-visible,
.lmb summary:focus-visible {
  outline: none; box-shadow: var(--lmb-focus); border-radius: 2px;
}

/* ---------- Masthead ---------- */
.lmb-mast {
  text-align: center;
  padding: var(--lmb-s5) 0 var(--lmb-s4);
  border-bottom: 1px solid var(--lmb-hair);
}
/* Site breadcrumb is moved after [data-lm-hero] masthead — keep it on paper */
.lmb-shell > .lmb-container > #lm-breadcrumb-root,
.lmb-shell .lm-breadcrumb-root {
  margin: 0 0 var(--lmb-s4);
}
.lmb-shell .lm-breadcrumb-wrap {
  background: transparent;
  border-bottom: 1px solid var(--lmb-hair);
  box-shadow: none;
}
.lmb-shell .lm-breadcrumb-inner {
  max-width: none;
  padding: 12px 0;
}
.lmb-shell .lm-breadcrumb-wrap::before {
  display: none;
}
.lmb-nameplate {
  font-family: var(--lmb-ff-display);
  font-weight: 800;
  font-size: clamp(32px, 19px + 3.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--lmb-s3);
  color: var(--lmb-ink);
}
.lmb-nameplate a { color: inherit; text-decoration: none; }
.lmb-np-the {
  font-family: var(--lmb-ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  margin-right: 0.28em;
  vertical-align: 0.28em;
}
.lmb-np-accent { color: var(--lmb-blue); }
.lmb-motto {
  font-family: var(--lmb-ff-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--lmb-muted);
  margin: 0 auto var(--lmb-s4);
  max-width: 48ch;
}
.lmb-edition {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 0;
  padding: 10px 0 0;
  border-top: 2px solid var(--lmb-rule);
  font-family: var(--lmb-ff-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lmb-ink);
}
.lmb-edition > * {
  padding: 0 12px;
  border-left: 1px solid var(--lmb-hair);
}
.lmb-edition > *:first-child { border-left: 0; }
.lmb-mast--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--lmb-s2) var(--lmb-s4);
  text-align: left;
  padding: var(--lmb-s4) 0;
}
.lmb-mast--compact .lmb-nameplate {
  font-size: clamp(24px, 18px + 1.4vw, 36px);
  margin: 0;
}
.lmb-mast--compact .lmb-edition {
  border-top: 0;
  padding: 0;
  justify-content: flex-start;
}

/* Tag / category listing topic (visible H1; nameplate stays a wordmark) */
.lmb-listing-head {
  margin: var(--lmb-s4) 0 0;
  text-align: left;
  max-width: 52rem;
}
.lmb-listing-h1 {
  font-family: var(--lmb-ff-display);
  font-weight: 800;
  font-size: clamp(26px, 18px + 1.8vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--lmb-s2);
  color: var(--lmb-ink);
}
.lmb-listing-intro {
  font-family: var(--lmb-ff-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lmb-muted);
  margin: 0;
  max-width: 48ch;
}

/* ---------- Section tabs ---------- */
.lmb-tabs {
  position: relative;
  margin: var(--lmb-s4) 0 var(--lmb-s5);
  border-bottom: 1px solid var(--lmb-hair);
}
.lmb-tabs ul {
  list-style: none;
  margin: 0;
  padding: 0 0 2px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lmb-tabs ul::-webkit-scrollbar { display: none; }
.lmb-tabs li { flex: 0 0 auto; scroll-snap-align: start; }
.lmb-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--lmb-ink);
  white-space: nowrap;
}
.lmb-tabs a:hover { background: rgba(29, 78, 216, 0.08); }
.lmb-tabs a[aria-current="page"] {
  background: var(--lmb-blue);
  color: #fff;
}
.lmb-tabs::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 2px; width: 40px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250,248,243,0), var(--lmb-paper));
}
@media (min-width: 768px) {
  .lmb-tabs ul {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
  .lmb-tabs::after { display: none; }
}

/* ---------- Cards / grids ---------- */
.lmb-kicker {
  font-family: var(--lmb-ff-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lmb-blue);
  text-decoration: none;
}
.lmb-kicker a { color: inherit; text-decoration: none; }
.lmb-meta {
  font-family: var(--lmb-ff-ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--lmb-muted);
  text-transform: uppercase;
}
.lmb-sum {
  font-family: var(--lmb-ff-serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--lmb-text);
  margin: 0;
}
.lmb-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lmb-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--lmb-paper-2);
  border-radius: 6px;
}
.lmb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lmb-thumb--fallback {
  display: grid;
  place-items: center;
  font-family: var(--lmb-ff-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--lmb-ink);
  text-decoration: none;
}
.lmb-card {
  position: relative;
  background: transparent;
}
.lmb-card .lmb-title a {
  color: inherit;
  text-decoration: none;
}
.lmb-card .lmb-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.lmb-card .lmb-kicker { position: relative; z-index: 2; }
.lmb-card--grid {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lmb-hair);
  border-radius: 10px;
  background: rgba(255,255,255,0.55);
  overflow: hidden;
}
.lmb-card--grid .lmb-thumb { border-radius: 0; }
.lmb-card--grid .lmb-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex: 1;
}
.lmb-card--grid .lmb-title {
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
  color: var(--lmb-ink);
  text-wrap: balance;
}
.lmb-card--grid .lmb-meta { margin-top: auto; }

.lmb-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--lmb-gap);
}
@media (min-width: 640px) {
  .lmb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmb-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lmb-grid > li:last-child:nth-child(odd) .lmb-card--grid { flex-direction: row; }
  .lmb-grid > li:last-child:nth-child(odd) .lmb-card--grid .lmb-thumb {
    flex: 0 0 50%;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 140px;
  }
}
@media (min-width: 1024px) {
  .lmb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lmb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lmb-grid > li:last-child:nth-child(odd) { grid-column: auto; }
  .lmb-grid > li:last-child:nth-child(odd) .lmb-card--grid { flex-direction: column; }
  .lmb-grid > li:last-child:nth-child(odd) .lmb-card--grid .lmb-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* ---------- Listing: top row ---------- */
.lmb-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--lmb-s3);
  margin: var(--lmb-s7) 0 var(--lmb-s4);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lmb-rule);
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--lmb-ink);
}
.lmb-sechead a {
  font-family: var(--lmb-ff-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lmb-blue);
  text-decoration: none;
}
.lmb-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--lmb-gap);
  margin-top: var(--lmb-s5);
}
@media (min-width: 1024px) {
  .lmb-top {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }
}
.lmb-lead {
  display: grid;
  gap: var(--lmb-s4);
}
.lmb-lead .lmb-title {
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: clamp(26px, 17.6px + 2.1vw, 42px);
  line-height: 1.12;
  margin: 0;
  color: var(--lmb-ink);
  text-wrap: balance;
}
.lmb-lead .lmb-title a { color: inherit; text-decoration: none; }
.lmb-lead .lmb-sum {
  font-size: clamp(16px, 15px + 0.3vw, 18px);
  line-height: 1.55;
  max-width: 62ch;
}
.lmb-rail {
  display: grid;
  gap: var(--lmb-s4);
}
.lmb-rail-label {
  font-family: var(--lmb-ff-ui);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lmb-muted);
  margin: 0;
}
.lmb-rail-card {
  display: grid;
  gap: 10px;
  padding-bottom: var(--lmb-s4);
  border-bottom: 1px solid var(--lmb-hair);
}
.lmb-rail-card:last-child { border-bottom: 0; padding-bottom: 0; }
.lmb-rail-card .lmb-title {
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  margin: 0;
}
.lmb-rail-card .lmb-title a { color: inherit; text-decoration: none; }
@media (min-width: 640px) and (max-width: 1023px) {
  .lmb-rail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .lmb-rail-label { grid-column: 1 / -1; }
}

/* ---------- Browse by section ---------- */
.lmb-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--lmb-gap);
  margin-top: var(--lmb-s6);
}
@media (min-width: 640px) {
  .lmb-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lmb-sections { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.lmb-secblock {
  border-top: 2px solid var(--lmb-rule);
  padding-top: var(--lmb-s3);
}
.lmb-secblock h3 {
  font-family: var(--lmb-ff-ui);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 var(--lmb-s3);
  color: var(--lmb-blue);
}
.lmb-secblock ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lmb-secblock a {
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--lmb-ink);
  text-decoration: none;
}
.lmb-secblock time {
  display: block;
  margin-top: 4px;
  font-family: var(--lmb-ff-ui);
  font-size: 11.5px;
  color: var(--lmb-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lmb-secblock .lmb-viewall {
  display: inline-block;
  margin-top: var(--lmb-s3);
  font-family: var(--lmb-ff-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lmb-blue);
  text-decoration: none;
}
.lmb-desknote {
  margin: var(--lmb-s7) 0 0;
  padding-top: var(--lmb-s4);
  border-top: 1px solid var(--lmb-hair);
  font-family: var(--lmb-ff-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--lmb-muted);
}
.lmb-desknote a { color: var(--lmb-blue); }

/* ---------- Pager ---------- */
.lmb-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: var(--lmb-s6);
  padding: 12px 0;
  border-top: 1px solid var(--lmb-rule);
  border-bottom: 1px solid var(--lmb-rule);
  font-family: var(--lmb-ff-ui);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lmb-pager ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.lmb-pager a { color: var(--lmb-blue); text-decoration: none; }
.lmb-pager [aria-current="page"] { font-weight: 800; color: var(--lmb-ink); }
.lmb-pager .is-disabled { color: #a8a29e; }

/* ---------- Article ---------- */
.lmb-ahead { max-width: none; margin: 0 0 var(--lmb-s5); text-align: left; }
.lmb-ahead .lmb-kicker { display: inline-block; margin-bottom: 10px; }
.lmb-ahead h1 {
  font-family: var(--lmb-ff-display);
  font-weight: 800;
  font-size: clamp(30px, 19px + 2.6vw, 52px);
  line-height: 1.12;
  color: var(--lmb-ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.lmb-standfirst {
  font-family: var(--lmb-ff-serif);
  font-size: clamp(17px, 16px + 0.35vw, 21px);
  line-height: 1.55;
  text-align: left;
  max-width: 62ch;
  margin: 0 0 24px;
  color: var(--lmb-text);
}
.lmb-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-family: var(--lmb-ff-ui);
  font-size: 13px;
  color: var(--lmb-muted);
}
.lmb-byline img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.lmb-byline b { color: var(--lmb-ink); font-weight: 700; }

.lmb-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: var(--lmb-s4);
}
@media (min-width: 1024px) {
  .lmb-article {
    /* Fill the row — no middle gutter blank from space-between + fixed 700px */
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }
}
@media (min-width: 1280px) {
  .lmb-article {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
  }
}
.lmb-main { min-width: 0; }
.lmb-aside {
  min-width: 0;
  display: grid;
  gap: var(--lmb-s4);
  align-content: start;
}
@media (min-width: 1024px) {
  .lmb-aside {
    position: sticky;
    top: calc(var(--lmb-header-h) + 16px);
    align-self: start;
    /* Do not max-height/overflow — that cropped Key points / Recommended */
  }
}
.lmb-aside .lmb-panel,
.lmb-aside .lmb-reco {
  width: 100%;
}
.lmb-hero { margin: 0 0 var(--lmb-s5); }
.lmb-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.lmb-hero figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 8px;
  font-family: var(--lmb-ff-ui);
  font-size: 12.5px;
  color: var(--lmb-muted);
}
.lmb-answer {
  font-family: var(--lmb-ff-serif);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 var(--lmb-s5);
  padding: 14px 16px;
  border-left: 3px solid var(--lmb-blue);
  background: rgba(37, 99, 235, 0.06);
  border-radius: 0 8px 8px 0;
}
.lmb-answer strong {
  font-family: var(--lmb-ff-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lmb-blue);
}
.lmb-prose {
  font-family: var(--lmb-ff-serif);
  font-size: 17px;
  line-height: 1.72;
  text-align: left;
  color: var(--lmb-text);
  hyphens: manual;
}
@media (min-width: 1024px) {
  .lmb-prose { font-size: 18px; }
}
.lmb-prose p,
.lmb-prose li { text-align: left; }
.lmb-prose a { color: var(--lmb-blue); }
.lmb-prose h2 {
  font-family: var(--lmb-ff-display);
  font-weight: 800;
  font-size: clamp(22px, 18px + 0.7vw, 28px);
  line-height: 1.2;
  color: var(--lmb-ink);
  margin: 1.6em 0 0.7em;
  padding-top: 0.6em;
  border-top: 1px solid var(--lmb-rule);
}
.lmb-prose h3 {
  font-family: var(--lmb-ff-ui);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lmb-blue);
  margin: 1.2em 0 0.4em;
}
.lmb-prose p:first-of-type::first-letter {
  font-family: var(--lmb-ff-display);
  font-weight: 900;
  float: left;
  font-size: 4.2em;
  line-height: 0.8;
  padding: 0.05em 0.08em 0 0;
  color: var(--lmb-ink);
}
.lmb-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  font-family: var(--lmb-ff-ui);
  font-size: 14.4px;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.lmb-prose th,
.lmb-prose td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--lmb-hair);
  vertical-align: top;
}

.lmb-panel,
.lmb-box {
  border: 1px solid var(--lmb-hair);
  border-radius: 10px;
  background: rgba(255,255,255,0.65);
  padding: 18px;
}
.lmb-panel h2,
.lmb-box h2 {
  font-family: var(--lmb-ff-display);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--lmb-ink);
}
.lmb-box--impact {
  margin: var(--lmb-s6) 0;
  font-family: var(--lmb-ff-serif);
  font-size: 17px;
  line-height: 1.6;
}
.lmb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: lmbstep;
}
.lmb-steps > li {
  counter-increment: lmbstep;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
.lmb-steps > li::before {
  content: counter(lmbstep);
  grid-column: 1;
  grid-row: 1 / -1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lmb-blue);
  color: #fff;
  font: 700 14px/32px var(--lmb-ff-ui);
  text-align: center;
}
.lmb-steps > li > .lmb-steps-body,
.lmb-steps > li > * {
  grid-column: 2;
  min-width: 0;
}
.lmb-steps-body {
  display: block;
}
.lmb-steps strong {
  display: block;
  font-family: var(--lmb-ff-ui);
  font-size: 15px;
  line-height: 1.35;
  color: var(--lmb-ink);
  margin: 4px 0 6px;
}
.lmb-steps p {
  margin: 0;
  font-family: var(--lmb-ff-serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--lmb-text);
  max-width: none;
  width: 100%;
}
.lmb-note {
  margin-top: 14px;
  font-family: var(--lmb-ff-ui);
  font-size: 13px;
  color: var(--lmb-muted);
}

.lmb-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: var(--lmb-s6) 0;
  padding: 24px;
  border-radius: 10px;
  background: var(--lmb-navy);
  color: #fff;
}
.lmb-cta h2 {
  font-family: var(--lmb-ff-display);
  font-size: 20px;
  margin: 0 0 4px;
  color: #fff;
}
.lmb-cta p { margin: 0; color: #cbd5e1; font-family: var(--lmb-ff-ui); font-size: 14px; }
.lmb-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lmb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--lmb-navy);
  font: 700 14.4px var(--lmb-ff-ui);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}
.lmb-btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.lmb-faq { margin: var(--lmb-s6) 0; }
.lmb-faq h2 {
  font-family: var(--lmb-ff-display);
  font-size: 22px;
  margin: 0 0 12px;
}
.lmb-faq details {
  border-top: 1px solid var(--lmb-hair);
  padding: 4px 0;
}
.lmb-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--lmb-ink);
  position: relative;
}
.lmb-faq summary::-webkit-details-marker { display: none; }
.lmb-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--lmb-blue);
  font-family: var(--lmb-ff-ui);
  font-size: 20px;
}
.lmb-faq details[open] summary::after { content: "–"; }
.lmb-faq details > div,
.lmb-faq details > p {
  padding: 0 0 14px;
  font-family: var(--lmb-ff-serif);
  font-size: 16.5px;
  line-height: 1.6;
}

.lmb-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: var(--lmb-s5) 0;
  padding: 12px 0;
  border-top: 1px solid var(--lmb-rule);
  border-bottom: 1px solid var(--lmb-hair);
  font-family: var(--lmb-ff-ui);
  font-size: 13px;
}
.lmb-tags > span { font-weight: 700; color: var(--lmb-muted); margin-right: 4px; }
.lmb-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--lmb-hair);
  border-radius: 999px;
  background: #fff;
  color: var(--lmb-ink);
  text-decoration: none;
}

.lmb-sources { margin: var(--lmb-s5) 0; }
.lmb-sources h2 {
  font-family: var(--lmb-ff-ui);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.lmb-sources ol {
  margin: 0;
  padding-left: 1.4em;
  display: grid;
  gap: 8px;
  font-family: var(--lmb-ff-serif);
  font-size: 15px;
  line-height: 1.5;
}
.lmb-sources a { color: var(--lmb-blue); }
.lmb-rewrite {
  margin-top: 12px;
  font-family: var(--lmb-ff-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--lmb-muted);
}

.lmb-keypoints ul {
  list-style: disc;
  padding-left: 1.1em;
  margin: 0;
  display: grid;
  gap: 12px;
  font-family: var(--lmb-ff-serif);
  font-size: 15px;
  line-height: 1.45;
}
.lmb-onpage { display: none; }
@media (min-width: 1024px) {
  .lmb-onpage { display: block; }
}
.lmb-onpage ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.lmb-onpage a {
  font-family: var(--lmb-ff-ui);
  font-size: 13.5px;
  color: var(--lmb-ink);
  text-decoration: none;
}
.lmb-onpage a:hover { color: var(--lmb-blue); }

.lmb-related { margin-top: var(--lmb-s8); }

/* ---------- Recommendations ---------- */
.lmb-reco-note {
  font-family: var(--lmb-ff-ui);
  font-size: 12.5px;
  color: var(--lmb-muted);
  margin: 0 0 12px;
}
.lmb-reco-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.lmb-reco-item {
  border-top: 1px solid var(--lmb-hair);
  padding: 12px 0;
}
.lmb-reco-item:first-child { border-top: 0; padding-top: 0; }
.lmb-reco-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.lmb-reco-link img {
  width: 72px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--lmb-paper-2);
}
.lmb-reco-kicker {
  display: block;
  font-family: var(--lmb-ff-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lmb-blue);
  margin-bottom: 4px;
}
.lmb-reco-title {
  display: block;
  font-family: var(--lmb-ff-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color: var(--lmb-ink);
}
.lmb-why {
  display: inline-flex;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--lmb-ff-ui);
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--lmb-muted);
}
.lmb-why--match {
  background: var(--lmb-why-bg);
  color: var(--lmb-why-fg);
}
.lmb-reco-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
}
.lmb-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--lmb-blue);
  font: 600 13px var(--lmb-ff-ui);
  text-decoration: underline;
  cursor: pointer;
}
.lmb-reco-status {
  font-family: var(--lmb-ff-ui);
  font-size: 12.5px;
  color: var(--lmb-muted);
}
.lmb-reco--row .lmb-reco-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--lmb-gap);
}
@media (min-width: 640px) {
  .lmb-reco--row .lmb-reco-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lmb-reco--row .lmb-reco-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.lmb-reco--row .lmb-reco-item {
  border: 1px solid var(--lmb-hair);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.55);
}
.lmb-reco--row .lmb-reco-link {
  grid-template-columns: 1fr;
  gap: 0;
}
.lmb-reco--row .lmb-reco-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.lmb-reco--row .lmb-reco-text { padding: 12px 14px 14px; }

.lmb-empty {
  text-align: center;
  padding: var(--lmb-s8) var(--lmb-s4);
}
.lmb-empty h2 {
  font-family: var(--lmb-ff-display);
  font-size: 28px;
  margin: 0 0 8px;
}

@media (max-width: 639px) {
  .lmb-aside .lmb-reco--sidebar { order: 2; }
}
