@charset "UTF-8";/* =========================================
   AKTIVE FREDSREISER – COOKIE CONSENT
   ========================================= */

.af-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 99999;

  width: calc(100% - 40px);
  max-width: 1380px;

  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;

  padding: 16px 20px;

  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 10px;

  box-shadow: 0 8px 28px rgba(12, 39, 67, 0.14);

  transform: translateX(-50%);

  font-family: Manrope, Arial, sans-serif;
  color: #26394b;
}

.af-consent.is-visible {
  display: flex;
}


/* TEKST */

.af-consent__text {
  flex: 0 1 auto;
  max-width: 1030px;
  min-width: 0;
}

.af-consent__title {
  margin: 0 0 3px;
  padding: 0;

  color: #17324d;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

.af-consent__copy {
  margin: 0;
  padding: 0;

  color: #536575;
  font-size: 14px;
  line-height: 1.55;
}

.af-consent__copy a {
  color: #173f67;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.af-consent__copy a:hover {
  color: #0b376b;
}


/* KNAPPER */

.af-consent__actions {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0;
}

.af-consent__btn {
  appearance: none;
  -webkit-appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 10px 18px;

  border: 1px solid #b9c8d6;
  border-radius: 8px;

  background: #ffffff;
  color: #17324d;

  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;

  cursor: pointer;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.af-consent__btn:hover {
  background: #f2f5f8;
  border-color: #8298ac;
}

.af-consent__btn:focus-visible {
  outline: 3px solid rgba(11, 55, 107, 0.22);
  outline-offset: 2px;
}


/* GODTA – AF NAVY */

.af-consent__btn--accept {
  background: #0b376b;
  border-color: #0b376b;
  color: #ffffff;
}

.af-consent__btn--accept:hover {
  background: #082d59;
  border-color: #082d59;
  color: #ffffff;
}


/* KNAPP PÅ COOKIE-POLICY-SIDEN */

.policy-settings .af-consent__btn {
  margin-top: 4px;
  padding: 11px 18px;

  background: #0b376b;
  border-color: #0b376b;
  color: #ffffff;
}

.policy-settings .af-consent__btn:hover {
  background: #082d59;
  border-color: #082d59;
  color: #ffffff;
}


/* =========================================
   NETTBRETT / SMALERE SKJERMER
   ========================================= */

@media (max-width: 1050px) {

  .af-consent {
    align-items: flex-start;
    gap: 18px;
  }

  .af-consent__text {
    flex: 1 1 auto;
  }

}


/* =========================================
   MOBIL
   ========================================= */

@media (max-width: 760px) {

  .af-consent {
    bottom: 10px;

    width: calc(100% - 20px);

    flex-direction: column;
    align-items: stretch;
    gap: 14px;

    padding: 16px;

    border-radius: 9px;
  }

  .af-consent__text {
    max-width: none;
  }

  .af-consent__title {
    font-size: 16px;
  }

  .af-consent__copy {
    font-size: 14px;
    line-height: 1.5;
  }

  .af-consent__actions {
    width: 100%;
    gap: 10px;
  }

  .af-consent__btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 10px 12px;
  }

}


/* =========================================
   SVÆRT SMÅ SKJERMER
   ========================================= */

@media (max-width: 390px) {

  .af-consent__actions {
    flex-direction: column;
  }

  .af-consent__btn {
    width: 100%;
  }

}