/* Page shell for the Senmos prisberegner (page 10747).
   Kept in an external file deliberately: WordPress runs wpautop over post_content
   and injects </p><p> INSIDE inline <style> blocks, which corrupts the first rule
   and kills the whole sheet. External CSS bypasses that entirely. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&display=swap');

.snmpc {
	--pc-ink: #1c2430;
	--pc-brand: #1BAAEC;
	/* .entry-content is already full-bleed on template-blank-4.php, so no 100vw
	   trick. The old `width:100vw; margin-left:calc(50% - 50vw)` overflowed
	   horizontally by the scrollbar width whenever one was showing. */
	width: 100%;
	position: relative;
	background: #2f6fb5 url('/wp-content/uploads/2022/11/Gradient-senmos.jpg') center center / cover no-repeat;
}

.snmpc * { box-sizing: border-box; }
.snmpc p:empty { display: none !important; }

/* wpautop wraps the leading comment and the <link>/<script> tags in bare <p>
   tags. Left alone, the first one sits above the section with a ~23px bottom
   margin and reads as a gap under the nav bar. Everything the page renders is
   inside .snmpc-wrap, so nothing real is hidden here. */
.snmpc > p { display: none !important; }
.snmpc img { max-width: 100%; }

/* 1248 minus 48px of padding is 1200 - the width the CCB calculator had
   on the old page. Narrower and the two-column widget stops matching it. */
.snmpc-wrap {
	max-width: 1248px;
	margin: 0 auto;
	padding: 70px 24px 96px;
	text-align: center;
}

/* Laptop-framed hero: a bare screenshot sits over a transparent frame PNG. The
   percentages are the frame's screen cut-out and are shared with the hardware and
   competitor pages — see SHARED/laptop() in marketing/wordpress/build_provider.py.
   Keep them in step if that frame asset is ever replaced. */
.snmpc-laptop {
	position: relative;
	max-width: 860px;
	margin: 0 auto 34px;
	filter: drop-shadow(0 26px 34px rgba(20, 40, 70, 0.22));
}

.snmpc-laptop .frame {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
}

.snmpc-laptop .screen {
	position: absolute;
	z-index: 1;
	left: 13.25%;
	top: 9.22%;
	width: 73.25%;
	height: 73.11%;
	object-fit: cover;
	object-position: top center;
}

.snmpc h1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	font-size: clamp(28px, 4.4vw, 46px);
	color: #fff;
	margin: 0 0 22px;
}

.snmpc-lead {
	max-width: 62ch;
	margin: 0 auto 46px;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.6;
}

.snmpc-calc { display: flex; justify-content: center; }

.snmpc-foot {
	max-width: 62ch;
	margin: 34px auto 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	line-height: 1.6;
}

.snmpc-foot a { color: #fff; text-decoration: underline; }

@media (max-width: 520px) {
	.snmpc-wrap { padding: 44px 18px 64px; }
}
