/* Mobile view owned by the plugin. Loaded via wp_enqueue_scripts (max-width: 768px). */

html.emcm-has-landing,
body.emcm-has-landing {
	overflow-x: hidden;
}

body.emcm-has-landing .entry-content,
body.emcm-has-landing .wp-block-post-content,
body.emcm-has-landing .elementor-widget-theme-post-content,
body.emcm-has-landing .ast-article-single,
body.emcm-has-landing .site-main,
body.emcm-has-landing .site-content {
	max-width: 100%;
	overflow-x: hidden;
}

body.emcm-has-landing .emcm-landing {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 20px 0 40px;
}

.emcm-landing .emcm-container {
	width: min(100%, calc(100% - 24px));
}

.emcm-landing h1,
.emcm-landing h2,
.emcm-landing h3,
.emcm-landing h4,
.emcm-landing p,
.emcm-landing a,
.emcm-landing ul,
.emcm-landing li,
.emcm-landing table,
.emcm-landing dt,
.emcm-landing dd {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.emcm-landing .emcm-section-head {
	margin-bottom: 22px;
	padding: 0 4px;
}

.emcm-landing .emcm-section-head h2 {
	font-size: clamp(24px, 7vw, 32px);
}

.emcm-landing .emcm-hero {
	margin-bottom: 32px;
}

.emcm-landing .emcm-hero__inner,
.emcm-landing .emcm-cta__inner,
.emcm-landing .emcm-plan__inner,
.emcm-landing .emcm-extra__inner,
.emcm-landing .emcm-comparison-card__inner {
	padding: 20px 16px;
}

.emcm-landing .emcm-hero__title {
	font-size: clamp(28px, 9vw, 40px);
}

.emcm-landing .emcm-hero__subtitle {
	font-size: 16px;
}

.emcm-landing .emcm-hero__actions {
	flex-direction: column;
	align-items: stretch;
}

.emcm-landing .emcm-btn {
	width: 100%;
	min-height: 44px;
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--emcm-border);
}

.emcm-landing .emcm-plans,
.emcm-landing .emcm-comparison,
.emcm-landing .emcm-extras {
	margin-bottom: 32px;
}

.emcm-landing .emcm-plans__grid,
.emcm-landing .emcm-extras__grid,
.emcm-landing .emcm-plans__grid--1,
.emcm-landing .emcm-plans__grid--2,
.emcm-landing .emcm-plans__grid--3,
.emcm-landing .emcm-plans__grid--4,
.emcm-landing .emcm-extras__grid--1,
.emcm-landing .emcm-extras__grid--2,
.emcm-landing .emcm-extras__grid--3,
.emcm-landing .emcm-extras__grid--4 {
	grid-template-columns: 1fr;
	max-width: none;
	gap: 16px;
}

.emcm-landing .emcm-plan--featured .emcm-plan__inner {
	transform: none;
}

.emcm-landing .emcm-plan__name,
.emcm-landing .emcm-extra__name {
	font-size: 22px;
}

.emcm-landing .emcm-plan__amount,
.emcm-landing .emcm-extra__amount {
	font-size: 28px;
}

.emcm-landing .emcm-comparison__wrap {
	display: none;
}

.emcm-landing .emcm-comparison__cards {
	display: grid;
	gap: 16px;
}

.emcm-landing .emcm-comparison-card__inner h3 {
	margin: 0 0 14px;
	font-size: 20px;
}

.emcm-landing .emcm-comparison-card__inner dl {
	margin: 0;
}

.emcm-landing .emcm-comparison-card__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.emcm-landing .emcm-comparison-card__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.emcm-landing .emcm-comparison-card__row dt {
	margin: 0;
	color: var(--emcm-muted);
	font-size: 13px;
}

.emcm-landing .emcm-comparison-card__row dd {
	margin: 0;
	color: var(--emcm-text);
	font-weight: 700;
	text-align: right;
}
