/*
Theme Name: Glenten
Theme URI: https://www.glenten.dk
Author: Codepilots ApS
*/
@import url(editor-style.css);
* { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-text-size-adjust:none; outline:none; box-sizing: border-box; font-family: 'Montserrat', tahoma, helvetica; }
html { min-height:100%; }
body { font-size: var(--font-size); min-height:100vh; width: 100%; padding:0; margin:0; background: #fff; color:var(--color-font); display: grid; grid-template-rows: auto 1fr auto; position: relative; }
main { width: 100%; min-height:30vh; position: relative; /* animation: fadeIn 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity: 0; animation-delay: .4s; */ }
hr { margin:2em 0; }
p:has(> img) { margin:0; }

/* General */
:root { --nav-height:112px; --base-animation-delay:1s; }
.observerAnchor { position: absolute; width: 1px; height: 1px; top:calc(var(--nav-height) * 2); left: 0; }
.pwc { max-width: min(100%, calc(1520px + 2 * var(--padding))); margin:0 auto; width:100%; padding:0 var(--padding); }
.clickable { cursor: pointer; }
.hoverable { transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); transform-origin: center center; } .hoverable:hover { transform: scale(1.05); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); gap: 1em; }
.flex { display: flex; gap: 1em; }
.grid-1fr-auto { grid-template-columns: 1fr auto !important; }
.grid-auto-1fr { grid-template-columns: auto 1fr !important; }
.grid-row-1fr-auto { grid-template-columns: 1fr; grid-template-rows: 1fr auto !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-none { display: none !important; }
.aligncenter { margin:0 auto; display: block;}
.important { display:none !important; }

/* Top */
header { width: 100%; position: relative; z-index: 1; }
header>.pwc { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--padding)/3) var(--padding); }
header>div>div { display: flex; align-items: center; gap: 1.5em; }
header .topmenu>ul>li { list-style: none; }
header .topmenu>ul>li a { font-size: .8em; color: var(--color-primary); font-weight: 700; text-transform: uppercase; display: flex; align-items: center; }
header .topmenu>ul>li a i { font-size: 1.2em; margin-right:.5em; }
header .topmenu>ul>li a i.bxs-error { color: var(--color-tertiary); }
header .button { display: inline-flex; background: var(--color-primary); color: #fff; border: none; padding: .75em 1.5em; font-size: .8em; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 9999px; transform-origin: center center; transition: transform .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
header .button:has(~.button) { border-radius: 9999px 0 0 9999px; margin-right:1px; padding-right:1em; } 
header .button~.button { border-radius: 0 9999px 9999px 0; padding-left:1em; }
header .button i { font-size: 1.2em; margin-right:.25em; margin-left:-.25em; }
header .button:hover { transform: scale(1.05); }
header .messages { background:var(--color-tertiary); color:#fff; padding:1em 2em; font-weight: 700; box-shadow: inset 0 10px 30px -15px #000a; }
header .messages .message .pwc {  text-align: center; display: flex; align-items: center; justify-content: center; animation: fadeInDown 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; }
header .messages .message i { font-size: 1.5em; margin-right:.5em; animation:pulse 2s cubic-bezier(0.075, 0.82, 0.165, 1) infinite; }
header .messages .message .button { margin-left:.75em; background: #fff; color:var(--color-tertiary); }
header .messages .message:not(:first-child) { display: none; }

nav { width:100%; background:var(--color-primary); position: relative; z-index: 10; }
nav:has(+ div + .paragraphs .paragraph.hero:first-child) { position: absolute; min-height:var(--nav-height); background: linear-gradient(to bottom, #0008, #0000); box-shadow: none; z-index: 10; }
nav:has(+ div + .paragraphs .paragraph.paragraph.hero.theme-blue:first-child) { background: linear-gradient(to bottom, var(--color-primary), #0000); }
nav:has(+ div + .paragraphs .paragraph.paragraph.hero.theme-lightblue:first-child) { background: linear-gradient(to bottom, var(--color-primary), #0000); }
nav:has(+ div + .paragraphs .paragraph.paragraph.hero.theme-blueorange:first-child) { background: linear-gradient(to bottom, var(--color-primary), #0000); }
nav .mainmenu { height:var(--nav-height); display: grid; grid-template-columns: auto 1fr auto; grid-gap:2em; align-items: center; justify-items: end; }
nav .mainmenu .logo { width:13em; height:100%; background:url('/wp-content/themes/glenten/_img/glenten_logo_white.png') no-repeat center left; background-size: contain; }
nav .mainmenu .buttons { display: flex; gap: 1em; justify-content: flex-end; } 
nav .mainmenu .buttons a { font-size: 1.4em; color:#fff; }
nav .mainmenu.showsearch .menu { display: none; }
nav .mainmenu .menu { animation: fadeIn 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity: 0; }
nav .mainmenu>ul>li a { color:#fff; font-size: .85em; font-weight: 800; text-transform: uppercase; padding: 1em 1.25em; display: block; transition:all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
nav .mainmenu>ul>li a:hover { opacity: .85;}
nav .mainmenu>ul>li a.active { border-bottom:3px solid var(--color-tertiary); }
nav .mainmenu>ul>li>ul>li a.active { border-left:3px solid var(--color-tertiary); border-bottom:0; }
nav .menutrigger, nav .searchtrigger { font-size: 1.5em; color:#fff; cursor: pointer; position: relative; }
nav .menutrigger { display: none; }
nav .mainmenu .searchtrigger:after { content:'\ebf7'; font-family: 'boxicons'; }
nav .mainmenu.showsearch .searchtrigger:after { content:'\ec8d';  }
nav .mainmenu.showsearch .search { display: grid; }
nav .search { background: #fff; width:100%; max-width:400px; height:48px; padding:.25em 1em; border-radius: 9999px; display: none; grid-template-columns: 1fr auto; animation:fadeInRight 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; opacity: 0; }
nav .search input { border:0; height:100%; }
nav .search .clickable { width:28px; height:100%; display: flex; align-items: center; justify-content: center; color: var(--color-primary); }

.scrolled { --nav-height:80px; }
.scrolled main:has(nav:has(+ div + .paragraphs .paragraph.hero:first-child)) { padding-top: var(--nav-height);}
.scrolled nav, .scrolled nav:has(+ div + .paragraphs .paragraph.hero:first-child) { position: fixed; top:0; left:0; width:100%; background: linear-gradient(to bottom, var(--color-secondary), #2a4467dd) !important; box-shadow: 0 0 100px #0003; z-index: 10; animation: slideDown .75s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; transform:translateY(-100%); animation-delay: .25s; }
.scrolled nav:has(+ div + .paragraphs .paragraph.hero:first-child) ul.menu>li>ul { background: var(--color-secondary) !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 ul { display:block; background:var(--color-secondary); border-radius:.5em; padding:1em 0; }
nav:has(+ div + .paragraphs .paragraph.hero:first-child) ul.menu>li>ul li ul { background:var(--color-secondary); }
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: #fff2; }
ul.menu>li>ul li a.sf-with-ul { padding-right:2em; }
ul.menu>li>ul li a.sf-with-ul:after { content: '\ee8f'; font-family: 'boxicons'; font-size: .5em; position: absolute; top: 55%; right:4em; transform:translateY(-50%); color:#fff; }
ul.menu>li>ul li a { background:#fff0; color: #fff; 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); box-shadow: inset 3px 0 0 0 var(--color-tertiary);}
 
/* Badge */
.badge { background: var(--color-tertiary); color:#fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2em; font-size: .75em; font-weight: 700; text-transform: uppercase; aspect-ratio: 1; border-radius: 9999px; }
.badge * { margin:0; }
.badge .Overskrift-Hero { font-size: 7em; } 
 
/* Paragraphs */

    /* General */
    .paragraph { position: relative; padding: calc(var(--padding)*3) 0; }
    .paragraph.headline + .paragraph.theme-none { padding-top: 0; }

    /* Remove bottom padding if two .paragraph with same .theme-xxx after each other */    
    .paragraph.theme-lightblue:not(.hero):not(:has(.background)) + .paragraph.theme-lightblue:not(:has(.background)),
    .paragraph.theme-blue:not(.hero):not(:has(.background)) + .paragraph.theme-blue:not(:has(.background)),
    .paragraph.theme-orange:not(.hero):not(:has(.background)) + .paragraph.theme-orange:not(:has(.background)),
    .paragraph.theme-white:not(.hero):not(:has(.background)) + .paragraph.theme-white:not(:has(.background)),
    .paragraph.theme-blueorange:not(.hero):not(:has(.background)) + .paragraph.theme-blueorange:not(:has(.background)),
    .paragraph.theme-none:not(.hero):not(:has(.background)) + .paragraph.theme-none:not(:has(.background)) { padding-top: 0; }
    
    /* Background */
    .paragraph .background { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center center; opacity: .2; z-index: 0; }

    /* Buttons */
    .paragraph .button { display: inline-flex; background: var(--color-primary); color: #fff; border: none; padding: 1em 1.75em; font-size: .8em; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 9999px; transform-origin: center center; transition: transform .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
    .paragraph .button:hover { transform: scale(1.05); }

    /* Theming */ 
    .paragraph.theme-none { background: none; color: var(--color-font); }
    .paragraph.theme-lightblue { background: var(--color-quinary); color:var(--color-font); } 
    .paragraph.theme-blue { background: var(--color-primary); color:#fff; } .paragraph.theme-blue .button { background:#fff; color:var(--color-primary); }
    .paragraph.theme-orange { background: var(--color-tertiary); color:#fff; } .paragraph.theme-orange .button { background:#fff; color:var(--color-tertiary); }
    .paragraph.theme-white { background: #fff; color: var(--color-font); } .paragraph.theme-white .button { background: var(--color-font); color: #fff; }
    .paragraph.theme-blueorange { background-image: linear-gradient(to bottom, #2A4467 66%, #F37721 100%); color:#fff; } .paragraph.theme-blueorange .button { background:#fff; color:var(--color-primary); }

    /* Hero */
    body.home .paragraph.hero { max-height:768px; }
    body .paragraphs .paragraph.hero:first-child .pwc { padding-top:100px; } 
    
    .paragraph.hero { position:relative; max-height:640px; min-height: 480px; padding:0; overflow: hidden; background-color:var(--color-primary); color:#fff; } 
    .paragraph.hero.theme-lightblue { background: var(--color-quinary); color:var(--color-font); }
    .paragraph.hero.theme-blue { background: var(--color-primary); color:#fff; }
    .paragraph.hero.theme-orange { background: var(--color-tertiary); color:#fff; }
    .paragraph.hero.theme-white { background: #fff; color: var(--color-font); }
    .paragraph.hero.theme-blueorange { background-image: linear-gradient(to bottom, #2A4467 66%, #F37721 100%); color:#fff; }

    .paragraph.hero:before { content: ""; display: block; padding-top: 56.25%; z-index: 0; pointer-events: none; background: none; }
    .paragraph.hero .swiper-container { width:100%; max-width:100%; height:100%; display:grid; position: absolute; inset:0; }
    .paragraph.hero:has(~.paragraph.news:has(.item-detail)) { display: none; }    
    .paragraph.hero .swiper { width:100%; height:100%;}
    .paragraph.hero .swiper-slide { width:100%; height:100%; display: grid; align-items: center; }    
    .paragraph.hero.theme-none .swiper-slide .video, .paragraph.hero.theme-none .swiper-slide .image { opacity: .66;  } 
    .paragraph.hero.theme-blue .swiper-slide:after { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(to bottom, #0000 66%, var(--color-primary)); }
    .paragraph.hero.theme-lightblue .swiper-slide:after { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(to bottom, #0000 66%, var(--color-quinary)); }
    .paragraph.hero.theme-orange .swiper-slide:after { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(to bottom, #0000 66%, var(--color-tertiary)); }
    .paragraph.hero.theme-white .swiper-slide:after { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(to bottom, #0000 66%, #fff); }
    .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-size: cover; background-position: center center;  opacity: .2; animation: kenBurns 20s ease-out infinite; }    
    .paragraph.hero .swiper-slide .video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center center;  opacity: .2; overflow: hidden; }
    .paragraph.hero .swiper-slide .video video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
    .paragraph.hero .swiper-slide .pwc { position: absolute; grid-template-columns: 1fr auto; width:100%; height:100%; align-items: center; left:50%; transform: translateX(-50%); overflow: hidden; font-size: 1.25em; z-index: 1; }
    .paragraph.hero .swiper-slide .content { opacity: 0; padding:var(--padding);  animation: fadeInUp 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; animation-delay: calc(var(--base-animation-delay) + .2s); }
    .paragraph.hero .swiper-slide .content [style*="text-align: center"], .paragraph.hero .swiper-slide .content [style*="text-align:center"] { display: flex; flex-direction: column; align-items: center; justify-content: center; }    
    .paragraph.hero .swiper-slide a.Knap { opacity: 0; animation: fadeInUp 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; animation-delay: calc(var(--base-animation-delay) + .4s); }
    .paragraph.hero .swiper-slide .badge { opacity: 0; animation: rollInFromRight 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; animation-delay: calc(var(--base-animation-delay) + .6s); }   
    .paragraph.hero:has(.swiper-wrapper > .swiper-slide:only-child) .swiper-slide * { --base-animation-delay: 0.1s; } /* Remove animation delay if only one slide */
    .paragraph.hero .pagination { position: absolute; bottom: 2em; left: 0; width: 100%; height: auto; z-index: 10; text-align: center; display: inline-flex; justify-content: center; }
    .paragraph.hero .pagination .swiper-pagination-bullet { box-shadow:none; user-select: none; width: auto !important; height:auto !important; padding: 1.25em 1em; background:transparent !important; border-radius: 0; margin: 0 5px; color:#fff; font-weight: 700; text-transform: uppercase; opacity: .9; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
    .paragraph.hero .pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover { transform: translateY(-2px); }
    .paragraph.hero .pagination .swiper-pagination-bullet:before { display: none; } 
    .paragraph.hero .pagination .swiper-pagination-bullet:after { display: none; }
    .paragraph.hero .pagination .swiper-pagination-bullet-active { box-shadow: inset 0 -4px 0 0 #fff; opacity: 1; }

    /* Content */
    .paragraph.content { font-weight: 300; }
    .paragraph.content.textdouble { text-align: center; }
    .paragraph.content.textdouble > .text { display: grid; grid-template-columns: 1fr 1fr; gap: 4em; justify-content: center; width: fit-content; align-items: center; }
    .paragraph.content.textdouble.top > .text { align-items: flex-start; }
    .paragraph.content.textdouble.bottom > .text { align-items: flex-end; }
    .paragraph.content.textdouble > .text > div { text-align: left; }
    .paragraph.content.textdouble > .text > div img { max-width: 100%; height:auto !important; border-radius: .5em; overflow: hidden; }
    .paragraph.content img { max-width: 100%; height:auto !important; border-radius: .5em; overflow: hidden; }

    /* Cards */ 
    .paragraph.cards>.title { text-align: center; margin-bottom: 1em; }
    .paragraph.cards .cards { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 25%)); justify-content: center; gap: 2em; }
    .paragraph.cards[data-columns="1"] .cards { grid-template-columns: 1fr; }
    .paragraph.cards[data-columns="2"] .cards { grid-template-columns: repeat(auto-fit, minmax(200px, calc(50% - 2em))); }
    .paragraph.cards[data-columns="3"] .cards { grid-template-columns: repeat(auto-fit, minmax(200px, calc(33.33% - 2em))); }
    .paragraph.cards[data-columns="4"] .cards { grid-template-columns: repeat(4, 1fr); }
    .paragraph.cards[data-columns="5"] .cards { grid-template-columns: repeat(2, 1fr); }
    .paragraph.cards[data-columns="6"] .cards { grid-template-columns: repeat(3, 1fr); }
    .paragraph.cards .cards .label { width:calc(100% - 2em); height:24px; margin:0 auto; text-align: center; font-size: .75em; font-weight: 700; text-transform: uppercase; color:#fff; padding: .25em 0; z-index:2; }
    .paragraph.cards .cards .label.popular { background: var(--color-tertiary); border-radius: .5em .5em 0 0; padding:.5em; }
    .paragraph.cards .cards .label.popular:before { content: '\eeb8'; font-family: 'boxicons'; margin-right:.5em; }
    .paragraph.cards .cards .label.popular:after { content: 'Populær'; }
    .paragraph.cards .cards .label.lightningfast { background: var(--color-positive); border-radius: .5em .5em 0 0; padding:.5em; }
    .paragraph.cards .cards .label.lightningfast:before { content: '\ea63'; font-family: 'boxicons'; margin-right:.5em; }
    .paragraph.cards .cards .label.lightningfast:after { content: 'Lynhurtig'; }
    .paragraph.cards .cards .card { position: relative; z-index:1; background: #fff; color: var(--color-font); transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); border-radius: .5em; overflow:hidden; }
    .paragraph.cards .cards:not(:has(.label)) .card { height:100%; }
    .paragraph.cards .cards .card .title { padding:1.25em 2em; font-size: 1em; font-weight: 900; text-align: center; text-transform: uppercase; }
    .paragraph.cards .cards .card .title h2 { font-size: 2em;}
    .paragraph.cards .cards .card.theme-orange .title { background: var(--color-tertiary); color:#fff; }
    .paragraph.cards .cards .card.theme-blue .title { background: var(--color-secondary); color:#fff; }
    .paragraph.cards .cards .card.theme-green .title { background: var(--color-positive); color:#fff; }
    .paragraph.cards .cards .card .content { font-size:.9em; padding: 1em 1.5em; }
    .paragraph.cards .cards .card .content hr { margin:0; } 
    .paragraph.cards .cards .card .content img { max-width:100%; height:auto !important; } 
    .paragraph.cards .cards .card .content a.Link { color: var(--color-primary); transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
    .paragraph.cards .cards .card .expanded { background: linear-gradient(to bottom, #0001, #0000 32px); }
    .paragraph.cards .cards .card .expanded .expanded-trigger { text-align: center; font-weight: 700; padding:1em; cursor: pointer; color: var(--color-primary); user-select: none; }    
    .paragraph.cards .cards .card .expanded .expanded-trigger:before { content: '\ea4a'; font-family: 'boxicons'; display: inline-block; margin-right:.5em; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }    
    .paragraph.cards .cards .card .expanded .expanded-trigger~.expanded-content { max-height:0px; font-size: .85em; overflow: hidden; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); padding:0 1.5em; } 
    .paragraph.cards .cards .card .expanded .expanded-trigger.open~.expanded-content { max-height:1000px; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); padding:0 1.5em 2em 1.5em;  } 
    .paragraph.cards .cards .card .expanded .expanded-trigger.open:before { content: '\ea4a'; transform: rotate(180deg); }
    
    /* Trustpilot */
    .paragraph.trustpilot { padding:calc(var(--padding)*1) 0; }

    /* Gallery */
    .paragraph.gallery .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); justify-content: center; gap: 2vw; }
    .paragraph.gallery .grid > .gallery-item { display: block; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); justify-items: center; }
    .paragraph.gallery .grid > a[href]:hover { transform: translateY(-5px); }
    .paragraph.gallery .grid > .gallery-item .image { width:100%; border-radius: .5em; }
    .paragraph.gallery .grid > .gallery-item .image img { width:100%; }
    .paragraph.gallery .grid > .gallery-item .description { color:var(--color-primary); font-size: 1em; font-weight: 900; text-transform: uppercase; margin-top:.5em; text-align: center; }
    .paragraph.gallery .grid > .gallery-item .button { margin-top:2em; display: block; }
    
    .paragraph.gallery.round .grid { gap: 5vw; }
    .paragraph.gallery.round .grid > .gallery-item .image { border-radius: 9999px; aspect-ratio: 1; overflow:hidden; }
    .paragraph.gallery.round .grid > .gallery-item .image img { width:100%; height:100%; object-fit: cover; object-position: center; }
    .paragraph.gallery.rounded .grid > .gallery-item .image { border-radius: 9999px; }
    
    /* .paragraph.gallery[data-columns="1"] .grid { grid-template-columns: 1fr; } */
    .paragraph.gallery[data-columns="2"] .grid { grid-template-columns: repeat( auto-fit, minmax(min(calc(50% - 2vw), 100%), 1fr) ); }
    .paragraph.gallery[data-columns="3"] .grid { grid-template-columns: repeat( auto-fit, minmax(min(calc(33% - 4vw), 100%), 1fr) ); }
    .paragraph.gallery[data-columns="4"] .grid { grid-template-columns: repeat( auto-fit, minmax(min(calc(25% - 2vw), 100%), 1fr) ); }
    .paragraph.gallery[data-columns="5"] .grid { grid-template-columns: repeat( auto-fit, minmax(min(calc(20% - 2vw), 100%), 1fr) ); }
    .paragraph.gallery[data-columns="6"] .grid { grid-template-columns: repeat( auto-fit, minmax(min(calc(16.66% - 2vw), 100%), 1fr) ); }

    /* Newsletter */ 
    .paragraph.newsletter { font-weight: 300; }
    .paragraph.newsletter .form { position: relative; text-align:center; margin-top:2em; }
    .paragraph.newsletter .form input[type="email"] { padding:1em 2em; border: 2px solid var(--color-primary); border-radius: 9999px; width:100%; max-width:400px; font-size: 1em; }
    .paragraph.newsletter .form a { height:55px; }
    .paragraph.newsletter .form .error { display:block; max-height: 0; overflow: hidden; animation:growMaxHeight 1s ease-in-out forwards; animation-delay:.3s; }
    
    /* News */    
    .paragraph.news .title { margin-bottom: 1em; text-align: center; }
    .paragraph.news .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 20%)); justify-content: center; gap: 2em; }
    .paragraph.news .item { display: grid; grid-template-rows: auto auto 1fr auto; grid-gap:1em; }    
    .paragraph.news .item .date { font-size: .8em; }
    .paragraph.news .item .title { font-weight: 800; margin-bottom:0; text-transform: uppercase; text-align: left; }
    .paragraph.news .item .img { width:100%; aspect-ratio: 16/12; background-size: cover; background-position: center center; }

    /* Messages */    
    .paragraph.messages .title { margin-bottom: 2em; text-align: center; }
    .paragraph.messages .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, calc(33% - 2em))); justify-content: center; gap: 2em; }
    .paragraph.messages .message { background: #fff; color: var(--color-font); padding:2em 2em; margin:1em 0; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); position: relative; }    
    .paragraph.messages .message .dates { display: flex; font-size:.85em; font-weight: 500; margin-bottom:1em; align-items: center; }
    .paragraph.messages .message .dates:not(:empty)::before { content: '\ed00'; font-family: 'boxicons'; font-size:1.5em; margin-right:.25em; }
    .paragraph.messages .message .dates .from~.to:before { content:'-'; margin:0 .5em; }
    .paragraph.messages .message .title { font-weight: 900; text-transform: uppercase; text-align: left; display:flex; margin-bottom:1em; }
    .paragraph.messages .message .title:before { content: '\eda2'; font-family: 'boxicons'; display: inline-block; color:var(--color-tertiary); font-size:1.5em; margin-right:.5em; }
    .paragraph.messages .message .button { background: var(--color-primary); color: #fff; }
    .paragraph.messages .message:after { content: ''; position: absolute; bottom: -15px; left: 20px; width: 0; height: 0; border-left: 15px solid transparent; border-right: 0 solid transparent; border-top: 15px solid #fff8; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
    .paragraph.messages .message-detail .button { background: #fff; color: var(--color-primary); margin-top: 2em; }

    /* FAQ */
    .paragraph.faq { padding: calc(var(--padding)*2) 0; max-width: 1024px; margin:0 auto; }
    .paragraph.faq .accordion-item { margin:0 0 .25em 0; }
    .paragraph.faq .accordion-header { font-weight: 700; background: var(--color-primary); color:#fff; margin:0; padding:1em; border-radius: .5em; overflow: hidden; user-select: none; }
    .paragraph.faq .accordion-header:after { content: '\ea4a'; font-family: 'boxicons'; float: right; }
    .paragraph.faq .accordion-header.open { background: var(--color-tertiary);}
    .paragraph.faq .accordion-header.open:after { content: '\ea57'; }
    .paragraph.faq .accordion-content { max-height: 0; overflow: hidden; color: var(--color-font); transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); border-radius: .5em; }
    .paragraph.faq .accordion-content img { max-width: 100% !important; height:auto !important;}

    /* Form */
    .paragraph.form { padding: calc(var(--padding)*2) 0; }
    .paragraph.form .form { position: relative; }
    .paragraph.form .title { text-align: center; margin-bottom: 2em; }
    .paragraph.form .success_msg { animation:fadeIn 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; position: absolute; top:0; left:0; width: 100%; height:100%; display:flex; flex-direction: column; justify-content:center; background: #fff; padding:1em 2em; z-index: 1; }
    .paragraph.form .success_msg:before { content: '\ea78'; font-family: 'boxicons'; font-size: 5em; margin:0 auto .25em auto; }
    .paragraph.form .error_msg { animation:fadeIn 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; position: absolute; top:0; left:0; width: 100%; height:100%; display:flex; flex-direction: column; justify-content:center; background: #fff; padding:1em 2em; z-index: 1; }
    .paragraph.form .error_msg:before { content: '\ea7c'; font-family: 'boxicons'; font-size: 5em; margin:0 auto .25em auto; color: var(--color-tertiary); }
    .paragraph.form form { display: grid; gap: 1em; max-width: 500px; margin:0 auto; }
    .paragraph.form form label { display: block; font-weight: 700; margin-bottom: .5em; }
    .paragraph.form form input:not([type="checkbox"]):not([type="radio"]), .paragraph.form form textarea { width:100%; padding: 1em; border: 1px solid var(--color-primary); border-radius: 1.75em; font-size: 1em; }
    .paragraph.form form input:not([type="checkbox"]):not([type="radio"]).error, .paragraph.form form textarea.error { border-color:var(--color-tertiary); }
    .paragraph.form form label.radio, .paragraph.form form label.checkbox { user-select: none; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .5em; font-weight: 400; } /* Style radio buttons and checkboxes */
    .paragraph.form form label.radio input[type="radio"], .paragraph.form form label.checkbox input[type="checkbox"] { appearance: none; width: 20px; height: 20px; border: 2px solid var(--color-primary); border-radius: 50%; position: relative; cursor: pointer; }
    .paragraph.form form label.checkbox input[type="checkbox"] { border-radius: 4px; }
    .paragraph.form form label.radio input[type="radio"]:checked::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--color-primary); border-radius: 50%; width: 10px; height: 10px; opacity: 0; animation: fadeIn .3s ease-in-out forwards; }
    .paragraph.form form label.checkbox input[type="checkbox"]:checked::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--color-primary); border-radius: .15em; width: 12px; height: 12px; opacity: 0; animation: fadeIn .3s ease-in-out forwards; }
    .paragraph.form form a { display: flex; width: fit-content; margin: 0 auto; min-width: 50%; text-align: center; justify-content: center; }
    .paragraph.form .errormsg {padding-top:1em; animation:fadeInDown 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; }    
    .paragraph.form form textarea { scrollbar-width: thin; scrollbar-color: var(--color-primary) transparent; }
    .paragraph.form form textarea::-webkit-scrollbar { width: 8px; }
    
/* Details */
.item-detail .dates { display: flex; font-size:.85em; font-weight: 500; margin:1em 0; align-items: center; }
.item-detail .dates:not(:empty)::before { content: '\ed00'; font-family: 'boxicons'; font-size:1.5em; margin-right:.25em; }
.item-detail .date { margin-bottom:1em; }
.item-detail .title { font-weight: 900; text-transform: uppercase; line-height: .9; text-align: left !important; }
.item-detail .img img { width: 100%; overflow: hidden; border-radius: .5em; }
.item-detail img {  max-width: 100%; overflow: hidden; border-radius: .5em; }

/* Bottom */
footer { font-size:.9em; }
footer .info { background: linear-gradient(to bottom, var(--color-quaternary), #fff 100px, #fff calc(100% - 100px), var(--color-quaternary)); padding:2em 0; color: var(--color-primary); }
footer .openinghours { background:linear-gradient(to bottom, var(--color-primary), var(--color-secondary)); color:#fff; padding:2em 0; }
footer .bottom { background: #1e2c4b; color: var(--color-primary); color: var(--color-quaternary); text-align: center; padding:2em 0; }
/* footer .bottom .grid div:first-child:before { content: '§'; font-family: "Times New Roman", Georgia, serif; font-size:70px; display: block; opacity: 1; color:#fff5; } */

footer .pwc>div { grid-gap: 3em; padding: 2em 0; grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); }
footer .pwc>h3 { margin-top:2em; }
footer .pwc>div .logo { width:100%; max-width: 200px; aspect-ratio: 16/5; background:url('/wp-content/themes/glenten/_img/glenten_logo.png') no-repeat top left; background-size: contain; }
footer .pwc>div ul { padding:0; margin:0; }
footer .pwc>div ul li { list-style: none; padding:1em 0; border-bottom:1px solid var(--hr-color); }
footer .pwc>div ul li:last-child { border-bottom: none; }
footer .pwc>div ul li a { color: var(--color-primary); transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); text-transform: uppercase; }
footer .pwc>div ul li a:hover { color: var(--color-tertiary); padding-left: 5px; }
footer .pwc>div>div>p { margin-bottom:0; }
footer .pwc .some a { display:grid; grid-template-columns:auto 1fr; align-items:center; color:var(--color-primary); transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); opacity: .9; }
footer .pwc .some a p { font-size:.8em; margin:0; line-height:1; }
footer .pwc .some a i:not(.bx-chevron-right) { font-size: 3em; }
footer .pwc .some a:hover { transform: translateY(-5px); } 

/* Animations */
.reset-animations * { animation: none !important; }
@keyframes slideDown { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { from { opacity:0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes rollInFromRight { from { opacity:0; transform: translateX(2em) rotate(15deg); } to { opacity: 1; transform: translateX(0) rotate(5deg); } }
@keyframes kenBurns { 0% { transform-origin: center center; transform: scale(1) translate(0, 0); } 50% { transform-origin: center center; transform: scale(1.1) translate(-2.5%, -2.5%); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes growMaxHeight { to { max-height: 1000px; } }

/* Sidr */
    .sidr { background: #1e2c4b; display:none; position: absolute; position: fixed; top: 0; height: 100%; z-index: 999999; width: 300px; overflow-x: hidden; overflow-y: auto; border-left:1px solid var(--color-secondary); user-select: none; padding:1.5em; color:#fff; }
    .sidr .close i { font-size: 2em; margin-right:-5px; }
    .sidr .logo { width:100%; max-width: 148px; aspect-ratio: 16/5; background:url('/wp-content/themes/glenten/_img/glenten_logo_white.png') no-repeat top left; background-size: contain; }
    .sidr input[type=search] { width:100%; padding:1em 2em; border-radius: 9999px; border: none; margin-top:1em; background: #fff; color:#000; border: 2px solid var(--color-primary); }
    .sidr .sidr-inner { padding: 0 0 15px; }
    .sidr.right { left: auto; right: -300px; }
    .sidr ul { display: block; margin: 1em 0 0 0; padding: 0; }
    .sidr ul li { display: block; margin: 0; border-bottom:1px solid var(--color-secondary); }
    .sidr ul li a { display: block; text-decoration: none; line-height: 32px; color:#fff; font-weight: 900; text-transform: uppercase; }
    .sidr ul li a.active { color: var(--color-tertiary); }
    .sidr ul li ul li ul li { padding-left:10px; }
    .sidr .submenu_trigger { display:block; cursor:pointer; }
    .sidr .submenu_trigger:after { content:'\ea4a'; font-family: 'boxicons'; float: right; color:#fff; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1); }
    .sidr ul>li>.submenu_trigger { background-size: 10px; }    
    .sidr .submenu_trigger + ul { display:none; }
    .sidr .submenu_trigger + ul li a { font-weight: 500;}
    .sidr .submenu_trigger.shown:after { content:'\ea57'; }
    .sidr .submenu_trigger.shown + ul { display:block; animation:fadeInDown 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; }  

    /* .sidr input[type=search] ~ span { background: #fff0 url(/wp-content/themes/glenten/_img/i_search_green.svg) no-repeat center center; background-size:14px; } */

/* Responsive */
@media screen and (max-width: 1280px) {
    body { font-size: .85em; }
    .scrolled { --nav-height: 64px; }

    /* Menu */    
    .topmenu.left { display: none; }
    header>.pwc>div { margin:0 auto; }
    nav .mainmenu .menu { gap:.5em; }   
    nav .mainmenu>ul>li>a { padding: .75em .75em; }
}

@media screen and (max-width: 1024px) {

    /* Menu */
    :root { --nav-height: 64px; }
    .scrolled { --nav-height: 64px; }
    
    nav .mainmenu .logo { position: absolute; left: 1em; top:1.5em; height:24px; }
    nav .mainmenu .menu { display: none; }
    /* nav .mainmenu .menu:has(~.buttons .menutrigger.shown){ display: block; padding-top:4em; } */
    nav .mainmenu .buttons { position: absolute; right: 1em; top:1.5em; }
    /* nav .mainmenu .menu li { width: 100%;} */
    nav .menutrigger { display: block; }
    nav .searchtrigger { display: none; }
    /* nav .mainmenu ul { position: static; } */

    /* Hero */
    body .paragraphs .paragraph.hero:first-child .pwc { padding-top: 64px; }
    .paragraph.hero, body.home .paragraph.hero { font-size: .75em; min-height: 360px; height: 40vh; }

    /* Gallery */
    .paragraph.gallery .grid { gap:2em; }
}

@media screen and (max-width: 640px) {

    :root { --nav-height: 64px; }
    .scrolled { --nav-height: 64px; }

    /* General */
    body { font-size: .8em; }
    body .paragraphs .paragraph.hero:first-child .pwc { padding-top: 50px; }
    header .pwc { display:none; }
    .grid-responsive { grid-template-columns: 1fr !important; }
    .pwc { padding: 0 1.5em; }

    /* Menu */    
    .scrolled nav .mainmenu { padding:1.5em 1em; }
    
   
    /* Resize fonts */
    .messages { font-size: .8em; }
    .messages .button { display: none; }
    .Overskrift-Hero { font-size: 2.5em; }
    h1, h1.Overskrift-1 { font-size: 2.5em; }
    h2, h2.Overskrift-2 { font-size: 2em; }

    /* Hero */
    .paragraph.hero, body.home .paragraph.hero { font-size: .75em; min-height: 320px; height: 30vh; }
    .paragraph.hero .badge { display:none; }
    .paragraph.hero .pagination .swiper-pagination-bullet { box-shadow:inset 0 -4px 0 0 #fff3; color: transparent; overflow:hidden; width: 2em !important; }
    .paragraph.hero .pagination .swiper-pagination-bullet-active { box-shadow:inset 0 -4px 0 0 #fff; }

    /* Content */
    .paragraph.content.textdouble > .text { grid-template-columns: 1fr !important; }

    /* Cards */
    .paragraph.cards .cards.pwc { grid-template-columns: 1fr !important;}

    footer { font-size: .75em; }
}