.section_404 {
    min-height: 573px;
}

.img-15-7 {
    aspect-ratio: 15 / 7;
    object-fit: cover;
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 300px;
}

.headline-color {
    color: var(--color-main-headings-font);
}

.container-page-width-xtrasmall {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/*CSS form form 5*/

.hero_section .hero_section__col1, .hero_section .hero_section__col2 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 992px) {
    .hero_section .hero_section__col1, .hero_section .hero_section__col2 {
        max-width: 100% !important;
    }
}

@media screen and (min-width: 992px) {
    .hero_section__topimg {
        margin-bottom: -80px;
    }
}

.bg_img > .container {
    position: relative;
    z-index: 4;
}
.bg_img {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--color-main-alt-font);
    fill: var(--color-main-alt-font);
    background-position: center center;
}
.bg_img__overlay {
    position: absolute;
    z-index: 1;
    inset: 0px;
    background: var(--image-overlay);
}
.heading-color {
    color: var(--color-main-headings-font);
}
.bg_img a {
    color: var(--color-main-alt-font);
}
.bg_img a:hover {
    color: var(--color-main-alt-font-hover);
}

.hero_section__contactdiv {
    position: relative;
    z-index: 2;
    padding-left: calc(50% + 60px);
    display: flex;
    justify-content: left;
    align-items: center;
    min-height: 50px;
    gap: 40px;
    text-decoration: none;
}
.hero_section__contactdiv a {
    text-decoration: none;
}

.hero_section__h1  {
    font-size: 2.5rem;
    line-height: 1.05;
    margin-top: 30px;
    margin-bottom:0px;
}
.hero_section__intro {
    font-size: 1.15rem;
    font-weight: 300;
}

@media screen and (min-width: 992px) {  
    .hero_section__h1  {
        font-size: 3rem;
        margin-top: 0px;
    }
    .hero_section__intro {
        font-size: 1.25rem;
        font-weight: 300;
    }
}


/*navigasjon forside*/
.fp-services__item {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (min-width: 768px) {
    .fp-services__item {
        max-width: 100% !important;
    }
}
.fp-services__col2 a {
    color: var(--color-main-font);
    text-decoration: none;
}
.fp-services__title {
    font-size: 1.7rem;
}
.fp-services__excerpt {
    line-height: 1.6;
    font-size: 1.15rem;
    font-weight: 300;
}
.fp-services__more {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
}
.fp-services__more .fa-arrow-right {
    font-size: 1rem;
    margin-left: 0.5em;
}
.fp-services__link:hover .fp-services__title, .fp-services__link:hover .fp-services__more {
    text-decoration: underline;
}

/*Nyhetsseksjon forside*/
.fp-news__inner::before {
    content: "";
    position: absolute;
    top: 90px;
    bottom: 90px;
    left: 175px;
    width: 1px;
    background: var(--border-color);
}
@media screen and (min-width: 992px) {
    .fp-news__inner::before {
        left: 190px;
    }
}
.fp-news__item {
    position: relative;
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}
.fp-news__item::before {
    content: "";
    position: absolute;
    left: 160px;
    top: 14px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--border-color);
}
.fp-news__date {
    text-align: right;
    margin-top: 8px;
    font-weight: 300;
    font-size: 0.9rem;
    white-space: nowrap;
}
.fp-news__body {
    max-width: 62ch;
}
.fp-news__title {
    margin-top: 3px;
}
.fp-news__excerpt {
    font-size: 1rem;
    font-weight: 300;
}
.fp-news__more {
    display: inline-flex;
    align-items: center;
    color: var(--color-main-alt-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    opacity: 0.95;
    gap: 8px;
    text-decoration: none;
}
.fp-news__titlelink {
    color: var(--color-main-alt-font);
    text-decoration: none;
}

.fp-news__item:hover .fp-news__titlelink, .fp-news__item:hover .fp-news__more {
    color: var(--color-main-font-hover);
    text-underline-offset: 0.18em;
    text-decoration: underline;
}
@media (max-width: 575px) {
  .fp-news__item {
      grid-template-columns: 1fr;
      row-gap: 12px;
      padding-left: 46px;
  }
  .fp-news__date {
  text-align: left;
  padding-top: 0px;
  opacity: 0.9;
  }
  .fp-news__inner::before {
  left: 35px;
  top: 60px;
  bottom: 60px;
  }
  .fp-news__item::before {
    left: 20px;
    top: 6px;
    transform: translateX(-50%);
  }
}


/*Paginering nyhetsarkiv*/

.archive-pagination {
  margin-top: 30px;
  text-align: center;
}

.archive-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-pagination li {
  display: inline-block;
  margin: 0 4px;
}

.archive-pagination a,
.archive-pagination span {
  display: inline-block;
  padding: 6px 10px;
  text-decoration: none;
  border: 1px solid #ccc;
  color: #000;
}

.archive-pagination .current {
  background: #000;
  color: #fff;
  border-color: #000;
}

/*Standardmal, Om oss og posts*/
.standardpage__h1 {
    margin-top: 0px;
}
.standardmal__intro_section {
  padding-top: 75px;
  padding-bottom: 75px;
}
.standardmal__intro_section.has-hero-img {
  padding-bottom: 175px;
}

.about__bgimg_section, .post__bgimg_section {
    min-height: 100px;
}
.about__bgimg_section.has-hero-img, .post__bgimg_section.has-hero-img {
  padding-bottom: 200px;
}
.standardmal__hero_image, .about__hero_image, .post__hero_image {
    position: relative;
    margin-top: -100px;
    z-index: 10;
}
.post__date {
    font-weight: 300;
    font-size: 0.9rem;
}

.standardpage__introtext {
    font-size: 1.2rem;
    font-weight: 300;
}

/*OM oss - content seksjon*/
.about__content_col2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

.about__contact_item,
.about__address {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

@media screen and (min-width: 480px) and (max-width: 767.98px) {
  .about__content_col2 {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  .about__contact_item {
    width: calc(50% - 10px);
  }

  .about__address {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {

  .about__content_col2 {
    padding-top: 120px;
    padding-right: 25px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
    text-align: right;
  }

  .about__content_col1 {
    padding-left: 10px;
    order: 2;
  }

  .about__content_col2 {
    order: 1;
  }

  .about__contact_item,
  .about__address {
    width: 100%;
    align-items: flex-end;
    text-align: right;
  }
}

.about__contact_item {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.2;
}
.about__contact_meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--color-main-headings-font);
}
.about__map-link {
    font-size: 0.9rem;
    margin-top: 5px;
}
.about__content_col2 address {
  font-style: normal;
}
.about__phone, .about__mail {
    text-decoration: none;
}


/*Om oss ansatte*/

.about__staff_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 24px;
}

/* 1 kolonne (mobil) */
.about__staff_col {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
}

/* 2 kolonner */
@media screen and (min-width: 480px) {
    .about__staff_col {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* 3 kolonner */
@media screen and (min-width: 768px) {
    .about__staff_col {
        flex: 0 0 calc(33.333% - 13.334px);
        max-width: calc(33.333% - 13.334px);
    }
}

/* 4 kolonner */
@media screen and (min-width: 1200px) {
    .about__staff_col {
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}

.about__staff_card {
    width: 100%;
    padding: 20px 16px;
    margin-bottom: 0;
}

.about__staff_content {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.about__staff_card_inner p {
    margin-top: 6px;
    margin-bottom: 0px;
    font-size: 0.9rem;
    line-height: 1.3;
}

.about__staff_img img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 100%;
    margin: 0 auto 12px;
}

.about__staff_name {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.about__staff_card_inner .about__staff_role {
    margin-top: 2px;
    opacity: 0.85;
}

.about__staff_phone a,
.about__staff_email a {
    text-decoration: none;
    word-break: break-word;
}