/* GØR H2 PÆNERE/STØRRE HVIS DEN ER ENESTE ELEMENT I BRØDTEKST PARAGRAPH */
/*.paragraphs__item.paragraphs__item--text_body:has(+ .hb_cards) .rich-text h2:only-child, .paragraphs__item.paragraphs__item--text_body:has(+ .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots) .rich-text h2:only-child {*/
.paragraphs__item.paragraphs__item--text_body .rich-text h2:only-child {
    font-family: "Lora", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    color: initial;
    line-height: 32px;
    display: flex;
    flex-grow: 1;
    position: relative;
    margin-top: 60px;
    margin-bottom: -10px;
}
@media screen and (min-width: 1024px) {
	/*.paragraphs__item.paragraphs__item--text_body:has(+ .hb_cards) .rich-text h2:only-child, .paragraphs__item.paragraphs__item--text_body:has(+ .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots) .rich-text h2:only-child {*/
	.paragraphs__item.paragraphs__item--text_body .rich-text h2:only-child {
		font-size: 44px;
  }
}
@media screen and (min-width: 768px) {
  /*.paragraphs__item.paragraphs__item--text_body:has(+ .hb_cards) .rich-text h2:only-child, .paragraphs__item.paragraphs__item--text_body:has(+ .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots) .rich-text h2:only-child {*/
  .paragraphs__item.paragraphs__item--text_body .rich-text h2:only-child {
      line-height: 120%;
  }
}

/*.paragraphs__item.paragraphs__item--text_body:has(+ .hb_cards) .rich-text h2:only-child:before, .paragraphs__item.paragraphs__item--text_body:has(+ .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots) .rich-text h2:only-child:before {*/
.paragraphs__item.paragraphs__item--text_body .rich-text h2:only-child:before {
	top: auto;
    bottom: -0.4em;
    width: 80px;
    right: auto;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='81' height='16' viewBox='0 0 81 16' fill='none'><path d='M3 10C29.8561 3.71312 50.1886 4.9889 78 5.35819' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    position: absolute;
    content: "";
    left: 8px;
    height: .4em;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* TILRETTER LINK-PARAGRAPH DER FØLGER UMIDDELBART EFTER MATERIALE GRID */
.paragraphs__item[class*="paragraphs__item--material_grid"]:has(button.material-grid__show-more) + .paragraphs__item.paragraphs__item--links {
	display: none;
}
.paragraphs__item[class*="paragraphs__item--material_grid"] + .paragraphs__item.paragraphs__item--links {
	margin-top: 10px;
  max-width: 1056px;
}

.paragraphs__item[class*="paragraphs__item--material_grid"] + .paragraphs__item.paragraphs__item--links a {
	border: 0;
  font-size: 30px;
  padding: 0;
  gap: 0;
  display: flex;
}
@media screen and (max-width: 767px) {
	.paragraphs__item[class*="paragraphs__item--material_grid"] + .paragraphs__item.paragraphs__item--links a {
		flex-direction: column;
		font-size: 20px;
		align-items: flex-start;
	}
	.paragraphs__item[class*="paragraphs__item--material_grid"] + .paragraphs__item.paragraphs__item--links a svg {
		margin-top: 10px;
    align-self: flex-start;
    margin-left: 0 !important;
	}
}

.paragraphs__item[class*="paragraphs__item--material_grid"] + .paragraphs__item.paragraphs__item--links a .link-with-icon__icon {
	display:none;
}

.paragraphs__item[class*="paragraphs__item--material_grid"] + .paragraphs__item.paragraphs__item--links a svg {
	visibility: visible;
  opacity: 1;
  margin-left: 20px;
  display: block;
}