/**
 * Homepage "Free research" (template-parts/home-lists.php, since 2.26.12): the six main lists and the three newest
 * articles, after "Before you join". Matches the sections above it: dark by default, light under
 * html[data-theme="light"]. Scoped to .shl. The file name starts with "category-" on purpose: that prefix is on the
 * optimizer's excluded-stylesheets list, so a stale "used CSS" snapshot cannot drop these rules.
 */

.shl {
    --shl-bg: #0a0a0a;
    --shl-text: #f5f5f2;
    --shl-text2: #d3d8e0;
    --shl-muted: #a3aab6;
    --shl-gold: #f5c518;
    --shl-line: #232c3b;
    --shl-card: #111722;
    padding: 72px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--shl-bg);
    color: var(--shl-text);
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] .shl {
    --shl-bg: #f5f5f5;
    --shl-text: #1a1a1a;
    --shl-text2: #4a4f57;
    --shl-muted: #5f6670;
    --shl-gold: #8a6606;
    --shl-line: #e2e5ea;
    --shl-card: #ffffff;
    border-top-color: rgba(0, 0, 0, 0.06);
}
.shl *, .shl *::before, .shl *::after { box-sizing: border-box; }
.shl :where(h2, h3, p, ul, li) { margin: 0; padding: 0; }
.shl :where(p, span, div, h2, h3, li) { color: inherit; font-size: inherit; }
.shl :where(ul) { list-style: none; }
.shl a { text-decoration: none; color: inherit; }
.shl :focus-visible { outline: 3px solid var(--shl-gold); outline-offset: 3px; border-radius: 6px; }
.shl-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }

.shl .shl-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--shl-gold); }
.shl .shl-h2 { margin-top: 14px; font-size: 48px; line-height: 1.06; font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; color: var(--shl-text); }
.shl .shl-h2 em { font-style: italic; color: var(--shl-gold); }
.shl .shl-intro { margin-top: 14px; max-width: 620px; font-size: 18px; color: var(--shl-text2); }

/* Lists on the left as six tiles in two columns; the newest articles on the right as plain rows */
.shl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 40px; }
.shl .shl-h3 { padding-bottom: 14px; border-bottom: 1px solid var(--shl-line); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--shl-text2); }
.shl-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 20px; }
.shl .shl-lists a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 18px; border: 1px solid var(--shl-line); border-radius: 14px; background: var(--shl-card); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--shl-text); transition: border-color 0.2s ease; }
.shl .shl-lists a:hover { border-color: rgba(245, 197, 24, 0.5); }
.shl .shl-arrow { flex: none; color: var(--shl-gold); }
.shl-new li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--shl-line); }
.shl .shl-new a { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--shl-text); }
.shl .shl-new a:hover, .shl .shl-more:hover { color: var(--shl-gold); }
.shl .shl-date { font-size: 14px; color: var(--shl-muted); }
.shl .shl-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--shl-gold); }
.shl .shl-more:hover { text-decoration: underline; }

@media (max-width: 1100px) {
    .shl-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 760px) {
    .shl { padding: 56px 0 60px; font-size: 16px; }
    .shl-wrap { padding: 0 18px; }
    .shl .shl-h2 { font-size: 38px; }
    .shl .shl-intro { font-size: 17px; }
    .shl-grid { margin-top: 32px; gap: 36px; }
    .shl-lists { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .shl .shl-lists a { min-height: 56px; font-size: 16px; }
    .shl .shl-new a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .shl .shl-lists a { transition: none; } }
