/*
 * /local-youtube-ads/ (home-local-business.php), rebuilt 2026-11-20.
 * Design record: ops repo docs/design/2026-11-20-local-business-page-rebuild/.
 *
 * Loaded after css/home_minimal.css (the one-screen hero's markup contract, shared with the home page's winning arm and
 * /youtube-shorts-promotion/) and the landing styles (css/real_estate_promotion.css, css/landing_pages.css). Every rule is
 * scoped to .home-min--local or .template-landing-local, so no other page changes. Tokens are the minimal family's
 * (--hm-*); no new colors.
 */

/* The header label: real_estate_promotion.css greys it for the dark landing hero; this page keeps the white header. It
   sits on the logo's left edge, as on the Shorts page, so the long label never runs off a 375 px screen. */
.page-template-home-local-business .site-header .site-branding h1 {
	color: #1a1919;
	font-weight: 500;
	left: 0;
	transform: none;
	bottom: -22px;
}

/* ------------------------------------------------------------------ hero */
.home-min--local .hm-hero {
	min-height: 0;
	padding: 22px 16px 28px;
}
.home-min--local .hm-shell {
	max-width: 560px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "copy" "visual" "form" "proof" "door";
	align-items: start;
}
.home-min--local .lb-copy { grid-area: copy; }
.home-min--local .lb-visual { grid-area: visual; margin: 2px 0 16px; }
.home-min--local .hm-form { grid-area: form; }
.home-min--local .hm-proof { grid-area: proof; margin-top: 16px; }
.home-min--local #lp-door { grid-area: door; margin-top: 10px; }
.home-min--local #lp-door-form { grid-column: 1 / -1; }
.home-min--local .hm-title {
	max-width: none;
	font-size: clamp(33px, 2.4vw + 24px, 58px);
	line-height: 1.02;
}
.home-min--local .hm-sub {
	max-width: 36ch;
	margin-bottom: 14px;
}
.home-min--local .hm-label { text-align: left; }
.home-min--local .hm-hint { text-align: left; }

/* The sample ad (a local shop's video) shows until a pasted link fills #hm-preview, which js/home-minimal.js unhides. */
.home-min--local .lb-visual .hm-preview:not([hidden]) + .lb-sample { display: none; }
.home-min--local .lb-visual .hm-preview { margin: 0; }
.home-min--local .lb-sample { margin: 0; }
.home-min--local .lb-ad {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #111;
	isolation: isolate;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.home-min--local .lb-ad__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home-min--local .lb-ad__badge {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 4px 7px 3px;
	border-radius: 4px;
	background: var(--hm-yellow);
	color: #000;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.home-min--local .lb-ad__skip {
	position: absolute;
	right: 0;
	bottom: 58px;
	padding: 7px 11px 6px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-right: 0;
	color: #fff;
	font-size: 12px;
	line-height: 1;
}
.home-min--local .lb-ad__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 18px 10px 10px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
	color: #fff;
	text-align: left;
}
.home-min--local .lb-ad__dot {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--hm-accent);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.home-min--local .lb-ad__name {
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.home-min--local .lb-ad__btn {
	flex: none;
	padding: 7px 11px 6px;
	border-radius: 16px;
	background: #fff;
	color: #000;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.home-min--local .lb-ad__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34%;
	height: 3px;
	background: var(--hm-yellow);
}
/* The location tag sits on the frame (Google Local Services and Yelp put the local cue inside the ad card; 01-references). */
.home-min--local .lb-tag {
	position: absolute;
	left: 44px;
	top: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px 5px 7px;
	border-radius: 999px;
	background: #fff;
	color: var(--hm-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.home-min--local .hm-preview .lb-tag { left: 10px; }
.home-min--local .lb-tag svg {
	width: 15px;
	height: 15px;
	flex: none;
	color: var(--hm-accent);
}
.home-min--local .lb-sample__cap,
.home-min--local .lb-visual .hm-preview__cap {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 9px 2px 0;
	font-size: 14px;
	line-height: 1.3;
	color: var(--hm-meta);
	text-align: left;
}
.home-min--local .lb-sample__cap svg,
.home-min--local .lb-visual .hm-preview__cap svg {
	width: 21px;
	height: 15px;
	flex: none;
}

@media (min-width: 768px) {
	.home-min--local .hm-hero { padding: 34px 24px 48px; }
	.home-min--local .hm-shell { max-width: 640px; }
	.home-min--local .lb-visual { margin: 6px 0 22px; }
}
/* Desktop: copy and form on the left, the ad on the right (the two-column landing hero). */
@media (min-width: 1025px) {
	.home-min--local .hm-hero { padding: 54px 40px 64px; }
	.home-min--local .hm-shell {
		max-width: 1220px;
		text-align: left;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
		grid-template-areas: "copy visual" "form visual" "proof visual" "door visual";
		grid-template-rows: auto auto auto 1fr;
		column-gap: 64px;
	}
	.home-min--local .hm-title,
	.home-min--local .hm-sub {
		margin-left: 0;
		margin-right: 0;
		text-align: left;
	}
	.home-min--local .hm-title { max-width: 11.5em; }
	.home-min--local .hm-sub { max-width: 37ch; margin-bottom: 22px; }
	.home-min--local .hm-form { max-width: 520px; }
	.home-min--local .hm-proof { justify-content: flex-start; margin-top: 20px; }
	.home-min--local .lb-visual { margin: 8px 0 0; align-self: center; }
	.home-min--local .lb-ad { border-radius: 16px; }
	.home-min--local .lb-ad__badge { left: 14px; top: 14px; font-size: 14px; padding: 5px 8px 4px; }
	.home-min--local .lb-ad__skip { bottom: 76px; font-size: 14px; padding: 9px 13px 8px; }
	.home-min--local .lb-ad__bar { padding: 26px 16px 14px; gap: 12px; }
	.home-min--local .lb-ad__dot { width: 34px; height: 34px; }
	.home-min--local .lb-ad__name { font-size: 18px; }
	.home-min--local .lb-ad__btn { font-size: 15px; padding: 9px 15px 8px; border-radius: 20px; }
	.home-min--local .lb-tag { left: 56px; top: 11px; font-size: 15px; padding: 8px 13px 7px 9px; }
	.home-min--local .hm-preview .lb-tag { left: 14px; }
	.home-min--local .lb-tag svg { width: 17px; height: 17px; }
}

/* ------------------------------------------------------------------ logos */
.template-landing-local .section-logos { margin-top: 36px; }

/* ------------------------------------------------------------------ shared section rhythm */
.template-landing-local .content .section-basic .text_wrapper h2 { line-height: 1.08; }
.template-landing-local .section-faq { margin-top: 0; max-width: none; }
.template-landing-local .lb-section { padding: 0 16px; }
.template-landing-local .lb-section .text_wrapper .h2_text { line-height: 1.4; }
.template-landing-local .section-answer .answer_text a,
.template-landing-local .lb-section a { color: var(--hm-accent, #0042ff); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ where the ad plays */
.template-landing-local .lb-tv {
	max-width: 1100px;
	margin: 36px auto 0;
}
.template-landing-local .lb-tv img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}
.template-landing-local .lb-tv figcaption {
	margin-top: 10px;
	text-align: center;
	font-size: 16px;
	color: #5f5f5f;
}
/* The three placement mocks keep the home page's .section-how styles (style.css, body .home); this page has no section
   heading inside them, so the container starts at the top. */
.template-landing-local .lb-mocks { margin-top: 28px; padding: 0; }
.template-landing-local .lb-mocks .example-container { margin-top: 0; }

/* ------------------------------------------------------------------ three ways to pick an area */
.template-landing-local .lb-area__cards {
	max-width: 1100px;
	margin: 34px auto 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.template-landing-local .lb-area__card {
	background: #f7f6f6;
	border-radius: 16px;
	padding: 22px 22px 24px;
	text-align: left;
}
.template-landing-local .lb-area__pic {
	height: 132px;
	border-radius: 12px;
	background: #efe9df;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 18px;
	position: relative;
}
.template-landing-local .lb-area__card--miles .lb-area__pic {
	background:
		linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 46px 46px,
		linear-gradient(0deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 46px 46px,
		#efe9df;
}
.template-landing-local .lb-ring {
	position: relative;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: rgba(0, 66, 255, 0.14);
	border: 3px solid #0042ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.template-landing-local .lb-ring__pin { width: 30px; height: 30px; color: #0042ff; margin-top: -8px; }
.template-landing-local .lb-ring__pin svg { width: 100%; height: 100%; }
.template-landing-local .lb-ring__label {
	position: absolute;
	right: -26px;
	top: -4px;
	background: #fff;
	border-radius: 999px;
	padding: 5px 10px 4px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.template-landing-local .lb-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
}
.template-landing-local .lb-chip {
	padding: 8px 12px 7px;
	border-radius: 999px;
	background: #fff;
	color: #0042ff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.template-landing-local .lb-chip--add { color: #5f5f5f; background: transparent; box-shadow: none; border: 1.5px dashed #b9b5b0; }
.template-landing-local .lb-area__card h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.15; font-weight: 600; color: #000; }
.template-landing-local .lb-area__card p { margin: 0; font-size: 17px; line-height: 1.45; color: #3b3b3b; }
.template-landing-local .lb-area__more {
	max-width: 1100px;
	margin: 18px auto 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	font-size: 17px;
	line-height: 1.4;
	color: #3b3b3b;
}
.template-landing-local .lb-area__more svg { width: 20px; height: 20px; flex: none; color: #0042ff; margin-top: 1px; }

/* ------------------------------------------------------------------ the page video */
.template-landing-local .lb-player { max-width: 960px; margin: 32px auto 0; }
.template-landing-local .lb-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The play overlay (same look as the landing hero's, whose rules are scoped to .hero-section). */
.template-landing-local .lb-player .video_overlay {
	position: absolute;
	inset: 0;
	z-index: 6;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.template-landing-local .lb-player .video_overlay.is-hidden { display: none; }
.template-landing-local .lb-player .video_overlay .play {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 6px;
	box-sizing: border-box;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
	opacity: 0.94;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.template-landing-local .lb-player .video_overlay:hover .play,
.template-landing-local .lb-player .video_overlay:focus-visible .play { opacity: 1; transform: scale(1.06); }
.template-landing-local .lb-player .video_overlay:focus-visible { outline: 3px solid #ffd600; outline-offset: -3px; border-radius: 14px; }
.template-landing-local .lb-player .video_overlay .duration {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 6px 8px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
	.template-landing-local .lb-player .video_overlay .play { transition: none; }
}

/* ------------------------------------------------------------------ Grails Miami */
.template-landing-local .lb-story {
	max-width: 1140px;
	margin: 110px auto 0;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 44px;
	align-items: center;
}
.template-landing-local .lb-story__pic { margin: 0; }
.template-landing-local .lb-story__pic img { display: block; width: 100%; height: auto; border-radius: 18px; }
.template-landing-local .lb-eyebrow { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: 0.2px; color: #0042ff; }
.template-landing-local .lb-story__text h2 { margin: 0 0 18px; font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.8px; color: #000; }
.template-landing-local .lb-story__text h2 span { color: #0042ff; }
.template-landing-local .lb-story__rows { margin: 0; display: grid; gap: 14px; }
.template-landing-local .lb-story__rows div { border-left: 3px solid #ffd600; padding: 2px 0 2px 14px; }
.template-landing-local .lb-story__rows dt { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: #5f5f5f; }
.template-landing-local .lb-story__rows dd { margin: 3px 0 0; font-size: 19px; line-height: 1.4; color: #1a1919; }
.template-landing-local .lb-story .results-vary { margin: 16px 0 0; font-size: 14px; color: #5f5f5f; }

/* ------------------------------------------------------------------ video ideas */
.template-landing-local .lb-ideas__list {
	list-style: none;
	max-width: 1000px;
	margin: 30px auto 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.template-landing-local .lb-ideas__list li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px 11px 12px;
	border-radius: 999px;
	background: #f7f6f6;
	font-size: 18px;
	line-height: 1.25;
	color: #1a1919;
}
.template-landing-local .lb-ideas__n {
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0042ff;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.template-landing-local .lb-ideas__tip { max-width: 690px; margin: 22px auto 0; font-size: 18px; line-height: 1.45; color: #3b3b3b; text-align: center; }

/* ------------------------------------------------------------------ reviews */
.template-landing-local .lb-reviews__grid {
	max-width: 1140px;
	margin: 30px auto 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	text-align: left;
}
.template-landing-local .lb-reviews__grid .rs-say { margin: 0; padding: 22px 22px 20px; border-radius: 16px; background: #f7f6f6; }
.template-landing-local .lb-reviews__more { margin: 18px 0 0; text-align: center; font-size: 17px; }

/* ------------------------------------------------------------------ business types */
.template-landing-local .lb-types__grid {
	list-style: none;
	max-width: 1140px;
	margin: 30px auto 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.template-landing-local .lb-section .lb-type {
	color: #fff;
}
.template-landing-local .lb-type {
	position: relative;
	display: block;
	height: 100%;
	min-height: 150px;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.template-landing-local .lb-type img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	z-index: -1;
}
.template-landing-local .lb-type::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 62%);
	z-index: -1;
}
.template-landing-local .lb-type > span:last-child {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
}
.template-landing-local .lb-type:hover img { transform: scale(1.04); }
.template-landing-local .lb-type:focus-visible { outline: none; box-shadow: 0 0 0 3px #ffd600; }
.template-landing-local .lb-type--dfy { background: #0042ff; }
.template-landing-local .lb-type--dfy::after { display: none; }
.template-landing-local .lb-type__ic { position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; }
.template-landing-local .lb-type__ic svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
	.template-landing-local .lb-type img { transition: none; }
	.template-landing-local .lb-type:hover img { transform: none; }
}

/* ------------------------------------------------------------------ tablet and phone */
@media (max-width: 1024px) {
	.template-landing-local .lb-area__cards,
	.template-landing-local .lb-reviews__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
	.template-landing-local .lb-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
	.template-landing-local .lb-story { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 640px; margin-top: 80px; }
}
@media (max-width: 767px) {
	.template-landing-local .lb-tv { margin-top: 24px; }
	.template-landing-local .lb-tv img { border-radius: 12px; }
	.template-landing-local .lb-story__text h2 { font-size: 31px; }
	.template-landing-local .lb-story__rows dd { font-size: 17px; }
	.template-landing-local .lb-ideas__list { flex-direction: column; align-items: stretch; }
	.template-landing-local .lb-ideas__list li { border-radius: 14px; font-size: 17px; }
	.template-landing-local .lb-ideas__tip { font-size: 17px; text-align: left; }
	.template-landing-local .lb-area__more { font-size: 16px; justify-content: flex-start; }
	.template-landing-local .lb-type { min-height: 120px; }
	.template-landing-local .lb-type > span:last-child { font-size: 16px; left: 12px; right: 12px; bottom: 10px; }
}
