/*GENEREL*/
body {
	background: #def0ea;
}

main h1 {
    background: #564792;
    color: #FFF;
    padding: 10px 20px;
    margin-left: -20px;
}

main h2 {
    color: #ff5f0e !important;
}

.rich-text {
    color: #2b224d;
}


@media screen and (min-width: 1070px) {
    .paragraphs__item.paragraphs__item--medias:has(+ .paragraphs__item--text_body) .medias.medias--single .medias__item {
        border: 0 !important;
        background-color: transparent !important;
    }
}

/*BØRN*/
.herlitt-born .topbanner {
	background: #f7a833;
}
.herlitt-born .topbanner img {
	margin: auto;
}
@media screen and (max-width:767px) {
	.herlitt-born .topbanner {
		padding:10px;
	}
	.herlitt-born .topbanner img {
		max-height:175px;
	}
}


.herlitt-born .bundbanner {
    margin-bottom: -62px;
    margin-top: 75px;
}
.herlitt-born .bundbanner img {
    width: 100%;
}
@media screen and (min-width: 768px) {
	.herlitt-born .bundbanner img {
    height: 12.7vw;
    object-fit: cover;
    object-position: top;
	}
}


/*VOKSEN*/
.herlitt-voksne .topbanner {
	background: #ff5f0e;
}

.herlitt-voksne .topbanner img {
	margin: auto;
}

.herlitt-voksne .bundbanner {
	margin-bottom: -65px;
  margin-top: 120px;
}

.herlitt-voksne .bundbanner img {
	margin: auto;
}

.herlitt-voksne .hero {
    grid-template-columns: 3fr 4fr;
    background-color: #eb5f1e;
}
.herlitt-voksne .hero * {
    color: #FFF;
}
.herlitt-voksne .hero h1 {
	background-color: #564792;
  color: #fff;
  padding: 10px;
  margin: -80px -75px 34px -160px;
  position: relative;
}

@media screen and (max-width: 768px) {
	.herlitt-voksne .hero {
		display: flex;
    flex-direction: column-reverse;
	}
	.herlitt-voksne .hero h1 {
		margin: -70px 10px 2px -10px;
	}
	.herlitt-voksne .hero .hero__description {
		font-size: 16px;
		line-height: 25px;
	}
	.herlitt-voksne .hero img {
		margin-top: 20px;
	}
}