/*
 * DMC Landing Pages styling.
 * Change a value here once and every landing page updates.
 */
:root {
	--dmc-headline-color: #d73230; /* the red used on the current pages */
	--dmc-headline-font: 'Roboto Slab', Georgia, serif;
	--dmc-body-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--dmc-card-bg: #ffffff;
	--dmc-card-radius: 10px;
	--dmc-text-color: #222222;
	--dmc-muted-color: #666666;
	--dmc-cta-bg: #d73230;
	--dmc-cta-bg-hover: #b52927;
	--dmc-cta-text: #ffffff;
	--dmc-overlay: rgba(0, 0, 0, 0.5);
	--dmc-max-width: 960px;
	--dmc-field-border: #cccccc;
}

/* Full-bleed section that breaks out of the theme's content width. */
.dmc-lp {
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	font-family: var(--dmc-body-font);
	color: var(--dmc-text-color);
}

/* Dark overlay so copy stays readable over photos. */
.dmc-lp::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--dmc-overlay);
}

.dmc-lp * {
	box-sizing: border-box;
}

/* Full-screen canvas pages (no theme header/footer): sit flush to the edges. */
body.dmc-lp-canvas {
	margin: 0;
	padding: 0;
}

body.dmc-lp-canvas .dmc-lp {
	width: 100%;
	margin-left: 0;
}

/* Keep landing pages distraction-free: hide a site-wide announcement bar
   (the WPCode top bar, id="dmc-top-bar") on these pages. */
body.dmc-lp-canvas #dmc-top-bar {
	display: none !important;
}

.dmc-lp-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--dmc-max-width);
	background: var(--dmc-card-bg);
	border-radius: var(--dmc-card-radius);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	padding: 40px;
	display: flex;
	gap: 36px;
	align-items: center;
}

.dmc-lp-cover {
	flex: 0 0 38%;
}

.dmc-lp-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.dmc-lp-copy {
	flex: 1 1 auto;
}

.dmc-lp-eyebrow {
	margin: 0 0 8px;
	font-style: italic;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
	color: var(--dmc-headline-color);
}

.dmc-lp-headline {
	margin: 0 0 16px;
	font-family: var(--dmc-headline-font);
	color: var(--dmc-headline-color);
	font-size: 2rem;
	line-height: 1.15;
}

.dmc-lp-body {
	margin-bottom: 24px;
	font-size: 1.05rem;
	line-height: 1.5;
}

.dmc-lp-body p {
	margin: 0 0 12px;
}

.dmc-lp-field {
	margin-bottom: 14px;
}

.dmc-lp-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
}

.dmc-lp-field input[type="email"],
.dmc-lp-field input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	font-size: 1rem;
	border: 1px solid var(--dmc-field-border);
	border-radius: 6px;
}

.dmc-lp-optional {
	font-weight: 400;
	color: var(--dmc-muted-color);
}

.dmc-lp-consent {
	margin-bottom: 18px;
	font-size: 0.9rem;
	color: var(--dmc-muted-color);
}

.dmc-lp-consent label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	cursor: pointer;
}

.dmc-lp-consent input {
	margin-top: 3px;
}

.dmc-lp-consent-note {
	margin: 10px 0 0;
	font-size: 0.8rem;
	line-height: 1.4;
}

/* Honeypot: visually removed but still in the DOM for bots to fill. */
.dmc-lp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dmc-lp-cta {
	width: 100%;
	padding: 14px 20px;
	font-family: var(--dmc-body-font);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--dmc-cta-text);
	background: var(--dmc-cta-bg);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dmc-lp-cta:hover {
	background: var(--dmc-cta-bg-hover);
}

.dmc-lp-cta[disabled] {
	opacity: 0.6;
	cursor: default;
}

.dmc-lp-error {
	margin: 14px 0 0;
	padding: 10px 12px;
	background: #fdecea;
	border: 1px solid #f5c6c2;
	border-radius: 6px;
	color: #b5292b;
	font-size: 0.95rem;
}

.dmc-lp-trust {
	margin: 18px 0 0;
	font-size: 0.85rem;
	font-style: italic;
	color: var(--dmc-muted-color);
	text-align: center;
}

@media (max-width: 720px) {
	.dmc-lp {
		min-height: 0;
		padding: 28px 14px;
	}

	.dmc-lp-card {
		flex-direction: column;
		gap: 22px;
		padding: 26px;
	}

	.dmc-lp-cover {
		flex-basis: auto;
		max-width: 220px;
	}

	.dmc-lp-headline {
		font-size: 1.6rem;
	}
}
