/*
 * SJ Bucket Pages — Frontend CSS
 */

/* ─── Base ────────────────────────────────────────────────────────────────── */
.sjb-hero,
.sjb-content-section,
.sjb-secondary-section {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */

.sjb-hero {
	overflow: hidden;
}

/* To kolonner: tekst til venstre, billede til højre */
.sjb-hero-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 60px;
	display: grid;
	grid-template-columns: 50% 50%;
	align-items: flex-end;
	min-height: 480px;
	box-sizing: border-box;
}

/* Venstre: eyebrow + H1 */
.sjb-hero-content {
	padding: 90px 60px 80px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.sjb-eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 400;
	margin: 0;
	/* farve sættes via inline style */
}

/* Ingen font-weight på overskrifterne: de følger sitets globale h1–h6-regel i Ekstra CSS. */
.sjb-hero-title {
	font-size: 48px;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
	/* farve sættes via inline style */
}

/* Højre: produktbillede */
.sjb-hero-image {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
}

.sjb-hero-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	max-height: 460px;
	height: auto;
	object-fit: contain;
	object-position: bottom center;
}

/* ─── INDHOLDSSEKTION ─────────────────────────────────────────────────────── */

.sjb-content-section {
	background-color: #ffffff;
	padding: 100px 0;
}

/* Smalere indholdsbred — centreret med god luft i siderne */
.sjb-content-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 220px; /* begrænser tekstbredden markant */
	box-sizing: border-box;
}

.sjb-content-heading {
	font-size: 36px;
	line-height: 1.15 !important;
	letter-spacing: -0.01em;
	color: #00192F !important;
	margin: 0 0 32px !important;
}

.sjb-body-content p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #374151;
	margin: 0 0 20px;
}

.sjb-body-content p:last-child {
	margin-bottom: 0;
}

.sjb-body-content ul,
.sjb-body-content ol {
	padding-left: 22px;
	color: #374151;
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 20px;
}

/* ─── SEKUNDÆRT BILLEDE ───────────────────────────────────────────────────── */

.sjb-secondary-section {
	padding: 0;
	overflow: hidden;
}

.sjb-secondary-image-wrap {
	width: 100%;
	max-height: 520px;
	overflow: hidden;
}

.sjb-secondary-image-wrap img {
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ─── TABLET (768px – 1024px) ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.sjb-hero-inner {
		padding: 0 40px;
		grid-template-columns: 55% 45%;
		min-height: 380px;
	}

	.sjb-hero-content {
		padding: 70px 40px 60px 0;
	}

	.sjb-hero-title {
		font-size: 36px !important;
	}

	.sjb-content-section {
		padding: 80px 0;
	}

	.sjb-content-inner {
		padding: 0 80px;
	}

	.sjb-content-heading {
		font-size: 28px;
	}
}

/* ─── MOBIL (< 768px) ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	/* Hero: billede over tekst */
	.sjb-hero-inner {
		padding: 0 24px;
		grid-template-columns: 1fr;
		min-height: unset;
	}

	.sjb-hero-image {
		order: -1;
		padding-top: 40px;
	}

	.sjb-hero-image img {
		max-height: 260px;
	}

	.sjb-hero-content {
		padding: 24px 0 56px;
	}

	.sjb-hero-title {
		font-size: 30px !important;
	}

	.sjb-content-section {
		padding: 60px 0;
	}

	.sjb-content-inner {
		padding: 0 24px;
	}

	.sjb-content-heading {
		font-size: 24px;
	}

	.sjb-secondary-image-wrap {
		max-height: 260px;
	}
}
