/* Community modules: scoped styling, no effect on existing players or templates. */
.ap-community-section{max-width:1140px;margin:36px auto;padding:24px 20px;background:rgba(15,23,42,.43);border:1px solid rgba(148,163,184,.25);border-radius:20px;color:inherit}
.ap-community-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.ap-community-head span{font-size:.78rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase;opacity:.7}.ap-community-head h2{font-size:clamp(1.3rem,3vw,1.9rem);margin:5px 0}.ap-community-head p{margin:0;opacity:.75}.ap-community-head a{text-decoration:none;font-weight:750;color:inherit}
.ap-community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.ap-community-card{min-width:0;overflow:hidden;background:#fff;color:#162036;border:1px solid #e2e8f0;border-radius:17px;box-shadow:0 9px 25px rgba(0,0,0,.09);text-align:left}.ap-community-card img,.ap-community-placeholder{width:100%;height:180px;display:block;object-fit:cover}.ap-community-placeholder{display:grid;place-items:center;background:linear-gradient(130deg,#1e293b,#55617c);font-size:3.7rem;color:#fff}.ap-community-card-body{padding:18px}.ap-community-card-body h3{font-size:1.08rem;line-height:1.36;margin:5px 0 10px}.ap-community-card-body a{text-decoration:none;color:#162036}.ap-community-card-body small{display:inline-block;color:#64748b;margin-right:8px}.ap-community-card-body p{font-size:.9rem;color:#475569;margin:6px 0}.ap-community-card-body .ap-community-meta{font-weight:800;color:#334155}.ap-community-card-body .ap-community-more{display:inline-block;color:#2250a1;font-weight:800;margin-top:13px}.ap-community-featured{border-radius:99px;background:#ede9fe;color:#4c1d95!important;padding:4px 9px;font-weight:800;font-size:.75rem}
.ap-community-page{margin:0;min-height:100vh;background:#f1f5f9;color:#0f172a;font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}.ap-community-page *{box-sizing:border-box}.ap-community-page a{color:inherit}.ap-community-top{background:#101b30;color:#fff;padding:18px max(20px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;gap:15px}.ap-community-container{width:min(1100px,calc(100% - 32px));margin:34px auto 70px}.ap-community-title{background:#132339;border-radius:22px;padding:32px;color:#fff;border-top:5px solid var(--ap-community-accent,#6750de)}.ap-community-title small{letter-spacing:.15em;text-transform:uppercase}.ap-community-title h1{font-size:clamp(2rem,5vw,3rem);margin:6px 0}.ap-community-search{background:#fff;border-radius:14px;padding:20px;margin:20px 0}.ap-community-search label{display:block;font-weight:800;margin-bottom:10px}.ap-community-search>div{display:flex;gap:10px}.ap-community-search input{flex:1;min-width:0;border:1px solid #94a3b8;border-radius:9px;padding:12px;font:inherit}.ap-community-search button{border:0;border-radius:9px;background:#253e92;color:#fff;padding:12px 18px;cursor:pointer;font-weight:800}.ap-community-total{color:#475569}.ap-community-crumb{margin-bottom:20px}.ap-community-detail{background:#fff;padding:clamp(20px,4vw,40px);border-radius:21px}.ap-community-detail h1{font-size:clamp(1.7rem,4vw,2.7rem);margin:8px 0}.ap-community-detail>small{color:#64748b}.ap-community-hero{width:100%;max-height:465px;object-fit:contain;border-radius:16px;background:#f8fafc;margin:12px 0 20px}.ap-community-detail section{border-top:1px solid #e2e8f0;margin-top:25px;padding-top:9px;white-space:normal}.ap-community-detail section h2{font-size:1.2rem}.ap-community-links{display:flex;gap:12px;flex-wrap:wrap}.ap-community-links a{background:#e0e7ff;padding:10px 15px;border-radius:9px;text-decoration:none;font-weight:750}.ap-community-pagination{margin-top:24px;display:flex;justify-content:center;gap:20px;align-items:center}.ap-community-footer{text-align:center;padding:30px;color:#64748b}
.ap-community-viewer{position:fixed;inset:0;background:rgba(3,9,20,.9);z-index:99999;display:flex;align-items:stretch;flex-direction:column;padding:clamp(7px,2vw,20px)}.ap-community-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#111b2b;color:#fff;padding:10px 16px;border-radius:12px 12px 0 0}.ap-community-viewer-bar button{background:#edf2fb;border:0;border-radius:8px;padding:10px 15px;cursor:pointer;font-weight:750}.ap-community-viewer iframe{display:block;width:100%;flex:1;border:0;background:#fff;border-radius:0 0 12px 12px}
@media(max-width:650px){.ap-community-head{align-items:start;flex-direction:column}.ap-community-search>div{flex-direction:column}.ap-community-top{flex-wrap:wrap}.ap-community-viewer{padding:0}.ap-community-viewer-bar,.ap-community-viewer iframe{border-radius:0}}

/* Etapa 8: informational municipal catalogs. */
.ap-civic-disclaimer{margin-top:22px;padding:14px 16px;border:1px solid #fde68a;background:#fffbeb;color:#78350f;border-radius:12px;line-height:1.5}
