body {
  background-color: #0f0f0f;
  color: #eaeaea;
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #0f0f0f;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #444;
}

.logo {
  display: flex;
  align-items: center;
  color: #d4af37;
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  text-decoration: none;
}

nav a {
  color: #caa85e;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: bold;
}

.hero {
  padding: 3rem 2rem;
  text-align: center;
}

.intro h1 {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.preview {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
}

.box {
  width: 40%;
  background-color: #1a1a1a;
  padding: 1rem;
  border: 1px solid #444;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
}

/* Container for blog-siden */
main.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  /* Hovedtitel på siden */
  main.container > h1 {
    font-family: 'EB Garamond', serif;
    font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* Det enkelte blogindlæg */
  .blog-post {
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transition: box-shadow 0.3s ease;
  }
  
  .blog-post:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  }
  
  /* Titel på blogindlægget */
  .blog-post h2 {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #d4af37;
  }
  
  /* Link på titlen */
  .blog-post h2 a {
    color: #d4af37;
    text-decoration: none;
  }
  
  .blog-post h2 a:hover {
    text-decoration: underline;
  }
  
  /* Dato og kategori */
  .blog-post small {
    font-family: 'Lato', sans-serif;
    color: #999;
    display: block;
    margin-bottom: 1rem;
    font-style: italic;
  }
  
  /* Uddraget */
  .blog-post p {
    font-family: 'Lato', sans-serif;
    color: #eaeaea;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  /* Læs mere-link */
  .blog-post a {
    font-weight: bold;
    color: #d4af37;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
  }
  
  .blog-post a:hover {
    text-decoration: underline;
  }

  .fb-groups {
    background: #111;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 12px;
    border: 1px solid #222;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: #ddd;
    text-align: center;
  }
  .fb-groups h2 {
    color: #fff;
    margin-bottom: 1.5rem;
  }
  .group-boxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  @media (min-width: 600px) {
    .group-boxes {
      flex-direction: row;
      justify-content: space-around;
    }
  }
  .group {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    flex: 1;
    border: 1px solid #2a2a2a;
  }
  .group h3 {
    color: #fff;
    margin-bottom: 0.5rem;
  }
  .group p {
    color: #ccc;
    margin-bottom: 1rem;
  }
  .group a {
    color: #9cc;
    text-decoration: none;
    font-weight: bold;
  }
  .group a:hover {
    text-decoration: underline;
    color: #cff;
  }

  footer a {
    color: #9cc;
    text-decoration: none;
  }
  
  footer a:hover {
    color: #cff;
    text-decoration: underline;
  }

/* Mobil-tilpasning */
@media (max-width: 600px) {
  .preview {
    flex-direction: column;
    align-items: center;
  }
  
  .box {
    width: 90% !important; /* Fylder næsten hele skærmen på mobil */
    margin-bottom: 1.5rem;
  }

  .fb-groups {
    padding: 1rem;
    margin: 1rem auto;
  }

  .group-boxes {
    flex-direction: column;
  }

  /* Tilpas overskrifter og tekst */
  .intro h1 {
    font-size: 1.5rem;
  }

  .intro p {
    font-size: 1rem;
  }

  /* Juster padding i hero */
  .hero {
    padding: 2rem 1rem;
  }
  
  /* Gør navigationen mobilvenlig (simplet version) */
  nav a {
    margin-left: 0.75rem;
    font-size: 0.9rem;
  }
}

.pagination {
  text-align: center;
  margin: 2rem 0;
}

.pagination a {
  color: #d4af37;
  margin: 0 0.5rem;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  border: 1px solid #d4af37;
  border-radius: 5px;
}

.pagination a.active {
  background-color: #d4af37;
  color: #0f0f0f;
  font-weight: bold;
}

.pagination a:hover {
  background-color: #caa85e;
  color: #0f0f0f;
}

.video-box {
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #333;
  margin: 2rem auto;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  max-width: 700px; /* ny: smallere bredde */
}

.video-box h2 {
  color: #d4af37;
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.video-box iframe {
  width: 100%;
  height: 360px; /* lidt højere for smallere bredde */
  margin-bottom: 1rem;
  border: none;
  display: block;
}

.video-box p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.quote-box {
  background-color: #1a1a1a;
  border-left: 4px solid #d4af37;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.quote-box footer {
  margin-top: 1rem;
  font-style: italic;
  color: #aaa;
  text-align: right;
}
