/*
Theme Name: FindUsPA — Pennsylvania Directory
Theme URI: https://finduspa.com
Author: 10-8Media
Description: A statewide Pennsylvania local-business directory with map discovery, verified claims, reviews, and community badges.
Version: 1.1.6
Text Domain: pa-directory
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --pa-ink: #173d36;
  --pa-ink-deep: #0f302b;
  --pa-moss: #31594d;
  --pa-cream: #fbfaf6;
  --pa-paper: #f8f7f2;
  --pa-pale: #eef3ec;
  --pa-line: #d9e2d9;
  --pa-rust: #d87942;
  --pa-gold: #f5ca90;
  --pa-sage: #e8f1e5;
  --pa-copy: #5b766c;
  --pa-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pa-ink); background: var(--pa-paper); font-family: 'Manrope', Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.pa-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.pa-display { font-family: 'Playfair Display', Georgia, serif; }
.pa-eyebrow { color: #ae5b33; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pa-section-title { margin: .4rem 0 0; color: #1d433a; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.15rem, 4vw, 3.3rem); letter-spacing: -.05em; line-height: 1.02; }
.pa-subtitle { max-width: 680px; margin: 12px 0 0; color: var(--pa-copy); font-size: .94rem; line-height: 1.7; }
.pa-hidden { display: none !important; }

/* Header */
.pa-topbar { background: var(--pa-ink-deep); color: rgba(255,255,255,.7); }
.pa-topbar .pa-shell { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pa-topbar .pa-verified-top { color: var(--pa-gold); }
.pa-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(23,61,54,.09); background: rgba(251,250,246,.95); backdrop-filter: blur(16px); }
.pa-header .pa-shell { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.pa-brand { display: flex; align-items: center; gap: 11px; color: var(--pa-ink); }
.pa-brand-mark { display: grid; width: 42px; height: 42px; place-items: center; overflow: visible; }
.pa-brand-logo { width: 42px; height: 42px; object-fit: contain; }
.pa-brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.24rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.pa-brand-name small { display: block; margin-top: 5px; color: #b56235; font-family: Manrope, sans-serif; font-size: .56rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.pa-nav { display: flex; gap: 28px; align-items: center; color: #43635a; font-size: .82rem; font-weight: 800; }
.pa-nav a:hover { color: #b85f34; }
.pa-header-actions { display: flex; gap: 10px; }
.pa-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px; font-size: .78rem; font-weight: 800; transition: transform .16s ease, background .16s ease, border .16s ease; }
.pa-button:hover { transform: translateY(-1px); }
.pa-button-primary { background: var(--pa-ink); color: white; box-shadow: 0 8px 18px rgba(23,61,54,.18); }
.pa-button-primary:hover { background: #245148; }
.pa-button-secondary { border-color: #bfd0c2; color: #234c41; background: transparent; }
.pa-button-secondary:hover { background: #e7eee4; }
.pa-nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #e7eee4; color: var(--pa-ink); }

/* Hero */
.pa-hero { position: relative; min-height: 570px; overflow: hidden; background: var(--pa-ink); color: white; isolation: isolate; }
.pa-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.pa-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,37,32,.94) 0%, rgba(10,37,32,.78) 48%, rgba(10,37,32,.20) 78%, rgba(10,37,32,.08) 100%); }
.pa-hero .pa-shell { padding-top: 76px; padding-bottom: 138px; }
.pa-hero-copy { max-width: 735px; }
.pa-hero-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(249,209,154,.36); border-radius: 999px; background: rgba(20,58,52,.66); padding: 7px 12px; color: #f9d19a; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(6px); }
.pa-hero h1 { max-width: 690px; margin: 18px 0 0; font-size: clamp(3.25rem, 7vw, 5.1rem); font-weight: 800; letter-spacing: -.065em; line-height: .95; }
.pa-hero h1 em { color: var(--pa-gold); font-style: normal; }
.pa-hero p { max-width: 580px; margin: 19px 0 0; color: rgba(255,255,255,.79); font-size: 1rem; line-height: 1.8; }
.pa-search-panel { display: grid; grid-template-columns: minmax(0,1fr) 220px 190px auto; gap: 9px; max-width: 960px; margin-top: 30px; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; background: rgba(251,250,246,.96); padding: 12px; box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.pa-field { display: flex; align-items: center; gap: 9px; min-height: 56px; border: 0; border-radius: 14px; background: #f0f1eb; padding: 0 14px; color: #a85a33; }
.pa-field input, .pa-field select { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--pa-ink); background: transparent; font-size: .77rem; font-weight: 700; }
.pa-field input::placeholder { color: #789087; }
.pa-search-panel .pa-button { min-height: 56px; border-radius: 14px; background: var(--pa-rust); color: white; box-shadow: 0 9px 20px rgba(192,96,52,.27); }
.pa-search-panel .pa-button:hover { background: #c96834; }
.pa-hero-stats { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.1); background: rgba(16,51,46,.82); backdrop-filter: blur(8px); }
.pa-hero-stats .pa-shell { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.pa-stat { min-height: 71px; padding: 12px; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.pa-stat:last-child { border: 0; }
.pa-stat b { display: block; color: var(--pa-gold); font-family: 'Playfair Display', Georgia, serif; font-size: 1.18rem; }
.pa-stat span { display: block; margin-top: 3px; color: rgba(255,255,255,.58); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Map */
.pa-section { padding: 78px 0; }
.pa-section-map { background: #efece3; }
.pa-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.pa-map-filter { display: flex; align-items: center; gap: 8px; color: var(--pa-copy); font-size: .72rem; font-weight: 800; }
.pa-map-filter select { border: 1px solid #c1d0c4; border-radius: 10px; background: white; padding: 9px 10px; color: var(--pa-ink); font-size: .72rem; font-weight: 800; }
.pa-map-layout { display: grid; grid-template-columns: 1.8fr 1.1fr; overflow: hidden; margin-top: 26px; border: 1px solid #d2dbd2; border-radius: 26px; background: white; box-shadow: 0 16px 40px rgba(20,50,40,.09); }
.pa-map-canvas { position: relative; min-height: 590px; background: #dce9df; }
#pa-directory-map { width: 100%; height: 590px; }
.pa-map-count { position: absolute; z-index: 500; top: 16px; left: 16px; border-radius: 10px; background: rgba(255,255,255,.92); padding: 8px 11px; color: var(--pa-ink); font-size: .71rem; font-weight: 800; box-shadow: 0 2px 8px rgba(23,61,54,.12); }
.pa-map-list { max-height: 590px; overflow-y: auto; padding: 22px; background: #fbfaf6; }
.pa-map-list-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: #b86236; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pa-map-card { margin-bottom: 10px; border: 1px solid #e0e6df; border-radius: 16px; background: white; padding: 13px; transition: .16s ease; }
.pa-map-card:hover, .pa-map-card.is-active { border-color: var(--pa-rust); background: #fff6ee; box-shadow: 0 2px 8px rgba(23,61,54,.06); }
.pa-map-card .pa-card-meta { color: #b86236; font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.pa-map-card h3 { margin: 4px 0; color: #1b433b; font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; }
.pa-map-card p { margin: 0; color: var(--pa-copy); font-size: .69rem; line-height: 1.55; }
.pa-card-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #71887e; font-size: .67rem; font-weight: 700; }
.pa-map-card .pa-open-detail { border: 0; background: transparent; padding: 0; color: #c16839; font-size: .67rem; font-weight: 800; }

/* Listings */
.pa-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.pa-listing-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e0e6df; border-radius: 23px; background: white; box-shadow: 0 2px 8px rgba(20,50,40,.04); transition: transform .2s ease, box-shadow .2s ease; }
.pa-listing-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(20,50,40,.11); }
.pa-listing-cover { position: relative; height: 185px; overflow: hidden; background: var(--pa-ink); }
.pa-listing-cover img { width: 100%; height: 100%; object-fit: cover; }
.pa-listing-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62), transparent 55%); }
.pa-card-top-tags { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.pa-card-chip { border-radius: 999px; background: rgba(255,255,255,.91); padding: 4px 8px; color: var(--pa-ink); font-size: .59rem; font-weight: 800; }
.pa-card-chip.pa-badge { background: rgba(232,242,229,.93); color: #2a5b42; }
.pa-card-location { position: absolute; z-index: 1; bottom: 12px; left: 12px; color: white; font-size: .68rem; font-weight: 800; }
.pa-listing-copy { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.pa-listing-title-row { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.pa-listing-category { color: #b56235; font-size: .66rem; font-weight: 800; }
.pa-listing-title { margin: 3px 0 0; color: #1b433b; font-family: 'Playfair Display', Georgia, serif; font-size: 1.18rem; letter-spacing: -.02em; }
.pa-rating { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; border-radius: 7px; background: #fbf5eb; padding: 5px 7px; color: #865d1b; font-size: .68rem; font-weight: 800; }
.pa-listing-copy > p { margin: 11px 0 0; color: var(--pa-copy); font-size: .72rem; line-height: 1.65; }
.pa-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.pa-tag { border-radius: 6px; background: #eff3ed; padding: 4px 7px; color: #44665a; font-size: .58rem; font-weight: 800; }
.pa-listing-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid #edf0ec; }
.pa-text-button { border: 0; background: none; padding: 0; color: #2a5a4d; font-size: .67rem; font-weight: 800; }
.pa-text-button:hover { color: #b56235; }
.pa-card-button { border: 0; border-radius: 8px; background: var(--pa-ink); padding: 8px 10px; color: white; font-size: .64rem; font-weight: 800; }

/* Claim Program */
.pa-claim-section { border-top: 1px solid #dce3da; border-bottom: 1px solid #dce3da; background: var(--pa-pale); }
.pa-claim-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.pa-check-list { display: grid; gap: 16px; margin: 24px 0 0; }
.pa-check { display: flex; gap: 10px; }
.pa-check-icon { display: grid; flex: 0 0 21px; height: 21px; place-items: center; border-radius: 50%; background: #2f664e; color: white; font-size: .7rem; }
.pa-check b { display: block; color: #1b433b; font-size: .78rem; }
.pa-check span { display: block; margin-top: 3px; color: var(--pa-copy); font-size: .7rem; line-height: 1.5; }
.pa-claim-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.pa-seal-card { border: 1px solid #d2dfd2; border-radius: 25px; background: white; padding: 27px; box-shadow: 0 12px 32px rgba(20,50,40,.11); }
.pa-seal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #edf2ec; }
.pa-seal-mark { display: flex; align-items: center; gap: 10px; }
.pa-seal-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: var(--pa-ink); color: var(--pa-gold); font-size: 1.25rem; }
.pa-seal-head h3 { margin: 0; color: var(--pa-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; }
.pa-seal-head p { margin: 3px 0 0; color: #71887e; font-size: .64rem; }
.pa-status { border-radius: 999px; background: #e8f1e5; padding: 5px 8px; color: #2d6148; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.pa-seal-rows { margin-top: 15px; }
.pa-seal-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f2f6f1; color: #526e64; font-size: .66rem; line-height: 1.45; }
.pa-seal-row b { color: #1b433b; }
.pa-seal-quote { margin-top: 18px; border: 1px solid #e4eee2; border-radius: 15px; background: #f7faf6; padding: 14px; color: #4e6b60; font-size: .68rem; font-style: italic; line-height: 1.6; }

/* Sponsored local service */
.pa-sponsored { padding: 36px 0; border-top: 1px solid #d9e2d9; border-bottom: 1px solid #d9e2d9; background: #f7f5ef; }
.pa-sponsored-card { display: grid; grid-template-columns: 1.08fr 1.18fr auto; gap: 26px; align-items: center; border: 1px solid #d8e2d4; border-radius: 22px; background: #fff; padding: 18px 22px; box-shadow: 0 8px 23px rgba(20,50,40,.06); }
.pa-mb-card { grid-template-columns: 164px minmax(210px, 1fr) minmax(230px, 1.1fr) auto; gap: 21px; }
.pa-mb-creative { display: block; align-self: stretch; overflow: hidden; border: 1px solid #18200e; border-radius: 14px; background: #10130c; }
.pa-mb-creative img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; transition: transform .25s var(--pa-ease, ease); }
.pa-mb-creative:hover img { transform: scale(1.035); }
.pa-mb-card .pa-sponsored-copy { padding-left: 21px; }
.pa-mb-card .pa-sponsored-actions { justify-content: flex-end; }
.pa-sponsored-brand { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; position: relative; padding-top: 13px; }
.pa-sponsored-label { position: absolute; top: 0; left: 0; color: #9d7658; font-size: .55rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pa-sponsored-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #31594d; color: #f4d29f; font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; font-weight: 800; }
.pa-sponsored-brand b { display: block; color: #1a433b; font-size: .77rem; line-height: 1.3; }
.pa-sponsored-brand small { display: block; margin-top: 3px; color: #6b8579; font-size: .59rem; font-weight: 700; line-height: 1.4; }
.pa-sponsored-copy { border-left: 1px solid #e4ebe3; padding-left: 24px; }
.pa-sponsored-copy span { color: #b56235; font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pa-sponsored-copy p { margin: 4px 0 0; color: #526e64; font-size: .71rem; line-height: 1.55; }
.pa-sponsored-actions { display: flex; gap: 8px; }
.pa-sponsored-actions .pa-button { min-height: 40px; padding: 9px 12px; white-space: nowrap; }
.pa-sponsored-authority { border-top: 0; padding-top: 0; background: #f7f5ef; }
.pa-authority-card { display: grid; grid-template-columns: minmax(280px, .94fr) 1.06fr; overflow: hidden; border: 1px solid #d1d9dc; border-radius: 22px; background: #0d1c28; box-shadow: 0 12px 30px rgba(15,25,35,.15); color: white; }
.pa-authority-image { width: 100%; height: 100%; min-height: 335px; object-fit: cover; object-position: center; }
.pa-authority-copy { position: relative; padding: 39px 34px 31px; background: linear-gradient(135deg, #111d29, #182b3b); }
.pa-authority-copy .pa-sponsored-label { top: 18px; left: 34px; color: #a8becd; }
.pa-authority-kicker { display: block; color: #f0b346; font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pa-authority-copy h2 { margin: 10px 0 0; color: white; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.7rem, 2.8vw, 2.55rem); letter-spacing: -.045em; line-height: 1.03; }
.pa-authority-copy h2 em { color: #ef9b4b; font-style: normal; }
.pa-authority-copy p { max-width: 500px; margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: .73rem; line-height: 1.65; }
.pa-authority-details { display: flex; flex-wrap: wrap; gap: 6px 13px; margin: 17px 0 0; color: #b8d2c3; font-size: .64rem; font-weight: 800; }
.pa-authority-copy .pa-sponsored-actions { margin-top: 21px; }
.pa-authority-copy .pa-button-secondary { border-color: rgba(255,255,255,.35); color: white; }
.pa-authority-copy .pa-button-secondary:hover { background: rgba(255,255,255,.12); }
.pa-authority-copy .pa-button-primary { background: #d86b39; }
.pa-authority-copy .pa-button-primary:hover { background: #eb7c46; }

/* Partner Network */
.pa-network { background: var(--pa-ink); color: white; }
.pa-network .pa-eyebrow { color: var(--pa-gold); }
.pa-network .pa-section-title { color: white; }
.pa-network .pa-subtitle { color: rgba(255,255,255,.72); }
.pa-partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; margin-top: 38px; }
.pa-partner { display: flex; flex-direction: column; justify-content: space-between; min-height: 104px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.04); padding: 14px; transition: .18s ease; }
.pa-partner:hover { transform: translateY(-3px); border-color: rgba(247,201,142,.5); background: rgba(255,255,255,.09); }
.pa-partner-top { display: flex; justify-content: space-between; color: var(--pa-gold); font-family: monospace; font-size: .68rem; font-weight: 800; }
.pa-partner h3 { min-width: 0; margin: 14px 0 0; overflow-wrap: anywhere; color: rgba(255,255,255,.91); font-size: .69rem; line-height: 1.42; }
.pa-network-foot { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: rgba(255,255,255,.55); font-size: .68rem; }

/* Footer */
.pa-footer { border-top: 1px solid var(--pa-line); background: #fff; color: var(--pa-ink); padding: 56px 0 24px; }
.pa-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .75fr); gap: 35px; }
.pa-footer .pa-brand { color: var(--pa-ink); }
.pa-footer .pa-brand-mark { box-shadow: none; }
.pa-footer-copy { max-width: 280px; margin-top: 18px; color: #5b766c; font-size: .76rem; line-height: 1.65; }
.pa-footer h3 { margin: 0; color: #a9522d; font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; }
.pa-footer a, .pa-footer button { display: block; margin-top: 11px; border: 0; background: none; padding: 0; color: #43635a; font-size: .73rem; font-weight: 700; text-align: left; }
.pa-footer a:hover, .pa-footer button:hover { color: #a9522d; }
.pa-newsletter { display: flex; margin-top: 14px; border: 1px solid var(--pa-line); border-radius: 10px; background: var(--pa-paper); padding: 4px; }
.pa-newsletter input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 6px 8px; color: var(--pa-ink); font-size: .7rem; outline: 0; }
.pa-newsletter button { margin: 0; border-radius: 7px; background: var(--pa-gold); padding: 8px 10px; color: var(--pa-ink); }
.pa-copyright { display: flex; justify-content: space-between; gap: 12px; margin-top: 45px; border-top: 1px solid var(--pa-line); padding-top: 20px; color: #6a8479; font-size: .59rem; font-weight: 800; letter-spacing: .03em; }
.pa-legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.pa-copyright > span:first-child a { display: inline; margin: 0; color: #43635a; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.pa-copyright > span:first-child a:hover { color: #a9522d; }
.pa-copyright .pa-legal-links a { display: inline; margin: 0; color: #43635a; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.pa-copyright .pa-legal-links a:hover { color: #a9522d; }

/* Legal and editorial pages */
.pa-legal-main { min-height: 66vh; padding: clamp(56px, 9vw, 120px) 20px; background: linear-gradient(180deg, #eef3ec 0, var(--pa-paper) 56%); }
.pa-legal-card { width: min(860px, 100%); margin: 0 auto; border: 1px solid rgba(23,61,54,.1); border-radius: 24px; background: rgba(255,255,255,.86); padding: clamp(28px, 6vw, 68px); box-shadow: 0 22px 60px rgba(23,61,54,.08); }
.pa-legal-updated { margin: 12px 0 38px; color: #789087; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pa-legal-content { color: #456259; font-size: 1rem; line-height: 1.8; }
.pa-legal-content h2 { margin: 38px 0 12px; color: var(--pa-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; letter-spacing: -.03em; }
.pa-legal-content h3 { margin: 26px 0 8px; color: var(--pa-ink); font-size: 1rem; }
.pa-legal-content p, .pa-legal-content ul { margin: 0 0 18px; }
.pa-legal-content ul { padding-left: 21px; }
.pa-legal-content a { color: #a9522d; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Modals */
.pa-modal { position: fixed; z-index: 2000; inset: 0; display: none; align-items: center; justify-content: center; overflow-y: auto; background: rgba(10,33,29,.62); padding: 20px; backdrop-filter: blur(5px); }
.pa-modal.is-open { display: flex; }
.pa-modal-dialog { position: relative; width: min(100%, 570px); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 22px; background: white; padding: 26px; box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.pa-modal-dialog.pa-detail-dialog { width: min(100%, 720px); padding: 0; overflow: hidden auto; }
.pa-modal-close { position: absolute; z-index: 1; top: 14px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--pa-ink); font-size: 1.1rem; }
.pa-modal h2 { margin: 0; color: var(--pa-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; letter-spacing: -.03em; }
.pa-modal-intro { margin: 5px 0 18px; color: #6a8479; font-size: .72rem; line-height: 1.5; }
.pa-form { display: grid; gap: 13px; }
.pa-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pa-form label { display: block; color: var(--pa-ink); font-size: .68rem; font-weight: 800; }
.pa-form input, .pa-form select, .pa-form textarea { width: 100%; margin-top: 5px; border: 1px solid #d2dbd2; border-radius: 10px; background: white; padding: 10px; color: var(--pa-ink); font-size: .74rem; outline: 0; }
.pa-form textarea { min-height: 78px; resize: vertical; }
.pa-form input:focus, .pa-form select:focus, .pa-form textarea:focus { border-color: var(--pa-rust); box-shadow: 0 0 0 3px rgba(216,121,66,.12); }
.pa-form .pa-button { width: 100%; margin-top: 3px; }
.pa-form-status { display: none; border-radius: 9px; padding: 10px; font-size: .71rem; font-weight: 700; }
.pa-form-status.is-visible { display: block; }
.pa-form-status.is-success { background: #e8f1e5; color: #2d6148; }
.pa-form-status.is-error { background: #fff0ed; color: #a94637; }
.pa-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.pa-detail-hero { position: relative; height: 210px; }
.pa-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.pa-detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 70%); }
.pa-detail-heading { position: absolute; z-index: 1; bottom: 17px; left: 22px; right: 22px; color: white; }
.pa-detail-heading h2 { color: white; }
.pa-detail-heading p { margin: 4px 0 0; color: rgba(255,255,255,.8); font-size: .7rem; }
.pa-detail-body { padding: 23px; }
.pa-detail-summary { color: #526e64; font-size: .78rem; line-height: 1.65; }
.pa-detail-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; border-top: 1px solid #e5ebe4; padding-top: 14px; }
.pa-review-section { margin-top: 25px; border-top: 1px solid #e5ebe4; padding-top: 20px; }
.pa-review-section h3 { margin: 0; color: #1a433b; font-family: 'Playfair Display', Georgia, serif; font-size: 1.18rem; }
.pa-review { margin-top: 12px; border: 1px solid #e4ebe3; border-radius: 15px; background: #fff; padding: 13px; }
.pa-review-head { display: flex; justify-content: space-between; gap: 8px; }
.pa-review-author { color: var(--pa-ink); font-size: .76rem; font-weight: 800; }
.pa-review-meta { margin-top: 2px; color: #718a80; font-size: .62rem; }
.pa-review-badge { display: inline-block; margin-left: 6px; border-radius: 999px; background: #e8f1e5; padding: 3px 6px; color: #2a5b42; font-size: .55rem; font-weight: 800; }
.pa-review-stars { color: #8a601e; font-size: .78rem; white-space: nowrap; }
.pa-review p { margin: 8px 0 0; color: #526e64; font-size: .71rem; line-height: 1.6; }
.pa-review img { max-width: 190px; max-height: 140px; margin-top: 10px; border-radius: 10px; object-fit: cover; }
.pa-star-picker { display: flex; gap: 5px; margin-top: 6px; }
.pa-star-picker button { border: 0; background: none; padding: 0; color: #d1d7d2; font-size: 1.45rem; line-height: 1; }
.pa-star-picker button.is-selected { color: #b86236; }
.pa-photo-preview { display: none; max-width: 180px; max-height: 110px; margin-top: 7px; border-radius: 8px; object-fit: cover; }
.pa-photo-preview.is-visible { display: block; }

/* Leaflet overrides */
.leaflet-popup-content-wrapper { border-radius: 12px; font-family: Manrope, Arial, sans-serif; }
.pa-leaflet-popup { min-width: 190px; padding: 2px; }
.pa-leaflet-popup small { display: block; color: #b86236; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.pa-leaflet-popup b { display: block; margin: 3px 0; color: var(--pa-ink); font-size: .78rem; }
.pa-leaflet-popup p { margin: 0; color: #5e776e; font-size: .64rem; line-height: 1.5; }

@media (max-width: 1000px) {
  .pa-nav { gap: 15px; }
  .pa-search-panel { grid-template-columns: 1fr 190px 170px; }
  .pa-search-panel .pa-button { grid-column: span 3; }
  .pa-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-partner-grid { grid-template-columns: repeat(3, 1fr); }
  .pa-sponsored-card { grid-template-columns: 1fr 1fr; }
  .pa-sponsored-actions { grid-column: span 2; }
  .pa-mb-card { grid-template-columns: 154px minmax(0, 1fr); }
  .pa-mb-card .pa-sponsored-copy { grid-column: 2; }
  .pa-mb-card .pa-sponsored-actions { grid-column: span 2; justify-content: flex-start; }
  .pa-authority-card { grid-template-columns: .82fr 1.18fr; }
  .pa-authority-copy .pa-sponsored-actions { grid-column: auto; }
}
@media (max-width: 760px) {
  .pa-shell { width: min(100% - 28px, 1240px); }
  .pa-topbar .pa-shell { font-size: .56rem; }
  .pa-topbar .pa-shell > span:first-child { display: none; }
  .pa-nav, .pa-header-actions { display: none; }
  .pa-nav-toggle { display: grid; place-items: center; }
  .pa-header.is-open .pa-nav { position: absolute; top: 75px; left: 0; right: 0; display: grid; gap: 0; border-top: 1px solid #dce4da; background: #fbfaf6; padding: 10px 18px 15px; box-shadow: 0 12px 20px rgba(20,50,40,.1); }
  .pa-header.is-open .pa-nav a { padding: 11px 0; }
  .pa-hero { min-height: 630px; }
  .pa-hero::before { background: linear-gradient(90deg, rgba(10,37,32,.91), rgba(10,37,32,.62)); }
  .pa-hero .pa-shell { padding-top: 58px; }
  .pa-hero h1 { font-size: clamp(3rem, 14vw, 4.15rem); }
  .pa-hero p { font-size: .9rem; }
  .pa-search-panel { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .pa-search-panel .pa-button { grid-column: auto; }
  .pa-stat { padding: 12px 5px; }
  .pa-stat span { font-size: .5rem; }
  .pa-section { padding: 55px 0; }
  .pa-section-head { display: block; }
  .pa-map-filter { margin-top: 17px; }
  .pa-map-layout, .pa-claim-layout { grid-template-columns: 1fr; gap: 0; }
  .pa-map-canvas, #pa-directory-map { min-height: 410px; height: 410px; }
  .pa-map-list { max-height: none; }
  .pa-listing-grid { grid-template-columns: 1fr; }
  .pa-claim-layout { gap: 35px; }
  .pa-sponsored-card { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
  .pa-sponsored-copy { border-top: 1px solid #e4ebe3; border-left: 0; padding: 15px 0 0; }
  .pa-sponsored-actions { grid-column: auto; flex-wrap: wrap; }
  .pa-mb-card { grid-template-columns: 1fr; }
  .pa-mb-creative { width: min(100%, 260px); justify-self: start; aspect-ratio: 1; }
  .pa-mb-creative img { min-height: 0; }
  .pa-mb-card .pa-sponsored-copy { grid-column: auto; padding-left: 0; }
  .pa-mb-card .pa-sponsored-actions { grid-column: auto; justify-content: flex-start; }
  .pa-authority-card { grid-template-columns: 1fr; }
  .pa-authority-image { min-height: 220px; max-height: 280px; }
  .pa-authority-copy { padding: 38px 22px 24px; }
  .pa-authority-copy .pa-sponsored-label { left: 22px; }
  .pa-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-footer-grid > div:first-child { grid-column: span 2; }
  .pa-network-foot, .pa-copyright { flex-direction: column; }
  .pa-legal-links { justify-content: flex-start; }
  .pa-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .pa-partner-grid { grid-template-columns: 1fr; }
  .pa-footer-grid { grid-template-columns: 1fr; }
  .pa-footer-grid > div:first-child { grid-column: auto; }
}
