/* MapXPet homepage preview: map hero + floating search + category cards */
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mx-hero{position:relative;height:520px;background:#e9ece8;border-bottom:1px solid #e3e6e1}
#map{position:absolute;inset:0;height:auto;min-height:0;border:0;border-radius:0}
.mx-hero .leaflet-bottom{bottom:84px}
.mx-search{position:absolute;z-index:1001;top:22px;left:50%;transform:translateX(-50%);width:min(780px,calc(100% - 32px));background:#fff;border-radius:10px;box-shadow:0 6px 24px rgba(29,37,33,.18);padding:.9rem 1rem .8rem}
.mx-search h1{font-size:1.15rem;margin:0 0 .55rem;line-height:1.3}
.mx-form{display:flex;gap:0;align-items:stretch;border:1px solid #bfc6bf;border-radius:8px;overflow:hidden}
.mx-field{flex:1 1 0;position:relative;display:flex;flex-direction:column;padding:.35rem .8rem .3rem;min-width:0}
.mx-field+.mx-field{border-left:1px solid #e3e6e1}
.mx-field label{font-size:.72rem;font-weight:700;text-transform:none;letter-spacing:.02em;color:#1f6f50}
.mx-field input{border:0;padding:.1rem 0;font-size:1rem;outline:none;background:transparent;width:100%}
.mx-form:focus-within{border-color:#1f6f50;box-shadow:0 0 0 3px #1f6f5033}
.mx-go{flex:0 0 auto;border:0;background:#1f6f50;color:#fff;width:64px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.mx-go:hover{background:#185a41}.mx-go:focus-visible{outline:3px solid #f0b400;outline-offset:-3px}
.mx-near{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);border:1px solid #cfd6cf;background:#f7f8f6;border-radius:999px;font:inherit;font-size:.78rem;padding:.15rem .55rem;cursor:pointer;color:#1f6f50;display:flex;gap:.25rem;align-items:center}
.mx-near:hover{background:#e8f3ee}
.mx-field.where input{padding-right:5.6rem}
.mx-sum{display:flex;flex-wrap:wrap;gap:.4rem .8rem;align-items:center;margin:.55rem 0 0;font-size:.9rem;min-height:1.4em}
.mx-sum:empty{display:none}
.mx-clear{border:1px solid #bfc6bf;background:#fff;border-radius:6px;font:inherit;font-size:.85rem;padding:.15rem .6rem;cursor:pointer}
.mx-clear:hover{border-color:#1f6f50;color:#1f6f50}
.mx-cards{position:relative;z-index:1002;max-width:1040px;margin:-64px auto 0;padding:0 1.5rem;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;list-style:none}
.mx-card{width:100%;height:100%;display:flex;align-items:center;gap:.8rem;background:#fff;border:2px solid transparent;border-radius:8px;box-shadow:0 4px 10px rgba(29,37,33,.12),0 1px 3px rgba(29,37,33,.08);padding:.85rem 1rem;font:inherit;color:#1d2521;text-align:left;cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}
.mx-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(29,37,33,.16)}
.mx-card:focus-visible{outline:3px solid #f0b400;outline-offset:2px}
.mx-card[aria-pressed=true]{border-color:var(--cc);background:color-mix(in srgb,var(--cc) 8%,#fff)}
.mx-card svg{flex:0 0 auto;width:40px;height:40px;color:var(--cc)}
.mx-card b{display:block;font-size:1rem}.mx-card span{display:block;font-size:.85rem;color:#55605a}
.mx-card.soon span{font-style:italic}
.mx-results{max-width:960px;margin:1.4rem auto 0;padding:0 1.5rem}
.mx-results[hidden]{display:none}
.mx-results .box h2{margin:.1rem 0 .6rem;font-size:1.15rem}
.mx-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.2rem 1.2rem}
.mx-list li{padding:.45rem 0;border-bottom:1px solid #eef0ed;line-height:1.35}
.mx-list a{font-weight:600}.mx-list small{display:block;color:#55605a}
.mx-list .pin{border:0;background:none;color:#1f6f50;font:inherit;font-size:.8rem;padding:0;margin-left:.3rem;cursor:pointer;text-decoration:underline}
.mx-more{margin-top:.7rem}
.mx-msg{background:#e8f3ee;padding:.7rem 1rem;border-radius:8px}
.mx-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.35rem;vertical-align:0}
main.mx-main{padding-top:1.4rem}
@media(max-width:760px){
 .mx-hero{height:500px}.mx-hero .leaflet-bottom{bottom:70px}
 .mx-search{top:12px;padding:.7rem .7rem .6rem}.mx-search h1{font-size:1rem}
 .mx-form{flex-wrap:wrap}.mx-field{flex:1 1 100%}.mx-field+.mx-field{border-left:0;border-top:1px solid #e3e6e1}
 .mx-go{width:100%;height:44px;gap:.4rem}.mx-go::after{content:"Search";font-weight:600}
 .mx-cards{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:-56px;padding:0 1rem}
 .mx-card{flex-direction:column;justify-content:center;text-align:center;padding:.7rem .5rem;gap:.3rem}.mx-card svg{width:34px;height:34px}.mx-card b{font-size:.9rem;line-height:1.25}.mx-card span{font-size:.78rem}
 .mx-results{padding:0 1rem}
}
/* city landing state */
.mx-cityband{position:absolute;inset:0;overflow:hidden;background:#1f6f50}
.mx-cityimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mx-cityband::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,30,24,.72) 0%,rgba(16,30,24,.35) 40%,rgba(16,30,24,.05) 70%);pointer-events:none}
.mx-cityph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;color:#e8f3ee;background:repeating-linear-gradient(135deg,#1f6f50 0 22px,#236f53 22px 44px);font-weight:600;padding-left:0;padding-right:52%}
.mx-citytxt{position:absolute;z-index:2;left:max(24px,calc(50% - 600px));bottom:96px;width:min(40%,460px);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.mx-citytxt h2{font-size:2.1rem;line-height:1.15;margin:0 0 .3rem}.mx-citytxt p{margin:.15rem 0;font-size:1rem}
.mx-citytxt a,.mx-linkbtn{color:#fff;font-weight:600}
.mx-linkbtn{background:none;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer;text-shadow:inherit}
.mx-credit{position:absolute;z-index:2;left:8px;bottom:70px;margin:0;font-size:.7rem;color:#fff;background:rgba(0,0,0,.45);padding:.1rem .45rem;border-radius:4px;max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-credit a{color:#fff}
.mx-hero.mx-city{height:600px}
.mx-hero.mx-city #map{inset:212px 24px 84px auto;width:min(54%,700px);border-radius:10px;border:3px solid #fff;box-shadow:0 8px 28px rgba(0,0,0,.3);z-index:1}
.mx-hero.mx-city .leaflet-bottom{bottom:0}
@media(max-width:760px){
 .mx-hero.mx-city{height:auto;display:flex;flex-direction:column;padding:12px 10px 72px}
 .mx-hero.mx-city .mx-cityband{display:contents}
 .mx-hero.mx-city .mx-cityimg,.mx-hero.mx-city .mx-cityph{position:absolute;inset:0;height:100%;z-index:0}
 .mx-hero.mx-city .mx-cityband::after{z-index:0;background:linear-gradient(180deg,rgba(16,30,24,.2) 0%,rgba(16,30,24,.7) 55%,rgba(16,30,24,.85) 100%)}
 .mx-hero.mx-city .mx-search{position:relative;top:auto;left:auto;transform:none;width:100%;order:1}
 .mx-hero.mx-city .mx-citytxt{position:relative;left:auto;right:auto;bottom:auto;top:auto;width:auto;order:2;margin:14px 6px 4px}.mx-citytxt h2{font-size:1.5rem}.mx-citytxt p{font-size:.9rem}
 .mx-hero.mx-city .mx-credit{position:relative;left:auto;top:auto;bottom:auto;order:3;max-width:100%;align-self:flex-start;margin:0 0 10px;font-size:.65rem}
 .mx-hero.mx-city #map{position:relative;inset:auto;order:4;width:auto;height:320px;flex:0 0 320px}
 .mx-hero.mx-city .mx-cityph span,.mx-hero.mx-city .mx-cityph svg{display:none}
}
.mx-card.zero b,.mx-card.zero span{color:#8a948e}.mx-card.zero svg{opacity:.45}
.mx-credit.ph{display:none}@media(max-width:760px){.mx-credit.ph{display:block}}
/* marker clusters (Leaflet.markercluster) in MapXPet green */
.mx-cluster{background:rgba(31,111,80,.28);border-radius:50%}
.mx-cluster span{position:absolute;inset:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#1f6f50;color:#fff;font:700 12px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;box-shadow:0 0 0 2px #fff}
.mx-cluster-m span{font-size:13px}.mx-cluster-l span{font-size:14px;inset:5px}
/* ad + partner section under the cards/results (preview placeholders only, no ad code) */
.mx-ads{max-width:960px;margin:1.6rem auto 0;padding:0 1.5rem}
.mx-ads-in{background:#eef2ef;border:1px solid #e3e6e1;border-radius:10px;padding:1rem 1.2rem 1.2rem}
.mx-eyebrow{margin:0 0 .45rem;font-size:.7rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#5b655f}
.mx-ad{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:728px;max-width:100%;height:90px;margin:0 auto;border:1px dashed #b9c0bb;border-radius:6px;background:#e3e8e4;color:#4d5651;font-size:.9rem;text-align:center}
.mx-ad b{font-weight:600}.mx-ad>span{font-size:.75rem;color:#5b655f}.mx-ad .m{display:none}
.mx-ads-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:1.1rem 0 .1rem}
.mx-ads-head a{font-size:.85rem;font-weight:600;color:#1f6f50}
.mx-partners{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mx-partner{box-sizing:border-box;display:flex;flex-direction:column;gap:.15rem;min-height:100px;height:100%;background:#fff;border:2px solid transparent;border-radius:8px;box-shadow:0 4px 10px rgba(29,37,33,.08),0 1px 3px rgba(29,37,33,.06);padding:.7rem .9rem;color:#1d2521;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.mx-partner:hover,.mx-partner:focus-visible{border-color:#1f6f50;box-shadow:0 6px 14px rgba(29,37,33,.12)}
.mx-tag{align-self:flex-start;font-size:.65rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#1f6f50;background:#e3efe9;border-radius:999px;padding:.05rem .5rem}
.mx-partner b{font-size:.95rem;margin-top:.15rem}.mx-pdesc{font-size:.8rem;color:#5b655f}
.mx-cta{margin-top:auto;padding-top:.2rem;font-size:.8rem;font-weight:600;color:#1f6f50}
.mx-main code{overflow-wrap:anywhere}
@media(max-width:760px){
 .mx-ads{padding:0 1rem;margin-top:1.2rem}
 .mx-ads-in{padding:.85rem .85rem 1rem}
 .mx-ad{width:320px;height:100px}.mx-ad .d{display:none}.mx-ad .m{display:inline}
 .mx-partners{grid-template-columns:1fr;gap:10px}
}
.mx-ads-foot{margin:.8rem 0 0;text-align:right;font-size:.78rem}
.mx-ads-foot a{color:#5b655f;text-decoration:underline;text-decoration-color:#b9c0bb;text-underline-offset:2px}
.mx-ads-foot a:hover,.mx-ads-foot a:focus-visible{color:#1f6f50;text-decoration-color:#1f6f50}
@media(max-width:760px){.mx-ads-foot{text-align:center}}
@media(max-width:760px){.mx-ads-head{flex-direction:column;align-items:flex-start;gap:0;margin-top:.9rem}.mx-ads-head .mx-eyebrow{margin-bottom:.1rem}.mx-ads-head a{margin-bottom:.45rem}}
/* split (ads3): slim banner block under the cards; partner cards as their own section above About */
.mx-ads-banner .mx-ads-in{background:#f1f3f1;border-color:#e8ebe8;padding:.6rem 1rem .55rem}
.mx-ads-banner .mx-eyebrow{margin-bottom:.35rem;font-size:.65rem}
.mx-ads-banner .mx-ads-foot{margin-top:.4rem}
.mx-partners-sec{margin:1rem 0}
.mx-partners-sec .mx-ads-head{margin:0 0 .5rem}
.mx-partners-sec h2.mx-eyebrow{margin:0}
@media(max-width:760px){.mx-ads-banner .mx-ads-in{padding:.55rem .7rem .5rem}.mx-partners-sec .mx-ads-head{margin-top:0}}
/* community boards carousel (t201-t203) */
.mx-comm{margin:1rem 0}.mx-comm-head h2{margin:0 0 .2rem}.mx-comm-sub{margin:0 0 .7rem;color:#4d5651;font-size:.92rem}
.mx-comm-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.7rem}
.mx-comm-tabs button{font:inherit;font-size:.85rem;padding:.3rem .8rem;border:1px solid #c9d2cc;background:#fff;border-radius:999px;cursor:pointer;color:#1d2521}
.mx-comm-tabs button[aria-selected=true]{background:#1f6f50;border-color:#1f6f50;color:#fff}
.mx-car{position:relative;display:flex;align-items:center;gap:.5rem}
.mx-car-vp{overflow:hidden;flex:1;border-radius:8px}.mx-car-track{list-style:none;margin:0;padding:0;display:flex;transition:transform .35s ease}
.mx-slide{flex:0 0 50%;box-sizing:border-box;padding:0 6px}.mx-slide[hidden]{display:none}
.mx-slide img{display:block;width:100%;height:170px;object-fit:cover;border-radius:8px 8px 0 0}
.mx-slide-b{border:1px solid #e3e6e1;border-top:0;border-radius:0 0 8px 8px;padding:.6rem .8rem .8rem;background:#fff}
.mx-slide h3{margin:.3rem 0 0;font-size:1.05rem}.mx-sty{margin:0;font-size:.82rem;color:#5b655f}.mx-sdesc{margin:.3rem 0 .6rem;font-size:.88rem}
.mx-stag{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-radius:999px;padding:.1rem .55rem}
.mx-stag.lost{background:#fde3d6;color:#a63a10}.mx-stag.breed{background:#e3efe9;color:#1f6f50}
.mx-sample{font-size:.65rem;font-weight:600;color:#5b655f;border:1px solid #c9d2cc;border-radius:4px;padding:0 .35rem}
.mx-contact{display:inline-block;background:#1f6f50;color:#fff;text-decoration:none;font-weight:600;font-size:.85rem;padding:.35rem .8rem;border-radius:6px}
.mx-contact.mem{background:#fff;color:#1f6f50;border:1px solid #1f6f50}
.mx-car-btn{flex:0 0 auto;width:38px;height:38px;border-radius:50%;border:1px solid #c9d2cc;background:#fff;font-size:1.5rem;line-height:1;cursor:pointer;color:#1f6f50}
.mx-comm :focus-visible{outline:3px solid #1f6f50;outline-offset:2px}
.mx-car-pos{text-align:center;font-size:.78rem;color:#5b655f;margin:.35rem 0 0}
.mx-comm-links{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:center;margin-top:.6rem;font-weight:600;font-size:.9rem}
.mx-comm-links a{color:#1f6f50}.mx-comm-cta{background:#c2410c;color:#fff!important;padding:.35rem .8rem;border-radius:6px;text-decoration:none}
.mx-comm-mem{margin:.7rem 0 0;font-size:.82rem;color:#4d5651}.mx-comm-note{margin:.3rem 0 0;font-size:.75rem;color:#5b655f}
@media(max-width:760px){.mx-slide{flex-basis:100%}.mx-car-btn{width:32px;height:32px}.mx-slide img{height:150px}}
@media(prefers-reduced-motion:reduce){.mx-car-track{transition:none}}
.mx-stag.sale{background:#e6ecfa;color:#2b4a9b}

.mx-stag.found{background:#dcecfb;color:#1d4f86}
.mx-pubc{font-size:.85rem;margin:.2rem 0 .5rem}

/* t224: interest dialog on homepage carousel (copied from community.css) */
.cb-note{font-size:.85rem;color:#5b655f}
.cb-btn{display:inline-block;background:#1f6f50;color:#fff;text-decoration:none;font:inherit;font-weight:600;font-size:.9rem;padding:.45rem .9rem;border-radius:6px;border:1px solid #1f6f50;cursor:pointer}
.cb-btn.big{padding:.65rem 1.2rem}
.cb-btn.ghost{background:#fff;color:#1f6f50}
.cb-mem{display:inline-block;font-size:.65rem;font-weight:700;text-transform:uppercase;background:#fff4d6;color:#7a5a00;border:1px solid #e0b100;border-radius:4px;padding:0 .35rem;margin-right:.3rem}
.cb-dlg h2{margin-top:0;font-size:1.2rem}
.cb-actions .cb-btn{margin:.2rem .4rem .2rem 0}
.cb-int{font:inherit;font-size:.85rem;font-weight:600;background:#fff;color:#1f6f50;border:1px solid #1f6f50;border-radius:6px;padding:.4rem .8rem;cursor:pointer;margin:.3rem 0}
.cb-int:disabled{opacity:.7;cursor:default}
.cb-toast{position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%);background:#1d2521;color:#fff;padding:.8rem 1.1rem;border-radius:10px;max-width:min(520px,92vw);box-shadow:0 6px 24px rgba(0,0,0,.3);z-index:50}
dialog#int-dlg,dialog#share-dlg{border:0;border-radius:12px;max-width:min(460px,92vw);padding:1.2rem 1.4rem;box-shadow:0 10px 40px rgba(0,0,0,.25)}
dialog#int-dlg::backdrop,dialog#share-dlg::backdrop{background:rgba(29,37,33,.45)}
.cb-pact .cb-btn{margin:.2rem .2rem .2rem 0}
.mx-int{margin:.5rem 0 0}.mx-int .cb-int{margin:0}
#int-dlg label{display:block;font-weight:600;margin:.6rem 0 .2rem}#int-dlg textarea,#int-dlg input{box-sizing:border-box;width:100%;font:inherit;padding:.4rem;border:1px solid #b9c0bb;border-radius:6px}#int-dlg small{display:block;color:#5b655f;font-size:.8rem}
/* t224: right-hand ad column */
.mx-side .mx-ads{max-width:none;margin:0;padding:0}
.mx-side .mx-partners-sec{margin:1rem 0 0}
.mx-side .mx-partners{grid-template-columns:1fr;gap:10px}
.mx-side .mx-ads-head{flex-direction:column;align-items:flex-start;gap:0}
@media(min-width:1100px){.mx-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;max-width:1280px;margin:0 auto;padding:0 1.5rem;box-sizing:border-box;align-items:start}
.mx-layout>main.mx-main{max-width:none;margin:0;min-width:0}
.mx-side{position:sticky;top:1rem;padding-top:1.4rem}
.mx-side .mx-ad{width:300px;height:250px}}
@media(max-width:1099px){.mx-side{max-width:960px;margin:1rem auto 1.5rem;padding:0 1.5rem}}
@media(max-width:760px){.mx-side{padding:0 1rem}.mx-side .mx-ad{width:320px;height:100px}}
/* t225: four category tiles under the map; consistent '✓ Interest sent' state */
.mx-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.mx-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mx-tiles{grid-template-columns:1fr}}
main.mx-main>section#cities{margin-top:1.5rem}
.cb-int,.cb-int:disabled{font-weight:600;font-family:inherit;color:#1f6f50;-webkit-text-fill-color:#1f6f50}
.cb-int:disabled{opacity:1;background:#eef6f1}
/* t226: events column ("This week") */
.mx-ev{background:#fff;border:1px solid #e3e6e1;border-radius:10px;padding:.9rem 1rem}
.mx-ev-h{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 .5rem}
.mx-ev-h h2{font-size:1rem;margin:0}.mx-ev-h span{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#1f6f50;background:#e3f2ea;border-radius:10px;padding:.1rem .5rem}
.mx-ev ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;transition:opacity .6s ease}.mx-ev ul.fade{opacity:0}
.mx-evc a{display:flex;flex-direction:column;gap:.1rem;padding:.6rem .7rem;border:1px solid #e3e6e1;border-radius:8px;color:#1d2521;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.mx-evc a:hover,.mx-evc a:focus-visible{border-color:#1f6f50;transform:translateY(-1px);box-shadow:0 4px 10px rgba(29,37,33,.08)}
.mx-evc b{font-size:.95rem}.mx-evw{font-size:.8rem;color:#1f6f50;font-weight:600}.mx-evc time{font-size:.78rem;color:#5b655f}.mx-evd{font-size:.82rem;color:#3d4641}
.mx-ev-foot{font-size:.75rem;color:#5b655f;margin:.6rem 0 0}
.mx-ev-foot .mx-ev-all{margin-left:.35rem;color:#1f6f50;text-decoration:underline;text-underline-offset:2px}
/* t1047: approximate 3/4/6-card window before JS measures exact height (avoids a tall CLS flash). */
#mx-ev .mx-ev-viewport{overflow-y:auto;overflow-x:hidden;overflow-anchor:none;overscroll-behavior-y:contain;scrollbar-width:thin;max-height:calc(3 * 6.6rem + 20px)}
@media(min-width:760px){#mx-ev .mx-ev-viewport{max-height:calc(4 * 6.6rem + 30px)}}
@media(min-width:1100px){#mx-ev .mx-ev-viewport{max-height:calc(6 * 6.6rem + 50px)}}
#mx-ev .mx-ev-viewport>ul{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;transition:none;transform:none}
#mx-ev .mx-ev-viewport>ul>li{flex:none}
@media(prefers-reduced-motion:reduce){.mx-ev ul,.mx-evc a{transition:none}.mx-evc a:hover{transform:none}}
.mx-evc .mx-sample{align-self:flex-start}
/* t227: real-event source line + affiliate slot */
.mx-evs{font-size:.72rem;color:#5b655f;text-decoration:underline;text-underline-offset:2px}
.mx-evc>.mx-evs{display:block;margin:.2rem .7rem 0}
.mx-aff{margin-top:1rem}
.mx-aff-disc{font-size:.72rem;color:#5b655f;margin:0 0 .35rem}
.mx-aff-slot{box-sizing:border-box;width:300px;max-width:100%;height:250px;margin:0 auto;border:1px dashed #b9c0bb;border-radius:8px;background:#f4f6f4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;text-align:center;color:#3d4641;font-weight:600;position:relative}
.mx-aff-slot small{font-weight:400;font-size:.72rem;color:#5b655f}
.mx-aff-a,.mx-aff-b{animation:mxAff 12s infinite}
.mx-aff-b{position:absolute;top:calc(50% - .9rem);opacity:0;animation-delay:-6s}
@keyframes mxAff{0%,45%{opacity:1}50%,95%{opacity:0}100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.mx-aff-a,.mx-aff-b{animation:none}.mx-aff-b{position:static;opacity:1}}
@media(max-width:760px){.mx-aff-slot{width:300px;height:250px}}

/* live AdSense 300×250 around pet-events */
.mx-adslot{display:flex;flex-direction:column;align-items:center;margin:0 0 1rem}
.mx-adslot--below{margin:1rem 0}
.mx-adslot .adsbygoogle{display:inline-block;width:300px;height:250px}
@media(min-width:1100px){.mx-side:has(.mx-adslot){position:static}}
@media(max-width:1099px){.mx-adslot{margin:1rem auto}}

/* t760 mobile-only: compact search banner, taller map, more room above category tiles (desktop untouched) */
@media(max-width:760px) and (hover:none) and (pointer:coarse){
 .mx-hero:not(.mx-city){height:540px}
 .mx-hero:not(.mx-city) .leaflet-bottom{bottom:52px}
 .mx-hero:not(.mx-city) .mx-search{top:8px;width:calc(100% - 24px);padding:.45rem .55rem .45rem;border-radius:9px}
 .mx-hero:not(.mx-city) .mx-search h1{font-size:.88rem;margin:0 0 .3rem;line-height:1.2}
 .mx-hero:not(.mx-city) .mx-field{padding:.15rem .65rem .1rem}
 .mx-hero:not(.mx-city) .mx-field label{font-size:.66rem;line-height:1.2}
 .mx-hero:not(.mx-city) .mx-field input{padding:0;line-height:1.3}
 .mx-hero:not(.mx-city) .mx-near{font-size:.72rem;padding:.1rem .5rem}
 .mx-hero:not(.mx-city) .mx-go{height:38px}
 .mx-hero:not(.mx-city) .mx-sum{margin-top:.35rem;font-size:.82rem}
 .mx-hero:not(.mx-city)+.mx-cards{margin-top:-34px}
}

/* t761 mobile-only: much smaller search box, tiles nudged lower, wider partner carousel without arrows (desktop untouched) */
@media(max-width:760px) and (hover:none) and (pointer:coarse){
 .mx-hero:not(.mx-city) .mx-search{top:6px;width:calc(100% - 20px);padding:.3rem .4rem .35rem;border-radius:8px}
 .mx-hero:not(.mx-city) .mx-search h1{font-size:.78rem;margin:0 0 .2rem .1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mx-hero:not(.mx-city) .mx-form{border-radius:6px}
 .mx-hero:not(.mx-city) .mx-field{padding:.1rem .55rem}
 .mx-hero:not(.mx-city) .mx-field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
 .mx-hero:not(.mx-city) .mx-field input{line-height:1.25;min-height:32px}
 .mx-hero:not(.mx-city) .mx-field.where{flex:1 1 0}
 .mx-hero:not(.mx-city) .mx-go{width:44px;height:auto;flex:0 0 44px;border-top:1px solid #e3e6e1}
 .mx-hero:not(.mx-city) .mx-go::after{content:none}
 .mx-hero:not(.mx-city) .mx-sum{margin-top:.25rem;font-size:.78rem}
 .mx-hero:not(.mx-city)+.mx-cards{margin-top:-20px}
 .mx-main .mx-partner-banner{max-width:none;width:100vw;margin:20px 0 22px calc(50% - 50vw);padding:0;box-sizing:border-box}
 .mx-main .mx-partner-banner .mx-pb-wrap{gap:0}
 .mx-main .mx-partner-banner .mx-pb-prev,.mx-main .mx-partner-banner .mx-pb-next{display:none}
 .mx-main .mx-partner-banner .mx-pb-viewport,.mx-main .mx-partner-banner .mx-pb-slide img{border-radius:0}
}

/* t764 desktop-only (>760px) city view (?where=<city>): map centred under the search box, title + counts as a full-width strip below it, links unchanged, photo credit hidden. Default view and mobile untouched. */
@media(min-width:761px){
 .mx-hero.mx-city{height:720px}
 .mx-hero.mx-city #map{inset:212px 0 auto 0;margin:0 auto;width:min(780px,calc(100% - 32px));height:300px;box-sizing:border-box}
 .mx-hero.mx-city .mx-citytxt{left:0;right:0;top:528px;bottom:auto;width:auto;box-sizing:border-box;padding:.6rem max(24px,calc(50% - 520px)) .7rem;text-align:center;background:rgba(16,30,24,.62)}
 .mx-hero.mx-city .mx-citytxt h2{font-size:1.6rem;margin:0 0 .2rem}
 .mx-hero.mx-city .mx-credit{display:none}
}

/* t771 desktop-only (>760px): two-column homepage at every desktop width; right column = AdSense box level with the Dog parks tile, then Pet events. Mobile (<=760px) untouched. */
@media(min-width:761px) and (max-width:1099px){
 .mx-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;max-width:1280px;margin:0 auto;padding:0 1rem;box-sizing:border-box;align-items:start}
 .mx-layout>main.mx-main{max-width:none;margin:0;min-width:0}
 .mx-side{position:static;max-width:none;margin:0;padding:1.4rem 0 0}
 .mx-side .mx-adslot{margin:0 0 1rem}
 .mx-side .mx-adslot--below{margin:1rem 0}
}
@media(min-width:761px){
 .mx-layout>.mx-side{padding-top:calc(1.4rem + var(--mx-side-offset,0px))}
}
/* t771: the four category tiles stay one row on desktop (>=761px) and on zoomed/narrow desktop windows (fine pointer); phones keep their layout */
@media(min-width:761px),(hover:hover) and (pointer:fine){
 .mx-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:1099px),(max-width:760px) and (hover:hover) and (pointer:fine){
 .mx-tiles{gap:.6rem}
 .mx-tiles>.card{padding:.55rem .6rem;font-size:.82rem;hyphens:auto;overflow-wrap:break-word}
 .mx-tiles>.card h2{font-size:.95rem;margin:.45rem 0 .15rem}
 .mx-tiles>.card p{margin:.3rem 0}
}

/* t773: right column - AdSense box top level with the partner carousel top, Pet events directly below it (desktop two-column only). Zoomed/narrow fine-pointer one-column view: partner carousel spans exactly the eight-box row. Phones (touch) untouched. */
@media(min-width:761px){
 .mx-layout>.mx-side{padding-top:calc(1.4rem + var(--mx-side-offset,24px))}
 .mx-layout>.mx-side>.mx-adslot--above{margin-bottom:.5rem}
}
@media(max-width:760px) and (hover:hover) and (pointer:fine){
 .mx-layout{container-type:inline-size}
 .mx-layout>main.mx-main>.mx-partner-banner{max-width:none;padding:0;box-sizing:border-box;margin-left:-8px;margin-right:0;width:calc(100cqw - 32px)}
}

/* t852: homepage events column without ad slots: carousel starts at the top of the column and shows 6 events at once on desktop */
.mx-side--events .mx-ev{margin:0}
@media(min-width:1100px){.mx-side.mx-side--events{position:static}
 .mx-side--events .mx-evc a{padding:.5rem .65rem}
 .mx-side--events .mx-evc b{font-size:.9rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .mx-side--events .mx-evw{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mx-side--events .mx-evd{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}}
/* t852: lost & found report buttons side by side; they wrap onto two rows only when there is no room */
.mx-comm-ctas{display:flex;flex-wrap:wrap;gap:.6rem;flex:1 1 100%}
.mx-comm-ctas .mx-comm-cta{flex:0 1 auto;text-align:center}
@media(max-width:560px){.mx-comm-ctas .mx-comm-cta{flex:1 1 0;min-width:9.5rem;display:flex;align-items:center;justify-content:center;line-height:1.25;padding:.5rem .6rem}}
