/*!
 * Bootscore Child – custom.css
 * -----------------------------------------------
 */

/* Indholdsfortegnelse
 * 01 Typografi og fonts
 * 02 Generelt og fælles klasser
 * 03 Sektioner – globalt
 * 04 Sektiontitler – globalt
 * 05 Sider – titel og breadcrumbs
 * 06 Header
 * 07 Navigation
 * 08 Hero
 * 09 Sektioner – specifikke
 * 10 Artikel
 * 11 Portfolio details
 * 12 Service details
 * 13 Starter section
 * 14 Footer
 * 15 Scroll top
 * 16 Preloader
 * 17 AOS – mobil override
 * 18 WordPress – tidligere Ekstra CSS (overrides)
 */

/* ========================================================================== 
   01 Typografi og fonts
   ========================================================================== */
/**
* Template Name: HVM
*/

/* Fonts */

.albert-sans-100 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}
.albert-sans-300 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
.albert-sans-400 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.albert-sans-600 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.albert-sans-600 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.sacramento-regular {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-style: normal;
}



/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #2e2e2e; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2e2e2e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f74605; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
--background-color: #e6d5c3;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #2e2e2e;  /* The default color of the main navmenu links */
  --nav-hover-color: #f74605; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2e2e2e; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f74605; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */


.farveskema-blaa {
  --background-color: #3c5c72;
  --default-color: #e6d5c3;
  --heading-color: #e6d5c3;
  --surface-color:  #f74605;
  --contrast-color: #f74605;
  --accent-color:#ffffff;
}
.farveskema-lysblaa {
  --background-color: #d8dee3;
  --default-color: #3c5c72;
  --heading-color: #3c5c72;
  --surface-color:  #e6d5c3;
}
.farveskema-groen {
  --background-color:#9ee6b8;
  --default-color: #3c5c72;
  --heading-color: #3c5c72;
  --contrast-color: #ffffff;
  --surface-color: #9ee6b8;
}
.farveskema-gul {
  --background-color:#f2cb05;
  --default-color:  #f74605;
  --heading-color:  #f74605;
  --contrast-color: #ffffff;
  --surface-color: #f2cb05;
}
.farveskema-hvid {
  --background-color: #ffffff;
  --contrast-color: #ffffff;
  --surface-color: #f2cb05;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* ========================================================================== 
   02 Generelt og fælles klasser
   ========================================================================== */
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

body {
  color: var(--default-color);
  background-color: var(--background-color);
    font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    caret-color: transparent;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

/* ========================================================================== 
   03 Sektioner – globalt
   ========================================================================== */
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

section,.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 120px 0;
  scroll-margin-top: 45px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
    padding: 60px 0;
  }
}

/* ========================================================================== 
   04 Sektiontitler – globalt
   ========================================================================== */
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/

.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

__.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  top:2rem;
  margin: auto;

  background-image: url('../img/plus_o_hvidbg.svg');
  background-repeat: no-repeat;
background-position: center bottom;
  background-size: auto 50%;
}



.section-title p {
  margin-bottom: 0;
}

/* ========================================================================== 
   05 Sider – titel og breadcrumbs
   ========================================================================== */
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/* ========================================================================== 
   06 Header
   ========================================================================== */
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  color: var(--default-color);
  background-color: white;
  transition: all 0.5s;
  z-index: 997;
  min-height: 12vh;
  min-height: 12dvh;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
__height:4rem;
max-height:6vh;
max-height:6dvh;
}

@media (max-width: 1199px) {
.header .logo img {__max-height: 3rem;}
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  background-color: white;
}

/* ========================================================================== 
   07 Navigation
   ========================================================================== */
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;

  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
}

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 0px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* ========================================================================== 
   08 Hero
   ========================================================================== */
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  width: 100%;
  min-height: 88vh;
  min-height: 88dvh;
  position: relative;
  padding: 80px 0;
  display: flex;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--default-color), transparent 20%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;

}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 600;
  color:white;
}

.hero h2 span{
      background-image: linear-gradient(
        transparent 45%,
        #f74605 45%
      );
      padding: 0.05em 0.25em;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
}

.hero p {
  margin: 5px 0 50px 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}


.hero .cta-btn {
  margin: 0px 5px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1px;
  display: inline-block;
  padding: 5px 10px 5px 35px;
  border-radius: 0;
  transition: 0.6s;
  color: white;
  background-image: url('../img/plus_o_hvidbg.svg');
  background-repeat: no-repeat;       /* Ingen gentagelse */
background-position: 5px 10px;
  background-size: auto 50%;
border-radius: 2px;
}

.hero .cta-btn:hover {
background-image: url('../img/plus_h_orangebg.svg');
color:var(--accent-color);
__background-color:white;
transition: 0.6s;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/* ========================================================================== 
   09 Sektioner – specifikke
   ========================================================================== */
/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/


.read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;

  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.read-more:hover {
  background: color-mix(in srgb, var(--accent-color), black 20%);
  padding-right: 19px;
  color: var(--contrast-color);
}

.read-more:hover i {
  margin-left: 10px;
}

.item {
  position: relative;
}

.item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.item:hover .icon {
  background: var(--surface-color);
}

.item:hover .icon i {
  color: var(--accent-color);
}

.item .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
}


.item .title a,
.item .title a:link,
.item .title a:visited,
.item .title a:focus,
.item .title a:active{
  color: var(--heading-color);
}

.item .title a:hover {
  color: var(--accent-color);
}

.item .description {
  line-height: 24px;
  font-size: 14px;
  padding-bottom: 40px;
}

.item .description a, .item .description a:visited {
  color: var(--heading-color);
}
.item .description a:hover {
  color: var(--accent-color);
}

.feature-box {
  height: 100%;
    background-color: var(--contrast-color);
    padding:1rem;
    margin-bottom: 20px;
}
.feature-box:hover {
    background-color: var(--surface-color);
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
transition: 0.6s;
}

.feature-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 10px 0;
}

.feature-box p {
  font-size: 15px;
  margin-bottom: 0;
  color: var(--default-color);
}

/* ========================================================================== 
   10 Artikel
   ========================================================================== */
/*--------------------------------------------------------------
# ARTIKEL
--------------------------------------------------------------*/


.artikelhero h1, .side h1 {
font-size: 4rem;
font-weight: 900;
line-height: .9;
padding-bottom:2rem;
}
@media (max-width: 1199px) {
  .artikelhero h1, .side h1{font-size: 3rem;}
}

.artikelhero h2, .side h2 {
font-size: 1.2rem;
font-weight: 300;
line-height: 1.1;
padding-bottom:2rem;
}


section.side, section.artikelhero {
padding-top: 170px;
padding-bottom:60px;
	margin-top:-110px;
}

@media (max-width: 1199px) {
section.side, section.artikelhero {
  }
}



/* --- FIX: Bootstrap collapse skal kunne vise menuen på mobil --- */
@media (max-width: 1199px) {
  /* Din mobile CSS skjuler ul. Vis den igen når collapse er åben */
  #navmenu .navbar-collapse.show > ul {
    display: block;
  }

  /* Gør overlay-laget (baggrunden) aktivt når menuen er åben */
  #navmenu .navbar-collapse.show {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    z-index: 9997;
  }

  /* Placer selve dropdown-panelet (ul) som dit gamle “inset”-panel */
  #navmenu .navbar-collapse.show > ul {
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.1);
    z-index: 9998;
  }
}
/* --- Toggler icon swap (hamburger <-> X) --- */
#navmenuToggler .toggler-close {
  display: none;
}

#navmenu .navbar-collapse.show ~ #navmenuToggler .toggler-open {
  display: none;
}

#navmenu .navbar-collapse.show ~ #navmenuToggler .toggler-close {
  display: inline;
}
#navmenuToggler {
  position: relative;
  z-index: 9999;
}

/* --- Toggler: vis kun ét ikon ad gangen --- */
#navmenuToggler .toggler-close { display: none; }
#navmenuToggler.is-open .toggler-open { display: none; }
#navmenuToggler.is-open .toggler-close { display: inline-block; }

/* --- Når mobilmenu er åben: hold toggler synlig over overlay --- */
@media (max-width: 1199px) {
  #navmenuToggler.is-open{
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
  }
}

@media (max-width: 1199px) {
  /* Hold X-knappen klikbar over overlay + panel */
  #navmenuToggler.is-open {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10050; /* højere end overlay/panel */
  }

  /* Hvis du vil have X’et hvidt på mørk overlay */
  #navmenuToggler.is-open {
    color: #fff;
  }
}
/* Rens hamburger/X-knappen visuelt */
#navmenuToggler {
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* Fjern blå focus-outline, men behold tilgængelighed */
#navmenuToggler:focus,
#navmenuToggler:focus-visible {
  outline: none;
  box-shadow: none;
}
#navmenuToggler {
  padding: 8px;
  border-radius: 0; /* eller fx 4px hvis du vil have en subtil hover-zone */
}


/* Når headeren bliver "sticky" via JS */
#header.is-fixed {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  z-index: 10050;
}
body.has-fixed-header {
  padding-top: var(--header-h, 0px);
}

/* Gutenberg sætter img-fluid på figure; sørg for at img arver fluid */
figure.img-fluid img {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 1199px) {
figure.img-fluid img {
  padding-bottom: 20px;
}
}
__section[id] { scroll-margin-top: 110px; }

html {
  scroll-behavior: smooth;
  __scroll-padding-top: 110px;
}


main{padding-top:var(--header-h);}

@media (max-width: 1199px) {
main{}
}

section.artikelboks {padding: 0;}

__.topfrontsection {padding: 0px 0 120px 0;}

h3{margin-bottom: 0.5rem !important;}

.artikelcontent{
  padding-top: 60px;
}


__#header-trigger{
  height: var(--header-h, 0px);
}
body.has-fixed-header{
  padding-top: 0 !important;
}
#header-trigger{
  height: 0;
  transition: height .15s ease; /* valgfrit, ser lækkert ud */
}
.header.is-fixed + #header-trigger{
  height: var(--header-h);
}


/* ==========================================================
   SØGEFORMULAR – ENS STYLING (Gutenberg + custom)
   ========================================================== */

/* Wrapper – ens spacing */
.wp-block-search,
.search-form {
  max-width: 100%;
}

/* Input + button på linje */
.wp-block-search__inside-wrapper,
.search-form .input-group {
  display: flex;
}

/* INPUTFELT */
.wp-block-search__input,
.search-form input[type="search"] {
  background: #fff;
  border: 1px solid white;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
}

/* Fjern fokus-glow / outline */
.wp-block-search__input:focus,
.search-form input[type="search"]:focus {
  outline: none;
  box-shadow: none;
  border-color: white;
}

/* KNAP */
.wp-block-search__button,
.search-form button[type="submit"] {
  border-radius: 0;
  border: 1px solid var(--accent-color);
  background: var(--accent-color);
  color: var(--contrast-color, #fff);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
	margin-left:0;
}

/* Hover – lidt mørkere accent (samme logik som dine buttons) */
.wp-block-search__button:hover,
.search-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
}

/* Fjern fokus-ramme på knap */
.wp-block-search__button:focus,
.search-form button[type="submit"]:focus {
  outline: none;
  box-shadow: none;
}

/* IKON I KNAP – ingen tekst */
.wp-block-search__button::before {
  content: "\F52A"; /* Bootstrap Icons search */
  font-family: "bootstrap-icons";
  font-size: 1.1rem;
  line-height: 1;
}

/* Skjul evt. tekst i Gutenberg-knappen */
.wp-block-search__button span {
  display: none;
}

/* Icon i custom searchform (du har allerede <i>) */
.search-form button i {
  font-size: 1.1rem;
}

/* ========================================================================== 
   11 Portfolio details
   ========================================================================== */
/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/* ========================================================================== 
   12 Service details
   ========================================================================== */
/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 600;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 600;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 600;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* ========================================================================== 
   13 Starter section
   ========================================================================== */
/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

.starter-section {
  /* Add your styles here */
}

/* ========================================================================== 
   14 Footer
   ========================================================================== */
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}


.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}



.footer .address p {
  margin-bottom: 0px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  __border-radius: 50%;
  __border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 32px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* ========================================================================== 
   15 Scroll top
   ========================================================================== */
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* ========================================================================== 
   16 Preloader
   ========================================================================== */
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ========================================================================== 
   17 AOS – mobil override
   ========================================================================== */
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* ========================================================================== 
   18 WordPress – tidligere Ekstra CSS (overrides)
   ========================================================================== */
/*
 * Denne sektion var tidligere placeret i Udseende → Tilpas → Ekstra CSS.
 * Den bør ligge nederst for at kunne overstyre ovenstående regler.
 */

.kontaktperson{
	display:block;
	background:white;
	padding:1rem;
}

.kontaktperson img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
__border-radius: 50%;
}

.accordion, .accordion .accordion-item,.accordion h2,.accordion button,.accordion-button:not(.collapsed){
background:none;
border:none;
color:var(--default-color);
padding:0;
--bs-accordion-border-width:0;
}
.accordion-button:focus{
box-shadow:none;
}
.accordion .accordion-item{
border-bottom: 1px solid rgba(0,0,0,.2);
padding: 1rem 0 1rem 0;
}
.accordion .accordion-item span{
width:20%;
}
.accordion-body{
padding:0;
margin-top:1rem;
}
.accordion .accordion-item .accordion-collapse{
padding-left:20%;
margin:0;
}

.accordion-button {font-weight:600;}

.accordion-button span {font-weight:400;}
.accordion-button.collapsed {font-weight:400;}


.accordion-button::after {
  width: 0.75rem;
  height: 0.75rem;
  background-size: 0.75rem;
}

.footer-menu li{
 margin-bottom:1rem;
}

.linkboks{
padding-top:30px;
padding-bottom:30px;
margin-top:30px;
margin-bottom:30px;
}

.linkboks h1{
	font-weight:900;
}

h1 {
  hyphens: auto;
  overflow-wrap: normal;
  word-break: normal;
}
