/* =========================================================
   V21 — slider polish + footer credit/admin refinement
   ========================================================= */

/* Before/after: the whole visual is the drag surface. */
.ba-compare{
  cursor:ew-resize;
  outline:none;
}
.ba-compare:focus-visible{
  box-shadow:0 0 0 4px rgba(101,120,93,.20),0 24px 70px rgba(17,19,18,.08);
}
.ba-input{
  pointer-events:none!important;
}
.ba-after-layer,
.ba-handle{
  transition:none!important;
}
.ba-handle::after{
  transition:transform .16s ease,box-shadow .16s ease;
}
.ba-compare:hover .ba-handle::after,
.ba-compare.is-dragging .ba-handle::after{
  transform:translate(-50%,-50%) scale(1.06);
  box-shadow:0 16px 38px rgba(0,0,0,.27);
}
.work-compare-card{
  overflow:hidden;
}
.work-compare-list:has(.work-compare-card:only-child){
  max-width:1180px;
}
.work-compare-list:has(.work-compare-card:only-child) .work-compare-card{
  grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr);
  padding:22px;
}
.work-compare-list:has(.work-compare-card:only-child) .ba-compare{
  aspect-ratio:16/10;
}

/* Footer: subtle admin access integrated into the credit line. */
.site-footer{
  row-gap:28px!important;
}
.footer-bottom{
  grid-column:1/3!important;
  align-self:center;
  border-top:1px solid rgba(255,255,255,.10)!important;
  padding-top:18px!important;
  color:#8f9992!important;
}
.footer-credit{
  grid-column:3/-1!important;
  align-self:center;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:18px;
  color:#8f9992!important;
  font-size:11px!important;
  line-height:1.5;
  text-align:right!important;
  letter-spacing:.01em;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.footer-credit strong{
  color:#e7ece8;
  font-weight:800;
}
.footer-heart{
  display:inline-block;
  margin:0 3px;
  color:#e1525d;
  font-size:26px;
  transform:translateY(1px);
}
.footer-admin-gear{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  vertical-align:middle;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#dce3de!important;
  box-shadow:0 8px 18px rgba(0,0,0,.14);
  transition:transform .24s cubic-bezier(.22,1,.36,1),background .24s ease,border-color .24s ease;
  flex:0 0 auto;
}
.footer-admin-gear:hover{
  transform:translateY(-2px) rotate(18deg);
  background:rgba(101,120,93,.22);
  border-color:rgba(130,153,120,.42);
  color:#fff!important;
}
.footer-admin-gear i{
  font-size:13px;
}
@media(max-width:760px){
  .footer-bottom,.footer-credit{
    grid-column:1/-1!important;
    text-align:left!important;
  }
  .footer-credit{
    justify-content:flex-start;
  }
  .footer-admin-gear{
    width:32px;
    height:32px;
  }
  .work-compare-list:has(.work-compare-card:only-child) .work-compare-card{
    grid-template-columns:1fr;
    padding:12px;
  }
}
