/* GENERATED FILE - do not edit by hand.
 * Structure "codehub" landing + chrome rules.
 * Source: landing.css
 * Rebuild: php tools/build-landing-css.php
 */

.lnch-codehub-top { background: var(--bsp-bg); border-bottom: 1px solid var(--bsp-line); display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: .8rem 22px; }
.lnch-codehub-brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--bsp-ink); text-decoration: none; }
.lnch-codehub-brand .mark { background: var(--bsp-accent); color: var(--bsp-on-accent); width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-size: 1rem; }
.lnch-codehub-nav { display: flex; gap: 1.2rem; align-items: center; }
.lnch-codehub-nav a { color: var(--bsp-muted); text-decoration: none; font-size: .92rem; }
.lnch-codehub-cta { background: var(--bsp-accent-strong, var(--bsp-accent)); color: var(--bsp-on-strong, var(--bsp-on-accent, #fff)) !important; padding: .5rem 1.1rem; border-radius: 6px; font-weight: 700; }
/* Page h1 (masthead): the community title the landing composes from
   bsp_head_copy()['kicker']. Sized like .ln-digit-head's — the CN family's own
   page-title treatment — so the four landings that gained it read alike. */
.ln-codehub-head h1 { font-size: 1.9rem; margin: 1.4rem 0 .4rem; }
.ln-codehub-grid { display: grid; grid-template-columns: 170px 1fr 250px; gap: 1.5rem; margin-top: 1.4rem; }
@media (max-width: 900px) { .ln-codehub-grid { grid-template-columns: 1fr; } }
.ln-codehub-cats { background: color-mix(in srgb, var(--bsp-accent) 4%, var(--bsp-bg)); border: 1px solid var(--bsp-line); border-radius: 8px; padding: .9rem 1rem; align-self: start; }
/* Rail/aside headings are h2 — sections of the page under its single h1 — so
   the old h3 type is declared on both levels and nothing shifts. */
.ln-codehub-cats h2, .ln-codehub-cats h3 { font-size: .9rem; margin: 0 0 .6rem; }
.ln-codehub-cats a { display: block; color: var(--bsp-ink); text-decoration: none; font-size: .9rem; padding: .45rem .6rem; border-radius: 5px; }
.ln-codehub-cats a:hover, .ln-codehub-cats a.on { background: var(--bsp-accent-soft); color: var(--bsp-accent-text); }
.ln-codehub-tabs { display: flex; gap: 1.3rem; border-bottom: 1px solid var(--bsp-line); }
.ln-codehub-tabs a { padding: .5rem 0; color: var(--bsp-muted); font-size: .95rem; text-decoration: none; border-bottom: 2px solid transparent; }
.ln-codehub-tabs a:hover, .ln-codehub-tabs a:focus-visible { color: var(--bsp-ink); border-bottom-color: color-mix(in srgb, var(--bsp-accent) 45%, transparent); }
.ln-codehub-tabs a.on { color: var(--bsp-ink); font-weight: 700; border-bottom-color: var(--bsp-accent); }
.ln-codehub-item { display: flex; gap: 1rem; padding: 1.05rem .1rem; border-bottom: 1px solid var(--bsp-line); }
.ln-codehub-item-body { flex: 1; min-width: 0; }
.ln-codehub-title { color: var(--bsp-ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.5; }
.ln-codehub-item:hover .ln-codehub-title { color: var(--bsp-accent-text); }
.ln-codehub-item p { color: var(--bsp-muted); font-size: .88rem; line-height: 1.65; margin: .35rem 0 .4rem; }
.ln-codehub-meta { display: flex; gap: .9rem; color: var(--bsp-muted); font-size: .78rem; }
.ln-codehub-thumb { flex: none; width: 108px; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; }
.ln-codehub-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ln-codehub-checkin { background: color-mix(in srgb, var(--bsp-accent) 7%, var(--bsp-bg)); border: 1px solid var(--bsp-line); border-radius: 8px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; }
.ln-codehub-checkin p { margin: 0 0 .4rem; font-size: .88rem; color: var(--bsp-muted); }
.ln-codehub-checkin strong { color: var(--bsp-accent-text); font-size: 1.1rem; }
.ln-codehub-board { border: 1px solid var(--bsp-line); border-radius: 8px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; }
.ln-codehub-board h2, .ln-codehub-board h3 { font-size: .95rem; margin: 0 0 .7rem; }
.ln-codehub-author { display: flex; justify-content: space-between; text-decoration: none; padding: .4rem 0; border-bottom: 1px solid var(--bsp-line); position: relative; }
.ln-codehub-author:last-child { border-bottom: none; }
.ln-codehub-author strong { font-size: .88rem; color: var(--bsp-ink); }
.ln-codehub-author span { font-size: .76rem; color: var(--bsp-muted); }
.lnch-codehub-foot { background: color-mix(in srgb, var(--bsp-ink) 5%, var(--bsp-bg)); border-top: 1px solid var(--bsp-line); margin-top: 2.6rem; padding: 1.6rem 22px; }
.lnch-codehub-cols { max-width: 1080px; margin: 0 auto; display: flex; gap: 3rem; flex-wrap: wrap; }
.lnch-codehub-cols p { color: var(--bsp-muted); font-size: .86rem; max-width: 34rem; }
.lnch-codehub-legal { max-width: 1080px; margin: 1.2rem auto 0; color: var(--bsp-muted); font-size: .8rem; }

