/* Blog pages (/blog/). Loaded only on blog pages, after the site stylesheets. */

.lmb {
  --lmb-red: #be060d;
  --lmb-red-dark: #970409;
  --lmb-ink: #18181b;
  --lmb-text: #34343c;
  --lmb-muted: #6b6b76;
  --lmb-line: #e6e6ea;
  --lmb-soft: #f6f6f8;
  --lmb-tint: #fff4f4;
  --lmb-radius: 14px;
  color: var(--lmb-text);
  background: #fff;
}

.lmb a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.lmb a:focus-visible, .lmb button:focus-visible, .lmb summary:focus-visible, .lmb [tabindex="0"]:focus-visible { outline: 2px solid var(--lmb-red); outline-offset: 2px; border-radius: 4px; }
.lmb h1, .lmb h2, .lmb h3, .lmb h4 { font-family: "Merriweather Sans", "Segoe UI", Roboto, Arial, sans-serif; color: var(--lmb-ink); }
.lmb p { font-family: "Nunito Sans", "Segoe UI", Roboto, Arial, sans-serif; }
/* The site stylesheet title-cases every h2, fixes h2 sizes with !important and centres all
   paragraphs and h3s on phones; long-form reading needs the opposite. */
.lmb h1, .lmb h2, .lmb h3, .lmb h4 { text-transform: none; }
.lmb p, .lmb h2, .lmb h3, .lmb h4, .lmb li { text-align: left; }
.lmb-hero-center p, .lmb-hero-center h1, .lmb-band .lmb-subscribe p { text-align: center; }
.lmb-wrap { position: relative; }
.lmb-narrow { max-width: 860px; }

/* ---------- hero ---------- */
.lmb-hero {
  background: linear-gradient(180deg, #fbf6f6 0%, #fff 100%);
  border-bottom: 1px solid var(--lmb-line);
  padding: 32px 0 36px;
}
.lmb-hero h1 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--lmb-red);
  margin: 16px 0 14px;
  max-width: 900px;
}
.lmb .lmb-dek { font-size: 19px !important; line-height: 1.55 !important; color: var(--lmb-text); max-width: 760px; margin: 0 0 14px; }
.lmb .lmb-reviewed { margin-top: 4px; }
.lmb-hero h1 span { color: var(--lmb-muted); font-weight: 600; font-size: .6em; margin-left: .3em; }
.lmb-hero-center { text-align: center; }
.lmb-hero-center h1, .lmb .lmb-hero-center .lmb-intro { margin-left: auto; margin-right: auto; }
.lmb .lmb-intro { font-size: 19px !important; line-height: 1.6 !important; color: var(--lmb-muted); max-width: 760px; margin: 0 0 22px; }

.lmb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--lmb-muted); }
.lmb-hero-center .lmb-crumbs ol { justify-content: center; }
.lmb-crumbs li { display: inline-flex; align-items: center; max-width: 100%; }
.lmb-crumbs li + li::before { content: "›"; margin: 0 8px; color: #b3b3bb; }
.lmb-crumbs a { color: var(--lmb-muted); }
.lmb-crumbs a:hover { color: var(--lmb-red); }
.lmb-crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; color: #5f5f6a; }

.lmb .lmb-meta { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15px !important; line-height: 1.5 !important; color: var(--lmb-muted); margin: 0; }
.lmb-meta span + span::before { content: "·"; margin: 0 10px; color: #b3b3bb; }
.lmb-meta a { color: var(--lmb-ink); font-weight: 600; }
.lmb-meta a:hover { color: var(--lmb-red); }

/* ---------- search + topics ---------- */
.lmb-search { display: flex; gap: 8px; max-width: 560px; margin: 0 0 18px; }
.lmb-hero-center .lmb-search { margin-left: auto; margin-right: auto; }
.lmb-search input {
  flex: 1; min-width: 0; border: 1px solid #d7d7dd; border-radius: 999px; padding: 11px 18px;
  font-size: 16px; color: var(--lmb-ink); background: #fff;
}
.lmb-search input:focus { outline: 2px solid var(--lmb-red); outline-offset: 1px; border-color: transparent; }
.lmb-search button, .lmb-btn, .lmb-subscribe button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--lmb-red); color: #fff; border: 1px solid var(--lmb-red); border-radius: 999px;
  padding: 11px 22px; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
}
.lmb-search button:hover, .lmb-btn:hover, .lmb-subscribe button:hover { background: var(--lmb-red-dark); border-color: var(--lmb-red-dark); color: #fff; }
.lmb-btn-ghost { background: transparent; color: var(--lmb-red); }
.lmb-btn-ghost:hover { background: var(--lmb-red); color: #fff; }

.lmb-topics ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.lmb-hero-center .lmb-topics ul { justify-content: center; }
.lmb-topics a {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--lmb-line); border-radius: 999px;
  background: #fff; color: var(--lmb-ink); font-size: 14px; font-weight: 600;
}
.lmb-topics a:hover { border-color: var(--lmb-red); color: var(--lmb-red); }
.lmb-topics a[aria-current] { background: var(--lmb-red); border-color: var(--lmb-red); color: #fff; }

/* ---------- article layout ---------- */
.lmb-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 56px; }
.lmb-article { min-width: 0; max-width: 780px; }
.lmb-layout-single .lmb-article { margin: 0 auto; }
.lmb-sidebar { display: none; }
.lmb-feature { margin: 0 0 28px; }
.lmb-feature figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--lmb-muted); }
.lmb-feature img { width: 100%; height: auto; max-height: 420px; object-fit: contain; border-radius: var(--lmb-radius); border: 1px solid var(--lmb-line); background: var(--lmb-soft); }

.lmb-toc { border: 1px solid var(--lmb-line); border-radius: var(--lmb-radius); background: var(--lmb-soft); }
.lmb-toc-inline { margin: 0 0 28px; padding: 0 20px; }
.lmb-toc-inline summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--lmb-ink); }
.lmb-toc-count { font-weight: 400; color: var(--lmb-muted); font-size: 14px; }
.lmb-toc ol { list-style: decimal; margin: 0; padding: 0 0 14px 22px; font-size: 15px; line-height: 1.45; }
.lmb-toc li { margin: 6px 0; padding-left: 4px; }
.lmb-toc li::marker { color: var(--lmb-red); font-weight: 700; }
.lmb-toc a { color: var(--lmb-text); }
.lmb-toc a:hover { color: var(--lmb-red); }
.lmb-toc-side a[aria-current] { color: var(--lmb-red); font-weight: 700; }

/* ---------- article body ---------- */
.lmb-prose { font-family: "Nunito Sans", "Segoe UI", Roboto, Arial, sans-serif; font-size: 18px; line-height: 1.7; color: var(--lmb-text); overflow-wrap: break-word; }
.lmb-prose p { font-size: 18px !important; line-height: 1.7 !important; margin: 0 0 1.1em; }
.lmb-prose h2 { font-size: 28px !important; line-height: 1.3 !important; font-weight: 800 !important; margin: 1.9em 0 .6em; }
.lmb-prose h3 { font-size: 21px; line-height: 1.4; font-weight: 700; margin: 1.6em 0 .5em; }
.lmb-prose h4, .lmb-prose h5 { font-size: 18px; line-height: 1.4; font-weight: 700; margin: 1.4em 0 .4em; color: var(--lmb-ink); }
.lmb-prose h2, .lmb-prose h3, .lmb-prose h4 { scroll-margin-top: 110px; }
.lmb-prose > :first-child { margin-top: 0; }
.lmb-prose ul, .lmb-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.lmb-prose ul { list-style: disc; }
.lmb-prose ol { list-style: decimal; }
.lmb-prose li { margin: .45em 0; padding-left: .2em; }
.lmb-prose li::marker { color: var(--lmb-red); }
.lmb-prose li > p { margin: 0; }
.lmb-prose a { color: var(--lmb-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lmb-prose a:hover { color: var(--lmb-red-dark); }
.lmb-prose strong { color: var(--lmb-ink); font-weight: 700; }
.lmb-prose em { font-style: italic; }
.lmb-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--lmb-red); background: var(--lmb-tint); border-radius: 0 10px 10px 0; }
.lmb-prose blockquote p:last-child { margin-bottom: 0; }
.lmb-prose figure { margin: 1.6em 0; }
.lmb-prose figure img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--lmb-line); }
.lmb-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--lmb-muted); text-align: center; }
.lmb-prose hr { border: 0; border-top: 1px solid var(--lmb-line); margin: 2em 0; }

.lmb-prose .lm-table { margin: 1.5em 0; overflow-x: auto; border: 1px solid var(--lmb-line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.lmb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.lmb-prose th, .lmb-prose td { padding: 10px 14px; border-bottom: 1px solid var(--lmb-line); text-align: left; vertical-align: top; min-width: 9em; }
.lmb-prose th:first-child, .lmb-prose td:first-child { min-width: 3.5em; }
.lmb-prose thead th { background: var(--lmb-tint); color: var(--lmb-ink); font-weight: 700; }
.lmb-prose tbody tr:nth-child(even) td { background: #fafafb; }
.lmb-prose tr:last-child td { border-bottom: 0; }

.lmb-prose .lm-faq { margin: 0 0 1.4em; border-top: 1px solid var(--lmb-line); }
.lmb-prose .lm-faq h3 { font-size: 19px; margin: 0; padding: 18px 0 6px; }
.lmb-prose .lm-faq-a { padding-bottom: 14px; border-bottom: 1px solid var(--lmb-line); }
.lmb-prose .lm-faq-a p:last-child { margin-bottom: 0; }

/* ---------- after the article ---------- */
.lmb-cta { margin: 32px 0 28px; padding: 24px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--lmb-line); border-left: 4px solid var(--lmb-red); }
.lmb .lmb-cta-title { font-family: "Merriweather Sans", "Segoe UI", Roboto, Arial, sans-serif; font-size: 19px !important; line-height: 1.35 !important; font-weight: 800; color: var(--lmb-ink); margin: 0 0 10px; }
.lmb-cta p { font-size: 16px !important; line-height: 1.6 !important; margin: 0 0 16px; }
.lmb-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.lmb .lmb-small { font-size: 14px !important; line-height: 1.5 !important; color: var(--lmb-muted); margin: 0; }
.lmb-small a { color: var(--lmb-red); }

.lmb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--lmb-line); border-bottom: 1px solid var(--lmb-line); }
.lmb-share span { font-weight: 700; color: var(--lmb-ink); font-size: 15px; }
.lmb-share ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.lmb-share a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lmb-line); color: var(--lmb-ink); }
.lmb-share a:hover { background: var(--lmb-red); border-color: var(--lmb-red); color: #fff; }
.lmb .lmb-filed { font-size: 15px !important; color: var(--lmb-muted); margin: 16px 0 0; }
.lmb-filed a { color: var(--lmb-red); font-weight: 700; }

/* ---------- sidebar ---------- */
.lmb-sidebar { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lmb-sidebar > * { margin: 0; }
.lmb-toc-side { padding: 18px 20px 6px; background: #fff; }
.lmb .lmb-box-title { font-family: "Merriweather Sans", "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px !important; line-height: 1.35 !important; font-weight: 800; color: var(--lmb-ink); margin: 0 0 12px; }
.lmb-sidebar .lmb-search { margin: 0; }

.lmb-popular, .lmb-subscribe { border: 1px solid var(--lmb-line); border-radius: var(--lmb-radius); padding: 18px 20px; background: #fff; }
.lmb-popular ol { list-style: none; margin: 0; padding: 0; }
.lmb-popular li + li { border-top: 1px solid var(--lmb-line); }
.lmb-popular a { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--lmb-ink); font-weight: 700; font-size: 15px; line-height: 1.4; }
.lmb-popular a:hover { color: var(--lmb-red); }
.lmb-popular img { width: 72px; height: auto; flex: 0 0 72px; border-radius: 8px; border: 1px solid var(--lmb-line); }

.lmb-subscribe form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.lmb-subscribe input[type="email"] { border: 1px solid #d7d7dd; border-radius: 999px; padding: 11px 18px; font-size: 16px; color: var(--lmb-ink); }
.lmb-subscribe input[type="email"]:focus { outline: 2px solid var(--lmb-red); outline-offset: 1px; border-color: transparent; }

.lmb-more { padding: 40px 0 56px; border-top: 1px solid var(--lmb-line); }
.lmb-more-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lmb-more-side { display: flex; flex-direction: column; gap: 20px; }
.lmb-more-side .lmb-search { margin: 0; max-width: none; }
.lmb-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lmb-promos img { width: 100%; height: auto; border-radius: 12px; }

/* ---------- lists, cards and sections ---------- */
.lmb-section { padding: 48px 0; }
.lmb-section-alt, .lmb-related { background: var(--lmb-soft); }
.lmb-related { padding: 48px 0 56px; border-top: 1px solid var(--lmb-line); }
.lmb-section h2, .lmb-related h2 { font-size: 28px !important; line-height: 1.3 !important; font-weight: 800 !important; margin: 0 0 24px; }
.lmb .lmb-count { font-size: 16px !important; color: var(--lmb-muted); margin: 0 0 20px; }

.lmb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lmb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lmb-line); border-radius: var(--lmb-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.lmb-card:hover { box-shadow: 0 12px 28px rgba(24, 24, 27, .09); transform: translateY(-2px); }
.lmb-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lmb-soft); border-bottom: 1px solid var(--lmb-line); }
.lmb-card-img img { width: 100%; height: 100%; object-fit: cover; }
.lmb-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.lmb-card-cat { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lmb-red); margin-bottom: 8px; }
.lmb-card-cat:hover { color: var(--lmb-red-dark); }
.lmb .lmb-card-title { font-size: 19px !important; line-height: 1.35 !important; font-weight: 800 !important; margin: 0 0 8px; }
.lmb-card-title a { color: var(--lmb-ink); }
.lmb-card-title a:hover { color: var(--lmb-red); }
.lmb .lmb-card-excerpt { font-size: 15.5px !important; line-height: 1.55 !important; color: var(--lmb-muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lmb .lmb-card-meta { margin: auto 0 0; font-size: 13px !important; line-height: 1.4 !important; color: #5f5f6a; font-weight: 600; }

.lmb-topic-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lmb-topic { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: #fff; border: 1px solid var(--lmb-line); border-radius: var(--lmb-radius); }
.lmb-topic:hover { border-color: var(--lmb-red); box-shadow: 0 8px 20px rgba(190, 6, 13, .08); }
.lmb-topic-name { font-family: "Merriweather Sans", "Segoe UI", Roboto, Arial, sans-serif; font-weight: 800; font-size: 18px; color: var(--lmb-ink); }
.lmb-topic-desc { font-size: 15px; line-height: 1.5; color: var(--lmb-muted); }
.lmb-topic-count { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--lmb-red); }

.lmb-pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 36px 0 0; padding: 0; }
.lmb-pages a, .lmb-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--lmb-line); border-radius: 10px; color: var(--lmb-ink); font-weight: 700; font-size: 15px; background: #fff; }
.lmb-pages a:hover { border-color: var(--lmb-red); color: var(--lmb-red); }
.lmb-pages span[aria-current] { background: var(--lmb-red); border-color: var(--lmb-red); color: #fff; }

.lmb-band { background: var(--lmb-tint); border-top: 1px solid #f5cfd1; }
.lmb-band-inner { display: flex; justify-content: center; }
.lmb-band .lmb-subscribe { width: 100%; max-width: 560px; text-align: center; border-color: #f5cfd1; }
.lmb-band .lmb-subscribe form { flex-direction: row; }
.lmb-band .lmb-subscribe input[type="email"] { flex: 1; min-width: 0; }

/* ---------- breakpoints ---------- */
@media (min-width: 720px) {
  .lmb-grid-3, .lmb-grid-4, .lmb-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- author box and author page ---------- */
.lmb-author { display: flex; gap: 16px; align-items: flex-start; margin: 24px 0 0; padding: 20px; border: 1px solid var(--lmb-line); border-radius: var(--lmb-radius); background: #fff; }
.lmb-author img { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.lmb .lmb-author-name { font-size: 17px !important; font-weight: 800; color: var(--lmb-ink); margin: 0; }
.lmb-author-name a { color: var(--lmb-ink); }
.lmb-author-name a:hover { color: var(--lmb-red); }
.lmb .lmb-author-role { font-size: 14.5px !important; color: var(--lmb-red); font-weight: 700; margin: 2px 0 6px; }
.lmb .lmb-author-bio { font-size: 15.5px !important; line-height: 1.55 !important; margin: 0; }
.lmb-author-photo { display: block; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 12px auto 10px; }
.lmb-hero-center .lmb-author-role { text-align: center; }
.lmb .lmb-author-links { margin: 8px 0 0; font-size: 15px !important; font-weight: 700; }
.lmb-author-links a { color: var(--lmb-red); text-decoration: underline; text-underline-offset: 3px; }
.lmb-hero-center .lmb-author-links { text-align: center; margin-top: 14px; }
.lmb .lmb-section-title { font-size: 24px !important; margin: 0 0 20px; }

/* ---------- quick answer (top of selected articles) ---------- */
.lmb-answer { margin: 0 0 28px; padding: 20px 24px; border-left: 4px solid var(--lmb-red); border-radius: 0 14px 14px 0; background: var(--lmb-tint); }
.lmb .lmb-answer-kicker { font-size: 12.5px !important; line-height: 1.4 !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lmb-red); margin: 0 0 6px; }
.lmb .lmb-answer h2 { font-size: 21px !important; line-height: 1.35 !important; font-weight: 800 !important; margin: 0 0 8px; }
.lmb .lmb-answer p { font-size: 17px !important; line-height: 1.6 !important; margin: 0 0 8px; }
.lmb-answer ul, .lmb-answer ol { margin: 6px 0 0; padding-left: 1.3em; }
.lmb-answer ul { list-style: disc; } .lmb-answer ol { list-style: decimal; }
.lmb-answer li { margin: 4px 0; font-size: 16.5px; line-height: 1.5; }
.lmb-answer li::marker { color: var(--lmb-red); }

/* ---------- free download (in-article box and sidebar card) ---------- */
.lmb-magnet { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 36px 0; padding: 24px; border-radius: 18px; background: var(--lmb-soft); border: 1px solid var(--lmb-line); scroll-margin-top: 110px; }
.lmb-magnet-cover { display: block; width: 150px; height: auto; border-radius: 6px; box-shadow: 0 8px 22px rgba(24, 24, 27, .16); background: #fff; }
.lmb .lmb-magnet-kicker { display: block; font-size: 13px !important; line-height: 1.4 !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lmb-red); margin: 0 0 6px; }
.lmb .lmb-magnet-title { font-family: "Merriweather Sans", "Segoe UI", Roboto, Arial, sans-serif; font-size: 22px !important; line-height: 1.3 !important; font-weight: 800; color: var(--lmb-ink); margin: 0 0 8px; }
.lmb .lmb-magnet-text { font-size: 16.5px !important; line-height: 1.55 !important; margin: 0 0 16px; }
.lmb-magnet-grid { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.lmb-magnet .lm-field { margin-bottom: 12px; }
.lmb-magnet input[type="text"], .lmb-magnet input[type="email"], .lmb-magnet input[type="tel"] { border: 1px solid #d7d7dd; border-radius: 10px; padding: 11px 14px; background: #fff; color: var(--lmb-ink); }
.lmb-magnet .lm-consent { margin-bottom: 14px; font-size: 13.5px; }
.lmb-magnet .lm-consent label { margin: 0; font-size: 13.5px; line-height: 1.45; }
.lmb-magnet .lmb-btn { width: 100%; }
.lmb .lmb-magnet .lm-form-status { font-size: 15px !important; line-height: 1.5 !important; text-align: left; margin: 12px 0 0; }
.lmb-magnet .lm-form-status a { color: inherit; font-weight: 700; text-decoration: underline; }
@media (min-width: 600px) {
  .lmb-magnet { grid-template-columns: 150px minmax(0, 1fr); align-items: start; padding: 28px; gap: 26px; }
  .lmb-magnet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  .lmb-magnet-cover { width: 120px; margin: 0 auto; }
}

@media (min-width: 1024px) {
  .lmb-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .lmb-toc-inline { display: none; }
  .lmb-toc-side { display: block; }
  .lmb-grid-3, .lmb-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1140px) {
  .lmb-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lmb-grid-4 .lmb-card-excerpt { -webkit-line-clamp: 2; }
}
@media (max-width: 959.98px) {
  /* the site header is fixed at this width */
  .lmb-hero { padding-top: 88px; }
}
@media (max-width: 719.98px) {
  .lmb-hero { padding-bottom: 28px; }
  .lmb-hero h1 { font-size: 28px; }
  .lmb .lmb-intro { font-size: 17px !important; }
  .lmb-prose, .lmb-prose p { font-size: 17px !important; line-height: 1.65 !important; }
  .lmb-prose h2 { font-size: 24px !important; }
  .lmb-prose h3 { font-size: 19px; }
  .lmb-section h2, .lmb-related h2 { font-size: 24px !important; }
  .lmb-layout { padding-top: 24px; gap: 32px; }
  .lmb-cta { padding: 22px; }
  /* The last crumb repeats the H1 directly below it; phones show the path only. */
  .lmb-post .lmb-crumbs li:last-child { display: none; }
  .lmb-feature img { max-height: 210px; }
  .lmb-band .lmb-subscribe form { flex-direction: column; }
  .lmb .lmb-meta { gap: 4px 14px; }
  .lmb-meta span + span::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lmb-card, .lmb a { transition: none; }
  .lmb-card:hover { transform: none; }
}

/* ---------- optional article sections ---------- */
.lmb-takeaways { margin: 0 0 28px; padding: 20px 24px; border: 1px solid var(--lmb-line); border-radius: var(--lmb-radius); background: #fff; }
.lmb .lmb-takeaways h2 { font-size: 19px !important; line-height: 1.35 !important; font-weight: 800 !important; margin: 0 0 8px; }
.lmb-takeaways ul { list-style: disc; margin: 0; padding-left: 1.3em; }
.lmb-takeaways li { margin: 6px 0; font-size: 16.5px; line-height: 1.55; }
.lmb-takeaways li::marker { color: var(--lmb-red); }
.lmb-refs { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--lmb-line); }
.lmb .lmb-refs h2 { font-size: 19px !important; line-height: 1.35 !important; font-weight: 800 !important; margin: 0 0 10px; }
.lmb-refs ol { list-style: decimal; margin: 0; padding-left: 1.4em; font-size: 15.5px; line-height: 1.55; }
.lmb-refs li { margin: 6px 0; }
.lmb-refs a { color: var(--lmb-red); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lmb-refs li span { color: var(--lmb-muted); }

@media (min-width: 900px) {
  .lmb-more-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px; }
}
@media (min-width: 1024px) {
  .lmb-layout-single { grid-template-columns: minmax(0, 1fr); }
  .lmb-sidebar { display: block; }
  /* The table of contents follows the reader; long lists scroll inside it instead of running off-screen. */
  .lmb-toc-side { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: contain; }
}

