/* Base / reset leve */
* { box-sizing: border-box; }
img { display: block; }

body {
  font-family: Arial, sans-serif;
  margin: 40px;
  color: #333;
  line-height: 1.6;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}

hr {
  border: none;
  border-top: 2px solid #ccc;
  width: 600px;
  max-width: 100%;
  margin: 0 auto 30px;
}

.intro1 {
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cover {
  display: block;
  margin: 0 auto 30px;
  max-width: 600px;
  width: 100%;
  height: auto;
}

.project {
  color: #333;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
}

.project a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.highlight {
  color: #003366;
  text-align: center;
  font-size: 1.2rem;
  margin: 20px 0;
}

/* Miniaturas (linhas com alunos) */
.row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

/* Apenas os filhos diretos .row > img (evita afetar .group-row img) */
.row > img {
  width: clamp(180px, 45%, 300px);
  height: auto;             /* mantém proporção */
  border: 1px solid #eee;
  border-radius: 4px;
  flex: 0 0 auto;           /* impede de "amassar" no flex */
}

/* FOTOS DE GRUPO: centralizadas como a capa (max-width: 600px) */
.group-row {
  display: flex;
  flex-direction: column;   /* empilha verticalmente */
  align-items: center;
  gap: 15px;
  margin: 15px auto 30px;   /* auto centraliza o container */
  max-width: 600px;         /* mesmo limite da .cover */
  width: 100%;
}

.group-row img {
  width: 100%;              /* ocupa toda a largura do container */
  height: auto;             /* mantém proporção original */
  border: 1px solid #eee;
  border-radius: 4px;
  flex: 0 0 auto;
}
