/* Shared reading scale and spacing for the four static review designs. */
@font-face{font-family:PreviewNoto;src:url('elife-noto-sans-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:PreviewNoto;src:url('elife-noto-sans-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
body[data-theme=editorial],body[data-theme=horizon],body[data-theme=library]{font-family:PreviewNoto,Arial,sans-serif;font-size:15px;line-height:1.65}
body[data-theme=elife]{font-size:15px;line-height:1.65}
body[data-theme] .section{margin-top:48px;margin-bottom:48px}
body[data-theme] .section-head{gap:20px}
body[data-theme] .section-head h2{font-size:23px;line-height:1.3}
body[data-theme] .meta,body[data-theme] .article-meta{font-size:13px;line-height:1.5}
body[data-theme] .article-row{min-width:0}
body[data-theme] .article-row h3{font-size:19px;line-height:1.4;letter-spacing:0}
body[data-theme] .article-row .authors,body[data-theme] .article-row .abstract{font-size:14px;line-height:1.6}
body[data-theme] .news-item h3{font-size:19px;line-height:1.4;letter-spacing:0}
body[data-theme] .news-item .summary{font-size:14px;line-height:1.65}
body[data-theme] .side-block h2{font-size:18px;line-height:1.35;letter-spacing:0}
body[data-theme] .page-title h1{font-size:34px;line-height:1.2;letter-spacing:-.015em}
body[data-theme] .page-title p{font-size:16px;line-height:1.65}
body[data-theme] .article-content>section>h2{font-size:23px;line-height:1.3;letter-spacing:0}
body[data-theme] .article-content .abstract-copy{font-size:16px;line-height:1.75}
body[data-theme] .btn{min-height:42px}

/* Nature: keep the editorial serif and red-accented journal navigation. */
body[data-theme=editorial] .wrap,body[data-theme=editorial] .nature-head-inner{width:min(1200px,calc(100% - 64px))}
body[data-theme=editorial] .nature-menu.top-links{padding-right:max(32px,calc((100% - 1200px)/2));padding-left:max(32px,calc((100% - 1200px)/2));gap:26px}
body[data-theme=editorial] .nature-brand span{font-size:27px}
body[data-theme=editorial] .publisher-hero .hero-copy h1{font-size:34px;line-height:1.18}
body[data-theme=editorial] .n-journal-hero{grid-template-columns:42% 58%;min-height:300px}
body[data-theme=editorial] .n-hero-copy{padding:28px}
body[data-theme=editorial] .n-hero-copy h2{font-size:25px;line-height:1.22;letter-spacing:-.015em}
body[data-theme=editorial] .n-hero-copy p{font-size:14px;line-height:1.6;margin-top:14px}
body[data-theme=editorial] .n-hero-image{min-height:300px}
body[data-theme=editorial] .n-journal .article-copy,body[data-theme=editorial] .search-content .article-copy,body[data-theme=editorial] .editorial-home-body .article-copy{grid-template-columns:160px minmax(0,1fr);column-gap:26px}
body[data-theme=editorial] .n-journal .article-row h3,body[data-theme=editorial] .search-content .article-row h3,body[data-theme=editorial] .editorial-home-body .article-row h3{font-size:19px;line-height:1.38}
body[data-theme=editorial] .article-title{font-size:32px!important;line-height:1.3}
body[data-theme=editorial] .article-content{line-height:1.75}

/* Frontiers: open the content grid and reduce the empty space between sections. */
body[data-theme=horizon] .front-head-inner,body[data-theme=horizon] .front-nav-inner,body[data-theme=horizon] .wrap{width:min(1200px,calc(100% - 64px))}
body[data-theme=horizon] .f-content,body[data-theme=horizon] .f-intro,body[data-theme=horizon] .f-mast-inner{width:min(1100px,calc(100% - 64px));max-width:1100px}
body[data-theme=horizon] .publisher-hero h1{font-size:34px;line-height:1.2}
body[data-theme=horizon] .publisher-hero .hero-copy{padding-top:60px;padding-bottom:60px}
body[data-theme=horizon] .f-mast h1{font-size:30px;line-height:1.25}
body[data-theme=horizon] .f-intro{gap:60px;padding-top:46px;padding-bottom:54px}
body[data-theme=horizon] .f-intro h2{font-size:24px;line-height:1.35}
body[data-theme=horizon] .f-intro p{font-size:15px;line-height:1.7;color:#50565b}
body[data-theme=horizon] .f-intro .plain-link{margin-top:18px}
body[data-theme=horizon] .f-grey{padding-top:38px;padding-bottom:60px}
body[data-theme=horizon] .f-resources{gap:16px}
body[data-theme=horizon] .f-resource{padding:20px;min-height:180px}
body[data-theme=horizon] .f-resource h3{font-size:16px;line-height:1.4}
body[data-theme=horizon] .f-resource p{color:#50565b;line-height:1.55}
body[data-theme=horizon] .f-panel{margin:56px 0}
body[data-theme=horizon] .f-section-title,body[data-theme=horizon] .f-panel>.section-head{margin-bottom:22px}
body[data-theme=horizon] .f-section-title h2,body[data-theme=horizon] .f-panel>.section-head h2{font-size:23px;line-height:1.3}
body[data-theme=horizon] .f-article-cards,body[data-theme=horizon] .search-content #search-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body[data-theme=horizon] .f-article-cards .article-row,body[data-theme=horizon] .search-content .article-row{min-height:245px;padding:20px}
body[data-theme=horizon] .f-article-cards .article-row h3,body[data-theme=horizon] .search-content .article-row h3{font:500 17px/1.45 PreviewNoto,Arial,sans-serif;margin:14px 0}
body[data-theme=horizon] .f-article-cards .article-meta,body[data-theme=horizon] .search-content .article-meta{font-size:12px}
body[data-theme=horizon] .f-article-shell{width:min(1200px,calc(100% - 64px));margin-top:42px}
body[data-theme=horizon] .f-article-shell .article-layout{grid-template-columns:230px minmax(0,1fr) 82px;gap:28px}
body[data-theme=horizon] .f-article-shell .article-title{font:500 30px/1.35 PreviewNoto,Arial,sans-serif;margin:20px 0;padding-bottom:20px}
body[data-theme=horizon] .f-article-shell .affiliations{margin:24px 0}

/* NIEP-derived version: keep its three-column structure while giving the text more room. */
body[data-theme=library] .wrap{width:min(1200px,calc(100% - 64px))}
body[data-theme=library] .header-main{min-height:80px}
body[data-theme=library] .publisher-hero{grid-template-columns:1.05fr 1fr .7fr;min-height:270px;margin-top:26px;margin-bottom:32px}
body[data-theme=library] .publisher-hero .hero-copy{padding:28px}
body[data-theme=library] .publisher-hero h1{font-size:34px;line-height:1.2;letter-spacing:-.015em}
body[data-theme=library] .publisher-hero .feature-media{min-height:270px}
body[data-theme=library] .publisher-hero .hero-side{padding:24px}
body[data-theme=library] .publisher-hero .hero-side h2{font-size:21px;margin-bottom:12px}
body[data-theme=library] .publisher-hero .hero-side a{padding:10px 0}
body[data-theme=library] .home-body{grid-template-columns:190px minmax(0,1fr) 260px;gap:28px}
body[data-theme=library] .home-body .section{margin:0 0 38px}
body[data-theme=library] .home-body .section-head h2,body[data-theme=library] .journal-layout .section-head h2{font-size:23px}
body[data-theme=library] .home-body .journal-card h3{font-size:18px;line-height:1.35}
body[data-theme=library] .journal-masthead{min-height:210px;margin:26px auto 32px}
body[data-theme=library] .journal-masthead .mast-left{grid-template-columns:85px minmax(0,1fr);gap:24px;padding:26px}
body[data-theme=library] .journal-masthead .mast-left>img{width:85px}
body[data-theme=library] .journal-masthead h1{font-size:33px;line-height:1.2;letter-spacing:-.015em}
body[data-theme=library] .journal-layout .content-grid{grid-template-columns:180px minmax(0,1fr) 255px;gap:28px}
body[data-theme=library] .journal-layout .journal-intro h2{font-size:24px;line-height:1.3;margin-bottom:17px}
body[data-theme=library] .journal-layout .content-grid .section{margin:36px 0}
body[data-theme=library] .journal-layout .article-row h3{font-size:19px;line-height:1.4}
body[data-theme=library] .article-layout{grid-template-columns:170px minmax(0,1fr) 245px;gap:28px}
body[data-theme=library] .article-title{font-size:31px;line-height:1.32;letter-spacing:-.015em}
body[data-theme=library] .article-content{font-size:16px;line-height:1.75}

/* eLife: retain the light blue publishing identity with a more compact masthead. */
body[data-theme=elife] .el-header-main{min-height:82px}
body[data-theme=elife] .el-hero-inner{min-height:370px}
body[data-theme=elife] .el-hero-copy{padding:35px 0 55px}
body[data-theme=elife] .el-hero h1{font-size:45px;line-height:1.2;max-width:560px}
body[data-theme=elife] .el-hero .button-row{margin-top:32px}
body[data-theme=elife] .el-hero-art{height:340px}
body[data-theme=elife] .el-home-section{margin:52px 0}
body[data-theme=elife] .el-kicker{margin-bottom:24px}
body[data-theme=elife] .el-highlight h3{font-size:20px;line-height:1.35}
body[data-theme=elife] .el-highlight p{font-size:15px;line-height:1.65}
body[data-theme=elife] .el-home-columns{gap:48px;margin:54px 0}
body[data-theme=elife] .el-journal-mast .wrap{min-height:230px;padding:28px 0;grid-template-columns:minmax(0,1fr) 190px;gap:45px}
body[data-theme=elife] .el-journal-mast h1{font-size:34px;line-height:1.2}
body[data-theme=elife] .el-journal-mast .journal-cover{height:175px}
body[data-theme=elife] .el-journal-info{gap:45px}
body[data-theme=elife] .el-journal-info .section-head h2{font-size:19px}
body[data-theme=elife] .el-journal-info .article-row h3,body[data-theme=elife] .el-home-columns .article-row h3,body[data-theme=elife] .search-content .article-row h3{font-size:19px;line-height:1.4}
body[data-theme=elife] .el-article-grid{gap:50px}
body[data-theme=elife] .el-article-heading h1{font-size:30px;line-height:1.35;letter-spacing:-.01em;margin-bottom:21px}
body[data-theme=elife] .el-article-body h2{font-size:23px}

@media(max-width:1200px){
 body[data-theme=library] .home-body{grid-template-columns:170px minmax(0,1fr) 235px;gap:24px}
 body[data-theme=library] .journal-layout .content-grid{grid-template-columns:165px minmax(0,1fr) 225px;gap:24px}
 body[data-theme=library] .article-layout{grid-template-columns:155px minmax(0,1fr) 225px;gap:24px}
}
@media(max-width:1100px){
 body[data-theme=horizon] .f-resources{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-theme=horizon] .f-article-shell .article-layout{grid-template-columns:195px minmax(0,1fr) 76px;gap:22px}
}
@media(max-width:1000px){
 body[data-theme=library] .home-body{grid-template-columns:minmax(0,1fr) 230px;gap:24px}
 body[data-theme=library] .journal-layout .content-grid{grid-template-columns:minmax(0,1fr) 230px;gap:24px}
 body[data-theme=library] .article-layout{grid-template-columns:minmax(0,1fr) 230px;gap:24px}
 body[data-theme=horizon] .f-article-cards,body[data-theme=horizon] .search-content #search-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
 body[data-theme=horizon] .f-article-shell .article-layout{grid-template-columns:minmax(0,1fr) 76px}
 body[data-theme=elife] .el-hero h1{font-size:39px}
}
@media(max-width:720px){
 body[data-theme=editorial] .wrap,body[data-theme=editorial] .nature-head-inner,body[data-theme=horizon] .wrap,body[data-theme=horizon] .front-head-inner,body[data-theme=horizon] .front-nav-inner,body[data-theme=horizon] .f-content,body[data-theme=horizon] .f-intro,body[data-theme=horizon] .f-mast-inner,body[data-theme=horizon] .f-article-shell,body[data-theme=library] .wrap{width:calc(100% - 36px)}
 body[data-theme=editorial] .nature-menu.top-links{padding:14px 18px}
 body[data-theme=editorial] .nature-brand span{font-size:20px}
 body[data-theme=editorial] .n-journal-hero{display:flex;min-height:0}
 body[data-theme=editorial] .n-hero-image{height:190px;min-height:0}
 body[data-theme=editorial] .n-hero-copy{padding:22px}
 body[data-theme=editorial] .n-hero-copy h2{font-size:20px;line-height:1.3}
 body[data-theme=editorial] .publisher-hero .hero-copy h1{font-size:29px}
 body[data-theme=editorial] .n-journal .article-copy,body[data-theme=editorial] .search-content .article-copy,body[data-theme=editorial] .editorial-home-body .article-copy{display:block}
 body[data-theme=editorial] .article-title{font-size:24px!important}
 body[data-theme=horizon] .publisher-hero h1{font-size:30px}
 body[data-theme=horizon] .publisher-hero .hero-copy{padding:42px 10px 48px}
 body[data-theme=horizon] .f-intro{display:block;padding:36px 0 42px}
 body[data-theme=horizon] .f-intro h2{font-size:22px;margin-bottom:16px}
 body[data-theme=horizon] .f-article-cards,body[data-theme=horizon] .search-content #search-results{grid-template-columns:1fr}
 body[data-theme=horizon] .f-article-shell .article-layout{display:flex}
 body[data-theme=horizon] .f-article-shell .article-title{font-size:24px}
 body[data-theme=library] .publisher-hero{display:flex}
 body[data-theme=library] .publisher-hero .feature-media{min-height:0;height:185px}
 body[data-theme=library] .publisher-hero h1{font-size:29px}
 body[data-theme=library] .home-body{display:block}
 body[data-theme=library] .journal-masthead .mast-left{grid-template-columns:68px minmax(0,1fr);gap:18px;padding:22px 20px}
 body[data-theme=library] .journal-masthead .mast-left>img{width:68px}
 body[data-theme=library] .journal-masthead h1{font-size:27px}
 body[data-theme=library] .journal-layout .content-grid,body[data-theme=library] .article-layout{display:flex}
 body[data-theme=library] .article-title{font-size:24px}
 body[data-theme=elife] .el-header-main{min-height:76px}
 body[data-theme=elife] .el-hero-inner{min-height:0}
 body[data-theme=elife] .el-hero-copy{padding:32px 0 22px}
 body[data-theme=elife] .el-hero h1{font-size:32px}
 body[data-theme=elife] .el-hero .button-row{margin-top:24px}
 body[data-theme=elife] .el-hero-art{height:205px}
 body[data-theme=elife] .el-journal-mast .wrap{grid-template-columns:minmax(0,1fr) 85px;gap:16px;padding:24px 0}
 body[data-theme=elife] .el-journal-mast h1{font-size:27px}
 body[data-theme=elife] .el-journal-mast .journal-cover{height:130px}
 body[data-theme=elife] .el-article-grid{display:flex;flex-direction:column;gap:0}
 body[data-theme=elife] .el-article-grid>article.main-column{display:contents}
 body[data-theme=elife] .el-article-heading{order:0}
 body[data-theme=elife] .el-article-rail{order:1}
 body[data-theme=elife] .el-article-nav{order:2;width:100%;min-width:0;max-width:100%}
 body[data-theme=elife] .el-article-body{order:3;min-width:0;width:100%}
 body[data-theme=elife] .el-article-heading h1{font-size:24px}
 body[data-theme] .section{margin-top:38px;margin-bottom:38px}
 body[data-theme] .page-title h1{font-size:29px}
 body[data-theme] .btn{min-height:44px}
}
@media(max-width:620px){
 body[data-theme=horizon] .f-resources{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body[data-theme=horizon] .f-resource{padding:16px;min-height:155px}
 body[data-theme=horizon] .f-mast h1{font-size:27px}
}
