/* --- HERO OG BAGGRUNDSBILLEDE --- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2em 1em;
  border-radius: 15px;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* eventuelt overlay til kontrast */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
 /* background: rgba(0,0,0,0.4);*/
  z-index: 1;
}

/* --- INDHOLD ovenpå --- */
.read-more-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* --- LÆS MERE-STYLING --- */
.read-more-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 1.5em;
  max-height: calc(1.5em * 2);
  overflow: hidden;
  transition: max-height 0.8s ease;
}

.read-more-content.expanded {
  -webkit-line-clamp: unset;
  max-height: 100vh;
}

.read-more-toggle {
  display: inline-block;
  margin-top: 0.5em;
  text-decoration: none;
  cursor: pointer;
  font-weight: bold;
  color: #4639E1;
}

/* Små margin-justeringer */
.read-more-container h2,
.read-more-container h3,
.read-more-container p {
  margin: 0.5em 0;
}

/* Små margin-justeringer */
.read-more-container h3 {
  font-size: 20px;
}
/* Mobil-variant under 780px */
@media (max-width: 780px) {
  .read-more-container h3 {
    font-size: 16px;
  }
}