.projects-module {
    max-width: 83.5%;
    margin: 2rem auto;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
  }

  /* Centered, 95%-width title wrapper */
  .projects-module__title-wrapper {
    width: 98%;
    margin: 0 auto 1.25rem;
    background: linear-gradient(45deg, #0A0A0A, #EE1D52);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
  }

  .projects-module__title {
    margin: 0;
    text-align: center;
    font-size: 1.75rem;
    color: #fff;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-content: center;
  }

  .project-card {
    background: #212121;
    border-radius: 0.75rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s;

    /* fixed maximum size */
    max-width: 300px;
    max-height: 500px;
  }
  .project-card:hover {
    transform: translateY(-4px);
  }

  .project-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    flex-shrink: 0;
  }

  .project-card__content {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }

  .project-card__title {
    font-size: 1.125rem;
    color: #E0E0E0;
    margin: 0 0 0.5rem;
  }

  .project-card__desc {
    flex: 1;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #E0E0E0;
    line-height: 1.4;
  }

  .project-card__link {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    align-self: flex-start;
    background: #171717;
    border-radius: 0.5rem;
    color: #E0E0E0;
    width: 125px;
    transition: color .2s;
    text-align: center;
  }
  .project-card__link:hover {
    color: #EE1D52;
  }