/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/* ==== Página com lista em cards de todos os projetos ===== */
/*––––––––––––––––––––––––––––––––––––––––––––––––––––-––-–––*/

.projects {
  display: block;
  margin-top: 0.1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding: 0 1rem;
  box-sizing: border-box;
}


body.projects-list-page .projects-title {
  margin-top: 1rem;     /* ajuste o valor como preferir */
  margin-bottom: 1.5rem;/* ajuste o valor como preferir */
  margin-left: 4.3rem;
  text-decoration: none;
}

body.projects-list-page .project-item {
  align-items: stretch;
  transition: transform 0.2s, box-shadow 0.2s;
}

body.projects-list-page .project-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

body.projects-list-page .project-item img {
  margin-top: -1.5rem;
  margin-bottom: -1.5rem;
  margin-left: -1.5rem;
  height: auto;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
  width: auto;
  max-height: 300px;
  text-decoration: none;
}

body.projects-list-page .project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.project-link h3,
.project-link p {
  text-decoration: none;
  color: var(--color-text);
}

.project-link:hover h3,
.project-link:hover p {
  text-decoration: none;
}


.project-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-item-link .project-item {
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.project-item-link .project-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-link {
  color: #4e95e6;
  text-decoration: none;
}

.project-tags .tag {
  display: inline-block;
  background-color: #e0f7fa;
  color: #007b8a;
  padding: 0.25rem 0.6rem;
  margin: 0 0.3rem 0.3rem 0;
  font-size: 0.8rem;
  border-radius: 0.3rem;
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/*   			 EXCLUSIVO PARA PÁGINAS DE PROJETOS ÚNICOS                     */
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/

/* 1) Wrapper que alinha título+tags à esquerda do container */
.single-project-header {
  max-width: 1000px;     /* mesma largura máxima do seu container principal */
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;       /* garante 1rem de padding nas laterais */
  box-sizing: border-box;
}

.single-project-header .projects-title {
  text-align: center;
  margin: 0;             /* zera margens extras do h1 */
}

/*-- Linha divisória abaixo do título, centralizada no wrapper --*/
.single-project-header .divider-line {
  display: block;            /* garante que margin auto funcione */
  width: 100%;                /* ou uma largura fixa menor que a do wrapper */
  max-width: 1200px;         /* para não extrapolar em telas maiores */
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 auto;         /* auto nas laterais */
}

/* DATA exibida abaixo da divider-line e acima das tags */
.single-project-header .project-date {
  font-size: 0.9rem;               /* leve e discreto */
  color: rgba(0, 0, 0, 0.6);       /* tom um pouco mais claro que o texto principal */
  text-align: center;                /* alinha à esquerda dentro do wrapper */
  font-style: italic;              /* opcional, dá um toque elegante */
  margin-top: 0.5rem;
  margin-bottom: -1rem;
}

/*-- Edita o conjunto de tags --*/
.single-project-tags {
  margin-top:0.5rem;
  margin-bottom: 0.5rem;
  padding: 0rem;
  text-align: center;
}
/*-- Edita Tags individuais --*/
.single-project-tags .tag {
  position: relative;
  z-index: 1;
  display: inline-block;            /* garante bloco ajustável */
  background-color: #e0f7fa;        /* azul claro de fundo */
  color: #007b8a;                   /* texto em azul escuro para contraste */
  padding: 0.25rem 0.6rem;          /* espaço interno */
  margin: 0 0.3rem 0.3rem 0;        /* espaçamento entre tags */
  font-size: 0.8rem;               /* mantém legível */
  border-radius: 0.3rem;           /* cantos arredondados */
}



