

/* Mobil: gamle tabeller og bilder holder seg innenfor innholdsflaten. */
@media (max-width: 767px) {
  #content .item-page table { width: 100% !important; max-width: 100% !important; height: auto !important; table-layout: auto; }
  #content .item-page table, #content .item-page tbody, #content .item-page tr, #content .item-page td { display: block !important; box-sizing: border-box; }
  #content .item-page td { width: 100% !important; }
  #content .item-page img { max-width: 100% !important; height: auto !important; }
}

/* Vis bare én side når en eldre mal har gjentatt innhold. */
body > #top ~ #top,
body > footer.footer ~ footer.footer { display: none !important; }
/* Buseth Data – forside 2026 */
:root{--bd-navy:#001a27;--bd-blue:#283587;--bd-sky:#eaf4fb;--bd-orange:#ef8a35;--bd-teal:#64c8c5;--bd-ink:#27323d}
body.site{background:#eef1f4;color:var(--bd-ink)}
#top{max-width:1180px;margin:24px auto;background:#fff;box-shadow:0 8px 32px rgba(0,26,39,.12)}
.bd-home h1,.bd-home h2,.bd-home h3{color:var(--bd-navy);line-height:1.15}
.bd-home .bd-hero{background:linear-gradient(120deg,#eef8ff 0%,#fff 58%,#e7f3f5 100%);border-radius:18px;padding:42px;margin:0 0 26px}
.bd-home .bd-hero h1{font-size:clamp(2rem,5vw,3.6rem);margin:0 0 14px}
.bd-home .bd-lead{font-size:1.25rem;max-width:700px}
.bd-home .bd-button{display:inline-block;background:var(--bd-blue);color:#fff!important;font-weight:700;padding:13px 21px;border-radius:8px;text-decoration:none;margin-top:10px}
.bd-home .bd-button:hover{background:var(--bd-navy)}
.bd-home .bd-services{display:flex;flex-wrap:wrap;gap:18px;margin:26px 0}
.bd-home .bd-card{flex:1 1 220px;background:#fff;border:1px solid #e3e8ed;border-top:4px solid var(--bd-blue);border-radius:12px;padding:22px;box-shadow:0 4px 15px rgba(0,26,39,.06)}
.bd-home .bd-card:nth-child(2){border-top-color:var(--bd-orange)}
.bd-home .bd-card:nth-child(3){border-top-color:var(--bd-teal)}
.bd-home .bd-contact{background:var(--bd-sky);border-radius:14px;padding:26px;margin-top:28px;display:flex;flex-wrap:wrap;gap:28px}
.bd-home .bd-contact>div{flex:1 1 240px}
.bd-home .bd-contact strong{color:var(--bd-navy)}
@media(max-width:767px){#top{margin:0;box-shadow:none}.bd-home .bd-hero{padding:28px 22px}.bd-home .bd-contact{padding:22px}}