/* HUB */
.project-hub {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.project-hub .intro {
  text-align: center;
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h2 {
  color: #173f85;
  font-size: 1.3rem;
  margin: 1rem;
}

.project-card p {
  margin: 0 1rem 1.5rem;
  color: #444;
  line-height: 1.4;
}

/* SINGLE PROJEKT */
.projekt-single {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  color: #1a1a1a;
  font-family: system-ui, sans-serif;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #173f85;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.projekt-hero {
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.projekt-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.projekt-intro h1 {
  font-size: 2.2rem;
  color: #173f85;
  margin-bottom: 0.3rem;
}

.projekt-intro .undertekst {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.projekt-sektioner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.projekt-blok h2 {
  font-size: 1.3rem;
  color: #173f85;
  margin-bottom: 0.5rem;
}

.projekt-blok p {
  background: #f9fafc;
  padding: 1rem;
  border-left: 4px solid #173f85;
  border-radius: 4px;
  line-height: 1.6;
}

.projektansvarlig {
  margin-top: 1rem;
}

.projektansvarlig img {
  height: 60px;
  width: auto;
  margin-top: .5rem;
}

.projekt-partnere {
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.projekt-partnere h3 {
  color: #173f85;
  margin-bottom: 0.5rem;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.logo-grid img {
  height: 50px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.logo-grid img:hover {
  opacity: 1;
}
