/* GOSEO landing pages: loaded only on pages GOSEO made (GOSEO_Landing::enqueue).
   Colors come from the theme where it offers them; logical properties keep RTL right. */

.goseo-lp {
	--goseo-lp-accent: var(--wp--preset--color--primary, #0b6e4f);
	--goseo-lp-soft: rgba(127, 127, 127, 0.08);
	--goseo-lp-radius: 14px;
	--goseo-lp-gap: clamp(1rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 5vw, 3.5rem);
	margin-block: 1rem 2rem;
}

.goseo-lp *,
.goseo-lp *::before,
.goseo-lp *::after {
	box-sizing: border-box;
}

.goseo-lp h2 {
	margin-block: 0 0.75rem;
	line-height: 1.25;
}

.goseo-lp p {
	margin-block: 0 0.9rem;
	line-height: 1.7;
}

.goseo-lp p:last-child {
	margin-block-end: 0;
}

/* The top of the page: its picture, the promise, the button. */
.goseo-lp-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(260px, 42vw, 460px);
	padding: clamp(1.5rem, 5vw, 3rem);
	overflow: hidden;
	border-radius: var(--goseo-lp-radius);
	background: #243b35;
	color: #fff;
	text-align: center;
}

.goseo-lp-hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.goseo-lp-hero.goseo-lp-has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));
}

.goseo-lp-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 42rem;
}

.goseo-lp .goseo-lp-subtitle {
	margin-block-end: 1.4rem;
	color: #fff;
	font-size: clamp(1.25rem, 3.2vw, 1.9rem);
	font-weight: 700;
	line-height: 1.35;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.goseo-lp .goseo-lp-cta {
	margin: 0;
}

.goseo-lp .goseo-lp-button {
	display: inline-block;
	padding: 0.85em 1.9em;
	border-radius: 999px;
	background: var(--goseo-lp-accent);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: filter 0.15s ease;
}

.goseo-lp .goseo-lp-button:hover,
.goseo-lp .goseo-lp-button:focus-visible {
	color: #fff;
	filter: brightness(1.1);
}

.goseo-lp .goseo-lp-button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.goseo-lp .goseo-lp-intro {
	max-width: 48rem;
	margin-inline: auto;
	font-size: 1.15em;
	text-align: center;
}

/* Benefits: as many columns as fit, one on a phone. */
.goseo-lp-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: var(--goseo-lp-gap);
}

.goseo-lp-benefit {
	padding: 1.25rem 1.4rem;
	border-radius: var(--goseo-lp-radius);
	background: var(--goseo-lp-soft);
}

.goseo-lp-benefit h3 {
	margin-block: 0 0.4rem;
	font-size: 1.1em;
}

/* Sections: text beside its picture from tablet width up, alternating sides. */
.goseo-lp-section {
	display: grid;
	gap: var(--goseo-lp-gap);
	align-items: center;
}

@media (min-width: 782px) {
	.goseo-lp-section.goseo-lp-has-image {
		grid-template-columns: 1fr 1fr;
	}

	.goseo-lp-section.goseo-lp-flip .goseo-lp-figure {
		order: -1;
	}
}

.goseo-lp .goseo-lp-figure {
	margin: 0;
}

.goseo-lp-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--goseo-lp-radius);
}

.goseo-lp-faq {
	width: 100%;
	max-width: 48rem;
	margin-inline: auto;
}

.goseo-lp-faq h3 {
	margin-block: 1.25rem 0.35rem;
	font-size: 1.05em;
}

.goseo-lp-closing {
	padding: clamp(1.5rem, 5vw, 2.5rem);
	border-radius: var(--goseo-lp-radius);
	background: var(--goseo-lp-soft);
	text-align: center;
}

.goseo-lp-closing .goseo-lp-cta {
	margin-block-start: 1.2rem;
}
