.elementor-kit-6{--e-global-color-primary:#00973A;--e-global-color-secondary:#215834;--e-global-color-text:#000000;--e-global-color-accent:#00973A;--e-global-color-d7151f9:#14332D;--e-global-color-292ae67:#71DCDF;--e-global-color-0d62138:#004679;--e-global-color-7b141b5:#01344B;--e-global-color-cbe9c93:#F5F5F6;--e-global-color-411c82a:#D9DAE4;--e-global-color-9213fac:#EBECF1;--e-global-color-8429346:#545860;--e-global-typography-primary-font-family:"Poppins";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Poppins";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Poppins";--e-global-typography-accent-font-weight:500;color:var( --e-global-color-text );font-family:"Poppins", Sans-serif;font-weight:400;line-height:1.6rem;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 h1{color:#000000;font-size:2.8rem;font-weight:700;}.elementor-kit-6 h2{color:var( --e-global-color-secondary );font-size:1.9rem;font-weight:700;line-height:2.9rem;}.elementor-kit-6 h3{color:var( --e-global-color-secondary );font-size:1.7rem;font-weight:700;line-height:1.5em;}.elementor-kit-6 button,.elementor-kit-6 input[type="button"],.elementor-kit-6 input[type="submit"],.elementor-kit-6 .elementor-button{font-family:"Poppins", Sans-serif;font-size:0.937rem;font-weight:700;}.elementor-kit-6 img{border-radius:30px 30px 30px 30px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6 h2{font-size:25px;line-height:1.2em;}.elementor-kit-6 h3{font-size:27px;line-height:1.2em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */#elementor-popup-modal-8439 .dialog-widget-content.dialog-lightbox-widget-content {
    overflow-y: auto !important;
}

#elementor-popup-modal-8439 .dialog-message {
    height: auto !important;
    overflow-y: auto !important;
    max-height: none !important;
}


.news-grid .elementor-post__thumbnail {
  position: relative;
  overflow: hidden;
}

.news-grid .elementor-post__thumbnail img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.news-grid .elementor-post__thumbnail::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #215834;        /* flyt background hertil */
  opacity: 0;                 /* skjult som standard */
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.news-grid .elementor-post:hover .elementor-post__thumbnail::after {
  opacity: 0.8;               /* vis ved hover */
}

.news-grid .elementor-post:hover .elementor-post__thumbnail::after {
  background: #215834;
}

.news-grid .elementor-post {
  position: relative;
}

.news-grid .elementor-post__text {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  padding: 16px 18px;
  z-index: 2;
}


.news-grid .elementor-post__title a {
  color: #ffffff!important;
  transition: color 0.3s ease;
}/* End custom CSS */