/* Kompakt cookievalg på mobil. Samtykkets funktion og de to valg bevares. */
.cookie-mobile-copy{display:none}

@media(max-width:768px){
  .cookie-desktop-copy{display:none}
  .cookie-mobile-copy{display:inline}
  html #cookie-banner{
    left:8px!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom, 0px))!important;
    width:auto!important;
    box-sizing:border-box;
    padding:.7rem .8rem .75rem!important;
    gap:.55rem!important;
    border:1px solid #cbd9e6!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 10px 32px rgba(16,42,70,.22)!important;
  }
  html #cookie-banner > div:first-child{
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
  }
  html #cookie-banner p{
    margin:0!important;
    color:#30465c!important;
    font-size:.75rem!important;
    line-height:1.35!important;
  }
  html #cookie-banner p strong{
    display:inline-block;
    margin-bottom:.18rem;
    color:#173657;
    font-size:.87rem;
    line-height:1.2;
  }
  html #cookie-banner p a{
    color:#245d8d!important;
    text-underline-offset:2px;
  }
  html #cookie-banner > div:last-child{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:.5rem!important;
    flex-wrap:nowrap!important;
    width:100%!important;
  }
  html #cookie-banner button{
    min-width:0!important;
    min-height:42px;
    padding:.5rem .25rem!important;
    border-radius:10px!important;
    font-size:.77rem!important;
    line-height:1.2!important;
    white-space:nowrap;
  }
  html.show-cookie-banner body{
    padding-bottom:calc(150px + env(safe-area-inset-bottom, 0px))!important;
  }
}
