/* Opt-in Local Seller layout for the existing hero and section navigation.
 * WPForms internals belong in forms.css; shared site tokens stay canonical. */
.site-content--local-seller [id] {
	scroll-margin-top: 14rem;
}

.trivers-local-seller-hero {
	position: relative;
	isolation: isolate;
	padding: 2rem 0 3rem;
	background: var(--trivers-navy);
	color: var(--trivers-surface);
}

.trivers-local-seller-hero__backdrop {
	position: absolute;
	z-index: -1;
	inset: 0;
	overflow: clip;
}

.trivers-local-seller-hero__backdrop::after {
	position: absolute;
	inset: 0;
	content: '';
	background: linear-gradient(90deg, rgb(3 35 70 / 94%), rgb(3 35 70 / 75%) 45%, rgb(3 35 70 / 12%));
}

.trivers-local-seller-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.trivers-local-seller-hero__inner {
	display: grid;
	align-items: center;
	gap: 1.75rem;
	width: var(--trivers-page-width);
	margin-inline: auto;
}

.trivers-local-seller-hero__copy {
	min-width: 0;
}

.trivers-local-seller-hero .trivers-local-seller-hero__eyebrow {
	display: inline-block;
	margin: 0 0 .8rem;
	padding: .35rem 1rem;
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 2rem;
	background: rgb(255 255 255 / 10%);
	color: inherit;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.4;
}

.trivers-local-seller-hero .trivers-local-seller-hero__title {
	margin: 0;
	color: inherit;
	font-size: clamp(2rem, 4.2vw, 3.65rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.035em;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.trivers-local-seller-hero .trivers-local-seller-hero__intro {
	max-width: 48ch;
	margin: .9rem 0 0;
	color: inherit;
	font-size: 1.125rem;
	line-height: 1.5;
}

.trivers-local-seller-hero .trivers-local-seller-hero__benefits {
	display: grid;
	gap: .6rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	line-height: 1.5;
}

.trivers-local-seller-hero__benefits li {
	display: flex;
	align-items: center;
	gap: .7rem;
}

.trivers-local-seller-hero__benefits li::before {
	display: block;
	flex: 0 0 1.6rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--trivers-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.2rem no-repeat;
	content: '';
}

/* Shared form shell, explicitly opted into the local composition. */
.trivers-local-seller-hero .trivers-hero__form {
	--trivers-form-control-min-height: 2.5rem;
	--trivers-form-control-font-size: .84rem;
	--trivers-form-label-font-size: .76rem;
	--trivers-form-submit-min-width: 100%;
	--trivers-form-submit-min-height: 2.8rem;
	--trivers-form-submit-font-size: 1rem;
	width: 100%;
	max-width: 440px;
	min-width: 0;
	justify-self: center;
	padding: 1.25rem;
	border-radius: .5rem;
}

.trivers-local-seller-hero .trivers-hero__form h2 {
	font-size: 1.4rem;
	font-weight: 600;
}

.trivers-local-seller-hero .trivers-hero__form-note {
	margin-top: .8rem;
	font-size: .8125rem;
	font-weight: 400;
}

.trivers-section-nav {
	position: relative;
	z-index: 2;
	width: var(--trivers-page-width);
	max-width: none;
	margin: -1.1rem auto 1.5rem;
	padding: .4rem;
	border: 1px solid var(--trivers-border);
	border-radius: .5rem;
	background: var(--trivers-surface);
	box-shadow: 0 .4rem 1.5rem rgb(6 38 74 / 6%);
}

.trivers-section-nav__links {
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
}

.trivers-section-nav__links li {
	flex: 1 0 7.5rem;
	margin: 0;
	padding: 0;
}

.trivers-section-nav__links li + li {
	border-inline-start: 1px solid var(--trivers-border);
}

.trivers-section-nav__links a, .trivers-section-nav__preview-item {
	display: flex;
	min-height: 4rem;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: .25rem;
	padding: .4rem .5rem;
	border-radius: .2rem;
	color: var(--trivers-blue-dark);
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.trivers-section-nav__links a:is(:hover, :focus-visible) {
	background: var(--trivers-blue-soft);
	color: var(--trivers-blue-dark);
}

.trivers-section-nav__links a:focus-visible {
	outline-offset: -3px;
}

.trivers-section-nav__links svg {
	flex: 0 0 24px;
}

@media (min-width: 960px) {
	.trivers-local-seller-hero {
	padding-block: 1.6rem 2.6rem;
}

	.trivers-local-seller-hero__inner {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
	gap: 2.5rem;
	align-items: start;
}
	.trivers-local-seller-hero__copy {
	padding-top: .9rem;
	}

	.trivers-local-seller-hero .trivers-hero__form {
	justify-self: end;
}

}
@media (min-width: 780px) {
	.site-content--local-seller [id] {
	scroll-margin-top: 8rem;
}

}
@media (prefers-reduced-motion: reduce) {
	html:has(.site-content--local-seller) {
	scroll-behavior: auto;
}

}
