:root {
  --lh-ink: #0b1220;
  --lh-muted: #5f6b7a;
  --lh-line: #e7ebf1;
  --lh-soft: #f6f8fb;
  --lh-panel: #eef4ff;
  --lh-brand: #2457e6;
  --lh-brand-dark: #173aa6;
  --lh-warm: #f4a629;
  --lh-white: #ffffff;
  --lh-radius: 18px;
  --lh-shadow: 0 14px 40px rgba(15, 23, 42, .08);
  --lh-wrap: 1180px;
}

.home .site.grid-container { max-width: none; }
.home .site-content { display: block; padding: 0; }
.home .content-area { width: 100%; }
.home .site-main { margin: 0; }
.home .inside-article { padding: 0; }
.home #primary { width: 100%; float: none; }
.home #right-sidebar, .home #left-sidebar { display: none; }

.lh-home { color: var(--lh-ink); background: var(--lh-white); }
.lh-wrap { width: min(calc(100% - 40px), var(--lh-wrap)); margin-inline: auto; }
.lh-home *, .lh-home *::before, .lh-home *::after { box-sizing: border-box; }
.lh-home a { color: inherit; text-decoration: none; }
.lh-home img { display: block; width: 100%; height: 100%; object-fit: cover; }

.lh-hero { padding: 42px 0 32px; background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 52%, #fff9ef 100%); border-bottom: 1px solid var(--lh-line); }
.lh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 42px; align-items: center; }
.lh-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--lh-brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lh-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 999px; background: var(--lh-warm); }
.lh-hero h1 { max-width: 760px; margin: 0; font-size: clamp(36px, 5.2vw, 68px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.lh-hero-copy { max-width: 690px; margin: 20px 0 0; color: var(--lh-muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.lh-search { display: flex; align-items: center; max-width: 720px; margin-top: 28px; padding: 7px; background: var(--lh-white); border: 1px solid #dfe5ee; border-radius: 16px; box-shadow: 0 10px 30px rgba(36, 87, 230, .08); }
.lh-search svg { flex: 0 0 auto; margin-left: 13px; color: #7b8797; }
.lh-search input[type="search"] { min-width: 0; flex: 1; height: 50px; padding: 0 13px; border: 0; outline: 0; background: transparent; box-shadow: none; font-size: 16px; color: var(--lh-ink); }
.lh-search input[type="search"]::placeholder { color: #8c97a6; }
.lh-search button { flex: 0 0 auto; min-height: 48px; padding: 0 22px; border: 0; border-radius: 11px; background: var(--lh-brand); color: #fff; font-weight: 800; cursor: pointer; }
.lh-search button:hover { background: var(--lh-brand-dark); }
.lh-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lh-quick a { padding: 7px 11px; border: 1px solid #dae2ed; border-radius: 999px; background: rgba(255,255,255,.72); color: #455064; font-size: 13px; font-weight: 700; }

.lh-hero-stack { position: relative; min-height: 430px; }
.lh-hero-card { position: absolute; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid rgba(215,223,235,.95); box-shadow: var(--lh-shadow); }
.lh-hero-card .lh-thumb { background: #dfe7f5; }
.lh-hero-card-main { inset: 22px 38px 40px 0; }
.lh-hero-card-main .lh-thumb { height: 245px; }
.lh-hero-card-main .lh-card-body { padding: 19px 20px 21px; }
.lh-hero-card-main h2 { margin: 6px 0 0; font-size: 23px; line-height: 1.22; letter-spacing: -.025em; }
.lh-hero-card-small { width: 205px; right: 0; bottom: 0; transform: rotate(2.2deg); }
.lh-hero-card-small .lh-thumb { height: 120px; }
.lh-hero-card-small .lh-card-body { padding: 12px 13px 15px; }
.lh-hero-card-small h3 { margin: 4px 0 0; font-size: 15px; line-height: 1.32; }
.lh-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--lh-brand-dark); font-size: 11px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lh-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lh-warm); }

.lh-section { padding: 54px 0; }
.lh-section + .lh-section { border-top: 1px solid var(--lh-line); }
.lh-section-soft { background: var(--lh-soft); }
.lh-section-head { display: flex; gap: 20px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.lh-section-title { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.035em; }
.lh-section-sub { margin: 8px 0 0; color: var(--lh-muted); font-size: 15px; }
.lh-link { color: var(--lh-brand) !important; font-size: 14px; font-weight: 800; white-space: nowrap; }

.lh-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lh-post-card { overflow: hidden; background: #fff; border: 1px solid var(--lh-line); border-radius: var(--lh-radius); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lh-post-card:hover { transform: translateY(-3px); border-color: #cfd8e5; box-shadow: 0 14px 35px rgba(15,23,42,.08); }
.lh-post-card .lh-thumb { aspect-ratio: 16 / 10; background: #e7ebf2; }
.lh-post-card .lh-card-body { padding: 16px 16px 18px; }
.lh-post-card h3 { margin: 7px 0 0; font-size: 18px; line-height: 1.34; letter-spacing: -.018em; }
.lh-meta { color: #7c8796; font-size: 12px; font-weight: 650; }

.lh-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lh-topic { display: flex; align-items: center; gap: 15px; min-height: 96px; padding: 18px; background: #fff; border: 1px solid var(--lh-line); border-radius: 16px; }
.lh-topic:hover { border-color: #c8d4e7; box-shadow: 0 8px 24px rgba(15,23,42,.055); }
.lh-topic-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; background: var(--lh-panel); color: var(--lh-brand); }
.lh-topic-icon svg { width: 24px; height: 24px; }
.lh-topic strong { display: block; font-size: 16px; line-height: 1.2; }
.lh-topic span { display: block; margin-top: 4px; color: var(--lh-muted); font-size: 12px; }

.lh-latest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.lh-latest-item { display: grid; grid-template-columns: 152px minmax(0,1fr); gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--lh-line); border-radius: 16px; background: #fff; }
.lh-latest-item:hover { border-color: #ccd6e5; }
.lh-latest-item .lh-thumb { aspect-ratio: 16 / 11; border-radius: 11px; overflow: hidden; background: #e8edf4; }
.lh-latest-item h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.32; letter-spacing: -.015em; }
.lh-latest-item p { margin: 7px 0 0; color: var(--lh-muted); font-size: 13px; line-height: 1.45; }

/* For You: cache-friendly daily discovery section */
.lh-for-you-section { background: linear-gradient(180deg,#ffffff 0%,#fbfcff 100%); }
.lh-eyebrow-compact { margin-bottom: 9px; }
.lh-refresh-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #dbe3f0; border-radius: 999px; background: #fff; color: #68758a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.lh-refresh-pill::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lh-warm); }
.lh-for-you-grid .lh-card-body { min-height: 112px; }

.lh-ad-slot { width: min(calc(100% - 40px), var(--lh-wrap)); margin: 0 auto; padding: 6px 0; }
.lh-ad-slot:empty { display: none; }

.lh-empty { padding: 28px; border: 1px dashed #cfd7e3; border-radius: 16px; color: var(--lh-muted); text-align: center; }
.lh-footer-cta { margin-top: 28px; text-align: center; }
.lh-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid #ccd6e5; border-radius: 12px; background: #fff; color: var(--lh-ink) !important; font-size: 14px; font-weight: 800; }
.lh-button:hover { border-color: var(--lh-brand); color: var(--lh-brand) !important; }

@media (max-width: 980px) {
  .lh-hero { padding-top: 32px; }
  .lh-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .lh-hero-stack { min-height: 390px; max-width: 690px; width: 100%; }
  .lh-hero-card-main { right: 70px; }
  .lh-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lh-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lh-latest { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .lh-wrap, .lh-ad-slot { width: min(calc(100% - 28px), var(--lh-wrap)); }
  .lh-hero { padding: 27px 0 24px; }
  .lh-hero h1 { font-size: clamp(35px, 11.5vw, 49px); }
  .lh-hero-copy { margin-top: 15px; font-size: 16px; }
  .lh-search { margin-top: 22px; padding: 5px; }
  .lh-search svg { margin-left: 9px; width: 19px; }
  .lh-search input[type="search"] { height: 46px; padding: 0 8px; font-size: 15px; }
  .lh-search button { min-height: 44px; padding: 0 15px; font-size: 13px; }
  .lh-hero-stack { min-height: 300px; }
  .lh-hero-card-main { inset: 0 26px 25px 0; }
  .lh-hero-card-main .lh-thumb { height: 160px; }
  .lh-hero-card-main .lh-card-body { padding: 14px 15px 16px; }
  .lh-hero-card-main h2 { font-size: 18px; }
  .lh-hero-card-small { width: 150px; }
  .lh-hero-card-small .lh-thumb { height: 82px; }
  .lh-hero-card-small h3 { font-size: 12px; }
  .lh-section { padding: 38px 0; }
  .lh-section-head { align-items: start; }
  .lh-section-sub { font-size: 13px; }
  .lh-featured-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 12px; padding-bottom: 4px; scrollbar-width: thin; }
  .lh-post-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .lh-topics { grid-template-columns: 1fr; gap: 10px; }
  .lh-topic { min-height: 82px; padding: 14px; }
  .lh-latest-item { grid-template-columns: 112px minmax(0,1fr); gap: 12px; padding: 9px; }
  .lh-latest-item p { display: none; }
  .lh-latest-item h3 { font-size: 15px; }
  .lh-section-head .lh-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lh-post-card { transition: none; }
}

/* Shared inner-page canvas */
.search .site.grid-container,
.single-post .site.grid-container,
.archive .site.grid-container,
.blog .site.grid-container { max-width: none; }
.search .site-content,
.single-post .site-content,
.archive .site-content,
.blog .site-content { display: block; padding: 0; }
.search .content-area,
.single-post .content-area,
.archive .content-area,
.blog .content-area { width: 100%; }
.search .site-main,
.single-post .site-main,
.archive .site-main,
.blog .site-main { margin: 0; }
.search #primary,
.single-post #primary,
.archive #primary,
.blog #primary { width: 100%; float: none; }
.search #right-sidebar,
.search #left-sidebar,
.single-post #right-sidebar,
.single-post #left-sidebar,
.archive #right-sidebar,
.archive #left-sidebar,
.blog #right-sidebar,
.blog #left-sidebar { display: none; }
.lh-thumb-fallback { width: 100%; height: 100%; background: linear-gradient(135deg,#dfe8fb,#f6e7cf); }

/* Search results */
.lh-search-page { color: var(--lh-ink); background: var(--lh-white); }
.lh-search-page *, .lh-search-page *::before, .lh-search-page *::after { box-sizing: border-box; }
.lh-search-page a { color: inherit; text-decoration: none; }
.lh-search-hero { padding: 48px 0 42px; background: linear-gradient(135deg,#f8fbff 0%,#eef4ff 64%,#fff8ec 100%); border-bottom: 1px solid var(--lh-line); }
.lh-search-hero-inner { max-width: 900px; }
.lh-search-hero h1 { max-width: 850px; margin: 0; font-size: clamp(34px,5vw,58px); line-height: 1.02; letter-spacing: -.04em; }
.lh-search-count { margin: 13px 0 0; color: var(--lh-muted); font-size: 16px; }
.lh-search-wide { max-width: 780px; margin-top: 24px; }
.lh-results-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.lh-result-card { display: grid; grid-template-columns: 190px minmax(0,1fr); min-height: 190px; overflow: hidden; border: 1px solid var(--lh-line); border-radius: var(--lh-radius); background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lh-result-card:hover { transform: translateY(-2px); border-color: #ccd6e5; box-shadow: 0 14px 34px rgba(15,23,42,.07); }
.lh-result-thumb { display: block; min-height: 100%; background: #e8edf4; }
.lh-result-thumb img, .lh-result-thumb .lh-thumb-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.lh-result-body { display: flex; flex-direction: column; padding: 18px 18px 17px; }
.lh-result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: #7c8796; font-size: 11px; font-weight: 700; }
.lh-category { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: var(--lh-panel); color: var(--lh-brand) !important; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.lh-result-card h2 { margin: 10px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -.022em; }
.lh-result-card p { margin: 9px 0 0; color: var(--lh-muted); font-size: 13px; line-height: 1.5; }
.lh-read-link { margin-top: auto; padding-top: 12px; color: var(--lh-brand) !important; font-size: 13px; font-weight: 800; }
.lh-pagination { margin-top: 34px; }
.lh-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lh-pagination a, .lh-pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--lh-line); border-radius: 11px; background: #fff; color: var(--lh-ink); font-size: 13px; font-weight: 800; }
.lh-pagination .current { border-color: var(--lh-brand); background: var(--lh-brand); color: #fff; }
.lh-pagination a:hover { border-color: var(--lh-brand); color: var(--lh-brand); }
.lh-no-results { max-width: 650px; margin: 20px auto; padding: 52px 34px; text-align: center; border: 1px solid var(--lh-line); border-radius: 22px; background: var(--lh-soft); }
.lh-no-results-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 17px; border-radius: 18px; background: var(--lh-panel); color: var(--lh-brand); font-size: 28px; font-weight: 900; }
.lh-no-results h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.lh-no-results p { max-width: 510px; margin: 11px auto 22px; color: var(--lh-muted); line-height: 1.6; }


/* Category and archive pages */
.lh-archive-page { color: var(--lh-ink); background: var(--lh-white); }
.lh-archive-page *, .lh-archive-page *::before, .lh-archive-page *::after { box-sizing: border-box; }
.lh-archive-page a { color: inherit; text-decoration: none; }
.lh-archive-hero { position: relative; overflow: hidden; padding: 48px 0 44px; border-bottom: 1px solid var(--lh-line); background: linear-gradient(135deg,#f8fbff 0%,#eef4ff 58%,#fff8ec 100%); }
.lh-archive-hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: max(-110px, calc((100vw - var(--lh-wrap))/2 - 140px)); top: -170px; border: 1px solid rgba(36,87,230,.10); border-radius: 50%; box-shadow: 0 0 0 54px rgba(36,87,230,.035),0 0 0 108px rgba(244,166,41,.025); pointer-events: none; }
.lh-archive-hero-inner { position: relative; z-index: 1; }
.lh-archive-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; color: #7b8797; font-size: 12px; font-weight: 750; }
.lh-archive-breadcrumbs a { color: #596579; }
.lh-archive-breadcrumbs a:hover { color: var(--lh-brand); }
.lh-archive-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: 980px; }
.lh-archive-title-row h1 { margin: 0; font-size: clamp(40px,6vw,72px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.lh-archive-count { display: inline-flex; align-items: center; min-height: 37px; padding: 0 13px; margin-bottom: 5px; border: 1px solid #d9e2ef; border-radius: 999px; background: rgba(255,255,255,.74); color: #536178; font-size: 12px; font-weight: 800; white-space: nowrap; }
.lh-archive-description { max-width: 770px; margin: 18px 0 0; color: var(--lh-muted); font-size: 17px; line-height: 1.65; }
.lh-archive-description p { margin: 0; }
.lh-archive-subtopics { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.lh-archive-subtopics a { display: inline-flex; align-items: center; gap: 8px; min-height: 37px; padding: 0 12px; border: 1px solid #dbe3ee; border-radius: 999px; background: rgba(255,255,255,.82); color: #39465a; font-size: 12px; font-weight: 800; }
.lh-archive-subtopics a:hover { border-color: #b9c8df; color: var(--lh-brand); }
.lh-archive-subtopics a span { display: grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--lh-panel); color: var(--lh-brand); font-size: 10px; }
.lh-archive-ad { margin-top: 18px; }
.lh-archive-content-section { min-height: 420px; }
.lh-archive-grid .lh-archive-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(310px,.9fr) minmax(0,1.1fr); min-height: 310px; }
.lh-archive-grid .lh-archive-card:first-child .lh-result-body { justify-content: center; padding: 30px; }
.lh-archive-grid .lh-archive-card:first-child h2 { font-size: clamp(26px,3.2vw,40px); line-height: 1.12; letter-spacing: -.035em; }
.lh-archive-grid .lh-archive-card:first-child p { max-width: 650px; font-size: 15px; line-height: 1.6; }
.lh-archive-grid .lh-archive-card:first-child .lh-read-link { margin-top: 4px; padding-top: 13px; }

/* Single article */
.lh-single { color: var(--lh-ink); background: #fff; }
.lh-single *, .lh-single *::before, .lh-single *::after { box-sizing: border-box; }
.lh-single a { text-underline-offset: 3px; }
.lh-article-hero { padding: 46px 0 0; background: linear-gradient(180deg,#f8fbff 0,#fff 84%); }
.lh-article-head { width: min(calc(100% - 40px), 940px); margin-inline: auto; text-align: center; }
.lh-breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-bottom: 18px; color: #7b8797; font-size: 12px; font-weight: 700; }
.lh-breadcrumbs a { color: #596579; text-decoration: none; }
.lh-breadcrumbs a:hover { color: var(--lh-brand); }
.lh-article-category { margin-bottom: 14px; }
.lh-article-head h1 { max-width: 920px; margin: 0 auto; font-size: clamp(38px,5.4vw,70px); line-height: 1.01; letter-spacing: -.045em; font-weight: 800; }
.lh-article-deck { max-width: 760px; margin: 20px auto 0; color: var(--lh-muted); font-size: clamp(17px,2vw,21px); line-height: 1.58; }
.lh-article-meta { display: inline-flex; align-items: center; gap: 11px; margin-top: 24px; text-align: left; }
.lh-author-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--lh-brand); color: #fff; font-size: 16px; font-weight: 900; }
.lh-author-line { display: grid; gap: 2px; }
.lh-author-line strong { font-size: 13px; line-height: 1.2; }
.lh-author-line span { color: #7b8797; font-size: 12px; }
.lh-article-cover { width: min(calc(100% - 40px), 1180px); aspect-ratio: 16 / 8.4; margin: 38px auto 0; overflow: hidden; border-radius: 24px; background: #e8edf4; box-shadow: 0 22px 55px rgba(15,23,42,.10); }
.lh-article-cover img, .lh-article-cover .lh-thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.lh-article-shell { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.lh-article-content { padding: 48px 0 58px; color: #202938; font-size: 18px; line-height: 1.78; }
.lh-article-content > *:first-child { margin-top: 0; }
.lh-article-content p { margin: 0 0 1.35em; }
.lh-article-content h2, .lh-article-content h3, .lh-article-content h4 { color: var(--lh-ink); scroll-margin-top: 30px; }
.lh-article-content h2 { margin: 2.05em 0 .65em; padding-top: .18em; font-size: clamp(28px,3.1vw,38px); line-height: 1.16; letter-spacing: -.035em; }
.lh-article-content h3 { margin: 1.7em 0 .55em; font-size: clamp(22px,2.5vw,29px); line-height: 1.22; letter-spacing: -.025em; }
.lh-article-content h4 { margin: 1.45em 0 .45em; font-size: 20px; line-height: 1.3; }
.lh-article-content a { color: var(--lh-brand); text-decoration-thickness: 1px; }
.lh-article-content strong { color: #111827; }
.lh-article-content ul, .lh-article-content ol { margin: 0 0 1.45em; padding-left: 1.25em; }
.lh-article-content li { margin-bottom: .48em; padding-left: .18em; }
.lh-article-content blockquote { margin: 1.8em 0; padding: 20px 24px; border: 0; border-left: 4px solid var(--lh-brand); border-radius: 0 14px 14px 0; background: var(--lh-panel); color: #31415e; font-size: 1.02em; }
.lh-article-content blockquote p:last-child { margin-bottom: 0; }
.lh-article-content img { max-width: 100%; height: auto; border-radius: 16px; }
.lh-article-content figure { margin: 1.8em 0; }
.lh-article-content figcaption { margin-top: 8px; color: #7b8797; font-size: 12px; line-height: 1.45; text-align: center; }
.lh-article-content iframe, .lh-article-content video { max-width: 100%; border-radius: 16px; }
.lh-article-content table { width: 100%; margin: 1.8em 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--lh-line); border-radius: 14px; font-size: 15px; line-height: 1.45; }
.lh-article-content th { background: var(--lh-soft); color: var(--lh-ink); font-weight: 800; }
.lh-article-content th, .lh-article-content td { padding: 12px 13px; border: 0; border-bottom: 1px solid var(--lh-line); text-align: left; vertical-align: top; }
.lh-article-content tr:last-child td { border-bottom: 0; }
.lh-article-content code:not(pre code) { padding: 2px 6px; border-radius: 6px; background: #f1f4f8; font-size: .88em; }
.lh-article-content pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: #111827; color: #edf2f7; font-size: 14px; line-height: 1.55; }
.lh-page-links { margin-top: 26px; font-weight: 800; }
.lh-article-ad { width: min(calc(100% - 40px), 970px); margin: 34px auto 0; }
.lh-article-ad:empty { display: none; }
.lh-article-footer { padding: 52px 0 58px; border-top: 1px solid var(--lh-line); background: var(--lh-soft); }
.lh-related-head { margin-bottom: 22px; }
.lh-related-head .lh-eyebrow { margin-bottom: 10px; }
.lh-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.lh-related-grid .lh-post-card .lh-thumb { aspect-ratio: 16 / 10; }
.lh-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.lh-post-nav > div:last-child { text-align: right; }
.lh-post-nav a { display: inline-grid; gap: 5px; max-width: 420px; text-decoration: none; }
.lh-post-nav span { color: var(--lh-brand); font-size: 12px; font-weight: 800; }
.lh-post-nav strong { color: var(--lh-ink); font-size: 14px; line-height: 1.35; }
.lh-comments-wrap { padding: 48px 0; border-top: 1px solid var(--lh-line); }
.lh-comments-wrap .comments-area { margin: 0; }

@media (max-width: 980px) {
  .lh-results-grid { grid-template-columns: 1fr; }
  .lh-result-card { grid-template-columns: 220px minmax(0,1fr); }
  .lh-archive-grid .lh-archive-card:first-child { grid-column: auto; grid-template-columns: 280px minmax(0,1fr); min-height: 250px; }
  .lh-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .lh-search-hero { padding: 34px 0 30px; }
  .lh-search-hero h1 { font-size: 36px; }
  .lh-search-count { font-size: 14px; }
  .lh-result-card { grid-template-columns: 120px minmax(0,1fr); min-height: 145px; border-radius: 15px; }
  .lh-archive-hero { padding: 32px 0 30px; }
  .lh-archive-title-row { display: block; }
  .lh-archive-title-row h1 { font-size: clamp(38px,12vw,54px); }
  .lh-archive-count { margin: 14px 0 0; }
  .lh-archive-description { margin-top: 14px; font-size: 15px; }
  .lh-archive-subtopics { margin-top: 18px; gap: 7px; }
  .lh-archive-grid .lh-archive-card:first-child { grid-template-columns: 120px minmax(0,1fr); min-height: 145px; }
  .lh-archive-grid .lh-archive-card:first-child .lh-result-body { justify-content: initial; padding: 13px; }
  .lh-archive-grid .lh-archive-card:first-child h2 { margin-top: 7px; font-size: 16px; line-height: 1.25; }
  .lh-archive-grid .lh-archive-card:first-child p { display: none; }
  .lh-refresh-pill { display: none; }
  .lh-result-body { padding: 13px; }
  .lh-result-card h2 { margin-top: 7px; font-size: 16px; }
  .lh-result-card p { display: none; }
  .lh-read-link { font-size: 12px; }
  .lh-result-meta { font-size: 10px; }
  .lh-category { min-height: 22px; padding: 0 7px; font-size: 10px; }
  .lh-pagination a, .lh-pagination span { min-width: 38px; height: 38px; padding: 0 9px; }
  .lh-article-hero { padding-top: 29px; }
  .lh-article-head, .lh-article-cover, .lh-article-shell, .lh-article-ad { width: min(calc(100% - 28px), 100%); }
  .lh-article-head h1 { font-size: clamp(36px,11vw,50px); }
  .lh-article-deck { margin-top: 15px; font-size: 16px; }
  .lh-article-meta { margin-top: 20px; }
  .lh-article-cover { aspect-ratio: 16 / 10.5; margin-top: 27px; border-radius: 17px; }
  .lh-article-content { padding: 34px 0 42px; font-size: 17px; line-height: 1.72; }
  .lh-article-content h2 { margin-top: 1.75em; font-size: 28px; }
  .lh-article-content h3 { font-size: 22px; }
  .lh-article-content table { display: block; overflow-x: auto; white-space: normal; }
  .lh-article-footer { padding: 40px 0 44px; }
  .lh-related-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .lh-related-grid .lh-post-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .lh-post-nav { grid-template-columns: 1fr; }
  .lh-post-nav > div:last-child { text-align: left; }
}
