/* Shared skin for remaining pages and system templates. Content stays in place. */
body.nbx-legacy,
body.nbx-system{background:#f1f1f1}
body.nbx-legacy .elementor[data-elementor-type="wp-page"],
body.nbx-legacy #content,
body.nbx-legacy .site-main{background:#f1f1f1}

/* Photo page banner becomes the same text header as the other inner pages. */
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child{
  background:#f1f1f1!important;
  background-image:none!important;
  min-height:0!important;
  height:auto!important;
  padding:clamp(28px,4vw,56px) clamp(16px,4vw,40px) 12px!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child::before,
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child::after{
  content:none!important;display:none!important;background:none!important;opacity:0!important;
}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .e-con,
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .e-con-inner,
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget:not(.elementor-widget-image),
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-container{
  display:block!important;background:transparent!important;padding:0!important;margin:0!important;
  width:100%!important;max-width:none!important;text-align:left!important;align-items:flex-start!important;
}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-image{display:none!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor,
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor p{
  margin:0 0 12px!important;text-align:left!important;
  font-family:Archivo,system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;
  letter-spacing:.14em!important;text-transform:uppercase!important;line-height:1.3!important;color:#9F2429!important;
}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title{
  margin:0!important;text-align:left!important;
  font-family:Archivo,system-ui,sans-serif!important;font-stretch:112%;font-weight:700!important;
  font-size:clamp(36px,5vw,68px)!important;letter-spacing:-.025em!important;line-height:1.08!important;color:#000!important;
}

body.nbx-legacy .elementor-widget-heading .elementor-heading-title{
  font-family:Archivo,system-ui,sans-serif!important;font-stretch:112%;font-weight:700!important;
  letter-spacing:-.02em!important;line-height:1.15!important;
}
body.nbx-legacy .elementor-widget-text-editor,
body.nbx-legacy .elementor-widget-text-editor p,
body.nbx-legacy .elementor-icon-list-text{
  font-family:"Instrument Sans",system-ui,sans-serif!important;
  line-height:1.5!important;
}
body.nbx-legacy .elementor-widget-image img{border-radius:18px}
body.nbx-legacy .elementor-button{
  background:#E80000!important;color:#fff!important;border:0!important;border-radius:999px!important;
  min-height:46px;padding:0 22px!important;font-family:"Instrument Sans",system-ui,sans-serif!important;
  font-weight:600!important;font-size:15px!important;line-height:1!important;
}
body.nbx-legacy .elementor-button:hover{background:#9F2429!important;color:#fff!important}
body.nbx-legacy .elementor-icon-list-items{gap:8px}
body.nbx-legacy .elementor-icon-list-item{align-items:flex-start;line-height:1.4}

body.page-id-22 .elementor-widget-shortcode{
  background:transparent;padding:0;
}
body.page-id-22 .nb-pris{
  background:#fff!important;color:#111!important;border-radius:22px!important;
  box-shadow:none!important;overflow:hidden;
}
body.page-id-22 .nb-pris__panel{background:#fff!important;color:#111!important}
body.page-id-22 .nb-pris__title{
  color:#000!important;text-align:left!important;
  font-family:Archivo,system-ui,sans-serif!important;font-stretch:112%;
}
body.page-id-22 .nb-pris__tab{
  background:#f1f1f1!important;color:#111!important;border-radius:999px!important;
  font-family:"Instrument Sans",system-ui,sans-serif!important;
}
body.page-id-22 .nb-pris__tab.is-active,
body.page-id-22 .nb-pris__tab[aria-selected="true"]{
  background:#000!important;color:#fff!important;
}
body.page-id-22 .nb-pris__field input,
body.page-id-22 .nb-pris__field textarea{
  border:1px solid #e2e4e8!important;border-radius:10px!important;
  font-family:"Instrument Sans",system-ui,sans-serif!important;
}
body.page-id-22 .nb-pris__check{color:#222!important}
body.page-id-22 .nb-pris__check a{color:#000!important}
body.page-id-22 .nb-pris__submit{
  background:#E80000!important;color:#fff!important;border-radius:999px!important;
  height:46px;min-height:46px;padding:0 18px!important;
  font-family:"Instrument Sans",system-ui,sans-serif!important;font-weight:600!important;
}

/* Old Forside keeps every section. Only type and buttons follow the current site. */
body.nbx-oldhome .elementor-heading-title{
  font-family:Archivo,system-ui,sans-serif!important;font-stretch:112%;line-height:1.12!important;
}
body.nbx-oldhome .elementor-button{
  border-radius:999px!important;font-family:"Instrument Sans",system-ui,sans-serif!important;font-weight:600!important;
}

/* Blog, search, archives, 404, delivered-bus singles. */
body.nbx-system #content.site-main{
  max-width:1280px;margin:0 auto;padding:clamp(28px,4vw,56px) clamp(16px,4vw,40px) 72px;
  background:transparent;
}
body.nbx-system .page-header{margin:0 0 22px;padding:0;border:0}
body.nbx-system .page-header .entry-title,
body.nbx-system .entry-title{
  font-family:Archivo,system-ui,sans-serif;font-stretch:112%;font-weight:700;
  font-size:clamp(36px,5vw,68px);letter-spacing:-.025em;line-height:1.08;color:#000;margin:0;
}
body.nbx-system .page-content,
body.nbx-system .entry-content,
body.nbx-system .comment-content{
  font-family:"Instrument Sans",system-ui,sans-serif;font-size:17px;line-height:1.5;color:rgba(0,0,0,.72);
}
body.nbx-system article.post,
body.nbx-system.single-post .page-content{
  background:#fff;border-radius:18px;padding:clamp(18px,2.4vw,28px);margin:0 0 16px;
}
body.nbx-system article.post .entry-title{font-size:clamp(22px,2.4vw,32px);line-height:1.15;margin:0 0 10px}
body.nbx-system article.post .entry-title a{color:#000;text-decoration:none}
body.nbx-system article.post .entry-title a:hover{color:#9F2429}
body.nbx-system article.post img,
body.nbx-system .wp-post-image{width:100%;height:auto;border-radius:14px;margin:0 0 14px}
body.nbx-system .post-page-numbers,
body.nbx-system .nav-links,
body.nbx-system .navigation{margin-top:18px}
body.nbx-system .page-numbers,
body.nbx-system a.post-page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;
  margin:0 4px 0 0;padding:0 12px;border-radius:999px;background:#fff;color:#000;text-decoration:none;font-weight:600;
}
body.nbx-system .page-numbers.current{background:#000;color:#fff}
body.nbx-system .comments-area{background:#fff;border-radius:18px;padding:clamp(18px,2.4vw,28px);margin-top:20px}
body.nbx-system .comment-list{list-style:none;margin:0;padding:0}
body.nbx-system .comment-body{padding:12px 0;border-top:1px solid rgba(0,0,0,.08)}
body.nbx-system .comment-reply-link,
body.nbx-system #commentform .submit,
body.nbx-system .search-form .search-submit{
  display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 22px;border:0;border-radius:999px;
  background:#E80000;color:#fff;font-weight:600;text-decoration:none;font-family:"Instrument Sans",system-ui,sans-serif;
}
body.nbx-system #commentform input,
body.nbx-system #commentform textarea,
body.nbx-system .search-form .search-field{
  width:100%;max-width:520px;border:1px solid #e2e4e8;border-radius:10px;min-height:44px;padding:8px 12px;
  font:500 15px "Instrument Sans",sans-serif;
}
body.error404 .page-content p{max-width:42em}
/* Theme prints the post title again above the delivered-bus template. */
body.single-leverte-busser .page-header{display:none!important}

/* Delivered buses — same cards, every bus kept. */
.nb-lev h2,.nb-ls__title{
  font-family:Archivo,system-ui,sans-serif!important;font-stretch:112%;font-weight:700!important;
  letter-spacing:-.025em!important;line-height:1.08!important;color:#000!important;
}
.nb-lev h2{font-size:clamp(28px,3vw,40px)!important}
.nb-lev .lead{font-family:"Instrument Sans",system-ui,sans-serif!important;line-height:1.45!important;color:rgba(0,0,0,.6)!important}
.nb-lev-card{border-radius:18px!important;box-shadow:none!important}
.nb-lev-card h3{font-family:Archivo,system-ui,sans-serif!important;font-size:20px!important;line-height:1.2!important;color:#000!important}
.nb-ls{background:#f1f1f1;color:#000}
.nb-ls__hero{
  background:#f1f1f1!important;min-height:0!important;text-align:left!important;
  justify-content:flex-start!important;padding:clamp(28px,4vw,56px) clamp(16px,4vw,40px) 8px!important;margin:0!important;
}
.nb-ls__hero::before{display:none!important}
.nb-ls__hero-inner{max-width:1280px;width:100%;margin:0 auto}
.nb-ls__eyebrow{
  font-family:Archivo,system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;
  letter-spacing:.14em!important;text-transform:uppercase!important;color:#9F2429!important;opacity:1!important;
}
.nb-ls__title{font-size:clamp(32px,4.5vw,60px)!important;color:#000!important}
.nb-ls__wrap{max-width:1280px}
.nb-ls__main,.nb-ls__thumbs button{border-radius:18px!important}
.nb-ls__body,.nb-ls__body p{font-family:"Instrument Sans",system-ui,sans-serif!important;line-height:1.5!important}
.nb-ls__back{color:#000!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:3px}

@media (max-width:700px){
  body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title,
  body.nbx-system .page-header .entry-title{font-size:clamp(32px,9vw,44px)!important}
}


/* Kundeendring nov 2026: sidebanner og innhold følger samme 1200px-linje som menyen og logoen. */
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child{
padding-left:max(clamp(16px,4vw,40px), calc((100% - 1200px) / 2))!important;
padding-right:max(clamp(16px,4vw,40px), calc((100% - 1200px) / 2))!important;
padding-top:clamp(36px,4.5vw,64px)!important;padding-bottom:clamp(24px,3vw,40px)!important;
}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title{font-size:clamp(34px,4vw,56px)!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:not(:first-child){
max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;
padding-left:clamp(16px,4vw,40px)!important;padding-right:clamp(16px,4vw,40px)!important;box-sizing:border-box!important;
}
body.nbx-legacy .elementor-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:auto!important;min-height:48px!important;padding-top:12px!important;padding-bottom:12px!important}
body.nbx-legacy .elementor-button .elementor-button-content-wrapper{display:inline-flex;align-items:center;justify-content:center;line-height:1.2}
body.nbx-legacy .elementor-button .elementor-button-text{line-height:1.2!important;padding:0!important;margin:0!important}
body.page-id-20 .elementor[data-elementor-type="wp-page"] > .e-con:not(:first-child) .elementor-heading-title{font-size:clamp(26px,2.4vw,36px)!important}
body.page-id-22 .elementor-element-0fa91ab{padding:clamp(24px,3.5vw,48px)!important;border-radius:22px!important;margin-bottom:20px!important}
body.page-id-22 .elementor-element-0fa91ab .elementor-heading-title{font-size:clamp(24px,2.2vw,32px)!important}


/* ===== QA nov 2026: felles lite sidebanner ===== */
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child{padding-top:clamp(28px,3.9vw,56px)!important;padding-bottom:clamp(20px,2.4vw,32px)!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor,
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor p{font-family:"Instrument Sans",system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;line-height:1.3!important;color:#9F2429!important;margin:0 0 12px!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title{font-size:clamp(30px,3.1vw,44px)!important;line-height:1.08!important;}
@media (max-width:700px){body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title{font-size:clamp(28px,8vw,36px)!important}}

/* ===== QA nov 2026: Kontakt – kompakt kontaktkort med tre felt i rad, så skjemaet ===== */
body.page-id-22 .elementor-element-0fa91ab{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px!important;padding:clamp(20px,2.6vw,32px)!important;border-radius:22px!important;margin:0!important}
body.page-id-22 .elementor-element-0fa91ab > .elementor-widget-heading{grid-column:1/-1;margin:0 0 4px!important}
body.page-id-22 .elementor-element-0fa91ab > .elementor-widget-heading .elementor-heading-title{font-size:clamp(20px,1.8vw,24px)!important;color:#000!important}
body.page-id-22 .elementor-element-0fa91ab > .elementor-widget-divider{display:none!important}
body.page-id-22 .elementor-element-0fa91ab > .e-con{width:auto!important;max-width:none!important;margin:0!important;padding:14px 16px!important;background:#F1F1F1!important;border-radius:14px!important;align-items:center!important;gap:14px!important;flex-wrap:nowrap!important}
body.page-id-22 .elementor-element-0fa91ab > .e-con > .e-con:first-child{flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:50%!important;background:#1B64B4!important;align-items:center!important;justify-content:center!important}
body.page-id-22 .elementor-element-0fa91ab > .e-con > .e-con:last-child{flex:1 1 auto!important;width:auto!important;min-width:0}
body.page-id-22 .elementor-element-0fa91ab > .e-con .elementor-heading-title{font-family:"Instrument Sans",system-ui,sans-serif!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important;color:#000!important;overflow-wrap:anywhere}
body.page-id-22 .elementor-element-0fa91ab > .e-con .elementor-heading-title a{color:inherit!important}
body.page-id-22 .elementor-element-1684710{padding-top:20px!important}
body.page-id-22 .elementor-element-e73348c{padding-bottom:clamp(40px,5vw,72px)!important}
@media (max-width:900px){body.page-id-22 .elementor-element-0fa91ab{grid-template-columns:1fr}}

/* ===== QA nov 2026: Finansiering – kortere luft, lesbar tekst, samme kortstil som resten ===== */
body.page-id-20 .elementor-element-1c32efc{background:transparent!important}
body.page-id-20 .elementor-element-1c32efc > .e-con-inner{background:#fff!important;border-radius:22px!important;padding:clamp(20px,2.6vw,32px)!important;gap:clamp(20px,2.6vw,32px)!important;align-items:center!important}
body.page-id-20 .elementor-element-f78e215{padding:0!important}
body.page-id-20 .elementor-element-1c32efc .elementor-widget-text-editor p,
body.page-id-20 .elementor-element-1c32efc .elementor-widget-text-editor{font-size:16px!important;line-height:1.55!important;color:rgba(0,0,0,.72)!important;margin:0!important}
body.page-id-20 .elementor-element-72ae63d{margin-bottom:12px!important}
body.page-id-20 .elementor-element-600ea49 > .e-con-inner{padding:20px 0 clamp(40px,5vw,72px)!important;gap:20px!important;align-items:stretch!important}
body.page-id-20 .elementor-element-a637687{background:#fff!important;border:0!important;border-radius:22px!important;padding:clamp(24px,3vw,40px)!important;box-shadow:none!important}
body.page-id-20 .elementor-element-f9980df{border-radius:22px!important;padding:clamp(24px,3vw,40px)!important}
body.page-id-20 .elementor-element-d49e186{padding-right:150px!important}
body.page-id-20 .elementor-element-600ea49 .elementor-heading-title{font-size:clamp(24px,2.2vw,32px)!important;line-height:1.12!important}
body.page-id-20 .elementor-element-6609d4d .elementor-heading-title,
body.page-id-20 .elementor-element-f071faa .elementor-heading-title{font-size:20px!important}
body.page-id-20 .elementor-element-600ea49 .elementor-widget-text-editor,
body.page-id-20 .elementor-element-600ea49 .elementor-widget-text-editor p{font-size:16px!important;line-height:1.55!important;color:rgba(0,0,0,.72)!important}
body.page-id-20 .elementor-element-600ea49 .elementor-icon-list-text{font-size:16px!important}
body.page-id-20 .elementor-element-a637687 .elementor-icon-list-text{color:rgba(0,0,0,.78)!important}
@media (max-width:767px){body.page-id-20 .elementor-element-d49e186{padding-right:0!important}body.page-id-20 .elementor-element-1c32efc > .e-con-inner{flex-direction:column!important;align-items:stretch!important}}

/* QA: lik avstand mellom «NORSKBUSS AS» og tittel på alle undersider */
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor{margin:0!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor p{margin:0 0 12px!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor p:last-child{margin-bottom:12px!important}
/* QA: hvite innholdskort følger 1200px-linjen (Leverte busser, Åpenhetsloven) */
body.page-id-21 .elementor-element-9a3e7fc,body.page-id-1302 .elementor-element-72f6ecb{max-width:1200px!important;width:calc(100% - 2 * clamp(16px,4vw,40px))!important;border-radius:22px!important;padding:clamp(24px,3vw,40px)!important;margin-bottom:clamp(40px,5vw,72px)!important}

body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor:not(:has(p)){margin:0 0 12px!important}
body.page-id-22 .elementor[data-elementor-type="wp-page"] > .elementor-element-e73348c{padding-top:0!important}
body.page-id-22 .elementor-element-0fa91ab > .e-con .elementor-heading-title{text-align:left!important}
body.page-id-20 .elementor-element-1c32efc .elementor-widget-text-editor,body.page-id-20 .elementor-element-1c32efc .elementor-widget-text-editor p,body.page-id-20 .elementor-element-600ea49 .elementor-widget-text-editor,body.page-id-20 .elementor-element-600ea49 .elementor-widget-text-editor p{text-align:left!important}
@media (max-width:700px){body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-heading-title{font-size:30px!important}}

@media (max-width:767px){body.page-id-20 .elementor-element-600ea49 .elementor-heading-title{text-align:left!important}}

body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con.elementor-element-9a3e7fc,body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con.elementor-element-72f6ecb{max-width:1200px!important;width:calc(100% - 2 * clamp(16px,4vw,40px))!important;padding:clamp(24px,3vw,40px)!important;border-radius:22px!important;margin-bottom:clamp(40px,5vw,72px)!important}

/* QA: Levert buss (enkeltside) – samme lille sidebanner og 1200px-linje */
body.nbx-system .nb-ls__hero{padding:0 0 8px!important}
body.nbx-system .nb-ls__hero-inner{max-width:none!important}
body.nbx-system .nb-ls__eyebrow{font-family:"Instrument Sans",system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;line-height:1.3!important;color:#9F2429!important;margin:0 0 12px!important}
body.nbx-system .nb-ls__title{font-size:clamp(30px,3.1vw,44px)!important;line-height:1.08!important}
body.nbx-system .nb-ls__wrap{max-width:none!important;padding:0 0 clamp(40px,5vw,60px)!important;margin:24px 0 0!important}
body.nbx-legacy .elementor[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget.elementor-widget-text-editor:not(:has(p)):not(.elementor-widget-image){margin:0 0 12px!important}
