/*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/

body,
html {
  /* reset margin and padding so there's no gap between the nav and the screen edges */
  margin: 0;
  padding: 0;
}

/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
  body.cs-open {
    overflow: hidden;
  }
  #cs-navigation {
    width: 100%;
    padding: 0.75rem 1rem;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    background-color: var(--headerColor);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: fixed;
    top: 0;
    z-index: 10000;
  }
  #cs-navigation:after {
    /* on hover green bar */
    content: "";
    width: 40%;
    max-width: 9.125rem;
    height: 100%;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0%;
    z-index: -1;
    transition:
      width 0.2s,
      max-width 0.3s,
      background-color 0.3s;
  }
  #cs-navigation:before {
    /* grey blurred overlay */
    content: "";
    width: 0%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    position: absolute;
    display: block;
    top: 100%;
    right: 0;
    z-index: -11;
    transition:
      width 0.5s,
      opacity 0.3s;
  }
  #cs-navigation.cs-active:after {
    width: 100%;
    max-width: 100%;
    background-color: var(--primary);
  }
  #cs-navigation.cs-active:before {
    width: 100%;
    opacity: 1;
  }
  #cs-navigation.cs-active .cs-ul-wrapper {
    opacity: 1;
    transform: scaleX(1);
    transition-delay: 0.2s;
  }
  #cs-navigation.cs-active .cs-li {
    transform: translateX(0);
    opacity: 1;
  }
  #cs-navigation .cs-logo {
    width: 40%;
    max-width: 9.125rem;
    height: 100%;
    padding: 0.75rem 1rem;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }
  #cs-navigation .cs-logo img {
    width: 100%;
    height: 100%;
    /* ensures the image never overflows the container. It stays contained within it's width and height and expands to fill it then stops once it reaches an edge */
    object-fit: contain;
    /* places the image to the left edge of the parent */
    object-position: left;
  }
  #cs-navigation .cs-toggle {
    /* 44px - 48px */
    width: clamp(2.75rem, 6vw, 3rem);
    height: clamp(2.75rem, 6vw, 3rem);
    margin: 0 0 0 auto;
    border-radius: 0.25rem;
    background-color: var(--primary);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #cs-navigation .cs-active .cs-line1 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(225deg);
  }
  #cs-navigation .cs-active .cs-line2 {
    top: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%) translateY(0) rotate(-225deg);
  }
  #cs-navigation .cs-active .cs-line3 {
    bottom: 100%;
    opacity: 0;
  }
  #cs-navigation .cs-box {
    /* 24px - 28px */
    width: clamp(1.5rem, 2vw, 1.75rem);
    /* 14px - 16px */
    height: clamp(0.875rem, 1.5vw, 1rem);
    position: relative;
  }
  #cs-navigation .cs-line {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #000000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #cs-navigation .cs-line1 {
    top: 0;
    transform-origin: center;
    transition:
      transform 0.5s,
      top 0.3s,
      left 0.3s;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-direction: normal;
  }
  #cs-navigation .cs-line2 {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition:
      top 0.3s,
      left 0.3s,
      transform 0.5s;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-direction: normal;
  }
  #cs-navigation .cs-line3 {
    bottom: 0;
    transition:
      bottom 0.3s,
      opacity 0.3s;
  }
  #cs-navigation .cs-ul-wrapper {
    height: 100vh;
    opacity: 0;
    background-color: #fff;
    box-shadow: inset rgba(0, 0, 0, 0.2) 0px 8px 24px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: top right;
    transition:
      transform 0.4s,
      opacity 0.3s;
  }
  #cs-navigation .cs-ul {
    margin: 0;
    /* 28px - 40px */
    padding: 3rem clamp(1.75rem, 3vw, 2.5rem) 2rem 4.375rem;
    width: auto;
    min-width: 40%;
    /* height: 65vh; */
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* overflow: scroll; */
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
    padding-bottom: 6rem;
  }
  #cs-navigation .cs-li {
    text-align: right;
    list-style: none;
    margin-right: 0;
    /* transition from these values */
    transform: translateX(-2.5rem);
    opacity: 0;
    transition:
      transform 0.6s,
      opacity 0.9s;
  }
  #cs-navigation .cs-li:nth-of-type(1) {
    transition-delay: 0.05s;
  }
  #cs-navigation .cs-li:nth-of-type(2) {
    transition-delay: 0.1s;
  }
  #cs-navigation .cs-li:nth-of-type(3) {
    transition-delay: 0.15s;
  }
  #cs-navigation .cs-li:nth-of-type(4) {
    transition-delay: 0.2s;
  }
  #cs-navigation .cs-li:nth-of-type(5) {
    transition-delay: 0.25s;
  }
  #cs-navigation .cs-li:nth-of-type(6) {
    transition-delay: 0.3s;
  }
  #cs-navigation .cs-li:nth-of-type(7) {
    transition-delay: 0.35s;
  }
  #cs-navigation .cs-li:nth-of-type(8) {
    transition-delay: 0.4s;
  }
  #cs-navigation .cs-li:nth-of-type(9) {
    transition-delay: 0.45s;
  }
  #cs-navigation .cs-li:nth-of-type(10) {
    transition-delay: 0.5s;
  }
  #cs-navigation .cs-li:nth-of-type(11) {
    transition-delay: 0.55s;
  }
  #cs-navigation .cs-li:nth-of-type(12) {
    transition-delay: 0.6s;
  }
  #cs-navigation .cs-li:nth-of-type(13) {
    transition-delay: 0.65s;
  }
  #cs-navigation .cs-li-link {
    /* 16px - 24px */
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.3em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: inline-block;
  }
  #cs-navigation .cs-li-link:before {
    /* active state underline */
    content: "";
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 1;
    position: absolute;
    display: none;
    bottom: -0.125rem;
    left: 0;
  }
  #cs-navigation .cs-li-link.cs-active:before {
    display: block;
  }
  #cs-navigation .cs-button-solid {
    display: none;
  }
}

/*-- -------------------------- -->
<---     Navigation Dropdown    -->
<--- -------------------------- -*/

/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
  #cs-navigation .cs-dropdown {
    position: relative;
    color: var(--bodyTextColorWhite);
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-ul {
    height: auto;
    opacity: 1;
    visibility: visible;
    margin: 0.75rem 0 0 0;
    padding: 1.5rem;
    transform: scale(1);
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-link {
    opacity: 1;
  }
  #cs-navigation .cs-dropdown .cs-li-link {
    position: relative;
    transition: opacity 0.3s;
  }
  #cs-navigation .cs-drop-icon {
    width: 0.9375rem;
    height: auto;
    position: absolute;
    top: 50%;
    right: -1.25rem;
    transform: translateY(-50%);
  }
  #cs-navigation .cs-drop-ul {
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0 1.5rem 0 1.5rem;
    box-sizing: border-box;
    background-color: var(--primary);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    transform: scale(0);
    transform-origin: top right;
    transition:
      padding 0.3s,
      margin 0.3s,
      height 0.3s,
      opacity 0.3s,
      transform 0.3s,
      visibility 0.3s;
  }
  #cs-navigation .cs-drop-li {
    list-style: none;
    text-align: inherit;
  }
  #cs-navigation .cs-li-link.cs-drop-link {
    /* 14px - 16px */
    /* font-size: clamp(0.875rem, 2vw, 1.25rem); */
    font-size: clamp(1rem, 3vw, 1.125rem);
    line-height: 1.4em;
    color: #fff;
  }
  /* Mobil CTA i menyn */
  #cs-navigation .cs-mobile-cta {
    width: 100%;
    margin-top: 0; /* was auto */
    align-self: stretch;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
  }

  #cs-navigation .cs-mobile-button {
    display: block;
    /* width: 100%; */
    width: min(18rem, 100%);
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 3rem;
    border-radius: 0.25rem;
    background-color: var(--primary);
    color: #1a1a1a;
    box-sizing: border-box;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #cs-navigation .cs-dropdown {
    position: relative;
  }
  #cs-navigation .cs-dropdown:hover {
    cursor: pointer;
  }
  #cs-navigation .cs-dropdown:hover .cs-drop-ul {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }
  #cs-navigation .cs-dropdown:hover .cs-drop-li {
    opacity: 1;
    transform: translateY(0);
  }
  #cs-navigation .cs-drop-icon {
    width: 0.9375rem;
    height: auto;
    display: inline-block;
  }
  #cs-navigation .cs-drop-ul {
    min-width: 12.5rem;
    margin: 0;
    padding: 0;
    background-color: var(--headerColor);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 10px 16px;
    border-bottom: 5px solid var(--primary);
    /* if you have 8 or more links in your dropdown nav, uncomment the columns property to make the list into 2 even columns. Change it to 3 or 4 if you need extra columns. Then remove the transition delays on the cs-drop-li so they don't have weird scattered animations */
    position: absolute;
    top: 100%;
    z-index: -100;
    transform: scaleY(0);
    transform-origin: top;
    transition:
      transform 0.3s,
      visibility 0.3s,
      opacity 0.3s;
  }
  #cs-navigation .cs-drop-li {
    list-style: none;
    font-size: 1rem;
    text-decoration: none;
    opacity: 0;
    width: 100%;
    height: auto;
    color: var(--bodyTextColor);
    display: block;
    transform: translateY(-0.625rem);
    transition:
      opacity 0.6s,
      transform 0.6s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(1) {
    transition-delay: 0.05s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(2) {
    transition-delay: 0.1s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(3) {
    transition-delay: 0.15s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(4) {
    transition-delay: 0.2s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(5) {
    transition-delay: 0.25s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(6) {
    transition-delay: 0.3s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(7) {
    transition-delay: 0.35s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(8) {
    transition-delay: 0.4s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(9) {
    transition-delay: 0.45s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(10) {
    transition-delay: 0.5s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(11) {
    transition-delay: 0.55s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(12) {
    transition-delay: 0.6s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(13) {
    transition-delay: 0.65s;
  }
  #cs-navigation .cs-li-link.cs-drop-link {
    white-space: nowrap;
    width: 100%;
    font-size: 1.15rem;
    line-height: 1.5em;
    text-decoration: none;
    padding: 0.75rem;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    color: var(--bodyTextColor);
    display: block;
    transition:
      color 0.3s,
      background-color 0.3s;
  }
  #cs-navigation .cs-li-link.cs-drop-link:hover {
    background-color: #bb8a37;
  }
  #cs-navigation .cs-li-link.cs-drop-link:before {
    display: none;
  }
  #cs-navigation .cs-mobile-cta {
    display: none;
  }
}

/*-- -------------------------- -->
<---     Desktop Navigation     -->
<--- -------------------------- -*/

/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #cs-navigation {
    width: 100%;
    /* 23px - 420px */
    /* reduce vertical padding to make header slightly shorter */
    padding: clamp(0.5rem, 1.2vw, 1rem) 1rem clamp(0.5rem, 1.2vw, 1rem)
      clamp(14.6875rem, 23vw, 26.25rem);
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    background-color: var(--headerColor);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10000;
  }
  #cs-navigation .cs-toggle {
    display: none;
  }
  #cs-navigation .cs-logo {
    width: 15%;
    max-width: 19.6rem;
    height: 100%;
    /* reduced vertical padding for smaller header */
    padding: 0.5rem clamp(1.5rem, 3vw, 2.5rem);
    background-color: var(--primary);
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
  }
  #cs-navigation .cs-logo img {
    width: 100%;
    height: 100%;
    /* ensures the image never overflows the container. It stays contained within it's width and height and expands to fill it then stops once it reaches an edge */
    object-fit: contain;
  }
  #cs-navigation .cs-drop-icon {
    width: 1.125rem;
  }
  #cs-navigation .cs-ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* 20px - 36px */
    gap: clamp(1.25rem, 2.6vw, 2.25rem);
  }
  #cs-navigation .cs-li {
    list-style: none;
    padding: 1rem 0;
    /* prevent flexbox from squishing it */
    flex: none;
  }
  #cs-navigation .cs-li:last-of-type {
    /* pushes the button to the far roght */
    margin-left: auto;
  }
  #cs-navigation .cs-li-link {
    /* 14px - 16px */
    font-size: clamp(1rem, 1.25vw, 1.4rem);
    line-height: 1.5em;
    text-decoration: none;
    margin: 0;
    color: var(--bodyTextColor);
    display: block;
    position: relative;
  }
  #cs-navigation .cs-li-link:hover:before {
    width: 100%;
  }
  #cs-navigation .cs-li-link.cs-active {
    pointer-events: auto;
  }
  #cs-navigation .cs-li-link.cs-active:before {
    width: 100%;
  }
  #cs-navigation .cs-li-link:before {
    /* active state underline */
    content: "";
    width: 0%;
    height: 2px;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    bottom: 0rem;
    left: 0;
    transition: width 0.3s;
  }
  #cs-navigation .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: "Work Sans", sans-serif;
    text-align: center;
    margin: 0;
    color: #1a1a1a;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }
  #cs-navigation .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #ffffff;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #cs-navigation .cs-button-solid:hover {
    color: black;
  }
  #cs-navigation .cs-button-solid:hover:before {
    width: 100%;
  }
  #cs-navigation .cs-nav-button {
    margin: 0 0 0 auto;
  }

  /* Center navigation between logo and right button */
  #cs-navigation .cs-nav {
    flex: 1 1 auto;
    /* Always center the navigation in the viewport */
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 200;
    pointer-events: auto;
  }

  /* Ensure wrapper doesn't use mobile absolute layout on desktop */
  #cs-navigation .cs-ul-wrapper {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    height: auto;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
  }
}
/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-1693 {
    padding: var(--sectionPadding);
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
  }
  #cta-1693 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #cta-1693 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    gap: 1.5rem;
  }
  #cta-1693 .cs-title {
    max-width: 30ch;
    margin: 0;
    color: #fff;
  }
  #cta-1693 .cs-button-solid {
    font-size: 1rem;
    font-weight: 500;
    font-family: "Work Sans" sans-serif;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    box-sizing: border-box;
    padding: 0 1.5rem;
    color: #fff;
    background-color: #1a1a1a;
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
  }
  #cta-1693 .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #fff;
    opacity: 1;
    border-radius: 0.25rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #cta-1693 .cs-button-solid:hover {
    color: #1a1a1a;
  }
  #cta-1693 .cs-button-solid:hover:before {
    width: 100%;
  }
  #cta-1693 .cs-wrapper {
    width: 100%;
    max-width: 120rem;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    /* prevents the mouse from interacting with it */
    pointer-events: none;
    transform: translateX(-50%);
  }
  #cta-1693 .cs-graphic {
    width: 23.25rem;
    height: 23.25rem;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  #cta-1693 .cs-graphic-1 {
    left: -16.3125rem;
  }
  #cta-1693 .cs-graphic-2 {
    right: -16.3125rem;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #cta-1693 .cs-content {
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
  }
  #cta-1693 .cs-graphic-1 {
    left: -7.8125rem;
  }
  #cta-1693 .cs-graphic-2 {
    right: -7.8125rem;
  }
}

/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* CTA-1071 – samma layout som CTA-1693 */
/* Mobile */
@media only screen and (min-width: 0rem) {
  #cta-1071 {
    padding: var(--sectionPadding);
    background-color: var(--primary);
    position: relative;
    overflow: hidden; /* som 1693 */
    z-index: 1;
  }

  #cta-1071 .cs-container {
    width: 100%;
    max-width: 80rem; /* samma som 1693 */
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }

  #cta-1071 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* samma som 1693 */
  }

  /* Textblocket (motsvarar titeln i 1693) */
  /* #cta-1071 .cs-flex {
    max-width: 30ch;      
  } */

  #cta-1071 .cs-title {
    max-width: 30ch;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }

  /* Knapparna */
  #cta-1071 .cs-button-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  #cta-1071 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 500;

    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  #cta-1071 .cs-button-solid::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #cta-1071 .cs-button-solid:hover::before {
    width: 100%;
  }

  #cta-1071 .cs-button-transparent {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 500;
    font-family: "Work Sans", sans-serif;
    text-align: center;
    margin: 0;
    /* color: #fff; */
    color: #1a1a1a;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    /* background-color: transparent; */
    background-color: #fff;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    transition: color 0.3s;
  }
  #cta-1071 .cs-button-transparent::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    /* background: #fff; */
    background: #1a1a1a;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  /* #cta-1071 .cs-button-transparent::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
    border: 1px solid #fff;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
  } */
  #cta-1071 .cs-button-transparent:hover {
    /* color: var(--primary); */
    color: #fff;
  }
  #cta-1071 .cs-button-transparent:hover::before {
    width: 100%;
  }

  /* Bakgrundsbild + overlay */
  #cta-1071 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta-1071 .cs-background::before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #1a1a1a;
    /* opacity: 0.88; */
    opacity: 0.7;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cta-1071 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* Tablet/desktop – samma brytpunkt & layout som 1693 */
@media only screen and (min-width: 48rem) {
  #cta-1071 .cs-content {
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #cta-1071 .cs-button-box {
    flex-wrap: nowrap;
    align-items: center;
    flex: none;
  }
}

/*-- -------------------------- -->
<---          Footer            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cs-footer-145 {
    padding: 1.5rem 3rem;
    background-color: #1a1a1a;
    /* Navigation Links */
    /* Contact Links */
    /* Bottom Credits and Social */
  }
  #cs-footer-145 .cs-container {
    width: 100%;
    /* reset on tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    justify-content: space-between;

    flex-wrap: wrap;
  }
  #cs-footer-145 .cs-logo-group {
    /* takes up all the space, lets the other ul's wrap below it */
    width: 100%;
  }
  #cs-footer-145 .cs-logo {
    /* 210px - 240px */
    width: clamp(13.125rem, 8vw, 15rem);
    height: auto;
    display: block;
    /* 28px - 44px */
    margin-bottom: clamp(1.75rem, 4.17vw, 2.75rem);
  }
  #cs-footer-145 .cs-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.7vw, 1rem);
    margin: 0;
    margin-bottom: 2rem;
    max-width: 20.5rem;
    color: var(--bodyTextColorWhite);
  }
  #cs-footer-145 .cs-logo-img {
    width: 100%;
    height: auto;
  }
  #cs-footer-145 .cs-nav {
    padding: 0;
    margin: 0;
  }
  #cs-footer-145 .cs-nav-li {
    list-style: none;
    margin-bottom: 1.25rem;
  }
  #cs-footer-145 .cs-nav-li:last-of-type {
    margin-bottom: 0;
  }
  #cs-footer-145 .cs-header {
    /* 18px - 20px */
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    line-height: 1.5em;
    font-weight: 700;
    color: var(--bodyTextColorWhite);
  }
  #cs-footer-145 .cs-nav-link {
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.5em;
    color: var(--bodyTextColorWhite);
    position: relative;
  }
  #cs-footer-145 .cs-nav-link:before {
    /* underline */
    content: "";
    width: 0%;
    height: 0.125rem;
    background: var(--bodyTextColorWhite);
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.125rem;
    left: 0;
    transition: width 0.3s;
  }
  #cs-footer-145 .cs-nav-link:hover:before {
    width: 100%;
  }
  #cs-footer-145 .cs-contact {
    margin: 2.25rem 0 0;
    padding: 1.5rem 0 1.75rem;
    width: 100%;
    border-top: 2px solid #ffae01;
    border-bottom: 1px solid #ffae01;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #cs-footer-145 .cs-contact-li {
    list-style: none;
    margin-bottom: 0.75rem;
  }
  #cs-footer-145 .cs-contact-li:last-of-type {
    margin-bottom: 0;
  }
  #cs-footer-145 .cs-contact-link {
    /* 14px - 20px */
    margin-bottom: 0px;
    /* match header nav link styles */
    text-decoration: none;
    /* font sizing aligns with header desktop nav */
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.5em;
    font-weight: 400;
    color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
    text-align: center;
  }
  #cs-footer-145 .cs-contact-link:hover {
    text-decoration: underline;
  }
  #cs-footer-145 .cs-address {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.57vw, 1rem);
  }
  #cs-footer-145 .cs-bottom {
    /* 20px - 28px */
    padding-top: clamp(1.25rem, 2vw, 1.75rem);
    width: 100%;
    display: flex;
    /* center contents horizontally */
    justify-content: center;
    align-items: center;
    /* These two are Needed to make 3D transforms look 3D on a child */
    perspective: 700px;
    transform-style: preserve-3d;
    border-top: 1px solid #ffae01;
  }
  #cs-footer-145 .cs-copyright {
    font-size: 0.9375rem;
    text-align: center;
    color: var(--bodyTextColor);
    display: block;
    /* reset margins so flex centering works as intended */
    margin: 0;
  }
  #cs-footer-145 .cs-social-link {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.75rem;
    background-color: #4e4b66;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition:
      transform 0.3s,
      background-color 0.3s;
  }
  #cs-footer-145 .cs-social-link:hover {
    background-color: #1a1a1a;
    transform: translateY(-0.1875rem);
  }
  #cs-footer-145 .cs-social-img {
    height: 0.6875rem;
    width: auto;
    display: block;
  }
  #cs-footer-145 .cs-copyright-link {
    color: #1188ff;
  }
}
@media only screen and (max-width: 430px) {
  #cs-footer-145 {
    padding: 1rem 1rem;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #cs-footer-145 .cs-container {
    max-width: 80rem;
  }
  #cs-footer-145 .cs-logo-group {
    width: auto;
    /* 224px - 305px */
    width: clamp(14rem, 23vw, 19.0625rem);
  }
  #cs-footer-145 .cs-nav {
    /* 4px - 12px */
    margin-top: clamp(0.25rem, 0.6vw, 0.75rem);
  }
  #cs-footer-145 .cs-contact {
    flex-direction: row;
    justify-content: space-between;
    border-top: none;
  }
  #cs-footer-145 .cs-contact-li {
    margin: 0;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #cs-footer-145 {
    padding: 1.5rem 3rem;
    background-color: #1a1a1a;
    /* Navigation Links */
    /* Contact Links */
    /* Bottom Credits and Social */
  }
  #cs-footer-145 .cs-container {
    /* pushes all flex children to the top */
    align-items: flex-start;
  }
  #cs-footer-145 .cs-text {
    margin: 0;
  }
  #cs-footer-145 .cs-contact {
    padding: 0;
    margin: 0;
    /* 4px - 12px */
    margin-top: clamp(0.25rem, 0.6vw, 0.75rem);
    width: auto;
    /* reset the flex */
    display: block;
    border: none;
  }

  #cs-footer-145 .cs-logo {
    margin-bottom: 1rem;
  }
  #cs-footer-145 .cs-contact-link span {
    display: block;
  }
  #cs-footer-145 .cs-bottom {
    /* 60px - 80px */
    margin-top: clamp(1.75rem, 5.9vw, 1rem);
    border-top: 1px solid #ffae01;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  #cs-footer-145 .cs-copyright-link {
    color: #1188ff;
  }
}

/* =========================================
   Fancy Send Message Button (Global Safe)
   ========================================= */

/* Base transition */
.cs-submit {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.15s ease,
    box-shadow 0.3s ease;
}

/* Subtle press effect */
.cs-submit:active {
  transform: translateY(1px);
}

/* =========================
   SUCCESS STATE (GREEN)
   ========================= */

/* Force green background everywhere */
#contact-1403 .cs-submit.cs-success,
.cs-form .cs-submit.cs-success {
  background-color: #28a745 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(40, 167, 69, 0.35);
  cursor: default;
}

/* Disable the black hover overlay (::before)
   so it cannot cover the green background */
#contact-1403 .cs-submit.cs-success::before,
.cs-form .cs-submit.cs-success::before,
#contact-1403 .cs-submit.cs-success:hover::before,
.cs-form .cs-submit.cs-success:hover::before {
  width: 0 !important;
  background: transparent !important;
}

/* Keep text readable if hovered during success */
#contact-1403 .cs-submit.cs-success:hover,
.cs-form .cs-submit.cs-success:hover {
  color: #ffffff !important;
}

/* HPOT */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Ensure inputs + textareas always use site font */
input,
select,
textarea,
button {
  font: inherit;
}
