/* ================= HERO ================= */
.t12m-hero-referens {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: #fff;
	padding: calc(100vw * 0.24) calc(100vw * 0.08) 100px;
	text-align: left;
	border-bottom: 10px solid #018240;
}

.t12m-hero-referens .t12m-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
	z-index: 1;
}

.t12m-hero-referens .t12m-hero-inner {
	position: relative;
	z-index: 2;
}
@media only screen and (min-width: 1000px){
	.t12m-hero-referens .t12m-hero-inner {
		max-width: 50%;
	}
}
@media only screen and (max-width: 1000px){
	.t12m-hero-referens {
		padding: calc(100vw * 0.24) calc(100vw * 0.08) 35px;
	}
}
.t12m-hero-referens .t12m-hero-title {
	color: #fff;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.t12m-hero-referens .t12m-hero-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.5rem;
}

.t12m-hero-referens .t12m-tag {
		background: #f4f6ef;
	border-radius: 8px;
	padding: 6px 20px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4em;
	color: #000;
}

/* ================= CONTENT ================= */
.t12m-referens-content {
	padding: 30px calc(100vw * 0.08);
}

.t12m-referens-content .t12m-container {
}

.t12m-excerpt {
	padding: calc(100vw * 0.04) 0px;
}

.t12m-visningstext {
	margin-bottom: 3rem;
	color: #444;
	font-style: italic;
	text-align: center;
}
/* === Referensprojekt gallery refinement === */
.t12m-gallery-collage .portfolio-items.masonry-items {
	gap: 10px !important;
}

.t12m-gallery-collage .portfolio-items .col {
	padding: 15px !important;
}

.t12m-gallery-collage .work-item.style-2 {
	border-radius: 15px !important;
	overflow: hidden;
}

.t12m-gallery-collage .work-item img {
	border-radius: 15px;
	width: 100% !important;
	height: 540px !important;
	object-fit: cover;
}

.t12m-gallery-collage .portfolio-items.masonry-items {
	margin: 0 auto;
}

@media only screen and (min-width: 1000px){
	.t12m-gallery-collage .span_6:nth-child(1) {
		width: 66.666% !important;
	}
	.t12m-gallery-collage .span_6:nth-child(2) {
		width: 33.333% !important;
	}
	.t12m-gallery-collage .span_6:nth-child(3) {
				width: 33.333% !important;
	}
	.t12m-gallery-collage .span_6:nth-child(4) {
		width: 66.666% !important;
	}
	.t12m-gallery-collage .span_6:nth-child(5) {
		width: 66.666% !important;
	}
	.t12m-gallery-collage .span_6:nth-child(6) {
		width: 33.333% !important;
	}
}
@media only screen and (max-width: 1000px){
	.t12m-gallery-collage .span_6 img {
		height: 320px !important;
	}
}


.t12m-hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 20px;
}
