/* V51 — unified project overlay controls */
.home-project-card .home-project-media,
.project-card .project-media,
.mini-project-card .mini-media{position:relative!important;overflow:hidden!important}

/* Status badge */
.home-project-card .status-pill-home,
.project-card .status-pill,
.mini-project-card .mini-media>span{
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  z-index:8!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  padding:6px 11px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#058baa,#04758f)!important;
  color:#fff!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:nowrap!important;
  box-shadow:0 8px 18px rgba(4,117,143,.24)!important;
}

/* Favourite button — one consistent outlined heart */
.home-project-card button.home-fav,
.project-card button.fav,
.mini-project-card button.fav{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  left:auto!important;
  z-index:10!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1.5px solid rgba(255,255,255,.92)!important;
  border-radius:50%!important;
  background:rgba(5,42,61,.56)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(3,28,43,.22)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  cursor:pointer!important;
  transition:background .2s ease,transform .2s ease,border-color .2s ease!important;
}
.home-project-card button.home-fav:hover,
.project-card button.fav:hover,
.mini-project-card button.fav:hover{
  transform:translateY(-1px) scale(1.04)!important;
  background:rgba(5,42,61,.78)!important;
  border-color:#fff!important;
}
.home-project-card button.home-fav svg,
.project-card button.fav svg,
.mini-project-card button.fav svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
.home-project-card button.home-fav.saved,
.project-card button.fav.saved,
.mini-project-card button.fav.saved{
  background:#fff!important;
  color:#e34b67!important;
  border-color:#fff!important;
}
.home-project-card button.home-fav.saved svg,
.project-card button.fav.saved svg,
.mini-project-card button.fav.saved svg{fill:currentColor!important}

@media(max-width:767px){
  .home-project-card button.home-fav,
  .project-card button.fav,
  .mini-project-card button.fav{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;top:10px!important;right:10px!important}
  .home-project-card .status-pill-home,
  .project-card .status-pill,
  .mini-project-card .mini-media>span{top:10px!important;left:10px!important;font-size:10px!important;min-height:28px!important}
}
