/* Stiler for maler/prosjekter.html. Flyttet ut av <style> i siden (fase 1c, nov. 2026). Lastes på samme sted
   som før: etter tokens.css (og sider.css), før layout.css. */
/* Felles stiler (toppfelt, rutenett, tom liste) ligger i /assets/sider.css */
a { color: inherit; }

.project-card {
  background: #fff;
  border: 1px solid var(--et-border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  text-decoration: none;
}
.project-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--et-lys-stein), var(--et-bark-tint));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-cover-icon { font-size: 56px; opacity: 0.4; }

.project-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  font-family: var(--et-font-body);
  font-weight: 700; font-size: 13px;
  color: var(--et-heading);
  text-transform: uppercase; letter-spacing: var(--et-tracking-label);
  margin-bottom: 8px;
}
.project-title {
  font-family: var(--et-font-title);
  font-weight: 800; font-size: 21px; line-height: 28px;
  color: var(--et-heading); margin-bottom: 10px;
}
.project-title .arrow {
  color: var(--et-heading);
  font-weight: 800;
  transition: transform .2s;
  display: inline-block;
}
.project-card:hover .arrow { transform: translateX(4px); }
.project-excerpt {
  font-family: var(--et-font-body);
  font-size: 15px; line-height: 22px;
  color: var(--et-text-muted);
}

.info-box {
  background: var(--et-lys-stein);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 40px;
  text-align: center;
}
.info-box h2 {
  font-family: var(--et-font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--et-heading);
  margin-bottom: 10px;
}
.info-box p {
  color: var(--et-text-muted);
  line-height: 24px;
}
