/* forside.css. Opdateret: 9.11.2025 */

.vml-intro {
  max-width: 800px;
  margin: 100px auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.vml-intro h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.vml-intro p {
  margin-top: 0;
  font-style: italic;
}

@media (max-width: 600px) {
  .vml-intro {
    padding: 20px;
    font-size: 1rem;
  }

  .vml-intro h1 {
    font-size: 1.8rem;
  }
}

/* Citat-sektion */
.quote-container {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.quote {
  display: flex;
  align-items: flex-start;
  background: var(--quote-bg);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.quote-icon {
  font-size: 1.6rem;
  color: var(--brand-color);
  margin-right: 0.75rem;
}

/* Citatsætning i quote-sektionen */
body.home .quote-text {
  color: black !important;
  font-style: italic;
  font-size: 1.0rem !important;
  line-height: 1.1 !important;
}

/* Kildeangivelse under citatet */
body.home .quote-source {
  color: black !important;
  font-size: 0.9rem !important;
  margin-top: 0.5rem;
  text-align: right;
  display: block;
}

/* (valgfrit) Gør quote-ikon rødt også */
body.home .quote-icon {
  color: black;
}

/* HERO-layout: stabil side-by-side på brede skærme, pæn stacking under ~1100px */
body.home .book-presentation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* Billedet må gerne krympe – ellers presser det layoutet */
body.home .book-image img {
  width: clamp(420px, 40vw, 560px);  /* max ~560, krymper på smallere skærme */
  height: auto;
  max-width: 100%;
}

/* Tekstkolonne – lidt elastisk bredde */
body.home .book-description {
  max-width: min(520px, 46vw);
}

/* Luft efter knapperne (i stedet for <br><br>) */
body.home .book-description .cta-group {
  margin-bottom: 2.5rem;
}

/* Under ~1100px: gå i én kolonne (kontrolleret ombrydning) */
@media (max-width: 1100px) {
  body.home .book-presentation {
    flex-direction: column;
    text-align: center;
  }
  body.home .book-description {
    max-width: 720px; /* pæn læsebredde */
  }
  body.home .book-description .cta-group {
    justify-content: center;
  }
}
