/* Home A: one featured column and a two-column list, ordered by publication. */
.home .academic-recent-section .academic-category-panel{grid-template-columns:160px minmax(0,1fr)}
.home .academic-category-panel .academic-recent-heading{padding:24px 18px}
.home .academic-category-panel .academic-recent-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;padding:14px;align-items:stretch;align-content:start}
.home .academic-category-panel .academic-recent-rest{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start;min-width:0}
.home .academic-category-panel .academic-recent-card{min-width:0;margin:0}
.home .academic-category-panel .academic-recent-rest .academic-recent-card{min-height:88px}
.home .academic-category-panel .academic-category-entry{padding:10px;gap:10px;min-height:0}
.home .academic-category-panel .academic-recent-card-media{width:44px;height:44px;padding:0}
.home .academic-category-panel .academic-recent-card-body h3{font-size:13px;line-height:1.6;-webkit-line-clamp:3}
.home .academic-category-panel .academic-latest-card{background:#f1f4e9;border-color:#bcc9ab}
.home .academic-category-panel .academic-latest-card .academic-category-entry{display:block;padding:16px;background:transparent}
.home .academic-category-panel .academic-latest-card .academic-recent-card-media{width:100%;height:auto;aspect-ratio:16/9;margin:0 0 16px;background:#edf0e8}
.home .academic-category-panel .academic-latest-card .academic-recent-card-media img{width:100%;height:100%;object-fit:contain}
.home .academic-category-panel .academic-latest-card .academic-recent-card-body h3{font-size:18px;line-height:1.65;-webkit-line-clamp:3}
.home .academic-category-panel .academic-latest-badge{display:inline-block;color:#78653b;background:#eee8d8;padding:2px 8px;font-size:10px;margin-bottom:10px}
.home .academic-category-panel .academic-latest-excerpt{font-size:12px;color:#74806a;line-height:1.85;margin:12px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.home .academic-category-panel .academic-latest-read{font-size:11px;color:#617951}
@media(max-width:1050px){
 .home .academic-recent-section .academic-category-panel{grid-template-columns:140px minmax(0,1fr)}
 .home .academic-category-panel .academic-recent-heading{padding:22px 16px}
 .home .academic-category-panel .academic-recent-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .academic-category-panel .academic-recent-rest{grid-template-columns:minmax(0,1fr);gap:8px}
 .home .academic-category-panel .academic-recent-rest .academic-recent-card{min-height:68px}
}
@media(max-width:700px){
 .home .academic-recent-section .academic-category-panel{grid-template-columns:minmax(0,1fr)}
 .home .academic-category-panel .academic-recent-heading{padding:14px 16px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid #dbe2d8;gap:14px}
 .home .academic-category-panel .academic-category-meta{align-items:flex-end;gap:8px}
 .home .academic-category-panel .academic-recent-cards{padding:10px}
 .home .academic-category-panel .academic-latest-card .academic-category-entry{padding:13px}
 .home .academic-category-panel .academic-latest-card .academic-recent-card-body h3{font-size:16px}
}
@media(max-width:620px){
 .home .academic-category-panel .academic-recent-cards{grid-template-columns:minmax(0,1fr)}
 .home .academic-category-panel .academic-recent-rest .academic-recent-card{min-height:70px}
 .home .academic-category-panel .academic-latest-excerpt{-webkit-line-clamp:3}
}
/* Compact rows and a stable preview frame: changing articles does not move the grid. */
.home .academic-category-panel .academic-recent-rest{gap:8px}
.home .academic-category-panel .academic-recent-rest .academic-recent-card{min-height:70px}
.home .academic-category-panel .academic-recent-rest .academic-category-entry{padding:6px 9px;gap:9px}
.home .academic-category-panel .academic-recent-rest .academic-recent-card-media{width:38px;height:38px}
.home .academic-category-panel .academic-recent-rest .academic-recent-card-body h3{line-height:1.45;-webkit-line-clamp:2}
.home .academic-category-panel .academic-recent-card-body time{line-height:1.35;margin-bottom:3px}
.home .academic-category-panel .academic-latest-card .academic-category-entry{padding:12px}
.home .academic-category-panel .academic-latest-card .academic-recent-card-media{margin-bottom:10px}
.home .academic-category-panel .academic-latest-card .academic-recent-card-body h3{font-size:16px;line-height:1.5;min-height:48px;max-height:48px;-webkit-line-clamp:2}
.home .academic-category-panel .academic-latest-badge{font-size:9px;line-height:1.4;margin-bottom:6px}
.home .academic-category-panel .academic-latest-excerpt{line-height:1.65;height:39.6px;-webkit-line-clamp:2;margin:8px 0}
.home .academic-category-panel .academic-recent-rest .is-previewing{border-color:var(--lca-category-accent);box-shadow:inset 0 0 0 1px var(--lca-category-accent)}
.home .academic-category-panel .academic-latest-card.is-previewing .academic-latest-badge{background:#e3eadd;color:#4b6845}
@media(max-width:1050px){.home .academic-category-panel .academic-recent-rest .academic-recent-card{min-height:64px}}

/* Confirmed light D palette: green category strip, pale paper preview and list. */
.home .academic-category-panel{--lca-palette-panel:#e6eadf;--lca-palette-edge:#b4c3aa;--lca-palette-side:#41604e;--lca-palette-sideink:#fff8e5;--lca-palette-sidemuted:#d5e1cf;--lca-palette-sideaccent:#efd7a4;--lca-palette-lead:#f0f3e8;--lca-palette-leadink:#2d4935;--lca-palette-leadbody:#4b624b;--lca-palette-leadmuted:#556b52;--lca-palette-card:#fbfaf3;--lca-palette-cardink:#304a36;--lca-palette-cardmuted:#596e55;--lca-palette-cardedge:#d2dcc9;--lca-palette-media:#e8eedf;--lca-palette-leadmedia:#e0e8d5;--lca-palette-accent:#6d582c;--lca-palette-badge:#dce6cf;--lca-palette-badgeink:#435b3c;--lca-palette-selected:#e3ecd7;}
.home .academic-category-panel{background:var(--lca-palette-panel);border-color:var(--lca-palette-edge);box-shadow:3px 3px 0 var(--lca-palette-edge);--lca-category-accent:var(--lca-palette-accent)}
.home .academic-category-panel .academic-recent-heading{background:var(--lca-palette-side);border-color:var(--lca-palette-edge);border-top-color:var(--lca-palette-accent)}
.home .academic-category-panel .academic-recent-heading h2{color:var(--lca-palette-sideink)}
.home .academic-category-panel .academic-recent-heading span,.home .academic-category-panel .academic-category-meta small{color:var(--lca-palette-sidemuted)}
.home .academic-category-panel .academic-category-meta a{color:var(--lca-palette-sideaccent)}
.home .academic-category-panel .academic-recent-card{background:var(--lca-palette-card);border-color:var(--lca-palette-cardedge)}
.home .academic-category-panel .academic-recent-card .academic-category-entry{background:transparent;box-shadow:none;color:var(--lca-palette-cardink)}
.home .academic-category-panel .academic-recent-rest .academic-recent-card-body h3{color:var(--lca-palette-cardink)}
.home .academic-category-panel .academic-recent-rest .academic-recent-card-body time{color:var(--lca-palette-cardmuted)}
.home .academic-category-panel .academic-recent-card-media{background:var(--lca-palette-media)}
.home .academic-category-panel .academic-category-placeholder{color:var(--lca-palette-cardmuted)}
.home .academic-category-panel .academic-latest-card{background:var(--lca-palette-lead);border-color:var(--lca-palette-edge)}
.home .academic-category-panel .academic-latest-card .academic-recent-card-media{background:var(--lca-palette-leadmedia)}
.home .academic-category-panel .academic-latest-card .academic-category-placeholder{color:var(--lca-palette-leadmuted)}
.home .academic-category-panel .academic-latest-card .academic-recent-card-body h3{color:var(--lca-palette-leadink)}
.home .academic-category-panel .academic-latest-card .academic-recent-card-body time{color:var(--lca-palette-leadmuted)}
.home .academic-category-panel .academic-latest-excerpt{color:var(--lca-palette-leadbody)}
.home .academic-category-panel .academic-latest-read{color:var(--lca-palette-accent)}
.home .academic-category-panel .academic-latest-badge,.home .academic-category-panel .academic-latest-card.is-previewing .academic-latest-badge{background:var(--lca-palette-badge);color:var(--lca-palette-badgeink)}
.home .academic-category-panel .academic-recent-rest .academic-recent-card.is-previewing,.home .academic-category-panel .academic-recent-rest .academic-category-entry:hover{background:var(--lca-palette-selected);border-color:var(--lca-palette-accent)}
.home .academic-category-panel .academic-recent-rest .is-previewing{box-shadow:inset 0 0 0 1px var(--lca-palette-accent)}
.home .academic-category-panel .academic-recent-rest .is-fresh .academic-category-entry{box-shadow:inset 2px 0 var(--lca-palette-accent)}
.home .academic-category-panel a:focus-visible{outline:2px solid var(--lca-palette-accent);outline-offset:-2px}

/* Match the Archive / 全部文章 heading hierarchy. */
.home .academic-updates-heading{margin:0 0 24px}
.home .academic-updates-heading .academic-home-title{color:inherit;font-size:26px;line-height:1.35;margin:0;padding:0;border:0}
@media(max-width:740px){.home .academic-updates-heading .academic-home-title{font-size:23px;line-height:1.4}}
/* Warm paper distinguishes articles published within the last fourteen days. */
.home .academic-category-panel .academic-recent-rest .academic-recent-card.is-fresh{background:#f4e5bf;border-color:#b99a59}
.home .academic-category-panel .academic-recent-rest .is-fresh .academic-category-entry{box-shadow:inset 3px 0 #9a783b}
.home .academic-category-panel .academic-recent-rest .is-fresh .academic-recent-card-body time{color:#70501e;font-weight:700}
.home .academic-category-panel .academic-recent-rest .academic-recent-card.is-previewing,
.home .academic-category-panel .academic-recent-rest .academic-category-entry:hover{background:var(--lca-palette-selected);border-color:var(--lca-palette-accent)}
