.community-page{max-width:1180px;margin-inline:auto;overflow-wrap:anywhere}.community-page h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.1}.community-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#eaf3ed;border:1px solid #d1e2d6;padding:clamp(22px,4vw,48px);border-radius:24px;margin-bottom:28px}.community-hero h1{margin:10px 0 16px}.community-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.community-actions form{margin:0}.community-hero>.community-actions{max-width:300px}.community-hero>.community-actions a{width:100%;text-align:center}.community-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:24px 0}.community-filters .field{flex:1;min-width:180px}.community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0 30px}.community-card{min-width:0;background:#fff;border:1px solid #d4dfd8;border-radius:20px;overflow:hidden;box-shadow:0 6px 18px #163b2710}.community-card>a{color:inherit;text-decoration:none}.community-card img{width:100%;height:220px;object-fit:cover;display:block}.community-card-copy{padding:22px}.community-card-copy h3{margin:12px 0;font-size:1.6rem}.community-badge{display:inline-block;border:1px solid #9fbca8;background:#edf5ee;color:#214d3e;padding:7px 12px;border-radius:99px;font-weight:700;font-size:.85rem}.community-help-button{background:#214d3e!important;color:#fff!important;min-height:50px;box-shadow:0 5px 0 #143c2d}.community-card--campaign{border:2px solid #aac7ad}.community-campaign-section,.community-shelter-support{background:#f1f5e9;border:1px solid #ceddbd;border-radius:22px;padding:clamp(18px,3vw,32px);margin-block:32px}.community-shelter-support,.community-shelter-pets{grid-column:1/-1;min-width:0}.community-shelter-pets{padding:20px}.community-owner-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;border-top:1px solid #d8e3da;padding:20px 0;margin-top:20px}.community-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;margin-top:24px}.community-gallery img{width:100%;max-height:550px;object-fit:contain;border-radius:14px;background:#f1f4ef}.community-gallery{display:grid;gap:12px}.community-text{white-space:pre-line;overflow-wrap:anywhere}.community-notice{padding:14px;background:#fff4d8;border:1px solid #dec88a;border-radius:12px}.community-thumbnails{display:flex;gap:10px;flex-wrap:wrap}.community-thumbnails img{width:100px;height:90px;object-fit:cover;border-radius:12px}.community-page input[type=file]{padding:12px;min-height:54px;max-width:100%}.community-page input[type=file]::file-selector-button{padding:10px;border:0;border-radius:8px;background:#e7efe9;color:#214d3e;margin-right:10px}.community-page .soft-card{min-width:0;margin-block:18px}.community-page .field input,.community-page .field select,.community-page .field textarea{max-width:100%}.community-page .form-grid>.full{grid-column:1/-1}.community-location-results{display:grid;gap:8px}.community-location-results button{text-align:left;white-space:normal}.community-map-wrap{position:relative;border-radius:20px;overflow:hidden;border:1px solid #c5d7ca}.community-map-wrap #community-map{height:420px;z-index:1}.community-map-status{position:absolute;top:12px;left:55px;right:12px;margin:0;padding:10px 14px;background:#fffdf5ef;border-radius:10px;z-index:500;pointer-events:none;max-width:480px}.community-map-locate{position:absolute;right:12px;bottom:28px;z-index:500;background:#fff}.community-map-marker>span{display:grid;place-items:center;border:3px solid #fff;border-radius:50%;height:38px;width:38px;background:#bd584e;color:#fff;box-shadow:0 2px 7px #0004;font-weight:800;font-size:20px}.community-map-marker>span.is-shelter{background:#214d3e}.community-map-popup>div+div{margin-top:16px;padding-top:12px;border-top:1px solid #ddd}.community-map-popup strong,.community-map-popup small{display:block}.community-map-popup p{margin:5px 0 10px}.community-campaign-cover{display:block;width:100%;max-height:450px;object-fit:contain;border-radius:14px;margin-block:20px}.community-map-section .section-title{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
@media(max-width:800px){.community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-hero{display:block}.community-hero>.community-actions{margin-top:22px;max-width:none}.community-detail{grid-template-columns:minmax(0,1fr)}.community-map-wrap #community-map{height:350px}}
@media(max-width:520px){.community-grid{grid-template-columns:minmax(0,1fr)}.community-page{padding-inline:16px}.community-hero{padding:22px}.community-page .form-grid{grid-template-columns:minmax(0,1fr)}.community-actions>.btn,.community-actions>.btn-secondary{max-width:100%;white-space:normal}.community-card img{height:240px}.community-map-wrap #community-map{height:320px}.community-map-status{font-size:.8rem;left:52px}.community-map-locate{font-size:.85rem}.community-page .page-head h1{font-size:2rem}}

/* Shared map controls: equal targets, no wrapped third option. */
.hc-site .map-mode-toggle{grid-template-columns:repeat(3,minmax(0,1fr));flex-shrink:0;align-items:stretch}
.hc-site .map-mode-toggle>button,.hc-site .map-mode-toggle>a{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:0;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-weight:700;text-decoration:none;white-space:nowrap}
.hc-site .map-mode-toggle>button.is-active{background:#172521;color:#fff}
.hc-site .map-mode-toggle>a:hover,.hc-site .map-mode-toggle>button:not(.is-active):hover{background:#eaf3ed;color:#214d3e}
.community-kind{display:flex;gap:4px;min-width:0;margin:0;padding:5px;border:1px solid #c5d7ca;border-radius:14px;background:#fff}
.community-kind legend{padding:0}.community-kind label{position:relative;flex:1;cursor:pointer;margin:0}
.community-kind input{position:absolute;opacity:0;width:1px;height:1px}
.community-kind span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border-radius:10px;color:#365648;font-weight:700}
.community-kind input:checked+span{background:#214d3e;color:#fff}
.community-kind input:focus-visible+span{outline:3px solid #b89545;outline-offset:2px}
.community-filters{background:#fff;border:1px solid #d4dfd8;border-radius:18px;padding:18px;gap:16px}
.community-filters .field{margin:0}.community-filters .field input,.community-filters .field select{min-height:48px;border-radius:10px}
.community-map-feedback{min-height:46px;padding-top:8px}
.community-map-feedback .community-map-status{position:static;max-width:none;background:transparent;padding:0;color:#476154;font-size:.9rem}
@media(max-width:760px){.hc-site .map-mode-toggle>button,.hc-site .map-mode-toggle>a{padding:9px 8px;font-size:14px}.community-kind{width:100%}.community-kind span{padding-inline:10px}.community-filters{display:grid;grid-template-columns:minmax(0,1fr);padding:16px}.community-filters .field{min-width:0}.community-filters>.btn{width:100%}.community-map-feedback{min-height:62px}}
.community-kind{flex-shrink:0}.community-kind span{white-space:nowrap;padding-inline:14px}.community-kind label{flex:1 0 auto}

.hc-site .map-mode-toggle{width:330px;min-width:330px;flex:0 0 330px}
@media(max-width:760px){.hc-site .map-mode-toggle{width:100%;min-width:0;flex:0 0 auto}}

/* Size the toolbar columns too: the old 220px track overlapped the wider selector. */
.hc-site .map-toolbar{display:grid;grid-template-columns:330px minmax(180px,1fr) auto;align-items:center;gap:12px}
.hc-site .map-toolbar .map-mode-toggle{width:100%;min-width:0;max-width:100%;margin:0}
.hc-site .map-toolbar .search-pill{width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0}
.hc-site .map-toolbar .map-toolbar-actions{width:auto;min-width:0;justify-content:flex-end;margin:0}
@media(min-width:761px) and (max-width:1100px){.hc-site .map-toolbar{grid-template-columns:330px minmax(0,1fr)}.hc-site .map-toolbar-actions{grid-column:1/-1}}
@media(max-width:760px){.hc-site .map-toolbar{grid-template-columns:minmax(0,1fr)}.hc-site .map-toolbar .map-toolbar-actions{width:100%;grid-column:auto}.hc-site .map-toolbar .map-mode-toggle{width:100%}}

.community-shelter-pets{background:#fff;border:1px solid #d4dfd8;border-radius:22px;margin-block:24px;padding:clamp(18px,3vw,32px)}
.community-shelter-pets h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-top:0}.community-shelter-pets .community-grid{margin-bottom:0}
.community-transfer-details{border:1px solid #bfd2c3;border-radius:14px;background:#f7fbf5;padding:18px;margin:18px 0}
.community-transfer-details dl{display:grid;gap:12px;margin:16px 0}.community-transfer-details dl>div{display:grid;gap:4px}.community-transfer-details dt{color:#526158;font-size:.85rem}.community-transfer-details dd{margin:0;font-weight:700;overflow-wrap:anywhere}.community-transfer-details .community-alias{font-size:1.2rem;user-select:all}.community-transfer-details .hint{margin-bottom:0}
.community-bank-fields{border:1px solid #c5d7ca;border-radius:14px;padding:20px;min-width:0}.community-bank-fields legend{font-weight:700;padding-inline:8px}
.community-map-marker img{width:26px;height:26px;display:block}.community-map-marker>span.is-shelter{background:#214d3e;border-width:3px;box-shadow:0 3px 9px #173c3155}

.provider-profile--shelter>.community-shelter-pets{grid-row:2;grid-column:1/-1;margin:0}
.provider-profile--shelter>.community-shelter-support{grid-row:3;grid-column:1/-1;margin:0}
.provider-profile--shelter>#informacion{grid-row:4/span 4}.provider-profile--shelter>#catalogo{grid-row:4}.provider-profile--shelter>#novedades{grid-row:5}.provider-profile--shelter>#fotos{grid-row:6}.provider-profile--shelter>#resenas{grid-row:7}
@media(max-width:900px){.provider-profile--shelter>.community-shelter-pets{order:2}.provider-profile--shelter>.community-shelter-support{order:3}.provider-profile--shelter>#catalogo{order:4}.provider-profile--shelter>#novedades{order:5}.provider-profile--shelter>#fotos{order:6}.provider-profile--shelter>#informacion{order:7}.provider-profile--shelter>#resenas{order:8}}

.community-shelter-pets,.community-shelter-support{scroll-margin-top:110px}

.community-shelter-support .community-grid{grid-template-columns:minmax(0,1fr)}
.community-shelter-support .community-card-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);gap:14px 28px;align-items:start;padding:26px}
.community-shelter-support .community-card-copy>.eyebrow,.community-shelter-support .community-card-copy>h3,.community-shelter-support .community-card-copy>p,.community-shelter-support .community-card-copy>a{grid-column:1;margin:0}
.community-shelter-support .community-card-copy>h3{font-size:1.55rem;line-height:1.3}.community-shelter-support .community-card-copy>a{justify-self:start}
.community-shelter-support .community-card-copy>.community-transfer-details{grid-column:2;grid-row:1/span 4;margin:0}
@media(max-width:760px){.community-shelter-support .community-card-copy{grid-template-columns:minmax(0,1fr);padding:20px}.community-shelter-support .community-card-copy>.community-transfer-details{grid-column:1;grid-row:auto}}

.community-shelter-support .community-card-copy{grid-template-rows:repeat(3,min-content) 1fr;align-content:start}
@media(max-width:760px){.community-shelter-support .community-card-copy{grid-template-rows:none}}

.community-shelter-pets .community-shelter-pet-actions{margin-top:28px;gap:12px;align-items:center}
