@charset "UTF-8";
/*
Theme Name: Solberg og Hansen
Author: The Pitch AS 
Author URI: https://thepitch.no
Description: Dette er WP tema for Solberg og Hansen
Version: 1.0
Text Domain: solberghansen
Template: twentytwentyfour
*/
.no-section-padding {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.no-padding-left {
  padding-left: 0 !important;
}

@media (max-width: 768px) {
  .left-padding-mobile {
    padding-left: 1.2rem !important;
  }
  .padding-box-mobile {
    padding: 1.2rem !important;
  }
}
.border {
  border: 1px solid;
}

.align-right {
  float: right !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.align-center {
  text-align: center !important;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.is-layout-constrained > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

a:focus {
  outline: 0px !important;
  outline: none !important;
}

:where(.wp-site-blocks *:focus) {
  outline-width: 0 !important;
  outline: none !important;
}

:where(.wp-block-columns) {
  margin-bottom: 0;
}

/* Standard header-stil (for store skjermer) */
.header {
  position: fixed; /* Fikser headeren til toppen */
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out; /* For jevn animasjon */
}

/* Effekt for å skjule headeren */
.hidden {
  transform: translateY(-100%); /* Skjuler headeren ved å flytte den opp */
}

.breadcrumb {
  position: absolute; /* Fikser headeren til toppen */
  z-index: 99;
  top: 9rem;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
    visibility: hidden !important;
  }
}
@media (min-width: 769px) and (max-width: 1280px) {
  .hide-medium {
    display: none !important;
    visibility: hidden !important;
  }
}
@media (min-width: 1281px) {
  .hide-large {
    display: none !important;
    visibility: hidden !important;
  }
}
a {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .gw-mm-item__link a {
    display: none;
  }
}
.trp-language-switcher > div > a {
  border-radius: 0 !important;
}

.trp-ls-shortcode-current-language {
  transition: 0.3s;
  border-radius: 50px !important;
  border: 1px solid #3C3C3B !important;
  background-color: transparent !important;
  position: relative;
  padding: 1px 1px; /* Øker plass rundt innholdet (vertikalt og horisontalt) */
  height: 40px; /* Gir en fast høyde for knappen */
  line-height: 1; /* Sikrer at teksten er vertikalt sentrert */
}
.trp-ls-shortcode-current-language a {
  color: transparent !important;
}
.trp-ls-shortcode-current-language a::before {
  content: "";
  display: inline-block;
  width: 20px; /* Øker størrelsen på SVG for å matche knappens nye dimensjoner */
  height: 20px;
  background: url("assets/images/globe.svg") center center no-repeat;
  background-size: contain;
  margin-right: 2px;
  margin-top: 4px;
}

.trp-ls-shortcode-language {
  color: #495E58 !important;
  border: 1px solid transparent !important;
  background-color: white !important;
  margin-top: -5px;
}

.trp-language-switcher > div {
  padding: 0;
}

.trp-language-switcher > div > a:hover {
  background: white !important;
  border-bottom: 1px solid #3C3C3B;
}

.trp-language-switcher > div > a {
  border-bottom: 1px solid transparent;
}

.trp-language-switcher > div > a {
  align-items: center !important;
  padding: 2px 2px;
}

.trp-language-switcher {
  height: 45px;
  position: relative;
  box-sizing: border-box;
  width: 55px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trp-ls-shortcode-current-language {
  width: 60px !important;
}

.trp-ls-shortcode-language {
  width: 90px !important;
}

@media (min-width: 1281px) {
  .trp-language-switcher > div > a {
    border-radius: 0 !important;
  }
  .trp-language-switcher > div {
    padding: 4px;
    padding-left: 22px;
  }
  .trp-ls-shortcode-current-language {
    transition: 0.3s;
    border-radius: 50px !important;
    border: 1px solid #3C3C3B !important;
    background-color: transparent !important;
    position: relative;
    padding: 10px 10px; /* Øker plass rundt innholdet (vertikalt og horisontalt) */
    height: 50px; /* Gir en fast høyde for knappen */
    line-height: 1; /* Sikrer at teksten er vertikalt sentrert */
  }
  .trp-ls-shortcode-current-language a {
    color: #3C3C3B !important;
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 15px; /* Justerer tekststørrelsen for bedre lesbarhet */
    font-weight: bold; /* Ekstra styling for teksten */
  }
  .trp-ls-shortcode-current-language a::before {
    content: "";
    display: inline-block;
    width: 20px; /* Øker størrelsen på SVG for å matche knappens nye dimensjoner */
    height: 20px;
    background: url("assets/images/globe.svg") center center no-repeat;
    background-size: contain;
    margin-right: 0.1rem;
  }
  .trp-ls-shortcode-language {
    color: #495E58 !important;
    border: 1px solid transparent !important;
    background-color: white !important;
    margin-top: -5px;
  }
  .trp-language-switcher > div > a:hover {
    background: white !important;
    border-bottom: 1px solid #3C3C3B;
  }
  .trp-language-switcher > div > a {
    border-bottom: 1px solid transparent;
  }
  .trp-language-switcher > div > a {
    align-items: center !important;
  }
  .trp-language-switcher {
    height: 45px;
    position: relative;
    box-sizing: border-box;
    width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .trp-ls-shortcode-current-language {
    width: 160px !important;
  }
  .trp-ls-shortcode-language {
    width: 160px !important;
  }
}
.has-background-illustration-first {
  background-image: url("assets/images/Coffeeillustration.png"); /* Riktig bilde-URL */
  background-size: contain; /* Beholder hele bildet i rammen, uten beskjæring */
  background-position: right bottom; /* Plasserer bildet nederst til høyre i boksen */
  background-repeat: no-repeat; /* Hindrer at bildet gjentas */
}

.has-background-illustration-middle {
  background-image: url("assets/images/Teaillustration.png"); /* Riktig bilde-URL */
  background-size: contain; /* Beholder hele bildet i rammen, uten beskjæring */
  background-position: right bottom; /* Plasserer bildet nederst til høyre i boksen */
  background-repeat: no-repeat; /* Hindrer at bildet gjentas */
}

.has-background-illustration-last {
  background-image: url("assets/images/Equipmentillustration.png"); /* Riktig bilde-URL */
  background-size: contain; /* Beholder hele bildet i rammen, uten beskjæring */
  background-position: right bottom; /* Plasserer bildet nederst til høyre i boksen */
  background-repeat: no-repeat; /* Hindrer at bildet gjentas */
}

.has-background-illustration-recipes-first {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-first::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Kalita.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-first:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-first:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-middle {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-middle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Aeropress_2.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-middle:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-middle:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-last {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-last::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Mokkakanne_1.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-last:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-last:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-fourth {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-fourth::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Kokekaffe_1.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-fourth:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-fourth:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-fifth {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-fifth::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Mokkamaster_1.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-fifth:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-fifth:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-six {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-six::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Presskanne_1.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-six:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-six:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-seven {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-seven::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Bryggeillustrasjoner_Kalita.svg"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-seven:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-seven:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-eight {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-eight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Aeropress-invert-.png"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-eight:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-eight:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.has-background-illustration-recipes-nine {
  position: relative;
  overflow: hidden; /* Sikrer at ::before-pseudo-elementet holder seg innenfor boksen */
  z-index: 100;
  transition: background-color 0.6s ease-in-out; /* Jevn overgang for bakgrunnsfarge */
}

.has-background-illustration-recipes-nine::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/images/Tekanne.png"); /* Riktig bilde-URL */
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother overgang */
  transform: scale(1); /* Startstørrelse */
  z-index: -1; /* Sørger for at bildet ligger bak innholdet */
}

.has-background-illustration-recipes-nine:hover {
  background-color: #D1D7CF !important; /* Endrer bakgrunnsfargen til hvit ved hover */
}

.has-background-illustration-recipes-nine:hover::before {
  transform: scale(1.1); /* Zoomer inn til 110% ved hover */
}

.text-content {
  position: relative;
  z-index: 1; /* Sørger for at teksten vises over bakgrunnsbildet */
}

.category-box {
  overflow: hidden; /* Skjuler innhold som går utenfor boksen */
}
.category-box .illustration img {
  height: 330px !important;
  width: auto;
  object-fit: contain; /* Hele bildet vises uten beskjæring eller forvrengning */
}
.category-box:hover {
  border-radius: 0 !important;
  transition: 0.2s;
  background: #D1D7CF !important;
}
.category-box:hover h2 {
  transform: translate(10px); /* Flytter teksten 10px til høyre og 10px oppover */
  transition: transform 0.2s ease-in-out;
}
.category-box:hover .tilted-arrow {
  transform: rotate(45deg); /* Ved hover roteres den ned til rett pil */
  transition: 0.2s;
}

@media (max-width: 768px) {
  .category-box {
    height: 200px;
  }
}
@media (min-width: 769px) {
  .category-box {
    height: 320px;
  }
}
@media (min-width: 2250px) {
  .category-box {
    height: 330px;
  }
}
.recipes-link-box {
  height: 400px; /* Angi høyden du ønsker */
  overflow: hidden; /* Skjuler innhold som går utenfor boksen */
}
.recipes-link-box:hover {
  border-radius: 0 !important;
  transition: 0.2s;
}
.recipes-link-box:hover h2 {
  transform: translate(10px); /* Flytter teksten 10px til høyre og 10px oppover */
  transition: transform 0.2s ease-in-out;
}
.recipes-link-box:hover .tilted-arrow {
  transform: rotate(-45deg); /* Ved hover roteres den ned til rett pil */
  transition: 0.2s;
}

@media (max-width: 768px) {
  .recipes-link-box {
    height: 280px; /* Angi høyden du ønsker */
    padding: 1.3rem !important;
  }
  .recipes-padding-bottom {
    padding-bottom: 8rem !important;
  }
}
@media (max-width: 768px) {
  .site-logo img {
    width: 110px !important;
    height: auto;
    text-align: center;
  }
}
@media (min-width: 769px) {
  .site-logo img {
    width: 170px;
    height: auto;
    text-align: center;
  }
}
@media (min-width: 2250px) {
  .site-logo img {
    width: 180px;
    height: auto;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .image-cover-mobile {
    min-height: 300px !important;
  }
}
@media (max-width: 768px) {
  .col-footer {
    order: 1 !important;
  }
  .col-footer a {
    font-size: 1.5rem !important;
  }
}
.border-radius {
  border-radius: 15px !important;
}

.border-radius-img img {
  border-radius: 15px !important;
}

.border-radius-img-top img {
  border-radius: 15px 15px 0px 0px !important;
}

.hero-video {
  position: relative; /* Gjør det lettere å posisjonere pseudo-elementet */
  overflow: hidden; /* Sørger for at gradienten ikke stikker utenfor videoen */
}

.hero-video::after {
  content: ""; /* Krever innhold for pseudo-elementet */
  position: absolute; /* Posisjonerer gradienten absolutt i bunnen av videoen */
  bottom: 0; /* Plasserer den i bunnen av containeren */
  left: 0; /* Starter fra venstre kant */
  right: 0; /* Går til høyre kant */
  height: 50%; /* Juster høyden på overlay-seksjonen (f.eks. 50% av høyden) */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Nesten helt svart gradient */
  pointer-events: none; /* Sørger for at musen kan interagere med videoen under */
}

@media (max-width: 768px) {
  .hero-video {
    position: relative;
    height: 600px !important;
  }
  .hero-video video {
    object-fit: cover;
    height: 100% !important;
  }
}
@media (min-width: 769px) {
  .hero-video {
    position: relative;
    height: 800px !important;
  }
  .hero-video video {
    object-fit: cover;
    width: 100%; /* Sørger for at videoen fyller bredden */
    height: 100% !important;
    display: block; /* Fjerner unødvendig
e mellomrom */
    object-position: top;
    padding-top: 8rem;
  }
}
@media (min-width: 2250px) {
  .hero-video {
    position: relative;
    height: 900px !important;
  }
  .hero-video video {
    object-fit: cover;
    height: 100% !important;
  }
}
.scroll-arrow {
  width: 100px;
  position: relative;
  animation: moveDown 2s infinite;
}

@keyframes moveDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}
.hero-text {
  position: absolute;
  z-index: 50;
  width: 100%;
}

/* Dette er stilen for knappen */
.wp-block-button {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.wp-block-button__link {
  font-size: 0.95rem !important;
}

@media (max-width: 768px) {
  .wp-block-button__link {
    font-size: 0.95rem !important;
    padding: 0.7rem;
  }
}
/* Dette er stilen for bildet inni knappen */
.wp-block-button img {
  position: relative;
  transition: transform 0.3s ease;
}

/* Dette skjer når du hover over knappen */
.wp-block-button:hover img {
  transform: translateX(5px); /* Flytter pilen 10px til høyre */
}

.wp-block-button {
  transition: 0.15s;
  border-radius: 10px;
}
.wp-block-button svg {
  height: 1.25rem;
  width: 1.25rem;
  padding-left: 10px;
}
.wp-block-button img {
  height: 1.25rem;
  width: 1.25rem;
  padding-left: 10px;
}
.wp-block-button a {
  border-radius: 0px;
  transition: 0.15s;
  text-align: center;
  align-items: center;
  gap: 0.375rem;
  display: flex;
  transition: 0.3s ease;
}
.wp-block-button a:hover {
  border-radius: 50px;
}
.wp-block-button a.has-medium-grey-background-color:hover {
  background-color: #3C3C3B !important;
}
.wp-block-button a.has-brown-background-color:hover {
  background-color: #A87F65 !important;
}
.wp-block-button a.has-dark-green-background-color {
  color: white !important;
}
.wp-block-button a.has-dark-green-background-color:hover {
  background-color: #41554F !important;
}
.wp-block-button a.has-lightness-green-background-color:hover {
  background-color: #d5ddd2 !important;
}
.wp-block-button a.has-light-green-background-color:hover {
  background-color: #A3AFA5 !important;
}
.wp-block-button a.has-light-brown-background-color:hover {
  background-color: #B88B6F !important;
}

.to-the-top img {
  width: 18px;
}
.to-the-top img {
  display: inline-block;
  transition: transform 0.3s ease;
}
.to-the-top:hover img {
  transform: translateY(-10px) !important;
}

.border {
  border: 1px solid;
}

.breadcrumb-item--parent a {
  text-decoration: underline !important;
}
.breadcrumb-item--parent a:hover {
  text-decoration: underline transparent !important;
}

.frontpage .breadcrumbs {
  display: none;
}

.home .breadcrumbs {
  display: none;
}

.home .bread {
  display: none;
}

.breadcrumbs .current-item {
  padding-right: 2px;
  padding-left: 2px;
}
.breadcrumbs .home {
  text-decoration: underline !important;
}
.breadcrumbs .home span {
  padding-left: 0 !important;
}
.breadcrumbs .home:hover {
  text-decoration: underline transparent !important;
}

@media (min-width: 1442px) {
  .hide-menu-large {
    display: none !important;
    visibility: hidden !important;
  }
}
@media (min-width: 0px) and (max-width: 1441px) {
  .hide-menu-mobile {
    display: none !important;
    visibility: hidden !important;
  }
}
.gw-mm-item__dropdown {
  margin-top: 2rem;
  z-index: 2000;
}

.menu-mobile {
  z-index: 1999 !important; /* Høy z-index for å være over alt annet */
}

/************************/
/* DESKTOP Menu + MEGA MENU
/************************/
.desktop-menu .wp-block-column {
  border-radius: 0 !important;
}
.desktop-menu .gw-mm-item__dropdown {
  box-shadow: none;
  background: #E6EBE5 !important;
  transition: 0.3s ease; /* Smooth overgangseffekt */
}
@media (max-width: 768px) {
  .desktop-menu .gw-mm-item__dropdown {
    box-shadow: none;
    padding: 0;
    margin-top: 1.6rem !important;
  }
}
@media (min-width: 769px) {
  .desktop-menu .gw-mm-item__dropdown {
    box-shadow: none;
    margin-top: 3.3rem !important;
  }
}
@media (min-width: 1069px) {
  .desktop-menu .gw-mm-item__dropdown {
    box-shadow: none;
    margin-top: 3.2rem !important;
  }
}
@media (min-width: 1443px) {
  .desktop-menu .gw-mm-item__dropdown {
    box-shadow: none;
    margin-top: 3.7rem !important;
  }
}
@media (min-width: 2250px) {
  .desktop-menu .gw-mm-item__dropdown {
    box-shadow: none;
    margin-top: 3.7rem !important;
  }
}
.desktop-menu .gw-mm-item.has-children .gw-mm-item__link a {
  margin: 0;
}
.desktop-menu .gw-mm-item.has-children button {
  margin-right: 0px;
  margin-left: 0;
  /* Remove default dashicon **/
}
.desktop-menu .gw-mm-item.has-children button span {
  display: none;
}

.gw-mm-item__link a {
  padding-left: 0;
}

@media (max-width: 1441px) {
  /************************/
  /* Desktop Mega menu OPEN 
  /************************/
  .mega-menu-open .gw-mm-item.has-children button.active::after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 118.2 66.6"><defs><style> .cls-1 { fill: %23231f20; stroke-width: 0px; } </style></defs><rect class="cls-1" x="16.4" y="29.2" width="85.4" height="8.2" transform="translate(-6.2 51.5) rotate(-45)"/><rect class="cls-1" x="16.4" y="29.2" width="85.4" height="8.2" transform="translate(40.8 -32) rotate(45)"/></svg>');
  }
  .mega-menu-open .wp-block-boldblocks-breadcrumb-block {
    visibility: hidden;
  }
  /************************/
  /* DESKTOP Menu + MEGA MENU
  /************************/
  .desktop-menu .wp-block-column {
    border-radius: 0 !important;
  }
  .desktop-menu .gw-mm-item__dropdown {
    background: white;
  }
}
@media (max-width: 1441px) and (max-width: 768px) {
  .desktop-menu .gw-mm-item__dropdown {
    padding: 0;
  }
}
@media (max-width: 1441px) and (min-width: 769px) {
  .desktop-menu .gw-mm-item__dropdown {
    padding-top: 30px;
  }
}
@media (max-width: 1441px) {
  .desktop-menu .gw-mm-item__dropdown-wrapper {
    background: transparent;
    display: block;
    visibility: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0s ease, visibility 0s ease, transform 0s ease;
    height: auto !important;
  }
  .desktop-menu .gw-mm-item__dropdown-wrapper .subheader a {
    color: black;
    text-decoration: none;
  }
  .desktop-menu .gw-mm-item__dropdown-wrapper .subheader a:hover {
    text-decoration: underline;
  }
  .desktop-menu .gw-mm-item__dropdown-wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .desktop-menu .gw-mm-item__dropdown-wrapper:not(.active) {
    visibility: hidden; /* Hide the menu when not active */
    opacity: 0;
    transform: translateY(0px); /* Slide up effect */
  }
  .desktop-menu .gw-mm-item.has-children .gw-mm-item__link a {
    padding-right: 10px;
    font-size: 1rem;
    text-decoration: none;
  }
  .desktop-menu .gw-mm-item.has-children button {
    margin-right: 10px;
    /* Remove default dashicon **/
  }
  .desktop-menu .gw-mm-item.has-children button:after {
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 118.2 66.6"><defs><style> .cls-1 { fill: %23231f20; stroke-width: 0px; } </style></defs><rect class="cls-1" width="92" height="8.9"/><rect class="cls-1" x="26.3" y="28.9" width="92" height="8.9"/><rect class="cls-1" y="57.7" width="92" height="8.9"/></svg>');
    display: inline-block;
    transition: all 0.15s linear;
    line-height: 0;
    width: 2rem;
    height: 2rem;
    vertical-align: text-top;
    padding-top: 0.9rem;
  }
  .desktop-menu .gw-mm-item.has-children button span {
    display: none;
  }
}
@media (max-width: 1441px) and (max-width: 768px) {
  .gw-mm-item__dropdown-wrapper {
    margin-top: 0 !important;
  }
  .desktop-menu .gw-mm-item__dropdown {
    padding-top: 0 !important;
  }
  .gw-mm-item__dropdown {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
/* Anvend effekten på alle .SMN_effect-46 a, bortsett fra de inne i .no-effect */
.SMN_effect-46 a:not(.no-effect) {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  padding-bottom: 0;
  margin-bottom: 0;
}

.SMN_effect-46 a:not(.no-effect):before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #3C3C3B;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.SMN_effect-46 a:not(.no-effect):hover:before,
.SMN_effect-46 a:not(.no-effect):focus:before,
.SMN_effect-46 a:not(.no-effect):active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

/* Anvend effekten på alle .SMN_effect-47 a */
.SMN_effect-47 a {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  padding-bottom: 0;
  margin-bottom: 0;
}

.SMN_effect-47 a:before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white; /* Effektfargen er nå hvit */
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.SMN_effect-47 a:hover:before,
.SMN_effect-47 a:focus:before,
.SMN_effect-47 a:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.taxonomy-category {
  pointer-events: none;
  text-decoration: none;
  color: inherit; /* Beholder fargen som vanlig tekst */
  cursor: default; /* Endrer musepekeren til standard */
}

@media (max-width: 768px) {
  .post-featured-img-first img {
    width: 1410px;
    height: 600px;
  }
}
@media (min-width: 769px) {
  .post-featured-img-first img {
    width: 1410px;
    height: 600px;
  }
}
@media (min-width: 2250px) {
  .post-featured-img-first img {
    width: 1410px;
    height: 600px;
  }
}
.post-titles p {
  padding-top: 1rem;
}

.content-title-space h1, .content-title-space h2, .content-title-space h3, .content-title-space h4, .content-title-space h5 {
  margin-top: 2rem !important;
  margin-bottom: 0rem !important;
}
.content-title-space p {
  margin-top: 0.5rem !important;
}
.content-title-space a {
  border-bottom: 1px solid;
}
.content-title-space a:hover {
  border-bottom: 1px solid transparent;
}
.content-title-space img {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: none !important;
}
.content-title-space .wp-block-image a {
  border: none !important;
}

.post-main {
  position: relative;
  overflow: hidden;
}

.featured-img-post-main {
  position: absolute; /* Sørg for at bildet kan overlappe innhold */
  z-index: 1; /* Plasser bildet over innholdet */
  width: 100%; /* Sett bildet til å ta hele bredden */
  height: auto; /* Behold proporsjoner */
  top: 120px; /* Juster dette tallet for å heveet vises korrekt */
  z-index: 11;
}

@media (max-width: 768px) {
  .featured-img-post-main {
    position: absolute; /* Sørg for at bildet kan overlappe innhold */
    z-index: 1; /* Plasser bildet over innholdet */
    width: 100%; /* Sett bildet til å ta hele bredden */
    height: auto; /* Behold proporsjoner */
    top: 10px; /* Juster dette tallet for å heveet vises korrekt */
    z-index: 11;
    padding-bottom: 2rem;
  }
}
.wp-block-post-featured-image {
  position: relative; /* Setter posisjonen til relativ for å tillate absolutt posisjonering av barn */
  overflow: hidden; /* Sørger for at ingenting går ut over containeren */
}

.wp-block-post-featured-image a {
  display: block; /* Sørger for at lenken tar opp hele bredden av containeren */
  width: 100%; /* Gjør at lenken fyller hele bredden av kolonnen */
  height: auto; /* Lar høyden tilpasse seg bildet */
  transition: transform 0.3s ease; /* Jevn overgang for lenken */
  border-bottom: none !important;
}

.wp-block-post-featured-image a img {
  width: 100%; /* Gjør bildet responsivt */
  height: auto; /* Beholder bildeforholdet */
  transition: transform 0.3s ease; /* Jevn overgang for bildet */
}

.wp-block-post-featured-image a:hover img {
  transform: scale(1.05); /* Zoom effekt ved hover */
}

/* Shine effekt */
.wp-block-post-featured-image a::after {
  content: ""; /* Innholdet er tomt, brukes til effekten */
  position: absolute; /* Absolutt posisjonering for å dekke bildet */
  top: -50%; /* Starter litt over toppen */
  left: -50%; /* Starter litt til venstre */
  right: -50%; /* Danner en linje til høyre */
  bottom: -50%; /* Danner en linje til bunnen */
  background: linear-gradient(135deg, rgba(218, 218, 218, 0.4), rgba(255, 255, 255, 0)); /* Gradient for shine-effekten */
  opacity: 0; /* Start med usynlig effekt */
  pointer-events: none; /* Forhindrer interaksjon med effekten */
  transition: opacity 0.3s ease; /* Jevn overgang for opasitet */
  animation: none; /* Ingen animasjon som standard */
}

.wp-block-post-featured-image a:hover::after {
  opacity: 1; /* Gjør effekten synlig ved hover */
  animation: shine 0.7s forwards; /* Spill animasjonen én gang */
}

/* Shine animasjon */
@keyframes shine {
  0% {
    transform: translate(-200%, -200%); /* Starter langt til venstre og oppe */
  }
  100% {
    transform: translate(200%, 200%); /* Flytter seg langt til høyre og ned */
  }
}
/* Shine effekt */
.img-shine {
  position: relative; /* Posisjonsrelativ for pseudo-elementet */
  display: inline-block; /* Inline-blokk for å matche størrelsen på bildet */
  overflow: hidden; /* Skjuler alt som går utenfor bildet */
}

.img-shine img {
  display: block; /* Fjerner mellomrom rundt bildet */
}

/* Shine-effekten */
.img-shine::after {
  content: ""; /* Tomt innhold for pseudo-elementet */
  position: absolute; /* Absolutt posisjonering for å dekke bildet */
  top: -50%; /* Starter litt over toppen */
  left: -50%; /* Starter litt til venstre */
  width: 200%; /* Sørger for at linjen dekker hele bildet */
  height: 200%; /* Sørger for at linjen dekker hele bildet */
  background: linear-gradient(135deg, rgba(218, 218, 218, 0.4), rgba(255, 255, 255, 0)); /* Gradient for shine-effekten */
  opacity: 0; /* Start usynlig */
  transition: opacity 0.3s ease; /* Overgang for opasitet */
  pointer-events: none; /* Hindrer interaksjon med pseudo-elementet */
}

.img-shine:hover::after {
  opacity: 1; /* Gjør effekten synlig ved hover */
  animation: shine 0.7s forwards; /* Animerer shine-effekten én gang og stopper */
}

/* Shine animasjon */
@keyframes shine {
  0% {
    transform: translate(-200%, -200%); /* Starter langt til venstre og oppe */
  }
  100% {
    transform: translate(200%, 200%); /* Flytter seg langt til høyre og ned */
  }
}
blockquote p {
  line-height: 1.5 !important;
  padding: 1rem;
  font-size: 1.8rem;
  padding-bottom: 1rem;
  margin-block-end: 0;
  font-family: Lydian BT;
}
blockquote cite {
  padding: 1rem;
  padding-bottom: 2rem !important;
}

@media (max-width: 768px) {
  blockquote p {
    line-height: 1.5 !important;
    font-size: 1.1rem !important;
  }
}
.wp-block-post-excerpt a {
  color: transparent;
}

.course .wp-block-post-excerpt__excerpt {
  display: none;
}
.course a {
  border: none;
}
.course a:hover {
  border: none;
}

.wp-block-post-excerpt__more-link {
  padding-top: 35px;
  position: relative;
  display: inline-block;
  margin-left: -25px;
}
.wp-block-post-excerpt__more-link::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 25px; /* Just an example, adjust the size as needed */
  height: 25px; /* Just an example, adjust the size as needed */
  margin-left: 5px; /* Adjust the spacing between the link and the arrow */
  background: url("assets/images/arrow-right-dark-green.svg") center center no-repeat;
  background-size: contain; /* or cover, depending on your preference */
  transition: transform 0.2s ease; /* Transition only the transform property */
  top: 50%; /* Position arrow at the vertical center */
  transform: translateY(-50%); /* Adjust to center vertically */
}
.wp-block-post-excerpt__more-link:hover::before {
  transform: translateX(10px) translateY(-50%); /* Keep vertical alignment on hover */
}
.wp-block-post-excerpt__more-link a {
  text-decoration: none;
  color: black !important;
}

.front-course-boxes-dark .course-fields {
  font-family: GT America Mono;
  line-height: 0;
  padding-top: 0;
  color: white !important;
}
.front-course-boxes-dark .wp-block-post-excerpt__more-link {
  padding-top: 35px;
  position: relative;
  display: inline-block;
  margin-left: -25px;
}
.front-course-boxes-dark .wp-block-post-excerpt__more-link::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 25px; /* Just an example, adjust the size as needed */
  height: 25px; /* Just an example, adjust the size as needed */
  margin-left: 5px; /* Adjust the spacing between the link and the arrow */
  background: url("assets/images/arrow-right-white.svg") center center no-repeat;
  background-size: contain; /* or cover, depending on your preference */
  transition: transform 0.2s ease; /* Transition only the transform property */
  top: 50%; /* Position arrow at the vertical center */
  transform: translateY(-50%); /* Adjust to center vertically */
}
.front-course-boxes-dark .wp-block-post-excerpt__more-link:hover::before {
  transform: translateX(10px) translateY(-50%); /* Keep vertical alignment on hover */
}
.front-course-boxes-dark .wp-block-post-excerpt__more-link a {
  text-decoration: none;
}

.front-posts {
  min-height: 390px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 769px) {
  .front-posts {
    height: 550px !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  .front-posts .wp-block-columns {
    padding-bottom: 70px !important;
  }
}
@media (max-width: 768px) {
  .front-posts {
    min-height: 390px; /* Minimum høyde for å sikre grunnleggende layout */
    box-sizing: border-box; /* Inkluder padding i beregningen av høyden */
    overflow: hidden; /* Håndterer eventuelt overflødig innhold */
  }
  .front-posts .wp-block-columns {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
.wp-block-post-date time {
  padding-bottom: 5px;
}

.image-container {
  display: inline-block;
  overflow: hidden; /* To prevent the image from overflowing the container */
}

.grow-on-hover {
  transition: transform 0.3s ease; /* Smooth transition for the grow effect */
}

.grow-on-hover:hover {
  transform: scale(1.03); /* Scale the image to 120% of its original size */
}

.shine {
  position: relative;
  overflow: hidden;
}
.shine::before {
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  content: "";
  display: block;
  height: 100%;
  left: -75%;
  position: absolute;
  top: 0;
  transform: skewX(-25deg);
  width: 50%;
  z-index: 2;
}
.shine:hover::before, .shine:focus::before {
  animation: shine 0.85s;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}

.center-aligned {
  display: inline-flex;
  align-items: center;
}
.center-aligned a {
  margin-right: 25px;
}

.center-aligned img {
  margin-right: 10px; /* Avstand mellom bildet og teksten */
  width: 50px; /* Juster bredden på bildet */
  height: auto; /* Beholder proporsjonene */
  vertical-align: middle; /* Sørger for at bildet er på linje med teksten */
}

.wp-block-read-more {
  padding-top: 15px;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: transparent !important;
}
.wp-block-read-more::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 15px; /* Just an example, adjust the size as needed */
  height: 15px; /* Just an example, adjust the size as needed */
  margin-left: -2px; /* Adjust the spacing between the link and the arrow */
  background: url("assets/images/arrow-right.svg") center center no-repeat;
  background-size: contain; /* or cover, depending on your preference */
  transition: transform 0.2s ease; /* Transition only the transform property */
  padding-left: 25px;
  margin-top: 4px;
}
.wp-block-read-more:hover::before {
  transform: translateX(3px); /* Adjust the movement as needed */
}
.wp-block-read-more a {
  text-decoration: none;
  color: #F9F9FA !important;
}

.bottom-line {
  border-bottom: 1px solid black;
}

.fast-links a {
  text-decoration: none !important;
}
.fast-links img {
  display: inline-block;
  transition: transform 0.3s ease;
}
.fast-links:hover img {
  transform: translateX(10px) !important;
}
.fast-links :where(.wp-block-columns) {
  margin-bottom: 0;
}

.fast-links-front {
  transition: background-color 0.3s ease, border-radius 0.3s ease; /* Smooth overgang for begge */
}
.fast-links-front a {
  text-decoration: none !important;
}
.fast-links-front .arrow {
  transition: transform 0.3s ease;
}
.fast-links-front:hover {
  background: #363635 !important;
  border-radius: 20px !important;
}
.fast-links-front:hover .arrow {
  transform: translateX(20px) !important;
}
.fast-links-front :where(.wp-block-columns) {
  margin-bottom: 0;
}

main a {
  border-bottom: 1px solid;
}
main a:hover {
  border-bottom: 1px solid transparent;
}

.wp-block-button a {
  border-bottom: none; /* Fjerner border-bottom */
}

.wp-block-button a:hover {
  border-bottom: none; /* Sørger for at det ikke vises noe border ved hover */
}

.footer-links a {
  border-bottom: 1px solid #DFE4DD;
}
.footer-links a:hover {
  border-bottom: 1px solid transparent;
}

.vertikal-midtstilt {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Sørger for at elementet tar opp hele høyden */
}

.vertikal-midtstilt img {
  max-height: 100%; /* Sørger for at bildet ikke blir større enn kolonnen */
}

.fast-links-footer a {
  text-decoration: none !important;
}
.fast-links-footer img {
  display: inline-block;
  transition: transform 0.3s ease;
}
.fast-links-footer:hover img {
  transform: rotate(-40deg) !important;
}
.fast-links-footer :where(.wp-block-columns) {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .fast-links-footer .wp-block-columns {
    border-radius: 0 !important;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
}
.line-top {
  border-top: 1px solid rgba(223, 228, 221, 0.2);
}

.main-post-page .wp-block-post-title a {
  text-decoration: none !important;
  border-bottom: none !important;
  position: relative;
}
.main-post-page .wp-block-post-title a:hover {
  text-decoration: underline !important;
}
.main-post-page .wp-block-post-title a::after {
  content: "";
  display: block;
  width: 20px; /* juster etter størrelsen på SVG-en */
  height: 20px;
  margin-top: 0.4em;
  background: url("assets/images/arrow-right.svg") center center no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}
.main-post-page .wp-block-post-title a:hover::after {
  transform: translateX(5px);
}

a img {
  border-bottom: none !important;
  text-decoration: none !important;
}
a img:hover {
  border-bottom: none !important;
  text-decoration: none !important;
}

img {
  border-bottom: none !important;
  text-decoration: none !important;
}
img:hover {
  border-bottom: none !important;
  text-decoration: none !important;
}

.single-post .content-post h1, .single-post .content-post h2, .single-post .content-post h3, .single-post .content-post h4, .single-post .content-post h5 {
  margin-bottom: 1rem;
}

.ingress {
  font-size: 2rem !important;
  font-family: Lydian BT;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .ingress {
    font-size: 1.6rem !important;
    font-family: Lydian BT;
    line-height: 1.3;
  }
}
.lydian {
  font-size: 3.5rem !important;
}

@media (max-width: 768px) {
  .lydian {
    font-size: 2.5rem !important;
  }
}
.border-left {
  display: flex;
  align-items: center; /* Sentrerer teksten vertikalt */
  border-left: 1px solid black;
  height: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.border-left a {
  border-bottom: 1px solid transparent !important;
}
.border-left a:hover {
  border-bottom: 1px solid !important;
}

.border-left-white {
  display: flex;
  align-items: center; /* Sentrerer teksten vertikalt */
  border-left: 1px solid white;
  height: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.border-left-white a {
  border-bottom: 1px solid transparent !important;
}
.border-left-white a:hover {
  border-bottom: 1px solid !important;
}

.cat-item {
  padding-right: 20px;
  margin-top: 5px;
}

.border-left-courses {
  align-items: center; /* Sentrerer teksten vertikalt */
  border-left: 1px solid black;
  height: 65px;
  padding-left: 20px !important;
}

.course-fields {
  font-family: GT America Mono;
  line-height: 0;
  padding-top: 0;
  color: #495E58 !important;
}

.course-fields-black {
  font-family: GT America Mono;
  line-height: 0;
  padding-top: 0;
  color: #3C3C3B !important;
}

.course-box {
  transition: background-color 0.3s ease;
}
.course-box:hover {
  background-color: #3b504a !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.forhandler {
  font-family: GT America;
  color: black !important;
}

.country-category {
  pointer-events: none;
  cursor: default;
  text-decoration: none !important;
  border-bottom: none !important;
}
.country-category a {
  text-decoration: none !important;
  border-bottom: none !important;
}

.custom-button {
  background-color: #495E58 !important;
}
.custom-button:hover {
  background-color: #41554F !important;
}

.custom-button:hover::after {
  transform: translateX(5px); /* Flytter pilen til høyre ved hover */
}

.custom-button::after {
  content: ""; /* Innholdet må være tomt */
  display: inline-block; /* Slik at det tar plass */
  width: 18px; /* Bredde på SVG */
  height: 18px; /* Høyde på SVG */
  margin-left: 8px; /* Avstand mellom tekst og pil */
  background-image: url("assets/images/arrow-right-white.svg"); /* Sett stien til SVG-filen */
  background-size: contain; /* Sørger for at SVG passer i dimensjonene */
  background-repeat: no-repeat; /* Ingen gjentakelse av bildet */
  transition: transform 0.3s ease;
}

.rudr-taxonomy-filter--buttons {
  font-family: GT America Mono !important;
  text-transform: uppercase;
  padding-bottom: 1.3rem;
  gap: 0.7rem !important;
}
.rudr-taxonomy-filter--buttons .wp-element-button {
  padding: 0.4rem 1rem !important;
}

@media (max-width: 768px) {
  .rudr-taxonomy-filter--buttons {
    font-family: GT America Mono !important;
    text-transform: uppercase;
    padding-bottom: 1.3rem;
  }
  .rudr-taxonomy-filter--buttons .wp-element-button {
    padding: 0.4rem 1rem !important;
    font-size: 0.7rem;
  }
}
.sptp-filter .button-group .button {
  line-height: 1.5;
  margin: 4px;
}

.sptp_default_img {
  border-radius: 10px !important;
}

@media (max-width: 768px) {
  .filters-button-group .button {
    font-size: 0.7rem !important;
    padding: 0.4rem 1.4rem !important;
    font-family: GT America Mono !important;
  }
}
.filters-button-group {
  text-align: left !important;
  display: flex !important;
  justify-content: flex-start !important;
  font-family: GT America Mono !important;
  padding-bottom: 0rem !important;
}
.filters-button-group .button {
  font-family: GT America Mono !important;
  border-radius: 30px !important;
  border: 1px solid !important;
  padding: 0.4rem 1rem !important;
}
.filters-button-group button.is-checked {
  border: 1px solid #B88B6F !important;
}
.filters-button-group button:hover {
  border: 1px solid #B88B6F !important;
}

.sptp-profession-text {
  font-family: GT America Mono;
}

.sptp-member-name {
  font-family: GT America !important;
  font-weight: 300 !important;
}

.sptp-name {
  font-family: GT America !important;
  font-weight: 300 !important;
}

.boxes {
  text-decoration: none !important;
  border-bottom: none !important;
  transition: transform 0.3s ease;
}
.boxes a {
  text-decoration: none !important;
  border-bottom: none !important;
}
.boxes .arrow img {
  display: inline-block;
  transition: transform 0.3s ease;
  padding-left: 1.3rem !important;
}
.boxes:hover {
  border-radius: 0 !important;
  background: #ecf1eb !important;
}
.boxes:hover .arrow img {
  transform: translateX(20px);
}
.boxes :where(.wp-block-columns) {
  margin-bottom: 0;
}

.boxes-menu {
  text-decoration: none !important;
  border-bottom: none !important;
  transition: transform 0.3s ease;
}
.boxes-menu a {
  text-decoration: none !important;
  border-bottom: none !important;
}
.boxes-menu .arrow img {
  display: inline-block;
  transition: transform 0.3s ease;
  padding-left: 0 !important;
}
.boxes-menu:hover {
  border-radius: 0 !important;
  background: #ecf1eb !important;
}
.boxes-menu:hover .arrow img {
  transform: translateX(20px);
}
.boxes-menu :where(.wp-block-columns) {
  margin-bottom: 0;
}

.product-recommendations {
  overflow: hidden;
  position: relative;
}

.product-recommendations img {
  width: 100%;
  transition: transform 0.3s ease;
}

.product-recommendations img:hover {
  transform: scale(1.09); /* Forstørrelse på bildet ved hover */
}

/* Beveg pilen fremover på hover */
.product-recommendations img:hover + .arrow {
  transform: translateY(-50%) translateX(10px); /* Juster verdien for ønsket bevegelse */
}

.product-recommendations h3 a img {
  position: relative;
  left: 0; /* Startposisjon for bildet */
  transition: transform 0.3s ease; /* Smooth bevegelse */
}

.product-recommendations h3 a:hover img {
  transform: translateX(10px); /* Flytt bildet mot høyre ved hover på <a> */
}

.ctlb-block-desc {
  font-family: GT America !important;
  font-weight: 300 !important;
}

@media (max-width: 767px) {
  .wp-block-cp-timeline-content-timeline-block.Cool-Content-Timeline .cool-vertical-timeline-body.alternating-sided, .wp-block-cp-timeline-content-timeline-block.Cool-Content-Timeline .cool-vertical-timeline-body.both-sided {
    margin: 0 0 0 0px !important;
  }
}
.no-link a {
  border: none !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .inner-padding-mobile {
    padding: 2rem !important;
  }
}
.gfield_description li {
  list-style: disc !important;
}

.g-form h3 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.g-form .charleft {
  display: none !important;
}

.gform_button {
  background-color: #495E58 !important;
  border: 1px solid transparent !important;
}
.gform_button:hover {
  background-color: #3D524C !important;
}

#gform_submit_button_2:hover {
  color: white !important;
}

#mc_embed_shell_2 {
  align-content: center !important;
  text-align: center !important;
  margin-block-start: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  color: black !important;
  font-family: GT America !important;
  background-color: transparent;
  padding: 0 !important;
  margin: 0 !important;
}
#mc_embed_shell_2 input[type=email] {
  background: white !important;
  border: 1px solid transparent !important;
}

#mc_embed_signup_2 .button {
  background-color: #C6CEC3 !important;
  border-radius: 5px !important;
  color: #3C3C3B !important;
  border: 1px solid transparent !important;
}
#mc_embed_signup_2 .button:hover {
  background-color: #A3AFA5 !important;
}

#mc_embed_signup_2,
#mc_embed_signup_2 * {
  color: black !important;
}

.no-padding-left .wp-block-columns {
  padding-left: 0 !important;
}

#mc_embed_shell {
  align-content: center !important;
  text-align: center !important;
  margin-block-start: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  color: black !important;
  font-family: GT America !important;
  padding: 0 !important;
  margin: 0 !important;
}
#mc_embed_shell input[type=email] {
  background: white !important;
}
#mc_embed_shell .wp-block-columns {
  padding-left: 0 !important;
}

#mc_embed_signup .button {
  background-color: #C6CEC3 !important;
  border-radius: 5px !important;
  color: #3C3C3B !important;
}
#mc_embed_signup .button:hover {
  background-color: #A3AFA5 !important;
}

#mc_embed_signup {
  font-family: GT America !important;
}

#mc_embed_signup form {
  display: block;
  position: relative;
  text-align: left;
  margin: 0 !important;
  padding-top: 25px;
}

.regions a {
  border-bottom: 1px solid;
}
.regions a:hover {
  border-bottom: 1px solid transparent;
}

.clickable-circle {
  width: 200px !important; /* Sirkelens bredde */
  height: 200px !important; /* Sirkelens høyde */
  border-radius: 50% !important; /* Gjør sirkelen perfekt rund */
  background-color: #C1D3E6 !important; /* Bakgrunnsfarge */
  color: #495E58 !important; /* Tekstfarge */
  text-align: center !important; /* Sentraliser tekst horisontalt */
  text-decoration: none !important; /* Fjern understreking */
  cursor: pointer !important; /* Endre muspeker til pekehånd */
  position: relative !important; /* Aktiver plassering av elementer */
  overflow: hidden !important; /* Sikrer at innhold holder seg innenfor sirkelen */
  display: flex !important; /* Bruk flex-layout */
  flex-direction: column !important; /* Vertikal layout */
  justify-content: space-between !important; /* Plasser elementer med lik avstand */
  align-items: center !important; /* Sentrer tekst horisontalt */
  padding: 40px !important; /* Litt innvendig rom */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Normal skygge */
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s !important; /* Animere på hover */
}

/* Første tekst */
.clickable-circle .top-text {
  font-size: 15px !important; /* Juster skriftstørrelse */
  margin: 0 !important; /* Ingen ekstra margin */
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Overskriften midt mellom topp og bunn */
.clickable-circle h3 {
  font-size: 40px !important; /* Juster skriftstørrelse */
  font-weight: bold !important; /* Gjør overskriften fet */
  margin: 0 !important; /* Ingen ekstra margin */
}

/* Siste tekst */
.clickable-circle .bottom-text {
  font-size: 15px !important; /* Juster skriftstørrelse */
  margin: 0 !important; /* Ingen ekstra margin */
}

/* Hover-effekt */
.clickable-circle:hover {
  background-color: #C9DAEB !important; /* Endre bakgrunnsfarge */
  transform: scale(1.1) !important; /* Forstørre sirkelen litt */
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3) !important; /* Dypere skygge */
}

.sp-easy-accordion .sp-ea-single {
  background: #DFE4DD !important;
  border-radius: 0 !important;
  border: 0 !important;
  color: black !important;
}
.sp-easy-accordion .sp-ea-single a {
  font-family: GT America;
  color: black !important;
  font-weight: 300 !important;
  font-size: 0.9rem !important;
}

.ea-body {
  font-size: 0.8rem;
  background-color: #E6EBE5 !important;
}

.ea-header {
  border-bottom: 1px solid black;
  background-color: #E6EBE5 !important;
  font-family: GT America Mono !important;
}
.ea-header a {
  font-family: GT America Mono !important;
}

.ea-expand-icon {
  color: black !important;
  font-size: 12px !important;
}

.text-container {
  position: relative;
  width: 300px; /* Juster bredden etter behov */
}

.text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Viser bare to linjer */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 19.6rem; /* Juster høyden for å matche linjeantall */
}

.text.expanded {
  overflow: visible;
  display: block;
  max-height: none;
}

.read-more {
  margin-top: 1.5rem !important;
  background-color: #DFE4DD;
  color: #3C3C3B;
  border: none;
  padding: 1.1rem 1.5rem;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.read-more:hover {
  background-color: #d5ddd2;
  border-radius: 50px;
}

.sticky-block {
  position: sticky;
  top: 0; /* Sticky posisjon - blokken fester seg her */
  z-index: 999; /* Høy z-index for å være over alt annet */
}

#gform_submit_button_1 {
  background-color: #495E58 !important;
  color: white !important;
  border-radius: 5px !important;
}
#gform_submit_button_1:hover {
  background-color: #41554F !important;
  border-radius: 50px !important;
}

@media (max-width: 768px) {
  .wp-block-pullquote p {
    font-size: 1.5rem !important;
  }
  .mobile-forhandler-title {
    font-size: 0.6rem !important;
  }
  .moible-forhandlere-desc {
    font-size: 0.8rem !important;
  }
}
.story-time {
  padding-left: 3rem !important;
}

@media (max-width: 767px) {
  .cool-vertical-timeline-body .timeline-content .story-time p, .cool-vertical-timeline-body .timeline-content .story-time span, .cool-vertical-timeline-body .timeline-content .story-time > div {
    font-size: 28px !important;
    line-height: 1.1 !important;
    margin-bottom: 0;
  }
}
.cool-vertical-timeline-body {
  max-width: 1300px !important;
}

.timeline-quote {
  font-family: Lydian BT !important;
}

.no-space {
  padding: 0 !important;
  margin: 0 !important;
}

.special-category {
  font-family: GT America Mono;
  line-height: 0;
  padding-top: 0;
  font-size: 1.1rem;
  color: #495E58;
}
.special-category a {
  pointer-events: none;
  cursor: default;
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
}

.full-height-background {
  height: 100% !important;
}

@media (max-width: 768px) {
  .left-mobile .wp-block-buttons {
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .left-mobile .wp-block-button {
    margin-left: 0 !important;
  }
  .left-mobile .wp-block-button__link {
    text-align: left !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
  }
}
@media (max-width: 767px) {
  .title-post-mobile {
    font-size: 1.5rem !important;
  }
}
.journal-posts .wp-block-post-title a {
  border: none !important;
}
.journal-posts .wp-block-post-title a:hover {
  text-decoration: underline !important;
}
.journal-posts .wp-block-heading a {
  border: none !important;
}
.journal-posts .wp-block-heading a:hover {
  text-decoration: underline !important;
}
.journal-posts .wp-block-post-featured-image {
  position: relative; /* Setter posisjonen til relativ for å tillate absolutt posisjonering av barn */
  overflow: hidden; /* Sørger for at ingenting går ut over containeren */
}
.journal-posts .wp-block-post-featured-image a {
  display: block; /* Sørger for at lenken tar opp hele bredden av containeren */
  width: 100%; /* Gjør at lenken fyller hele bredden av kolonnen */
  height: auto; /* Lar høyden tilpasse seg bildet */
  transition: transform 0.3s ease; /* Jevn overgang for lenken */
  border-bottom: none !important;
}
.journal-posts .wp-block-post-featured-image a img {
  width: 100%; /* Gjør bildet responsivt */
  height: auto; /* Beholder bildeforholdet */
  transition: transform 0.3s ease; /* Jevn overgang for bildet */
}
.journal-posts .wp-block-post-featured-image a:hover img {
  transform: scale(1.05); /* Zoom effekt ved hover */
}

.custom-post .wp-block-post-title {
  position: relative;
}
.custom-post .wp-block-post-title::after {
  content: "";
  display: block;
  width: 20px; /* juster etter størrelsen på SVG-en */
  height: 20px;
  margin-top: 0.4em;
  background: url("assets/images/arrow-right.svg") center center no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}
.custom-post .wp-block-post-title:hover::after {
  transform: translateX(5px);
}
.custom-post .wp-block-post-title a {
  border: none !important;
}
.custom-post .wp-block-post-title a:hover {
  text-decoration: underline !important;
}
.custom-post .wp-block-heading {
  position: relative;
}
.custom-post .wp-block-heading::after {
  content: "";
  display: block;
  width: 20px; /* juster etter størrelsen på SVG-en */
  height: 20px;
  margin-top: 0.4em;
  background: url("assets/images/arrow-right.svg") center center no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}
.custom-post .wp-block-heading:hover::after {
  transform: translateX(5px);
}
.custom-post .wp-block-heading a {
  border: none !important;
}
.custom-post .wp-block-heading a:hover {
  text-decoration: underline !important;
}
.custom-post .wp-block-post-featured-image {
  position: relative; /* Setter posisjonen til relativ for å tillate absolutt posisjonering av barn */
  overflow: hidden; /* Sørger for at ingenting går ut over containeren */
}
.custom-post .wp-block-post-featured-image a {
  display: block; /* Sørger for at lenken tar opp hele bredden av containeren */
  width: 100%; /* Gjør at lenken fyller hele bredden av kolonnen */
  height: auto; /* Lar høyden tilpasse seg bildet */
  transition: transform 0.3s ease; /* Jevn overgang for lenken */
  border-bottom: none !important;
}
.custom-post .wp-block-post-featured-image a img {
  width: 100%; /* Gjør bildet responsivt */
  height: auto; /* Beholder bildeforholdet */
  transition: transform 0.3s ease; /* Jevn overgang for bildet */
}
.custom-post .wp-block-post-featured-image a:hover img {
  transform: scale(1.05); /* Zoom effekt ved hover */
}

.ea-body {
  color: #3C3C3B !important;
}
.ea-body p {
  color: #3C3C3B !important;
}
.ea-body p a {
  color: #3C3C3B !important;
}

/************************/
/* Search page and results - Search and filter plugin  */
/************************/
.searchandfilter {
  color: #495E58 !important;
}
.searchandfilter .search-filter-input-radio__label {
  color: #495E58 !important;
}
.searchandfilter .search-filter-style--id-1.search-filter-style--search-text {
  color: #495E58 !important;
  border-radius: 10px;
  border-color: #495E58;
}
.searchandfilter #search-filter-input-radio-0 {
  margin-right: 1rem !important;
}
.searchandfilter .search-filter-input-radio__label {
  padding-left: 0 !important;
}
.searchandfilter .search-filter-input-text {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.searchandfilter .search-filter-input-group {
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* 💡 tillat linjeskift */
  padding-left: 0;
  gap: 1rem;
  display: flex;
  max-width: 100%;
}
.searchandfilter .search-filter-input-group input[type=checkbox], .searchandfilter .search-filter-input-group input[type=radio] {
  display: none;
  margin: 0;
}
.searchandfilter .search-filter-input-group input[type=checkbox]:checked + label, .searchandfilter .search-filter-input-group input[type=radio]:checked + label {
  color: #495E58 !important;
  background: #C6CEC3;
  cursor: pointer;
}
.searchandfilter .search-filter-input-group label {
  padding: 1rem 1.5rem 1.3rem 1.5rem;
  background: #DFE4DD;
  background-color: #DFE4DD;
  border: none;
  border-radius: 10px;
  display: block;
  line-height: 1rem;
  transition: all 0.3s;
  font-weight: 500;
}
.searchandfilter .search-filter-input-group label:hover {
  background: #C6CEC3;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .searchandfilter .search-filter-input-group label {
    font-size: 0.9rem;
    padding: 0.75rem 0.9rem 0.9rem 0.9rem;
  }
}
.searchandfilter .search-filter-input-group .search-filter-input-radio__control {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.searchandfilter .search-result-content ul {
  list-style: none !important; /* Fjerner standard bullet points */
  padding-left: 0; /* Fjerner ekstra innrykk */
  line-height: 1.75;
}
.searchandfilter .search-result-content ul li {
  padding-bottom: 0.2rem !important;
}
.searchandfilter .search-result-content ul li a {
  text-decoration: none !important;
  border-bottom: none;
}
.searchandfilter .search-result-content ul li a:hover {
  border-bottom: none;
}
