/*
Theme Name: Donskihh AS - Kundeportal
Theme URI: https://donskihh.no
Author: Donskihh AS
Description: Minimalistisk, redigerbar kunde-forside med toppbilde og informasjonslinje; egne sider for tjenester, bestilling, om oss, jobb og kontakt. Uavhengig av PULS.
Version: 1.1.3
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: donskihh-public
*/
:root{--dh-navy:#06172c;--dh-navy2:#092643;--dh-blue:#087dff;--dh-blue2:#0f56bc;--dh-border:rgba(141,201,255,.22);--dh-white:#f9fbff;--dh-muted:#a8b9d2;--dh-radius:18px;--dh-width:1360px}
*,*::before,*::after{box-sizing:border-box} html{scroll-behavior:smooth;scroll-padding-top:96px} body{margin:0;background:var(--dh-navy);color:var(--dh-white);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased} img{max-width:100%;height:auto}a{color:inherit} .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto;left:10px;top:10px;width:auto;height:auto;padding:10px;z-index:99999;background:#fff;color:#000}
.dh-container{width:min(calc(100% - 64px),var(--dh-width));margin-inline:auto}
.dh-header{position:relative;z-index:80;background:#06172ded;border-bottom:1px solid #ffffff18;backdrop-filter:blur(18px)}.dh-header .dh-container{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.dh-brand{display:flex;align-items:center;gap:12px;min-width:200px;color:#fff;text-decoration:none;font-size:1.3rem;font-weight:760;letter-spacing:.015em;white-space:nowrap}.dh-brand img{height:54px;width:54px;object-fit:contain;flex-shrink:0}.dh-nav{display:flex;align-items:center;gap:24px;margin-left:auto}.dh-menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:25px}.dh-menu li{margin:0;list-style:none}.dh-menu a{font-size:.9rem;text-decoration:none;color:#d3ddeb;font-weight:550;transition:color .2s}.dh-menu a:hover,.dh-menu .current-menu-item a{color:#fff}.dh-menu .current-menu-item a{border-bottom:2px solid var(--dh-blue);padding-bottom:7px}.dh-nav-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(145deg,#1192ff,#0754d1);border:1px solid #59b5ff55;min-height:43px;padding:10px 20px;border-radius:10px;color:#fff;text-decoration:none;font-weight:730;font-size:.89rem;box-shadow:0 12px 28px #006af13c;white-space:nowrap}.dh-nav-cta:hover{background:#0879e8}.dh-menu-toggle{display:none;appearance:none;border:1px solid #8cb7dd55;background:#092844;color:#fff;border-radius:9px;padding:8px 11px;font-size:1.5rem;line-height:1;cursor:pointer}
main{min-height:40vh}.entry-content{overflow:hidden}.entry-content>.wp-block-group.alignfull,.entry-content>.wp-block-cover.alignfull,.entry-content>.wp-block-columns.alignfull{max-width:none}.entry-content>.wp-block-group:not(.alignfull),.entry-content>.wp-block-columns:not(.alignfull),.entry-content>.wp-block-cover:not(.alignfull){max-width:var(--dh-width);margin-inline:auto}.wp-block-group,.wp-block-columns{min-width:0}.wp-block-button__link{transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.wp-block-button__link:hover{transform:translateY(-2px)}
/* Front page hero: All headings/buttons/image remain editable in WordPress Gutenberg */
.dh-hero{position:relative;margin:0!important;min-height:650px;background:#08192c}.dh-hero.wp-block-cover{align-items:center;padding:86px max(32px,calc((100vw - var(--dh-width))/2)) 112px}.dh-hero>.wp-block-cover__image-background{object-position:center 52%}.dh-hero:after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(90deg,rgba(2,14,30,.98) 0%,rgba(3,23,43,.89) 31%,rgba(5,27,51,.29) 69%,rgba(5,21,39,.33) 100%);z-index:1}.dh-hero .wp-block-cover__inner-container{position:relative;z-index:2;max-width:var(--dh-width);width:100%;margin-inline:auto}.dh-hero .dh-hero-copy{max-width:650px;margin:0}.dh-kicker,.dh-eyebrow{color:#55b6ff!important;letter-spacing:.2em;text-transform:uppercase;font-weight:800;font-size:.73rem!important}.dh-hero h1{color:#fff!important;font-size:clamp(2.7rem,5.2vw,5.4rem)!important;line-height:1.04!important;letter-spacing:-.052em;font-weight:820;margin:12px 0 23px}.dh-hero h1 em{font-style:normal;color:#53b2ff}.dh-hero .dh-lead{color:#e2eaf5!important;font-size:clamp(1rem,1.35vw,1.14rem);line-height:1.75;max-width:565px}.dh-hero .wp-block-buttons{gap:12px;margin-top:30px}.dh-btn .wp-block-button__link,.wp-block-button.dh-btn .wp-block-button__link{border-radius:11px;padding:14px 22px;font-size:.96rem;font-weight:750;box-shadow:0 10px 24px #001f5466;background:linear-gradient(135deg,#068bff,#0755d3);color:#fff}.dh-btn-outline .wp-block-button__link{background:#06192b55!important;box-shadow:none!important;border:1px solid #c3d8ecaa;color:#fff!important}.dh-btn-outline .wp-block-button__link:hover{background:#14304b!important}
/* trust bar */
.dh-trust-strip{background:#0b2440;border-top:1px solid var(--dh-border);border-bottom:1px solid var(--dh-border);padding:18px 0!important}.dh-trust-strip .wp-block-columns{max-width:var(--dh-width);margin:auto;gap:6px}.dh-trust-strip .wp-block-column{display:flex;flex-direction:column;justify-content:center;padding:10px 20px 10px 18px;border-right:1px solid #a3c9f322}.dh-trust-strip .wp-block-column:last-child{border:0}.dh-trust-strip p{margin:0;font-size:.8rem;color:#bed0e6}.dh-trust-strip strong{font-size:1rem;color:#fff}
/* services */
.dh-services{padding:83px 0 88px!important;background:radial-gradient(circle at 80% -10%,#0d4077 0%,transparent 40%),linear-gradient(130deg,#06172b,#071b34 80%)}.dh-services>.wp-block-group__inner-container{width:100%}.dh-services .dh-section-head{max-width:var(--dh-width);margin:0 auto 28px!important}.dh-services .dh-section-head h2,.dh-about h2,.dh-booking h2,.dh-contact h2{margin:6px 0 13px;font-size:clamp(1.9rem,3.2vw,3.25rem);letter-spacing:-.045em;line-height:1.17;color:white}.dh-services .dh-section-head p:not(.dh-eyebrow){max-width:720px;color:#b8cadd;line-height:1.7}.dh-services .dh-service-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:var(--dh-width);margin:32px auto 0}.dh-service-grid>.wp-block-column{flex:unset;min-width:0;margin:0!important}.dh-service-card.wp-block-cover{height:100%;min-height:338px;padding:22px!important;align-items:flex-end;overflow:hidden;border-radius:16px;border:1px solid #9ab9dc42;box-shadow:0 16px 30px #00102455;transition:transform .2s,border-color .2s}.dh-service-card:hover{transform:translateY(-5px);border-color:#68afff}.dh-service-card .wp-block-cover__image-background{transition:transform .3s;object-position:center}.dh-service-card:hover .wp-block-cover__image-background{transform:scale(1.04)}.dh-service-card:after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,rgba(2,12,30,.07),rgba(3,16,34,.37) 31%,rgba(2,12,30,.96) 100%);z-index:1;pointer-events:none}.dh-service-card>.wp-block-cover__inner-container{position:relative;z-index:2}.dh-service-card h3{font-size:1.15rem!important;line-height:1.25;margin:0 0 8px;color:#fff}.dh-service-card p{font-size:.82rem;color:#d2e1f5;margin:0 0 6px;line-height:1.5}.dh-service-card a{color:#83cfff;font-weight:700;text-decoration:none}.dh-service-card a:hover{text-decoration:underline}
/* about */
.dh-about{padding:75px 0!important;background:#0b2139}.dh-about>.wp-block-columns{width:min(calc(100% - 64px),var(--dh-width));margin:0 auto!important;align-items:center;gap:45px}.dh-about p{color:#c4d1e1}.dh-about figure img{border-radius:18px;box-shadow:0 22px 50px #02070f66}.dh-about .wp-block-buttons{margin-top:24px}
/* booking */
.dh-booking{padding:70px 0!important;background:linear-gradient(145deg,#081729bb,#0b3766e8),url('assets/brand-texture.webp') center/cover!important;border-block:1px solid #81b9f522}.dh-booking>.wp-block-columns{width:min(calc(100% - 64px),var(--dh-width));margin:0 auto!important;align-items:center;gap:32px}.dh-booking p{color:#c7d5ea}.dh-booking .wp-block-buttons{gap:14px}.dh-booking .dh-booking-badge{border:1px solid #afd8ff33;border-radius:14px;padding:18px;background:#ffffff0b}.dh-booking-badge p{margin:0 0 12px}.dh-booking-badge p:last-child{margin-bottom:0}
/* contact */
.dh-contact{padding:70px 0!important;background:#0a1d34}.dh-contact>.wp-block-columns{width:min(calc(100% - 64px),var(--dh-width));margin:auto!important;gap:36px}.dh-contact p{color:#c2d1e6}
.dh-footer{background:#041223;border-top:1px solid #b2d4ff24;padding:52px 0 0}.dh-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.dh-footer h3{font-size:1rem;margin:0 0 15px;color:#fff}.dh-footer p,.dh-footer a{font-size:.9rem;color:#b7c9df}.dh-footer a{text-decoration:none}.dh-footer a:hover{color:#fff;text-decoration:underline}.dh-footer-brand{display:flex;align-items:center;gap:8px;color:#fff;font-size:1.14rem;font-weight:750;margin-bottom:10px}.dh-footer-brand img{width:48px;height:48px;object-fit:contain}.dh-footer-bottom{margin-top:32px;border-top:1px solid #a8c0e121;padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#93a9bf;font-size:.77rem}
.dh-article{width:min(calc(100% - 48px),860px);margin:60px auto 90px}.dh-article h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.1;letter-spacing:-.04em}.dh-article .entry-content{font-size:1.06rem}.dh-article .entry-content h2{margin-top:2rem}.dh-article .entry-content p{color:#d0dcee}.dh-article a{color:#6ebaff}.dh-post-meta{color:#93adc4;font-size:.86rem}.dh-not-found{min-height:45vh}
/* 1.0.1: Gutenberg landing-page preview is a standalone full-width page,
   even before it is chosen as the site's static front page. */
.dh-landing-content{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.dh-landing-content > .wp-block-cover.alignfull,
.dh-landing-content > .wp-block-group.alignfull,
.dh-landing-content > .wp-block-columns.alignfull{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
}
.dh-landing-content .dh-hero.wp-block-cover{width:100%!important;max-width:none!important}
.dh-landing-content .dh-hero .wp-block-cover__inner-container{width:100%;max-width:var(--dh-width);margin:0 auto}

/* native content responsive */
@media(max-width:1150px){.dh-nav{gap:14px}.dh-menu{gap:13px}.dh-menu a{font-size:.82rem}.dh-services .dh-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dh-brand{min-width:170px;font-size:1.1rem}}@media(max-width:860px){.dh-container{width:min(calc(100% - 34px),var(--dh-width))}.dh-header .dh-container{min-height:73px}.dh-menu-toggle{display:block;margin-left:auto}.dh-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:17px 20px 24px;background:#071b34;border-bottom:1px solid #ffffff30;box-shadow:0 20px 40px #041022bd;flex-direction:column;align-items:stretch}.dh-nav.is-open{display:flex}.dh-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.dh-menu a{display:block;padding:11px 0;font-size:1rem}.dh-nav-cta{text-align:center}.dh-hero.wp-block-cover{padding:80px 25px 85px;min-height:580px}.dh-services{padding:60px 18px!important}.dh-trust-strip .wp-block-columns{flex-wrap:wrap!important}.dh-trust-strip .wp-block-column{flex-basis:48%!important}.dh-about>.wp-block-columns,.dh-booking>.wp-block-columns,.dh-contact>.wp-block-columns{width:calc(100% - 36px)!important}.dh-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.dh-brand{min-width:0;font-size:1rem}.dh-brand img{height:44px;width:44px}.dh-hero h1{font-size:2.65rem!important}.dh-hero.wp-block-cover{min-height:600px;padding:62px 22px 72px}.dh-hero:after{background:linear-gradient(90deg,#041326ee,#041526aa)}.dh-hero .wp-block-buttons{align-items:stretch;flex-direction:column}.dh-hero .wp-block-button{width:100%}.dh-hero .wp-block-button__link{display:block;text-align:center}.dh-services .dh-service-grid{grid-template-columns:repeat(1,minmax(0,1fr));gap:16px}.dh-service-card.wp-block-cover{min-height:270px}.dh-trust-strip .wp-block-column{flex-basis:100%!important;border-right:0;border-bottom:1px solid #a3c9f326;padding:8px 16px}.dh-trust-strip .wp-block-column:last-child{border-bottom:0}.dh-footer-grid{grid-template-columns:1fr;gap:24px}.dh-footer-grid>div:first-child{grid-column:auto}.dh-footer-bottom{flex-direction:column;align-items:flex-start}.dh-booking .wp-block-buttons{flex-direction:column;align-items:stretch}.dh-booking .wp-block-button__link{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* 1.1: Separate redigerbare informasjonssider har fullbreddeblokker. */
.dh-landing-content .dh-services,.dh-landing-content .dh-about,.dh-landing-content .dh-booking,.dh-landing-content .dh-contact{width:100%!important;max-width:none!important;}
.dh-simple-front .dh-trust-strip{margin-bottom:0!important;}


/* 1.1.1: Fix hero readability + restore footer on simplified front page */
.dh-hero .wp-block-cover__inner-container,
.dh-hero .dh-hero-copy,
.dh-hero .dh-hero-copy > *{
  opacity:1 !important;
  visibility:visible !important;
}
.dh-hero .dh-hero-copy h1,
.dh-hero .dh-hero-copy h1 strong,
.dh-hero .dh-hero-copy h1 em,
.dh-hero .dh-hero-copy p,
.dh-hero .dh-hero-copy .wp-block-heading,
.dh-hero .dh-hero-copy .dh-lead,
.dh-hero .dh-hero-copy .dh-kicker{
  position:relative;
  z-index:3;
}
.dh-hero .dh-hero-copy h1,
.dh-hero .dh-hero-copy .wp-block-heading{color:#ffffff !important;text-shadow:0 6px 24px rgba(0,0,0,.32)}
.dh-hero .dh-hero-copy h1 em{color:#53b2ff !important}
.dh-hero .dh-hero-copy .dh-lead{color:#e8f1fb !important;text-shadow:0 4px 16px rgba(0,0,0,.28)}
.dh-hero .dh-hero-copy .dh-kicker{color:#61beff !important}
.dh-hero .wp-block-buttons,
.dh-hero .wp-block-button,
.dh-hero .wp-block-button__link{opacity:1 !important;visibility:visible !important;position:relative;z-index:3}
.dh-hero .dh-btn-outline .wp-block-button__link{background:rgba(6,25,43,.58) !important;border-color:rgba(255,255,255,.78) !important;color:#fff !important}


/* 1.1.2: Hard fix for Gutenberg Cover overlays covering hero text.
   Keep the original editable cover image; only reorder the three layers. */
body .entry-content .dh-hero.wp-block-cover,
body .dh-hero.wp-block-cover {
    position: relative !important;
    isolation: isolate;
}
/* Remove the duplicate gradient that could be painted above the text. */
body .dh-hero.wp-block-cover::after {
    display: none !important;
    content: none !important;
}
/* Bottom layer: the editable WordPress background image. */
body .dh-hero.wp-block-cover > .wp-block-cover__image-background,
body .dh-hero.wp-block-cover > video.wp-block-cover__video-background {
    z-index: 0 !important;
    opacity: 1 !important;
}
/* Middle layer: the gradient. No other overlay should be on top. */
body .dh-hero.wp-block-cover > .wp-block-cover__background,
body .dh-hero.wp-block-cover > .wp-block-cover__gradient-background {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    opacity: 1 !important;
    background: linear-gradient(90deg,
      rgba(2, 14, 30, .95) 0%,
      rgba(3, 21, 42, .83) 34%,
      rgba(5, 27, 51, .35) 72%,
      rgba(5, 21, 39, .29) 100%) !important;
    pointer-events: none !important;
}
/* Top layer: all of the editable heading, paragraph and CTA content. */
body .dh-hero.wp-block-cover > .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 30 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    isolation: isolate;
}
body .dh-hero .dh-hero-copy,
body .dh-hero .dh-hero-copy .wp-block-buttons,
body .dh-hero .dh-hero-copy .wp-block-button {
    position: relative !important;
    z-index: 31 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}
body .dh-hero .dh-hero-copy h1,
body .dh-hero .dh-hero-copy h1 .has-inline-color {
    color: #fff !important;
    opacity: 1 !important;
}
body .dh-hero .dh-hero-copy h1 em {
    color: #53b2ff !important;
}
body .dh-hero .dh-hero-copy .dh-lead {
    color: #e8f1fb !important;
}
body .dh-hero .dh-hero-copy .dh-kicker {
    color: #61beff !important;
}
body .dh-hero.wp-block-cover .wp-block-button__link {
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff !important;
}
@media (max-width: 600px) {
    body .dh-hero.wp-block-cover > .wp-block-cover__background,
    body .dh-hero.wp-block-cover > .wp-block-cover__gradient-background {
        background: linear-gradient(90deg, rgba(2,14,30,.96), rgba(3,21,42,.76)) !important;
    }
}


/* 1.1.3: Fix dark overlays on service cards */
body .dh-service-card.wp-block-cover::after {
    display: none !important;
    content: none !important;
}
body .dh-service-card.wp-block-cover > .wp-block-cover__image-background,
body .dh-service-card.wp-block-cover > video.wp-block-cover__video-background {
    z-index: 0 !important;
    opacity: 1 !important;
}
body .dh-service-card.wp-block-cover > .wp-block-cover__background,
body .dh-service-card.wp-block-cover > .wp-block-cover__gradient-background {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    opacity: 1 !important;
    background: linear-gradient(180deg,
      rgba(3, 14, 29, .05) 0%,
      rgba(3, 16, 34, .20) 34%,
      rgba(2, 12, 30, .86) 100%) !important;
    pointer-events: none !important;
}
body .dh-service-card.wp-block-cover > .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 2 !important;
}
body .dh-service-card h3 { color: #ffffff !important; text-shadow: 0 4px 14px rgba(0,0,0,.28); }
body .dh-service-card p { color: #d9e8fb !important; }
body .dh-service-card a { color: #7ec3ff !important; }
