/* A fuller front page and a navigation bar that remains visible on tablets. */
.jsb-theme .brand { gap:12px; }
.jsb-theme .brand-mark { width:36px;height:36px;font-size:21px; }
.jsb-theme .brand-name { font-size:20px;letter-spacing:.035em;text-transform:uppercase;line-height:1.2; }
.jsb-theme .brand-note { font-size:9px;margin-top:6px; }
.jsb-theme .header-inner { gap:24px; }
.jsb-theme .home-intro { margin-bottom:36px; }
.home-section-heading { display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:25px; }
body.jsb-theme .home-section-heading h2 { font-family:var(--sans);font-size:32px;font-weight:800;letter-spacing:-.045em;line-height:1.15;margin:0; }
.home-section-heading>p { max-width:430px;font-size:12px;color:var(--muted);margin:0;line-height:1.8; }
.latest-news { margin-bottom:42px; }
.latest-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px; }
.latest-card .article-card-image { aspect-ratio:16/10; }
.latest-card .article-card-copy { padding-top:17px; }
.latest-card h3 { font-size:22px;line-height:1.3;margin-bottom:11px; }
.latest-card p { display:block;font-size:12px;line-height:1.8;margin-bottom:13px; }
.home-project-updates { margin-block:0 44px;padding-block:30px 32px;border-block:1px solid var(--line); }
.home-project-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px; }
.home-project-grid .article-card-image { aspect-ratio:16/9; }
.home-project-grid h3 { font-size:19px;line-height:1.4; }
.home-project-grid p { font-size:12px; }
.article-wide-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 34px;margin-top:38px;border-top:1px solid var(--line);padding-top:32px; }
.article-card-wide { display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);align-items:start;gap:22px; }
.article-card-wide .article-card-image { aspect-ratio:4/3; }
.article-card-wide .article-card-copy { padding-top:0; }
.article-card-wide h3 { font-size:19px;line-height:1.4; }
.article-card-wide p { font-size:12px;line-height:1.75; }
.article-card-wide .article-meta { flex-wrap:wrap; }
@media(min-width:640px) {
 .jsb-global-header .menu-toggle { display:none; }
 .jsb-global-header #navigasjon,.jsb-global-header #navigasjon.is-open { display:flex;position:static;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px!important;padding:0;border:0;background:transparent;box-shadow:none; }
 .jsb-global-header #navigasjon>a { padding:10px 0; }
 .jsb-global-header #navigasjon .nav-cta { margin:0;padding:10px 13px; }
 .jsb-global-header .explore-menu>summary,.jsb-global-header .site-search>summary { padding:10px 0; }
 .jsb-global-header .explore-menu-inner,.jsb-global-header .site-search form { position:absolute;top:100%;right:0;width:max-content;min-width:230px;max-width:calc(100vw - 48px);box-shadow:0 12px 35px #173d3015;margin:0; }
}
@media(min-width:640px) and (max-width:1099px) {
 .jsb-theme .header-inner { flex-wrap:wrap;gap:12px;padding-block:17px 5px; }
 .jsb-global-header #navigasjon { flex-basis:100%;width:100%;font-size:12px; }
 .jsb-theme .jsb-language-switcher { padding-bottom:10px; }
 .latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .article-list-section>.article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .article-wide-grid { grid-template-columns:1fr; }
 .article-card-wide { grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); }
 .home-project-grid { gap:20px; }
 .home-project-grid h3 { font-size:17px; }
 .home-section-heading { align-items:flex-start; }
 .home-section-heading>p { max-width:320px; }
 html { scroll-padding-top:180px; }
}
@media(min-width:1100px) {
 .jsb-global-header #navigasjon { flex-wrap:nowrap;gap:21px!important; }
 .jsb-theme .brand-name { font-size:19px; }
}
@media(max-width:760px) {
 .jsb-theme .brand-name { font-size:18px; }
 .jsb-theme .brand-mark { width:34px;height:34px;font-size:20px; }
 .home-section-heading { display:block;margin-bottom:23px; }
 body.jsb-theme .home-section-heading h2 { font-size:29px;margin-bottom:10px; }
 .home-section-heading>p { font-size:12px;max-width:440px; }
 .home-project-grid { grid-template-columns:1fr;gap:24px; }
 .home-project-grid .article-card { display:grid;grid-template-columns:115px minmax(0,1fr);gap:17px; }
 .home-project-grid .article-card-copy { padding-top:0; }
 .home-project-grid .article-card-image { aspect-ratio:1; }
 .home-project-grid h3 { font-size:17px; }
 .home-project-grid p { margin-bottom:10px; }
}
@media(max-width:639px) {
 .jsb-theme .header-inner { min-height:80px;gap:10px; }
 .jsb-theme .brand-name { font-size:17px;letter-spacing:.02em; }
 .jsb-theme .brand-note { font-size:8px;letter-spacing:.19em; }
 .jsb-theme .brand { gap:10px; }
 .jsb-global-header .menu-toggle { display:flex;padding:8px 10px;font-size:11px; }
 .latest-grid { grid-template-columns:1fr;gap:25px; }
 .latest-card:not(:first-child) { display:grid;grid-template-columns:105px minmax(0,1fr);gap:17px;padding-bottom:24px;border-bottom:1px solid var(--line); }
 .latest-card:not(:first-child) .article-card-image { aspect-ratio:1; }
 .latest-card:not(:first-child) .article-card-copy { padding-top:0; }
 .latest-card:not(:first-child) h3 { font-size:18px;line-height:1.4;margin-bottom:9px; }
 .latest-card:not(:first-child) p { display:block;font-size:12px;margin-bottom:10px; }
 .latest-card:first-child h3 { font-size:25px; }
 .latest-card .article-meta { flex-wrap:wrap;gap:6px; }
 .latest-card .article-meta span:last-child { display:none; }
 .home-project-updates { padding-block:25px;margin-bottom:34px; }
 .article-wide-grid { grid-template-columns:1fr;gap:26px;margin-top:30px;padding-top:28px; }
 .article-card-wide { grid-template-columns:105px minmax(0,1fr);gap:17px; }
 .article-card-wide .article-card-image { aspect-ratio:1; }
 .article-card-wide h3 { font-size:18px; }
 .article-card-wide .article-meta span:last-child { display:none; }
}
@media(max-width:379px) {
 .jsb-theme .brand-name { font-size:14px; }
 .jsb-theme .brand-mark { width:31px;height:31px;font-size:19px; }
 .jsb-theme .brand { gap:8px; }
}
@media(min-width:761px) {
 .home-project-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); }
}
@media(min-width:761px) and (max-width:1099px) {
 .jsb-theme .home-intro { grid-template-columns:1fr;gap:18px; }
 .jsb-theme .home-intro>p { max-width:640px; }
}
/* The latest stories form a lead spread, followed by a smaller supporting row. */
.jsb-theme .brand { align-items:center;gap:12px; }
.jsb-theme .brand-name { font-size:24px;line-height:1;letter-spacing:.025em; }
.jsb-theme .brand-mark { width:34px;height:34px;font-size:21px;flex-shrink:0; }
.latest-grid.latest-editorial { grid-template-columns:repeat(12,minmax(0,1fr));gap:30px; }
.latest-editorial>.latest-lead { grid-column:1 / span 7;grid-row:1 / span 2; }
.latest-editorial>.latest-lead .article-card-image { aspect-ratio:16/10; }
.latest-editorial>.latest-lead h3 { font-size:32px;line-height:1.22;letter-spacing:-.035em; }
.latest-editorial>.latest-lead p { font-size:14px;line-height:1.8;max-width:610px; }
.latest-editorial>.latest-secondary { grid-column:8 / -1;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px;align-items:stretch;border-bottom:1px solid var(--line);padding-bottom:24px; }
.latest-editorial>.latest-secondary:nth-child(2) { grid-row:1; }
.latest-editorial>.latest-secondary:nth-child(3) { grid-row:2; }
.latest-editorial>.latest-secondary .article-card-image { aspect-ratio:auto;height:100%;min-height:180px; }
.latest-editorial>.latest-secondary .article-card-copy { padding-top:0;display:flex;flex-direction:column;align-items:flex-start; }
.latest-editorial>.latest-secondary h3 { font-size:21px;line-height:1.35; }
.latest-editorial>.latest-secondary p { font-size:12px;line-height:1.75; }
.latest-editorial>.latest-secondary .article-meta { flex-wrap:wrap;gap:7px; }
.latest-editorial>.latest-follow { grid-column:span 4;grid-row:3;border-top:1px solid var(--line);padding-top:26px;margin-top:4px; }
.latest-editorial>.latest-follow .article-card-image { aspect-ratio:16/9; }
.latest-editorial>.latest-follow h3 { font-size:21px; }
@media(min-width:640px) and (max-width:999px) {
 .latest-editorial>.latest-lead { grid-column:1 / -1;grid-row:1; }
 .latest-editorial>.latest-lead .article-card-image { aspect-ratio:2/1; }
 .latest-editorial>.latest-lead h3 { font-size:30px;max-width:700px; }
 .latest-editorial>.latest-secondary { grid-column:span 6;grid-row:2!important;display:block;padding-bottom:26px; }
 .latest-editorial>.latest-secondary .article-card-image { aspect-ratio:16/10;height:auto;min-height:0; }
 .latest-editorial>.latest-secondary .article-card-copy { padding-top:17px; }
 .latest-editorial>.latest-follow h3 { font-size:18px; }
 .latest-editorial>.latest-follow .article-category { font-size:8px; }
 .latest-editorial>.latest-follow p { font-size:12px; }
 .latest-editorial>.latest-follow .article-meta { flex-wrap:wrap;gap:6px; }
}
@media(min-width:1000px) and (max-width:1199px) {
 .latest-editorial>.latest-lead { grid-column:1 / span 6; }
 .latest-editorial>.latest-secondary { grid-column:7 / -1;gap:16px; }
 .latest-editorial>.latest-lead h3 { font-size:28px; }
 .latest-editorial>.latest-secondary h3 { font-size:19px; }
}
@media(max-width:639px) {
 .jsb-theme .brand { gap:10px; }
 .jsb-theme .brand-name { font-size:18px;letter-spacing:.01em; }
 .jsb-theme .brand-mark { width:30px;height:30px;font-size:19px; }
 .latest-grid.latest-editorial { grid-template-columns:1fr;gap:25px; }
 .latest-editorial>.latest-card { grid-column:1;grid-row:auto!important; }
 .latest-editorial>.latest-lead h3 { font-size:27px; }
 .latest-editorial>.latest-lead p { font-size:13px; }
 .latest-editorial>.latest-secondary,.latest-editorial>.latest-follow { display:grid;grid-template-columns:105px minmax(0,1fr);gap:17px;padding:0 0 24px;margin:0;border-top:0;border-bottom:1px solid var(--line); }
 .latest-editorial>.latest-secondary .article-card-image,.latest-editorial>.latest-follow .article-card-image { aspect-ratio:1;height:auto;min-height:0; }
 .latest-editorial>.latest-secondary .article-card-copy,.latest-editorial>.latest-follow .article-card-copy { padding-top:0;display:block; }
 .latest-editorial>.latest-secondary h3,.latest-editorial>.latest-follow h3 { font-size:18px; }
}
@media(max-width:379px) {
 .jsb-theme .brand-name { font-size:15px; }
 .jsb-theme .brand-mark { width:28px;height:28px;font-size:18px; }
}
/* Two compact features finish the eight-story opening. */
.latest-editorial>.latest-brief { grid-column:span 6;grid-row:4;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:22px;padding-top:27px;border-top:1px solid var(--line); }
.latest-editorial>.latest-brief .article-card-image { aspect-ratio:4/3; }
.latest-editorial>.latest-brief .article-card-copy { padding-top:0; }
.latest-editorial>.latest-brief h3 { font-size:21px;line-height:1.35; }
.latest-editorial>.latest-brief .article-meta { flex-wrap:wrap;gap:7px; }
.article-card-image img,.project-cover img { transition:transform .45s ease,filter .45s ease; }
.article-card h3 a,.project h3 a { transition:color .2s ease;text-decoration-color:transparent;text-underline-offset:4px; }
@media(hover:hover) and (pointer:fine) {
 .article-card:hover .article-card-image img,.project:hover .project-cover img { transform:scale(1.035);filter:brightness(1.03) saturate(1.04); }
 .article-card:hover h3 a,.project:hover h3 a { color:var(--teal);text-decoration:underline;text-decoration-thickness:1px; }
 .jsb-theme .brand:hover .brand-mark { border-color:var(--copper); }
}
.article-card:focus-within h3 a,.project:focus-within h3 a { color:var(--teal);text-decoration:underline;text-decoration-thickness:1px; }
@media(min-width:640px) and (max-width:999px) {
 .latest-editorial>.latest-brief { gap:16px;grid-template-columns:1fr; }
 .latest-editorial>.latest-brief .article-card-image { aspect-ratio:16/9; }
 .latest-editorial>.latest-brief h3 { font-size:21px; }
}
@media(max-width:639px) {
 .latest-editorial>.latest-brief { grid-column:1;grid-row:auto;grid-template-columns:105px minmax(0,1fr);gap:17px;padding:0 0 24px;border-top:0;border-bottom:1px solid var(--line); }
 .latest-editorial>.latest-brief .article-card-image { aspect-ratio:1; }
 .latest-editorial>.latest-brief h3 { font-size:18px; }
 .latest-editorial>.latest-brief .article-meta span:last-child { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .article-card-image img,.project-cover img,.article-card h3 a,.project h3 a { transition:none!important; }
 .article-card:hover .article-card-image img,.project:hover .project-cover img { transform:none; }
}
.latest-editorial>.latest-secondary .article-card-image { width:100%;min-width:0;max-width:100%; }
@media(max-width:639px) {
 .latest-editorial>.latest-secondary .article-card-image { align-self:start; }
}
