/* Customer reference layout, with original company photography. */
.ts-header { min-height: 100px; }
.ts-main { width: min(1320px,calc(100% - 64px)); }
.ts-main h1 { font-size: clamp(2.1rem,3.25vw,3rem); letter-spacing: -.035em; line-height: 1.18; }
.ts-main h2 { font-size: clamp(1.6rem,2.3vw,2.1rem); letter-spacing: -.035em; }
.ts-main .ts-hero { min-height: 550px; background: #f5f5f0; grid-template-columns: 1.08fr 1fr; }
.ts-hero-copy { padding: 45px 0 45px 44px; }
.ts-hero-copy h1 { margin: 0 -8px 24px 0; }
.ts-hero-copy .ts-lead { max-width: 490px; font-size: 16px; line-height: 1.6; }
.ts-hero-image::after { background: linear-gradient(90deg,#f5f5f0,transparent 48%); }
.ts-hero-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.ts-hero-actions > * { margin: 0; }
.ts-hero-actions > :last-child .wp-block-button__link { background: transparent; color: #123c34; border: 1px solid #123c34; }
.ts-hero-proofs { display: flex; gap: 35px; margin-top: 35px; }
.ts-hero-proofs p { position: relative; padding-left: 29px; font-size: 12px; line-height: 1.45; margin: 0; }
.ts-hero-proofs span { position: absolute; left: 0; top: 3px; font-size: 21px; }
.ts-section { padding: 36px 0; }
.ts-intro { grid-template-columns: .9fr 1.3fr; gap: 55px; border: 0; align-items: center; padding-top: 44px; }
.ts-intro-image { margin: 0; }
.ts-intro-image img { display: block; width: 100%; height: 235px; object-fit: cover; border-radius: 4px; }
.ts-intro-copy { padding-top: 0; }
.ts-intro-copy h2 { margin-top: 0; }
.ts-intro-copy p { font-size: 14px; }
.ts-services { padding-top: 8px; }
.ts-services > h2,.ts-projects > h2 { text-align: center; margin-top: 0; }
.ts-service-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; margin-top: 25px; }
.ts-main .ts-service-card { border-color: #e7e8e2; border-radius: 4px; box-shadow: 0 2px 5px #163b3010; }
.ts-service-photo img { aspect-ratio: auto; height: 145px; }
.ts-service-card-body { padding: 19px 15px 15px; }
.ts-main .ts-service-card h3 { font-size: 14px; line-height: 1.4; letter-spacing: -.015em; }
.ts-main .ts-service-card p { font-size: 12px; line-height: 1.65; }
.ts-service-card .ts-card-link { padding-top: 6px; }
.ts-card-link a { min-height: 30px; align-items: center; font-size: 20px; }
.ts-main .ts-projects { padding: 8px 0 30px; }
.ts-home-project-query { margin-top: 25px; }
.ts-home-project-query .wp-block-post-template { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ts-home-project-query .wp-block-post { position: relative; min-height: 245px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #123c34; }
.ts-home-project-query .wp-block-post-featured-image { margin: 0; height: 100%; }
.ts-home-project-query .wp-block-post-featured-image a { display: block; height: 100%; }
.ts-home-project-query .wp-block-post-featured-image img { height: 245px; aspect-ratio: auto; object-fit: cover; display: block; }
.ts-home-project-query .wp-block-post-title { position: absolute; inset: auto 0 0; padding: 48px 20px 20px; margin: 0; font-size: 16px; line-height: 1.45; background: linear-gradient(transparent,#10372fed 75%); pointer-events: none; }
.ts-home-project-query .wp-block-post-title a { color: white; pointer-events: auto; }
.ts-home-project-query .wp-block-post-title a::after { content: ' →'; white-space: nowrap; }
.ts-projects > .wp-block-buttons { justify-content: center; margin-top: 15px; }
.ts-projects > .wp-block-buttons .wp-block-button__link { background: transparent; color: #123c34; border: 1px solid #123c34; padding: 11px 34px; }
.ts-area.ts-area-map { display: block; position: relative; padding: 30px 40px; min-height: 270px; overflow: hidden; background: #edf0e7; color: #273631; border-radius: 4px; }
.ts-area-map .ts-region-map { position: absolute; inset: 0 0 0 auto; width: 65%; }
.ts-region-map img { width: 100%; height: 100%; object-fit: contain; }
.ts-area-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#f4f3ed 30%,transparent 40%); pointer-events: none; }
.ts-area-map .ts-area-copy { position: relative; z-index: 1; max-width: 34%; }
.ts-area h2 { color: #123c34; font-size: 23px; margin: 0; }
.ts-area-copy p,.ts-area-copy p:last-child { color: #273631; font-size: 13px; }
.ts-area-map a { color: #123c34; }
.ts-area-places { line-height: 2.1; }
.ts-quality { padding-block: 28px; }
.ts-main .ts-quality > h2 { font-size: 23px; }
.ts-quality-grid { gap: 20px; margin-top: 22px; }
.ts-quality-item { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-content: start; border: 0; padding: 0 16px 0 0; border-right: 1px solid #d9ded8; }
.ts-quality-item:last-child { border-right: 0; }
.ts-quality-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; width: 34px; height: 34px; }
.ts-quality-item h3 { grid-column: 2; margin: 0; font-size: 13px; line-height: 1.4; }
.ts-main .ts-quality-item p { grid-column: 2; margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.ts-contact.ts-contact-simple { padding: 0; grid-template-columns: .85fr 1.5fr; gap: 30px; margin: 0 0 32px; background: #f1f0eb; overflow: hidden; border-radius: 4px; }
.ts-home-contact-image { margin: 0; }
.ts-home-contact-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ts-home-contact-copy { padding: 25px 28px 20px 0; min-width: 0; }
.ts-home-contact-copy > h2 { font-size: 25px; margin: 0; }
.ts-home-contact-copy > p { font-size: 13px; margin-top: 8px; }
.ts-simple-form { padding: 0; border: 0; background: transparent; margin-top: 16px; }
.ts-simple-form .ts-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ts-simple-form input,.ts-simple-form textarea { padding: 9px 10px; border-color: #cbd1cc; }
.ts-simple-form label { font-size: 12px; }
.ts-simple-form > label { margin-top: 12px; }
.ts-simple-form .ts-form-help { font-size: 11px; margin-block: 10px; }
.ts-simple-form .ts-form-notice { padding: 6px 10px; font-size: 11px; margin-bottom: 12px; }
.ts-simple-form button { font-size: 13px; padding: 12px 20px; }
.ts-simple-form .ts-form-result:empty { display: none; }
footer .ts-footer { padding-block: 30px 20px; }
.ts-footer-grid { gap: 28px; }
.ts-footer p { font-size: 12px; margin-block: 12px; }
.ts-footer h2 { font-size: 14px; }
.ts-footer .wp-block-site-logo img { width: 110px; }
.ts-footer-bottom { margin-top: 22px; padding-top: 12px; }
/* Interior pages keep their original editable content blocks. */
.ts-page { width: min(1240px,calc(100% - 64px)); margin: 15px auto 60px; }
.ts-page > .ts-breadcrumb { max-width: none; margin-bottom: 20px; font-size: 12px; }
.ts-page-hero { max-width: none !important; background: #f0f1ea; border-radius: 5px; overflow: hidden; margin-bottom: 40px; }
.ts-page-hero-with-image { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.ts-page-hero-copy { padding: 45px; align-self: center; }
.ts-page-hero .ts-eyebrow { font-size: 10px; letter-spacing: .13em; }
.ts-page-hero h1 { font-size: clamp(2.1rem,3.8vw,3.3rem); line-height: 1.13; letter-spacing: -.04em; margin: 20px 0; }
.ts-page-hero .ts-page-lead { font-size: 18px; line-height: 1.55; margin: 0; max-width: 700px; }
.ts-page-hero-image { min-width: 0; min-height: 320px; background: #e6eae2; }
.ts-page-hero-image figure { margin: 0; height: 100%; }
.ts-page-hero-image img { display: block; height: 100%; max-height: 420px; width: 100%; object-fit: cover; }
.ts-page-hero-image .ts-product-image img { object-fit: contain; }
.ts-editorial-layout { max-width: 100% !important; }
.ts-has-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 65px; }
.ts-article { min-width: 0; }
.ts-editorial-layout:not(.ts-has-sidebar) .ts-article { max-width: 900px; margin-inline: auto; }
.ts-article > :first-child { margin-top: 0; }
.ts-article h2 { font-size: 26px; letter-spacing: -.025em; margin-top: 36px; }
.ts-article p,.ts-article li { font-size: 16px; }
.ts-page-sidebar { align-self: start; background: #f0f2ec; padding: 26px; border-top: 3px solid #ef6010; border-radius: 3px; }
.ts-page-sidebar h2 { font-size: 20px; margin: 0 0 18px; }
.ts-page-sidebar ul { list-style: none; padding: 0; margin: 0; }
.ts-page-sidebar li { border-bottom: 1px solid #d7dfd5; }
.ts-page-sidebar li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14px; text-decoration: none; }
.ts-page-sidebar a[aria-current] { font-weight: 700; }
.ts-sidebar-contact { margin-top: 32px; }
.ts-sidebar-contact p { font-size: 14px; }
.ts-sidebar-contact > a:last-child { font-size: 14px; }
.ts-solid-link { display: block; padding: 13px 18px; background: #123c34; color: white; border-radius: 3px; text-decoration: none; font-size: 14px; text-align: center; }
.ts-article .ts-page-cta { padding: 28px; background: #edf0e7; border-radius: 4px; margin-top: 38px; }
.ts-article .ts-page-cta h2 { margin-top: 0; }
.ts-article .ts-detail-card { border-radius: 4px; padding: 22px; }
.ts-page .ts-detail-card h3 { font-size: 20px; }
.ts-page .ts-detail-card p { font-size: 14px; }
.ts-page .ts-full-form { padding: 35px; border-radius: 4px; box-shadow: 0 5px 20px #163b3008; }
.ts-page .ts-full-form .ts-form-grid { gap: 25px; }
.ts-page .ts-simple-form { background: #f0f2ec; padding: 26px; border-radius: 4px; }
.ts-page > h1 { font-size: clamp(2.1rem,4vw,3.5rem); }
.ts-project-query .wp-block-post { background: white; border: 1px solid #e3e8e0; padding-bottom: 22px; border-radius: 4px; overflow: hidden; }
.ts-project-query .wp-block-post-featured-image { margin: 0 0 20px; }
.ts-project-query .wp-block-post-title,.ts-project-query .wp-block-post-excerpt { margin-inline: 22px; }
.ts-project-meta { background: #eef1ea; padding: 20px 25px; border-radius: 4px; }
@media(max-width:1100px) {
 .ts-service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .ts-service-photo img { height: 160px; }
 .ts-main .ts-service-card h3 { font-size: 16px; }
 .ts-has-sidebar { gap: 30px; grid-template-columns: minmax(0,1fr) 250px; }
 .ts-page-hero-copy { padding: 32px; }
}
@media(max-width:900px) {
 .ts-main,.ts-page { width: calc(100% - 40px); }
 .ts-hero-copy { padding: 30px 0 30px 28px; }
 .ts-main .ts-hero { min-height: 500px; }
 .ts-hero-proofs { gap: 18px; }
 .ts-intro { gap: 28px; }
 .ts-quality-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
 .ts-quality-item:nth-child(2) { border-right: 0; }
 .ts-area-map .ts-area-copy { max-width: 34%; }
 .ts-area.ts-area-map { padding: 26px; }
 .ts-has-sidebar { grid-template-columns: 1fr; }
 .ts-page-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
 .ts-sidebar-contact { margin-top: 0; }
 .ts-contact.ts-contact-simple { grid-template-columns: .7fr 1.3fr; gap: 24px; }
 .ts-simple-form .ts-form-grid { grid-template-columns: 1fr; gap: 10px; }
}
@media(max-width:600px) {
 .ts-main,.ts-page { width: calc(100% - 32px); }
 .ts-main .ts-hero { display: flex; min-height: 0; }
 .ts-hero-copy { padding: 30px 24px 24px; }
 .ts-main h1 { font-size: 30px; }
 .ts-hero-copy h1 { margin-right: 0; }
 .ts-hero-image { height: 230px; }
 .ts-hero-image::after { background: linear-gradient(#f5f5f0,transparent 40%); }
 .ts-hero-proofs { gap: 20px; margin-top: 26px; }
 .ts-hero-proofs p { font-size: 10px; padding-left: 23px; }
 .ts-intro { grid-template-columns: 1fr; padding-top: 30px; gap: 24px; }
 .ts-intro-image img { height: 190px; }
 .ts-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .ts-service-photo img { height: 115px; }
 .ts-service-card-body { padding: 15px 12px; }
 .ts-main .ts-service-card h3 { font-size: 14px; }
 .ts-main .ts-service-card p { font-size: 12px; }
 .ts-home-project-query .wp-block-post-template { grid-template-columns: 1fr; gap: 16px; }
 .ts-home-project-query .wp-block-post { min-height: 215px; }
 .ts-home-project-query .wp-block-post-featured-image img { height: 215px; }
 .ts-area.ts-area-map { padding: 26px 22px 0; }
 .ts-area-map .ts-area-copy { max-width: 100%; }
 .ts-area-map .ts-region-map { position: relative; width: calc(100% + 44px); margin: 0 -22px; height: 240px; }
 .ts-area-map .ts-area-copy { margin: 0; }
 .ts-area-map { display: flex !important; flex-direction: column-reverse; }
 .ts-area-map::after { display: none; }
 .ts-region-map img { object-fit: contain; }
 .ts-quality-grid { grid-template-columns: 1fr; gap: 22px; }
 .ts-quality-item { border: 0; padding-right: 0; grid-template-columns: 36px 1fr; }
 .ts-main .ts-quality-item h3 { font-size: 15px; }
 .ts-main .ts-quality-item p { font-size: 13px; }
 .ts-contact.ts-contact-simple { grid-template-columns: 1fr; gap: 0; }
 .ts-home-contact-image { height: 180px; }
 .ts-home-contact-copy { padding: 24px 20px; }
 .ts-page-hero-with-image { grid-template-columns: 1fr; }
 .ts-page-hero-copy { padding: 27px 23px; }
 .ts-page-hero h1 { font-size: 32px; }
 .ts-page-hero .ts-page-lead { font-size: 17px; }
 .ts-page-hero-image { min-height: 0; }
 .ts-page-hero-image img { height: 240px; }
 .ts-page-hero { margin-bottom: 28px; }
 .ts-page-sidebar { display: block; }
 .ts-sidebar-contact { margin-top: 30px; }
 .ts-page .ts-full-form { padding: 22px; }
 .ts-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
 .ts-footer-bottom { flex-direction: column; }
}
@media(max-width:360px) { .ts-service-grid,.ts-footer-grid { grid-template-columns: 1fr; } }

/* Mobile menu: original branding, full-width touch targets and a clear quote action. */
.ts-header .ts-mobile-menu-item { display: none; }
.ts-header .wp-block-navigation__responsive-container-open {
 align-items: center; justify-content: center; gap: 9px; min-width: 84px; min-height: 44px;
 padding: 8px 12px; border: 1px solid #d6ded8; border-radius: 4px; color: #123c34;
}
.ts-header .wp-block-navigation__responsive-container-open::before { content: 'Meny'; font-size: 13px; font-weight: 600; }
.ts-header .wp-block-navigation__responsive-container.is-menu-open {
 background: #f8f7f3; color: #123c34; padding: max(22px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));
 overflow-y: auto;
}
.ts-header .is-menu-open .wp-block-navigation__responsive-close { width: 100%; max-width: 520px; margin-inline: auto; }
.ts-header .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; margin-top: 0; }
.ts-header .is-menu-open .wp-block-navigation__responsive-dialog::before {
 content: ''; display: block; width: 102px; height: 68px;
 background: url('assets/images/logo.png') left center / contain no-repeat;
}
.ts-header .is-menu-open .wp-block-navigation__responsive-container-close {
 top: 4px; right: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
 border: 1px solid #d6ded8; border-radius: 50%; color: #123c34; background: #eeefe8;
}
.ts-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 24px; align-items: stretch; }
.ts-header .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 0; }
.ts-header .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch; }
.ts-header .is-menu-open .wp-block-navigation-item__content {
 display: flex; align-items: center; justify-content: space-between; width: 100%; box-sizing: border-box;
 min-height: 54px; padding: 13px 0; border-bottom: 1px solid #dce1da; font-size: 21px; line-height: 1.25;
 text-align: left; text-decoration: none;
}
.ts-header .is-menu-open .wp-block-navigation-item__content::after { content: '↗'; font-size: 18px; color: #687e74; }
.ts-header .is-menu-open .current-menu-item:not(.ts-menu-quote) > a { color: #a54412; }
.ts-header .is-menu-open .ts-mobile-menu-item { display: flex; }
.ts-header .is-menu-open .ts-menu-quote { margin-top: 24px; }
.ts-header .is-menu-open .ts-menu-quote a { background: #123c34; color: #fff; border: 0; border-radius: 4px; padding: 15px 20px; font-size: 17px; }
.ts-header .is-menu-open .ts-menu-quote a::after { color: #fff; }
.ts-header .is-menu-open .ts-menu-phone a { font-size: 15px; font-weight: 500; border: 0; justify-content: center; }
.ts-header .is-menu-open .ts-menu-phone a::after { content: none; }
.ts-header .is-menu-open a:focus-visible, .ts-header button:focus-visible { outline: 3px solid #ed691d; outline-offset: 4px; }
/* Core navigation applies modal defaults with !important. */
.ts-header .wp-block-navigation__responsive-container.is-menu-open { background: #f8f7f3 !important; color: #123c34 !important; }
.ts-header .is-menu-open .wp-block-navigation__container { gap: 0 !important; }
.ts-header .is-menu-open .wp-block-navigation-item__content { padding: 13px 0 !important; }
.ts-header .is-menu-open .ts-menu-quote a { padding: 15px 20px !important; }
/* Visible page blocks share the same structure in the editor and on the website. */
.ts-page > .wp-block-post-content { max-width: none; }
.ts-page-hero > .wp-block-group, .ts-editorial-layout > .wp-block-group { margin-block: 0; }
.ts-quality-icon img { width: 34px; height: 34px; display: block; }
