/* V45 unified premium project cards across the complete website */
.project-grid,
.projects-grid,
.home3-project-grid,
.projects-eight-grid {
  align-items: stretch !important;
}

.project-card-unified,
.home-project-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid rgba(13, 91, 125, .16) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg,#fff 0%,#fafffe 100%) !important;
  box-shadow: 0 14px 34px rgba(5, 45, 67, .08) !important;
  min-height: 0 !important;
  height: 100% !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}
.project-card-unified:hover,
.home-project-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(0, 163, 151, .32) !important;
  box-shadow: 0 22px 46px rgba(5, 45, 67, .13) !important;
}
.project-card-unified .home-project-media,
.home-project-card .home-project-media {
  position: relative !important;
  height: 235px !important;
  min-height: 235px !important;
  overflow: hidden !important;
}
.project-card-unified .home-project-media img,
.home-project-card .home-project-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.project-card-unified .home-project-body,
.home-project-card .home-project-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 20px 22px 22px !important;
}
.project-card-unified .home-project-body > *,
.home-project-card .home-project-body > * {
  margin: 0 !important;
}
.project-card-unified h3,
.home-project-card h3 {
  font-size: 20px !important;
  line-height: 1.3 !important;
  min-height: 52px !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}
.project-card-unified h3 a,
.home-project-card h3 a { color: #043d59 !important; text-decoration: none !important; }
.project-card-unified .project-location,
.home-project-card .project-location {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #66859a !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  min-height: 41px !important;
}
.project-card-unified .project-location .ui-icon,
.home-project-card .project-location .ui-icon { width: 17px !important; height: 17px !important; flex: 0 0 17px !important; }
.project-card-unified .project-price,
.home-project-card .project-price { display:flex !important; align-items:baseline !important; flex-wrap:wrap !important; gap:4px !important; min-height:31px !important; }
.project-card-unified .project-price strong,
.home-project-card .project-price strong { font-size:24px !important; line-height:1.2 !important; color:#043d59 !important; }
.project-card-unified .project-price small,
.home-project-card .project-price small { font-size:15px !important; color:#52778c !important; }
.project-card-unified .project-config,
.home-project-card .project-config { color:#66859a !important; font-size:14px !important; line-height:1.45 !important; min-height:20px !important; }
/* Exact requested gap: configuration line to buttons */
.project-card-unified .project-config + .home-project-actions,
.home-project-card .project-config + .home-project-actions {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.project-card-unified .home-project-actions,
.home-project-card .home-project-actions {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 48px !important;
  gap:8px !important;
  margin-top:0 !important;
}
.project-card-unified .home-project-actions > a,
.home-project-card .home-project-actions > a {
  min-height:48px !important;
  border-radius:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  font-weight:700 !important;
}
.project-card-unified .home-project-actions > a:first-child,
.home-project-card .home-project-actions > a:first-child { background:#edf7f5 !important; color:#043d59 !important; }
.project-card-unified .call-square,
.home-project-card .call-square { background:#edf7e7 !important; color:#55a84f !important; }
.project-card-unified .status-pill-home,
.home-project-card .status-pill-home { position:absolute !important; top:12px !important; left:12px !important; z-index:2 !important; }
.project-card-unified .home-fav,
.home-project-card .home-fav { position:absolute !important; top:12px !important; right:12px !important; z-index:2 !important; }
@media(max-width:700px){
 .project-card-unified .home-project-media,.home-project-card .home-project-media{height:210px!important;min-height:210px!important}
 .project-card-unified h3,.home-project-card h3{min-height:0!important}
 .project-card-unified .project-location,.home-project-card .project-location{min-height:0!important}
}
