/* Capitalist Waste shared mobile navigation */
.cw-menu-toggle,
.cw-menu-backdrop{display:none}

@media (max-width:820px){
  header{
    overflow:visible!important;
    z-index:90!important;
  }

  header .brand{
    position:relative;
    z-index:92;
  }

  header .nav{
    position:absolute!important;
    top:calc(100% + 7px);
    right:12px;
    left:auto!important;
    width:min(292px,calc(100vw - 24px));
    z-index:93;
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    padding:6px!important;
    background:#fff!important;
    border:1px solid #dce8ed;
    border-radius:14px;
    box-shadow:0 16px 40px rgba(3,29,47,.14);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-7px) scale(.985);
    transform-origin:top right;
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
  }

  header.cw-menu-open .nav{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0) scale(1);
  }

  header .nav a,
  header .nav a:nth-child(n){
    display:flex!important;
    align-items:center;
    min-height:44px;
    padding:11px 13px!important;
    border-radius:9px;
    font-size:14px!important;
    line-height:1.2;
    font-weight:800;
    color:#082b45;
    white-space:nowrap;
  }

  header .nav a + a{
    margin-top:1px;
  }

  header .nav a:after,
  header .nav a:hover:after,
  header .nav a.active:after{
    display:none!important;
  }

  header .nav a:hover,
  header .nav a:focus-visible{
    background:#f4f8f9;
    outline:none;
  }

  header .nav a.active{
    background:#e9f8f4;
    color:#087466;
  }

  .cw-menu-toggle{
    position:relative;
    z-index:94;
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    margin-left:auto;
    padding:0;
    border:1px solid #dce7ec;
    border-radius:11px;
    background:#fff;
    color:#082b45;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(3,35,56,.05);
    -webkit-tap-highlight-color:transparent;
  }

  .cw-menu-toggle span{
    width:19px;
    height:2px;
    display:block;
    border-radius:999px;
    background:currentColor;
    transition:transform .18s ease,opacity .18s ease,width .18s ease;
  }

  header.cw-menu-open .cw-menu-toggle span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }
  header.cw-menu-open .cw-menu-toggle span:nth-child(2){
    opacity:0;
    width:0;
  }
  header.cw-menu-open .cw-menu-toggle span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .cw-menu-backdrop{
    position:fixed;
    inset:0;
    z-index:80;
    display:block;
    background:rgba(3,29,47,.08);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .16s ease,visibility .16s ease;
  }

  body.cw-menu-is-open .cw-menu-backdrop{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  body.cw-menu-is-open{
    overflow:hidden;
  }
}

@media (max-width:460px){
  header{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  header .brand{
    font-size:17px!important;
    line-height:1.05;
  }
  header .brand small{
    font-size:8px!important;
    letter-spacing:.16em!important;
  }
  header .nav{
    right:10px;
    width:min(280px,calc(100vw - 20px));
  }
}

/* Alternatives: reliable remote images for the three concept cards. */
#ideas .concept-grid .concept .concept-photo-inline{opacity:0!important}
#ideas .concept-grid .concept:nth-child(1) .concept-photo{background-image:url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=82')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
#ideas .concept-grid .concept:nth-child(2) .concept-photo{background-image:url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&w=1200&q=82')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
#ideas .concept-grid .concept:nth-child(3) .concept-photo{background-image:url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?auto=format&fit=crop&w=1200&q=82')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}

/* Sector Analysis: make the Less work. More life. icons visible on the dark image. */
.life .life-mark{
  color:#fff5df!important;
  border-color:rgba(255,245,223,.92)!important;
  border-width:1.5px!important;
}
.life .life-mark svg{
  width:22px!important;
  height:22px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2.5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
