/* 3/27/25 */

.page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2rem;
/*  max-width: 1800px;*/
}
.stat-box {
/*  background-color: #5C6D45;*/
  margin: 32px auto 0 auto;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.2;
  border-radius: 8px;
  aspect-ratio: 4 /3;
  aspect-ratio: 284/218;
  max-width: 284px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}


.milestones {
  background-color: #7A9256;
}

.project-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
/*  background-color: #6E8650;*/
  padding: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #fff;
}

.project-text p, .project-text h2, .project-text h4 {
  margin: 0.5rem 0;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  .page-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-box {
    aspect-ratio: auto; /* remove ratio on small screens if needed */
    width: 100%;
  }

  .project-image {
    order: -1; /* move image above text */
  }
}
