/*
Theme Name: Jiang Lab 2026
Theme URI: https://sizunjianglab.com/
Description: The 2026 Jiang Lab site: the golden prototype (Overhaul 2026) as a classic WordPress theme. Publications, people and news come from WordPress (the Jiang Lab Core plugin keeps their content types); page copy comes from data/copy.json. Needs the Jiang Lab Core plugin.
Version: 1.1.3
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Author: Jiang Lab
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jianglab
*/

/* The design lives in assets/site.css (the prototype's stylesheet, unchanged). This file only adds what
   WordPress needs on top: the admin bar, the single paper page and plain pages. Same tokens as site.css. */

/* Admin bar (logged-in editors only): keep the header over the hero below it. */
.admin-bar .site-header:not(.solid) { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header:not(.solid) { top: 46px; }
}

/* Single paper: a smaller title than the section pages, then the entry as on the Publications page. */
.paper-head h1 { max-width: 24em; font-size: clamp(2rem, 1.35rem + 2vw, 3.25rem); line-height: 1.1; letter-spacing: -0.016em; }
.paper-page { padding-top: clamp(32px, 4vw, 56px); }
.paper-page .pub { border-bottom: 0; }
.paper-abstract, .paper-copyright { grid-column: 4 / span 8; }
.paper-abstract { margin-top: 24px; font-size: 1.0625rem; }
.paper-copyright { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-2); }
.paper-more { margin-top: 32px; font-weight: 500; }
@media (max-width: 760px) {
  .paper-abstract, .paper-copyright { grid-column: 1 / -1; }
}

/* Plain pages (privacy policy and the like). */
.page-content { padding-top: clamp(32px, 4vw, 56px); }
.page-content > * { max-width: 46em; }
.page-content > * + * { margin-top: 1em; }
.page-content h2, .page-content h3 { margin-top: 1.6em; font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem); line-height: 1.2; }
.page-content ul, .page-content ol { padding-left: 1.2em; list-style: revert; }
