/* ── Feature Block Section ────────────────────────────────── */

.feature-block-section {
	background: #fff;
	padding: 96px 5%;
}

.feature-block-gray {
	background: var(--gray-100, #f3f4f6);
}

/* ── Layout ──────────────────────────────────────────────── */

.feature-block-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.feature-block-reversed .feature-block-inner {
	direction: rtl;
}

.feature-block-reversed .feature-block-inner > * {
	direction: ltr;
}

/* ── Image ───────────────────────────────────────────────── */

.feature-block-image {
	overflow: hidden;
	border-radius: 12px;
}

.feature-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 12px;
	transition: transform 0.4s ease;
}

.feature-block-section:hover .feature-block-image img {
	transform: scale(1.03);
}

/* ── Content ─────────────────────────────────────────────── */

.feature-block-content {
	display: flex;
	flex-direction: column;
}

.feature-block-heading {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	color: var(--ink, #0C1F3F);
	margin: 0 0 16px;
}

.feature-block-desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--gray-500, #6b7280);
	margin: 0 0 28px;
}

/* ── Checklist ───────────────────────────────────────────── */

.feature-block-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.feature-block-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--ink, #0C1F3F);
}

.feature-block-list li svg {
	flex-shrink: 0;
}

/* ── Price ───────────────────────────────────────────────── */

.feature-block-price {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink, #0C1F3F);
	margin: 0 0 20px;
}

/* ── Button ──────────────────────────────────────────────── */

.feature-block-btn {
	align-self: flex-start;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
	.feature-block-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.feature-block-reversed .feature-block-inner {
		direction: ltr;
	}
}

/* WYSIWYG-beskrivelse: p-tags fra editoren maa ikke skubbe layoutet */
.feature-block-desc p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.feature-block-desc p:last-child {
  margin-bottom: 0;
}

/* Links i beskrivelsen */
.feature-block-desc a {
  color: var(--crimson, #B91C1C);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.feature-block-desc a:hover {
  color: var(--crimson-dark, #991B1B);
}

/* Links i checklisten: diskrete, men klikbare */
.feature-block-list li a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gray-300, #d1d5db);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.feature-block-list li a:hover {
  color: var(--crimson, #B91C1C);
  text-decoration-color: var(--crimson, #B91C1C);
}

/* ── Afstand top/bund (styres pr. element i Bricks) ───────── */

.feature-block-section.fb-pt-none   { padding-top: 0; }
.feature-block-section.fb-pt-small  { padding-top: 40px; }
.feature-block-section.fb-pt-medium { padding-top: 64px; }
.feature-block-section.fb-pt-large  { padding-top: 96px; }

.feature-block-section.fb-pb-none   { padding-bottom: 0; }
.feature-block-section.fb-pb-small  { padding-bottom: 40px; }
.feature-block-section.fb-pb-medium { padding-bottom: 64px; }
.feature-block-section.fb-pb-large  { padding-bottom: 96px; }

/* ── Billedformat ────────────────────────────────────────── */

.feature-block-image.fb-ratio-square    { aspect-ratio: 1 / 1; }
.feature-block-image.fb-ratio-landscape { aspect-ratio: 4 / 3; }
.feature-block-image.fb-ratio-wide      { aspect-ratio: 16 / 9; }
.feature-block-image.fb-ratio-portrait  { aspect-ratio: 3 / 4; }

.feature-block-image.fb-ratio-square img,
.feature-block-image.fb-ratio-landscape img,
.feature-block-image.fb-ratio-wide img,
.feature-block-image.fb-ratio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Ikoner i checklisten (valgfrit pr. punkt) ────────────── */

.feature-block-list li svg,
.feature-block-list li img,
.feature-block-list li .feature-block-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--crimson, #B91C1C);
}

.feature-block-list li i.feature-block-icon {
  width: auto;
  height: auto;
  font-size: 16px;
  line-height: 1;
}

.feature-block-list li .feature-block-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Valgfri overskrift over checklisten ──────────────────── */

.feature-block-list-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
}

.feature-block-list-heading.fb-lh-ink {
  color: var(--ink, #0C1F3F);
}

.feature-block-list-heading.fb-lh-crimson {
  color: var(--crimson, #B91C1C);
}

/* IKON-OVERRIDE: egne SVG'er maa beholde deres bredde ────── */
/* Det roede standard-checkmark er 16x16. En egen SVG kan     */
/* vaere bredere (fx en pil), saa vi laaser kun hoejden.      */

.feature-block-list li .feature-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 16px;
  width: auto;
  flex-shrink: 0;
  line-height: 1;
}

.feature-block-list li .feature-block-icon svg {
  height: 16px;
  width: auto;
  max-width: 28px;
  display: block;
}

.feature-block-list li img.feature-block-icon {
  height: 16px;
  width: auto;
  max-width: 28px;
}

.feature-block-list li i.feature-block-icon {
  height: auto;
  width: auto;
  font-size: 16px;
  color: var(--crimson, #B91C1C);
}
