/* Projects Page */

#myProjectsGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(360px, 520px));
  gap:32px;
  align-items:stretch;
}

.dash-card{
  position:relative;
  display:flex;
  flex-direction:column;

  min-height:400px;
  height:auto;

  padding:34px;

  background:linear-gradient(
    145deg,
    rgba(20,28,26,.96),
    rgba(8,14,13,.94)
  );

  border:1px solid rgba(0,224,164,.22);
  border-radius:30px;

  box-shadow:
    0 24px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.04);

  overflow:hidden;
  transition:.3s ease;
}

.dash-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg, var(--teal), var(--mint));
}

.dash-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,224,164,.42);
  box-shadow:
    0 26px 80px rgba(0,224,164,.12),
    0 24px 70px rgba(0,0,0,.45);
}

.status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:max-content;
  max-width:max-content;

  padding:8px 16px;
  margin-bottom:28px;

  border-radius:999px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.status-badge.draft{
  background:rgba(255,213,79,.12);
  color:#ffd54f;
  border:1px solid rgba(255,213,79,.35);
}

.dash-card h3{
  margin:0 0 22px;

  font-size:34px;
  line-height:1.08;
  min-height:88px;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;

  overflow:hidden;
  text-overflow:ellipsis;
}

.dash-card p{
  margin:0 0 26px;
  color:rgba(255,255,255,.62);
  font-size:16px;
  line-height:1.7;
}

.project-meta{
  display:flex;
  flex-direction:column;
  gap:10px;

  margin-top:8px;
  margin-bottom:auto;
  padding-top:22px;

  border-top:1px solid rgba(255,255,255,.08);
}

.project-meta span{
  color:var(--mint);
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.dash-card .hero-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:28px !important;
}

.dash-card .hero-actions .btn,
.dash-card .hero-actions button{
  width:100%;
  height:46px;
  min-height:46px;

  padding:10px 14px;
  border-radius:14px;

  font-size:14px;
  font-weight:900;
}

.dash-card .hero-actions button:last-child{
  grid-column:1 / -1;
}

@media(max-width:768px){
  #myProjectsGrid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(380px,1fr));
    gap:28px;
}

  .dash-card{
    min-height:auto;
    padding:26px;
  }

  .dash-card h3{
    font-size:32px;
    min-height:auto;
  }
}