/*
Theme Name: Silikal Industrigulv
Version: 1.0.0
Description: Silikal sitt valgte design med redigerbare WordPress-blokker.
Requires PHP: 7.4
*/

:root{--g:#008d45;--dark:#073d27;--muted:#64706a}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#101815;background:#fff}header{height:104px;display:flex;align-items:center;justify-content:space-between;padding:10px 6vw;position:sticky;top:0;background:#fff;z-index:3;border-bottom:1px solid #eee}.logo{height:82px;width:220px;object-fit:contain}nav{display:flex;gap:28px;align-items:center;font-weight:600;font-size:14px}a{text-decoration:none;color:inherit}.btn{background:var(--g);color:white;padding:14px 22px;border-radius:4px;display:inline-block}.hero{min-height:520px;background:linear-gradient(90deg,rgba(3,55,35,.90),rgba(3,55,35,.10)),url('assets/hero.jpeg') center 58%/cover;display:flex;align-items:center;padding:60px 8vw;color:#fff}.hero .copy{max-width:620px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-weight:700;font-size:14px}.hero h1{font-size:58px;line-height:1.02;margin:14px 0}.hero p{font-size:20px;line-height:1.5}.sub{font-weight:700;margin:22px 0}.ghost{border:1px solid white;padding:13px 21px;border-radius:4px;margin-left:12px}.section{padding:68px 7vw}.section h2{font-size:38px;margin:8px 0 34px}.greenline{color:var(--g);font-weight:700;text-transform:uppercase;font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.card img{width:100%;height:230px;object-fit:cover;border-radius:5px}.card h3{font-size:22px;margin:14px 0 7px}.card p{color:#4f5b55;line-height:1.55}.works{background:#0d2019;color:white}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery img{width:100%;height:250px;object-fit:cover;border-radius:4px}.coverage{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.map{background:#eff7f2;border-radius:12px;padding:35px;min-height:320px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--g);font-size:30px;font-weight:700}.about{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact{background:#f4f7f5}.contactgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.contactbox{background:white;padding:25px;border-radius:8px}.footer{background:#10201a;color:white;padding:35px 7vw;display:flex;justify-content:space-between;align-items:center}.footer img{height:95px;max-width:260px;object-fit:contain;background:white;padding:6px}.small{color:#cbd5d0;font-size:13px}@media(max-width:800px){nav{display:none}.hero h1{font-size:42px}.cards,.gallery,.coverage,.about,.contactgrid{grid-template-columns:1fr}.gallery img{height:280px}.section{padding:48px 6vw}.hero{padding:50px 6vw}.footer{display:block}.footer img{margin-bottom:20px}}

html{scroll-padding-top:90px}.preview-note{background:#eaf3ee;color:#073d27;text-align:center;font-size:11px;padding:6px}.menu{display:none}header{height:88px;padding:8px max(5vw,calc((100vw - 1300px)/2))}.logo{height:72px;width:160px}nav{gap:22px;font-size:13px}.hero{min-height:420px;padding:45px max(7vw,calc((100vw - 1250px)/2));background-image:linear-gradient(90deg,rgba(3,24,30,.86),rgba(3,24,30,.04)),url('assets/gallery1.jpeg')}.hero .copy{max-width:560px}.hero h1{font-size:48px;line-height:1.06}.hero p{font-size:18px}.section{padding:38px max(5vw,calc((100vw - 1300px)/2))}.section h2{font-size:30px;margin:8px 0 24px}.card img{height:170px}.card h3{font-size:20px}.card p{font-size:14px}.works{background:linear-gradient(120deg,#073d27,#082d26)}.gallery{grid-template-columns:repeat(6,1fr);gap:14px}.gallery img{height:140px;cursor:zoom-in}.map{min-height:170px;font-size:24px}.contactbox{border:1px solid #e5eae5}.footer{background:#e9efeb;color:#073d27}.small{color:#435b4a}.footer img{height:75px;background:transparent}dialog{max-width:95vw;border:0;border-radius:4px}dialog::backdrop{background:#001a16dd}dialog img{max-width:85vw;max-height:80vh}dialog button{float:right;padding:10px;border:0;background:white}a:focus-visible,button:focus-visible{outline:3px solid #008d45;outline-offset:3px}@media(max-width:800px){header{height:80px}.logo{height:65px}.menu{display:block;background:white;border:1px solid #008d45;padding:10px;color:#073d27}nav.open{display:flex;flex-direction:column;position:absolute;top:80px;left:0;right:0;padding:25px;background:white;align-items:stretch}.hero{min-height:450px}.hero h1{font-size:40px}.hero p{font-size:17px}.gallery{grid-template-columns:repeat(2,1fr)}.gallery img{height:180px}.ghost{display:inline-block;margin:10px 0}.coverage{gap:20px}.footer{display:block}.card img{height:240px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Hele bildemotivet vises uten beskjæring. */
.card img,.gallery img{object-fit:contain;background:#edf1ed}
.about>img{object-fit:contain!important;background:#edf1ed;height:auto!important;max-height:500px}
.hero{background:linear-gradient(90deg,rgba(3,24,30,.9),rgba(3,24,30,.75));position:relative;isolation:isolate;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/gallery1.jpeg') right center/contain no-repeat;opacity:.55}
@media(max-width:800px){.hero{padding-top:260px}.hero:before{background-position:center top;background-size:100% auto;opacity:.65}}
.section p{line-height:1.65}.gallery-intro{max-width:780px;color:#e1ece5;margin-bottom:24px}.planning{background:#f4f7f5}.planning .btn{margin-top:16px}.coverage-maps{position:relative;padding:0 0 30px}.coverage-maps figure{margin:0;border:1px solid #d7e3da;border-radius:6px;overflow:hidden;background:#eff7f2}.coverage-maps iframe{width:100%;height:360px;border:0;display:block}.coverage-maps figcaption{padding:10px 14px;font-size:14px;color:#073d27;font-weight:600}.coverage-maps .svalbard-map{position:absolute;right:12px;top:12px;width:145px;box-shadow:0 2px 10px #0002}.svalbard-map iframe{height:120px}.svalbard-map figcaption{font-size:12px;padding:6px 10px}.map-link{display:inline-block;color:#007b3c;font-size:13px;margin-top:10px}@media(max-width:800px){.coverage-maps iframe{height:330px}.coverage-maps .svalbard-map{width:120px}.svalbard-map iframe{height:100px}}.green-coverage-map{width:100%;max-width:530px;aspect-ratio:365/198;background-image:url("assets/design-original.png");background-repeat:no-repeat;background-size:359.452% auto;background-position:69.693% 91.409%;margin:auto}.address-link{color:#007b3c;text-decoration:underline;text-underline-offset:3px;line-height:2}
.wp-site-blocks,.entry-content{margin:0;padding:0}.wp-block-group{box-sizing:border-box}.wp-block-image{margin:0}.wp-block-image img{max-width:100%;height:auto}.cards>.wp-block-group,.gallery>.wp-block-image,.coverage>.wp-block-group,.about>.wp-block-group{min-width:0}.card .wp-block-image img{width:100%;height:170px;object-fit:contain}.gallery .wp-block-image img{width:100%;height:140px;object-fit:contain}.about>.wp-block-image img{width:100%;max-height:500px;object-fit:contain}.hero:before{display:none}.hero-picture{position:absolute;inset:0;z-index:-1;opacity:.55}.hero-picture img{width:100%;height:100%;object-fit:contain;object-position:right center}.hero .copy{position:relative}.hero .action-link{display:inline-block;margin:12px 8px 0 0}.hero .ghost{margin:0}.coverage-map{width:100%;max-width:530px;margin:auto}.coverage-map img{width:100%;height:auto}.contactgrid+.contactgrid{margin-top:25px}.editor-styles-wrapper .hero-picture{position:relative;opacity:1;max-height:240px}.editor-styles-wrapper .hero-picture img{max-height:240px}.editor-styles-wrapper .hero{display:block}.editor-styles-wrapper .copy{max-width:none}.editor-styles-wrapper .section{padding:32px}.action-link a{display:inline-block}.admin-bar header{top:32px}@media(max-width:800px){.card .wp-block-image img{height:240px}.gallery .wp-block-image img{height:180px}.hero-picture img{object-position:center top;height:auto}.admin-bar header{top:46px}}


/* Samme toppkant og bildehøyde i tjenestekortene. */
.cards > .wp-block-group { margin-block-start: 0 !important; margin-block-end: 0; }
.cards .wp-block-image { margin: 0; }
.cards .wp-block-image img { display: block; width: 100%; object-fit: contain; }
