/* make custom width to fit content */
.custom-width {
	width: fit-content !important;	
}

/* Filters */
.filter-row, .pf-tags {
	display: flex;
	flex-direction: row;
	align-items: center;
	row-gap: 5px;
	column-gap: 5px;
	flex-wrap: wrap;
}

.pill, .pf-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06px;
	text-transform: uppercase;
	padding: 4.8px 11.2px;
	border-radius: 999px;
	align-self: flex-start;
	cursor: pointer;
	line-height: 1rem;
	border: none;
}

.pill:hover, .pf-tag:hover {
	color: #EA559D;
}

.pill.is-active {
  outline: 2px solid #000;
}

.reset-filters {
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid #E05060;
	color: #E05060;
  background: transparent;
  cursor: pointer;
}

.reset-filters:hover, .reset-filters:focus, .reset-filters:active {
	color: #fff;
	background: #E05060;
	border-color: #E05060;
}

.color-green, 
.color-green:focus {
	color: #2DBE8A;
	background: #E2F2EB;
	background-color: #E2F2EB;
	border-color: #E2F2EB;
}

.color-blue, .color-blue:focus {
	color: #3D9BE8;
	background: #E8F3FA;
	background-color: #E8F3FA;
	border-color: #E8F3FA;
}

.color-yellow, .color-yellow:focus {
	color: #B67C0A;
	background: #F5EDDD;
	background-color: #F5EDDD;
	border-color: #F5EDDD;
}

.color-purple, .color-purple:focus {
	background: #F1EBF8;
	color: #9B72CF;
	background-color: #F1EBF8;
	border-color: #F1EBF8;
}

.color-green:hover {
	color: #E05060;
	background-color: #E2F2EB;
	border-color: #E2F2EB;
} 
.color-blue:hover {
  color: #E05060;
	background-color: #E8F3FA;
	border-color: #E8F3FA;
}

.color-yellow:hover {
	color: #E05060;
	background-color: #F5EDDD;
	border-color: #F5EDDD;
} 

.color-purple:hover {
	color: #E05060;
	background-color: #F1EBF8;
	border-color: #F1EBF8;
}

.push-bottom {
	margin-top: auto;
}


.recommended-badge {
  display: inline-block;
  background: white;
  color: #FF3CAC;
  padding: 6px 8px 6px 8px;
  border-radius: 4px 4px 4px 4px;
  font-weight: 700;
	font-size: 24px;
}

.custom-breadcrumb p {
	margin-bottom: 0;
	font-size: 14px;
}

.elementor-widget-text-editor h2 {
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
  font-size: 31px;
	padding-bottom: 14px;
	margin-bottom: 0;
}

@media (max-width: 1024px) {
  .elementor-widget-text-editor h2 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .elementor-widget-text-editor h2 {
    font-size: 26px;
  }
}

.elementor-widget-text-editor h3 {
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
  font-size: 24px;
	padding-bottom: 14px;
	margin-bottom: 0;
}

@media (max-width: 1024px) {
  .elementor-widget-text-editor h3 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .elementor-widget-text-editor h3 {
    font-size: 20px;
  }
}

.source-rte-block.elementor-widget-text-editor p {
	margin-bottom: 0;
}

.elementor-widget-text-editor ul {
	margin-left: 22px;
	margin-bottom: 20px;
}

.elementor-widget-text-editor li {
	margin-bottom: 9px;
}

.woocommerce-js h2 {
	margin-bottom: 0;
}

.insight-table {
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #E2E8F0;
}

/* ROW BASE */
.insight-table .row {
	display: grid;
}

/* 2 COLUMNS → 50 / 50 */
.insight-table.has-2-cols .row {
	grid-template-columns: 1fr 2fr;
}

/* 3 COLUMNS → 33 / 33 / 33 */
.insight-table.has-3-cols .row {
	grid-template-columns: 1fr 1fr 1fr;
}

/* CELLS */
.insight-table .cell {
    padding: 8px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
}

/* REMOVE LAST COLUMN BORDER */
.insight-table .row .cell:last-child {
	border-right: none;
}

/* HEADER */
.insight-table .header {
	background: #0D2040;
	color: #fff;
	font-weight: 600;
}

.insight-table .row.header .cell {
	font-size: 14px;
}

.insight-table .row .cell {
	font-size: 16.5px;
}

/* ROW COLORS */
.insight-table .row-grey {
	background: #F8FAFC;
}

.insight-table .row-white {
	background: #FFFFFF;
}

/* REMOVE LAST ROW BORDER */
.insight-table .row:last-child .cell {
	border-bottom: none;
}

/* IMPORTANT: MOBILE BEHAVIOR (NO STACKING) */
@media (max-width: 768px) {
	.insight-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.insight-table .row {
		min-width: 600px; /* forces horizontal scroll instead of collapse */
	}
	.insight-table .cell {
		white-space: nowrap;
	}
}



/* INSIGHT FAQ ITEM */

.insight-faq {
	width: 100%;
}

.insight-faq .faq-item {
	border: 1px solid #DDE8EF;
	border-radius: 11px;
	margin-bottom: 12px;
	overflow: hidden;
	background: #fff;
}

/* INSIGHT FAQ BUTTON */
.insight-faq .faq-question {
	text-align: left;
	cursor: pointer;
	border: 0;
	background: #fff;
	font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
	font-weight: 700;
	font-size: 17.5px;
	color: #0D2040;
	padding: 18px 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	width: 100%;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}

.insight-faq .faq-question:hover {
	background: #F4F7FA;
}

/* TITLE FAQ INSIGHT */
.insight-faq .faq-title {
	font-size: 16px;
	color: #111827;
	flex: 1;
	min-width: 0;
}

/* ICON FAQ INSIGHT */
.insight-faq .faq-icon i {
	font-size: 16px;
	color: #3D9BE8;
	transition: transform 0.25s ease, color 0.25s ease;
	flex-shrink: 0;
}

/* ROTATE FAQ INSIGHT ICON */
.insight-faq .faq-item.active .faq-icon i {
	transform: rotate(180deg);
}

/* ANSWER FAQ INSIGHT */
.insight-faq .faq-answer {
	max-height: 0;
	overflow: hidden;
  padding: 0 15px;
	transition: max-height 0.35s ease, padding 0.25s ease;
	margin: 0;
	color: #556B7A;
	font-size: 16.5px;
}

/* OPEN STATE FAQ INSIGHT */
.insight-faq .faq-item.active .faq-answer {
	max-height: 2000px;
	padding: 15px;
}

/* REMOVE LAST BORDER FAQ INSIGHT */
.insight-faq .faq-item:last-child .faq-answer {
	border-bottom: none;
}

.hero .display {
	position: relative;
	color: white;
}

.hero h1 {
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	font-size: 72px;
}

.hero .struck {
	color: #94AFBC;
	text-decoration: line-through;
	text-decoration-color: #FF3CAC;
	text-decoration-thickness: 3px;
}

.hero .accent {
	position: relative;
	color: #3D9BE8;
}

.hero .accent::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: .06em;
	height: 3px;
	background: #FF3CAC;
	border-radius: 2px;
}

@media (max-width: 1024px) {
  .hero h1 {
	  font-size: 42px;
  }
}

@media (max-width: 767px) {
  .hero h1 {
	  font-size: 36px;
  }
}

.case-results-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
  .case-results-boxes {
	  grid-template-columns: repeat(1, 1fr);
  }
}

.case-results-box {
	flex: 1;
	min-width: 140px;
	background: #F4F7FA;
	border: 1px solid #DDE8EF;
	border-radius: 10px;
	padding: 20px;
}

.case-results-box__title {
	font-size: 34px;
  color: #3D9BE8;
	line-height: 1;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
}

.case-results-box__text {
	font-size: 14px;
	color: #556B7A;
	margin-top: 8px;
}

@media (max-width: 767px) {
    .case-results-boxes {
        grid-template-columns: 1fr;
    }
}

/* Custom RTE for Case / Insight */
.custom-rte ul {
	margin-left: 22px;
	margin-bottom: 20px;
}

.custom-rte ul li {
	margin-bottom: 9px;
}

.custom-rte h3, .custom-rte h2 {
	margin-top: 42px;
} 

.custom-rte p {
	margin-bottom: 18px;
}

@media (max-width: 1024px) {
  .custom-rte ul {
		margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .custom-rte ul {
		margin-bottom: 0;
  }
}

.rte-no-margin p {
	margin-bottom: 0;
}

/* cardbob animation for icons */
@keyframes cardBob {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2.5deg);
    }
}

.cardbob {
    animation: cardBob 4.5s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

/* Insight authors */
.insight-author {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 22px;
	margin-bottom: 32px;
	border: 1px solid #DDE8EF;
	border-radius: 14px;
	background: #F4F7FA;
}

.insight-author__image {
	flex-shrink: 0;
}

.insight-author__image img {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
}

.insight-author__name {
	font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
	font-weight: 700;
	color: #0A1628 !important;
	font-size: 16px !important;
	margin: 0;
}

.insight-author__description {
	margin: 0;
	font-size: 15px;
	color: #556B7A;
	line-height: 1.7;
}

/* Subscriptions */
.subscription-pricing {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6em;
	color: #556B7A;
}

/* subscription filters */
.employee-filter, .billing-filter {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	color: #556B7A;
	padding: 8px 14px;
	border-radius: 999px;
	text-transform: initial !important;
}

@media (max-width: 1024px) {
  .employee-filter, .billing-filter {
	  font-size: 14px;
  }
}


.employee-filter.active, .billing-filter.active {
	color: #FFFFFF;
	background: #3D9BE8;
}

.subscription-price-title, #price-starter {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #0A1628;
	margin-bottom: 0;
}

.subscription-starting-price-title {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6em;
	color: #556B7A;
	margin-bottom: 0 !important;
}

/* Case breadcrumb */
.pf-breadcrumbs {
	font-size: 13px;
	margin-bottom: 20px;
}

.pf-breadcrumb-current {
	color: #556B7A;
}

/*Sammenligningstabel*/
.toggle-box {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}

.toggle-box__button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 0;
	background: #fff;
	cursor: pointer;
	font: inherit;
	color: #0D2040;
	list-style: none;
	font-weight: 700;
	border-radius: 0;
	font-size: 16px;
	text-transform: lowercase;
}

.toggle-box__button:hover, .toggle-box__button:active, .toggle-box__button:focus {
	background: #ffffff;
	color: #0D2040;
}

.toggle-text {
	font-weight: 600;
}

.toggle-icon {
	font-size: 24px;
	line-height: 1;
	transition: transform .3s ease;
}

.toggle-content {
	display: none;
	padding: 0 24px 24px;
	margin-top: 20px;
}
.toggle-box.active .toggle-content {
	display: block;
}

.toggle-box.active .toggle-icon {
	transform: rotate(90deg);
}

.compare {
	width: 100%;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	font-size: 15px;
}


/* All rows */
.compare__row {
	display: grid;
	grid-template-columns: minmax(320px, 2.2fr) repeat(5, 1fr);
	border-bottom: 1px solid #e8e8e8;
}


/* Cells */
.compare__row > div {
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.4;
	min-height: 56px;
}


/* First column */
.compare__row > div:first-child {
	justify-content: flex-start;
	text-align: left;
	font-weight: 500;
}


/* Header */
.compare__header {
	font-weight: 700;
	border-bottom: 1px solid #ddd;
}


.compare__header > div:first-child {
	background: #fafafa;
	justify-content: flex-start;
}


.compare__header > div:not(:first-child) {
	font-weight: 700;
}


/* Target audience row */
.compare__intro {
	background: #fafafa;
}


.compare__intro > div {
	font-size: 14px;
	color: #444;
}


.compare__intro > div:first-child {
	font-weight: 700;
	color: #111;
}


/* Section separators */
.compare__section {
	display: block;
	padding: 18px;
	background: #f4f4f4;
	border-bottom: 1px solid #ddd;
	font-weight: 700;
	font-size: 16px;
}


/* Package colours */
.table-background-green {
	color: #2DBE8A !important;
}

.table-green {
	color: #2DBE8A !important;
	font-size: 18px !important;
}

.table-blue {
	color: #3D9BE8 !important;
}

.table-pink {
	color: #FF3CAC !important;
}

.table-yellow {
	color: #E8A020 !important;
}

.table-purple {
	color: #9B72CF !important;
}


/* Checkmarks */
.compare__row > div:not(:first-child) {
	font-size: 14px;
	font-weight: 500;
}


/* Improve dash appearance */
.compare__row > div:not(:first-child):has(+ *) {
	color: #333;
}


/* Remove bottom border from last row */
.compare__row:last-child {
	border-bottom: none;
}


/* Hover effect */
.compare__row:not(.compare__header):hover {
	background: #fafafa;
}


/* Mobile / tablet */
@media (max-width: 1100px) {
	.compare {
		overflow-x: auto;
		border-radius: 10px;
	}

	.compare__row {
		min-width: 1100px;
	}
}


/* Small screens */
@media (max-width: 600px) {
	.compare {
		font-size: 14px;
	}

	.compare__row > div {
		padding: 14px;
	}
}

/* Desktop */
#mobileCompare {
	display:none;
}


@media(max-width:1200px){
	.compare {
		display:none;
	}

	#mobileCompare {
		display:block;
	}

	.mobile-compare__selectors {
		display:grid;
		grid-template-columns:1fr 1fr;
		gap:12px;
		margin-bottom:20px;
	}

	.mobile-compare__selectors select {
		width:100%;
		padding:12px;
		border:1px solid #ddd;
		border-radius:8px;
		background:white;
		font-size:14px;
		font-weight:600;
	}

	.mobile-compare__row {
		display:grid;
		grid-template-columns:1.5fr 1fr 1fr;
		border-bottom:1px solid #e8e8e8;
	}

	.mobile-compare__row > div {
		padding:14px 10px;
		font-size: 14px;
		display:flex;
		align-items:center;
		justify-content:center;
		text-align:center;
	}

	.mobile-compare__row .mobile-feature {
		justify-content:flex-start;
		text-align:left;
		font-weight:500;
	}

	.mobile-compare__section {
		padding:16px 10px;
		background:#f4f4f4;
		font-weight:700;
	}

	.mobile-compare__package-title {
		font-weight:700;
		background:#fafafa;
	}
}

/* Case FAQ boxes */
.case-faq-boxes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 20px;
	column-gap: 20px;
}

@media (max-width: 767px) {
  .case-faq-boxes {
		grid-template-columns: repeat(1, 			1fr);
	}
}

.case-faq-box {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	gap: 0px 0px;
	row-gap: 0px;
	column-gap: 0px;
	border: 1px solid #DDE8EF;
	border-radius: 16px;
	padding: 32px;
}

.case-faq-box-title {
	font-family: "DM Sans", Sans-serif;
	font-size: 24px !important;
	line-height: 1.2em;
	font-weight: 700 !important;
	color: #0A1628;
	padding: 0px 0px 24px 0px;
	margin: 0;
}

.case-faq-box-text {
	font-family: "DM Sans", Sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4em;
	color: #0A1628;
}

.case-faq-box-text p {
	margin: 0;
}

.case-branche {
	font-family: "DM Sans", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #556B7A;
	margin-top: -1px;
}

.case-facts-branche {
	font-size: 16px;	
	margin-top: -5px;
}

/* Custom full height for employee cards */
.custom-full-height {
	height: 100% !important;
}