* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust:none;
  scrollbar-width: thin;
  scrollbar-color: #fff6 var(--primary);
  outline:none;
  box-sizing: border-box; 
}

html { min-height:100%; }
body { min-height:100vh; width: 100%; padding:0; margin:0; display: grid; grid-template-rows: auto 1fr auto; position: relative; background:var(--primary); }
body:has(.menutrigger.shown) { overflow: hidden; }
main { width: 100%; min-height:30vh; animation: fadeIn 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity: 0; animation-delay: .4s; background: var(--bg-color) url('/wp-content/themes/klosterkroen/_img/dug-bg2.jpg') repeat center center;  }
a { color: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; width: auto; max-height: 100%; }
img.aligncenter { margin:0 auto; display: block; }
.observerAnchor { position: absolute; width: 0px; height: 0px; top: 85px; left: 0; }

/* Header */
header { position: relative; z-index: 20; height:120px; background:var(--primary); box-shadow: 0 0 64px #0008;}
header nav { display:grid; grid-template-columns: 1fr auto auto auto auto; align-items: center; color: var(--bg-color); padding: .5em 2em; max-width: var(--max-width); margin: 0 auto; height:100%; }
header nav .logo { max-width: 256px; height: calc(100% - .5em); margin-right:2em; background-repeat: no-repeat; background-position: center left; background-size: contain; cursor: pointer; animation: fadeInDown 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity: 0; animation-delay: .2s;  }
header nav .bookingtrigger { display:none; }
header nav .giftcardtrigger { display:none; }
header nav .menutrigger { display:none; }
header nav .menu { background:none; list-style: none; display: flex; justify-content: center; margin:0; padding:0; gap: clamp(1em, 5vw, 2.5em); }
header:has(+ main > .paragraph.hero:first-child) { background: var(--primary-faded); position: absolute; width: 100%; top:0; left:0; box-shadow: none; z-index: 10; }
header:has(+ main > .paragraph.hero:first-child) ul.menu>li ul { background:linear-gradient(to bottom, #0000, var(--primary) 48px) !important; }

/* Menus */
ul.menu { display: flex; gap: 1em; margin:0; }
ul.menu li { list-style: none; position: relative; border:0; cursor: pointer; }
ul.menu li a { font-family: 'DM Serif Display'; white-space: nowrap; text-decoration: none; padding:.5em 0; display: inline-block; font-size: 1.1em; font-weight: 700; color:var(--bg-color); position: relative; transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); } 
ul.menu>li a.sf-with-ul:after { content: '\f107'; font-family: 'fontawesome'; font-size: .75em; position: absolute; top: 50%; right:.5em; transform:translateY(-50%); color:var(--bg-color); }
ul.menu>li { animation:fadeInDown 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity:0; } .menu li:nth-child(1) { animation-delay: .3s; } .menu li:nth-child(2) { animation-delay: .4s; } .menu li:nth-child(3) { animation-delay: .5s; } .menu li:nth-child(4) { animation-delay: .6s; } .menu li:nth-child(5) { animation-delay: .7s; } .menu li:nth-child(6) { animation-delay: .8s; } .menu li:nth-child(7) { animation-delay: .9s; } .menu li:nth-child(8) { animation-delay: 1s; }
ul.menu>li ul { display:block; background:var(--primary); border-radius:0 0 .5em .5em; padding:1em 0; box-shadow: 0 2em 2em #0006; margin-left:-2em; }
ul.menu>li>ul li { width: 100%; background:none; padding:0; margin:0; }
ul.menu>li>ul li:hover, ul.menu>li>ul li.sfHover { background: #0001; }
ul.menu>li>ul li a.sf-with-ul { padding-right:2em; }
ul.menu>li>ul li a.sf-with-ul:after { content: '\f108'; font-family: 'fontawesome'; font-size: .5em; position: absolute; top: 55%; right:4em; transform:translateY(-50%);  }
ul.menu>li>ul li a { font-size:1em; color: var(--bg-color); padding:1em 2em; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
ul.menu>li>ul li:hover>a, ul.menu>li>ul li.sfHover>a { padding:1em calc(2em - 3px) 1em calc(2em + 3px); }

/* Header scrolled */
.scrolled header, .scrolled header:has(+ main > .paragraph.hero:first-child) { position: fixed; top:0; left:0; width:100%; height:64px; background: linear-gradient(to bottom, var(--primary-faded), var(--primary)); z-index: 10; animation: slideDown 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; transform:translateY(-100%); animation-delay: .5s; }
.scrolled header:has(+ main > .paragraph.hero:first-child) ul.menu>li ul { background:var(--primary) !important; }
.scrolled main:not(:has(.paragraph.hero:first-child)) { margin-top: 120px; }

/* Floater */
.bookingfloater { font-family: 'DM Serif Display'; transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); transform: rotate(-90deg) translateY(5%); position: fixed; display: flex; align-items: center; top: 25vh; right: 0; background: var(--primary); color: var(--bg-color); padding: .75em 1.5em; z-index: 10; cursor: pointer; transform-origin: bottom right; border-radius: .5em .5em 0 0; user-select: none; box-shadow: 0 -.5em 1em #0002; }
.scrolled .bookingfloater { box-shadow: 0 0 100px #eeecea22; }
.bookingfloater:hover { transform: rotate(-90deg) translateY(0%); }
.bookingfloater:active { transform: rotate(-90deg) translateY(0%); opacity: .85; }

.giftcardfloater { font-family: 'DM Serif Display'; transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); transform: rotate(-90deg) translateY(5%); position: fixed; display: flex; align-items: center; top: calc(25vh + 156px); right: 0; background: var(--primary); color: var(--bg-color); padding: .75em 1.5em; z-index: 10; cursor: pointer; transform-origin: bottom right; border-radius: .5em .5em 0 0; user-select: none; box-shadow: 0 -.5em 1em #0002; }
.scrolled .giftcardfloater { box-shadow: 0 0 100px #eeecea22; }
.giftcardfloater:hover { transform: rotate(-90deg) translateY(0%); }
.giftcardfloater:active { transform: rotate(-90deg) translateY(0%); opacity: .85; }
  
  /* Paragraphs */
  .paragraphs { display: inline-block;}
  .paragraph { position: relative; color:var(--font-color); }
main.paragraphs { display: flex; flex-direction: column; }
main.paragraphs > .paragraph:last-child { flex: 1 0 auto; }

  .paragraph.none:not(.paragraph.none + *):not(:has(+ .paragraph.none)) { box-shadow: inset 0 42px 50px -50px #76625baa, inset 0 100px 300px #e9e4de, inset 0 -42px 50px -50px #76625baa, inset 0 -100px 300px #e9e4de; } /* Standalone */
  .paragraph.none:not(.paragraph.none + *):has(+ .paragraph.none) { box-shadow: inset 0 42px 50px -50px #76625b88, inset 0 100px 300px #e9e4de; } /* Top */
  .paragraph.none + .paragraph.none:not(:has(+ .paragraph.none)) { box-shadow: inset 0 -42px 50px -50px #76625b88, inset 0 -100px 300px #e9e4de; } /* Bottom */
  .paragraph.none + .paragraph.none .pagewidth { padding-top:0; } /* Sibling */

  .paragraph.sand { background: var(--bg-color); }
  .paragraph.sand:not(.paragraph.sand + *):not(:has(+ .paragraph.sand))  { background: linear-gradient(to bottom right, var(--bg-color), var(--second-bg-color)); }
  .paragraph.sand:not(.paragraph.sand + *):has(+ .paragraph.sand) { box-shadow: inset 0 42px 50px -50px #76625b88, inset 0 100px 150px #e9e4de; } /* Top */
  .paragraph.sand + .paragraph.sand:not(:has(+ .paragraph.sand)) { box-shadow: inset 0 -42px 50px -50px #d2bcb588, inset 0 -100px 150px #e9e4de; } /* Bottom */
  
  /* Paragraphs with .sand following another paragraph with .sand */
  .paragraph.sand:not(.hero) + .paragraph.sand .pagewidth { padding-top: 0; } /* Sibling */

  .paragraph.beige { background: var(--second-bg-color); box-shadow: inset 0 -100px 300px #e3dbd3;}
  .paragraph .pagewidth { max-width: var(--max-width); }

  .paragraph.content .pagewidth { padding: 3em 2em; margin: 0 auto; align-items: center; width: fit-content;  }
  .paragraph.content .pagewidth:has(img) { display: grid; grid-template-columns: auto 1fr; grid-gap: 3em; }
  .paragraph.content ~ .paragraph.content .pagewidth .content { order:2; }
  .paragraph.content img { order: 1; width: 25vw; max-width: 320px; border-radius: 1em; }
  .paragraph.content:has(img):nth-child(even) { grid-template-columns: 1fr auto; }

  .paragraph.content-2col .pagewidth { padding: 3em 2em; margin: 0 auto; width: fit-content; display:grid; grid-template-columns: 1fr 1fr; gap:3em; }
  .paragraph.content-3col .pagewidth { padding: 3em 2em; margin: 0 auto; width: fit-content; display:grid; grid-template-columns: 1fr 1fr 1fr; gap:3em; }

  .paragraph.hero { width:100%; aspect-ratio:16/10; min-height:500px; max-height:60vh; background:var(--primary); }
  .paragraph.hero .swiper { width:100%; height:100%; background:var(--primary); }
  .paragraph.hero .swiper-slide { width:100%; height:100%; display: grid; align-items: center; background:var(--primary);  }
  .paragraph.hero .swiper-slide.swiper-slide-active { pointer-events: auto !important; }
  .paragraph.hero .swiper-slide .image { position: absolute; top:0; left:0; width:100%; height:100%; background-color:var(--primary); background-size: cover; background-position: center center; z-index:-1; animation: kenBurns 12s ease-out forwards; transform: scale(1); box-shadow: inset 0 42px 50px -50px #000, inset 0 100px 300px #000, inset 0 -42px 50px -50px #0005, inset 0 -100px 300px var(--secondary); }
  .paragraph.hero .swiper-slide .image::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: var(--secondary); opacity:.3; z-index:1; }
  .paragraph.hero .swiper-slide .content { height:100%; overflow: hidden; display: flex; flex-direction: column; padding:2em; justify-content: center; color:var(--bg-color); }
  .paragraph.hero .swiper-slide .content * { color:var(--bg-color); text-shadow: 0 0 .25em #0006; }
  main > .paragraph.hero:first-child .swiper-slide .content { padding-top: 120px; }
  .paragraph.hero .swiper-slide .content img, .paragraph.hero .swiper-slide .content p:has(>img) { max-height: 100%; width: 100%; height: auto; object-fit: contain; flex-shrink: 1; overflow: auto; }

  .paragraph.buttons .pagewidth { padding: 3em 2em; margin: 0 auto; max-width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 1em; align-items: center; }
  .paragraph.buttons .button { transition: border-color 0.3s, transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); overflow:hidden; position: relative; color: var(--bg-color); border-radius: .75em; font-family: 'DM Serif Display', tahoma, helvetica; align-items: center; gap: .5em; line-height: 1; text-decoration: none; vertical-align: middle; flex: 0 1 13em; justify-content: center; margin: 0; filter:drop-shadow(0 0 10px #b4ada4); }
  .paragraph.buttons .button p { background: var(--primary); color: var(--bg-color); padding: 1em 1.5em !important; text-align: center; }
  .paragraph.buttons .button:not(:has(.img)) p { border-radius: .75em; }
  .paragraph.buttons .button .img { aspect-ratio: 1; background-repeat: no-repeat; background-size: cover; background-position: center center; mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'><rect width='40' height='10' rx='5'/></svg>") 50% 16px / 48px 10px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; }
  .paragraph.buttons .button ~ .button, .paragraph.buttons .button:has( ~ .button) { max-width: 40vw; }
  .paragraph.buttons .button.clickable { transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); }
  .paragraph.buttons .button.clickable:hover { cursor: pointer; transform: translateY(-3px) scale(1.05); }
  .paragraph.buttons .button.clickable:active { opacity: .5; }

  .paragraph.prices .pagewidth { padding: 3em 2em; margin: 0 auto; max-width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 2em; }
  .paragraph.prices .box { overflow:hidden; position: relative; vertical-align: middle; flex: 0 1 25em; justify-content: center; margin: 0; filter:drop-shadow(0 0 10px #b4ada4); }
  .paragraph.prices .box .card { height:100%; display:grid; grid-template-rows:auto 1fr auto; padding: 1em 1.5em; background: linear-gradient(to bottom, var(--bg-color), var(--second-bg-color)); border-radius: 1em; mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'><rect width='40' height='10' rx='5'/></svg>") 50% 24px / 48px 10px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; }
  .paragraph.prices .box .title { font-family: 'DM Serif Display', serif; font-size:2.5em; font-weight: 700; text-align: center; padding:1em 0 0 0; }
  .paragraph.prices .box .price { background: linear-gradient(to bottom, #dcd6cd, transparent 20%); margin: 1em -2em -1em; padding: 1em 0; }
  .paragraph.prices .box .price p { font-family: 'DM Serif Display', serif; font-weight: 700; color: var(--font-color); text-align: center; margin:0; padding:0 !important; }
  .paragraph.prices .box .price p:first-child { font-size:3em;}
  .paragraph.prices .box .price p:first-child:after { content: ',-'; font-size:1em; }
  .paragraph.prices .box .price p:last-child { font-size:1em; font-weight: 700; text-align: center; margin-top:-.75em; margin-bottom:1em; }

  .paragraph.menu .pagewidth { padding: 3em 2em; margin: 0 auto; }
  .paragraph.menu .content { margin-bottom: 3em; }
  .paragraph.menu .line { display:grid; grid-template-columns: 1fr auto; gap:1em; }
  .paragraph.menu .line + .line { margin-top: 2em; border-top:1px solid var(--font-color); padding-top: 2em; }
  .paragraph.menu .line .title { font-family: 'DM Serif Display', serif; font-weight: 700; font-size: 1.5em; }
  .paragraph.menu .line .price { font-family: 'DM Serif Display', serif; font-weight: 700; font-size: 2em; }

  .paragraph.gallery .pagewidth { max-width: var(--max-width); display: flex; flex-wrap: wrap; justify-content: center; gap: 2em 1em; margin: 0 auto; padding: 2em; }
  .paragraph.gallery .image { margin: 0 auto; cursor:pointer; text-decoration: none; }
  .paragraph.gallery .image:active { opacity: .5; }
  .paragraph.gallery .image:hover img { transform:scale(1.05); }
  .paragraph.gallery .image img { transition: transform .1s ease-in-out; width: 100%; max-width: calc(var(--max-width) / 4 - 4em); border-radius: 1em; }
  .paragraph.gallery .image h3 { cursor:pointer; background: none;  font-size: 1em; word-wrap: break-word; text-transform: uppercase; border-radius: .5em; padding:1em .5em; color:var(--font-color); text-align: center; }
  .paragraph.gallery .image h3:empty { display:none; }

  .paragraph.faq .pagewidth { max-width: var(--max-width); margin: 0 auto; padding: 2em; }
  .paragraph.faq .question h3 { cursor:pointer; user-select: none; margin-bottom:0; padding:1em 0; border-bottom: 1px solid var(--font-color); }
  .paragraph.faq .question h3.shown { color: var(--font-color); }
  .paragraph.faq .question h3:before { display: inline-block; width:24px; content:'+'; }
  .paragraph.faq .question h3.shown:before { content:'-'; }
  .paragraph.faq .question h3 + div { max-height:0; overflow:hidden; transition: max-height .3s ease; }
  .paragraph.faq .question h3 + div > div { padding:1em 0; }
  .paragraph.faq .question h3.shown + div { max-height: 1000px; }

  .paragraph.separator { max-width: var(--max-width); margin: 0 auto; padding: 2em 0; text-align: center; }
  .paragraph.separator:after { width: calc(50%); content: ''; display: block; height: 3px; border-radius: 2px; background: var(--font-color); margin: 0 auto; box-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black; }

  .paragraphs .paragraph.content.p-auto:nth-child(odd) .pagewidth { grid-template-columns: auto 1fr; }
  .paragraphs .paragraph.content.p-auto:nth-child(odd) .content { order:2; } 
  .paragraphs .paragraph.content.p-auto:nth-child(even) .pagewidth { grid-template-columns: 1fr auto; }
  .paragraphs .paragraph.content.p-auto:nth-child(even) .content { order:1; } 

  .paragraphs .paragraph.content.p-center .content { order:1; text-align:center; grid-column: 1 / -1; }
  .paragraphs .paragraph.content.p-center .content ~ img { order:2; grid-column: 1 / -1; margin: 0 auto; }
  .paragraphs .paragraph.content.p-center.w-25 .content ~ img { width:25%; max-width: 25%; margin: 0 auto; }
  .paragraphs .paragraph.content.p-center.w-33 .content ~ img { width:33%; max-width: 33%; margin: 0 auto; }
  .paragraphs .paragraph.content.p-center.w-50 .content ~ img { width:50%; max-width: 50%; margin: 0 auto; }

  .paragraphs .paragraph.content.p-left { grid-template-columns: auto 1fr; }
  .paragraphs .paragraph.content.p-left .content { order:2; }
  .paragraphs .paragraph.content.p-left .content ~ img { order:1; }

  .paragraphs .paragraph.content.p-right { grid-template-columns: 1fr auto; }
  .paragraphs .paragraph.content.p-right .content { order:1; }
  .paragraphs .paragraph.content.p-right .content ~ img { order:2; }

  .paragraphs .paragraph.content.w-25 img, .paragraphs .paragraph.content.w-33 img, paragraphs .paragraph.content.w-50 img, .paragraphs .paragraph.content.w-75 img, .paragraphs .paragraph.content.w-100 img { width:100%; max-width: 100%; }
  .paragraphs .paragraph.content.w-25.p-left .pagewidth { grid-template-columns: 1fr 3fr; }
  .paragraphs .paragraph.content.w-25.p-right .pagewidth { grid-template-columns: 3fr 1fr; }
  .paragraphs .paragraph.content.w-33.p-left .pagewidth { grid-template-columns: 1fr 2fr; }
  .paragraphs .paragraph.content.w-33.p-right .pagewidth { grid-template-columns: 2fr 1fr; }
  .paragraphs .paragraph.content.w-50 .pagewidth { grid-template-columns: 1fr 1fr; }

/* Mobile */
@media (max-width: 768px) {

  h1 { font-size: 3em; }
  h2 { font-size: 2em; }
  h3 { font-size: 1.2em; }
  h4 { font-size: 1em; }

  body { font-size: 14px; }
  header, header:has(+ main > .paragraph.hero:first-child) { height:64px; }
  .scrolled main:not(:has(.paragraph.hero:first-child)) { margin-top: 100px; }
  /* main > .paragraph.hero { height:66vh; min-height:500px; max-height:1000px; }
  main > .paragraph.hero:first-child .swiper-slide .content { padding-top:100px; } */
    
  header nav { padding:.5em 1.5em; }
  header nav .logo { max-width: 128px; height: calc(100% - 1em); margin-right:1em; background-position: center left; z-index: 3; }
  header nav .bookingtrigger { display:flex; user-select: none; cursor: pointer; font-size: 1.3em; text-transform: capitalize; align-items: center;  margin-left:1em;  }
  header nav .bookingtrigger:after { content:'\f073'; font-family:'fontawesome'; display: inline-block; width: 24px; height: 32px; line-height: 32px; text-align: center; color: var(--bg-color); }

  header nav .giftcardtrigger { display:flex; user-select: none; cursor: pointer; font-size: 1.5em; text-transform: capitalize; align-items: center;   margin-left:1em;  }
  header nav .giftcardtrigger:after { content:'\f06b'; font-family:'fontawesome'; display: inline-block; width: 24px; height: 32px; line-height: 32px; text-align: center; color: var(--bg-color); }

  header nav .menutrigger { display:flex; user-select: none; cursor: pointer; color: var(--bg-color); font-size: 1em; margin-right: .25em; text-transform: capitalize; align-items: center; margin-left:1em; }
  header nav .menutrigger:after { margin-left:1em;  content:''; display: inline-block; width: 16px; height: 32px; line-height: 32px; text-align: center; color: var(--bg-color); background: url("data:image/svg+xml;utf8,<svg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'><rect y='7' width='32' height='2' rx='1.5' fill='%23eeecea'/><rect y='14.5' width='32' height='2' rx='1.5' fill='%23eeecea'/><rect y='22' width='32' height='2' rx='1.5' fill='%23eeecea'/></svg>") no-repeat center center; background-size: 32px 24px; background-position: center center; margin-left:.5em; }
  header nav .menutrigger.shown:after { background: url("data:image/svg+xml;utf8,<svg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'><line x1='8' y1='8' x2='24' y2='24' stroke='%23eeecea' stroke-width='2' stroke-linecap='round'/><line x1='24' y1='8' x2='8' y2='24' stroke='%23eeecea' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat center center; background-size: 32px 24px; background-position: center center; }
  .scrolled header { background:var(--primary-faded) !important; }
  header { transition: background .3s ease-in-out; }
  header:has(.menutrigger.shown) { background: var(--primary) !important; }
  header nav .menutrigger.shown ~ .menu { display: block; z-index: 2; }
  header nav .menu { display: none; background: var(--primary); width: 100vw; height:calc(100vh - 64px); position: fixed; top: 64px; left: 0; padding:2em; text-align: center; }
  header nav .menu li { display: block; margin: 0 auto; padding: 1em 0; width:100%; }
  header nav .menu li a { font-size: 1.25em; } 
  header nav .menu li a:active { opacity: .5; } 
  header nav .menu>li ul { position: relative; margin: 0 -2em !important; box-shadow: 0 1em 1em #0002; border-radius: 0; }
 

      header nav ul.menu>li ul li { opacity:0; animation: fadeInLeft 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity:0; } header nav ul.menu>li ul li:nth-child(1) { animation-delay: 0s; } header nav ul.menu>li ul li:nth-child(2) { animation-delay: .1s; } header nav ul.menu>li ul li:nth-child(3) { animation-delay: .2s; } header nav ul.menu>li ul li:nth-child(4) { animation-delay: .3s; } header nav ul.menu>li ul li:nth-child(5) { animation-delay: .4s; } header nav ul.menu>li ul li:nth-child(6) { animation-delay: .5s; } header nav ul.menu>li ul li:nth-child(7) { animation-delay: .6s; } header nav ul.menu>li ul li:nth-child(8) { animation-delay: .7s; }

  .sf-arrows .sf-with-ul { padding-right: 1em !important; }
  ul.menu>li a.sf-with-ul:after { right:0; }   
  ul.menu>li.sfHover a.sf-with-ul:after { content: '\f106'; }
  
  footer { text-align: center; }
  footer>.grid>div:nth-child(even) { background: #0003; padding: 4em; margin: 0 -2em; }

  .bookingfloater { display: none; }
  .giftcardfloater { display: none; }
  .grid { grid-template-columns: 1fr !important; }

  .paragraph.hero { min-height: 10vh; aspect-ratio: auto; }
  .paragraph.content .pagewidth { grid-template-columns: 1fr !important; grid-gap:2em; }
  .paragraph.content-2col .pagewidth { grid-template-columns: 1fr !important; grid-gap:2em; }
  .paragraph.content-3col .pagewidth { grid-template-columns: 1fr !important; grid-gap:2em; }
  .paragraph.content img { width: 100% !important; max-width: 100% !important; }
  .paragraph.content ~ .paragraph.content .content { order:2 !important; }

  .paragraph.buttons .button { flex: 0 1 48vw; }
}

/* Footer */
footer { background: var(--primary); color: var(--bg-color); padding: 4em 2em; position: relative; z-index: 1; box-shadow: inset 0 3em 3em #0003; }
footer:before { content:''; position: absolute; top:0; left:0; width:100%; height:100%; background: url('/wp-content/themes/klosterkroen/_img/dug-bg2.jpg') repeat center center; opacity: .1; filter:invert(1) brightness(3); z-index:-1; }
footer>:last-child { animation: fadeInUp 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; animation-delay: .8s; opacity: 0; }
footer a.knap { color: var(--bg-color); border-color: var(--bg-color); }
footer a.knap:hover { background-color: var(--bg-color); color:var(--primary); border-color:var(--bg-color); transform: translateY(-3px); }
footer .some_links { display: flex; justify-content: center; gap: 1em; margin-top: 2em; font-size: 1.5em; }
footer .some_links a { cursor: pointer; transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); }
footer .some_links a:hover { transform:translateY(-3px) }

/* Cookies */
.cookies_tekst { position: fixed; z-index: 100; bottom: -240px; background: var(--secondary); width: 100%; display:table; padding: 1em; box-sizing: border-box; }
.cookies_content, .cookies_content p, .cookies_tekst, .cookies_tekst p { color: var(--bg-color) !important; }
.cookies_tekst.inview { transition: transform 1s ease; transform: translate3d(0, -240px, 0); }
.cookies_table { width:auto; max-width:1280px; margin:0 auto; }
.cookies_icon { font-size:64px !important; margin-right:12px; } 
.cookies_close { display:block; }
.cookies_close button { background: transparent; border:2px solid var(--bg-color); border-radius: 5px; color:var(--bg-color); padding:10px; margin-top: 10px; box-shadow: none !important; cursor: pointer; }
.cookies_close button:nth-child(2) { background: var(--bg-color); color: var(--primary); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -20px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-20px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes slideDown { from { transform: translate3d(0, -85px, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.1); } }