.hb_cards {
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 50px auto;
  gap: 16px 1%;
  padding: 0 16px;
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1) {
  width: 32.66%;
  margin-top: 0px !important;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
}

.hb_cards .nav-spots--count-1, .hb_cards .nav-spots__items, .hb_cards .nav-spots__item, .hb_cards article, .hb_cards a {
	height: 100%;
}

@media only screen and (min-width: 1024px) {
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1):first-child:nth-last-child(2), .hb_cards .paragraphs__item:first-child:nth-last-child(2) ~ .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1) {
	    width: 49.5%;
	}
}

@media only screen and (min-width: 720px) and (max-width: 1023px) {
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1) {
  	width: 49.5%;
	}
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1):nth-child(3n) {
		width: 100%;
	}
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1):nth-child(3n) a {
		flex-direction: row;
	}
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1):nth-child(3n) a figure.nav-spot__media {
		width: 110%;
	}
	
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1):nth-child(6n +6) a {
    flex-direction: row-reverse;
	}
	
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1):nth-child(6n +6) a .nav-spot__text {
    text-align: center;
    padding: 5%;
	}
}

@media only screen and (max-width: 720px) {
	.hb_cards {
  	flex-direction: column;
	}
	.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual:has(.nav-spots--count-1) {
		width: 100%;
  	//padding: 16px;
	}
	/*
	.paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 a {
		aspect-ratio: unset !important;
	}
	*/
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 a {
	display: flex;
	flex-direction: column;
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 .nav-spot__media {
	width: 100%;
	aspect-ratio: unset;
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 .nav-spot__media figcaption.image-credited__info {
	display: none;
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 a .nav-spot__text {
	width: 100%;
	text-wrap-style: balance;
	padding: 5%;
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 a .nav-spot__text h2 {
	font-size: clamp(1.75rem, 0.8793rem + 1.3605vw, 2.125rem);
}

.hb_cards .paragraphs__item.paragraphs__item--nav_spots_manual .nav-spots--count-1 a .nav-spot__text h2 + p {
	font-size: clamp(1.125rem, 1.4152rem + -0.4535vw, 1rem);
}

/* OVERSKRIFTER LIGE FØR CARDS OG NAVIGATIONS SPOTS MED KUN 1 ELEMENT */
.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 {
    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 {
		font-size: 42px;
  }
}
@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 {
      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 {
	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;
}
