main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.card {
  background: #121212;
  padding: 14px;
  border-radius: 14px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
}

.card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none !important;
  color: #ffffff !important;
}

.card-link img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
}

.card-link h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.card-link p {
  font-size: 14px;
  opacity: 0.75;
  margin-top: auto;
}

/* Hero */
.hero {
  position: relative;
  margin: 0 0 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.08));
}

.hero-text h1 {
  margin: 0 0 8px;
  color: #ffffff;
  text-align: left;
  font-size: 42px;
  line-height: 1.1;
}

.hero-text p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.5;
}

/* Billeder i indhold */
.content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  margin: 0 0 18px;
  background: #0f0f0f;
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero img {
    height: 360px;
  }
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero img {
    height: 300px;
  }

  .hero-text {
    padding: 22px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .content img {
    max-height: 260px;
  }
}

@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }

  main {
    padding: 28px 16px 90px;
  }

  .hero {
    margin-bottom: 20px;
  }

  .hero img {
    height: 220px;
  }

  .hero-text {
    padding: 16px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .content img {
    max-height: 220px;
    margin-bottom: 14px;
  }
}