/* ==========================================================================
   LaundryCareer — state / city pages (v1.1.0)
   Styles for the [lc_cities] national index and the standalone
   /cities/{state}/{city}/ pages (includes/cities.php).

   Design tokens (v2.4.0 Phase T): every --lcc-* value below aliases the
     master --lcx-* tokens in lc.css (this stylesheet is always enqueued
     after lc.css) — warm canvas #FAFAF9, warm grays, hairline alphas,
     the token shadow pair, radius 20px, Inter/SF stack. Dark values
     arrive through the same aliases from the one master dark remap.

   Phone-first: single column under 640px, 44px minimum tap targets,
   city cards become full-width rows on mobile. All classes are prefixed
   lcc- so nothing here restyles existing plugin components; the shared
   .lc-btn buttons are only sized (never recolored) inside lcc- rows.
   ========================================================================== */

.lc-cities-page {
	--lcc-ink: var(--lcx-ink);
	--lcc-secondary: var(--lcx-ink-3);
	--lcc-bg: var(--lcx-canvas);
	--lcc-surface: var(--lcx-mist);
	--lcc-hairline: var(--lcx-line);
	--lcc-hairline-strong: var(--lcx-line-strong);
	--lcc-accent: var(--lcx-green); /* v2.6.0 Phase S: pro-recruiting surfaces lead GREEN (audit role fix; was blue) */
	--lcc-green: var(--lcx-green);
	--lcc-green-dark: var(--lcx-green-deep);
	--lcc-radius: var(--lcx-r-lg);
	--lcc-shadow: var(--lcx-shadow);
	--lcc-font: var(--lcx-font);
	font-family: var(--lcc-font);
	color: var(--lcc-ink);
	background: var(--lcc-bg);
	-webkit-font-smoothing: antialiased;
}

/* The shortcode index renders inside .lc-wrap (1120px shell in lc.css
   since v2.6.0); the cities column matches it exactly. */
.lc-wrap.lc-cities-page,
.lcc-page.lc-cities-page {
	max-width: 1120px;
}

.lcc-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px 64px;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.lcc-inner { padding: 0 48px 64px; }
}

.lc-cities-page h1,
.lc-cities-page h2,
.lc-cities-page h3 {
	font-family: var(--lcc-font);
	letter-spacing: -0.02em;
	font-weight: 600;
	color: var(--lcc-ink);
	line-height: 1.12;
	margin: 0;
}

.lc-cities-page p {
	line-height: 1.6;
}

/* ---------- Buttons: sizing only (colors come from lc.css .lc-btn) --- */

.lcc-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.lcc-cta-row .lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
}

@media (max-width: 639px) {
	.lcc-cta-row .lc-btn {
		flex: 1 1 100%;
	}
}

/* ---------- [lc_cities] index: white top (no dark hero band) ---------- */
/* The app canvas prints a dark-green title band (.lcx-app-hero) above
   every app page. On the cities index only, Mohamed's clean-page rule
   wins: white band, black title, white canvas under it. Scoped with
   :has() so no other app page changes; older browsers without :has()
   simply keep the standard band.
   v2.6.3: these rules must reference the master --lcx-* tokens (defined
   on :root in lc.css), NOT the --lcc-* aliases. The aliases live on
   .lc-cities-page, and the hero/app elements are printed by the canvas
   template OUTSIDE that element — an out-of-scope var() makes the whole
   declaration invalid at computed-value time, which is why the band fell
   back to transparent and the title inherited the hero's white (#fff)
   and rendered invisible on the light canvas. */

.lc-landing:has(.lc-cities-index) .lcx-app-hero {
	background: var(--lcx-canvas);
}

.lc-landing:has(.lc-cities-index) .lcx-app-hero::before {
	display: none;
}

.lc-landing:has(.lc-cities-index) .lcx-app-hero h1 {
	color: var(--lcx-ink);
}

.lc-landing:has(.lc-cities-index) .lcx-app {
	background: var(--lcx-canvas);
}

/* The filter hides rows/sections with the hidden attribute; author
   display rules must never override it. */
.lc-cities-index [hidden] {
	display: none !important;
}

/* ---------- [lc_cities] index: city search ----------------------------- */

.lcc-search {
	margin: 28px 0 4px;
}

.lcc-search-label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--lcc-ink);
	margin-bottom: 10px;
}

.lcc-search-row {
	display: flex;
	gap: 10px;
}

.lcc-search-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 56px;
	box-sizing: border-box;
	padding: 0 16px;
	border: 1px solid var(--lcc-hairline-strong);
	border-radius: var(--lcx-r-sm);
	background: var(--lcc-bg);
	color: var(--lcc-ink);
	font-family: var(--lcc-font);
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.lcc-search-input::placeholder {
	color: var(--lcc-secondary);
}

.lcc-search-input:focus {
	outline: none;
	border-color: var(--lcc-green);
	box-shadow: 0 0 0 2px rgba(11, 158, 87, .30);
}

.lcc-search-btn {
	flex: 0 0 auto;
	height: 56px;
	padding: 0 26px;
	border: none;
	border-radius: var(--lcx-r-sm);
	background: var(--lcc-green);
	color: #fff;
	font-family: var(--lcc-font);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--lcx-dur-fast) var(--lcx-ease), transform var(--lcx-dur-fast) var(--lcx-ease);
}

.lcc-search-btn:active {
	transform: scale(.98);
}

.lcc-search-btn:hover {
	background: var(--lcc-green-dark);
}

.lcc-search-btn:focus-visible {
	outline: 2px solid var(--lcc-green);
	outline-offset: 2px;
}

.lcc-search-status {
	margin: 12px 0 0;
	font-size: 16px;
	color: var(--lcc-secondary);
}

.lcc-search-nomatch {
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--lcc-ink);
}

@media (max-width: 480px) {
	.lcc-search-btn {
		padding: 0 18px;
	}
}

/* ---------- [lc_cities] index: state jump row (one compact row) ------- */

.lcc-jump {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	margin: 20px 0 4px;
	padding-bottom: 6px;
}

.lcc-jump a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 12px;
	box-sizing: border-box;
	border: 1px solid var(--lcc-hairline);
	border-radius: 999px;
	background: var(--lcc-surface);
	color: var(--lcc-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
}

.lcc-jump a:hover,
.lcc-jump a:focus-visible {
	border-color: var(--lcc-green);
	color: var(--lcc-green);
}

/* ---------- [lc_cities] index: state sections + city rows ------------- */

.lcc-state {
	margin-top: 36px;
	scroll-margin-top: 88px;
}

.lcc-state-title {
	font-size: clamp(20px, 4vw, 28px);
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 14px;
}

.lcc-state-abbr {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--lcc-secondary);
}

.lcc-list {
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
	background: var(--lcc-bg);
	overflow: hidden;
}

.lcc-row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 12px 18px;
	box-sizing: border-box;
	color: var(--lcc-ink);
	text-decoration: none;
}

.lcc-row + .lcc-row {
	border-top: 1px solid var(--lcc-hairline);
}

.lcc-row:hover,
.lcc-row:focus-visible {
	background: var(--lcc-surface);
}

.lcc-row-city {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.lcc-row-abbr {
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--lcc-secondary);
}

.lcc-row-arrow {
	color: var(--lcc-secondary);
	font-size: 16px;
	line-height: 1;
	transition: transform var(--lcx-dur-fast) var(--lcx-ease), color var(--lcx-dur-fast) var(--lcx-ease);
}

.lcc-row:hover .lcc-row-arrow,
.lcc-row:focus-visible .lcc-row-arrow {
	color: var(--lcc-green);
	transform: translateX(2px);
}

/* ---------- City page: hero ------------------------------------------- */

.lcc-hero {
	padding: 48px 0 8px;
	max-width: 760px;
}

.lcc-eyebrow {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lcc-accent);
}

.lcc-hero h1 {
	font-size: clamp(28px, 6.5vw, 40px);
}

.lcc-sub {
	margin: 18px 0 0;
	font-size: 20px;
	line-height: 1.6;
	color: var(--lcc-secondary);
	max-width: 38em;
}

/* ---------- City page: sections ---------------------------------------- */

.lcc-section {
	margin-top: 56px;
}

.lcc-section-title {
	font-size: clamp(20px, 4.5vw, 28px);
	margin-bottom: 20px;
}

/* Pros grid */
.lcc-pro-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 640px) {
	.lcc-pro-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (min-width: 960px) {
	.lcc-pro-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.lcc-pro-card {
	padding: 24px;
	background: var(--lcc-bg);
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
}

.lcc-pro-name {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.lcc-pro-meta {
	margin: 6px 0 18px;
	font-size: 16px;
	color: var(--lcc-secondary);
}

.lcc-pro-card .lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
}

/* Founding-pro band (no pros yet) + join band (pros exist) */
.lcc-first,
.lcc-join-band {
	margin-top: 48px;
	padding: 32px 24px;
	background: var(--lcc-surface);
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
}

.lcc-first h2,
.lcc-join-band h2 {
	font-size: clamp(20px, 4.5vw, 28px);
	margin-bottom: 12px;
}

.lcc-first p,
.lcc-join-band p {
	margin: 0;
	color: var(--lcc-secondary);
	max-width: 42em;
}

.lcc-first .lcc-eyebrow {
	margin-bottom: 10px;
}

/* How it works */
.lcc-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 760px) {
	.lcc-steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}
}

.lcc-step {
	padding: 24px;
	background: var(--lcc-bg);
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
}

.lcc-step-n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--lcc-surface);
	border: 1px solid var(--lcc-hairline);
	font-weight: 600;
	color: var(--lcc-ink);
}

.lcc-step h3 {
	font-size: 20px;
	margin-bottom: 8px;
}

.lcc-step p {
	margin: 0;
	font-size: 16px;
	color: var(--lcc-secondary);
}

/* Pricing strip */
.lcc-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 48px;
	padding: 28px 24px;
	background: var(--lcc-surface);
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
	text-align: center;
}

@media (min-width: 760px) {
	.lcc-stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}
}

.lcc-stat strong {
	display: block;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.lcc-stat span {
	display: block;
	margin-top: 6px;
	font-size: 16px;
	color: var(--lcc-secondary);
}

/* FAQ */
.lcc-faq details {
	padding: 18px 20px;
	background: var(--lcc-bg);
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
}

.lcc-faq details + details {
	margin-top: 12px;
}

.lcc-faq summary {
	min-height: 48px;
	display: flex;
	align-items: center;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
}

.lcc-faq details p {
	margin: 8px 0 2px;
	color: var(--lcc-secondary);
}

/* Blog band */
.lcc-blog-band {
	margin-top: 56px;
	padding: 32px 24px;
	background: var(--lcc-bg);
	border: 1px solid var(--lcc-hairline);
	border-radius: var(--lcc-radius);
	text-align: center;
}

.lcc-blog-band h2 {
	font-size: clamp(20px, 4vw, 28px);
	margin-bottom: 10px;
}

.lcc-blog-band p {
	margin: 0 auto;
	color: var(--lcc-secondary);
	max-width: 36em;
}

.lcc-blog-band .lcc-cta-row {
	justify-content: center;
}

.lcc-blog-band .lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
}

/* Final CTA */
.lcc-final-card {
	margin-top: 48px;
	padding: 40px 24px;
	background: var(--lcc-ink);
	border-radius: var(--lcc-radius);
	text-align: center;
}

.lcc-final-card h2 {
	color: #fff;
	font-size: clamp(28px, 5vw, 40px);
	margin-bottom: 12px;
}

.lcc-final-card p {
	margin: 0 auto;
	color: rgba(255, 255, 255, .72);
	max-width: 36em;
}

.lcc-final-card .lcc-cta-row {
	justify-content: center;
}

/* On the dark final card the outline button needs light chrome. */
.lcc-final-card .lc-btn-outline {
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
	background: transparent;
}

/* v2.5.0 Phase C: reduced motion for the cities layer. */
@media (prefers-reduced-motion: reduce) {
	.lcc-row-arrow, .lcc-search-btn { transition: none; }
	.lcc-row:hover .lcc-row-arrow, .lcc-row:focus-visible .lcc-row-arrow { transform: none; }
	.lcc-search-btn:active { transform: none; }
}
