/* ====== GTM Minute profile layout ====== */

.profile-wrapper {
  padding: 4rem 0 5rem;
}

.profile-layout {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

/* Left side (avatar + intro) */
.profile-left {
  flex: 0 0 340px;
  text-align: left;
  position: sticky;
  top: 3.5rem; /* keeps it fixed as you scroll */
}

.profile-avatar-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.profile-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profile-tagline {
  font-size: 1rem;
  color: #567592;
  margin-bottom: 0.75rem;
}

.profile-meta {
  font-size: 0.98rem;
  color: #544837;
}

/* Right side (cards) */
.profile-right {
  flex: 1 1 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Card */
.project-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.5rem;
  background-color: #FFFEFE;
  border: 1px solid #F0F4F9;
  text-decoration: none;
  color: #212832;
  box-shadow: 0 18px 40px rgba(33, 40, 50, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: #e0e4ec;
  box-shadow: 0 24px 55px rgba(33, 40, 50, 0.09);
  text-decoration: none;
}

.project-icon {
  width: 40px;
  height: 40px;
  border-radius: 1rem;
  background-color: #F0F4F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
/*
.project-icon {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;    
  max-height: 40px !important;
  display: flex;
  border-radius: 1rem;
  background-color: #F0F4F9;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

*/

.project-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  border-radius: 1rem;
}

.project-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.project-description {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: #567592;
}

/* badges */
.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  border: none;
  background-color: #F0F4F9;
  color: #212832;
}

/* variations using your theme colors */
.pill-badge-building {
  background-color: #e3e5fc;
  color: #747DEF;
}

.pill-badge-active {
  background-color: #e5f4dc;
  color: #79B93C;
}

.pill-badge-acquired {
  background-color: #d9ecff;
  color: #2fc4f1;
}

.pill-badge-discontinued {
  background-color: #fde0da;
  color: #DF6951;
}

/* ====== Responsive ====== */

@media (max-width: 991.98px) {
  .profile-layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .profile-left {
    position: static;
    text-align: center;
  }

  .profile-avatar-wrapper {
    margin: 0 auto 1.25rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .profile-wrapper {
    padding-top: 2.5rem;
  }

  .profile-name {
    font-size: 1.6rem;
  }

  .project-card {
    padding: 1.25rem 1.3rem;
    border-radius: 1.2rem;
  }
}

