@font-face{font-family:'ES Fraunces';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/fraunces-latin-soft-normal.woff2) format('woff2-variations'),url(fonts/fraunces-latin-soft-normal.woff2) format('woff2')}
@font-face{font-family:'ES Outfit';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/outfit-latin-wght-normal.woff2) format('woff2-variations'),url(fonts/outfit-latin-wght-normal.woff2) format('woff2')}
/* Eventyrskoven – header "Kragen på trætoppene" */
.esg{
  --gran:#2E4535;--mos:#5F7A3E;--loev:#8FA35B;--sand:#F3E7B4;--birk:#F6F3EA;--kort:#FBFAF5;--eau:#D6E1D5;
  --ease:cubic-bezier(.3,1.4,.5,1);
  --h:112px;--logo:84px;
  position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:1000;
  width:calc(100vw - var(--es-sbw,0px));margin-left:calc(50% - 50vw + var(--es-sbw,0px) / 2);
  /* Kassen har altid samme højde, så siden under aldrig flytter sig, når headeren bliver lavere – kun den grønne bjælke skrumper */
  height:calc(var(--h) + var(--d,0px));background:transparent;color:var(--birk);pointer-events:none;
  font-family:'ES Outfit',system-ui,sans-serif;font-size:16px;line-height:1.3;
  margin-top:0!important;margin-bottom:0!important;
  box-sizing:border-box;
}
.esg *,.esg *::before,.esg *::after{box-sizing:border-box}
/* Skjold mod temaets egne knap-, link- og flex-regler, så knapperne altid står på én linje */
.esg br,.esf br{display:none!important}
.esg .esg-right>p:not([class]),.esg .esg-in>p:not([class]),.esg .esg-nav p:not([class]){display:contents!important}
.esg .esg-in,.esg .esg-right,.esg .esg-nav ul{flex-wrap:nowrap!important;flex-direction:row!important}
.esg .esg-right{display:flex!important;align-items:center!important;flex:none!important}
.esg .esg-right>*{flex:none!important;margin:0!important}
.esg .esg-right>.esg-cta{width:auto!important;max-width:none!important}
.esg .esg-burger{width:auto}
.esg button,.esg a{margin:0;text-transform:none;letter-spacing:normal;text-shadow:none}
.esg .esg-burger{border:0!important;outline-offset:3px;line-height:1!important;font-size:15px!important;height:auto}
.esg .esg-cta{border:0!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important}
.esg .esg-panel ul{flex-direction:column!important}
.esg a{color:inherit;text-decoration:none}
.esg ul{list-style:none;margin:0;padding:0}
.esg p{margin:0}
.esg.is-small{--h:76px;--logo:56px;--d:36px}
.esg::before{content:'';position:absolute;left:0;right:0;top:0;height:var(--h);background:var(--gran);transition:height .45s cubic-bezier(.3,.9,.4,1)}
.esg>:not(.esg-edge):not(.esg-ffs){pointer-events:auto}
.esg-in{position:relative;height:var(--h);transition:height .45s cubic-bezier(.3,.9,.4,1);display:flex;align-items:center;gap:28px;padding:0 clamp(16px,3vw,40px);max-width:1440px;margin:0 auto}

/* spring til indhold */
.esg-skip{position:fixed;left:16px;top:12px;z-index:1001;padding:10px 16px;border-radius:10px;background:#F3E7B4;color:#2E4535;font:700 14px/1 'ES Outfit',system-ui,sans-serif;text-decoration:none;transform:translateY(-200%);transition:transform .25s}
.esg-skip:focus{transform:none;outline:3px solid #2E4535;outline-offset:2px}

/* logo */
.esg-brand{flex:none;display:block;border-radius:8px}
.esg-brand img{display:block;height:var(--logo);width:auto;transition:height .45s cubic-bezier(.3,.9,.4,1);transform-origin:18% 10%}
@media (hover:hover){.esg-brand:hover img{animation:esg-sway 1s var(--ease)}}
@keyframes esg-sway{25%{transform:rotate(-4deg)}55%{transform:rotate(2.5deg)}80%{transform:rotate(-1deg)}}

/* menu */
.esg-nav{margin-left:auto;height:100%}
.esg-nav ul{display:flex;align-items:center;gap:2px;height:100%}
.esg-nav li{position:relative}
.esg-nav a{position:relative;display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;color:var(--birk);font-weight:500;font-size:16px;white-space:nowrap;transition:color .2s,background .2s}
.esg-nav a::after{content:'';position:absolute;left:14px;right:14px;bottom:6px;height:2px;border-radius:2px;background:var(--sand);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.esg-nav a:hover{background:rgba(246,243,234,.08);color:var(--birk)}
.esg-nav a:hover::after{transform:scaleX(.5)}
.esg-nav a.is-current{color:var(--sand);font-weight:600}
.esg-nav a.is-current::after{transform:scaleX(1)}

/* kragen */
.esg-crow{position:absolute;left:50%;top:calc(100% + 2px);width:40px;margin-left:-20px;filter:drop-shadow(0 0 1px #F3E7B4) drop-shadow(0 0 1px #F3E7B4) drop-shadow(0 4px 6px rgba(0,0,0,.25));pointer-events:none;animation:esg-hop .7s .2s var(--ease) both}
.esg.is-small .esg-crow{top:calc(100% - 6px);width:32px;margin-left:-16px}
.esg-crow svg,.esg-pcrow svg{display:block;width:100%;height:auto}
@keyframes esg-hop{0%{transform:translateY(-26px) scale(.8) rotate(-10deg);opacity:0}60%{transform:translateY(3px) scaleY(.9);opacity:1}100%{transform:none;opacity:1}}
.esg-eye{animation:esg-blink 5s infinite;transform-origin:76px 34px}
@keyframes esg-blink{0%,93%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}

/* højre side */
.esg-right{display:flex;align-items:center;gap:16px;flex:none}
.esg-status{display:flex;flex-direction:column;font-size:13px;line-height:1.25;color:var(--eau);white-space:nowrap;transition:opacity .3s}
.esg-status b{display:flex;align-items:center;gap:7px;color:var(--sand);font-weight:600}
.esg-status i{width:8px;height:8px;border-radius:50%;background:var(--loev);animation:esg-pulse 2.4s infinite}
.esg.is-closed .esg-status i{background:#9FA59A;animation:none}
@keyframes esg-pulse{0%{box-shadow:0 0 0 0 rgba(143,163,91,.6)}70%{box-shadow:0 0 0 7px rgba(143,163,91,0)}100%{box-shadow:0 0 0 0 rgba(143,163,91,0)}}
.esg.is-small .esg-status{opacity:0;visibility:hidden;width:0;overflow:hidden}
.esg-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;background:var(--sand);color:var(--gran)!important;font-weight:700;font-size:15px;white-space:nowrap;transition:transform .3s var(--ease),background .2s}
.esg-cta:hover{transform:translateY(-2px);background:var(--kort)}
.esg-cta svg{transition:transform .3s var(--ease)}
.esg-cta:hover svg{transform:translateX(4px)}

/* trætoppe */
.esg-edge{position:absolute;left:0;top:calc(var(--h) - 1px);width:100%;height:16px;color:var(--gran);pointer-events:none;transition:height .45s cubic-bezier(.3,.9,.4,1),top .45s cubic-bezier(.3,.9,.4,1)}
.esg.is-small .esg-edge{height:10px}

/* ildfluer efter lukketid */
.esg-ffs{position:absolute;left:0;right:0;top:var(--h);height:40px;pointer-events:none;opacity:0;transition:opacity 1s}
.esg.is-aften .esg-ffs{opacity:1}
.esg-ffs i{position:absolute;width:5px;height:5px;border-radius:50%;background:#FFF3C8;box-shadow:0 0 10px 4px rgba(255,236,170,.6);animation:esg-ff 6s ease-in-out infinite}
.esg-ffs i:nth-child(1){left:12%;top:6px}.esg-ffs i:nth-child(2){left:31%;top:14px;animation-delay:-1.4s}.esg-ffs i:nth-child(3){left:47%;top:4px;animation-delay:-2.6s}
.esg-ffs i:nth-child(4){left:63%;top:12px;animation-delay:-.8s}.esg-ffs i:nth-child(5){left:78%;top:8px;animation-delay:-3.1s}.esg-ffs i:nth-child(6){left:91%;top:16px;animation-delay:-2s}
@keyframes esg-ff{0%,100%{transform:translate(0,0);opacity:.25}50%{transform:translate(18px,10px);opacity:1}}

/* fokus – kun ring ved tastatur, ikke når man trykker med fingeren */
.esg a:focus:not(:focus-visible),.esg button:focus:not(:focus-visible){outline:none!important;box-shadow:none}
.esg.is-collapsed .esg-burger:not([aria-expanded="true"]):focus:not(:focus-visible){box-shadow:inset 0 0 0 2px rgba(246,243,234,.35)}
.esg a:focus-visible,.esg button:focus-visible{outline:3px solid var(--sand);outline-offset:3px}

/* mobilknap */
.esg-burger{display:none;align-items:center;gap:10px;min-height:48px;padding:0 18px;border:0;border-radius:999px;background:var(--sand);color:var(--gran);font:700 15px/1 'ES Outfit',system-ui,sans-serif;cursor:pointer}
.esg-burger i{position:relative;display:block;width:18px;height:2px;background:currentColor;border-radius:2px;transition:background .2s}
.esg-burger i::before,.esg-burger i::after{content:'';position:absolute;left:0;width:18px;height:2px;background:currentColor;border-radius:2px;transition:transform .35s var(--ease),top .35s}
.esg-burger i::before{top:-6px}.esg-burger i::after{top:6px}
.esg-burger[aria-expanded="true"] i{background:transparent}
.esg-burger[aria-expanded="true"] i::before{top:0;transform:rotate(45deg)}
.esg-burger[aria-expanded="true"] i::after{top:0;transform:rotate(-45deg)}

/* mobilmenu */
.esg-panel{position:fixed;left:0;right:0;top:calc(var(--wp-admin--admin-bar--height,0px) + var(--h));bottom:0;z-index:999;background:var(--gran);padding:18px max(clamp(16px,5vw,32px),env(safe-area-inset-left)) 20px;display:flex;flex-direction:column;overflow-y:auto;opacity:0;transition:opacity .25s}
.esg-panel[hidden]{display:none}
.esg-panel.is-open{opacity:1}
.esg-panel ul{display:flex;flex-direction:column}
.esg-panel li{opacity:0;transform:translateX(-14px);transition:opacity .35s calc(var(--i) * 45ms + 60ms),transform .5s var(--ease) calc(var(--i) * 45ms + 60ms)}
.esg-panel.is-open li{opacity:1;transform:none}
.esg-panel li a{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 4px 8px 0;border-bottom:1px solid rgba(214,225,213,.14);color:var(--birk)}
.esg-panel li a>svg{flex:none;color:var(--loev);opacity:.7;transition:transform .3s var(--ease)}
.esg-panel li a:active>svg{transform:translateX(4px)}
.esg-pt{flex:1;display:flex;flex-direction:column;min-width:0}
.esg-pt b{font-family:'ES Fraunces',Georgia,serif;font-size:26px;font-weight:600;line-height:1.15}
.esg-pt small{font-size:13px;font-weight:500;color:var(--loev);margin-top:2px}
.esg-panel li a.is-current{color:var(--sand)}
.esg-panel li a.is-current .esg-pt b::before{content:'';display:inline-block;width:8px;height:8px;margin:0 10px 4px 0;border-radius:50%;background:var(--sand);vertical-align:middle}
.esg-pcrow{flex:none;width:38px;margin:-8px 0 -4px;animation:esg-hop .7s .25s var(--ease) both}
.esg-pfoot{margin-top:auto;padding-top:22px;display:grid;gap:12px;opacity:0;transform:translateY(10px);transition:opacity .4s .25s,transform .5s .25s var(--ease)}
.esg-panel.is-open .esg-pfoot{opacity:1;transform:none}
.esg-pstatus{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;color:var(--sand)}
.esg-pstatus i{width:8px;height:8px;border-radius:50%;background:var(--loev);animation:esg-pulse 2.4s infinite}
.esg.is-closed .esg-pstatus i{background:#9FA59A;animation:none}
.esg-pfoot .esg-pcta{min-height:56px;font-size:16px;width:100%}
.esg-pquick{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px}
.esg-pquick a{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 14px;border-radius:18px;background:rgba(246,243,234,.07);color:var(--birk);font-weight:600;font-size:14px;line-height:1.2}
.esg-pquick a>svg{flex:none;color:var(--sand)}
.esg-pquick span{display:flex;flex-direction:column;min-width:0}
.esg-pquick small{font-weight:400;font-size:12px;color:var(--eau);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.esg-lock .esg-ffs,html.esg-lock .esg-edge{opacity:0!important}

/* knappen i mobilheaderen: kort tekst på smalle skærme */
.esg-cta-s{display:none}

/* responsivt
   Mobilmenuen styres af klassen .is-collapsed, som JS sætter, når menuen
   ikke kan være på én linje (uanset antal menupunkter). Breakpoint er fallback uden JS. */
.esg-in{padding-left:max(clamp(16px,3vw,40px),env(safe-area-inset-left));padding-right:max(clamp(16px,3vw,40px),env(safe-area-inset-right))}
@media (max-width:1280px){.esg-status{display:none}.esg-in{gap:18px}.esg-nav a{padding:0 10px;font-size:15px}.esg-nav a::after{left:10px;right:10px}}
.esg.is-collapsed{--h:80px;--logo:56px}
.esg.is-collapsed.is-small{--h:66px;--logo:46px;--d:14px}
.esg.is-collapsed .esg-nav,.esg.is-collapsed .esg-status{display:none}
.esg.is-collapsed .esg-right{gap:8px}
.esg.is-collapsed .esg-right>.esg-cta{min-height:44px;padding:0 16px;font-size:14px;gap:6px}
.esg.is-collapsed .esg-burger{background:transparent;color:var(--birk);box-shadow:inset 0 0 0 2px rgba(246,243,234,.35)}
.esg.is-collapsed .esg-burger[aria-expanded="true"]{background:var(--sand);color:var(--gran);box-shadow:none}
html.esg-lock .esg.is-collapsed .esg-right>.esg-cta{opacity:0;pointer-events:none}
.esg.is-collapsed .esg-right{margin-left:auto}
.esg.is-collapsed .esg-burger{display:inline-flex}
.esg.is-collapsed .esg-edge{height:10px}
.esg:not(.is-collapsed) .esg-panel{display:none!important}
@media (max-width:900px){
  .esg{--h:80px;--logo:56px}
  .esg.is-small{--h:66px;--logo:46px;--d:14px}
  .esg-nav{display:none}
  .esg-right{margin-left:auto}
  .esg-burger{display:inline-flex}
  .esg-edge{height:10px}
}
/* små telefoner */
@media (max-width:380px){
  .esg,.esg.is-collapsed{--h:70px;--logo:48px}
  .esg.is-small,.esg.is-collapsed.is-small{--h:60px;--logo:40px;--d:10px}
  .esg-in{gap:10px}
  .esg-pt b{font-size:23px}
  .esg-panel li a{min-height:54px}
}
/* smalle telefoner: kort knaptekst og menuknap kun med ikon */
@media (max-width:400px){
  .esg .esg-burger{width:44px!important;min-height:44px;padding:0!important;justify-content:center}
  .esg-burger [data-label]{display:none}
  .esg.is-collapsed .esg-right>.esg-cta svg{display:none}
}
@media (max-width:350px){
  .esg-cta-l{display:none}.esg-cta-s{display:inline}
  .esg.is-collapsed .esg-right>.esg-cta{padding:0 14px}
}
/* telefon på langs / lave skærme */
@media (max-height:500px) and (orientation:landscape){
  .esg,.esg.is-collapsed{--h:62px;--logo:42px}
  .esg.is-small,.esg.is-collapsed.is-small{--h:56px;--logo:38px;--d:6px}
  .esg-panel{padding-top:14px}
  .esg-panel ul{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
  .esg-pt b{font-size:20px}
  .esg-panel li a{min-height:46px}
  .esg-pfoot{padding-top:12px;grid-template-columns:auto auto 1fr;align-items:center}
  .esg-pfoot .esg-pcta{width:auto;padding:0 24px}
  .esg-pquick{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max-content}
  .esg-pquick small{display:none}
  .esg-pquick a{white-space:nowrap;min-height:48px}
}
/* tablets: lidt større mobilmenu */
@media (min-width:600px) and (max-width:1280px){
  .esg-panel{padding-left:48px;padding-right:48px}
  .esg-pt b{font-size:32px}
  .esg-panel li a{min-height:66px}
  .esg-pfoot{max-width:560px;width:100%;margin-left:auto;margin-right:auto}
}
/* skærme uden mus: ingen hover-effekter, der "hænger" */
@media (hover:none){
  .esg-brand:hover img{animation:none}
  .esg-nav a:hover::after{transform:scaleX(0)}
  .esg-nav a.is-current:hover::after{transform:scaleX(1)}
  .esg-cta:hover{transform:none}
}
.esg a,.esg button{-webkit-tap-highlight-color:transparent}
.esg-panel{padding-bottom:max(24px,env(safe-area-inset-bottom));overscroll-behavior:contain}
/* WordPress' adminbjælke scroller med på telefoner (under 600 px) */
@media (max-width:600px){
  .esg{top:0}
  .esg-panel{top:var(--h)}
  html.esg-lock #wpadminbar{display:none}
}

/* temaet: ingen hvid luft over/under headeren.
   Står headeren inde i temaets header (kortkode i skabelonen), skjules den aldrig,
   og indpakningen gøres "usynlig", så headeren kan blive hængende øverst ved scroll. */
.wp-site-blocks>header.wp-block-template-part:has(.esg){display:contents}
body.has-esg .wp-site-blocks,body:has(>.esg) .wp-site-blocks{padding-top:0!important}
body:has(>.esg){margin-top:0!important;padding-top:0!important}
body:has(>.esg) .wp-site-blocks>:first-child{margin-block-start:0!important}
body.has-esg .wp-site-blocks>main,body:has(>.esg) .wp-site-blocks>main,
body.has-esg .wp-site-blocks>header.wp-block-template-part+*{margin-block-start:0!important}
body.has-esg.esg-hide-theme .wp-site-blocks>header.wp-block-template-part:not(:has(.esg)),
body.has-esg.esg-hide-theme #masthead:not(:has(.esg)),
body.has-esg.esg-hide-theme header.site-header:not(:has(.esg)),
body.has-esg.esg-hide-theme #site-header:not(:has(.esg)),
body.has-esg.esg-hide-theme #main-header:not(:has(.esg)),
body.has-esg.esg-hide-theme #top-header:not(:has(.esg)),
body.has-esg.esg-hide-theme .et-l--header:not(:has(.esg)),
body.has-esg.esg-hide-theme .elementor-location-header:not(:has(.esg)),
body.has-esg.esg-hide-theme .wp-block-template-part.site-header:not(:has(.esg)){display:none!important}
body.has-esg.esg-hide-theme #page-container{padding-top:0!important;margin-top:0!important}

@media (prefers-reduced-motion:reduce){
  .esg,.esg *{animation:none!important;transition:none!important}
}
@media print{.esg,.esg-skip{display:none}}

/* =========================================================================
   FOOTER
   ========================================================================= */
.esf{
  --gran:#2E4535;--mos:#5F7A3E;--loev:#8FA35B;--sand:#F3E7B4;--birk:#F6F3EA;--kort:#FBFAF5;--eau:#D6E1D5;--ease:cubic-bezier(.3,1.4,.5,1);
  position:relative;margin-top:56px;background:var(--gran);color:var(--eau);
  width:calc(100vw - var(--es-sbw,0px));margin-left:calc(50% - 50vw + var(--es-sbw,0px) / 2);
  font-family:'ES Outfit',system-ui,sans-serif;font-size:15px;line-height:1.55;box-sizing:border-box;
}
.esf *,.esf *::before,.esf *::after{box-sizing:border-box}
.esf a{color:inherit;text-decoration:none}
.esf ul{list-style:none;margin:0;padding:0}
.esf p,.esf h2,.esf address{margin:0}
.esf address{font-style:normal}
.esf-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.esf-edge{position:absolute;left:0;bottom:100%;width:100%;height:18px;color:var(--gran);transform:scaleY(-1);pointer-events:none}
.esf-crow{position:absolute;right:clamp(24px,9vw,140px);bottom:calc(100% + 6px);width:46px;pointer-events:none;transition:transform .9s cubic-bezier(.5,-.4,.3,1.3),opacity .6s}
.esf-crow svg{display:block;width:100%;height:auto;animation:esf-peck 4s ease-in-out infinite;transform-origin:50% 100%}
@keyframes esf-peck{0%,72%,100%{transform:none}80%{transform:rotate(14deg)}88%{transform:rotate(-3deg)}}
.esf.is-flying .esf-crow{transform:translate(-30vw,-60vh) rotate(-18deg) scale(.7);opacity:0}
.esf.is-flying .esf-wing{animation:esf-flap .18s ease-in-out infinite alternate;transform-origin:40px 60px}
@keyframes esf-flap{to{transform:rotate(-30deg)}}

.esf-in{max-width:1400px;margin:0 auto;padding:clamp(48px,6vw,80px) clamp(16px,4vw,48px) 28px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:clamp(28px,4vw,64px)}
.esf-logo{display:inline-block;border-radius:8px}
.esf-logo img{display:block;height:96px;width:auto;transform-origin:18% 10%}
@media (hover:hover){.esf-logo:hover img{animation:esg-sway 1s var(--ease)}}
.esf-tag{margin-top:16px;max-width:360px;color:var(--eau);font-size:16px}
.esf-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.esf-cta,.esf-fb{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border-radius:999px;font-weight:700;font-size:15px;transition:transform .3s var(--ease),background .2s,color .2s}
.esf-cta{background:var(--sand);color:var(--gran)!important}
.esf-cta:hover{transform:translateY(-2px);background:var(--kort)}
.esf-cta svg{transition:transform .3s var(--ease)}.esf-cta:hover svg{transform:translateX(4px)}
.esf-fb{color:var(--birk)!important;box-shadow:inset 0 0 0 2px rgba(214,225,213,.4)}
.esf-fb:hover{background:rgba(246,243,234,.08);box-shadow:inset 0 0 0 2px var(--sand)}

.esf-col h2{font-family:'ES Fraunces',Georgia,serif;font-size:20px;font-weight:700;line-height:1.2;color:var(--sand);margin-bottom:14px;letter-spacing:0;text-transform:none}
.esf-col address{color:var(--birk);font-size:16px}
.esf-link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;min-height:32px;font-weight:600;color:var(--sand)!important;border-bottom:2px solid transparent;transition:border-color .2s}
.esf-link:hover{border-color:var(--sand)}
.esf-link svg{transition:transform .3s var(--ease)}.esf-link:hover svg{transform:translateX(4px)}
.esf-status{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;color:var(--birk)}
.esf-status i{width:8px;height:8px;border-radius:50%;background:var(--loev);animation:esg-pulse 2.4s infinite}
.esf.is-closed .esf-status i{background:#9FA59A;animation:none}
.esf-list li{display:flex;flex-direction:column;margin-bottom:12px}
.esf-list span{font-size:13px;color:rgba(214,225,213,.75)}
.esf-list a{color:var(--birk);font-weight:500;word-break:break-word;text-decoration:underline;text-decoration-color:rgba(214,225,213,.35);text-underline-offset:3px;transition:text-decoration-color .2s}
.esf-list a:hover{text-decoration-color:var(--sand)}
.esf-menu li a{position:relative;display:inline-flex;align-items:center;min-height:36px;color:var(--birk);font-weight:500;transition:color .2s,transform .3s var(--ease)}
.esf-menu li a::before{content:'';width:0;height:2px;margin-right:0;background:var(--sand);border-radius:2px;transition:width .3s var(--ease),margin .3s var(--ease)}
.esf-menu li a:hover{color:var(--sand)}
.esf-menu li a:hover::before,.esf-menu li a[aria-current="page"]::before{width:14px;margin-right:8px}
.esf-menu li a[aria-current="page"]{color:var(--sand)}

.esf-forest{position:relative;height:clamp(60px,8vw,110px);overflow:hidden;margin-top:8px}
.esf-trees{position:absolute;inset:0;width:100%;height:100%}
.esf-ffs{position:absolute;inset:0;opacity:0;transition:opacity 1s}
.esf.is-aften .esf-ffs{opacity:1}
.esf-ffs i{position:absolute;width:5px;height:5px;border-radius:50%;background:#FFF3C8;box-shadow:0 0 10px 4px rgba(255,236,170,.55);animation:esg-ff 6s ease-in-out infinite}
.esf-ffs i:nth-child(1){left:8%;top:30%}.esf-ffs i:nth-child(2){left:22%;top:55%;animation-delay:-1.3s}.esf-ffs i:nth-child(3){left:39%;top:25%;animation-delay:-2.4s}
.esf-ffs i:nth-child(4){left:54%;top:50%;animation-delay:-.7s}.esf-ffs i:nth-child(5){left:68%;top:35%;animation-delay:-3s}.esf-ffs i:nth-child(6){left:83%;top:60%;animation-delay:-1.9s}.esf-ffs i:nth-child(7){left:94%;top:28%;animation-delay:-4s}

.esf-bottom{background:#3A5844;color:rgba(214,225,213,.85);font-size:13px}
.esf-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px max(clamp(16px,4vw,48px),calc((100% - 1400px) / 2 + 48px))}
.esf-bottom a{text-decoration:underline;text-underline-offset:3px}
.esf-bottom a:hover{color:var(--sand)}
.esf-top{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:0;border-radius:999px;background:rgba(246,243,234,.1);color:var(--birk);font:600 13px/1 'ES Outfit',system-ui,sans-serif;cursor:pointer;transition:background .2s}
.esf-top:hover{background:rgba(246,243,234,.2)}
.esf-top svg{transition:transform .3s var(--ease)}.esf-top:hover svg{transform:translateY(-3px)}
.esf a:focus-visible,.esf button:focus-visible{outline:3px solid var(--sand);outline-offset:3px}

@media (max-width:1000px){
  .esf-in{grid-template-columns:1fr 1fr;row-gap:36px}
  .esf-brand{grid-column:1 / -1}
}
@media (max-width:560px){
  .esf-in{grid-template-columns:1fr;row-gap:30px}
  .esf-menu{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
  .esf-logo img{height:80px}
  .esf-btns{flex-direction:column;align-items:stretch}
  .esf-cta,.esf-fb{justify-content:center}
  .esf-bottom{flex-direction:column;align-items:flex-start;padding-bottom:max(14px,env(safe-area-inset-bottom))}
  .esf-crow{width:38px}
}

/* temaets egen footer skjules, når vores er sat ind automatisk */
body.has-esf .wp-site-blocks>footer.wp-block-template-part:not(:has(.esf)),
body.has-esf footer.site-footer:not(:has(.esf)):not(.esf),
body.has-esf #colophon:not(:has(.esf)),
body.has-esf #main-footer:not(:has(.esf)),
body.has-esf .et-l--footer:not(:has(.esf)),
body.has-esf .elementor-location-footer:not(:has(.esf)){display:none!important}
body.has-esf .wp-site-blocks{padding-bottom:0!important}
@media (prefers-reduced-motion:reduce){.esf,.esf *{animation:none!important;transition:none!important}}
@media print{.esf-forest,.esf-crow,.esf-edge,.esf-top{display:none}}

