/* Municipality Pages – BlueHopper dark theme (no white surfaces) */
:root {
	/* Exact colors from bluehopper.com */
	--mp-primary: var(--primary-blue, #1696d5);
	--mp-cyan: var(--secondary-blue, #01e7ff);
	--mp-bg: var(--bg-dark, #121212);          /* body */
	--mp-bg-base: #000000;                      /* .bg-black sections */
	--mp-bg-elevated: #212529;                  /* .bg-dark sections / footer */
	--mp-card: var(--bg-card, #1e1e1e);         /* cards */
	--mp-card-hover: #252525;
	--mp-border: var(--border-glass, rgba(255, 255, 255, 0.08));
	--mp-border-hover: var(--primary-blue, #1696d5);
	--mp-glow: 0 0 25px rgba(22, 150, 213, 0.35);
	--mp-text: var(--text-main, #ffffff);
	--mp-heading: var(--text-main, #ffffff);
	--mp-muted: var(--text-muted, #b0b0b0);
	--mp-radius: 16px;
	--mp-gradient: linear-gradient(90deg, #1696d5, #01e7ff);       /* .gradient text */
	--mp-btn-gradient: linear-gradient(135deg, #1696d5 0%, #01e7ff 100%); /* .first-btn */
}

.mp-page { font-family: var(--font-main, 'Outfit', sans-serif); color: var(--mp-text); background: var(--mp-bg); font-size: 17px; line-height: 1.6; }
.mp-page *, .mp-page *::before, .mp-page *::after { box-sizing: border-box; }
.mp-page img { max-width: 100%; height: auto; display: block; }
.mp-page h1, .mp-page h2, .mp-page h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--mp-heading); }
.mp-page h2 { font-size: clamp(26px, 3.2vw, 38px); }
.mp-page a { color: var(--mp-primary); }
.mp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mp-narrow { max-width: 820px; }
.mp-center { text-align: center; }
.mp-muted { color: var(--mp-muted); }
.mp-gradient { background: var(--mp-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--mp-cyan); }
.mp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mp-cyan); margin-bottom: 10px; }

/* Pill tag (same as .cafe-pill-tag) */
.mp-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(22,150,213,.08); border: 1px solid rgba(22,150,213,.35); color: var(--mp-cyan); padding: 7px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; box-shadow: 0 0 15px rgba(22,150,213,.18); margin-bottom: 18px; }
.mp-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mp-cyan); box-shadow: 0 0 10px var(--mp-cyan); }

/* Breadcrumbs */
.mp-breadcrumbs { background: var(--mp-bg-elevated); border-bottom: 1px solid var(--mp-border); font-size: 14px; padding: 14px 0; color: var(--mp-muted); }
.mp-breadcrumbs a { color: var(--mp-primary); text-decoration: none; }
.mp-breadcrumbs a:hover { text-decoration: underline; }
.mp-breadcrumbs [aria-current] { color: var(--mp-heading); }
.mp-sep { margin: 0 8px; color: rgba(148,163,184,.6); }

/* Buttons */
.mp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mp-btns--center { justify-content: center; }
.mp-btn { display: inline-block; padding: 12px 30px 14px; border-radius: 25px; font-weight: 700; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; font-size: 16px; transition: .25s; }
.mp-btn--primary, .mp-btn--light { background: var(--mp-btn-gradient); color: #fff !important; }
.mp-btn--primary:hover, .mp-btn--light:hover { box-shadow: var(--mp-glow); transform: translateY(-2px); }
.mp-btn--outline, .mp-btn--ghost, .mp-btn--ghost-dark { border-color: var(--mp-primary); color: var(--mp-primary) !important; background: transparent; }
.mp-btn--outline:hover, .mp-btn--ghost:hover, .mp-btn--ghost-dark:hover { background: var(--mp-primary); color: #fff !important; }
.mp-link { color: var(--mp-cyan) !important; font-weight: 700; text-decoration: none; }

/* Listing hero (index / state / city) */
.mp-listing-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 0%, rgba(1,231,255,.10), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(22,150,213,.16), transparent 50%), var(--mp-bg-base); border-bottom: 1px solid var(--mp-border); padding: 70px 0 64px; }
.mp-listing-hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; }
.mp-term-desc { max-width: 760px; color: var(--mp-muted); }
.mp-filter { margin-top: 22px; width: 100%; max-width: 440px; padding: 14px 22px; border-radius: 25px; border: 1px solid var(--mp-border); background: var(--mp-card); color: var(--mp-heading); font-size: 16px; font-family: inherit; outline: none; transition: .25s; }
.mp-filter::placeholder { color: var(--mp-muted); }
.mp-filter:focus { border-color: var(--mp-primary); box-shadow: var(--mp-glow); }
.mp-listing-body { padding: 50px 0 70px; }

/* Shared dark card */
.mp-state-card, .mp-city-card, .mp-post-card, .mp-card, .mp-testimonial, .mp-features li, .mp-faq details {
	background: var(--mp-card); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); transition: all .35s ease;
}
.mp-state-card:hover, .mp-city-card:hover, .mp-post-card:hover, .mp-card:hover {
	background: var(--mp-card-hover); border-color: var(--mp-border-hover); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.6), var(--mp-glow);
}

/* Index: states */
.mp-state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.mp-state-card { padding: 24px; }
.mp-state-card h2 { font-size: 22px; margin-bottom: 4px; }
.mp-state-card h2 a { color: var(--mp-heading); text-decoration: none; }
.mp-state-card h2 a:hover { color: var(--mp-cyan); }
.mp-city-links { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--mp-border); columns: 2; font-size: 15px; }
.mp-city-links li { margin-bottom: 7px; break-inside: avoid; }
.mp-city-links a { color: var(--mp-muted); text-decoration: none; transition: .2s; }
.mp-city-links a:hover { color: var(--mp-cyan); }
.mp-city-links--inline { columns: 4; border-top: 0; padding-top: 0; }

/* State: cities */
.mp-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.mp-city-card { position: relative; display: flex; flex-direction: column; padding: 22px 52px 22px 22px; text-decoration: none !important; color: var(--mp-text); }
.mp-city-card__name { font-weight: 700; font-size: 19px; color: var(--mp-heading); }
.mp-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(22,150,213,.1); border: 1px solid rgba(22,150,213,.3); color: var(--mp-cyan); font-size: 16px; transition: .25s; }
.mp-city-card:hover .mp-arrow { background: var(--mp-btn-gradient); color: #fff; border-color: transparent; box-shadow: 0 0 18px rgba(22,150,213,.5); }

/* City: posts */
.mp-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.mp-post-card { overflow: hidden; display: flex; flex-direction: column; }
.mp-post-card__img { text-decoration: none !important; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--mp-bg-elevated); border-bottom: 1px solid var(--mp-border); }
.mp-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mp-post-card:hover .mp-post-card__img img { transform: scale(1.05); }
.mp-post-card__placeholder { display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; height: 100%; font-weight: 700; font-size: 20px; color: var(--mp-cyan); background: radial-gradient(circle at 50% 40%, rgba(22,150,213,.18), transparent 60%), var(--mp-bg-elevated); letter-spacing: .5px; }
.mp-post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.mp-post-card__body p { color: var(--mp-muted); font-size: 15px; flex: 1; }
.mp-post-card h2 { font-size: 20px; font-weight: 700; }
.mp-post-card h2 a { color: var(--mp-heading); text-decoration: none; }
.mp-post-card h2 a:hover { color: var(--mp-cyan); }
.mp-pagination { margin: 40px 0 0; text-align: center; }
.mp-pagination .page-numbers { display: inline-block; padding: 8px 15px; margin: 0 3px; border: 1px solid var(--mp-border); border-radius: 10px; text-decoration: none; color: var(--mp-text); background: var(--mp-bg-elevated); }
.mp-pagination .page-numbers:hover { border-color: var(--mp-border-hover); color: var(--mp-cyan); }
.mp-pagination .current { background: var(--mp-btn-gradient); color: #fff; border-color: transparent; font-weight: 700; }
.mp-nearby { margin-top: 56px; padding: 28px; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); background: var(--mp-bg-elevated); }
.mp-nearby h2 { font-size: 22px; }
.mp-empty { color: var(--mp-muted); padding: 30px; text-align: center; border: 1px dashed var(--mp-border); border-radius: var(--mp-radius); }

/* ===== Standard single layout ===== */
.mp-hero { position: relative; min-height: 560px; display: flex; align-items: center; background: var(--mp-bg-base) center/cover no-repeat; overflow: hidden; }
.mp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.4)); }
.mp-hero__content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.mp-hero h1 { font-size: clamp(32px, 5vw, 58px); max-width: 820px; }
.mp-hero p { font-size: 19px; max-width: 640px; color: var(--mp-muted); }

.mp-section { padding: 80px 0; background: var(--mp-bg-base); }
.mp-section--alt { background: var(--mp-bg); }
.mp-section--dark { background: var(--mp-bg-elevated); }
.mp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.mp-split--single { grid-template-columns: 1fr; max-width: 860px; }
.mp-split--single .mp-split__media { display: none; }
.mp-split__media img { border-radius: var(--mp-radius); width: 100%; border: 1px solid var(--mp-border); }
.mp-content { color: var(--mp-muted); }
.mp-icon-line { margin: 6px 0; color: var(--mp-muted); }
.mp-map iframe { width: 100%; height: 360px; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); filter: invert(90%) hue-rotate(180deg); }

/* Quote form */
.mp-quote { background: var(--mp-bg); padding: 60px 0; }
.mp-quote__inner { max-width: 860px; background: var(--mp-bg-elevated); border: 1px solid rgba(22,150,213,.25); border-radius: var(--mp-radius); padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,.6), var(--mp-glow); margin-top: -120px; position: relative; z-index: 2; }
.mp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.mp-form label { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; gap: 6px; color: var(--mp-text); }
.mp-form input, .mp-form select, .mp-form textarea { padding: 12px 14px; border: 1px solid var(--mp-border); border-radius: 10px; font-size: 16px; font-family: inherit; width: 100%; background: var(--mp-bg-base); color: var(--mp-heading); }
.mp-form input::placeholder, .mp-form textarea::placeholder { color: #64748b; }
.mp-form input:focus, .mp-form select:focus, .mp-form textarea:focus { outline: none; border-color: var(--mp-cyan); box-shadow: var(--mp-glow); }
.mp-form select option { background: var(--mp-bg-elevated); color: var(--mp-heading); }
.mp-span-2 { grid-column: span 2; }
.mp-check { flex-direction: row !important; align-items: flex-start; font-weight: 400 !important; color: var(--mp-muted) !important; }
.mp-check input { width: auto; margin-top: 3px; accent-color: var(--mp-cyan); }
.mp-hp { position: absolute !important; left: -9999px !important; }
.mp-alert { padding: 14px 16px; border-radius: 10px; margin: 14px 0; }
.mp-alert--ok { background: rgba(16,185,129,.12); color: #6ee7b7; border: 1px solid rgba(16,185,129,.35); }
.mp-alert--err { background: rgba(239,68,68,.12); color: #fca5a5; border: 1px solid rgba(239,68,68,.35); }

/* Features */
.mp-features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mp-features li { padding: 20px; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--mp-heading); }
.mp-check-icon { flex: 0 0 30px; height: 30px; border-radius: 10px; background: rgba(22,150,213,.1); border: 1px solid rgba(22,150,213,.3); color: var(--mp-cyan); display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* Before / after */
.mp-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.mp-ba figure { margin: 0; position: relative; }
.mp-ba img { border-radius: var(--mp-radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--mp-border); }
.mp-ba figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.7); color: var(--mp-heading); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255,255,255,.2); }

/* Video / gallery */
.mp-video { position: relative; aspect-ratio: 16/9; max-width: 960px; }
.mp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); }
.mp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.mp-gallery a { display: block; border-radius: var(--mp-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); transition: .35s; }
.mp-gallery a:hover { border-color: var(--mp-border-hover); box-shadow: var(--mp-glow); }
.mp-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: .5s; }
.mp-gallery a:hover img { transform: scale(1.05); }

/* Cards / testimonials */
.mp-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.mp-card { padding: 28px; }
.mp-card p { color: var(--mp-muted); }
.mp-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 30px; }
.mp-testimonial { margin: 0; padding: 24px; color: var(--mp-muted); }
.mp-stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 8px; }
.mp-testimonial cite { font-style: normal; font-weight: 700; color: var(--mp-heading); }

/* FAQ */
.mp-faq details { margin-bottom: 14px; overflow: hidden; }
.mp-faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none; position: relative; padding-right: 52px; color: var(--mp-heading); }
.mp-faq details[open] summary { color: var(--mp-cyan); background: rgba(22,150,213,.04); border-bottom: 1px solid var(--mp-border); }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--mp-cyan); }
.mp-faq details[open] summary::after { content: '–'; }
.mp-faq details p { padding: 18px 24px; margin: 0; color: #cbd5e1; }

/* Related */
.mp-related { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mp-related ul { list-style: none; padding: 0; columns: 2; }
.mp-related li { margin-bottom: 8px; }
.mp-related a { color: var(--mp-muted); text-decoration: none; }
.mp-related a:hover { color: var(--mp-cyan); }

/* CTA */
.mp-cta { background: radial-gradient(ellipse at 50% 0%, rgba(22,150,213,.18), transparent 60%), var(--mp-bg-base); border-top: 1px solid var(--mp-border); border-bottom: 1px solid var(--mp-border); padding: 80px 0; }
.mp-cta p { color: var(--mp-muted); }

/* Sticky mobile bar */
.mp-sticky { display: none; }

@media (max-width: 900px) {
	.mp-split, .mp-related, .mp-ba { grid-template-columns: 1fr; gap: 30px; }
	.mp-features, .mp-cards-3 { grid-template-columns: 1fr 1fr; }
	.mp-city-links--inline { columns: 2; }
}
@media (max-width: 640px) {
	.mp-section { padding: 56px 0; }
	.mp-listing-hero { padding: 48px 0 44px; }
	.mp-hero { min-height: 460px; }
	.mp-features, .mp-cards-3, .mp-form__grid { grid-template-columns: 1fr; }
	.mp-span-2 { grid-column: auto; }
	.mp-quote__inner { padding: 24px; margin-top: -60px; }
	.mp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: var(--mp-bg-elevated); border-top: 1px solid var(--mp-border); box-shadow: 0 -4px 20px rgba(0,0,0,.6); }
	.mp-sticky a { flex: 1; text-align: center; padding: 16px; font-weight: 700; text-decoration: none; color: var(--mp-cyan); }
	.mp-sticky__main { background: var(--mp-btn-gradient); color: #fff !important; }
	.mp-page--single { padding-bottom: 56px; }
}

/* ZIP chips on City listing */
.mp-zip-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.mp-zip-chip { font-size: 13px; font-weight: 700; color: var(--mp-cyan); background: var(--mp-card); border: 1px solid rgba(22,150,213,.35); border-radius: 50px; padding: 5px 12px; }
.mp-zip-chip small { color: var(--mp-muted); font-weight: 400; }
