/*
 * Atlas v6.19.1 — Home header + results brand cleanup
 * Main navigation is intentionally removed from Home.
 */
body.home .a18-home{
  position:relative!important;
  width:100%!important;
  min-height:100vh!important;
  padding-top:0!important;
}

/* Old home menu must never reserve space if cached markup appears. */
body.home .a18-homebar,
body.home .a18-home-nav,
body.home .a18-brand,
body.home .a18-home-tools{
  display:none!important;
}

/* Compact utility dock — functional, not a navigation header. */
.a21-home-utilities{
  position:absolute!important;
  z-index:120!important;
  top:18px!important;
  right:26px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:5px!important;
  border:1px solid rgba(222,228,239,.88)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 8px 25px rgba(30,45,75,.07)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.15)!important;
  backdrop-filter:blur(18px) saturate(1.15)!important;
}
.a21-utility{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#59657b!important;
  cursor:pointer!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
}
.a21-utility:hover{
  background:#f2f4fa!important;
  color:#4f60eb!important;
  transform:translateY(-1px)!important;
}
.a21-utility:focus-visible{
  outline:3px solid rgba(80,104,235,.18)!important;
  outline-offset:1px!important;
}
.a21-utility svg{
  display:block!important;
  width:19px!important;
  height:19px!important;
}

/* Hero moves up because the 74px navigation bar no longer exists. */
body.home .a18-home-main{
  padding-top:20px!important;
}
body.home .a18-hero-mark{
  margin-top:0!important;
}

@media(max-width:860px){
  .a21-home-utilities{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    width:max-content!important;
    margin:10px 12px 0 auto!important;
    padding:4px!important;
    border-radius:14px!important;
  }
  .a21-utility{width:36px!important;height:36px!important;min-width:36px!important;}
  body.home .a18-home-main{padding-top:4px!important;}
}
@media(max-width:560px){
  .a21-home-utilities{margin-top:8px!important;margin-right:10px!important;}
  .a21-utility{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;}
  .a21-utility svg{width:17px!important;height:17px!important;}
}

/* =========================================================
   v6.19.1 — hard home-header kill switch
   The shared header is now skipped server-side in container.php.
   This CSS fallback also protects against stale/cached markup.
   ========================================================= */
body.home #header,
body.home #site-navbar,
body.home .a18-search-header{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* =========================================================
   v6.19.1 — Atlas wordmark on search results
   Keep it clickable as "Home", but never style it like a text link.
   ========================================================= */
.a18-search-brand,
.a18-search-brand:link,
.a18-search-brand:visited,
.a18-search-brand:hover,
.a18-search-brand:active{
  color:#11182b!important;
  text-decoration:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:none;
}

.a18-search-brand:hover{
  color:#11182b!important;
  text-decoration:none!important;
  background:transparent!important;
}

.a18-search-brand b,
.a18-search-brand:hover b,
.a18-search-brand:visited b{
  color:#11182b!important;
  text-decoration:none!important;
}

.a18-search-brand img{
  text-decoration:none!important;
}

.a18-search-brand:focus-visible{
  outline:3px solid rgba(80,104,235,.18)!important;
  outline-offset:5px!important;
  border-radius:10px!important;
}

